Forum


Replies: 5   Views: 441
How to add exportformfields whne converting to pdf using libreoffice
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 admin  · 30-01-2024 - 09:55

Hello,

The formsfields option available in the conversion plugin based on LibreOffice is false as default (https://www.phpdocx.com/api-documentation/format-conversion/convert-Word-docx-into-pdf-with-PHP).

If you want to use this option, you need to add macro in your LibreOffice home folder and enable the option when calling transformDocument.
Please check the macros-libreoffice folder included in the package. In this folder you can read all information about adding and using macros with the conversion plugin based on LibreOffice.

Regards.