Repository navigation
v0.0.20
Pre-release
Pre-release
Important
This is still very much a work in progress, so expect breaking changes.
Features
WithFieldFontsoffers fonts toWriter.SetFormFieldandWriter.SetFormFieldValues. A value outside WinAnsiEncoding is drawn into the field's widgets with the first program the source offers that covers it, asWithFlattenFontsdoes forWriter.FlattenForm.
Fixes
Writer.SetFormFielddraws the new value into the widgets of a text field or a combo box. Each widget, the kids of a field included, gets an appearance that shows the value on one line, in the font and colour its/DAnames, or the field's when the widget states none. Before, a viewer that ignores/NeedAppearances, andWriter.FlattenForm, showed the value the stored appearance drew. A value no font draws leaves the widgets without an appearance and logs a warning. Password fields and list boxes keep their appearances.Writer.FlattenFormreads a widget's field from the edits queued before it. Flattened in the same write asWriter.SetFormField, the kid widgets of a field read the field without its new value and were dropped.