Created attachment 138939 [details]
Mis-rendered word document
Attached is a document I created with MS Word several years ago. It has a pretty simple (I think) table layout, with Hebrew (right-to-left) text. The table spans several pages with a repeating header row; and the first (= rightmost) column has the text laid out vertically.
Now, when I open this document, I see the repeating header row rendered fine, but the rest of the table seems to be offset to the left, starting so that the rightmost column's left border is placed on the table's overall left border. The rest of the table is mostly not laid out at all, there are just the horizontal inter-row borders extending a bit further to the left.
However, at the same time, the scrollers do not allow scrolling due left past the end of the page, so at least some of the Writer code believes the layout does end where it's supposed to end.
I'll also attach a PDF obtained using Microsoft's online MS-Word viewer at:
which exhibits what the document should look like.
Created attachment 138940 [details]
Documented printed by MS online DOC viewer
This could very well be a dupe of one or several existing DOC-Tables-blocking bugs.
Reproducible with Version: 126.96.36.199 (x64)
Build ID: d2bec56d7865f05a1003dc88449f2b0fdd85309a
CPU threads: 4; OS: Windows 10.0; UI render: default;
Locale: ru-RU (ru_RU); Calc:
Created attachment 138951 [details]
A minimal reproducer
This file (DOCX, that is affected, too) demonstrates that there are two related problems with the file.
First is the different placement of rows (1st vs 2nd). And that is related to the second row's first cell's <w:textDirection w:val="tbRl"/> in <w:tcPr>. Removing it makes both rows to behave identically.
Second one is the table's placement (as a whole). Word places the table at the right border of the page. Writer places it at the left border. (Now that the table is narrow, it's evident.)
Bug still manifests with:
Build ID: 5d19a1bfa650b796764388cd8b33a5af1f5baa1b
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk2;
Locale: en-GB (en_GB.UTF-8); Calc: group threaded