Page 1 of 1

xhtml to docx

PostPosted: Fri Jun 29, 2012 9:55 pm
by fiorenzo
Hi,

i would use xhtml to docx converter, but some attributes are ignored or only partially recognized.
For example, css style nested in some tags to format text, like:
Code: Select all
<span style="color: red;">red text</span>
or
<div style="color: #FF0000;">all text in red</div>

does not produce any effect in the docx result..
How can I manage with font style and positioning ?

thanks in advance

Fiorenzo

Re: xhtml to docx

PostPosted: Wed Jul 04, 2012 9:33 am
by jason
An enhancement is required to support this.

Please add an issue at https://github.com/plutext/docx4j/issues/new

Feel free to code and submit yourself, or you can wait for 2.8.1.