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 or sets application template.

        Value: The application template.
      • setApplicationTemplate

        public final void setApplicationTemplate(String value)

        Gets or sets application template.

        Value: The application template.
      • getAuthor

        public final String getAuthor()

        Gets or sets document's author.

        Value: The author.
      • setAuthor

        public final void setAuthor(String value)

        Gets or sets document's author.

        Value: The author.
      • getCategory

        public final String getCategory()

        Gets or sets category.

        Value: The category.
      • setCategory

        public final void setCategory(String value)

        Gets or sets category.

        Value: The category.
      • getComments

        public final String getComments()

        Gets or sets comments.

        Value: The comments.
      • setComments

        public final void setComments(String value)

        Gets or sets comments.

        Value: The comments.
      • getCompany

        public final String getCompany()

        Gets or sets company.

        Value: The company.
      • setCompany

        public final void setCompany(String value)

        Gets or sets company.

        Value: The company.
      • getContentStatus

        public final String getContentStatus()

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

        Value: The content status.


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

      • setContentStatus

        public final void setContentStatus(String value)

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

        Value: The content status.


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

      • getContentType

        public final String getContentType()

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

        Value: The type of the content.


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

      • setContentType

        public final void setContentType(String value)

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

        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 or sets keywords.

        Value: The keywords.
      • setKeywords

        public final void setKeywords(String value)

        Gets or sets keywords.

        Value: The keywords.
      • getLastPrintedDate

        public final Date getLastPrintedDate()

        Gets last printed date in UTC.

        Value: 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.

        Value: The last saved by.


        Read-only property.

      • getManager

        public final String getManager()

        Gets or sets manager.

        Value: The manager.
      • setManager

        public final void setManager(String value)

        Gets or sets manager.

        Value: The manager.
      • getNameOfApplication

        public final String getNameOfApplication()

        Gets name of application created PowerPoint document.

        Value: The name of application.
      • getRevisionNumber

        public final int getRevisionNumber()

        Gets revision number.

        Value: The revision number.


        Read-only property.

      • getSubject

        public final String getSubject()

        Gets or sets subject.

        Value: The subject.
      • setSubject

        public final void setSubject(String value)

        Gets or sets subject.

        Value: The subject.
      • getTitle

        public final String getTitle()

        Gets or sets the title of the document.

        Value: The title.
      • setTitle

        public final void setTitle(String value)

        Gets or sets the title of the document.

        Value: The title.
      • getVersion

        public final String getVersion()

        Gets the document version.

        Value: The version.
      • getHyperlinkBase

        public final String getHyperlinkBase()

        Gets or sets hyperlink base.

        Value: The hyperlink base.


        Read-only in old PPT.

      • setHyperlinkBase

        public final void setHyperlinkBase(String value)

        Gets or sets hyperlink base.

        Value: The hyperlink base.


        Read-only in old PPT.

      • getPresentationFormat

        public final String getPresentationFormat()

        Gets presentation format.

        Value: The presentation format.
      • getSharedDoc

        public final boolean getSharedDoc()

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

        Value: 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.

        Value: 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.

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