When I just change the jar file, everything compiles and runs okay, but when I try to open the resulting docx files in Word 2007 it complains that the files are corrupt. The exact message is:
The file part1.docx cannot be opened because there are problems with the contents.
Details: The file is corrupt and cannot be opened.
If I okay this message, say I trust the source and say no to searching for something on the MS website to open it with, it then opens apparently okay.
Has anyone seen anything like this before and if so could they point me towards what might be the problem?
The files we're producing include tables and figures (which reference .png files) - has anything to do with processing these changed?
I'd really appreciate any help or pointers as to where the problem might be. We really need to upgrade so we can use bookmarks for hyperlinks, but we can't afford to break what is currently working.
[Running one of the sample programs (the bookmarks example) using 2.8.1 produces a docx file which opens fine. ]