wordcraft/crates/engine/src
Valentin Klein 08e8d4ade0
Table sizing: Height/Width boxes, AutoFit to contents and a Table Properties dialog (#287)
* Table sizing: Height/Width boxes, real AutoFit Contents, Table Properties dialog (#44)

- Table Layout > Cell Size gets Height and Width boxes (inches) for the caret cell's row
  and column; each edit runs table.rowHeight / table.columnWidth, a drag is one Undo.
- AutoFit Contents now measures every column's narrowest (longest word) and widest
  (unwrapped text) content with the layout's text shaping, shares the text width the way
  Word does, and writes the widths into the table grid and cell widths.
- Table Properties opens a dialog (table width, alignment, indent; row height and rule,
  break across pages, header row; column width; cell width and vertical alignment). OK
  applies only what changed as one table.properties step; with settings the command still
  works headlessly, and without them it reports the current values.
- table.columnWidth clears the table's preferred width so the column keeps the new size;
  table.rowHeight takes an optional exact rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Progress docs: Table Properties dialog and AutoFit Contents landed (#44)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Table sizing: saturating column-span sum in sync_cell_widths

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Merge fix: one region_text (main's) after #287 met the landed table-style code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Brandon Thomas <echelon@gmail.com>
2026-10-10 14:52:08 -04:00
..
cmd Table sizing: Height/Width boxes, AutoFit to contents and a Table Properties dialog (#287) 2026-10-10 14:52:08 -04:00
catalog.rs Progress docs: target-app parity, gaps, alpha gate, readiness by audience (#277) 2026-10-10 14:11:53 -04:00
io.rs Import Word 97-2003 .doc files (#28) (#145) 2026-10-10 08:36:38 -04:00
io_ext.rs Import Word 97-2003 .doc files (#28) (#145) 2026-10-10 08:36:38 -04:00
lib.rs Column Selection: Alt+drag selects a block of text (#237) 2026-10-10 13:47:06 -04:00
math_gallery.rs Equations: Word (OMML) import, layout and save, plus an equation editor like Word's (#191) 2026-10-10 09:04:52 -04:00
sample.rs Clippy/fmt clean workspace, ROADMAP with honest parity estimate; xtask ci green 2026-10-06 00:11:08 -04:00
session.rs Gridlines: the document's own grid spacing, and table gridlines on by default (#69, follow-up to #243) (#283) 2026-10-10 14:37:31 -04:00
speech.rs Read Aloud: player with speed control, sentence skipping, skips citations (#190) 2026-10-10 08:36:19 -04:00
tests.rs Table sizing: Height/Width boxes, AutoFit to contents and a Table Properties dialog (#287) 2026-10-10 14:52:08 -04:00
tests_bidi.rs Right-to-left and Persian text support (bidi, shaping, RTL paragraphs, DOCX) (#207) 2026-10-10 09:26:41 -04:00
tests_typing.rs Reject All removes paragraph breaks inserted with Track Changes on (#229) (#244) 2026-10-10 12:19:52 -04:00