Class XSSFObjectData

    • Method Detail

      • getOleObject

        public CTOleObject getOleObject()
        Returns:
        the CTOleObject associated with the shape
      • getObjectData

        public byte[] getObjectData()
                             throws IOException
        Specified by:
        getObjectData in interface ObjectData
        Returns:
        the data portion, for an ObjectData that doesn't have an associated POIFS Directory Entry
        Throws:
        IOException
      • getObjectPart

        public PackagePart getObjectPart()
        Returns:
        the package part of the object data
      • hasDirectoryEntry

        public boolean hasDirectoryEntry()
        Specified by:
        hasDirectoryEntry in interface ObjectData
        Returns:
        does this ObjectData have an associated POIFS Directory Entry? (Not all do, those that don't have a data portion)
      • getFileName

        public String getFileName()
        The filename of the embedded image
        Specified by:
        getFileName in interface ObjectData
        Returns:
        a filename suggestion - inspecting/interpreting the Directory object probably gives a better result