com.aspose.slides
Class OleObjectFrame

java.lang.Object
  extended by com.aspose.slides.Shape
      extended by com.aspose.slides.GraphicalObject
          extended by com.aspose.slides.OleObjectFrame
All Implemented Interfaces:
IGraphicalObject, IHyperlinkContainer, IOleObjectFrame, IPresentationComponent, IShape, ISlideComponent

public class OleObjectFrame
extends GraphicalObject
implements IOleObjectFrame

Represents an OLE object on a slide.


Method Summary
 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.
 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.
 void isObjectIcon(boolean value)
           
 boolean isObjectLink()
           Determines whether an object is linked to external file.
 void setLinkPathLong(java.lang.String value)
           
 void setObjectData(byte[] value)
           
 void setObjectName(java.lang.String value)
           
 void setObjectProgId(java.lang.String value)
           
 void setUpdateAutomatic(boolean value)
           
 
Methods inherited from class com.aspose.slides.GraphicalObject
getShapeLock
 
Methods inherited from class com.aspose.slides.Shape
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getHLinkClick, getHLinkMouseOver, getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, getLineFormat, getName, getParentGroup, getPlaceholder, getPresentation, getRawFrame, getRotation, getSlide, getTags, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setFrame, setHeight, setHidden, setHLinkClick, setHLinkMouseOver, setHyperlinkClick, setHyperlinkMouseOver, setName, setRawFrame, setRotation, setWidth, setX, setY
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.aspose.slides.IGraphicalObject
getShapeLock
 
Methods inherited from interface com.aspose.slides.IShape
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getLineFormat, getName, getParentGroup, getPlaceholder, getRawFrame, getRotation, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setFrame, setHeight, setHidden, setName, setRawFrame, setRotation, setWidth, setX, setY
 
Methods inherited from interface com.aspose.slides.ISlideComponent
getSlide
 
Methods inherited from interface com.aspose.slides.IPresentationComponent
getPresentation
 
Methods inherited from interface com.aspose.slides.IHyperlinkContainer
getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, setHyperlinkClick, setHyperlinkMouseOver
 

Method Detail

getSubstitutePictureFormat

public IPictureFillFormat getSubstitutePictureFormat()

Returns OleObject image fill properties object. Readonly PictureFillFormat.

Specified by:
getSubstitutePictureFormat in interface IOleObjectFrame

getObjectName

public java.lang.String getObjectName()

Returns or sets the name of an object. Read/write string.

Specified by:
getObjectName in interface IOleObjectFrame

setObjectName

public void setObjectName(java.lang.String value)
Specified by:
setObjectName in interface IOleObjectFrame

getObjectProgId

public java.lang.String getObjectProgId()

Returns or sets the ProgID of an object. Read/write string.

Specified by:
getObjectProgId in interface IOleObjectFrame

setObjectProgId

public void setObjectProgId(java.lang.String value)
Specified by:
setObjectProgId in interface IOleObjectFrame

getObjectData

public byte[] getObjectData()

Returns or sets embedded object as byte array. Read/write byte[].

Specified by:
getObjectData in interface IOleObjectFrame

setObjectData

public void setObjectData(byte[] value)
Specified by:
setObjectData in interface IOleObjectFrame

getLinkFileName

public java.lang.String getLinkFileName()

Returns the full path to a linked file. Short file name will be used. Read-only string.

Specified by:
getLinkFileName in interface IOleObjectFrame

getLinkPathLong

public java.lang.String getLinkPathLong()

Returns the full path to a linked file. Long file name will be used. Read-only string.

Specified by:
getLinkPathLong in interface IOleObjectFrame

setLinkPathLong

public void setLinkPathLong(java.lang.String value)
Specified by:
setLinkPathLong in interface IOleObjectFrame

isObjectIcon

public boolean isObjectIcon()

Determines whether an object is visible as icon. Read/write bool.

Specified by:
isObjectIcon in interface IOleObjectFrame

isObjectIcon

public void isObjectIcon(boolean value)
Specified by:
isObjectIcon in interface IOleObjectFrame

isObjectLink

public boolean isObjectLink()

Determines whether an object is linked to external file. Read-only bool.

Specified by:
isObjectLink in interface IOleObjectFrame

getUpdateAutomatic

public boolean getUpdateAutomatic()

Determines if the linked embedded object is automatically updated when the presentation is opened or printed. Read/write bool.

Specified by:
getUpdateAutomatic in interface IOleObjectFrame

setUpdateAutomatic

public void setUpdateAutomatic(boolean value)
Specified by:
setUpdateAutomatic in interface IOleObjectFrame