2
2
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3
3
xmlns:fo="http://www.w3.org/1999/XSL/Format">
5
<xsl:import href="../../base/report/corporate_defaults.xsl"/>
5
<xsl:import href="../../base/report/corporate_defaults.xsl"/>
7
6
<xsl:template name="first_page_frames">
8
7
<frame id="main" x1="2.5cm" y1="3cm" width="23cm" height="16cm"/>
67
66
<xsl:template name="stylesheet">
68
67
<blockTableStyle id="linies_participacio_per_grup">
69
<blockFont name="Helvetica-Bold" size="6" start="0,0" stop="-1,-1"/>
68
<blockFont name="Helvetica-Bold" size="5" start="0,0" stop="-1,2"/>
69
<blockFont name="Helvetica-Bold" size="6" start="0,2" stop="-1,-1"/>
70
70
<blockBackground colorName="grey" start="0,0" stop="-1,1"/>
71
71
<blockTextColor colorName="white" start="0,0" stop="-1,1"/>
72
<blockValign value="TOP"/>
73
<blockAlignment value="CENTER" start="0,0" stop="-1,0"/>
74
<blockAlignment value="RIGHT" start="1,1" stop="-1,-1"/>
72
<blockValign value="MIDDLE"/>
73
<blockAlignment value="LEFT" start="0,0" stop="0,-1"/>
74
<blockAlignment value="CENTER" start="1,1" stop="-1,-1"/>
75
75
<lineStyle kind="GRID" colorName="black"/>
76
<lineStyle kind="OUTLINE" colorName="black" thickness="2" />
77
<xsl:for-each select="report/rfpg/dia" >
78
<xsl:if test="''!=text()">
79
<lineStyle kind="LINEAFTER" colorName="black" thickness="2" >
80
<xsl:attribute name="start"><xsl:value-of select="position()-2"/>,0</xsl:attribute>
81
<xsl:attribute name="stop"><xsl:value-of select="position()-2"/>,-1</xsl:attribute>
77
85
<!-- set the left and right padding for cells in first and third columns -->
78
86
<!-- remember, cell numbering starts from ZERO, not ONE
102
111
Data fins <xsl:value-of select="date_to"/>
105
<blockTable style="linies_participacio_per_grup" repeatRows="1">
114
<blockTable style="linies_participacio_per_grup" repeatRows="2">
107
116
<xsl:apply-templates select="dia" />
116
125
<xsl:template match="dia">
117
<td><xsl:attribute name="colspan"><xsl:value-of select="@num_hores"/></xsl:attribute><xsl:value-of select="."/></td>
126
<td><xsl:value-of select="."/></td>
119
128
<xsl:template match="hora">
120
129
<td><xsl:value-of select="."/></td>