~tempo-openerp/+junk/loewert-report-name

« back to all changes in this revision

Viewing changes to server/openerp/addons/base/report/rml_template.xsl

  • Committer: jbe at tempo-consulting
  • Date: 2013-08-21 08:48:11 UTC
  • Revision ID: jbe@tempo-consulting.fr-20130821084811-913uo4l7b5ayxq8m
[NEW] Création de la branche trunk Loewert

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
 
 
5
        <xsl:template name="first_page_graphics_report"/>
 
6
        <xsl:template name="other_pages_graphics_report"/>
 
7
<!--    
 
8
        <xsl:template name="first_page_graphics_corporation"/>
 
9
        <xsl:template name="other_pages_graphics_corporation"/>
 
10
        
 
11
        <xsl:template name="first_page_frames"/>
 
12
        <xsl:template name="other_pages_frames"/>
 
13
-->
 
14
        <xsl:template name="rml">
 
15
                <document>
 
16
                        <template author="Generated by OpenERP, Fabien Pinckaers">
 
17
                                <xsl:attribute name="pageSize">
 
18
                                        <xsl:value-of select="$pageSize"/>
 
19
                                </xsl:attribute>
 
20
 
 
21
                                <xsl:attribute name="leftMargin">
 
22
                                        <xsl:value-of select="$leftMargin"/>
 
23
                                </xsl:attribute>
 
24
 
 
25
                                <xsl:attribute name="rightMargin">
 
26
                                        <xsl:value-of select="$rightMargin"/>
 
27
                                </xsl:attribute>
 
28
                                
 
29
                                <xsl:attribute name="topMargin">
 
30
                                        <xsl:value-of select="$topMargin"/>
 
31
                                </xsl:attribute>
 
32
                                
 
33
                                <xsl:attribute name="bottomMargin">
 
34
                                        <xsl:value-of select="$bottomMargin"/>
 
35
                                </xsl:attribute>
 
36
 
 
37
                                <xsl:attribute name="title">
 
38
                                        <xsl:value-of select="$title"/>
 
39
                                </xsl:attribute>
 
40
                                
 
41
                                <pageTemplate id="first_page">
 
42
                                        <pageGraphics>
 
43
                                                <xsl:call-template name="first_page_graphics_corporation"/>
 
44
                                                <xsl:call-template name="first_page_graphics_report"/>
 
45
                                        </pageGraphics>
 
46
 
 
47
                                        <xsl:call-template name="first_page_frames"/>
 
48
                                </pageTemplate>
 
49
 
 
50
                                <pageTemplate id="other_pages">
 
51
                                        <pageGraphics>
 
52
                                                <xsl:call-template name="other_pages_graphics_corporation"/>
 
53
                                                <xsl:call-template name="other_pages_graphics_report"/>
 
54
                                        </pageGraphics>
 
55
                                        
 
56
                                        <xsl:call-template name="other_pages_frames"/>
 
57
                                </pageTemplate>
 
58
                        </template>
 
59
 
 
60
                <stylesheet>
 
61
                        <xsl:call-template name="stylesheet"/>
 
62
                </stylesheet>
 
63
 
 
64
                <story>
 
65
                        <xsl:call-template name="story"/>
 
66
                </story>
 
67
 
 
68
                </document>
 
69
        </xsl:template>
 
70
</xsl:stylesheet>