|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.itextpdf.text.pdf.AcroFields.Item
public static class AcroFields.Item
The field representations for retrieval and modification.
| Field Summary | |
|---|---|
ArrayList<PdfDictionary> |
merged
Deprecated. (will remove 'public' in the future) |
ArrayList<Integer> |
page
Deprecated. (will remove 'public' in the future) |
ArrayList<Integer> |
tabOrder
Deprecated. (will remove 'public' in the future) |
ArrayList<PdfDictionary> |
values
Deprecated. (will remove 'public' in the future) |
ArrayList<PdfIndirectReference> |
widget_refs
Deprecated. (will remove 'public' in the future) |
ArrayList<PdfDictionary> |
widgets
Deprecated. (will remove 'public' in the future) |
static int |
WRITE_MERGED
writeToAll constant. |
static int |
WRITE_VALUE
writeToAll and markUsed constant. |
static int |
WRITE_WIDGET
writeToAll and markUsed constant. |
| Constructor Summary | |
|---|---|
AcroFields.Item()
|
|
| Method Summary | |
|---|---|
(package private) void |
addMerged(PdfDictionary mergeDict)
Adds a merged dictionary to this Item. |
(package private) void |
addPage(int pg)
Adds a page to the current Item. |
(package private) void |
addTabOrder(int order)
Adds a tab order value to this Item. |
(package private) void |
addValue(PdfDictionary value)
Add a value dict to this Item |
(package private) void |
addWidget(PdfDictionary widget)
Add a widget dict to this Item |
(package private) void |
addWidgetRef(PdfIndirectReference widgRef)
Add a widget ref to this Item |
(package private) void |
forcePage(int idx,
int pg)
forces a page value into the Item. |
PdfDictionary |
getMerged(int idx)
Retrieve the merged dictionary for the given instance. |
Integer |
getPage(int idx)
Retrieve the page number of the given instance |
Integer |
getTabOrder(int idx)
Gets the tabOrder. |
PdfDictionary |
getValue(int idx)
Retrieve the value dictionary of the given instance |
PdfDictionary |
getWidget(int idx)
Retrieve the widget dictionary of the given instance |
PdfIndirectReference |
getWidgetRef(int idx)
Retrieve the reference to the given instance |
void |
markUsed(AcroFields parentFields,
int writeFlags)
Mark all the item dictionaries used matching the given flags |
(package private) void |
remove(int killIdx)
Remove the given instance from this item. |
int |
size()
Preferred method of determining the number of instances of a given field. |
void |
writeToAll(PdfName key,
PdfObject value,
int writeFlags)
This function writes the given key/value pair to all the instances of merged, widget, and/or value, depending on the writeFlags setting |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int WRITE_MERGED
writeToAll constant.
public static final int WRITE_WIDGET
writeToAll and markUsed constant.
public static final int WRITE_VALUE
writeToAll and markUsed constant.
@Deprecated public ArrayList<PdfDictionary> values
PdfDictionary where the value tag /V
is present.
@Deprecated public ArrayList<PdfDictionary> widgets
PdfDictionary with the widgets.
@Deprecated public ArrayList<PdfIndirectReference> widget_refs
PdfDictionary with the widget references.
@Deprecated public ArrayList<PdfDictionary> merged
PdfDictionary with all the field
and widget tags merged.
@Deprecated public ArrayList<Integer> page
Integer with the page numbers where
the widgets are displayed.
@Deprecated public ArrayList<Integer> tabOrder
Integer with the tab order of the field in the page.
| Constructor Detail |
|---|
public AcroFields.Item()
| Method Detail |
|---|
public void writeToAll(PdfName key,
PdfObject value,
int writeFlags)
writeFlags setting
key - you'll never guess what this is for.value - if value is null, the key will be removedwriteFlags - ORed together WRITE_* flags
public void markUsed(AcroFields parentFields,
int writeFlags)
writeFlags - WRITE_MERGED is ignoredpublic int size()
void remove(int killIdx)
killIdx - public PdfDictionary getValue(int idx)
idx - instance index
void addValue(PdfDictionary value)
value - new value dictionarypublic PdfDictionary getWidget(int idx)
idx - instance index
void addWidget(PdfDictionary widget)
widget - public PdfIndirectReference getWidgetRef(int idx)
idx - instance index
void addWidgetRef(PdfIndirectReference widgRef)
widgRef - public PdfDictionary getMerged(int idx)
idx - instance index
void addMerged(PdfDictionary mergeDict)
mergeDict - public Integer getPage(int idx)
idx -
void addPage(int pg)
pg -
void forcePage(int idx,
int pg)
idx - public Integer getTabOrder(int idx)
idx -
void addTabOrder(int order)
order -
|
Hosted by Hostbasket | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||