<!-- For better or worse, revhistory is allowed in content... -->
<xsl:template match="revhistory">
- <fo:table table-layout="fixed">
+ <fo:table table-layout="fixed" xsl:use-attribute-sets="revhistory.table.properties">
<xsl:if test="@id">
<xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
</xsl:if>
<fo:table-column column-number="3" column-width="proportional-column-width(1)"/>
<fo:table-body start-indent="0pt" end-indent="0pt">
<fo:table-row>
- <fo:table-cell number-columns-spanned="3">
- <fo:block>
+ <fo:table-cell number-columns-spanned="3" xsl:use-attribute-sets="revhistory.table.cell.properties">
+ <fo:block xsl:use-attribute-sets="revhistory.title.properties">
<xsl:call-template name="gentext">
<xsl:with-param name="key" select="'RevHistory'"/>
</xsl:call-template>
<xsl:variable name="revauthor" select="authorinitials|author"/>
<xsl:variable name="revremark" select="revremark|revdescription"/>
<fo:table-row>
- <fo:table-cell>
+ <fo:table-cell xsl:use-attribute-sets="revhistory.table.cell.properties">
<fo:block>
<xsl:if test="@id">
<xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
</xsl:if>
</fo:block>
</fo:table-cell>
- <fo:table-cell>
+ <fo:table-cell xsl:use-attribute-sets="revhistory.table.cell.properties">
<fo:block>
<xsl:apply-templates select="$revdate[1]"/>
</fo:block>
</fo:table-cell>
- <fo:table-cell>
+ <fo:table-cell xsl:use-attribute-sets="revhistory.table.cell.properties">
<fo:block>
<xsl:for-each select="$revauthor">
<xsl:apply-templates select="."/>
</fo:table-row>
<xsl:if test="$revremark">
<fo:table-row>
- <fo:table-cell number-columns-spanned="3">
+ <fo:table-cell number-columns-spanned="3" xsl:use-attribute-sets="revhistory.table.cell.properties">
<fo:block>
<xsl:apply-templates select="$revremark[1]"/>
</fo:block>
<!ENTITY refclass.suppress SYSTEM "../params/refclass.suppress.xml">
<!ENTITY region.after.extent SYSTEM "../params/region.after.extent.xml">
<!ENTITY region.before.extent SYSTEM "../params/region.before.extent.xml">
+<!ENTITY revhistory.table.properties SYSTEM "../params/revhistory.table.properties.xml">
+<!ENTITY revhistory.table.cell.properties SYSTEM "../params/revhistory.table.cell.properties.xml">
+<!ENTITY revhistory.title.properties SYSTEM "../params/revhistory.title.properties.xml">
<!ENTITY rootid SYSTEM "../params/rootid.xml">
<!ENTITY runinhead.default.title.end.punct SYSTEM "../params/runinhead.default.title.end.punct.xml">
<!ENTITY runinhead.title.end.punct SYSTEM "../params/runinhead.title.end.punct.xml">
&article.appendix.title.properties;
&abstract.properties;
&abstract.title.properties;
+&revhistory.table.properties;
+&revhistory.table.cell.properties;
+&revhistory.title.properties;
</reference>
<reference id="profiling"><title>Profiling</title>
<src:fragref linkend="refclass.suppress.frag"/>
<src:fragref linkend="region.after.extent.frag"/>
<src:fragref linkend="region.before.extent.frag"/>
+<src:fragref linkend="revhistory.table.properties.frag"/>
+<src:fragref linkend="revhistory.table.cell.properties.frag"/>
+<src:fragref linkend="revhistory.title.properties.frag"/>
<src:fragref linkend="root.properties.frag"/>
<src:fragref linkend="rootid.frag"/>
<src:fragref linkend="runinhead.default.title.end.punct.frag"/>
</xsl:choose>
</xsl:variable>
- <fo:table table-layout="fixed" width="{$table.width}">
+ <fo:table table-layout="fixed" width="{$table.width}" xsl:use-attribute-sets="revhistory.table.properties">
<fo:table-column column-number="1" column-width="proportional-column-width(1)"/>
<fo:table-column column-number="2" column-width="proportional-column-width(1)"/>
<fo:table-column column-number="3" column-width="proportional-column-width(1)"/>
<fo:table-body start-indent="0pt" end-indent="0pt">
<fo:table-row>
- <fo:table-cell number-columns-spanned="3">
- <fo:block>
+ <fo:table-cell number-columns-spanned="3" xsl:use-attribute-sets="revhistory.table.cell.properties">
+ <fo:block xsl:use-attribute-sets="revhistory.title.properties">
<xsl:call-template name="gentext">
<xsl:with-param name="key" select="'RevHistory'"/>
</xsl:call-template>
<xsl:variable name="revauthor" select="authorinitials|author"/>
<xsl:variable name="revremark" select="revremark|revdescription"/>
<fo:table-row>
- <fo:table-cell>
+ <fo:table-cell xsl:use-attribute-sets="revhistory.table.cell.properties">
<fo:block>
<xsl:if test="$revnumber">
<xsl:call-template name="gentext">
</xsl:if>
</fo:block>
</fo:table-cell>
- <fo:table-cell>
+ <fo:table-cell xsl:use-attribute-sets="revhistory.table.cell.properties">
<fo:block>
<xsl:apply-templates select="$revdate[1]" mode="titlepage.mode"/>
</fo:block>
</fo:table-cell>
- <fo:table-cell>
+ <fo:table-cell xsl:use-attribute-sets="revhistory.table.cell.properties">
<fo:block>
<xsl:for-each select="$revauthor">
<xsl:apply-templates select="." mode="titlepage.mode"/>
</fo:table-row>
<xsl:if test="$revremark">
<fo:table-row>
- <fo:table-cell number-columns-spanned="3">
+ <fo:table-cell number-columns-spanned="3" xsl:use-attribute-sets="revhistory.table.cell.properties">
<fo:block>
<xsl:apply-templates select="$revremark[1]" mode="titlepage.mode"/>
</fo:block>
--- /dev/null
+<refentry id="revhistory.table.cell.properties">
+<refmeta>
+<refentrytitle>revhistory.table.cell.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>revhistory.table.cell.properties</refname>
+<refpurpose>The properties of table cells used for formatting revhistory</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='revhistory.table.cell.properties.frag'>
+<xsl:attribute-set name="revhistory.table.cell.properties">
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This property set defines appearance of individual cells in revhistory table.</para>
+
+</refsect1>
+</refentry>
--- /dev/null
+<refentry id="revhistory.table.properties">
+<refmeta>
+<refentrytitle>revhistory.table.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>revhistory.table.properties</refname>
+<refpurpose>The properties of table used for formatting revhistory</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='revhistory.table.properties.frag'>
+<xsl:attribute-set name="revhistory.table.properties">
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This property set defines appearance of revhistory table.</para>
+
+</refsect1>
+</refentry>
--- /dev/null
+<refentry id="revhistory.title.properties">
+<refmeta>
+<refentrytitle>revhistory.title.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>revhistory.title.properties</refname>
+<refpurpose>The properties of revhistory title</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='revhistory.title.properties.frag'>
+<xsl:attribute-set name="revhistory.title.properties">
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This property set defines appearance of revhistory title.</para>
+
+</refsect1>
+</refentry>