public final class XmpPdfPackage extends XmpPackage
Specifies properties used with Adobe PDF documents.
Constructor and Description |
---|
XmpPdfPackage()
Initializes a new instance of the
XmpPdfPackage class. |
Modifier and Type | Method and Description |
---|---|
String |
getKeywords()
Gets the keywords.
|
String |
getPdfVersion()
Gets the PDF file version.
|
String |
getProducer()
Gets the name of the tool that created the PDF document.
|
Boolean |
isTrapped()
Gets a value indicating whether the document has been trapped.
|
void |
set(String name,
String value)
Sets string property.
|
void |
setKeywords(String value)
Sets the keywords.
|
void |
setPdfVersion(String value)
Sets the PDF file version.
|
void |
setProducer(String value)
Sets the name of the tool that created the PDF document.
|
void |
setTrapped(Boolean value)
Sets a value indicating whether the document has been trapped.
|
clear, getNamespaceUri, getPrefix, getXmlNamespace, getXmpRepresentation, remove, set, set, set, set, set, set, set
addProperties, contains, findProperties, get_Item, getCount, getKeys, getKnowPropertyDescriptors, getMetadataType, getPropertyDescriptors, iterator, removeProperties, sanitize, setProperties, updateProperties
public XmpPdfPackage()
Initializes a new instance of the XmpPdfPackage
class.
public final String getKeywords()
Gets the keywords.
public final void setKeywords(String value)
Sets the keywords.
value
- The keywords.public final String getPdfVersion()
Gets the PDF file version. For example, 1.0, 1.3 and so on.
public final void setPdfVersion(String value)
Sets the PDF file version. For example, 1.0, 1.3 and so on.
value
- The PDF version.public final String getProducer()
Gets the name of the tool that created the PDF document.
public final void setProducer(String value)
Sets the name of the tool that created the PDF document.
value
- The producer.public final Boolean isTrapped()
Gets a value indicating whether the document has been trapped.
true
if the document has been trapped; otherwise, false
.public final void setTrapped(Boolean value)
Sets a value indicating whether the document has been trapped.
value
- true
if the document has been trapped; otherwise, false
.public void set(String name, String value)
Sets string property.
set
in class XmpPackage
name
- XMP metadata property name.value
- XMP metadata property value.