~21-openerp/+junk/hr6.1

« back to all changes in this revision

Viewing changes to hr_holidays/report/hr_custom_default.xsl

  • Committer: Carlos
  • Date: 2012-10-22 09:57:54 UTC
  • Revision ID: carlos@viavansi-desktop-20121022095754-5f3atcrs1b5975ly
vacaciones y activos, inicial

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version = '1.0' encoding="utf-8"?>
 
2
 
 
3
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
 
4
        <xsl:template name="first_page_graphics_corporation">
 
5
                <!--logo-->
 
6
                <fill color="black"/>
 
7
        <stroke color="black"/>
 
8
        <setFont name="DejaVu Sans" size="8"/>
 
9
        <drawString x="1.3cm" y="19.5cm"><xsl:value-of select="//report/header/date"/></drawString>
 
10
        <setFont name="DejaVu Sans Bold" size="10"/>
 
11
        <drawString x="13.8cm" y="19.5cm"><xsl:value-of select="//report/header/company"/></drawString>
 
12
        <stroke color="#000000"/>
 
13
        <lines>1.3cm 19.3cm 28.5cm 19.3cm</lines>
 
14
        </xsl:template>
 
15
 
 
16
        <xsl:template name="other_pages_graphics_corporation">
 
17
                <!--logo-->
 
18
                <fill color="black"/>
 
19
        <stroke color="black"/>
 
20
        <setFont name="DejaVu Sans" size="8"/>
 
21
        <drawString x="1.3cm" y="19.5cm"><xsl:value-of select="//report/header/date"/></drawString>
 
22
        <setFont name="DejaVu Sans Bold" size="10"/>
 
23
        <drawString x="27.8cm" y="19.5cm"><xsl:value-of select="//report/header/company"/></drawString>
 
24
        <stroke color="#000000"/>
 
25
        <lines>1.3cm 19.3cm 28.5cm 19.3cm</lines>
 
26
 </xsl:template>
 
27
 
 
28
   <xsl:template name="first_page_frames">
 
29
                        <frame id="col1" x1="2.0cm" y1="2.5cm" width="24.7cm" height="17cm"/>
 
30
        </xsl:template>
 
31
 
 
32
        <xsl:template name="other_pages_frames">
 
33
                <frame id="col1" x1="2.0cm" y1="2.5cm" width="24.7cm" height="17cm"/>
 
34
        </xsl:template>
 
35
 
 
36
</xsl:stylesheet>