Am evaluating Aspose for our Use Case and one of the very last things to validate is how to find if there is an existing header and footer value present in the document.
I have been create headers and footers but unable to find if they are existing already. Tried the following which does not give me what I expect
HeaderFooter header = new HeaderFooter(document, HeaderFooterType.HEADER_PRIMARY);
String originalHeaderText = header.getText();