Class OleObject
- java.lang.Object
-
- com.aspose.tasks.OleObject
-
public class OleObject extends Object
Represents an object which is inserted into the MPP file.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetApplicationName()Gets the application name to open the embedded object with.byte[]getContent()Gets the embedded file's data; null if no data was embedded.booleangetDisplayAsIcon()Gets a flag indicating that OLE object should be shown either as an icon or as its regular picture.StringgetFileFormat()Gets the file format of the embedded object.StringgetFullPath()Gets the full path of the inserted object.intgetId()Gets the object id.StringgetLabel()Gets the label of the inserted object.booleangetLinked()Gets a value indicating whether the project file contains only a link to the actual data stored at the link source.StringgetName()Gets the name of the instance of theOleObjectclass.StringgetTemporaryFile()Gets the path to the temporary file of the inserted object.ViewgetView()voidsetId(int value)The object id.
-
-
-
Method Detail
-
getApplicationName
public final String getApplicationName()
Gets the application name to open the embedded object with.
- Returns:
- the application name to open the embedded object with.
-
getContent
public final byte[] getContent()
Gets the embedded file's data; null if no data was embedded.
- Returns:
- the embedded file's data; null if no data was embedded.
-
getDisplayAsIcon
public final boolean getDisplayAsIcon()
Gets a flag indicating that OLE object should be shown either as an icon or as its regular picture.
- Returns:
- a flag indicating that OLE object should be shown either as an icon or as its regular picture.
-
getFileFormat
public final String getFileFormat()
Gets the file format of the embedded object.
- Returns:
- the file format of the embedded object.
-
getFullPath
public final String getFullPath()
Gets the full path of the inserted object.
- Returns:
- the full path of the inserted object.
-
getId
public final int getId()
Gets the object id.
- Returns:
- the object id.
-
setId
public final void setId(int value)
The object id.
- Parameters:
value- the object id.
-
getLabel
public final String getLabel()
Gets the label of the inserted object.
- Returns:
- the label of the inserted object.
-
getLinked
public final boolean getLinked()
Gets a value indicating whether the project file contains only a link to the actual data stored at the link source.
- Returns:
- a value indicating whether the project file contains only a link to the actual data stored at the link source.
-
getName
public final String getName()
Gets the name of the instance of the
OleObjectclass.- Returns:
- the name of the instance of the
OleObjectclass.
-
getTemporaryFile
public final String getTemporaryFile()
Gets the path to the temporary file of the inserted object.
- Returns:
- the path to the temporary file of the inserted object.
-
getView
public final View getView()
Gets the instance of the
View(getView()/setView(View)) class the inserted object belongs to.- Returns:
- the instance of the
View(getView()/setView(View)) class the inserted object belongs to.
-
-