~unifield-team/unifield-addons/uf-2527-addons

« back to all changes in this revision

Viewing changes to travel/ticket.rml

  • Committer: pinky
  • Date: 2006-12-07 13:41:40 UTC
  • Revision ID: pinky-dedd7f8a42bd4557112a0513082691b8590ad6cc
New trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<document filename="test.pdf">
 
3
  <template pageSize="(595.0,842.0)" title="Test" author="Martin Simon" allowSplitting="20">
 
4
    <pageTemplate id="first">
 
5
      <frame id="first" x1="57.0" y1="57.0" width="481" height="728"/>
 
6
    </pageTemplate>
 
7
  </template>
 
8
  <stylesheet>
 
9
    <blockTableStyle id="Standard_Outline">
 
10
      <blockAlignment value="LEFT"/>
 
11
      <blockValign value="TOP"/>
 
12
    </blockTableStyle>
 
13
    <blockTableStyle id="Tableau1">
 
14
      <blockAlignment value="LEFT"/>
 
15
      <blockValign value="TOP"/>
 
16
      <lineStyle kind="GRID" colorName="black"/>
 
17
      <blockBackground colorName="#ffff66" start="0,0" stop="0,0"/>
 
18
      <blockBackground colorName="#c0c0c0" start="0,1" stop="0,1"/>
 
19
      <blockBackground colorName="#c0c0c0" start="1,1" stop="1,1"/>
 
20
    </blockTableStyle>
 
21
    <initialize>
 
22
      <paraStyle name="all" alignment="justify"/>
 
23
    </initialize>
 
24
    <paraStyle name="P1" fontName="Times-Roman" fontSize="22.0" leading="27" alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/>
 
25
    <paraStyle name="P2" fontName="Times-Roman" alignment="RIGHT" spaceBefore="0.0" spaceAfter="6.0"/>
 
26
    <paraStyle name="P3" fontName="Times-Roman" alignment="LEFT" spaceBefore="0.0" spaceAfter="6.0"/>
 
27
    <paraStyle name="Standard" fontName="Times-Roman"/>
 
28
    <paraStyle name="Text body" fontName="Times-Roman" spaceBefore="0.0" spaceAfter="6.0"/>
 
29
    <paraStyle name="List" fontName="Times-Roman" spaceBefore="0.0" spaceAfter="6.0"/>
 
30
    <paraStyle name="Table Contents" fontName="Times-Roman" spaceBefore="0.0" spaceAfter="6.0"/>
 
31
    <paraStyle name="Caption" fontName="Times-Roman" fontSize="10.0" leading="13" spaceBefore="6.0" spaceAfter="6.0"/>
 
32
    <paraStyle name="Index" fontName="Times-Roman"/>
 
33
  </stylesheet>
 
34
  <story>
 
35
    <section>
 
36
      <para style="Standard">[[ objects.repeatIn('o') ]]</para>
 
37
      <blockTable colWidths="241.0,241.0" style="Tableau1">
 
38
        <tr>
 
39
          <td>
 
40
            <para style="P1">Flight Ticket [[ o.id ]]</para>
 
41
            <para style="Table Contents">[[ o.name ]]</para>
 
42
            <para style="Table Contents">TO: [[ o.partner_id.name ]]</para>
 
43
            <para style="Table Contents">ADDRESS: [[o.partner_id.name ]]</para>
 
44
          </td>
 
45
          <td>
 
46
            <illustration height="56.0" width="75.0">
 
47
              <image x="0" y="0" file="10000000000000640000004BDD3CD5AB.gif" height="56.0" width="75.0"/>
 
48
            </illustration>
 
49
          </td>
 
50
        </tr>
 
51
        <tr>
 
52
          <td>
 
53
            <para style="P2">DEPARTURE</para>
 
54
            <para style="P3">[[ o.airport_from.name ]]</para>
 
55
            <para style="P3">[[ o.airport_from.country.name ]]</para>
 
56
          </td>
 
57
          <td>
 
58
            <para style="P2">ARRIVAL</para>
 
59
            <para style="P3">[[ o.airport_to.name]]</para>
 
60
            <para style="P3">[[ o.airport_to.country.name ]]</para>
 
61
          </td>
 
62
        </tr>
 
63
      </blockTable>
 
64
      <para style="Standard">
 
65
        <font color="white"> </font>
 
66
      </para>
 
67
    </section>
 
68
    <para style="Standard">
 
69
      <font color="white"> </font>
 
70
    </para>
 
71
  </story>
 
72
</document>
 
73