Forum


Replies: 1   Views: 3839
V4 : importstyle.
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 Bluecoat Systems  · 16-07-2014 - 11:36

Hi, it seems like the ImportStyle "replace" is not importing the styles. These do not import and I can only see the PHPDocx styles. $docx->importStyles("../Corporate_Word_Template.docx"); ( default ). $docx->importStyles("../Corporate_Word_Template.docx", 'replace'); This works and can see both PHPDocX styles and my own. $docx->importStyles("../Corporate_Word_Template.docx", 'merge'); thanks G.