wordcraft/docs
Valentin Klein 6526b134be
Document grid: lines per page and characters per line (#391) (#401)
- Model: `SectionProps::doc_grid` (`w:docGrid` type, line pitch, charSpace) and the
  paragraph `w:snapToGrid` flag; DOCX read and write (ECMA-376 §17.6.5).
- Layout: with a line grid, lines of snapping paragraphs take whole line pitches with
  their text centred; with a character grid, East Asian characters take whole cells of
  the character pitch (all text with snapToChars), Latin text stays proportional.
  Hostile pitches and charSpace are clamped. Headers and footers don't snap.
- Command `layout.documentGrid` (type, linesPerPage, charsPerLine, linePitch,
  charSpace), one undo step, section scope; catalog row under Layout › Page Setup.
- Page Setup dialog: Document Grid section; View › Gridlines draws the document
  grid of a section that has one. UI strings in every catalog (incl. et, sr, sr-latn).
- Tests: DOCX round trip, line pitch and lines per page, character pitch placement,
  command with clamping and undo.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Brandon Thomas <echelon@gmail.com>
2026-10-11 15:29:13 -04:00
..
brand M0.1–M0.6: workspace, geom, document model, fonts, layout, render 2026-10-05 22:30:16 -04:00
images M7/M14: comment balloons in the margin; ROADMAP alpha and parity estimates; README Review and Layout screenshots; cargo xtask alias 2026-10-06 01:38:55 -04:00
architecture.md Progress docs: target-app parity, gaps, alpha gate, readiness by audience (#277) 2026-10-10 14:11:53 -04:00
contributors.md About: contributor and model credits compiled in (grab bag + table, self-submitted names) (#6) 2026-10-07 21:17:02 -04:00
control-protocol.md i18n: add Russian (ru) interface translation (#300) 2026-10-11 11:53:41 -04:00
file-format-parity.md Document grid: lines per page and characters per line (#391) (#401) 2026-10-11 15:29:13 -04:00
gaps.md Document grid: lines per page and characters per line (#391) (#401) 2026-10-11 15:29:13 -04:00
hardware-parity.md Windows: use OpenGL when DirectX 12 has no GPU driver (#316) (#325) 2026-10-10 16:24:16 -04:00
layout-parity.md Document grid: lines per page and characters per line (#391) (#401) 2026-10-11 15:29:13 -04:00
localization-parity.md i18n: add Russian (ru) interface translation (#300) 2026-10-11 11:53:41 -04:00
localization-tr.md i18n: add Turkish (tr) interface translation (#494) 2026-10-11 11:16:22 -04:00
mcp.md Headless: file.setAuthor takes a name; review.trackChanges lists its value param (#90) (#224) 2026-10-10 09:43:05 -04:00
parity-checklist.md Document grid: lines per page and characters per line (#391) (#401) 2026-10-11 15:29:13 -04:00
releasing.md Bump version to 0.5.0; add Linux riscv64 release build (#394) 2026-10-10 19:41:30 -04:00
roadmap.md Insert > Icons: an original icon library, a searchable picker and Icon Color (#309) (#318) 2026-10-11 13:27:42 -04:00
target-app-parity.md Document grid: lines per page and characters per line (#391) (#401) 2026-10-11 15:29:13 -04:00
typing-parity.md Move paragraphs, promote/demote, Go Back and Alt+X like Word (#343) (#351) 2026-10-11 11:49:02 -04:00
ui-parity.md Insert > Icons: an original icon library, a searchable picker and Icon Color (#309) (#318) 2026-10-11 13:27:42 -04:00
zotero.md Read Aloud: player with speed control, sentence skipping, skips citations (#190) 2026-10-10 08:36:19 -04:00