com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class PptMetadata

    • Constructor Detail

      • PptMetadata

        public PptMetadata()

        Initializes a new instance of the PptMetadata class.

    • Method Detail

      • getApplicationTemplate

        public final String getApplicationTemplate()

        Gets application template.

        Returns:
        The application template.
      • setApplicationTemplate

        public final void setApplicationTemplate(String value)

        Sets application template.

        Parameters:
        value - The application template.
      • getAuthor

        public final String getAuthor()

        Gets document's author.

        Returns:
        The author.
      • setAuthor

        public final void setAuthor(String value)

        Sets document's author.

        Parameters:
        value - The author.
      • getCategory

        public final String getCategory()

        Gets category.

        Returns:
        The category.
      • setCategory

        public final void setCategory(String value)

        Sets category.

        Parameters:
        value - The category.
      • getComments

        public final String getComments()

        Gets comments.

        Returns:
        The comments.
      • setComments

        public final void setComments(String value)

        Sets comments.

        Parameters:
        value - The comments.
      • getCompany

        public final String getCompany()

        Gets company.

        Returns:
        The company.
      • setCompany

        public final void setCompany(String value)

        Sets company.

        Parameters:
        value - The company.
      • getContentStatus

        public final String getContentStatus()

        Gets content status. Could be updated in PPTX format only.

        Returns:
        The content status.


        Could be updated in PPTX format only. Read-only for other formats.

      • setContentStatus

        public final void setContentStatus(String value)

        Sets content status. Could be updated in PPTX format only.

        Parameters:
        value - The content status.


        Could be updated in PPTX format only. Read-only for other formats.

      • getContentType

        public final String getContentType()

        Gets content type. Could be updated in PPTX format only.

        Returns:
        The type of the content.


        Could be updated in PPTX format only. Read-only for other formats.

      • setContentType

        public final void setContentType(String value)

        Sets content type. Could be updated in PPTX format only.

        Parameters:
        value - The type of the content.


        Could be updated in PPTX format only. Read-only for other formats.

      • getCreatedTime

        public final Date getCreatedTime()

        Gets document created date.


        Read-only property. Returns DateTime.MinValue if not specified.

      • getKeywords

        public final String getKeywords()

        Gets keywords.

        Returns:
        The keywords.
      • setKeywords

        public final void setKeywords(String value)

        Sets keywords.

        Parameters:
        value - The keywords.
      • getLastPrintedDate

        public final Date getLastPrintedDate()

        Gets last printed date in UTC.

        Returns:
        The last printed date.


        Read-only property. Returns DateTime.MinValue if not specified.

      • getLastSavedBy

        public final String getLastSavedBy()

        Gets the name of the last author.

        Returns:
        The last saved by.


        Read-only property.

      • getManager

        public final String getManager()

        Gets manager.

        Returns:
        The manager.
      • setManager

        public final void setManager(String value)

        Sets manager.

        Parameters:
        value - The manager.
      • getNameOfApplication

        public final String getNameOfApplication()

        Gets name of application created PowerPoint document.

        Returns:
        The name of application.
      • getRevisionNumber

        public final int getRevisionNumber()

        Gets revision number.

        Returns:
        The revision number.


        Read-only property.

      • getSubject

        public final String getSubject()

        Gets subject.

        Returns:
        The subject.
      • setSubject

        public final void setSubject(String value)

        Sets subject.

        Parameters:
        value - The subject.
      • getTitle

        public final String getTitle()

        Gets the title of the document.

        Returns:
        The title.
      • setTitle

        public final void setTitle(String value)

        Sets the title of the document.

        Parameters:
        value - The title.
      • getVersion

        public final String getVersion()

        Gets the document version.

        Returns:
        The version.
      • getHyperlinkBase

        public final String getHyperlinkBase()

        Gets hyperlink base.

        Returns:
        The hyperlink base.


        Read-only in old PPT.

      • setHyperlinkBase

        public final void setHyperlinkBase(String value)

        Sets hyperlink base.

        Parameters:
        value - The hyperlink base.


        Read-only in old PPT.

      • getPresentationFormat

        public final String getPresentationFormat()

        Gets presentation format.

        Returns:
        The presentation format.
      • getSharedDoc

        public final boolean getSharedDoc()

        Determines whether the presentation is shared between multiple people. Could be updated in PPTX format only.

        Returns:
        true if presentation shared between multiple people; otherwise, false.


        Could be updated in PPTX format only. Read-only for other formats like PPT, POT etc.

      • setSharedDoc

        public final void setSharedDoc(boolean value)

        Determines whether the presentation is shared between multiple people. Could be updated in PPTX format only.

      • add

        public final void add(String key,
               String value)

        Adds metadata with string value.

        Parameters:
        key - Metadata key.
        value - Metadata value.
      • add

        public final void add(String key,
               boolean value)

        Adds metadata with bool value.

        Parameters:
        key - Metadata key.
        value - Metadata value.
      • add

        public final void add(String key,
               Date value)

        Adds DateTime metadata.

        Parameters:
        key - Metadata key.
        value - Metadata value.
      • add

        public final void add(String key,
               int value)

        Adds metadata with integer value.

        Parameters:
        key - Metadata key.
        value - Metadata value.
      • add

        public final void add(String key,
               double value)

        Adds metadata with double value.

        Parameters:
        key - Metadata key.
        value - Metadata value.
      • add

        public final void add(String key,
               float value)

        Adds metadata with float value.

        Parameters:
        key - Metadata key.
        value - Metadata value.
      • isBuiltIn

        public boolean isBuiltIn(String key)

        Returns true if metadata key is built-in in PowerPoint document.

        Overrides:
        isBuiltIn in class DocumentMetadata<PptMetadataProperty>
        Parameters:
        key - Metadata key.
        Returns:
        Returns true if metadata is built-in.
      • isReadOnly

        public boolean isReadOnly(String key)

        Returns true if built-in metadata key is read-only in PowerPoint document.

        Overrides:
        isReadOnly in class DocumentMetadata<PptMetadataProperty>
        Parameters:
        key - Metadata key.
        Returns:
        Returns true if metadata is read-only.