public interface ObjectShape<S extends Shape<S,P>,P extends TextParagraph<S,P,? extends TextRun>> extends Shape<S,P>, PlaceableShape<S,P>
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getFullName()Returns the full name of the embedded object,
  e.g. | 
| ObjectData | getObjectData() | 
| PictureData | getPictureData()Returns the picture data for this picture. | 
| java.lang.String | getProgId()Returns the ProgID that stores the OLE Programmatic Identifier. | 
| default java.io.InputStream | readObjectData()Reads the ole data as stream - the application specific stream is served
 The  raw dataserves the outer/wrapped object, which is usually aPOIFSFileSystemstream, whereas this method return the unwrapped entry | 
| default java.io.InputStream | readObjectDataRaw()Convenience method to return the raw data as  InputStream | 
| java.io.OutputStream | updateObjectData(ObjectMetaData.Application application,
                ObjectMetaData metaData)Updates the ole data. | 
draw, getAnchor, getParent, getShapeId, getShapeName, getSheetgetAnchor, getFlipHorizontal, getFlipVertical, getParent, getRotation, getSheet, setAnchor, setFlipHorizontal, setFlipVertical, setRotationPictureData getPictureData()
java.lang.String getProgId()
java.lang.String getFullName()
java.io.OutputStream updateObjectData(ObjectMetaData.Application application, ObjectMetaData metaData) throws java.io.IOException
 
 For HSLF this needs to be a POIFSFileSystem stream.
application - a preset application enummetaData - or a custom metaData object, can be null if the application has been setOutputStream which receives the new data, the data will be persisted on close()java.io.IOException - if the linked object data couldn't be found or a new object data couldn't be initializeddefault java.io.InputStream readObjectData()
                                    throws java.io.IOException
raw data serves the outer/wrapped object, which is usually a
 POIFSFileSystem stream, whereas this method return the unwrapped entryInputStream which serves the object datajava.io.IOException - if the linked object data couldn't be founddefault java.io.InputStream readObjectDataRaw()
                                       throws java.io.IOException
InputStreamjava.io.IOException - if the data couldn't be retrievedObjectData getObjectData()
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.