mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-06 18:51:26 +00:00
Cell borders (`fo:border*`: width, style, colour; ODF 1.3 §20.183) and padding (`fo:padding*`) are read from table-cell styles. LibreOffice gives an edge two cells share to one of them only (the left cell's right side `none`, the right cell's left side drawing it); on open the line goes to both cells, as WordCraft's cells each draw their own sides. A table whose cells all say "no line" opens without a grid. Export writes each cell's padding (its own, its table's or Word's default) and its borders with each shared edge once, as LibreOffice does (left and bottom, the first row's top, the last column's right), so lines no longer double; cells used a fixed 4 pt padding and a grid even in tables without lines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GBVQLyDnrG8Tn1yDQcUabC