Free Support Forum - aspose.com

How find hyperlink in header/footer in PDF generated from Word document?

Hi Aspose team,



I created one simple PDF document from Word.



Document has header, content, footer and comment and in each area is one hyperlink.



I am able to access content and comment area and read hyperlink but link that is in header and footer cannot be read.



It is possible to read header and footer text but hyperlink is missing.



Can this be achieve? I attached test document.



Code is:



For Each objPage As Aspose.Pdf.Page In officeDocument.Pages



For Each art As Artifact In objPage.Artifacts



art.Text

Next

next



For subtype I am getting Undefined(4) but for CustomType I have “Pagination” and in CustomSubtype I have nothing.



Thanks in advance,

Oliver

Hi Oliver,


Thanks for contacting support.

Can you please share the complete code snippet so that we can test the scenario in our environment.

Hi Nayyer,



please find attached small project.

Application will scan document and write all found hyperlinks in rich textbox.



You can see that links which are named www.header.com and www.footer.com are not found.



I also attached Word document which I saved as a PDF used for test.



Thanks for help,

Oliver

Hi Oliver,


Thanks for sharing the sample project.

I have tested the scenario and I am able to
notice the same problem. For the sake of correction, I have logged this problem
as PDFNEWNET-38389 in our issue tracking system. We will further
look into the details of this problem and will keep you updated on the status
of correction. Please be patient and spare us little time. We are sorry for
this inconvenience.

Hi,

any news here?

Thanks,
Oliver

Hi Oliver,


Thanks for your inquiry. I am afraid the above reported issue is still not resolved. Our product team is busy to resolve other issues, reported earlier. We will notify you as soon as we made some significant progress towards issue resolution.

Thanks for your patience and cooperation.

Best Regards,