-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
layout.xml
61 lines (58 loc) · 3 KB
/
layout.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0" encoding="UTF-8"?>
<Layout
xmlns="urn:speedata.de:2009/publisher/en"
xmlns:sd="urn:speedata:2009/publisher/functions/en">
<Options mainlanguage="English (Great Britain)" />
<SetGrid nx="16" height="12pt"/>
<Pageformat width="10cm" height="11cm"/>
<Record element="data">
<SetVariable variable="_last_tr_data" select="0"/>
<PlaceObject>
<Table stretch="max" padding="4pt">
<Tablehead page="first">
<Tr backgroundcolor="lightgray" align="center">
<Td border-bottom="0.25pt"><Paragraph><B><Value>No.</Value></B></Paragraph></Td>
<Td border-bottom="0.25pt"><Paragraph><B><Value>Image</Value></B></Paragraph></Td>
<Td border-bottom="0.25pt"><Paragraph><B><Value>Name</Value></B></Paragraph></Td>
<Td border-bottom="0.25pt"><Paragraph><B><Value>Art-No.</Value></B></Paragraph></Td>
<Td border-bottom="0.25pt"><Paragraph><B><Value>Price</Value></B></Paragraph></Td>
</Tr>
</Tablehead>
<Tablehead page="all">
<Tr backgroundcolor="lightgray" align="center">
<Td border-bottom="0.25pt"><Paragraph><B><Value>No.</Value></B></Paragraph></Td>
<Td border-bottom="0.25pt"><Paragraph><B><Value>Image</Value></B></Paragraph></Td>
<Td border-bottom="0.25pt"><Paragraph><B><Value>Name</Value></B></Paragraph></Td>
<Td border-bottom="0.25pt"><Paragraph><B><Value>Art-No.</Value></B></Paragraph></Td>
<Td border-bottom="0.25pt"><Paragraph><B><Value>Price</Value></B></Paragraph></Td>
</Tr>
<Tr>
<Td colspan="3"/>
<Td border-bottom="0.25pt" colspan="2" align="right"><Paragraph fontfamily="text"><Value>Sum: </Value><Value select="$_last_tr_data"/></Paragraph></Td>
</Tr>
</Tablehead>
<Tablefoot page="all">
<Tr>
<Td colspan="3"/>
<Td border-top="0.25pt" colspan="2" align="right"><Paragraph fontfamily="text"><Value>Sum:</Value><HSpace/><Value select="$_last_tr_data"/></Paragraph></Td>
</Tr>
</Tablefoot>
<Tablefoot page="last">
<Tr>
<Td colspan="3"/>
<Td border-top="0.25pt" colspan="2" align="right"><Paragraph fontfamily="text"><Value>Total:</Value><HSpace/><Value select="$_last_tr_data"/></Paragraph></Td>
</Tr>
</Tablefoot>
<ForAll select="item">
<Tr data="@sum" backgroundcolor="{sd:alternating('tab','white','lightgray')}">
<Td align="center"><Paragraph><Value select="position()"></Value></Paragraph></Td>
<Td align="center"><Image maxwidth="2" maxheight="3" file="{@image}"/></Td>
<Td align="left"><Paragraph><Value select="@name"></Value></Paragraph></Td>
<Td align="left"><Paragraph><Value select="@artnr"></Value></Paragraph></Td>
<Td align="right"><Paragraph><Value select="@price"></Value></Paragraph></Td>
</Tr>
</ForAll>
</Table>
</PlaceObject>
</Record>
</Layout>