|
|
|
|
@ -11,29 +11,105 @@
|
|
|
|
|
<fo:page-sequence master-reference="simpleA4">
|
|
|
|
|
<fo:flow flow-name="xsl-region-body">
|
|
|
|
|
<xsl:for-each select="presenca">
|
|
|
|
|
<fo:block>
|
|
|
|
|
<fo:table table-layout="fixed" width="100%" space-after="10pt">
|
|
|
|
|
<fo:table-column />
|
|
|
|
|
<xsl:choose>
|
|
|
|
|
<xsl:when test="position() mod 2 = 0" >
|
|
|
|
|
<fo:block break-after="page" >
|
|
|
|
|
<xsl:apply-templates select="." />
|
|
|
|
|
</fo:block>
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<xsl:otherwise >
|
|
|
|
|
<fo:block>
|
|
|
|
|
<xsl:apply-templates select="." />
|
|
|
|
|
</fo:block>
|
|
|
|
|
</xsl:otherwise>
|
|
|
|
|
</xsl:choose>
|
|
|
|
|
</xsl:for-each>
|
|
|
|
|
</fo:flow>
|
|
|
|
|
</fo:page-sequence>
|
|
|
|
|
</fo:root>
|
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
|
|
<xsl:template match="presenca">
|
|
|
|
|
<fo:table table-layout="fixed" width="100%" space-after="10pt">
|
|
|
|
|
<fo:table-column />
|
|
|
|
|
<fo:table-body>
|
|
|
|
|
<fo:table-row height="350pt" >
|
|
|
|
|
<fo:table-cell border-color="black" border-style="solid" border-width="thin" >
|
|
|
|
|
<fo:block font-size="16pt" font-weight="bold" space-after="8pt" space-before="8pt" padding-left="8pt">
|
|
|
|
|
Realização de ECDs
|
|
|
|
|
</fo:block>
|
|
|
|
|
<fo:block font-size="14pt" font-weight="bold" padding-left="8pt">
|
|
|
|
|
<xsl:value-of select="trabalhador" />
|
|
|
|
|
</fo:block>
|
|
|
|
|
<fo:block font-size="12pt" space-afer="8pt" padding-left="8pt">
|
|
|
|
|
( <xsl:value-of select="empresa" /> )
|
|
|
|
|
</fo:block>
|
|
|
|
|
<fo:block font-size="14pt" font-weight="bold" space-after="8pt" padding-left="8pt">
|
|
|
|
|
data: <xsl:value-of select="data" />
|
|
|
|
|
</fo:block>
|
|
|
|
|
<fo:block font-size="12pt" font-weight="bold" space-after="8pt" padding-left="8pt">
|
|
|
|
|
hora de entrada: __h__m
|
|
|
|
|
</fo:block>
|
|
|
|
|
<fo:block padding-left="8pt" padding-right="8pt" space-after="8pt">
|
|
|
|
|
<fo:table>
|
|
|
|
|
<fo:table-column column-width="100pt"/>
|
|
|
|
|
<fo:table-column column-width="200pt"/>
|
|
|
|
|
<fo:table-column />
|
|
|
|
|
<fo:table-body>
|
|
|
|
|
<fo:table-row height="300pt">
|
|
|
|
|
<fo:table-cell border-color="black" border-style="solid" border-width="thin">
|
|
|
|
|
<fo:block>
|
|
|
|
|
teste
|
|
|
|
|
<fo:table-row>
|
|
|
|
|
<fo:table-cell border-color="black" border-style="solid" border-width="thin" >
|
|
|
|
|
<fo:block font-weight="bold" text-align="center" >
|
|
|
|
|
ECD
|
|
|
|
|
</fo:block>
|
|
|
|
|
</fo:table-cell>
|
|
|
|
|
</fo:table-row>
|
|
|
|
|
<fo:table-row height="20pt">
|
|
|
|
|
<fo:table-cell>
|
|
|
|
|
<fo:table-cell border-color="black" border-style="solid" border-width="thin" >
|
|
|
|
|
<fo:block font-weight="bold" text-align="center" >
|
|
|
|
|
Rúbrica
|
|
|
|
|
</fo:block>
|
|
|
|
|
</fo:table-cell>
|
|
|
|
|
<fo:table-cell border-color="black" border-style="solid" border-width="thin" >
|
|
|
|
|
<fo:block font-weight="bold" text-align="center" >
|
|
|
|
|
Motivo de não realização
|
|
|
|
|
</fo:block>
|
|
|
|
|
</fo:table-cell>
|
|
|
|
|
</fo:table-row>
|
|
|
|
|
|
|
|
|
|
<xsl:for-each select="ecd">
|
|
|
|
|
<fo:table-row>
|
|
|
|
|
<fo:table-cell border-color="black" border-style="solid" border-width="thin" >
|
|
|
|
|
<fo:block >
|
|
|
|
|
<xsl:value-of select="." />
|
|
|
|
|
</fo:block>
|
|
|
|
|
</fo:table-cell>
|
|
|
|
|
<fo:table-cell border-color="black" border-style="solid" border-width="thin" >
|
|
|
|
|
<fo:block font-weight="bold" text-align="center" >
|
|
|
|
|
|
|
|
|
|
</fo:block>
|
|
|
|
|
</fo:table-cell>
|
|
|
|
|
<fo:table-cell border-color="black" border-style="solid" border-width="thin" >
|
|
|
|
|
<fo:block font-weight="bold" text-align="center" >
|
|
|
|
|
|
|
|
|
|
</fo:block>
|
|
|
|
|
</fo:table-cell>
|
|
|
|
|
</fo:table-row>
|
|
|
|
|
</xsl:for-each>
|
|
|
|
|
</fo:table-body>
|
|
|
|
|
</fo:table>
|
|
|
|
|
</fo:block>
|
|
|
|
|
</xsl:for-each>
|
|
|
|
|
</fo:flow>
|
|
|
|
|
</fo:page-sequence>
|
|
|
|
|
</fo:root>
|
|
|
|
|
<fo:block font-size="12pt" font-weight="bold" space-after="16pt" padding-left="8pt">
|
|
|
|
|
hora de saída: __h__m
|
|
|
|
|
</fo:block>
|
|
|
|
|
<fo:block font-size="12pt" font-weight="bold" space-after="8pt" padding-left="8pt">
|
|
|
|
|
assinatura do trabalhador:________________________________________
|
|
|
|
|
</fo:block>
|
|
|
|
|
</fo:table-cell>
|
|
|
|
|
</fo:table-row>
|
|
|
|
|
<fo:table-row height="40pt">
|
|
|
|
|
<fo:table-cell>
|
|
|
|
|
</fo:table-cell>
|
|
|
|
|
</fo:table-row>
|
|
|
|
|
|
|
|
|
|
</fo:table-body>
|
|
|
|
|
</fo:table>
|
|
|
|
|
</xsl:template>
|
|
|
|
|
</xsl:stylesheet>
|
|
|
|
|
|
|
|
|
|
|