Hi,
When convert .doc or .docx files to pdf all cross-references turn into links in result pdf even if they are not a hyperlinks in original document.
I attached an example document Cross-reference example.docx
where I created two types of cross-references - one is inserted as hyperlink, another one as plain text. They will have a markdown { REF test_bookmark \h }
and { REF test_bookmark }
correspondingly.
When I save this document as pdf from MS Word, hyperlink cross-reference will turn into link in result pdf and non-hyperlink cross-reference will turn into plain text (see attached example Cross-reference example MS Word.pdf
, if you hover second cross-reference it will be displayed as link).
But when I save the same document as pdf with Aspose.Words library, than both cross-references will turn into link in result pdf (see file Cross-reference example Aspose.pdf
).
I have also attached a small example of code that is used to convert doc to pdf.
Could you please say which settings could be set during pdf conversion that will allow to save non-hyperlink cross-references as plain text.
Best regards,
Irina Tiapchenko
CrossReferenceExample.zip (62.2 KB)