Versions in this module Expand all Collapse all v0 v0.4.2 Mar 15, 2023 Changes in this version type CheckBox + Page int type ComboBox + Page int type DateField + Page int type ListBox + Page int type RadioButtonGroup + Page int type TextField + Page int v0.4.0 Mar 15, 2023 Changes in this version + func ExportForm(xRefTable *model.XRefTable, source string, w io.Writer) (bool, error) + func FieldMap(fieldNames, formRecord []string) (map[string]CSVFieldAttributes, map[string]*Page, error) + func FillDetails(form *Form, fieldMap map[string]CSVFieldAttributes) func(id string, fieldType FieldType, format DataFormat) ([]string, bool, bool) + func FillForm(ctx *model.Context, ...) (bool, []*model.Page, error) + func FontResDict(xRefTable *model.XRefTable) (types.Dict, error) + func ListFormFields(ctx *model.Context) ([]string, error) + func LockFormFields(ctx *model.Context, fieldIDs []string) (bool, error) + func RemoveFormFields(ctx *model.Context, fieldIDs []string) (bool, error) + func ResetFormFields(ctx *model.Context, fieldIDs []string) (bool, error) + func UnlockFormFields(ctx *model.Context, fieldIDs []string) (bool, error) + type CSVFieldAttributes struct + Lock bool + Values []string + type CheckBox struct + Default bool + ID string + Locked bool + Value bool + type ComboBox struct + Default string + Editable bool + ID string + Locked bool + Options []string + Value string + type DataFormat int + const CSV + const JSON + type DateField struct + Default string + Format string + ID string + Locked bool + Value string + type Field struct + type FieldType int + const FTCheckBox + const FTComboBox + const FTDate + const FTListBox + const FTRadioButtonGroup + const FTText + type Form struct + CheckBoxes []*CheckBox + ComboBoxes []*ComboBox + DateFields []*DateField + ListBoxes []*ListBox + Pages map[string]*Page + RadioButtonGroups []*RadioButtonGroup + TextFields []*TextField + type FormGroup struct + Forms []Form + Header Header + type Header struct + Author string + Creation string + Creator string + ID []string + Keywords string + Producer string + Source string + Subject string + Title string + Version string + type ListBox struct + Defaults []string + ID string + Locked bool + Multi bool + Options []string + Values []string + type Page struct + ImageBoxes []*primitives.ImageBox + type RadioButtonGroup struct + Default string + ID string + Locked bool + Options []string + Value string + type TextField struct + Default string + ID string + Locked bool + Multiline bool + Value string