diff options
author | Czeber László Ádám <czeber.laszloadam@nisz.hu> | 2023-04-04 15:07:47 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2023-04-21 09:52:02 +0200 |
commit | 5c98966b8318d526bdfbefc77831c051e946231f (patch) | |
tree | efc7baf4cd105c74140c2f69a880aa2fc3dbec7c /oox | |
parent | 56d2939e1928ae06fa74cb4b4be36cc0eaf3e702 (diff) |
tdf#153195 sw RTF import: fix negative indent of table in footer
Fix missing processing of TBLIND keyword, which puts the table in
the footer in the correct orientation, applying also the following
conversion between RTF and OpenDocument/Writer to avoid regression:
Left spacing of the table has different meaning in MSO and Writer.
In MSO, left spacing means the indent of the text content of the
cells, i.e. if table spacing is 0, the text content of the cells
is vertically adjusted to the text content of the table, not to
the table border. In Writer, if left table spacing is 0, the table
border is vertically adjusted to the page text content. So for
the correct conversion, left spacing of the table decreased
with the left padding of the table text content during the RTF
import. (See table padding on the Borders pane of Table Properties.)
Reported and created unit test document by Gábor Kelemen.
Change-Id: Ia3a781044a11d012f204a8ac3b160ad4c5dc896a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150022
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'oox')
0 files changed, 0 insertions, 0 deletions