com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class PdfPackage

  • All Implemented Interfaces:
    IXmlValue


    public final class PdfPackage
    extends XmpPackage

    Represents Adobe PDF namespace.

    • Constructor Detail

      • PdfPackage

        public PdfPackage()

        Initializes a new instance of the PdfPackage class.

    • Method Detail

      • getKeywords

        public final String getKeywords()

        Gets keywords.

        Returns:
        Keywords.
      • setKeywords

        public final void setKeywords(String value)

        Sets keywords.

        Parameters:
        value - Keywords.
      • getPdfVersion

        public final String getPdfVersion()

        Gets PDF file version. For example, 1.0, 1.3 and so on.

        Returns:
        The PDF version.
      • setPdfVersion

        public final void setPdfVersion(String value)

        Sets PDF file version. For example, 1.0, 1.3 and so on.

        Parameters:
        value - The PDF version.
      • getProducer

        public final String getProducer()

        Gets the name of the tool that created the PDF document.

        Returns:
        The producer.
      • setProducer

        public final void setProducer(String value)

        Sets the name of the tool that created the PDF document.

        Parameters:
        value - The producer.
      • isTrapped

        public final boolean isTrapped()

        True when the document has been trapped.

        Returns:
        true if PDF is trapped; otherwise, false.
      • setTrapped

        public final void setTrapped(boolean value)

        True when the document has been trapped.

      • addValue

        public void addValue(String key,
                    String value)

        Adds string property.

        Overrides:
        addValue in class XmpPackage
        Parameters:
        key - PDF schema key.
        value - String value.
        Throws:
        ArgumentNullException - PDF property could not be null.