Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I know posts like that can cost me, but, seriously, back off a step and reconsider what you are trying to accomplish.</p> <p>A user who can view and print your report using Word also has IE available and most likely has easy access to Chrome. So my guess is Word is not just for viewing and printing, but especially for editing.</p> <p>I followed your example and my (unmodified in every aspect) IE9 will not print page breaks inserted using Word 2010 and the resulting HTML-document has hardly any resemblance with the initial one, especially the DIVs are gone, so assuming the document still prints the same after Word has had its say is almost carelessly optimistic.</p> <p>This entire idea seems broken:</p> <ul> <li>writing HTML your way seems pointless given what Word does with it</li> <li>even a recent IE can't handle your simple example with page breaks inserted using Word</li> <li>when saving Word created a language setting specific directory and three new files, which spawn a ridiculous big host of necessary tests for any product</li> <li>a lot of user knowledge (spawning directories, how to save correctly, how to copy the entire document correctly) seems required to make this work even within a static Microsoft eco-system</li> <li>it appears user defined settings can easily break any solution employing HTML</li> </ul> <p>I'd suggest initially writing your report as a Word document. Even though zipped, Word documents are still markup like HTML so if you already can generate HTML, you can generate Word with little extra effort. As you can get Word viewers for virtually every x86 or ARM based device that seems a more reasonable direction than exploring in a direction where even the simple examples fail.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload