• Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: odfdom-0.7.5
    • Fix Version/s: None
    • Component/s: java
    • Labels:
    • Environment:
      Operating System: Windows
      Platform: PC


      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 :

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

      //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()


        Florian Hopf made changes -
        Fix Version/s odfdom-0.8.7 [ 12318045 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12634278 ] jira [ 12634533 ]
        Mark Thomas made changes -
        Workflow jira [ 12634006 ] Default workflow, editable Closed status [ 12634278 ]
        Mark Thomas made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 99 12523991
        tony wei created issue -


          • Assignee:
            Ying Chun Guo
            tony wei
          • Votes:
            0 Vote for this issue
            5 Start watching this issue


            • Created: