Skip to main content

Module control

Module control 

Source
Expand description

Form control support for Excel worksheets.

Excel uses legacy VML (Vector Markup Language) drawing parts for form controls such as buttons, check boxes, option buttons, spin buttons, scroll bars, group boxes, and labels. This module generates the VML markup needed to add form controls and parses existing VML to read them back.

Structs§

FormControlConfig
Configuration for adding a form control to a worksheet.
FormControlInfo
Information about an existing form control, returned when querying.

Enums§

FormControlType
Form control types.

Functions§

build_form_control_vml
Build a complete VML drawing document containing form control shapes.
count_vml_shapes
Count existing VML shapes in VML bytes to determine the next shape ID.
merge_vml_controls
Merge new form control VML into existing VML bytes (for sheets that already have VML content from comments or other controls).
parse_form_controls
Parse form controls from a VML drawing XML string.
strip_form_control_shapes_from_vml
Strip form control shapes from VML bytes, keeping only comment (Note) shapes.