blob: 41b64adf81731b9db0d12338d318012bcf8ff2d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
|
<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-block-container']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block-container</xsl:with-param>
<xsl:with-param name="docutils">table</xsl:with-param>
</xsl:call-template>
<block>
Formats the block container that wraps bothe the table and a the table title (captin)
if one exists. Use to control space before and after the table.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='table']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:table</xsl:with-param>
<xsl:with-param name="docutils">table</xsl:with-param>
</xsl:call-template>
<block>
Formats the table.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='table-header']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:table-header</xsl:with-param>
<xsl:with-param name="docutils">tgroup/thead</xsl:with-param>
</xsl:call-template>
<block>
Formats the header of the table.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='default-cell']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:cell</xsl:with-param>
<xsl:with-param name="docutils">None</xsl:with-param>
</xsl:call-template>
<block>
Sets the defaults for all cells.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='table-header-cell']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:cell</xsl:with-param>
<xsl:with-param name="docutils">thead/row/entry</xsl:with-param>
<xsl:with-param name="inherits">default-cell</xsl:with-param>
</xsl:call-template>
<block>
Formats the cells in the table header.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='thead-borderless-cell_old']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:cell</xsl:with-param>
<xsl:with-param name="docutils">thead/row/entry</xsl:with-param>
</xsl:call-template>
<block>
Formats the cells in the table header for a borderless table.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='table-body']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:table-body</xsl:with-param>
<xsl:with-param name="docutils">tbody</xsl:with-param>
</xsl:call-template>
<block>
Attributes for the table body.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='table-row']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:table-row</xsl:with-param>
<xsl:with-param name="docutils">tbody/row</xsl:with-param>
</xsl:call-template>
<block>
Attributes for the table row.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='table-cell']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:table-cell</xsl:with-param>
<xsl:with-param name="docutils">tbody/row/entry</xsl:with-param>
<xsl:with-param name="inherits">default-cell</xsl:with-param>
</xsl:call-template>
<block>
Attributes for the table cell.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='table-cell-borderless_old']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:table-cell</xsl:with-param>
<xsl:with-param name="docutils">tbody/row/entry</xsl:with-param>
</xsl:call-template>
<block>
Attributes for the table cell for borderless table.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='cell-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">tbody/row/entry/paragraph</xsl:with-param>
</xsl:call-template>
<block>
Attributes for the paragraphs in the cell.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='table-header-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">thead/row/entry/paragraph</xsl:with-param>
</xsl:call-template>
<block>
Attributes for the paragraphs in the header cell.
</block>
</xsl:template>
<xsl:template match= "xsl:attribute-set[@name='caption-block']" priority="3">
<xsl:call-template name="before-desc">
<xsl:with-param name="fo">fo:block</xsl:with-param>
<xsl:with-param name="docutils">table/title</xsl:with-param>
</xsl:call-template>
<block>
Attributes for the table title, or caption. The parameter 'table-title-placement',
controls whether this block is placed before or after the table. If it is placed
on top of the table, it has a 'keep-with-next="always"' value that cannot be changed.
If this block is placed on the bottom it has a 'keep-with-previous="always"' value
that cannot be changed.
</block>
</xsl:template>
</xsl:stylesheet>
|