https://issues.apache.org/bugzilla/show_bug.cgi?id=51984
--- Comment #5 from Glenn Adams <[email protected]> 2011-10-10 23:23:43 UTC --- (In reply to comment #2) > (2) you should use the writing-mode attribute on fo:page-sequence (or on > fo:block-container) to specify the writing mode of the generated reference > areas; for example, specifying writing-mode="rl" on fo:page-sequence will > automatically make the first column in a multi-column page the right-most > column, and make the first column in a table the right-most column, and will > align the start edge with the right edge, so you don't need to explicitly > specify right alignment; note that text-align="start|end" is now resolved > according to writing mode; I should also add that an important effect of using writing-mode="rl" on fo:page-sequence is that this makes the default bidirectional level right-to-left on blocks (e.g., paragraphs). If you then need to have certain blocks use left-to-right as their default bidi level, then you can use one of the following: (1) wrap the block's content with fo:bidi-override, e.g., <fo:block><fo:bidi-override unicode-bidi="embed" direction="ltr">...</fo:bidi-override></block> (2) wrap the block's content with explicit Unicode bidi control characters (i.e., RLE and PDF): <fo:block>‪...‬</block> (3) wrap the block with a relative block-container with a left-to-right writing mode, e.g., <fo:block-container writing-mode="lr"><fo:block>...</fo:block></fo:block-container> These techniques actually produce slightly different treatment at the bidi level. The first and second above keep the block at the same default bidi level prescribed by the page-sequence's writing mode, namely right-to-left, but inserts a new left-to-right embedding level into which the block's content is scoped. In contrast, the third technique actually changes the default bidi level of the blocks contained in the block-container to left-to-right. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
