public class PdfCollection extends PdfObjectWrapper<PdfDictionary>
Modifier and Type | Field and Description |
---|---|
static int |
DETAILS
A type of initial view
|
static int |
HIDDEN
A type of initial view
|
static int |
TILE
A type of initial view
|
Constructor and Description |
---|
PdfCollection()
Constructs a PDF Collection.
|
PdfCollection(PdfDictionary pdfObject) |
Modifier and Type | Method and Description |
---|---|
PdfString |
getInitialDocument() |
PdfCollectionSchema |
getSchema() |
PdfCollectionSort |
getSort() |
PdfNumber |
getView() |
protected boolean |
isWrappedObjectMustBeIndirect()
Defines if the object behind this wrapper must be an indirect object in the resultant document.
|
PdfCollection |
setInitialDocument(String documentName)
Identifies the document that will be initially presented in the user interface.
|
PdfCollection |
setSchema(PdfCollectionSchema schema)
Sets the Collection schema dictionary.
|
PdfCollection |
setSort(PdfCollectionSort sort)
Sets the Collection sort dictionary.
|
PdfCollection |
setView(int viewType)
Sets the initial view.
|
ensureObjectIsAddedToDocument, ensureUnderlyingObjectHasIndirectReference, flush, getPdfObject, isFlushed, makeIndirect, makeIndirect, markObjectAsIndirect, setForbidRelease, setModified, setPdfObject, unsetForbidRelease
public static final int DETAILS
public static final int TILE
public static final int HIDDEN
public PdfCollection(PdfDictionary pdfObject)
public PdfCollection()
public PdfCollection setSchema(PdfCollectionSchema schema)
schema
- an overview of the collection fields
public PdfCollectionSchema getSchema()
public PdfCollection setInitialDocument(String documentName)
documentName
- a string that identifies an entry in the EmbeddedFiles name tree
public PdfString getInitialDocument()
public PdfCollection setView(int viewType)
viewType
-
public PdfNumber getView()
public PdfCollection setSort(PdfCollectionSort sort)
sort
-
public PdfCollectionSort getSort()
protected boolean isWrappedObjectMustBeIndirect()
PdfObjectWrapper
isWrappedObjectMustBeIndirect
in class PdfObjectWrapper<PdfDictionary>
Copyright © 1998–2017 iText Group NV. All rights reserved.