-
Notifications
You must be signed in to change notification settings - Fork 1
/
Demo-A4.map.xml
125 lines (108 loc) · 4.34 KB
/
Demo-A4.map.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<?xml version="1.0" encoding="utf-8" ?>
<DataMap>
<Constant Name="NumberPerPage" Value="2" />
<Push Property="FontFamily" Value="Helvetica" />
<Push Property="FontSize" Value="11" />
<Push Property="TextVerticalAlignment" Value="Center" />
<Text X="10" Y="10" Width="190" Height="16.045" FontSize="16">
<Run FontSize="18" Foreground="blueColor">{AppName} </Run>
<Condition Expression="IsConditionA">
<True>
<Run FontFamily="Helvetica" Foreground="8d8e8f">{CondA} is {CondAValue}</Run>
</True>
</Condition>
<Condition Expression="IsConditionA OR IsConditionB">
<True>
<Run Foreground="redColor"> and {CondA} or {CondB} is true</Run>
</True>
</Condition>
<Condition Expression="IsConditionC">
<True>
<Run Foreground="blackColor">{CondC} is true</Run>
</True>
<False>
<Run Foreground="blackColor"> but {CondC} is false</Run>
</False>
</Condition>
</Text>
<Push Property="TextAlignment" Value="Right" />
<Condition Expression="IsLogoIncluded">
<True>
<Image Source="{Logo}" X="138.333" Y="13" Width="61.667" Height="10.045" />
</True>
<False>
<Text X="10" Y="10" Width="190" Height="16.045">
<Run FontWeight="Bold">{AppName}</Run>
</Text>
</False>
</Condition>
<Pop Property="TextAlignment" />
<Pop Property="TextVerticalAlignment" />
<ForEach Enumerable="Box1Details" Text.Y="38.064" Text.YSpacing="0">
<Text X="12" Width="40" Foreground="404142">{Key}</Text>
<Text X="12" Width="57.667" TextAlignment="Right" FontFamily="Arial">{Value}</Text>
</ForEach>
<ForEach Enumerable="Box2Details" Text.Y="38.064" Text.YSpacing="0">
<Text X="76.167" Width="40" Foreground="404142">{Key}</Text>
<Text X="76.167" Width="57.667" TextAlignment="Right" FontFamily="Arial">£{Value:N2}</Text>
</ForEach>
<ForEach Enumerable="Box3Details" Text.Y="38.064" Text.YSpacing="0">
<Text X="140.333" Width="40" Foreground="404142">{Key}</Text>
<Text X="140.333" Width="57.667" TextAlignment="Right" FontFamily="Times">£{Value:N3}</Text>
</ForEach>
<Push Property="TextVerticalAlignment" Value="Bottom" />
<Push Property="FontStyle" Value="Italic" />
<Text X="76.167" Y="28.905" Width="57.667" Height="51.167" Foreground="404142">Total</Text>
<Text X="76.167" Y="28.905" Width="57.667" Height="51.167" TextAlignment="Right">£{Box2Total:N2}</Text>
<Text X="140.333" Y="28.905" Width="57.667" Height="51.167" Foreground="404142">Total</Text>
<Text X="140.333" Y="28.905" Width="57.667" Height="51.167" TextAlignment="Right">£{Box3Total:N3}</Text>
<Pop Property="FontStyle" />
<Pop Property="TextVerticalAlignment" />
<Text X="10" Y="90.861" Width="61.667" Height="5" FontWeight="Bold" FontSize="13.2805">{Box 4 Title}</Text>
<ForEach Enumerable="Box4Details" Text.Y="98.491" Text.YSpacing="0">
<Text X="12" Width="40" Foreground="404142">{Key}</Text>
<Text X="12" Width="57.667" TextAlignment="Right">{Value}</Text>
</ForEach>
<Text X="76.167" Y="98.491" Width="80" Height="21" LineHeight="13.4">
{Box5AddressLine1}
{Box5AddressLine2}
{Box5AddressLine3}
{Box5AddressLine4}
{Box5PostCode}
</Text>
<Text X="140.333" Y="98.582" Width="57.667" Height="30.65" TextAlignment="Center" TextVerticalAlignment="Center">
<Run FontSize="24">{Box6Content.Title}</Run>
<Condition Expression="IsBox6Sub1 OR IsBox6Sub2">
<True>
<LineBreak />
<Run>And <Condition Expression="IsBox6Sub1"><True>{Box6Content.Sub Content 1}</True></Condition><Condition Expression="IsBox6Sub2"><True> {Box6Content.Sub Content 2}</True></Condition> is small</Run>
</True>
</Condition>
<Condition Expression="IsBox6Sub3">
<True>
<LineBreak />
<LineBreak />
<Run>{Box6Sub3Content}</Run>
</True>
</Condition>
</Text>
<Push Property="TextPadding" Value="1.5 1.25 1.5 0" />
<Condition Expression="IsFooterIncluded">
<True>
<Text X="10" Y="136.233" Width="190" Height="12.267">
{Footer}
</Text>
</True>
<False>
<Text X="10" Y="136.233" Width="190" Height="12.267">No footer supplied</Text>
</False>
</Condition>
<Pop Property="TextPadding" />
<Condition Expression="ShowCredits">
<False>
<Text X="159.146" Y="134.733" Width="41.355" Height="5.625" BorderBackground="ffffff"> </Text>
</False>
</Condition>
<Pop Property="FontSize" />
<Pop Property="FontFamily" />
</DataMap>