From: <pau...@us...> - 2011-02-26 18:00:37
|
Author: paultremblay Date: 2011-02-26 19:00:30 +0100 (Sat, 26 Feb 2011) New Revision: 6964 Added: trunk/sandbox/paultremblay/docs/xsl/table_extended2.xsl trunk/sandbox/paultremblay/docs/xsl/table_long.xsl Modified: trunk/sandbox/paultremblay/docs/xsl/document_stylesheet.xsl trunk/sandbox/paultremblay/docs/xsl/table_extended.xsl Log: Documentation for extended table 2 and long table. Modified: trunk/sandbox/paultremblay/docs/xsl/document_stylesheet.xsl =================================================================== --- trunk/sandbox/paultremblay/docs/xsl/document_stylesheet.xsl 2011-02-26 17:59:35 UTC (rev 6963) +++ trunk/sandbox/paultremblay/docs/xsl/document_stylesheet.xsl 2011-02-26 18:00:30 UTC (rev 6964) @@ -21,6 +21,8 @@ <xsl:include href="line_block.xsl"/> <xsl:include href="table.xsl"/> <xsl:include href="table_extended.xsl"/> + <xsl:include href="table_extended2.xsl"/> + <xsl:include href="table_long.xsl"/> <xsl:include href="footnote.xsl"/> <xsl:include href="admonitions.xsl"/> <xsl:include href="image_figure.xsl"/> @@ -215,7 +217,29 @@ </block> <xsl:apply-templates select="document('../../docutilsToFo/xsl_fo/table_extended.xsl')/xsl:stylesheet"/> + <!--table extended 2 attribute sets--> + <xsl:call-template name="make-title"> + <xsl:with-param name="level">3</xsl:with-param> + <xsl:with-param name="text">Table Extended 2 (Borderless)</xsl:with-param> + </xsl:call-template> + <block> + Attribute sets for the Extended 2 (Borderless) Tables. + </block> + <xsl:apply-templates select="document('../../docutilsToFo/xsl_fo/table_extended2.xsl')/xsl:stylesheet"/> + <!--table long attribute sets--> + <xsl:call-template name="make-title"> + <xsl:with-param name="level">3</xsl:with-param> + <xsl:with-param name="text">Table Long</xsl:with-param> + </xsl:call-template> + <block> + Attribute sets for the Long Tables. + </block> + <xsl:apply-templates select="document('../../docutilsToFo/xsl_fo/table_long.xsl')/xsl:stylesheet"/> + + + + <!--footnote attribute sets--> <xsl:call-template name="make-title"> <xsl:with-param name="level">3</xsl:with-param> Modified: trunk/sandbox/paultremblay/docs/xsl/table_extended.xsl =================================================================== --- trunk/sandbox/paultremblay/docs/xsl/table_extended.xsl 2011-02-26 17:59:35 UTC (rev 6963) +++ trunk/sandbox/paultremblay/docs/xsl/table_extended.xsl 2011-02-26 18:00:30 UTC (rev 6964) @@ -11,7 +11,7 @@ <xsl:with-param name="text">Custom Tables</xsl:with-param> </xsl:call-template> <block> - <xsl:text>:fo: fo:block</xsl:text> + <xsl:text>:fo: See below</xsl:text> </block> <block first-line-indent="-9"> <xsl:text>:docutils: See below</xsl:text> @@ -29,7 +29,7 @@ <block>* table1 => table</block> <block>* thead1-header => table-header</block> <block>* thead1-cell => thead-cell</block> - <block>* thead1 => thead-block</block> + <block>* thead1-block => thead-block</block> <block>* table1-body => table-body</block> <block>* table1-header-row => table-header-row</block> <block>* table1-row => table-row</block> Added: trunk/sandbox/paultremblay/docs/xsl/table_extended2.xsl =================================================================== --- trunk/sandbox/paultremblay/docs/xsl/table_extended2.xsl (rev 0) +++ trunk/sandbox/paultremblay/docs/xsl/table_extended2.xsl 2011-02-26 18:00:30 UTC (rev 6964) @@ -0,0 +1,51 @@ +<xsl:stylesheet + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + version="1.1"> + + <!-- $Id$ --> + + <xsl:template match= "xsl:attribute-set[@name='table-borderless-block-container']" priority="3"> + <xsl:call-template name="make-title"> + <xsl:with-param name="level">5</xsl:with-param> + <xsl:with-param name="text">Custom Tables</xsl:with-param> + </xsl:call-template> + <block> + <xsl:text>:fo: See below</xsl:text> + </block> + <block first-line-indent="-9"> + <xsl:text>:docutils: See below</xsl:text> + </block> + <block> + + The table_extend2.xsl contains templates for the borderless table. Each attribute set has + has the same function as its corresponding attribute set in the regular + table, as documented above. + + </block> + + <block>* table-borderless-block-container => table-block-contanter</block> + <block>* table-borderless => table</block> + <block>* borderless-thead-header => table-header</block> + <block>* borderless-thed-cell => thead-cell</block> + <block>* borderless-thead-block => thead-block</block> + <block>* table-borderless-body => table-body</block> + <block>* table-borderless-header-row => table-header-row</block> + <block>* table-borderless-row => table-row</block> + <block>* table-borderless-cell => table-cell</block> + <block>* borderless-cell-block => cell-block</block> + </xsl:template> + + <xsl:template match= "xsl:attribute-set[@name='table-borderless']| + xsl:attribute-set[@name='borderless-thead-header']| + xsl:attribute-set[@name='table-borderless-header-row']| + xsl:attribute-set[@name='borderless-thead-cell']| + xsl:attribute-set[@name='borderless-thead-block']| + xsl:attribute-set[@name='table-borderless-body']| + xsl:attribute-set[@name='table-borderless-row']| + xsl:attribute-set[@name='table-borderless-cell']| + xsl:attribute-set[@name='borderless-cell-block']" priority="3"/> + + + +</xsl:stylesheet> Property changes on: trunk/sandbox/paultremblay/docs/xsl/table_extended2.xsl ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native Added: trunk/sandbox/paultremblay/docs/xsl/table_long.xsl =================================================================== --- trunk/sandbox/paultremblay/docs/xsl/table_long.xsl (rev 0) +++ trunk/sandbox/paultremblay/docs/xsl/table_long.xsl 2011-02-26 18:00:30 UTC (rev 6964) @@ -0,0 +1,54 @@ +<xsl:stylesheet + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + version="1.1"> + + <!-- $Id$ --> + + <xsl:template match= "xsl:attribute-set[@name='long-table']" priority="3"> + <xsl:call-template name="make-title"> + <xsl:with-param name="level">5</xsl:with-param> + <xsl:with-param name="text">Long Tables</xsl:with-param> + </xsl:call-template> + <block> + <xsl:text>:fo: See below</xsl:text> + </block> + <block first-line-indent="-9"> + <xsl:text>:docutils: See below</xsl:text> + </block> + <block> + + The table_long.xsl contains templates for a long table. Each attribute set has + has the same function as its corresponding attribute set in the regular + table, as documented above. There is no block-container attriute set, because + there is no block-container element; the caption is rendered as part of the + header or footer. + + </block> + + <block>* long-table => table</block> + <block>* long-thead-header => table-header</block> + <block>* long-table-header-row => table-header-row</block> + <block>* long-thead-cell => thead-cell</block> + <block>* long-thead-block => thead-block</block> + <block>* long-table-body => table-body</block> + <block>* long-table-header-row => table-header-row</block> + <block>* long-table-row => table-row</block> + <block>* long-table-cell => table-cell</block> + <block>* long-cell-block => cell-block</block> + <block>* long-caption-block => caption-block</block> + </xsl:template> + + <xsl:template match= "xsl:attribute-set[@name='long-thead-header']| + xsl:attribute-set[@name='long-table-header-row']| + xsl:attribute-set[@name='long-thead-cell']| + xsl:attribute-set[@name='long-thead-block']| + xsl:attribute-set[@name='long-table-body']| + xsl:attribute-set[@name='long-table-row']| + xsl:attribute-set[@name='long-table-cell']| + xsl:attribute-set[@name='long-cell-block']| + xsl:attribute-set[@name='long-caption-block']" priority="3"/> + + + +</xsl:stylesheet> Property changes on: trunk/sandbox/paultremblay/docs/xsl/table_long.xsl ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native |