Skip to content

Commit f7411f0

Browse files
committed
PDFBOX-6108: add comments + missing fields
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1930104 13f79535-47bb-0310-9956-ffa450edef68
1 parent d7a1b3d commit f7411f0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

xmpbox/src/main/java/org/apache/xmpbox/schema/XMPPageTextSchema.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
package org.apache.xmpbox.schema;
2222

2323
import org.apache.xmpbox.XMPMetadata;
24+
import org.apache.xmpbox.type.Cardinality;
2425
import org.apache.xmpbox.type.PropertyType;
2526
import org.apache.xmpbox.type.StructuredType;
2627
import org.apache.xmpbox.type.Types;
@@ -36,12 +37,21 @@
3637
public class XMPPageTextSchema extends XMPSchema
3738
{
3839

40+
// The size of the largest page in the document
3941
@PropertyType(type = Types.Dimensions)
4042
public static final String MAX_PAGE_SIZE = "MaxPageSize";
4143

44+
// The number of pages in the document
4245
@PropertyType(type = Types.Integer)
4346
public static final String N_PAGES = "NPages";
4447

48+
// An ordered array of plate names that are needed to print the document
49+
@PropertyType(type = Types.Text, card = Cardinality.Seq)
50+
public static final String PLATENAMES = "PlateNames"; // Ordered array of Text
51+
52+
// missing:
53+
// Colorants / Ordered array of Colorants / Cardinality.Seq
54+
// Fonts / Unordered array of Fonts / Cardinality.Bag
4555

4656
public XMPPageTextSchema(XMPMetadata metadata)
4757
{

0 commit comments

Comments
 (0)