incubator-odf-dev mailing list archives

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

     [ https://issues.apache.org/jira/browse/ODFTOOLKIT-335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

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: https://issues.apache.org/jira/browse/ODFTOOLKIT-335
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message