incubator-odf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick de Graeve (JIRA)" <>
Subject [jira] [Updated] (ODFTOOLKIT-335) Image.imageIterator() doesn't contain any images
Date Sat, 18 Aug 2012 17:17:37 GMT


Nick de Graeve updated ODFTOOLKIT-335:

    Attachment: ImageTest.patch

Added a patch for the image tests. It adds a test to detect the defect.
> Image.imageIterator() doesn't contain any images
> ------------------------------------------------
>                 Key: ODFTOOLKIT-335
>                 URL:
>             Project: ODF Toolkit
>          Issue Type: Bug
>          Components: simple api
>    Affects Versions: 0.8.8
>            Reporter: Nick de Graeve
>         Attachments: ImageTest.patch
> The iterator returned by Image.imageIterator() doesn't have images.
> As far as I can see the problem is in the findNext() method of Image.SimpleImageIterator.
In it frames are searched by calling OdfElement.findFirstChildNode(DrawImageElement.class,
containerElement). This method always returns null because frames are of type OdfDrawFrame
not DrawImageElement.  

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message