Interface FormFactory


public interface FormFactory
  • Field Details

  • Method Details

    • listField

      Object listField(FormObject formObject)
      setup and return a List component, from the specified formObject
      Parameters:
      formObject - form object
      Returns:
      Object
      See Also:
    • comboBox

      Object comboBox(FormObject formObject)
      setup and return a ComboBox component, from the specified formObject
      Parameters:
      formObject - form object
      Returns:
      Object
      See Also:
    • singleLineText

      Object singleLineText(FormObject formObject)
      setup and return a single line Text component, from the specified formObject
      Parameters:
      formObject - form object
      Returns:
      Object
      See Also:
    • singleLinePassword

      Object singleLinePassword(FormObject formObject)
      setup and return a single line Password component, from the specified formObject
      Parameters:
      formObject - form object
      Returns:
      Object
      See Also:
    • multiLineText

      Object multiLineText(FormObject formObject)
      setup and return a multi line Text component, from the specified formObject
      Parameters:
      formObject - form object
      Returns:
      Object
      See Also:
    • multiLinePassword

      Object multiLinePassword(FormObject formObject)
      setup and return a multi line Password component, from the specified formObject
      Parameters:
      formObject - form object
      Returns:
      Object
      See Also:
    • pushBut

      Object pushBut(FormObject formObject)
      setup and return a push button component, from the specified formObject
      Parameters:
      formObject - form object
      Returns:
      Object
      See Also:
    • radioBut

      Object radioBut(FormObject formObject)
      setup and return a single radio button component, from the specified formObject
      Parameters:
      formObject - form object
      Returns:
      Object
      See Also:
    • checkBoxBut

      Object checkBoxBut(FormObject formObject)
      setup and return a single checkBox button component, from the specified formObject
      Parameters:
      formObject - form object
      Returns:
      Object
      See Also:
    • annotationButton

      Object annotationButton(FormObject formObject)
      setup annotations display with pop-ups, etc
      Parameters:
      formObject - form object
      Returns:
      Object
    • signature

      Object signature(FormObject formObject)
      setup the signature field
      Parameters:
      formObject - form object
      Returns:
      Object
    • reset

      void reset(Object[] AcroRes, ActionHandler actionHandler, org.jpedal.objects.PdfPageData pageData, org.jpedal.io.PdfObjectReader currentPdfFile)
      user can instance own value so we need to pass in these objects
      Parameters:
      AcroRes - AcroRes
      actionHandler - Action Handler
      pageData - pdf page data
      currentPdfFile - current pdf file
    • getCustomCompData

      org.jpedal.objects.acroforms.GUIData getCustomCompData()
      return new instance of GUIData implementation to support component set
      Returns:
      GUIData
    • getType

      int getType()
      return Formfactory.
      ULC, SWING or HTML
      constant
      Returns:
      int
    • indexAllKids

      void indexAllKids()
    • setAnnotOrder

      void setAnnotOrder(Map<String,String> annotOrder)
      Set the annotation order used for the tab index

      To append annotations instead of overriding the order, see appendAnnotOrder(java.util.Map<java.lang.String, java.lang.String>)

      Parameters:
      annotOrder - The annotation order as a map, mapping the annotation ref to it's index
      See Also:
    • appendAnnotOrder

      void appendAnnotOrder(Map<String,String> annotOrder)
      Append a map of tab orders onto the form factories existing annotation order store

      To replace the existing annotation order, see setAnnotOrder(java.util.Map<java.lang.String, java.lang.String>)

      Parameters:
      annotOrder - The annotations to append onto the existing map
    • setOptions

      void setOptions(EnumSet<org.jpedal.objects.acroforms.creation.FormOptions> formSettings)
      Parameters:
      formSettings - settings
    • setDVR

      void setDVR(org.jpedal.render.DynamicVectorRenderer htmLoutput, org.jpedal.objects.Javascript javaScript)
      Parameters:
      htmLoutput - html
      javaScript - javascript
    • generateBorderfromForm

      Object generateBorderfromForm(FormObject form, float scaling)
      Parameters:
      form - Form object
      scaling - scaling
      Returns:
      Object
    • flattenForm

      boolean flattenForm(FormObject formObject)
      Parameters:
      formObject - a data object containing details of the form object
      Returns:
      boolean
    • setFormValues

      void setFormValues(Map<String,Object> inputValues)
    • getReplacementValue

      Object getReplacementValue(String key)
    • addPageScript

      void addPageScript(int pageNumber, int key, String script)
    • setupDRFonts

      default void setupDRFonts()