Skip to content
  • Marek Kasik's avatar
    Add support for ResetForm action · 0582ea96
    Marek Kasik authored
    Add ability to reset FormField class, its descendants and Form class. This takes hierarchy into account so that resetting a field resets also its children. If exclude flag is specified then all fields are reset except those which are listed in Fields key.
    
    FormFieldText set DV key as its V key if DV is available. Otherwise, it just removes the V key.
    
    FormFieldChoice unselect selected items and set the default ones if specified.
    
    FormFieldButton set default apearance state if it is available, otherwise it just removes V key (and set the state to "Off" if it is check button, which is what Adobe Reader does in this situation).
    
    FormFieldSignature is not reset.
    
    Add LinkResetForm class which stores information needed for resetting of fields of forms.
    
    Issue #225
    0582ea96