poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51094] HWPFDocument.write() does not preserve all embedded documents
Date Wed, 20 Apr 2011 14:14:16 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51094

--- Comment #1 from Nick Burch <nick.burch@alfresco.com> 2011-04-20 10:14:13 EDT ---
Looking at the HWPF write code, I can see that there's nothing there to copy
the embedded documents over

Short term, the fix would be to do something similar to in HSSF, where we copy
the extra entries over if a flag is set

Longer term, if we switch it from POIFSFileSystem to NPOIFSFileSystem then we
can just overwrite the word streams with the new data, and keep all the other
ones, which'd probably be a cleaner fix

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message