mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-19 17:11:56 +01:00
* craft-docx: a DOCX border without w:sz is an eighth of a point * craft-docx: a table border without w:sz is width 0, and ODT and RTF keep it A table, cell or table-style border without w:sz gives the same output in Word as w:sz="0" and takes no room; read as half a point, rows below a pandoc table's header rule moved down half a point. PropCtx::table_borders now reads it as 0, as PropCtx::borders does since #1488. ODT and RTF have no border that is drawn and takes no room, so a drawn width-0 cell side is written at Border::THINNEST instead of being dropped. Where two ODT cells share an edge, a line with a width wins over a width-0 one, whichever cell states it. Table half of storytold/wordcraft#5764. --------- Co-authored-by: Nghiathan13 <201675788+Nghiathan13@users.noreply.github.com>