[Libreoffice-bugs] [Bug 121493] RTF rendering of tables with different column width fails

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Nov 22 07:55:47 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=121493

--- Comment #9 from Mike Kaganski <mikekaganski at hotmail.com> ---
A note for myself or for anyone who wants to jump in:

the code (both current, and before
https://git.libreoffice.org/core/+/0f9a596aa853b4f2beeff25c131246a7b31492a4)
assumes that \trleftN goes before all \cellxN. That is, of course, false. So
the processing of cellx, trleft, and row control words (in
writerfilter/source/rtftok/rtfdispatchvalue.cxx and
writerfilter/source/rtftok/rtfdispatchsymbol.cxx) needed to first collect all
cell border positions, and only then calculate cell widths (which is now done
right upon arrival of cellx, which leads to incorrect results after non-0
trleft arrives last).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181122/aaf5ad34/attachment.html>


More information about the Libreoffice-bugs mailing list