From 3a0d80426bcf5075cc86461ce62f7d5e18aae47b Mon Sep 17 00:00:00 2001 From: Bob Stayton Date: Mon, 15 Dec 2008 22:13:54 +0000 Subject: [PATCH] writing mode param used to set text direction. --- xsl/params/writing.mode.xml | 84 +++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 xsl/params/writing.mode.xml diff --git a/xsl/params/writing.mode.xml b/xsl/params/writing.mode.xml new file mode 100644 index 000000000..899f1094e --- /dev/null +++ b/xsl/params/writing.mode.xml @@ -0,0 +1,84 @@ + + +writing.mode +string + + +writing.mode +Direction of text flow based on locale + + + + + + + writing-mode + + + + + + + + + + +Description + +Sets direction of text flow and text alignment based on locale. +The value is normally taken from the gentext file for the +lang attribute of the document's root element, using the +key name 'writing-mode' to look it up in the gentext file. +But the param can also be +set on the command line to override that gentext value. + + +Accepted values are: + + + lr-tb + + Left-to-right text flow in each line, lines stack top to bottom. + + + + rl-tb + + Right-to-left text flow in each line, lines stack top to bottom. + + + + tb-rl + + Top-to-bottom text flow in each vertical line, lines stack right to left. + Not supported in HTML output. + + + + lr + + Shorthand for lr-tb. + + + + rl + + Shorthand for rl-tb. + + + + tb + + Shorthand for tb-rl. + + + + + + + -- 2.49.0