Hi all!
Last time i upgrade server to LibreOffice 6 version and pdf now looks good, but adding Links its showing as a links but not clickable in pdf document - is it possible to do something?
Thanks
p.s. libreoffice version 6.4.7.2
Hi all!
Last time i upgrade server to LibreOffice 6 version and pdf now looks good, but adding Links its showing as a links but not clickable in pdf document - is it possible to do something?
Thanks
p.s. libreoffice version 6.4.7.2
Hello,
LibreOffice 6 and LibreOffice 7 require adding a custom character style to links, to generate active links when transforming the documents to PDF.
Since phpdocx 7.5 you can set a custom character style with addLink (rStyle option inherited from addText method). phpdocx 9.5 added setting a custom character style when transforming HTML to DOCX (on https://www.phpdocx.com/en/forum/default/topic/2012 you can read a sample using phpdocx 9.5 and phpdocx 10).
The next release of phpdocx will automatize adding a custom character style to new links (there's no release date yet).
Regards.
<a href="http://example.com" class="DefaultParagraphFontPHPDOCX" style="font-size:8pt;border-radius:50%;background-color:#FFE0B2;text-decoration: none;color:#000000;margin-left:50px;margin-right:50px"><span class="DefaultParagraphFontPHPDOCX"> Drawing </span></a>
This code not showing a link with embedHtml insert - why?
Hello,
As explained in our previous reply, adding custom character styles using HTML contents (embedHTML and replaceVariableByHTML methods) was added in phpdocx 9.5. As you are using phpdocx 8.2 you need to upgrade your license to be able to use this feature.
Regards.