Forum


Replies: 3   Views: 756
How can i detect if a doc has macros in it
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  · 16-07-2022 - 08:31

Hello,

Macros can be detected by phpdocx when using DOCX documents. In the case of the old DOC documents, maybe you can transform DOC to DOCX using the conversion plugin (https://www.phpdocx.com/api-documentation/format-conversion/convert-Word-docx-into-pdf-with-PHP) and then use phpdocx to check if the DOCX contains macros.

If you send to contact[at]phpdocx.com a DOC document sample you are using, we'll check it.

Regards.