Save This Page
Home » iText-src-2.1.3 » com.lowagie » text » pdf » [javadoc | source]
com.lowagie.text.pdf
public class: PdfFormField [javadoc | source]
java.lang.Object
   com.lowagie.text.pdf.PdfObject
      com.lowagie.text.pdf.PdfDictionary
         com.lowagie.text.pdf.PdfAnnotation
            com.lowagie.text.pdf.PdfFormField
Implements form fields.
Field Summary
public static final  int FF_READ_ONLY     
public static final  int FF_REQUIRED     
public static final  int FF_NO_EXPORT     
public static final  int FF_NO_TOGGLE_TO_OFF     
public static final  int FF_RADIO     
public static final  int FF_PUSHBUTTON     
public static final  int FF_MULTILINE     
public static final  int FF_PASSWORD     
public static final  int FF_COMBO     
public static final  int FF_EDIT     
public static final  int FF_FILESELECT     
public static final  int FF_MULTISELECT     
public static final  int FF_DONOTSPELLCHECK     
public static final  int FF_DONOTSCROLL     
public static final  int FF_COMB     
public static final  int FF_RADIOSINUNISON     
public static final  int Q_LEFT     
public static final  int Q_CENTER     
public static final  int Q_RIGHT     
public static final  int MK_NO_ICON     
public static final  int MK_NO_CAPTION     
public static final  int MK_CAPTION_BELOW     
public static final  int MK_CAPTION_ABOVE     
public static final  int MK_CAPTION_RIGHT     
public static final  int MK_CAPTION_LEFT     
public static final  int MK_CAPTION_OVERLAID     
public static final  PdfName IF_SCALE_ALWAYS     
public static final  PdfName IF_SCALE_BIGGER     
public static final  PdfName IF_SCALE_SMALLER     
public static final  PdfName IF_SCALE_NEVER     
public static final  PdfName IF_SCALE_ANAMORPHIC     
public static final  PdfName IF_SCALE_PROPORTIONAL     
public static final  boolean MULTILINE     
public static final  boolean SINGLELINE     
public static final  boolean PLAINTEXT     
public static final  boolean PASSWORD     
static  PdfName[] mergeTarget     
protected  PdfFormField parent    Holds value of property parent. 
protected  ArrayList kids     
Fields inherited from com.lowagie.text.pdf.PdfAnnotation:
HIGHLIGHT_NONE,  HIGHLIGHT_INVERT,  HIGHLIGHT_OUTLINE,  HIGHLIGHT_PUSH,  HIGHLIGHT_TOGGLE,  FLAGS_INVISIBLE,  FLAGS_HIDDEN,  FLAGS_PRINT,  FLAGS_NOZOOM,  FLAGS_NOROTATE,  FLAGS_NOVIEW,  FLAGS_READONLY,  FLAGS_LOCKED,  FLAGS_TOGGLENOVIEW,  APPEARANCE_NORMAL,  APPEARANCE_ROLLOVER,  APPEARANCE_DOWN,  AA_ENTER,  AA_EXIT,  AA_DOWN,  AA_UP,  AA_FOCUS,  AA_BLUR,  AA_JS_KEY,  AA_JS_FORMAT,  AA_JS_CHANGE,  AA_JS_OTHER_CHANGE,  MARKUP_HIGHLIGHT,  MARKUP_UNDERLINE,  MARKUP_STRIKEOUT,  MARKUP_SQUIGGLY,  writer,  reference,  templates,  form,  annotation,  used
Fields inherited from com.lowagie.text.pdf.PdfDictionary:
FONT,  OUTLINES,  PAGE,  PAGES,  CATALOG,  hashMap
Fields inherited from com.lowagie.text.pdf.PdfObject:
BOOLEAN,  NUMBER,  STRING,  NAME,  ARRAY,  DICTIONARY,  STREAM,  NULL,  INDIRECT,  NOTHING,  TEXT_PDFDOCENCODING,  TEXT_UNICODE,  bytes,  type,  indRef
Constructor:
 protected PdfFormField(PdfWriter writer) 
    Creates new PdfFormField
 public PdfFormField(PdfWriter writer,
    float llx,
    float lly,
    float urx,
    float ury,
    PdfAction action) 
    Constructs a new PdfAnnotation of subtype link (Action).
