| java.lang.Object org.pdfbox.pdmodel.interactive.form.PDAppearance
PDAppearance | public class PDAppearance (Code) | | This one took me a while, but i'm proud to say that it handles
the appearance of a textbox. This allows you to apply a value to
a field in the document and handle the appearance so that the
value is actually visible too.
The problem was described by Ben Litchfield, the author of the
example: org.pdfbox.examlpes.fdf.ImportFDF. So Ben, here is the
solution.
author: sug author: Ben Litchfield version: $Revision: 1.19 $ |
Method Summary | |
public void | setAppearanceValue(String apValue) This is the public method for setting the appearance stream. |
PDAppearance | public PDAppearance(PDAcroForm theAcroForm, PDVariableText field) throws IOException(Code) | | Constructs a COSAppearnce from the given field.
Parameters: theAcroForm - the acro form that this field is part of. Parameters: field - the field which you wish to control the appearance of throws: IOException - If there is an error creating the appearance. |
setAppearanceValue | public void setAppearanceValue(String apValue) throws IOException(Code) | | This is the public method for setting the appearance stream.
Parameters: apValue - the String value which the apperance shoud represent throws: IOException - If there is an error creating the stream. |
|
|