I would like to know if it is possible to save documents in 2007 compatibility mode. And if it is, how to do it?
Basically, I am converting a document from html to docx using docx4j-XHTMLImporterImpl. After the conversion is performed, a set of reformatting tasks are performed using docx4j (e.g., inserting lines, moving text into headers and footers, resizing tables, highlighting). The final step is saving the document as a docx file.
The document opens without a problem in Word 2010, however, it cannot be opened in Word 2007. If opened with Word 2010 and saved in 2007 compatibility mode, the document opens successfully using Word 2007. Without digging into the all the code that goes into manipulating the document to find out why the document cannot be opened in 2007, the easiest solution would be just to save it in 2007 compatibility mode in the first place. Our customer uses Word 2007 exclusively. Can anyone shed any light on this?