root.properties.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <refentry xmlns="http://docbook.org/ns/docbook"
  2. xmlns:xlink="http://www.w3.org/1999/xlink"
  3. xmlns:xi="http://www.w3.org/2001/XInclude"
  4. xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
  5. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  6. version="5.0" xml:id="root.properties">
  7. <refmeta>
  8. <refentrytitle>root.properties</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
  10. </refmeta>
  11. <refnamediv>
  12. <refname>root.properties</refname>
  13. <refpurpose>The properties of the fo:root element</refpurpose>
  14. </refnamediv>
  15. <refsynopsisdiv>
  16. <src:fragment xml:id="root.properties.frag">
  17. <xsl:attribute-set name="root.properties">
  18. <xsl:attribute name="font-family">
  19. <xsl:value-of select="$body.fontset"/>
  20. </xsl:attribute>
  21. <xsl:attribute name="font-size">
  22. <xsl:value-of select="$body.font.size"/>
  23. </xsl:attribute>
  24. <xsl:attribute name="text-align">
  25. <xsl:value-of select="$alignment"/>
  26. </xsl:attribute>
  27. <xsl:attribute name="line-height">
  28. <xsl:value-of select="$line-height"/>
  29. </xsl:attribute>
  30. <xsl:attribute name="font-selection-strategy">character-by-character</xsl:attribute>
  31. <xsl:attribute name="line-height-shift-adjustment">disregard-shifts</xsl:attribute>
  32. <xsl:attribute name="writing-mode">
  33. <xsl:value-of select="$direction.mode"/>
  34. </xsl:attribute>
  35. </xsl:attribute-set>
  36. </src:fragment>
  37. </refsynopsisdiv>
  38. <refsection><info><title>Description</title></info>
  39. <para>This property set is used on the <tag>fo:root</tag> element of
  40. an FO file. It defines a set of default, global parameters.</para>
  41. </refsection>
  42. </refentry>