Page 1 of 1

can docx4j convert .doc file to html

PostPosted: Fri Nov 06, 2015 10:02 am
by gauri
can docx4j convert .doc file to html
and second question is can inline styles be abstracted to css file while converting doc/docx to html file

Thanks in advance

Re: can docx4j convert .doc file to html

PostPosted: Wed Nov 11, 2015 8:08 am
by jason
docx4j doesn't handle legacy binary doc; only the XML formats

so you need to first convert to docx somehow. possibilities include LibreOffice, Word etc.

regarding your second question, defined styles could be stored in a CSS file. adhoc/direct formatting becomes @style