public class OleObjectFrame extends GraphicalObject implements IOleObjectFrame
Represents an OLE object on a slide.
Modifier and Type | Method and Description |
---|---|
byte[] |
getEmbeddedFileData()
Returns the file data of embedded OLE object
|
java.lang.String |
getEmbeddedFileExtension()
Returns the file extension for the current embedded object or empty string if object is not a link
|
java.lang.String |
getEmbeddedFileLabel()
Returns the file name of embedded OLE object
|
java.lang.String |
getEmbeddedFileName()
Returns the path of embedded OLE object
|
java.lang.String |
getLinkFileName()
Returns the full path to a linked file.
|
java.lang.String |
getLinkPathLong()
Returns the full path to a linked file.
|
byte[] |
getObjectData()
Returns or sets embedded object as byte array.
|
java.lang.String |
getObjectName()
Returns or sets the name of an object.
|
java.lang.String |
getObjectProgId()
Returns or sets the ProgID of an object.
|
IPictureFillFormat |
getSubstitutePictureFormat()
Returns OleObject image fill properties object.
|
java.lang.String |
getSubstitutePictureTitle()
Returns or sets the title for OleObject icon.
|
boolean |
getUpdateAutomatic()
Determines if the linked embedded object is automatically updated when the presentation is opened or printed.
|
boolean |
isObjectIcon()
Determines whether an object is visible as icon.
|
boolean |
isObjectLink()
Determines whether an object is linked to external file.
|
void |
setLinkPathLong(java.lang.String value)
Returns the full path to a linked file.
|
void |
setObjectData(byte[] value)
Returns or sets embedded object as byte array.
|
void |
setObjectIcon(boolean value)
Determines whether an object is visible as icon.
|
void |
setObjectName(java.lang.String value)
Returns or sets the name of an object.
|
void |
setObjectProgId(java.lang.String value)
Returns or sets the ProgID of an object.
|
void |
setSubstitutePictureTitle(java.lang.String value)
Returns or sets the title for OleObject icon.
|
void |
setUpdateAutomatic(boolean value)
Determines if the linked embedded object is automatically updated when the presentation is opened or printed.
|
getGraphicalObjectLock
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getAlternativeTextTitle, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, getLineFormat, getName, getOfficeInteropShapeId, getParent_Immediate, getParentGroup, getPlaceholder, getPresentation, getRawFrame, getRotation, getShapeLock, getSlide, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setAlternativeTextTitle, setBlackWhiteMode, setFrame, setHeight, setHidden, setHyperlinkClick, setHyperlinkMouseOver, setName, setRawFrame, setRotation, setWidth, setX, setY, writeAsSvg, writeAsSvg
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGraphicalObjectLock
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getAlternativeTextTitle, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getLineFormat, getName, getOfficeInteropShapeId, getParentGroup, getPlaceholder, getRawFrame, getRotation, getShapeLock, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setAlternativeTextTitle, setBlackWhiteMode, setFrame, setHeight, setHidden, setName, setRawFrame, setRotation, setWidth, setX, setY, writeAsSvg, writeAsSvg
getSlide
getPresentation
getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, setHyperlinkClick, setHyperlinkMouseOver
public final IPictureFillFormat getSubstitutePictureFormat()
Returns OleObject image fill properties object.
Read-only IPictureFillFormat
.
getSubstitutePictureFormat
in interface IOleObjectFrame
public final java.lang.String getSubstitutePictureTitle()
Returns or sets the title for OleObject icon.
Read/write String
.
getSubstitutePictureTitle
in interface IOleObjectFrame
public final void setSubstitutePictureTitle(java.lang.String value)
Returns or sets the title for OleObject icon.
Read/write String
.
setSubstitutePictureTitle
in interface IOleObjectFrame
public final java.lang.String getObjectName()
Returns or sets the name of an object.
Read/write String
.
getObjectName
in interface IOleObjectFrame
public final void setObjectName(java.lang.String value)
Returns or sets the name of an object.
Read/write String
.
setObjectName
in interface IOleObjectFrame
public final java.lang.String getObjectProgId()
Returns or sets the ProgID of an object.
Read/write String
.
getObjectProgId
in interface IOleObjectFrame
public final void setObjectProgId(java.lang.String value)
Returns or sets the ProgID of an object.
Read/write String
.
setObjectProgId
in interface IOleObjectFrame
public final byte[] getObjectData()
Returns or sets embedded object as byte array.
Read/write byte[]
.
getObjectData
in interface IOleObjectFrame
public final void setObjectData(byte[] value)
Returns or sets embedded object as byte array.
Read/write byte[]
.
setObjectData
in interface IOleObjectFrame
public final java.lang.String getLinkFileName()
Returns the full path to a linked file. Short file name will be used.
Read-only String
.
getLinkFileName
in interface IOleObjectFrame
public final java.lang.String getLinkPathLong()
Returns the full path to a linked file. Long file name will be used.
Read/write String
.
getLinkPathLong
in interface IOleObjectFrame
public final void setLinkPathLong(java.lang.String value)
Returns the full path to a linked file. Long file name will be used.
Read/write String
.
setLinkPathLong
in interface IOleObjectFrame
public final java.lang.String getEmbeddedFileLabel()
Returns the file name of embedded OLE object
getEmbeddedFileLabel
in interface IOleObjectFrame
public final java.lang.String getEmbeddedFileName()
Returns the path of embedded OLE object
getEmbeddedFileName
in interface IOleObjectFrame
public final java.lang.String getEmbeddedFileExtension()
Returns the file extension for the current embedded object or empty string if object is not a link
getEmbeddedFileExtension
in interface IOleObjectFrame
public final byte[] getEmbeddedFileData()
Returns the file data of embedded OLE object
getEmbeddedFileData
in interface IOleObjectFrame
public final boolean isObjectIcon()
Determines whether an object is visible as icon.
Read/write boolean
.
isObjectIcon
in interface IOleObjectFrame
public final void setObjectIcon(boolean value)
Determines whether an object is visible as icon.
Read/write boolean
.
setObjectIcon
in interface IOleObjectFrame
public final boolean isObjectLink()
Determines whether an object is linked to external file.
Read-only boolean
.
isObjectLink
in interface IOleObjectFrame
public final boolean getUpdateAutomatic()
Determines if the linked embedded object is automatically updated when the presentation is opened or printed.
Read/write boolean
.
getUpdateAutomatic
in interface IOleObjectFrame
public final void setUpdateAutomatic(boolean value)
Determines if the linked embedded object is automatically updated when the presentation is opened or printed.
Read/write boolean
.
setUpdateAutomatic
in interface IOleObjectFrame