Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Ticket  Wiki  API  Corporate


com.aspose.cells
Class OleObject

java.lang.Object
  extended by com.aspose.cells.Shape
      extended by com.aspose.cells.OleObject

public class OleObject
extends Shape


Method Summary
 byte getFileType()
          Gets the file type of the embedded ole object data
 byte[] getImageData()
          Gets the the image data of this OleObject.
 int getImageFormat()
          Gets the image format of this OleObject.
 byte[] getObjectData()
          Gets embedded ole object data.
 java.lang.String getSourceFullName()
          Gets the source full name of the source file for the linked OLE object.
 void setFileType(byte fileType)
          Sets the file type of the embedded ole object data
 void setSourceFullName(java.lang.String sourceFullName)
          Sets the source full name of the source file for the linked OLE object.
 
Methods inherited from class com.aspose.cells.Shape
addHyperlink, getCharacters, getFill, getFont, getGroup, getHeight, getHeightCM, getHeightInch, getHeightInChart, getHyperlink, getLeft, getLeftCM, getLeftInch, getLeftInChart, getLine, getLinkedCell, getLowerRightColumn, getLowerRightRow, getName, getOrientation, getPlacement, getRotation, getText, getTextHorizontalAlignment, getTextVerticalAlignment, getTop, getTopCM, getTopInch, getTopInChart, getType, getUpperLeftColumn, getUpperLeftRow, getWidth, getWidthCM, getWidthInch, getWidthInChart, getZOrderPosition, hasLine, isFilled, isFlippedHorizontally, isFlippedVertically, isLockAspectRatio, isLocked, isPrintable, move, move, moveToCenter, setCharacters, setFilled, setFlippedHorizontally, setFlippedVertically, setFont, setHasLine, setHeight, setHeightCM, setHeightInch, setHeightInChart, setLeft, setLeftCM, setLeftInch, setLeftInChart, setLeftPosition, setLeftPositionInPixel, setLinkedCell, setLockAspectRatio, setLocked, setName, setOrientation, setPlacement, setPrintable, setRotation, setText, setTextHorizontalAlignment, setTextVerticalAlignment, setTop, setTopCM, setTopInch, setTopInChart, setTopPosition, setTopPositionInPixel, setUpperLeftColumn, setUpperLeftRow, setWidth, setWidthCM, setWidthInch, setWidthInChart
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFileType

public byte getFileType()
Gets the file type of the embedded ole object data

Returns:
the file type of the embedded ole object data

setFileType

public void setFileType(byte fileType)
Sets the file type of the embedded ole object data

Parameters:
fileType - the file type of the embedded ole object data.
See Also:
OleFileType

getSourceFullName

public java.lang.String getSourceFullName()
Gets the source full name of the source file for the linked OLE object.

Returns:
the source full name of the source file for the linked OLE object

setSourceFullName

public void setSourceFullName(java.lang.String sourceFullName)
Sets the source full name of the source file for the linked OLE object. Only supports to set the source full name when the source file is NOT compound structure, such as wav file, avi file, and so on.

Parameters:
sourceFullName - the source full name of the source file for the linked OLE object.

getImageData

public byte[] getImageData()
Gets the the image data of this OleObject.

Returns:
the data of the picture.

getImageFormat

public int getImageFormat()
Gets the image format of this OleObject.

Returns:
image format of the image data of this shape. If this shape has no image data, return ImageFormat.UNKNOWN.
See Also:
ImageFormat

getObjectData

public byte[] getObjectData()
Gets embedded ole object data.

Returns:
embedded ole object data.