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 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.
 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)
           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 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 setUpdateAutomatic(boolean value)
           Determines if the linked embedded object is automatically updated when the presentation is opened or printed.
 
Methods inherited from class com.aspose.slides.GraphicalObject
getGraphicalObjectLock
 
Methods inherited from class com.aspose.slides.Shape
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getHLinkClick, getHLinkMouseOver, getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, getLineFormat, getName, getParent_Immediate, getParentGroup, getPlaceholder, getPresentation, getRawFrame, getRotation, getShapeLock, getSlide, getTags, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setBlackWhiteMode, 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
getGraphicalObjectLock
 
Methods inherited from interface com.aspose.slides.IShape
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getLineFormat, getName, getParentGroup, getPlaceholder, getRawFrame, getRotation, getShapeLock, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setBlackWhiteMode, 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 final IPictureFillFormat getSubstitutePictureFormat()

Returns OleObject image fill properties object. Read-only IPictureFillFormat.

Specified by:
getSubstitutePictureFormat in interface IOleObjectFrame

getObjectName

public final java.lang.String getObjectName()

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

Specified by:
getObjectName in interface IOleObjectFrame

setObjectName

public final void setObjectName(java.lang.String value)

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

Specified by:
setObjectName in interface IOleObjectFrame

getObjectProgId

public final java.lang.String getObjectProgId()

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

Specified by:
getObjectProgId in interface IOleObjectFrame

setObjectProgId

public final void setObjectProgId(java.lang.String value)

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

Specified by:
setObjectProgId in interface IOleObjectFrame

getObjectData

public final byte[] getObjectData()

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

Specified by:
getObjectData in interface IOleObjectFrame

setObjectData

public final void setObjectData(byte[] value)

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

Specified by:
setObjectData in interface IOleObjectFrame

getLinkFileName

public final 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 final java.lang.String getLinkPathLong()

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

Specified by:
getLinkPathLong in interface IOleObjectFrame

setLinkPathLong

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.

Specified by:
setLinkPathLong in interface IOleObjectFrame

getEmbeddedFileLabel

public final java.lang.String getEmbeddedFileLabel()

Returns the file name of embedded OLE object

Specified by:
getEmbeddedFileLabel in interface IOleObjectFrame

getEmbeddedFileName

public final java.lang.String getEmbeddedFileName()

Returns the path of embedded OLE object

Specified by:
getEmbeddedFileName in interface IOleObjectFrame

getEmbeddedFileExtension

public final java.lang.String getEmbeddedFileExtension()

Returns the file extension for the current embedded object or empty string if object is not a link

Specified by:
getEmbeddedFileExtension in interface IOleObjectFrame

isObjectIcon

public final boolean isObjectIcon()

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

Specified by:
isObjectIcon in interface IOleObjectFrame

isObjectIcon

public final void isObjectIcon(boolean value)

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

Specified by:
isObjectIcon in interface IOleObjectFrame

isObjectLink

public final boolean isObjectLink()

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

Specified by:
isObjectLink in interface IOleObjectFrame

getUpdateAutomatic

public final 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 final void setUpdateAutomatic(boolean value)

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

Specified by:
setUpdateAutomatic in interface IOleObjectFrame


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.