Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Wiki  API  Corporate

com.aspose.powerpoint
Class OleObjectFrame

java.lang.Object
  extended by com.aspose.powerpoint.Shape
      extended by com.aspose.powerpoint.PictureFrame
          extended by com.aspose.powerpoint.OleObjectFrame

public final class OleObjectFrame
extends PictureFrame

Represents the OleObjectFrame shape.


Method Summary
 java.lang.String getObjectClassName()
          Returns the class name of an object.
 byte[] getObjectData()
          Returns the embedded object as byte array.
 java.lang.String getObjectName()
          Returns the name of an object.
 java.lang.String getObjectProgId()
          Returns the ProgID of an object.
 int getObjectType()
          Returns the type of an object.
 boolean isObjectIcon()
          Determines whether the object is visible as icon only.
 boolean isObjectLink()
          Determines whether the object is link and not embedded to a presentation.
 void setObjectData(byte[] value)
          Sets embedded object as byte array.
 void setObjectIcon(boolean value)
          Sets whether the object is visible as icon only.
 
Methods inherited from class com.aspose.powerpoint.PictureFrame
addTextFrame, getBrightness, getColorType, getContrast, getCropBottom, getCropLeft, getCropRight, getCropTop, getPictureId, getRecolor, getTransparentColor, setBrightness, setColorType, setContrast, setCropBottom, setCropLeft, setCropRight, setCropTop, setPictureId, setTransparentColor
 
Methods inherited from class com.aspose.powerpoint.Shape
addLink, clearLink, getAlternativeText, getAnimationSettings, getFillFormat, getHeight, getLineFormat, getLink, getParent, getRotation, getTags, getTextFrame, getWidth, getX, getY, getZOrderPosition, isFlipH, isFlipV, isTextHolder, setAlternativeText, setFlipH, setFlipV, setHeight, setRotation, setWidth, setX, setY, zOrder
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getObjectType

public int getObjectType()
Returns the type of an object.

Returns:
The object type. See OleObjectType.

getObjectName

public java.lang.String getObjectName()
Returns the name of an object.

Returns:
the name of an object. See String.

getObjectClassName

public java.lang.String getObjectClassName()
Returns the class name of an object.

Returns:
the class name of an object. See String.

getObjectProgId

public java.lang.String getObjectProgId()
Returns the ProgID of an object.

Returns:
the ProgID of an object. See String.

getObjectData

public byte[] getObjectData()
                     throws PptReadException
Returns the embedded object as byte array.

Returns:
The byte array.
Throws:
PptReadException

setObjectData

public void setObjectData(byte[] value)
                   throws AsposeLicenseException,
                          PptReadException,
                          PptWriteException
Sets embedded object as byte array.

Parameters:
value - byte array.
Throws:
AsposeLicenseException
PptReadException
PptWriteException

isObjectIcon

public boolean isObjectIcon()
Determines whether the object is visible as icon only.

Returns:
true if only icon of the object is visible.

setObjectIcon

public void setObjectIcon(boolean value)
Sets whether the object is visible as icon only.

Parameters:
value - true if only icon of the object is visible.

isObjectLink

public boolean isObjectLink()
Determines whether the object is link and not embedded to a presentation.

Returns:
true if object is link and not embedded to a presentation.