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 Summary

      Constructors 
      Constructor and Description
      PdfPackage()
      Initializes a new instance of the PdfPackage class.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void addValue(String key, String value)
      Adds string property.
      void setKeywords(String keywords)
      Sets the keywords.
      void setPdfVersion(String version)
      Sets the PDF version.
      void setProducer(String producer)
      Sets the name of the tool that created Pdf.
      void setTrapped(boolean isTrapped)
      Sets the trapped.
      • Methods inherited from class com.aspose.cad.xmp.XmpPackage

        addComplexTypeNamespace_internalized, clear, combinePackage_internalized, containsKey, get_Item, getKeys, getNamespaceUri, getPrefix, getXmlNamespace, getXmlValue, iterator, remove, set_Item, setValue, setXmpBoolean, setXmpGuid, setXmpTypeValue
    • 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.