com.lowagie.text.pdf
public static class AcroFields.Item extends Object
Field Summary | |
---|---|
ArrayList | merged
An array of PdfDictionary with all the field
and widget tags merged.
|
ArrayList | page
An array of Integer with the page numbers where
the widgets are displayed.
|
ArrayList | tabOrder
An array of Integer with the tab order of the field in the page.
|
ArrayList | values
An array of PdfDictionary where the value tag /V
is present.
|
ArrayList | widgets
An array of PdfDictionary with the widgets.
|
ArrayList | widget_refs
An array of PdfDictionary with the widget references.
|
static int | WRITE_MERGEDwriteToAll constant.
|
static int | WRITE_VALUEwriteToAll and markUsed constant.
|
static int | WRITE_WIDGETwriteToAll and markUsed constant.
|
Method Summary | |
---|---|
void | addMerged(PdfDictionary mergeDict)
Adds a merged dictionary to this Item.
|
void | addPage(int pg)
Adds a page to the current Item.
|
void | addTabOrder(int order)
Adds a tab order value to this Item.
|
void | addValue(PdfDictionary value)
Add a value dict to this Item
|
void | addWidget(PdfDictionary widget)
Add a widget dict to this Item
|
void | addWidgetRef(PdfIndirectReference widgRef)
Add a widget ref to this Item
|
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
|
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
|
Deprecated: (will remove 'public' in the future)
An array ofPdfDictionary
with all the field
and widget tags merged.
Deprecated: (will remove 'public' in the future)
An array ofInteger
with the page numbers where
the widgets are displayed.
Deprecated: (will remove 'public' in the future)
An array ofInteger
with the tab order of the field in the page.
Deprecated: (will remove 'public' in the future)
An array ofPdfDictionary
where the value tag /V
is present.
Deprecated: (will remove 'public' in the future)
An array ofPdfDictionary
with the widgets.
Deprecated: (will remove 'public' in the future)
An array ofPdfDictionary
with the widget references.
writeToAll
constant.
Since: 2.1.5
writeToAll
and markUsed
constant.
Since: 2.1.5
writeToAll
and markUsed
constant.
Since: 2.1.5
Parameters: mergeDict
Since: 2.1.5
Parameters: pg
Since: 2.1.5
Parameters: order
Since: 2.1.5
Parameters: value new value dictionary
Since: 2.1.5
Parameters: widget
Since: 2.1.5
Parameters: widgRef
Since: 2.1.5
Parameters: idx
Since: 2.1.5
Parameters: idx instance index
Returns: the merged dictionary for the given instance
Since: 2.1.5
Parameters: idx
Returns: remember, pages are "1-indexed", not "0-indexed" like field instances.
Since: 2.1.5
Parameters: idx
Returns: tab index of the given field instance
Since: 2.1.5
Parameters: idx instance index
Returns: dictionary storing this instance's value. It may be shared across instances.
Since: 2.1.5
Parameters: idx instance index
Returns: The dictionary found in the appropriate page's Annot array.
Since: 2.1.5
Parameters: idx instance index
Returns: reference to the given field instance
Since: 2.1.5
Parameters: writeFlags WRITE_MERGED is ignored
Since: 2.1.5
Parameters: killIdx
Since: 2.1.5
Returns: number of instances
Since: 2.1.5
writeFlags
setting
Parameters: key you'll never guess what this is for. value if value is null, the key will be removed writeFlags ORed together WRITE_* flags
Since: 2.1.5