public class PdfCollection extends PdfDictionary
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
PdfCollection(int type)
Constructs a PDF Collection.
|
Modifier and Type | Method and 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.
|
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 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 © 2020. All rights reserved.