~ubuntu-branches/ubuntu/quantal/openerp6.1/quantal-proposed

« back to all changes in this revision

Viewing changes to openerp/addons/hr_timesheet/report/custom_default.xsl

  • Committer: Package Import Robot
  • Author(s): Yolanda Robla
  • Date: 2012-09-20 15:29:00 UTC
  • Revision ID: package-import@ubuntu.com-20120920152900-woyy3yww8z6acmsk
Tags: upstream-6.1-1+dfsg
ImportĀ upstreamĀ versionĀ 6.1-1+dfsg

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>