public class PdfCollectionField extends PdfObjectWrapper<PdfDictionary>
Modifier and Type | Field and Description |
---|---|
static int |
CREATIONDATE
A possible type of collection field.
|
static int |
DATE
A possible type of collection field.
|
static int |
DESC
A possible type of collection field.
|
static int |
FILENAME
A possible type of collection field.
|
static int |
MODDATE
A possible type of collection field.
|
static int |
NUMBER
A possible type of collection field.
|
static int |
SIZE
A possible type of collection field.
|
protected int |
subType |
static int |
TEXT
A possible type of collection field.
|
Modifier | Constructor and Description |
---|---|
protected |
PdfCollectionField(PdfDictionary pdfObject) |
|
PdfCollectionField(String name, int subType)
Creates a PdfCollectionField.
|
Modifier and Type | Method and Description |
---|---|
PdfBoolean |
getEditable() |
PdfNumber |
getOrder() |
PdfObject |
getValue(String value) |
PdfBoolean |
getVisibility() |
protected boolean |
isWrappedObjectMustBeIndirect()
Defines if the object behind this wrapper must be an indirect object in the resultant document.
|
PdfCollectionField |
setEditable(boolean editable)
Indication if the field value should be editable in the viewer.
|
PdfCollectionField |
setOrder(int order)
The relative order of the field name.
|
PdfCollectionField |
setVisibility(boolean visible)
Sets the initial visibility of the field.
|
ensureObjectIsAddedToDocument, ensureUnderlyingObjectHasIndirectReference, flush, getPdfObject, isFlushed, makeIndirect, makeIndirect, markObjectAsIndirect, setForbidRelease, setModified, setPdfObject, unsetForbidRelease
public static final int TEXT
public static final int DATE
public static final int NUMBER
public static final int FILENAME
public static final int DESC
public static final int MODDATE
public static final int CREATIONDATE
public static final int SIZE
protected int subType
protected PdfCollectionField(PdfDictionary pdfObject)
public PdfCollectionField(String name, int subType)
name
- the field name
subType
- the field subtype
public PdfCollectionField setOrder(int order)
order
- a number indicating the order of the field
public PdfNumber getOrder()
public PdfCollectionField setVisibility(boolean visible)
visible
-
public PdfBoolean getVisibility()
public PdfCollectionField setEditable(boolean editable)
editable
-
public PdfBoolean getEditable()
protected boolean isWrappedObjectMustBeIndirect()
PdfObjectWrapper
isWrappedObjectMustBeIndirect
in class PdfObjectWrapper<PdfDictionary>
Copyright © 1998–2017 iText Group NV. All rights reserved.