Forum


Replies: 7   Views: 4104
Add blank page if odd page count
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  · 17-11-2016 - 10:08

Hello,

Are you able to run the conversion plugin to transform any DOCX? Or the problem you get is only with the statistics module?

Please follow the structions available in the docs folder to use the statistics module. You need to install a macro in the conversion plugin before using it.Also please check that LibreOffice is closed before running it and try using PHP CLI mode.

As alternative approach to accomplish your task (checking the content of a DOCX and know if it has contents), the Indexer class, available since the release of phpdocx 6 can return content information using PHP (without the conversion plugin):

http://www.phpdocx.com/api-documentation/docxutilities/indexer-parse-word-documents-with-PHP

And DOCXPath, available since phpdocx 6.5 includes a new class to return the content of the document:

http://www.phpdocx.com/api-documentation/docx-path/get-text-word-contents-in-docx

You can upgrade your license at anytime on MYPHPDOCX after login.

Regards.