Cross-references turn into links after Doc to PDF conversion

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)

@irina.tiapchenko,

Thanks for your inquiry. We tested the scenario and have managed to reproduce the same problem on our end. For the sake of correction, we have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-19098. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.

Hi,
I could see that issue WORDSNET-19098 was closed. Could you please say whether this problem was fixed and when fix will be available.

@irina.tiapchenko,

We have good news for you i.e. WORDSNET-19098 has now been resolved. The fix of this issue will be included in the 19.10 (next version) of Aspose.Words. We will inform you via this thread as soon as the next version containing the fix of your issue will be released at the start of next month.

1 Like

The issues you have found earlier (filed as WORDSNET-19098) have been fixed in this Aspose.Words for .NET 19.10 update and this Aspose.Words for Java 19.10 update.