I found an excellent HTML to PDF converter in Prince XML . Now I'm looking for something of similar quality to create Word documents from HTML + CSS. This is on PHP / Linux.
Three options, depending on what you need to do:
In simple cases, you can simply write HTML to a .doc file. An example is here . However, this is a limitation and prompts the user to save as HTML if they make updates.
Word 2007, Office Open XML, zip , XML-. , , , .docx .zip , , PHP. SO.
Word 2003, XML- Word 2003. 2007 , , , ( 2007 ). - Word Word Word Word, , XSLT, HTML XML. , , . .
, , .
SO.
OpenOffice "/" .
PDF → DOC, . , PDF → DOC-: (
, HTML DOC ( , Contet header:-)) (AFAIK - Excel ).
pdf = > doc. , !
. Word , , HTML, , , , MS Word . , Word HTML . Microsoft Word , Word.
DOCX, XSL-.