java.lang.Object
com.lowagie.text.pdf.PdfObject
com.lowagie.text.pdf.PdfDictionary
com.lowagie.text.pdf.PdfAnnotation
com.lowagie.text.pdf.PdfFormField
Deprecated.
Implements form fields.
- Author:
- Paulo Soares (psoares@consiste.pt)
-
Nested Class Summary
Nested classes/interfaces inherited from class com.lowagie.text.pdf.PdfAnnotation
PdfAnnotation.PdfImportedLink -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final PdfNameDeprecated.static final PdfNameDeprecated.static final PdfNameDeprecated.static final PdfNameDeprecated.static final PdfNameDeprecated.static final PdfNameDeprecated.protected List<PdfFormField> Deprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final booleanDeprecated.protected PdfFormFieldDeprecated.Holds value of property parent.static final booleanDeprecated.static final booleanDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final booleanDeprecated.Fields inherited from class com.lowagie.text.pdf.PdfAnnotation
AA_BLUR, AA_DOWN, AA_ENTER, AA_EXIT, AA_FOCUS, AA_JS_CHANGE, AA_JS_FORMAT, AA_JS_KEY, AA_JS_OTHER_CHANGE, AA_UP, annotation, APPEARANCE_DOWN, APPEARANCE_NORMAL, APPEARANCE_ROLLOVER, FLAGS_HIDDEN, FLAGS_INVISIBLE, FLAGS_LOCKED, FLAGS_NOROTATE, FLAGS_NOVIEW, FLAGS_NOZOOM, FLAGS_PRINT, FLAGS_READONLY, FLAGS_TOGGLENOVIEW, form, HIGHLIGHT_INVERT, HIGHLIGHT_NONE, HIGHLIGHT_OUTLINE, HIGHLIGHT_PUSH, HIGHLIGHT_TOGGLE, MARKUP_HIGHLIGHT, MARKUP_SQUIGGLY, MARKUP_STRIKEOUT, MARKUP_UNDERLINE, reference, templates, used, writer -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPdfFormField(PdfWriter writer) Deprecated.Creates new PdfFormFieldPdfFormField(PdfWriter writer, float llx, float lly, float urx, float ury, PdfAction action) Deprecated.Constructs a newPdfAnnotationof subtype link (Action). -
Method Summary
Modifier and TypeMethodDescriptionvoidaddKid(PdfFormField field) Deprecated.protected static PdfFormFieldcreateButton(PdfWriter writer, int flags) Deprecated.static PdfFormFieldcreateCheckBox(PdfWriter writer) Deprecated.protected static PdfFormFieldcreateChoice(PdfWriter writer, int flags, PdfArray options, int topIndex) Deprecated.static PdfFormFieldcreateCombo(PdfWriter writer, boolean edit, String[][] options, int topIndex) Deprecated.static PdfFormFieldcreateCombo(PdfWriter writer, boolean edit, String[] options, int topIndex) Deprecated.static PdfFormFieldcreateEmpty(PdfWriter writer) Deprecated.static PdfFormFieldcreateList(PdfWriter writer, String[][] options, int topIndex) Deprecated.static PdfFormFieldcreateList(PdfWriter writer, String[] options, int topIndex) Deprecated.static PdfFormFieldcreatePushButton(PdfWriter writer) Deprecated.static PdfFormFieldcreateRadioButton(PdfWriter writer, boolean noToggleToOff) Deprecated.static PdfFormFieldcreateSignature(PdfWriter writer) Deprecated.static PdfFormFieldcreateTextField(PdfWriter writer) Deprecated.Allows creation of a simple textfield.static PdfFormFieldcreateTextField(PdfWriter writer, boolean multiline, boolean password, int maxLen) Deprecated.Deprecated.Deprecated.Getter for property parent.protected static PdfArrayprocessOptions(String[] options) Deprecated.protected static PdfArrayprocessOptions(String[][] options) Deprecated.voidsetButton(int flags) Deprecated.voidDeprecated.voidDeprecated.intsetFieldFlags(int flags) Deprecated.voidDeprecated.voidDeprecated.voidsetQuadding(int v) Deprecated.voidsetUsed()Deprecated.Setter for property used.voidDeprecated.voidsetValue(PdfSignature sig) Deprecated.voidDeprecated.voidDeprecated.voidDeprecated.static PdfAnnotationshallowDuplicate(PdfAnnotation annot) Deprecated.Methods inherited from class com.lowagie.text.pdf.PdfAnnotation
addFlags, createFileAttachment, createFileAttachment, createFreeText, createInk, createLine, createLink, createLink, createLink, createLink, createMarkup, createPopup, createScreen, createSquareCircle, createStamp, createText, getIndirectReference, getMKColor, getPlaceInPage, getTemplates, isAnnotation, isForm, isUsed, setAction, setAdditionalActions, setAppearance, setAppearance, setAppearanceState, setBorder, setBorderStyle, setColor, setDefaultAppearanceString, setFlags, setHighlighting, setLayer, setMKAlternateCaption, setMKAlternateIcon, setMKBackgroundColor, setMKBorderColor, setMKIconFit, setMKNormalCaption, setMKNormalIcon, setMKRolloverCaption, setMKRolloverIcon, setMKRotation, setMKTextPosition, setName, setPage, setPage, setPlaceInPage, setPopup, setRotate, setTitleMethods inherited from class com.lowagie.text.pdf.PdfDictionary
clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, getKeysAndValues, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size, toPdf, toStringMethods inherited from class com.lowagie.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
-
Field Details
-
FF_READ_ONLY
public static final int FF_READ_ONLYDeprecated.- See Also:
-
FF_REQUIRED
public static final int FF_REQUIREDDeprecated.- See Also:
-
FF_NO_EXPORT
public static final int FF_NO_EXPORTDeprecated.- See Also:
-
FF_NO_TOGGLE_TO_OFF
public static final int FF_NO_TOGGLE_TO_OFFDeprecated.- See Also:
-
FF_RADIO
public static final int FF_RADIODeprecated.- See Also:
-
FF_PUSHBUTTON
public static final int FF_PUSHBUTTONDeprecated.- See Also:
-
FF_MULTILINE
public static final int FF_MULTILINEDeprecated.- See Also:
-
FF_PASSWORD
public static final int FF_PASSWORDDeprecated.- See Also:
-
FF_COMBO
public static final int FF_COMBODeprecated.- See Also:
-
FF_EDIT
public static final int FF_EDITDeprecated.- See Also:
-
FF_FILESELECT
public static final int FF_FILESELECTDeprecated.- See Also:
-
FF_MULTISELECT
public static final int FF_MULTISELECTDeprecated.- See Also:
-
FF_DONOTSPELLCHECK
public static final int FF_DONOTSPELLCHECKDeprecated.- See Also:
-
FF_DONOTSCROLL
public static final int FF_DONOTSCROLLDeprecated.- See Also:
-
FF_COMB
public static final int FF_COMBDeprecated.- See Also:
-
FF_RADIOSINUNISON
public static final int FF_RADIOSINUNISONDeprecated.- See Also:
-
Q_LEFT
public static final int Q_LEFTDeprecated.- See Also:
-
Q_CENTER
public static final int Q_CENTERDeprecated.- See Also:
-
Q_RIGHT
public static final int Q_RIGHTDeprecated.- See Also:
-
MK_NO_ICON
public static final int MK_NO_ICONDeprecated.- See Also:
-
MK_NO_CAPTION
public static final int MK_NO_CAPTIONDeprecated.- See Also:
-
MK_CAPTION_BELOW
public static final int MK_CAPTION_BELOWDeprecated.- See Also:
-
MK_CAPTION_ABOVE
public static final int MK_CAPTION_ABOVEDeprecated.- See Also:
-
MK_CAPTION_RIGHT
public static final int MK_CAPTION_RIGHTDeprecated.- See Also:
-
MK_CAPTION_LEFT
public static final int MK_CAPTION_LEFTDeprecated.- See Also:
-
MK_CAPTION_OVERLAID
public static final int MK_CAPTION_OVERLAIDDeprecated.- See Also:
-
IF_SCALE_ALWAYS
Deprecated. -
IF_SCALE_BIGGER
Deprecated. -
IF_SCALE_SMALLER
Deprecated. -
IF_SCALE_NEVER
Deprecated. -
IF_SCALE_ANAMORPHIC
Deprecated. -
IF_SCALE_PROPORTIONAL
Deprecated. -
MULTILINE
public static final boolean MULTILINEDeprecated.- See Also:
-
SINGLELINE
public static final boolean SINGLELINEDeprecated.- See Also:
-
PLAINTEXT
public static final boolean PLAINTEXTDeprecated.- See Also:
-
PASSWORD
public static final boolean PASSWORDDeprecated.- See Also:
-
parent
Deprecated.Holds value of property parent. -
kids
Deprecated.
-
-
Constructor Details
-
PdfFormField
Deprecated.Constructs a newPdfAnnotationof subtype link (Action).- Parameters:
writer- the PdfWriterllx- lower-left x-coordinatedlly- lower-left y-coordinateurx- upper-right x-coordinateury- upper-right y-coordinateaction- the PdfAction
-
PdfFormField
Deprecated.Creates new PdfFormField- Parameters:
writer- the PdfWriter to associated to the PdfFormField
-
-
Method Details
-
createEmpty
Deprecated. -
createButton
Deprecated. -
createPushButton
Deprecated. -
createCheckBox
Deprecated. -
createRadioButton
Deprecated. -
createTextField
public static PdfFormField createTextField(PdfWriter writer, boolean multiline, boolean password, int maxLen) Deprecated. -
createTextField
Deprecated.Allows creation of a simple textfield.- Parameters:
writer- pdf writer object- Returns:
- PdfFormField the created textfield
-
createChoice
protected static PdfFormField createChoice(PdfWriter writer, int flags, PdfArray options, int topIndex) Deprecated. -
createList
Deprecated. -
createList
Deprecated. -
createCombo
public static PdfFormField createCombo(PdfWriter writer, boolean edit, String[] options, int topIndex) Deprecated. -
createCombo
public static PdfFormField createCombo(PdfWriter writer, boolean edit, String[][] options, int topIndex) Deprecated. -
processOptions
Deprecated. -
processOptions
Deprecated. -
createSignature
Deprecated. -
shallowDuplicate
Deprecated. -
setWidget
Deprecated. -
setButton
public void setButton(int flags) Deprecated. -
getParent
Deprecated.Getter for property parent.- Returns:
- Value of property parent.
-
addKid
Deprecated. -
getKidFields
Deprecated. -
setFieldFlags
public int setFieldFlags(int flags) Deprecated. -
setValueAsString
Deprecated. -
setValueAsName
Deprecated. -
setValue
Deprecated. -
setDefaultValueAsString
Deprecated. -
setDefaultValueAsName
Deprecated. -
setFieldName
Deprecated. -
setUserName
Deprecated. -
setMappingName
Deprecated. -
setQuadding
public void setQuadding(int v) Deprecated. -
setUsed
public void setUsed()Deprecated.Description copied from class:PdfAnnotationSetter for property used.- Overrides:
setUsedin classPdfAnnotation
-