diff options
author | Justin Luth <justin_luth@sil.org> | 2018-07-23 11:54:51 +0300 |
---|---|---|
committer | Justin Luth <justin_luth@sil.org> | 2018-07-24 06:11:45 +0200 |
commit | 3aaa81ff68c6597381f58f2bd257190d70bd58a3 (patch) | |
tree | 26dcc113208d18439e1381359f114560ed2e9c0f /test | |
parent | 0fbf627a4beca383c25cc50cfa9d555f18fade53 (diff) |
tdf#72560 ExchangeLeftRight shouldn't use DefaultParaStyle
MS Word's UI is a bit confusing for RTL because the only place you
can set it (at least in Word 2003) is on the Normal paragraph
style - everywhere else the control is grayed out.
Add a test that very specifically tests the impact of Normal style.
The document does not use the "default" style at all, because
the style used is based on -none-. Normal is set to RTL - does
that mean that the whole document should be RTL or that
Left/Right should swap?
No. Parentless style provides LTR in MSWord, and thus the LO code
that ExchangeLeftRight() based on DefaultStyle's bidi setting was
wrong. Yes, it is determined by style/DocDefault settings, but
not by DefaultStyle in particular.
Change-Id: I000953e51d3d919f73aa1e97df63f266d15447b2
Reviewed-on: https://gerrit.libreoffice.org/57859
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions