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

Free Support Forum - aspose.com

Aspose Words 19.4 Java skipping hyperlinks within paragraph text while reading from word 2016 document


We are facing issue while reading hyperlink from word document paragraph.
The Word-generated .docx file uses <w:hyperlink> and in the .rels file to create the link, as follows:

In /word/document.xml:

</w:rPr><w:t xml:space="preserve">Please click on the link </w:t></w:r><w:hyperlink r:id="rId10" w:history="1"><w:r w:rsidRPr="00642E10"><w:rPr><w:rStyle w:val="Hyperlink"/> 

Then, in /word/_rel/document.xml.rels:

<Relationship Id="rId10" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="https://google.com/" TargetMode="External"/> 

Requirement is to show the hyperlink along with text ‘Please click on the link’ but it shows only the text.

Any help in this regard please.

Thank you


To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input Word document.
  • Please attach the output Word file that shows the undesired behavior.
  • Please attach the expected output Word file that shows the desired behavior.
  • Please create a sample Java application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.