public final class PagedTextPackage extends XmpPackage
Represents XMP Paged-Text namespace.
namespaceUri, prefix, properties
Constructor and Description |
---|
PagedTextPackage()
Initializes a new instance of the
PagedTextPackage class. |
Modifier and Type | Method and Description |
---|---|
void |
addValue(String key,
String value)
Adds string property.
|
Font[] |
getFonts()
Gets the fonts.
|
Dimensions |
getMaxPageSize()
Gets maximum page size.
|
int |
getNumberOfPages()
Gets number of pages in the document.
|
String[] |
getPlateNames()
Gets or set plate names that are needed to print the document.
|
void |
setFonts(Font[] fonts)
Updates fonts.
|
void |
setMaxPageSize(Dimensions size)
Sets the size of the largest page in the document (including any in contained documents).
|
void |
setNumberOfPages(int pages)
Sets the number of pages in the document.
|
void |
setPlateNames(String[] names)
Sets plate names that are needed to print the document.
|
addValue, addValue, addValue, clear, containsKey, getGenericArray, getKeys, getKeyValueAsXml, getLangAlt, getNamespaceUri, getNodeType, getPrefix, getReal, getString, getStringArray, getXmlNamespace, getXmlValue, readByXmpKey, remove, setArray, setBoolValue, setDateValue, setIntValue, setLangAlt, setNullableInt, setRealValue, setStingArray, setTextValue, setXmpComplexTypeValue, setXmpTypeValue, setXmpValue
public PagedTextPackage()
Initializes a new instance of the PagedTextPackage
class.
public final Font[] getFonts()
Gets the fonts.
public final Dimensions getMaxPageSize()
Gets maximum page size.
public final int getNumberOfPages()
Gets number of pages in the document.
public final String[] getPlateNames()
Gets or set plate names that are needed to print the document.
public void addValue(String key, String value)
Adds string property.
addValue
in class XmpPackage
key
- XMP metadata key.value
- XMP metadata value.public final void setMaxPageSize(Dimensions size)
Sets the size of the largest page in the document (including any in contained documents).
size
- Size of the largest page in document.public final void setNumberOfPages(int pages)
Sets the number of pages in the document.
pages
- Number of pages in the document.public final void setPlateNames(String[] names)
Sets plate names that are needed to print the document.
names
- Plate names needed to print the document.public final void setFonts(Font[] fonts)
Updates fonts.
fonts
- Array of Font
.Copyright © 2018. All rights reserved.