Method from com.lowagie.text.pdf.PdfFormField Summary:
addKid,   createButton,   createCheckBox,   createChoice,   createCombo,   createCombo,   createEmpty,   createList,   createList,   createPushButton,   createRadioButton,   createSignature,   createTextField,   getKids,   getParent,   mergeResources,   mergeResources,   processOptions,   processOptions,   setButton,   setDefaultValueAsName,   setDefaultValueAsString,   setFieldFlags,   setFieldName,   setMappingName,   setQuadding,   setUsed,   setUserName,   setValue,   setValueAsName,   setValueAsString,   setWidget,   shallowDuplicate
Methods from com.lowagie.text.pdf.PdfAnnotation:
createFileAttachment,   createFileAttachment,   createFreeText,   createInk,   createLine,   createLink,   createLink,   createLink,   createLink,   createMarkup,   createPopup,   createScreen,   createSquareCircle,   createStamp,   createText,   getIndirectReference,   getMK,   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,   setTitle,   setUsed
Methods from com.lowagie.text.pdf.PdfDictionary:
contains,   get,   getAsArray,   getAsBoolean,   getAsDict,   getAsIndirectObject,   getAsName,   getAsNumber,   getAsStream,   getAsString,   getDirectObject,   getKeys,   isCatalog,   isFont,   isOutlineTree,   isPage,   isPages,   merge,   mergeDifferent,   put,   putAll,   putEx,   remove,   size,   toPdf,   toString
Methods from com.lowagie.text.pdf.PdfObject:
canBeInObjStm,   getBytes,   getIndRef,   isArray,   isBoolean,   isDictionary,   isIndirect,   isName,   isNull,   isNumber,   isStream,   isString,   length,   setContent,   setIndRef,   toPdf,   toString,   type
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.lowagie.text.pdf.PdfFormField Detail:
 public  void addKid(PdfFormField field) 
 protected static PdfFormField createButton(PdfWriter writer,
    int flags) 
 public static PdfFormField createCheckBox(PdfWriter writer) 
 protected static PdfFormField createChoice(PdfWriter writer,
    int flags,
    PdfArray options,
    int topIndex) 
 public static PdfFormField createCombo(PdfWriter writer,
    boolean edit,
    String[] options,
    int topIndex) 
 public static PdfFormField createCombo(PdfWriter writer,
    boolean edit,
    String[][] options,
    int topIndex) 
 public static PdfFormField createEmpty(PdfWriter writer) 
 public static PdfFormField createList(PdfWriter writer,
    String[] options,
    int topIndex) 
 public static PdfFormField createList(PdfWriter writer,
    String[][] options,
    int topIndex) 
 public static PdfFormField createPushButton(PdfWriter writer) 
 public static PdfFormField createRadioButton(PdfWriter writer,
    boolean noToggleToOff) 
 public static PdfFormField createSignature(PdfWriter writer) 
 public static PdfFormField createTextField(PdfWriter writer,
    boolean multiline,
    boolean password,
    int maxLen) 
 public ArrayList getKids() 
 public PdfFormField getParent() 
    Getter for property parent.
 static  void mergeResources(PdfDictionary result,
    PdfDictionary source) 
 static  void mergeResources(PdfDictionary result,
    PdfDictionary source,
    PdfStamperImp writer) 
 protected static PdfArray processOptions(String[] options) 
 protected static PdfArray processOptions(String[][] options) 
 public  void setButton(int flags) 
 public  void setDefaultValueAsName(String s) 
 public  void setDefaultValueAsString(String s) 
 public int setFieldFlags(int flags) 
 public  void setFieldName(String s) 
 public  void setMappingName(String s) 
 public  void setQuadding(int v) 
 public  void setUsed() 
 public  void setUserName(String s) 
 public  void setValue(PdfSignature sig) 
 public  void setValueAsName(String s) 
 public  void setValueAsString(String s) 
 public  void setWidget(Rectangle rect,
    PdfName highlight) 
 public static PdfAnnotation shallowDuplicate(PdfAnnotation annot)