Forum


Replies: 5   Views: 4956
Creating docx from html with external css
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-02-2016 - 10:38

Hello,

The importStyles method isn't for CSS styles but Word, you need to use the embedHtml method.

About your error, it seems you didn't copy the whole content of the library.

Regards.