Class XSSFPictureData

  • All Implemented Interfaces:
    PictureData

    public class XSSFPictureData
    extends org.apache.poi.ooxml.POIXMLDocumentPart
    implements PictureData
    Raw picture data, normally attached to a SpreadsheetML Drawing. As a rule, pictures are stored in the /xl/media/ part of a SpreadsheetML package.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.poi.ooxml.POIXMLDocumentPart

        org.apache.poi.ooxml.POIXMLDocumentPart.RelationPart
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getData()
      Gets the picture data as a byte array.
      java.lang.String getMimeType()
      Returns the mime type for the image
      int getPictureType()
      Return an integer constant that specifies type of this picture
      java.lang.String suggestFileExtension()
      Suggests a file extension for this image.
      • Methods inherited from class org.apache.poi.ooxml.POIXMLDocumentPart

        _invokeOnDocumentRead, addRelation, createRelationship, createRelationship, createRelationship, getPackagePart, getParent, getRelationById, getRelationId, getRelationPartById, getRelationParts, getRelations, isCommited, isCommitted, setCommited, setCommitted, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait