Created attachment 142426 [details]
docx Text Boxes with both directions of Vertical Text
Text Boxes can have 2 vertical text directions. We only correctly import the bottom to top (90 deg). The more common top to bottom ( 270 deg) is imported as horizontal.
Created attachment 142427 [details]
Screenshot of Word 2013 vs Writer 6.2
It seems this is covered in bug 111409, even though I left it unconfirmed for now.
"Writer can switch all four text direction for the whole page or just in a frame, but text box have no way to use TB-LR direction"
repro Version: 220.127.116.11.alpha0+
Build ID: e9c1cbce903d325b1e19602d72765511589f5bf2
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk2;
Could you please check if this is still present after <https://gerrit.libreoffice.org/plugins/gitiles/core/+/ff17478e069cc82681df62514876c06365dd5cd6>? Thanks.
After ff17478e069c, the text is now the correct direction, but
1) The vertical position of the bottom to top shape seems to be relative to the bottom margin, rather than the top margin.
2a) The resize shape to fit text calculations are wrong. (bottom to top shapes are incorrect size)
2b) If you Uncheck "Resize shape to fit text" in Word, bottom to top text direction is wrong, but shapes are the correct size
Do you want to file new bug reports for these issues or track one or all of these here?
Thanks for the testing, no need to do anything right now (let's keep this bug open and not open separate ones).
Created attachment 151211 [details]
Sample docx with wrap comparing TtoB vs BtoT
This test docx shows the problem with Bottom to top text with various resize options.
Created attachment 155093 [details]
Screenshot of the document in current Writer master
Looks a lot better in:
Version: 18.104.22.168.alpha1+ (x86)
Build ID: f0340d58cc0f2808ce8003099ff2a0495360f267
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win;
Locale: hu-HU (hu_HU); UI-Language: en-US
tdf#127825 DOCX import: fix handling for tbrl, auto-height and rel size shapes