Interactive form controls
Seven public control families
Version 2.384.413 adds support for buttons, checkboxes, radio buttons, list boxes, combo boxes, scroll bars and spin buttons through TXLSXWorksheet.FormControls.Add and TXLSXFormControlType
Each TXLSXFormControl exposes cell anchors, Caption, MacroName, LinkedCell, Checked, Items, ItemsRange, zero-based SelectedIndex, Value, Min, Max, SmallChange and LargeChange
Macro names are transported but HotXLS does not execute macros; native button qualification uses a Calc view-level action listener provided by the test worker
Linked state and public validation
Changing the public state writes a resolvable linked cell or supported global defined name; call TXLSXWorkbook.Recalculate to update dependent formulas
SelectedIndex = -1 clears linked content, indices outside the item list get rejected, and deleting the selected item clears selection and linked content
Numeric values must stay within Min..Max, bounds must contain the current value, increments must be positive and SmallChange may not exceed LargeChange
Import never writes linked cells; authoritative linked values are read without mutation, unmatched selections become -1, unparseable numeric state becomes Min and parsed or merged state is normalised to Min..Max
XLSX and raw VML ownership
Authored controls use worksheet legacyDrawing, VML ClientData anchors, per-control relationships and ctrlProps parts, covering selection, item ranges and scroll/spin values
Fully represented control-only VML is promoted into the typed model after validating per-family properties, required shape identities and types, the complete VML and relationship documents, exact namespaces, every accepted element and attribute, internal targets and duplicate IDs
Unknown VML children or attributes, foreign namespaces, unsupported properties, mismatched types, notes, missing targets or additional relationships keep byte-identical raw VML and ctrlProps without partial typed controls
ODS state and native Calc interaction
Calc scroll bars and spin buttons use form:value-range with their ooo:com.sun.star.form.component.ScrollBar and SpinButton implementations; unknown implementations reject explicitly
Standard current state prevails over standard defaults, then private metadata; attribute presence is independent of text, including empty-but-present values
Within current and default option domains, the first true selection is retained whilst later false or empty markers establish presence without clearing it
LibreOffice Calc 26.2.5.2 passes all seven real view interactions, linked values/items/formulas, exact geometry and ranges, save, normal close, normal shutdown and fresh-process reopen
Copy and dependency ownership
Represented non-A1 CopyFrom shifts form and textbox geometry and rebinds local references whilst preserving explicit foreign references
Same-workbook and cross-workbook copies keep mixed charts, shapes, pictures and controls with actual relationships and no source pointers; conflicting global names receive isolated aliases
Unknown defined-name attributes, raw owners and cross-workbook Pivot dependencies on other source worksheets refuse ahead of destination mutation; positive slicer/timeline dependency closure remains unfinished
Final-source qualification passes 170 model checks, 54 public native-reopen checks, 129 offline and 24 native package observations, alongside 90 interactive, 33 ownership and 9 unknown-name regressions
Original E2 stays open for positive cross-workbook Pivot dependency closure, richer drawings and remaining interactive objects