You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2008/04/03 23:35:03 UTC
DO NOT REPLY [Bug 41933] PicturesTable#getAlllPictures() sometimes
loses images
https://issues.apache.org/bugzilla/show_bug.cgi?id=41933
--- Comment #6 from Squeeself <sq...@gmail.com> 2008-04-03 14:35:03 PST ---
After a lot of digging into why some of my word documents are getting all their
pictures, I've determined that the above changes are necessary (but still, for
some reason, don't get all pictures...still investigating why). The data stream
that the PictureTable gets the picture data from also can contain other object
data, which is often placed at the beginning of the datastream. The only way to
tell where picture data begins is to iterate through the CharacterRuns of the
document. Otherwise, the current code takes one look at some arbitrary object
data and skips everything.
Unfortunately, there's still a problem in some of the documents I've been
looking at. For instance, I have a document with several dozen pictures...yet
only 1 CharacterRun with a picoffset is in the document. I've been trying to
determine what additional way these pictures are accessed, but haven't been
able to find it out yet. Still, the above fix really needs to be put into the
code.
--
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