title: Convert HTML & CSS to DOC(X)?
body: <p>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.</p>
  
  <p>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).</p>
  
  <p>What I need from a document:</p>
  
  <ul>
  <li>TOC</li>
  <li>Images</li>
  <li>Footers/Headers (they could be manually made on each HTML page)</li>
  <li>Table</li>
  <li>Lists</li>
  <li>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.)</li>
  <li>Paragraphs</li>
  <li>Basic bold/etc styles</li>
  </ul>