|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.lowagie.text.pdf.AcroFields
Query and change fields in existing documents either by method call or by FDF merging.
| Nested Class Summary | |
class |
AcroFields.Item
The field representations for retrieval and modification. |
| Field Summary | |
(package private) HashMap |
fields
|
(package private) PdfReader |
reader
|
private int |
topFirst
|
(package private) PdfWriter |
writer
|
| Constructor Summary | |
(package private) |
AcroFields(PdfReader reader,
PdfWriter writer)
|
| Method Summary | |
(package private) void |
fill()
|
(package private) PdfAppearance |
getAppearance(PdfDictionary merged,
String text)
|
String |
getField(String name)
Gets the field value. |
HashMap |
getFields()
Gets all the fields. |
(package private) Color |
getMKColor(PdfArray ar)
|
(package private) boolean |
isInAP(PdfDictionary dic,
PdfName check)
|
boolean |
setField(String name,
String value)
Sets the field value. |
boolean |
setField(String name,
String value,
String display)
Sets the field value and the display string. |
void |
setFields(FdfReader fdf)
Sets the fields by FDF merging. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
PdfReader reader
PdfWriter writer
HashMap fields
private int topFirst
| Constructor Detail |
AcroFields(PdfReader reader,
PdfWriter writer)
| Method Detail |
void fill()
PdfAppearance getAppearance(PdfDictionary merged,
String text)
throws IOException,
DocumentException
IOException
DocumentExceptionColor getMKColor(PdfArray ar)
public String getField(String name)
name - the fully qualified field name
public void setFields(FdfReader fdf)
throws IOException,
DocumentException
fdf - the FDF form
IOException - on error
DocumentException - on error
public boolean setField(String name,
String value)
throws IOException,
DocumentException
name - the fully qualified field namevalue - the field value
true if the field was found and changed,
false otherwise
IOException - on error
DocumentException - on error
public boolean setField(String name,
String value,
String display)
throws IOException,
DocumentException
name - the fully qualified field namevalue - the field valuedisplay - the string that is used for the appearance
true if the field was found and changed,
false otherwise
IOException - on error
DocumentException - on error
boolean isInAP(PdfDictionary dic,
PdfName check)
public HashMap getFields()
AcroFields.Item.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||