public class PdfCollection extends PdfDictionary
Modifier and Type | Field and 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 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.
|
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 document
public void setSchema(PdfCollectionSchema schema)
schema
- an overview of the collection fields
public PdfCollectionSchema getSchema()
public void setSort(PdfCollectionSort sort)
sort
- a collection sort dictionary
Copyright © 2016. All rights reserved.