by acknak » Wed Oct 01, 2014 3:55 pm
As far as I know, Writer cannot do this.
I'm not sure how a conditional paragraph style would work. What happens when a paragraph flows over two pages? The paragraph style would have to switch in the middle of a paragraph.
But I believe the way this might work is that the text alignment would change depending on the text direction. So a left-alligned paragraph in a RtL environment would actually align to the right.
You can see this is just what happens, even with a plain (English/Western LtR text--dt, F3, for example):
Format > Paragraph > Alignment > Properties > Text direction: Right-to-Left
(You have to enable complex text layout to get this option).
The text (left aligned by default) will align at the right side of the page, even though the text itself is still LtR.
The page style can set the text direction to RtL, and the paragraph can (apparently) use the page setting (the "superordinate" setting, I presume), so alternating page styles switching between LtR and RtL could take care of the alternating left and right alignment.
However, it doesn't work--at least for me. Changing the page to RtL does not seem to affect the paragraph text at all, and changing the paragraph setting leads to some jumbled/strange layout problems.
I know nothing about Writer's complex text layout features or how they're supposed to work, so I don't know if there's a bug or I've misunderstood something.
AOO4/LO5 • Linux • Fedora 23