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/05/06 01:23:37 UTC

DO NOT REPLY [Bug 44937] New: Patch for PicturesTable.getAllPictures() to support Escher images

https://issues.apache.org/bugzilla/show_bug.cgi?id=44937

           Summary: Patch for PicturesTable.getAllPictures() to support
                    Escher images
           Product: POI
           Version: 3.0-dev
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: HWPF
        AssignedTo: dev@poi.apache.org
        ReportedBy: squeeself@gmail.com


Created an attachment (id=21923)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21923)
Word Escher image extraction

This patch adds support for extracting Escher drawing information from the body
of a word document. It also adds support for the FSPA plex to determine what
shapes correspond to characters in the document, although no code has been made
to do so. The patch also extends PicturesTable.getAllPictures() to extract
images from Escher drawings. Note that only pictures from the main body of the
document (not headers, etc.) are extracted from Escher drawings with this
patch.

There is also a minor fix to EscherClientAnchorRecord. The word format of this
record is different from excel, etc., but I haven't found the exact format.
This patch fixes the record from throwing an exception when read.

The patch includes a small test case.


-- 
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


DO NOT REPLY [Bug 44937] Patch for PicturesTable.getAllPictures() to support Escher images

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44937





--- Comment #3 from Squeeself <sq...@gmail.com>  2008-06-17 13:59:45 PST ---
Created an attachment (id=22135)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22135)
Document for test case


-- 
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


DO NOT REPLY [Bug 44937] Patch for PicturesTable.getAllPictures() to support Escher images

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44937





--- Comment #4 from Squeeself <sq...@gmail.com>  2008-06-17 14:00:11 PST ---
Created an attachment (id=22136)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22136)
Image for test case


-- 
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


DO NOT REPLY [Bug 44937] Patch for PicturesTable.getAllPictures() to support Escher images

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44937


Nick Burch <ni...@torchbox.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Nick Burch <ni...@torchbox.com>  2008-05-20 09:02:33 PST ---
Could you please upload GaiaTest.doc and GaiaTestImg.png?

(svn patches do not include binary files)


The rest of the patch has been applied to svn trunk, thanks for that


-- 
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


DO NOT REPLY [Bug 44937] Patch for PicturesTable.getAllPictures() to support Escher images

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44937





--- Comment #2 from Josh Micich <jo...@gildedtree.com>  2008-05-21 20:06:02 PST ---
There were some compiler errors in FSPATable.  It looks like these were some
tiny mistakes being hidden by (1.5) auto-boxing. Fixes applied in r658984.

I also made the class a little better encapsulated and type safe.  It doesn't
seem to be exercised by any test cases yet.


-- 
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