summaryrefslogtreecommitdiffstats
path: root/kdoctools/docbook/xsl/params/root.properties.xml
diff options
context:
space:
mode:
Diffstat (limited to 'kdoctools/docbook/xsl/params/root.properties.xml')
-rw-r--r--kdoctools/docbook/xsl/params/root.properties.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/kdoctools/docbook/xsl/params/root.properties.xml b/kdoctools/docbook/xsl/params/root.properties.xml
new file mode 100644
index 000000000..6424412c0
--- /dev/null
+++ b/kdoctools/docbook/xsl/params/root.properties.xml
@@ -0,0 +1,38 @@
+<refentry id="root.properties">
+<refmeta>
+<refentrytitle>root.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>root.properties</refname>
+<refpurpose>The properties of the fo:root element</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='root.properties.frag'>
+<xsl:attribute-set name="root.properties">
+ <xsl:attribute name="font-family">
+ <xsl:value-of select="$body.fontset"/>
+ </xsl:attribute>
+ <xsl:attribute name="font-size">
+ <xsl:value-of select="$body.font.size"/>
+ </xsl:attribute>
+ <xsl:attribute name="text-align">
+ <xsl:value-of select="$alignment"/>
+ </xsl:attribute>
+ <xsl:attribute name="line-height">
+ <xsl:value-of select="$line-height"/>
+ </xsl:attribute>
+ <xsl:attribute name="font-selection-strategy">character-by-character</xsl:attribute>
+ <xsl:attribute name="line-height-shift-adjustment">disregard-shifts</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This property set is used on the <sgmltag>fo:root</sgmltag> element of
+an FO file. It defines a set of default, global parameters.</para>
+
+</refsect1>
+</refentry>