Packages

 

com.aspose.cad.xmp.schemas.pdf

Class PdfPackage

  • java.lang.Object
    • com.aspose.cad.xmp.XmpPackage
      • com.aspose.cad.xmp.schemas.pdf.PdfPackage
  • All Implemented Interfaces:
    IXmlValue, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<String,Object>>, com.aspose.ms.System.Collections.IEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<String,Object>>, Iterable<com.aspose.ms.System.Collections.Generic.KeyValuePair<String,Object>>


    public final class PdfPackage
    extends com.aspose.cad.xmp.XmpPackage

    Represents Adobe Pdf namespace.

    • Constructor Detail

      • PdfPackage

        public PdfPackage()

        Initializes a new instance of the PdfPackage class.

    • Method Detail

      • addValue

        public void addValue(String key,
                             String value)

        Adds string property.

        Overrides:
        addValue in class com.aspose.cad.xmp.XmpPackage
        Parameters:
        key - The string representation of key that is identified with added value.
        value - The string value.
        Throws:
        com.aspose.ms.System.ArgumentNullException - key;Pdf property could not be null
      • setKeywords

        public void setKeywords(String keywords)

        Sets the keywords.

        Parameters:
        keywords - The keywords.
      • setPdfVersion

        public void setPdfVersion(String version)

        Sets the PDF version.

        Parameters:
        version - Pdf version, for example: 1.0, 1.3 etc.
      • setProducer

        public void setProducer(String producer)

        Sets the name of the tool that created Pdf.

        Parameters:
        producer - The producer name.
      • setTrapped

        public void setTrapped(boolean isTrapped)

        Sets the trapped.

        Parameters:
        isTrapped - if set to true the document has been trapped.