Is there some utility that could be called via command line to produce a doc(x) file? The source file would be HTML and CSS.
I am trying to generate Word documents on the fly with PHP. I am only aware of phpdocx library, which is very low level and not much use for me (I already have one poor implementation of Word document generation).
What I need from a document:
- TOC
- Images
- Footers/Headers (they could be manually made on each HTML page)
- Table
- Lists
- Page break (able to decide what goes to which page, eg one HTML file per page, join multiple HTML files to produce the entire document.)
- Paragraphs
- Basic bold/etc styles
to a Word paragraph, same for