Please find the below scenario,where document is created in “.docx” and table of content (even for normal hyperlinks)are created in word only.If the same file is extracted/converted to “.pdf”.we are facing the issue in getting the action of the hyperlinks.
If we use below aspose API to get the action of each hyperlinks which are created in “.docx” is returning null.For example-
LinkAnnotation annot = (LinkAnnotation) an;
annot.getAction() is returning null for those hyperlinks
Observation1: If we add new hyperlink or modify the existing hyperlink in the same annotation.getAction() is returning valid data.
Please find the sample document
SampleDoc.pdf (45.6 KB)