We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Hyperlink is Lost after re-saving DOCX using Java


I am writing to you about a problem we encountered in working with MSO Word documents (docx format) using the Aspose Words v20.12 library.

Specifically, when we open the document and close it immediately afterwards, there is a loss of value in the hyperlinks over which the hidden text font option was applied (still in the original document).

Among other things, I am enclosing a document that has two identical lines of text (the hidden text Font option is applied on the second one) that contain identical hyperlinks with the same hyperlink value. After applying open/save operations on the source document, in the target document you can see that the second hyperlink, over which the hidden text option is applied, loses its value, and although it looks the same (as a hyperlink) it cannot redirect you anywhere (such as case with the first, visible, hyperlink, or both hyperlinks in the original document).

You can check the specified behavior by right-clicking above the specified hyperlinks and selecting the “Edit Hyperlink” option. Here you can see that the correct hyperlink has values for the fields “Text to display” and “Address” while the invalid one does not (see attached pictures).

In the hope that together we will quickly overcome the problem!
Best regards!


Source code, DOCX files and pics.zip (78.3 KB)


We have tested the scenario and managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-22253. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.


Thanks for quick response!

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