https://bz.apache.org/bugzilla/show_bug.cgi?id=60217
Bug ID: 60217
Summary: Word document with a single table gets corrupted after
load/save with no changes
Product: POI
Version: 3.15-FINAL
Hardware: PC
OS: All
Status: NEW
Severity: major
Priority: P2
Component: HWPF
Assignee: [email protected]
Reporter: [email protected]
Created attachment 34333
--> https://bz.apache.org/bugzilla/attachment.cgi?id=34333&action=edit
Maven project with document corruption example
Attaching a sample with a Word document that gets corrupted when we open it and
save it to another file with a code like:
final POIDocument doc = new HWPFDocument(new FileInputStream(DOCUMENT_NAME));
final File copy = new File(CORRUPTED_PREFIX + "-" + DOCUMENT_NAME);
doc.write(copy);
When trying to open source document it will open ok.
When trying to open the document after load/save Microsoft Word reports that it
is corrupted and cannot be recovered.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]