A free-text field (/FT /Tx) — the one kind whose value a caller types.
:kind says whether the field holds one line or several, read from the /Ff
bit :flags decodes as :multiline. The other bits a text field can carry —
:password, :comb, :rich_text and the rest — are on
PdfElixide.Form.Field.Text.Flags.
:value is the entered text, or nil when the field carries no /V. A /V
written as a PDF name arrives as its bare string; see
PdfElixide.Form.Field.value/0 for what a malformed one can put here.
See PdfElixide.Form.Field for how fields are named.
Summary
Types
@type kind() :: :single_line | :multiline
Whether the field holds one line of text or several.
:single_line is the default: this is what a field declaring no /Ff
multiline bit is.
@type t() :: %PdfElixide.Form.Field.Text{ flags: PdfElixide.Form.Field.Text.Flags.t(), kind: kind(), name: String.t(), value: PdfElixide.Form.Field.value() }