Skip to content

v0.2.3 - Checkboxes

Latest

Choose a tag to compare

@github-actions github-actions released this 20 Aug 23:56
bf3d33e

Checkboxes in spreadsheets

Form control checkboxes in xlsx, xlsm, xlsb, xls and ods now come out in the cell they sit over, as [x] / [ ] followed by the caption when there is one. They used to be dropped, so a sheet of tick boxes lost its answers.

| Quantity | Panel length (mm) | L/R | R/L | Roof | Wall |
| --- | --- | --- | --- | --- | --- |
| 14 | 4680 | [x] | [ ] | [x] | [ ] |
| 14 | 4595 | [x] | [x] | [x] | [ ] |

Hidden controls, and controls in hidden rows or columns, stay out like any other hidden content. The Excel 365 cell checkboxes (a boolean cell) are unchanged and still print TRUE / FALSE.

Model

Checkboxes have one node: Inline::Checkbox(bool) in Rust, kind checkbox with a checked field in the node, wasm and Python documents. The Markdown renderer owns the [x] / [ ] token, in table cells and in lists alike. ListItem.checked is gone: a task list item is an item whose content starts with a checkbox.

Full Changelog: v0.2.2...v0.2.3