Files
Petru Conduraru 2dfb9cdd6e Bonsai: don't render spreadsheet-hidden columns in schedules (#6729)
Columns hidden in the source ODS (table:visibility="collapse" or "filter")
were still drawn in the generated schedule SVG, because
Scheduler.schedule_ods built column widths/styles from each
<table:table-column> without reading its visibility attribute.

Record the indices of hidden columns while collecting them, and in the
cell-drawing loop compute each cell's visible span excluding hidden
columns: a fully hidden cell is skipped (no rect, no text, no width), and a
partially spanning cell sums only its visible columns' widths.

Verified live in headless Blender: a 3-column sheet with the middle column
set to visibility="collapse" rendered the hidden column before the fix and
omits it after (visible columns intact, layout collapsed); an all-visible
sheet is byte-unchanged (the guard is a no-op when nothing is hidden).

Generated with the assistance of an AI coding tool.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-12 09:59:30 +03:00
..
2026-02-27 14:52:55 +05:00
2026-01-26 17:13:18 +05:00
2026-02-27 14:52:55 +05:00
2025-12-19 18:53:14 +05:00
2025-12-19 18:53:14 +05:00
2025-12-19 18:53:14 +05:00
2025-12-22 18:44:42 +05:00
2025-12-19 18:53:14 +05:00
2025-12-22 18:44:42 +05:00