[
https://issues.apache.org/jira/browse/ODFTOOLKIT-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462371#comment-13462371
]
DaLi Liu commented on ODFTOOLKIT-62:
------------------------------------
Verified status of this issue
Base on devin's comment this issue maybe can be closed;
> Image convenient APIs
> ---------------------
>
> Key: ODFTOOLKIT-62
> URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-62
> Project: ODF Toolkit
> Issue Type: Improvement
> Components: java
> Affects Versions: 0.7.5
> Environment: Operating System: Windows
> Platform: PC
> Reporter: tony wei
> Assignee: Ying Chun Guo
> Priority: Minor
> Fix For: 0.8.7
>
> Attachments:
> ASF.LICENSE.NOT.GRANTED--bug85-image-convenient-api-2810.patch,
> ASF.LICENSE.NOT.GRANTED--#Bug99_Image1022.patch,
> ASF.LICENSE.NOT.GRANTED--#Bug99_Image1027.patch,
> ASF.LICENSE.NOT.GRANTED--#Bug99_MoveImageHandler1014.patch,
> ASF.LICENSE.NOT.GRANTED--bug99_RemoveImageHandler.patch,
> ASF.LICENSE.NOT.GRANTED--Image_ConvenientAPIs0926.patch
>
>
> Created an attachment (id=112)
> Image convenient APIs
> This patch is for image convenient APIs. We add some functions in OdfDocument
> and ImageHandler to implement the image convenient APIs :
> org.odftoolkit.odfdom.doc.OdfDocument
> //return the image handler instance of this document
> public ImageHandler getImageContainer()
> //The ImageContainer interface is used to access a image object or a
> collection of image objects in some image container
> org.odftoolkit.odfdom.doc.draw.ImageHandler
> //insert an Image from the specified uri to the OdfDocument,
> public String createImage(URI imageUri)
> //The method returns the specific one or more images by image path since the
> image may be inserted to the document several times.
> public List<OdfDrawImage> getImageByPath(String imagePath)
> //The method deletes one or more images from image container by image path
> public void deleteImageByPath(String imagePath)
> //The method deletes the specified image from image container
> public void deleteImage(OdfDrawImage image)
> //get the count of image objects in the image container
> public int getImageCount()
> //the method return the image list in the image container
> public List<OdfDrawImage> getImages()
> //the method return the set of all the image paths
> public Set<String> getImagePathSet()
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira