Forum


Replies: 2   Views: 2730
Preserving formatting in 'doc -> html -> docx' conversion
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  · 29-01-2016 - 12:52

Hello,

All tags and CSS styles you're using are aupported? We recommend you to check the supported HTML tags and CSS styles on http://www.phpdocx.com/documentation/introduction/html-to-word-PHP; maybe you need to clean or repair the HTML/CSS before being added with embedHTML, for example to get an exact font-size you must set it as pt.

Or maybe you could use the conversion plugin to transform again HTML to DOCX using LibreOffice 5.

Regards.