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 intA type of PDF Collectionprivate static final intA type of PDF CollectionFields inherited from class PdfDictionary
hashMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the Collection schema dictionary.voidsetInitialDocument(String description) Identifies the document that will be initially presented in the user interface.voidsetSchema(PdfCollectionSchema schema) Sets the Collection schema dictionary.voidsetSort(PdfCollectionSort sort) Sets the Collection sort dictionary.Methods inherited from class PdfDictionary
get, getAsArray, getAsDict, getAsName, getAsNumber, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, put, remove, size, toPdf, toStringMethods inherited from class 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
-