diff options
| author | Justin Luth <justin.luth@collabora.com> | 2026-03-19 15:23:25 -0400 |
|---|---|---|
| committer | Justin Luth <justin.luth@collabora.com> | 2026-03-20 12:18:41 +0100 |
| commit | f431a2b02fbe85bd6e83491e5bcb26149df325c3 (patch) | |
| tree | 4d2344d943f964849aba833d66a62f5d8d76c3c1 /icon-themes/oxygen/cmd/it/lc_bold.png | |
| parent | 41f9430dbd5617ddc0439cce0bfcc1fc68bca781 (diff) | |
tdf#138020 writerfilter: ignore tblHeader when all rows are header
While tdf#88496 and friends did this for tables with 10 or more rows,
the idea is valid for all cases - since each row could be tall.
Plus AFAICS that hack is obsolete anyway,
since the bug report it is referring to is marked as fixed.
In LO, it is not possible to mark all rows as header.
So just fix the documents (which are broken by design I guess)
and give them some sensible values.
Yay for emulation. DOCX doesn't have a "do not split table" setting,
but if the first paragraph of the first column of every row
is set to "keep with next paragraph',
then the table emulates no splitting.
So with all this emulation going on,
the round-tripped document still looks the same in MS Word and LO.
make CppunitTest_sw_ooxmlexport25 \
CPPUNIT_TEST_NAME=testTdf138020_all_rows_tblHeader
Change-Id: I60851e8cc78a727efdcd930202245ff062df8fe2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202205
Reviewed-by: Justin Luth <jluth@mail.com>
Tested-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'icon-themes/oxygen/cmd/it/lc_bold.png')
0 files changed, 0 insertions, 0 deletions
