Package com.aowagie.text.pdf.collection
Class PdfCollection
java.lang.Object
com.aowagie.text.pdf.PdfObject
com.aowagie.text.pdf.PdfDictionary
com.aowagie.text.pdf.collection.PdfCollection
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
A type of PDF Collectionprivate static final int
A type of PDF CollectionFields inherited from class com.aowagie.text.pdf.PdfDictionary
hashMap
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the Collection schema dictionary.void
setInitialDocument
(String description) Identifies the document that will be initially presented in the user interface.void
setSchema
(PdfCollectionSchema schema) Sets the Collection schema dictionary.void
setSort
(PdfCollectionSort sort) Sets the Collection sort dictionary.Methods inherited from class com.aowagie.text.pdf.PdfDictionary
get, getAsArray, getAsDict, getAsName, getAsNumber, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, put, remove, size, toPdf, toString
Methods inherited from class com.aowagie.text.pdf.PdfObject
getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, setContent, setIndRef, type
-
Field Details
-
TILE
private static final int TILEA type of PDF Collection- See Also:
-
HIDDEN
private static final int HIDDENA type of PDF Collection- See Also:
-
-
Constructor Details
-
PdfCollection
public PdfCollection()
-
-
Method Details
-
setInitialDocument
Identifies the document that will be initially presented in the user interface.- Parameters:
description
- the description that was used when attaching the file to the document
-
setSchema
Sets the Collection schema dictionary.- Parameters:
schema
- an overview of the collection fields
-
getSchema
Gets the Collection schema dictionary.- Returns:
- schema an overview of the collection fields
-
setSort
Sets the Collection sort dictionary.- Parameters:
sort
- a collection sort dictionary
-