Class FdfWriter
java.lang.Object
com.lowagie.text.pdf.FdfWriter
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets the field value.Deprecated.Gets all the fields.getFile()Deprecated.Gets the PDF file name associated with the FDF.(package private) voidDeprecated.booleanremoveField(String field) Deprecated.Removes the field value.(package private) booleanDeprecated.booleansetFieldAsAction(String field, PdfAction action) Deprecated.Sets the field value as aPDFAction.booleansetFieldAsName(String field, String value) Deprecated.Sets the field value as a name.booleansetFieldAsString(String field, String value) Deprecated.Sets the field value as a string.voidsetFields(AcroFields af) Deprecated.Sets all the fields from thisAcroFieldsvoidDeprecated.Sets all the fields from thisFdfReadervoidDeprecated.Sets all the fields from thisPdfReadervoidDeprecated.Sets the PDF file name associated with the FDF.voidwriteTo(OutputStream os) Deprecated.Writes the content to a stream.
-
Field Details
-
HEADER_FDF
private static final byte[] HEADER_FDFDeprecated. -
fields
-
file
-
-
Constructor Details
-
FdfWriter
public FdfWriter()Deprecated.Creates a new FdfWriter.
-
-
Method Details
-
writeTo
Deprecated.Writes the content to a stream.- Parameters:
os- the stream- Throws:
IOException- on error
-
setField
-
iterateFields
-
removeField
Deprecated.Removes the field value.- Parameters:
field- the field name- Returns:
trueif the field was found and removed,falseotherwise
-
getFields
-
setFields
Deprecated.Sets all the fields from thisFdfReader- Parameters:
fdf- theFdfReader
-
setFields
Deprecated.Sets all the fields from thisPdfReader- Parameters:
pdf- thePdfReader
-
setFields
Deprecated.Sets all the fields from thisAcroFields- Parameters:
af- theAcroFields
-
getField
-
setFieldAsName
-
setFieldAsString
-
setFieldAsAction
Deprecated.Sets the field value as aPDFAction. For example, this method allows setting a form submit button action usingPdfAction.createSubmitForm(String, Object[], int). This method creates anAentry for the specified field in the underlying FDF file. Method contributed by Philippe Laflamme (plaflamme)- Parameters:
field- the fully qualified field nameaction- the field's action- Returns:
trueif the value was inserted,falseif the name is incompatible with an existing field- Since:
- 2.1.5
-
getFile
Deprecated.Gets the PDF file name associated with the FDF.- Returns:
- the PDF file name associated with the FDF
-
setFile
Deprecated.Sets the PDF file name associated with the FDF.- Parameters:
file- the PDF file name associated with the FDF
-