Forum


Replies: 4   Views: 2089
Docx without phpdocx styles
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 pwctechnicalsecurity  · 19-10-2019 - 22:21

After I have succesfully created my $docx from a base template..

$docx = new CreateDocxFromTemplate($this->path);

and render it later..

$docx->createDocx('docs/example.docx');

I get a Word file that includes both the styles I defined in my base template, but it also holds PHPDocX's own styles (including Title PHPDOCX). How do I prevent these PHPDocX styles to be included in the resulting file? - we are using the Premium version.