com.aspose.tasks

Interfaces

Classes

Exceptions

Class OleObject


  • public class OleObject
    extends Object

    Represents an object which is inserted into the MPP file.

    • 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 OleObject class.

        Returns:
        the name of the instance of the OleObject class.
      • 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.