Save This Page
Home » iText-src-2.1.3 » com.lowagie » text » pdf » [javadoc | source]
com.lowagie.text.pdf
public class: PdfAcroForm [javadoc | source]
java.lang.Object
   com.lowagie.text.pdf.PdfObject
      com.lowagie.text.pdf.PdfDictionary
         com.lowagie.text.pdf.PdfAcroForm
Each PDF document can contain maximum 1 AcroForm.
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:
 public PdfAcroForm(PdfWriter writer) 
    Creates new PdfAcroForm
    Parameters:
    writer -
Method from com.lowagie.text.pdf.PdfAcroForm Summary:
addCalculationOrder,   addCheckBox,   addComboBox,   addComboBox,   addDocumentField,   addFieldTemplates,   addFormField,   addHiddenField,   addHtmlPostButton,   addMap,   addMultiLineTextField,   addRadioButton,   addRadioGroup,   addResetButton,   addSelectList,   addSelectList,   addSignature,   addSingleLinePasswordField,   addSingleLineTextField,   drawButton,   drawCheckBoxAppearences,   drawMultiLineOfText,   drawRadioAppearences,   drawSignatureAppearences,   drawSingleLineOfText,   getRadioGroup,   isValid,   setButtonParams,   setCheckBoxParams,   setChoiceParams,   setNeedAppearances,   setSigFlags,   setSignatureParams,   setTextFieldParams
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.PdfAcroForm Detail:
 public  void addCalculationOrder(PdfFormField formField) 
    Adds an object to the calculationOrder.
 public PdfFormField addCheckBox(String name,
    String value,
    boolean status,
    float llx,
    float lly,
    float urx,
    float ury) 
 public PdfFormField addComboBox(String name,
    String[] options,
    String defaultValue,
    boolean editable,
    BaseFont font,
    float fontSize,
    float llx,
    float lly,
    float urx,
    float ury) 
 public PdfFormField addComboBox(String name,
    String[][] options,
    String defaultValue,
    boolean editable,
    BaseFont font,
    float fontSize,
    float llx,
    float lly,
    float urx,
    float ury) 
 public  void addDocumentField(PdfIndirectReference ref) 
    Adds documentFields.
 public  void addFieldTemplates(HashMap ft) 
    Adds fieldTemplates.
 public  void addFormField(PdfFormField formField) 
    Adds a formfield to the AcroForm.
 public PdfFormField addHiddenField(String name,
    String value) 
 public PdfFormField addHtmlPostButton(String name,
    String caption,
    String value,
    String url,
    BaseFont font,
    float fontSize,
    float llx,
    float lly,
    float urx,
    float ury) 
 public PdfFormField addMap(String name,
    String value,
    String url,
    PdfContentByte appearance,
    float llx,
    float lly,
    float urx,
    float ury) 
 public PdfFormField addMultiLineTextField(String name,
    String text,
    BaseFont font,
    float fontSize,
    float llx,
    float lly,
    float urx,
    float ury) 
 public PdfFormField addRadioButton(PdfFormField radiogroup,
    String value,
    float llx,
    float lly,
    float urx,
    float ury) 
 public  void addRadioGroup(PdfFormField radiogroup) 
 public PdfFormField addResetButton(String name,
    String caption,
    String value,
    BaseFont font,
    float fontSize,
    float llx,
    float lly,
    float urx,
    float ury) 
 public PdfFormField addSelectList(String name,
    String[] options,
    String defaultValue,
    BaseFont font,
    float fontSize,
    float llx,
    float lly,
    float urx,
    float ury) 
 public PdfFormField addSelectList(String name,
    String[][] options,
    String defaultValue,
    BaseFont font,
    float fontSize,
    float llx,
    float lly,
    float urx,
    float ury) 
 public PdfFormField addSignature(String name,
    float llx,
    float lly,
    float urx,
    float ury) 
 public PdfFormField addSingleLinePasswordField(String name,
    String text,
    BaseFont font,
    float fontSize,
    float llx,
    float lly,
    float urx,
    float ury) 
 public PdfFormField addSingleLineTextField(String name,
    String text,
    BaseFont font,
    float fontSize,
    float llx,
    float lly,
    float urx,
    float ury) 
 public  void drawButton(PdfFormField button,
    String caption,
    BaseFont font,
    float fontSize,
    float llx,
    float lly,
    float urx,
    float ury) 
 public  void drawCheckBoxAppearences(PdfFormField field,
    String value,
    float llx,
    float lly,
    float urx,
    float ury) 
 public  void drawMultiLineOfText(PdfFormField field,
    String text,
    BaseFont font,
    float fontSize,
    float llx,
    float lly,
    float urx,
    float ury) 
 public  void drawRadioAppearences(PdfFormField field,
    String value,
    float llx,
    float lly,
    float urx,
    float ury) 
 public  void drawSignatureAppearences(PdfFormField field,
    float llx,
    float lly,
    float urx,
    float ury) 
 public  void drawSingleLineOfText(PdfFormField field,
    String text,
    BaseFont font,
    float fontSize,
    float llx,
    float lly,
    float urx,
    float ury) 
 public PdfFormField getRadioGroup(String name,
    String defaultValue,
    boolean noToggleToOff) 
 public boolean isValid() 
    Checks if the Acroform is valid
 public  void setButtonParams(PdfFormField button,
    int characteristics,
    String name,
    String value) 
 public  void setCheckBoxParams(PdfFormField field,
    String name,
    String value,
    boolean status,
    float llx,
    float lly,
    float urx,
    float ury) 
 public  void setChoiceParams(PdfFormField field,
    String name,
    String defaultValue,
    float llx,
    float lly,
    float urx,
    float ury) 
 public  void setNeedAppearances(boolean value) 
 public  void setSigFlags(int f) 
    Sets the signature flags.
 public  void setSignatureParams(PdfFormField field,
    String name,
    float llx,
    float lly,
    float urx,
    float ury) 
 public  void setTextFieldParams(PdfFormField field,
    String text,
    String name,
    float llx,
    float lly,
    float urx,
    float ury)