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 or sets the fonts.
|
Dimensions |
getMaxPageSize()
Gets or sets maximum page size.
|
int |
getNumberOfPages()
Gets or sets 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 or sets the fonts.
Value: Fonts used in document.public final Dimensions getMaxPageSize()
Gets or sets maximum page size.
Value: The maximum size of the page.public final int getNumberOfPages()
Gets or sets number of pages in the document.
Value: The number of pages.public final String[] getPlateNames()
Gets or set plate names that are needed to print the document.
Value: The plate names.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 © 2017. All rights reserved.