Forum


Replies: 1   Views: 2094
Hyperlinks are not clickable in pdf
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by dev@ams  · 07-10-2020 - 07:40

Hi,

When we generate .docx files containing hyperlinks, they are not 'clickble' when LibreOffice converts them to PDF. What we see, is that the docx that are generated by phpdocx (latest version) do not contain 

<w:rStyle w:val="Hyperlink"/>

within the hyperlink tag.

We have a word styles mapping, but that doesn't seem to do anything: '<a>' => 'Links'.

How can we get this to work by loading from html? 

<a href="https://google.nl">Hyperlink</a>