com.aspose.slides.pptx
Class OleObjectFrameEx

java.lang.Object
  extended by com.aspose.slides.pptx.ShapeEx
      extended by com.aspose.slides.pptx.GraphicalObjectEx
          extended by com.aspose.slides.pptx.OleObjectFrameEx
All Implemented Interfaces:
IPresentationComponent, ISlideComponent

public class OleObjectFrameEx
extends GraphicalObjectEx

Represents an OLE object on a slide.


Field Summary
 
Fields inherited from class com.aspose.slides.pptx.ShapeEx
m_parent
 
Method Summary
 void draw(Canvas canvas, RenderContext rc)
           
 java.lang.String getAlternativeText()
          Returns the alternative text associated with a shape.
 ImageEx getImage()
          Returns an Ole object image.
 java.lang.String getLinkFileName()
          Returns the full path to a linked file.
 java.lang.String getLinkFilePath()
          Returns the full path to a linked file.
 byte[] getObjectData()
          Returns embedded Ole object as byte array.
 boolean getObjectIsIcon()
          Deprecated. 
 boolean getObjectIsLink()
          Deprecated. 
 java.lang.String getObjectName()
          Returns the name of an Ole object.
 java.lang.String getObjectProgId()
          Returns the ProgID of an Ole object.
 boolean isObjectIcon()
          Determines whether an Ole object is visible as icon.
 boolean isObjectLink()
          Determines whether an Ole object is linked to external file.
 void setAlternativeText(java.lang.String value)
          Sets the alternative text associated with a shape.
 void setImage(ImageEx value)
          Sets an Ole object image.
 void setLinkFilePath(java.lang.String value)
          Returns the full path to a linked file.
 void setObjectData(byte[] value)
          Sets embedded Ole object as byte array.
 void setObjectIcon(boolean value)
          Sets whether an Ole object is visible as icon.
 void setObjectIsIcon(boolean value)
          Deprecated. 
 void setObjectName(java.lang.String value)
          Sets the name of an Ole object.
 void setObjectProgId(java.lang.String value)
          Sets the ProgID of an Ole object.
 
Methods inherited from class com.aspose.slides.pptx.GraphicalObjectEx
getShapeLock
 
Methods inherited from class com.aspose.slides.pptx.ShapeEx
createPropertiesElements, getEffectFormat, getFillFormat, getFrame, getHeight, getHLinkClick, getHLinkMouseOver, getLineFormat, getName, getNonVisualPropElement, getParent, getPlaceholder, getPresentation, getRawFrame, getRotation, getShapeId, getSlide, getTags, getThreeDFormat, getWidth, getX, getY, getZOrderPosition, isHidden, isTextHolder, setFrame, setHeight, setHidden, setHLinkClick, setHLinkMouseOver, setName, setNVPropertiesElement, setRawFrame, setRotation, setWidth, setX, setY
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getImage

public ImageEx getImage()
Returns an Ole object image.


setImage

public void setImage(ImageEx value)
Sets an Ole object image.

Parameters:
value - new image.

getObjectName

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


setObjectName

public void setObjectName(java.lang.String value)
Sets the name of an Ole object.

Parameters:
value - new name.

getObjectProgId

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


setObjectProgId

public void setObjectProgId(java.lang.String value)
Sets the ProgID of an Ole object.


getObjectData

public byte[] getObjectData()
Returns embedded Ole object as byte array.


setObjectData

public void setObjectData(byte[] value)
Sets embedded Ole object as byte array.

Parameters:
value - new Ole object as byte array.

getLinkFileName

public java.lang.String getLinkFileName()
Returns the full path to a linked file. Short file name will be used.


getLinkFilePath

public java.lang.String getLinkFilePath()
Returns the full path to a linked file. Long file name will be used.


setLinkFilePath

public void setLinkFilePath(java.lang.String value)
Returns the full path to a linked file. Long file name should be used.

Parameters:
value - new path.

getAlternativeText

public java.lang.String getAlternativeText()
Description copied from class: ShapeEx
Returns the alternative text associated with a shape.

Overrides:
getAlternativeText in class ShapeEx

setAlternativeText

public void setAlternativeText(java.lang.String value)
Description copied from class: ShapeEx
Sets the alternative text associated with a shape.

Overrides:
setAlternativeText in class ShapeEx
Parameters:
value - new alternative text.

draw

public void draw(Canvas canvas,
                 RenderContext rc)
Overrides:
draw in class ShapeEx

isObjectIcon

public boolean isObjectIcon()
Determines whether an Ole object is visible as icon.


setObjectIcon

public void setObjectIcon(boolean value)
Sets whether an Ole object is visible as icon.

Parameters:
value - true to make Ole object visible as icon.

isObjectLink

public boolean isObjectLink()
Determines whether an Ole object is linked to external file.


getObjectIsIcon

@Deprecated
public boolean getObjectIsIcon()
Deprecated. 

Determines whether an Ole object is visible as icon.


setObjectIsIcon

@Deprecated
public void setObjectIsIcon(boolean value)
Deprecated. 

Sets whether an Ole object is visible as icon.

Parameters:
value - true to make Ole object visible as icon.

getObjectIsLink

@Deprecated
public boolean getObjectIsLink()
Deprecated. 

Determines whether an Ole object is linked to external file.