Forum


Replies: 5   Views: 3511
Watermarking is not reproduced on 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 admin  · 19-05-2015 - 12:30

Hello, As you can read on http://www.phpdocx.com/documentation/conversion-plugin/preparing-the-templates-for-its-conversion, the background images (this is backgrounds and watermarks) are not supported officially by the conversion plugin. The only way to export a background watermark is using the conversion plugin based on LibreOffice and an image as watermark (not a text). Examples such as http://www.phpdocx.com/img/sampleScripts/DocxUtilities/watermarkDocx/example_watermarkImage.docx show the watermark fine when exporting to PDF. OpenOffice lacks of watermark/background support. The other option, only available for Windows servers, is to use the method http://www.phpdocx.com/api-documentation/format-conversion/transform-docx-into-pdf-using-ms-word. This method supports all watermarks and backgrounds. Regards.