Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
vauxoo-dev
addons-vauxoo
Commits
494ccd1d
Commit
494ccd1d
authored
Oct 19, 2012
by
Luis Ernesto Torres Macías
Browse files
[FIX]Change rml format, and generate you .patch
parent
caceb137
Changes
2
Hide whitespace changes
Inline
Side-by-side
report_process_production/report/process_production_report.rml
View file @
494ccd1d
...
...
@@ -2,6 +2,19 @@
<document
filename=
"test.pdf"
>
<template
pageSize=
"(612.0,792.0)"
title=
"Test"
author=
"Martin Simon"
allowSplitting=
"20"
>
<pageTemplate
id=
"first"
>
<pageGraphics>
<setFont
name=
"Courier-Bold"
size=
"12.0"
/>
<drawCentredString
x=
"10.5cm"
y=
"0.8cm"
>
Página:
<pageNumber/></drawCentredString>
<place
x=
"18.0cm"
y=
"25.0cm"
width=
"90"
height=
"60"
>
<blockTable
colWidths=
"85"
style=
"Table_order"
>
<tr>
<td>
<para
style=
"P7"
>
Impreso: [[time.strftime('%d-%b-%Y')]]
</para>
</td>
</tr>
</blockTable>
</place>
</pageGraphics>
<frame
id=
"first"
x1=
"28.0"
y1=
"57.0"
width=
"556"
height=
"678"
/>
</pageTemplate>
</template>
...
...
@@ -10,6 +23,11 @@
<blockAlignment
value=
"LEFT"
/>
<blockValign
value=
"TOP"
/>
</blockTableStyle>
<blockTableStyle
id=
"Table_order"
>
<blockAlignment
value=
"LEFT"
/>
<blockValign
value=
"TOP"
/>
<lineStyle
kind=
"GRID"
colorName=
"#e6e6e6"
start=
"0,0"
stop=
"-1,-1"
/>
</blockTableStyle>
<blockTableStyle
id=
"Table2"
>
<blockAlignment
value=
"LEFT"
/>
<blockValign
value=
"TOP"
/>
...
...
@@ -35,19 +53,19 @@
<blockValign
value=
"TOP"
/>
<lineStyle
kind=
"LINEBEFORE"
colorName=
"#000000"
start=
"0,0"
stop=
"0,-1"
/>
<lineStyle
kind=
"LINEAFTER"
colorName=
"#000000"
start=
"0,0"
stop=
"0,-1"
/>
<lineStyle
kind=
"LINEABOVE"
colorName=
"#000000"
start=
"0,0"
stop=
"0,
0
"
/>
<lineStyle
kind=
"LINEABOVE"
colorName=
"#000000"
start=
"0,0"
stop=
"0,
-1
"
/>
<lineStyle
kind=
"LINEBELOW"
colorName=
"#000000"
start=
"0,-1"
stop=
"0,-1"
/>
<lineStyle
kind=
"LINEAFTER"
colorName=
"#000000"
start=
"1,0"
stop=
"1,-1"
/>
<lineStyle
kind=
"LINEABOVE"
colorName=
"#000000"
start=
"1,0"
stop=
"1,
0
"
/>
<lineStyle
kind=
"LINEABOVE"
colorName=
"#000000"
start=
"1,0"
stop=
"1,
-1
"
/>
<lineStyle
kind=
"LINEBELOW"
colorName=
"#000000"
start=
"1,-1"
stop=
"1,-1"
/>
<lineStyle
kind=
"LINEAFTER"
colorName=
"#000000"
start=
"2,0"
stop=
"2,-1"
/>
<lineStyle
kind=
"LINEABOVE"
colorName=
"#000000"
start=
"2,0"
stop=
"2,
0
"
/>
<lineStyle
kind=
"LINEABOVE"
colorName=
"#000000"
start=
"2,0"
stop=
"2,
-1
"
/>
<lineStyle
kind=
"LINEBELOW"
colorName=
"#000000"
start=
"2,-1"
stop=
"2,-1"
/>
<lineStyle
kind=
"LINEAFTER"
colorName=
"#000000"
start=
"3,0"
stop=
"3,-1"
/>
<lineStyle
kind=
"LINEABOVE"
colorName=
"#000000"
start=
"3,0"
stop=
"3,
0
"
/>
<lineStyle
kind=
"LINEABOVE"
colorName=
"#000000"
start=
"3,0"
stop=
"3,
-1
"
/>
<lineStyle
kind=
"LINEBELOW"
colorName=
"#000000"
start=
"3,-1"
stop=
"3,-1"
/>
<lineStyle
kind=
"LINEAFTER"
colorName=
"#000000"
start=
"4,0"
stop=
"4,-1"
/>
<lineStyle
kind=
"LINEABOVE"
colorName=
"#000000"
start=
"4,0"
stop=
"4,
0
"
/>
<lineStyle
kind=
"LINEABOVE"
colorName=
"#000000"
start=
"4,0"
stop=
"4,
-1
"
/>
<lineStyle
kind=
"LINEBELOW"
colorName=
"#000000"
start=
"4,-1"
stop=
"4,-1"
/>
</blockTableStyle>
<blockTableStyle
id=
"Table3"
>
...
...
@@ -75,23 +93,23 @@
<lineStyle
kind=
"LINEBELOW"
colorName=
"#000000"
start=
"4,-1"
stop=
"4,-1"
/>
<lineStyle
kind=
"LINEBEFORE"
colorName=
"#000000"
start=
"0,1"
stop=
"0,-1"
/>
<lineStyle
kind=
"LINEAFTER"
colorName=
"#000000"
start=
"0,1"
stop=
"0,-1"
/>
<lineStyle
kind=
"LINEABOVE"
colorName=
"#000000"
start=
"0,1"
stop=
"0,1"
/>
<lineStyle
kind=
"LINEABOVE"
colorName=
"#000000"
start=
"0,1"
stop=
"0,
-
1"
/>
<lineStyle
kind=
"LINEBELOW"
colorName=
"#000000"
start=
"0,-1"
stop=
"0,-1"
/>
<lineStyle
kind=
"LINEBEFORE"
colorName=
"#000000"
start=
"1,1"
stop=
"1,-1"
/>
<lineStyle
kind=
"LINEAFTER"
colorName=
"#000000"
start=
"1,1"
stop=
"1,-1"
/>
<lineStyle
kind=
"LINEABOVE"
colorName=
"#000000"
start=
"1,1"
stop=
"1,1"
/>
<lineStyle
kind=
"LINEABOVE"
colorName=
"#000000"
start=
"1,1"
stop=
"1,
-
1"
/>
<lineStyle
kind=
"LINEBELOW"
colorName=
"#000000"
start=
"1,-1"
stop=
"1,-1"
/>
<lineStyle
kind=
"LINEBEFORE"
colorName=
"#000000"
start=
"2,1"
stop=
"2,-1"
/>
<lineStyle
kind=
"LINEAFTER"
colorName=
"#000000"
start=
"2,1"
stop=
"2,-1"
/>
<lineStyle
kind=
"LINEABOVE"
colorName=
"#000000"
start=
"2,1"
stop=
"2,1"
/>
<lineStyle
kind=
"LINEABOVE"
colorName=
"#000000"
start=
"2,1"
stop=
"2,
-
1"
/>
<lineStyle
kind=
"LINEBELOW"
colorName=
"#000000"
start=
"2,-1"
stop=
"2,-1"
/>
<lineStyle
kind=
"LINEBEFORE"
colorName=
"#000000"
start=
"3,1"
stop=
"3,-1"
/>
<lineStyle
kind=
"LINEAFTER"
colorName=
"#000000"
start=
"3,1"
stop=
"3,-1"
/>
<lineStyle
kind=
"LINEABOVE"
colorName=
"#000000"
start=
"3,1"
stop=
"3,1"
/>
<lineStyle
kind=
"LINEABOVE"
colorName=
"#000000"
start=
"3,1"
stop=
"3,
-
1"
/>
<lineStyle
kind=
"LINEBELOW"
colorName=
"#000000"
start=
"3,-1"
stop=
"3,-1"
/>
<lineStyle
kind=
"LINEBEFORE"
colorName=
"#000000"
start=
"4,1"
stop=
"4,-1"
/>
<lineStyle
kind=
"LINEAFTER"
colorName=
"#000000"
start=
"4,1"
stop=
"4,-1"
/>
<lineStyle
kind=
"LINEABOVE"
colorName=
"#000000"
start=
"4,1"
stop=
"4,1"
/>
<lineStyle
kind=
"LINEABOVE"
colorName=
"#000000"
start=
"4,1"
stop=
"4,
-
1"
/>
<lineStyle
kind=
"LINEBELOW"
colorName=
"#000000"
start=
"4,-1"
stop=
"4,-1"
/>
</blockTableStyle>
<initialize>
...
...
@@ -109,7 +127,7 @@
<paraStyle
name=
"P10"
fontName=
"Helvetica"
fontSize=
"8.0"
leading=
"10"
alignment=
"LEFT"
spaceBefore=
"0.0"
spaceAfter=
"0.0"
/>
<paraStyle
name=
"P11"
fontName=
"Helvetica"
fontSize=
"8.0"
leading=
"10"
alignment=
"RIGHT"
spaceBefore=
"0.0"
spaceAfter=
"0.0"
/>
<paraStyle
name=
"P12"
fontName=
"Helvetica-Bold"
fontSize=
"8.0"
leading=
"10"
alignment=
"CENTER"
spaceBefore=
"0.0"
spaceAfter=
"0.0"
/>
<paraStyle
name=
"P13"
fontName=
"Helvetica"
fontSize=
"6.0"
leading=
"8"
alignment=
"
LEFT
"
spaceBefore=
"0.0"
spaceAfter=
"0.0"
/>
<paraStyle
name=
"P13"
fontName=
"Helvetica"
fontSize=
"6.0"
leading=
"8"
alignment=
"
CENTER
"
spaceBefore=
"0.0"
spaceAfter=
"0.0"
/>
<paraStyle
name=
"P14"
fontName=
"Helvetica-Bold"
fontSize=
"10.0"
leading=
"13"
alignment=
"CENTER"
spaceBefore=
"0.0"
spaceAfter=
"0.0"
/>
<paraStyle
name=
"Standard"
fontName=
"Helvetica"
/>
<paraStyle
name=
"Heading"
fontName=
"Helvetica"
fontSize=
"14.0"
leading=
"17"
spaceBefore=
"12.0"
spaceAfter=
"6.0"
/>
...
...
report_process_production/report/process_production_report_rml.patch
0 → 100644
View file @
494ccd1d
=== modified file 'report_process_production/report/process_production_report.rml'
--- report_process_production/report/process_production_report.rml 2012-10-19 20:18:22 +0000
+++ report_process_production/report/process_production_report.rml 2012-10-19 20:26:01 +0000
@@ -2,6 +2,19 @@
<document filename="test.pdf">
<template pageSize="(612.0,792.0)" title="Test" author="Martin Simon" allowSplitting="20">
<pageTemplate id="first">
+ <pageGraphics>
+ <setFont name="Courier-Bold" size="12.0"/>
+ <drawCentredString x="10.5cm" y="0.8cm">Página: <pageNumber/></drawCentredString>
+ <place x="18.0cm" y="25.0cm" width="90" height="60">
+ <blockTable colWidths="85" style="Table_order">
+ <tr>
+ <td>
+ <para style="P7">Impreso: [[time.strftime('%d-%b-%Y')]]</para>
+ </td>
+ </tr>
+ </blockTable>
+ </place>
+ </pageGraphics>
<frame id="first" x1="28.0" y1="57.0" width="556" height="678"/>
</pageTemplate>
</template>
@@ -10,6 +23,11 @@
<blockAlignment value="LEFT"/>
<blockValign value="TOP"/>
</blockTableStyle>
+ <blockTableStyle id="Table_order">
+ <blockAlignment value="LEFT"/>
+ <blockValign value="TOP"/>
+ <lineStyle kind="GRID" colorName="#e6e6e6" start="0,0" stop="-1,-1"/>
+ </blockTableStyle>
<blockTableStyle id="Table2">
<blockAlignment value="LEFT"/>
<blockValign value="TOP"/>
@@ -35,19 +53,19 @@
<blockValign value="TOP"/>
<lineStyle kind="LINEBEFORE" colorName="#000000" start="0,0" stop="0,-1"/>
<lineStyle kind="LINEAFTER" colorName="#000000" start="0,0" stop="0,-1"/>
- <lineStyle kind="LINEABOVE" colorName="#000000" start="0,0" stop="0,0"/>
+ <lineStyle kind="LINEABOVE" colorName="#000000" start="0,0" stop="0,-1"/>
<lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/>
<lineStyle kind="LINEAFTER" colorName="#000000" start="1,0" stop="1,-1"/>
- <lineStyle kind="LINEABOVE" colorName="#000000" start="1,0" stop="1,0"/>
+ <lineStyle kind="LINEABOVE" colorName="#000000" start="1,0" stop="1,-1"/>
<lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/>
<lineStyle kind="LINEAFTER" colorName="#000000" start="2,0" stop="2,-1"/>
- <lineStyle kind="LINEABOVE" colorName="#000000" start="2,0" stop="2,0"/>
+ <lineStyle kind="LINEABOVE" colorName="#000000" start="2,0" stop="2,-1"/>
<lineStyle kind="LINEBELOW" colorName="#000000" start="2,-1" stop="2,-1"/>
<lineStyle kind="LINEAFTER" colorName="#000000" start="3,0" stop="3,-1"/>
- <lineStyle kind="LINEABOVE" colorName="#000000" start="3,0" stop="3,0"/>
+ <lineStyle kind="LINEABOVE" colorName="#000000" start="3,0" stop="3,-1"/>
<lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/>
<lineStyle kind="LINEAFTER" colorName="#000000" start="4,0" stop="4,-1"/>
- <lineStyle kind="LINEABOVE" colorName="#000000" start="4,0" stop="4,0"/>
+ <lineStyle kind="LINEABOVE" colorName="#000000" start="4,0" stop="4,-1"/>
<lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/>
</blockTableStyle>
<blockTableStyle id="Table3">
@@ -75,23 +93,23 @@
<lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/>
<lineStyle kind="LINEBEFORE" colorName="#000000" start="0,1" stop="0,-1"/>
<lineStyle kind="LINEAFTER" colorName="#000000" start="0,1" stop="0,-1"/>
- <lineStyle kind="LINEABOVE" colorName="#000000" start="0,1" stop="0,1"/>
+ <lineStyle kind="LINEABOVE" colorName="#000000" start="0,1" stop="0,-1"/>
<lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/>
<lineStyle kind="LINEBEFORE" colorName="#000000" start="1,1" stop="1,-1"/>
<lineStyle kind="LINEAFTER" colorName="#000000" start="1,1" stop="1,-1"/>
- <lineStyle kind="LINEABOVE" colorName="#000000" start="1,1" stop="1,1"/>
+ <lineStyle kind="LINEABOVE" colorName="#000000" start="1,1" stop="1,-1"/>
<lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/>
<lineStyle kind="LINEBEFORE" colorName="#000000" start="2,1" stop="2,-1"/>
<lineStyle kind="LINEAFTER" colorName="#000000" start="2,1" stop="2,-1"/>
- <lineStyle kind="LINEABOVE" colorName="#000000" start="2,1" stop="2,1"/>
+ <lineStyle kind="LINEABOVE" colorName="#000000" start="2,1" stop="2,-1"/>
<lineStyle kind="LINEBELOW" colorName="#000000" start="2,-1" stop="2,-1"/>
<lineStyle kind="LINEBEFORE" colorName="#000000" start="3,1" stop="3,-1"/>
<lineStyle kind="LINEAFTER" colorName="#000000" start="3,1" stop="3,-1"/>
- <lineStyle kind="LINEABOVE" colorName="#000000" start="3,1" stop="3,1"/>
+ <lineStyle kind="LINEABOVE" colorName="#000000" start="3,1" stop="3,-1"/>
<lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/>
<lineStyle kind="LINEBEFORE" colorName="#000000" start="4,1" stop="4,-1"/>
<lineStyle kind="LINEAFTER" colorName="#000000" start="4,1" stop="4,-1"/>
- <lineStyle kind="LINEABOVE" colorName="#000000" start="4,1" stop="4,1"/>
+ <lineStyle kind="LINEABOVE" colorName="#000000" start="4,1" stop="4,-1"/>
<lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/>
</blockTableStyle>
<initialize>
@@ -109,7 +127,7 @@
<paraStyle name="P10" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
<paraStyle name="P11" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
<paraStyle name="P12" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
- <paraStyle name="P13" fontName="Helvetica" fontSize="6.0" leading="8" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
+ <paraStyle name="P13" fontName="Helvetica" fontSize="6.0" leading="8" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
<paraStyle name="P14" fontName="Helvetica-Bold" fontSize="10.0" leading="13" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
<paraStyle name="Standard" fontName="Helvetica"/>
<paraStyle name="Heading" fontName="Helvetica" fontSize="14.0" leading="17" spaceBefore="12.0" spaceAfter="6.0"/>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment