Hello. I'm having problems reading and writing (without changes) to file using the HWPF structure. The code i'm using: File file = new File("simple.doc"); HWPFDocument document = new HWPFDocument(new FileInputStream(file)); File outputFile = new File("output-" + filename); FileOutputStream outStream = new FileOutputStream(outputFile); try { document.write(outStream); } finally { outStream.close(); } The output file is completely modified. This behavior only occurs in 3.5-FINAL. Using 3.2-Final the output file is ok. Check the input and output file using 3.5-FINAL.
Created attachment 24426 [details] Input file
Created attachment 24427 [details] Output file
Version 3.6 is also affected
Seems to be fixed in trunk (possible due to rewriting table parsing code). Shall be part of 3.8-beta4 Please, reopen if still affected in 3.8beta-4 or later (or trunk).