public class PdfCollection extends PdfDictionary
Modifier and Type | Field | Description |
---|---|---|
static int |
CUSTOM |
A type of PDF Collection
|
static int |
DETAILS |
A type of PDF Collection
|
static int |
HIDDEN |
A type of PDF Collection
|
static int |
TILE |
A type of PDF Collection
|
Constructor | Description |
---|---|
PdfCollection(int type) |
Constructs a PDF Collection.
|
Modifier and Type | Method | Description |
---|---|---|
PdfCollectionSchema |
getSchema() |
Gets 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
checkType, clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size, toPdf, toString
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
public static final int DETAILS
public static final int TILE
public static final int HIDDEN
public static final int CUSTOM
public PdfCollection(int type)
type
- the type of PDF collection.public void setInitialDocument(String description)
description
- the description that was used when attaching the file to the documentpublic void setSchema(PdfCollectionSchema schema)
schema
- an overview of the collection fieldspublic PdfCollectionSchema getSchema()
public void setSort(PdfCollectionSort sort)
sort
- a collection sort dictionaryCopyright © 2018. All rights reserved.