jspdf-dynamo 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/index.cjs +80 -33
- package/dist/index.d.cts +12 -10
- package/dist/index.d.ts +12 -10
- package/dist/index.js +80 -33
- package/documentation/1. Introduction/Introduction.txt +1 -1
- package/documentation/3. Variables/Introduction.txt +13 -12
- package/documentation/3. Variables/SystemMaintained.txt +40 -0
- package/documentation/4. Commands/DrawTextWrapped.txt +1 -1
- package/documentation/4. Commands/IfBlank.txt +1 -1
- package/documentation/4. Commands/IfNotBlank.txt +1 -1
- package/documentation/4. Commands/LoadImageFromFile.txt +2 -2
- package/documentation/4. Commands/LoadImageFromUrl.txt +2 -2
- package/documentation/4. Commands/SetFillColour.txt +4 -2
- package/documentation/4. Commands/SetFontName.txt +80 -1
- package/documentation/4. Commands/SetFontSize.txt +43 -1
- package/documentation/4. Commands/SetFontStyle.txt +4 -5
- package/documentation/4. Commands/SetLineColour.txt +5 -2
- package/documentation/4. Commands/SetTextColour.txt +4 -2
- package/documentation/5. Other Definitions/pageSizes.txt +3 -3
- package/documentation/Documentation.pdf +0 -0
- package/examples/1.Simple/simple.pdf +18 -186
- package/examples/2.Invoice/data.txt +21 -0
- package/examples/2.Invoice/gearz.png +0 -0
- package/examples/2.Invoice/invoice.pdf +0 -0
- package/examples/2.Invoice/invoice.spec.ts +62 -0
- package/examples/2.Invoice/parts.json +324 -0
- package/examples/2.Invoice/template.txt +136 -0
- package/package.json +1 -1
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
{
|
|
2
|
+
"parts": [
|
|
3
|
+
{
|
|
4
|
+
"partNumber": "AB12345A",
|
|
5
|
+
"description": "Air Filter - Standard",
|
|
6
|
+
"price": 10.99
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"partNumber": "CDA87654F",
|
|
10
|
+
"description": "Brake Pads for Honda Ridgeline",
|
|
11
|
+
"price": 30.0
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"partNumber": "BHG54321G",
|
|
15
|
+
"description": "Radiator for Nissan Titan",
|
|
16
|
+
"price": 100.0
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"partNumber": "CC56789B",
|
|
20
|
+
"description": "Catalytic Converter - California",
|
|
21
|
+
"price": 829.1
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"partNumber": "UVWXYZ123456D",
|
|
25
|
+
"description": "Chevrolet Silverado 3500HD Crew Cab Console Lining",
|
|
26
|
+
"price": 120.99
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"partNumber": "ABC12345A",
|
|
30
|
+
"description": "Fuel Pump for Ford F-150",
|
|
31
|
+
"price": 120.99
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"partNumber": "KMA67890B",
|
|
35
|
+
"description": "Air Filter for Chevrolet Silverado",
|
|
36
|
+
"price": 25.5
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"partNumber": "XYZ90123C",
|
|
40
|
+
"description": "Muffler for Ram 1500",
|
|
41
|
+
"price": 150.0
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"partNumber": "LTA34567D",
|
|
45
|
+
"description": "Timing Belt for Toyota Tundra",
|
|
46
|
+
"price": 80.99
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"partNumber": "MNP98765E",
|
|
50
|
+
"description": "Transmission Filter for GMC Sierra",
|
|
51
|
+
"price": 40.5
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"partNumber": "VWXYZA123456E",
|
|
55
|
+
"description": "Ram 2500 Laramie Trim 20-Inch Wheels",
|
|
56
|
+
"price": 180.99
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"partNumber": "DA23456C",
|
|
60
|
+
"description": "Differential Assembly",
|
|
61
|
+
"price": 399.99
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"partNumber": "EF34567D",
|
|
65
|
+
"description": "Engine Filter - High Performance",
|
|
66
|
+
"price": 14.99
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"partNumber": "PQR12345H",
|
|
70
|
+
"description": "Wheel Bearing for Dodge Ram",
|
|
71
|
+
"price": 50.0
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"partNumber": "VBU67890J",
|
|
75
|
+
"description": "Camshaft Sensor for Chevrolet Colorado",
|
|
76
|
+
"price": 70.5
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"partNumber": "FG67890E",
|
|
80
|
+
"description": "Fan and Shroud",
|
|
81
|
+
"price": 139
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"partNumber": "GH34567F",
|
|
85
|
+
"description": "Gearbox Gasket - Ford 9\"",
|
|
86
|
+
"price": 9.99
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"partNumber": "HI23456G",
|
|
90
|
+
"description": "Headlight Assembly - Toyota Prius 2010",
|
|
91
|
+
"price": 144.2
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"partNumber": "WXYZBC123456F",
|
|
95
|
+
"description": "Toyota Tundra 1794 Edition Center Console Lining",
|
|
96
|
+
"price": 120.99
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"partNumber": "JK67890H",
|
|
100
|
+
"description": "Suspension Kit",
|
|
101
|
+
"price": 89.99
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"partNumber": "KL34567I",
|
|
105
|
+
"description": "Cooling Fan",
|
|
106
|
+
"price": 24.99
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"partNumber": "LMOPQR123456T",
|
|
110
|
+
"description": "Toyota Tacoma TRD Off-Road Wheels",
|
|
111
|
+
"price": 190.99
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"partNumber": "WXY90123I",
|
|
115
|
+
"description": "Ignition Coils for Ford F-250",
|
|
116
|
+
"price": 60.99
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"partNumber": "PQRSTU123456W",
|
|
120
|
+
"description": "Ram 2500 Laramie Interior Trim Kit",
|
|
121
|
+
"price": 120.99
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"partNumber": "LM23456J",
|
|
125
|
+
"description": "Lever and Linkage",
|
|
126
|
+
"price": 29.99
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"partNumber": "MN67890K",
|
|
130
|
+
"description": "Volvo Master Cylinder - Brake",
|
|
131
|
+
"price": 49.99
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"partNumber": "BBCCC123456D",
|
|
135
|
+
"description": "Chevrolet Silverado Right Rear Brake Pads",
|
|
136
|
+
"price": 85.99
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"partNumber": "NO34567L",
|
|
140
|
+
"description": "Neutral Safety Switch",
|
|
141
|
+
"price": 12.99
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"partNumber": "TUVWXY123456C",
|
|
145
|
+
"description": "Ford F-250 Crew Cab 4- Way Flasher",
|
|
146
|
+
"price": 25.99
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"partNumber": "OX23456M",
|
|
150
|
+
"description": "Oil Filter",
|
|
151
|
+
"price": 7.99
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"partNumber": "PQ67890N",
|
|
155
|
+
"description": "Power Steering Pump",
|
|
156
|
+
"price": 169.3
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"partNumber": "AABBCC123456",
|
|
160
|
+
"description": "Ford F-150 Left Front Tire",
|
|
161
|
+
"price": 120.99
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"partNumber": "CCDDD123456A",
|
|
165
|
+
"description": "Ram 1500 Power Steering Pump",
|
|
166
|
+
"price": 156.99
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"partNumber": "DDFFE123456G",
|
|
170
|
+
"description": "Toyota Tacoma 4- Wheel Drive Actuator",
|
|
171
|
+
"price": 120.99
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"partNumber": "QR34567O",
|
|
175
|
+
"description": "Rear View Mirror",
|
|
176
|
+
"price": 19.99
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"partNumber": "ST67890Q",
|
|
180
|
+
"description": "Sway Bar Link",
|
|
181
|
+
"price": 25.99
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"partNumber": "RSWTUV123456A",
|
|
185
|
+
"description": "Ram 1500 Tradesman Trim Fuel Tank Skid Plate",
|
|
186
|
+
"price": 80.99
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"partNumber": "TU34567R",
|
|
190
|
+
"description": "Taillight Assembly",
|
|
191
|
+
"price": 59.99
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"partNumber": "QRSTUV123456Z",
|
|
195
|
+
"description": "Chevrolet Silverado 2500HD Bed Liner",
|
|
196
|
+
"price": 100.99
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"partNumber": "STUVWX123456B",
|
|
200
|
+
"description": "Toyota Tacoma TRD Sport Trim Dash Trim Kit",
|
|
201
|
+
"price": 60.99
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"partNumber": "UV67890S",
|
|
205
|
+
"description": "Upper Control Arm",
|
|
206
|
+
"price": 39.99
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"partNumber": "QRSTUV123456X",
|
|
210
|
+
"description": "Toyota Tundra 1794 Edition Running Boards",
|
|
211
|
+
"price": 150.99
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"partNumber": "QRSTWX123456Y",
|
|
215
|
+
"description": "Ford F-350 Super Duty Fender Flares",
|
|
216
|
+
"price": 80.99
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"partNumber": "VW34567T",
|
|
220
|
+
"description": "Vacuum Pump",
|
|
221
|
+
"price": 15.99
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"partNumber": "WX23456U",
|
|
225
|
+
"description": "Water Pump",
|
|
226
|
+
"price": 49.99
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"partNumber": "EEFFG123456H",
|
|
230
|
+
"description": "Ford F-250 Crew Cab Interior Mirror",
|
|
231
|
+
"price": 35.99
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"partNumber": "RS23456P",
|
|
235
|
+
"description": "Radiator Fan Shroud",
|
|
236
|
+
"price": 34.99
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"partNumber": "FFGGH123456J",
|
|
240
|
+
"description": "Chevrolet Silverado 3500HD Suspension Spring",
|
|
241
|
+
"price": 110.99
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"partNumber": "GGHIK123456L",
|
|
245
|
+
"description": "Ram 2500 Laramie Leveling Kit",
|
|
246
|
+
"price": 220.99
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"partNumber": "HIJKL123456M",
|
|
250
|
+
"description": "Toyota Tundra 1794 Edition Tow Hitch",
|
|
251
|
+
"price": 150.99
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"partNumber": "XY67890V",
|
|
255
|
+
"description": "X-Pipe Muffler",
|
|
256
|
+
"price": 99.99
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"partNumber": "YZ34567W",
|
|
260
|
+
"description": "Y-Axis Gasket",
|
|
261
|
+
"price": 22.99
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"partNumber": "JKLMN123456O",
|
|
265
|
+
"description": "Ford F-350 Super Duty Axle Shaft",
|
|
266
|
+
"price": 300.99
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"partNumber": "ZA23456X",
|
|
270
|
+
"description": "Z-Bar Linkage",
|
|
271
|
+
"price": 35.99
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"partNumber": "ZB67890Y",
|
|
275
|
+
"description": "Zip Tie",
|
|
276
|
+
"price": 1.99
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"partNumber": "ZC34567Z",
|
|
280
|
+
"description": "Zerostart Battery",
|
|
281
|
+
"price": 129.99
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"partNumber": "JKLMOP123456P",
|
|
285
|
+
"description": "Chevrolet Silverado 2500HD Bumper Cover",
|
|
286
|
+
"price": 60.99
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"partNumber": "KLMOPQ123456R",
|
|
290
|
+
"description": "Ram 1500 Sport Trim Headlight Assembly",
|
|
291
|
+
"price": 80.99
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"partNumber": "AA12345A",
|
|
295
|
+
"description": "Air Filter Assembly",
|
|
296
|
+
"price": 49.99
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"partNumber": "BB56789B",
|
|
300
|
+
"description": "Battery Box",
|
|
301
|
+
"price": 29.99
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"partNumber": "MOPQRT123456U",
|
|
305
|
+
"description": "Ford F-250 XL Crew Cab Seats",
|
|
306
|
+
"price": 120.99
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"partNumber": "OPQRST123456V",
|
|
310
|
+
"description": "Chevrolet Silverado 2500HD Transfer Case",
|
|
311
|
+
"price": 280.99
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"partNumber": "CC23456C",
|
|
315
|
+
"description": "Cooling Fan Shroud",
|
|
316
|
+
"price": 19.99
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"partNumber": "DD34567D",
|
|
320
|
+
"description": "Dash Panel",
|
|
321
|
+
"price": 39.99
|
|
322
|
+
}
|
|
323
|
+
]
|
|
324
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
[Initialise]
|
|
2
|
+
.SetMargin a 10
|
|
3
|
+
.SetVar MetaPrompt 130
|
|
4
|
+
.SetVar MetaData 155
|
|
5
|
+
.SetSpaceVert 0.7
|
|
6
|
+
.SetLineWidth 0.3
|
|
7
|
+
.SetVar CurrentPage 1
|
|
8
|
+
.SetVar NextPage 2
|
|
9
|
+
[End]
|
|
10
|
+
|
|
11
|
+
[FirstPageHeader]
|
|
12
|
+
.LoadImageFromFile ./examples/2.Invoice/gearz.png
|
|
13
|
+
.SetVar LogoId %_LastImageAdded%
|
|
14
|
+
.DrawImage %LogoId% 0 0 40
|
|
15
|
+
.SetFontSize 24
|
|
16
|
+
.SetFontStyle Bold
|
|
17
|
+
.DrawTextBox 0 0 %_PageWidth% 10 C T %DocumentCaption%
|
|
18
|
+
|
|
19
|
+
.Do MetaData Address
|
|
20
|
+
.SetCurrentY 70
|
|
21
|
+
[End]
|
|
22
|
+
|
|
23
|
+
[MetaData]
|
|
24
|
+
.Do NormalText
|
|
25
|
+
.SetVar top %_CurrentY%
|
|
26
|
+
.DrawText %MetaPrompt% %top% %DocumentType% No:
|
|
27
|
+
.DrawText %MetaData% %top% %DocumentNo%
|
|
28
|
+
|
|
29
|
+
.SetVar top %_CurrentY%
|
|
30
|
+
.DrawText %MetaPrompt% %top% %DocumentType% Date:
|
|
31
|
+
.DrawText %MetaData% %top% %docDate%
|
|
32
|
+
|
|
33
|
+
.SetVar top %_CurrentY%
|
|
34
|
+
.DrawText %MetaPrompt% %top% Customer No:
|
|
35
|
+
.DrawText %MetaData% %top% %CustNo%
|
|
36
|
+
|
|
37
|
+
.SetVar top %_CurrentY%
|
|
38
|
+
.DrawText %MetaPrompt% %top% Reference:
|
|
39
|
+
.DrawText %MetaData% %top% %CustRef%
|
|
40
|
+
|
|
41
|
+
.SetVar pageNoTop %_CurrentY%
|
|
42
|
+
[End]
|
|
43
|
+
|
|
44
|
+
[NumberPages]
|
|
45
|
+
.DrawText %MetaPrompt% %pageNoTop% Page:
|
|
46
|
+
.DrawText %MetaData% %pageNoTop% %_PageNo% of %_Pages%
|
|
47
|
+
[End]
|
|
48
|
+
|
|
49
|
+
[NormalText]
|
|
50
|
+
.SetFontSize 11
|
|
51
|
+
.SetFontStyle Normal
|
|
52
|
+
[End]
|
|
53
|
+
|
|
54
|
+
[Address]
|
|
55
|
+
.SetVar left 10
|
|
56
|
+
.SetVar right 90
|
|
57
|
+
.SetFontSize 9
|
|
58
|
+
.SetVar top 40
|
|
59
|
+
.DrawText 5 %top% %to1%:
|
|
60
|
+
.DrawText 85 %top% %to2%:
|
|
61
|
+
|
|
62
|
+
.do NormalText
|
|
63
|
+
.SetVar top %_CurrentY%
|
|
64
|
+
.DrawText %left% %top% %Name1%
|
|
65
|
+
.ifNotBlank Addr1Line1 .DrawText %left% %_CurrentY% %Addr1Line1%
|
|
66
|
+
.ifNotBlank Addr1Line2 .DrawText %left% %_CurrentY% %Addr1Line2%
|
|
67
|
+
.DrawText %left% %_CurrentY% %City1% %State1% %Zip1%
|
|
68
|
+
|
|
69
|
+
.DrawText %right% %top% %Name2%
|
|
70
|
+
.ifNotBlank Addr2Line1 .DrawText %right% %_CurrentY% %Addr2Line1%
|
|
71
|
+
.ifNotBlank Addr2Line2 .DrawText %right% %_CurrentY% %Addr2Line2%
|
|
72
|
+
.DrawText %right% %_CurrentY% %City2% %State2% %Zip2%
|
|
73
|
+
[End]
|
|
74
|
+
|
|
75
|
+
[Headings]
|
|
76
|
+
.drawLine 0 %_CurrentY% %_PageWidth% %_CurrentY%
|
|
77
|
+
.IncCurrentY %_SpaceVert%
|
|
78
|
+
.setVar top %_CurrentY%
|
|
79
|
+
.DrawText 0 %top% Line
|
|
80
|
+
.DrawText 9 %top% Part No.
|
|
81
|
+
.DrawText 43 %top% Description
|
|
82
|
+
.DrawTextBox 125 %top% 20 %_FontHeight% r t Quantity
|
|
83
|
+
.DrawTextBox 145 %top% 20 %_FontHeight% r t Price
|
|
84
|
+
.DrawTextBox 165 %top% 20 %_FontHeight% r t Extended
|
|
85
|
+
.IncCurrentY %_SpaceVert%
|
|
86
|
+
.drawLine 0 %_CurrentY% %_PageWidth% %_CurrentY%
|
|
87
|
+
[End]
|
|
88
|
+
|
|
89
|
+
[CheckPage]
|
|
90
|
+
.CheckPage 15 NextPage
|
|
91
|
+
[End]
|
|
92
|
+
|
|
93
|
+
[NextPage]
|
|
94
|
+
.IncCurrentY %_SpaceVert%
|
|
95
|
+
.DrawLine 0 %_CurrentY% %_PageWidth% %_CurrentY%
|
|
96
|
+
.IncCurrentY %_SpaceVert%
|
|
97
|
+
.DrawTextBox 0 %_CurrentY% %_PageWidth% %_FontHeight% c t Continued on page %NextPage%
|
|
98
|
+
.IncVar NextPage 1
|
|
99
|
+
.AddPage
|
|
100
|
+
.SetFontSize 24
|
|
101
|
+
.SetFontStyle Bold
|
|
102
|
+
.DrawTextBox 0 0 %_PageWidth% 10 C T %DocumentCaption% - Continued
|
|
103
|
+
.Do MetaData
|
|
104
|
+
.IncCurrentY %_FontHeight% %_FontHeight%
|
|
105
|
+
.Do Headings
|
|
106
|
+
.IncCurrentY %_SpaceVert%
|
|
107
|
+
.DrawTextBox 0 %_CurrentY% %_PageWidth% %_FontHeight% c t Continued from page %CurrentPage%
|
|
108
|
+
.IncVar CurrentPage 1
|
|
109
|
+
[End]
|
|
110
|
+
|
|
111
|
+
[AddPart]
|
|
112
|
+
.Do CheckPage
|
|
113
|
+
.setVar top %_CurrentY%
|
|
114
|
+
.DrawTextBox 0 %top% 6 %_FontHeight% r t %ix%
|
|
115
|
+
.DrawText 9 %top% %PartNo%
|
|
116
|
+
.DrawTextWrapped 43 %top% 80 CheckPage %Description%
|
|
117
|
+
.SetVar NextTop %_CurrentY%
|
|
118
|
+
.DrawTextBox 125 %top% 20 %_FontHeight% r t %Qty%
|
|
119
|
+
.DrawTextBox 145 %top% 20 %_FontHeight% r t %Price%
|
|
120
|
+
.DrawTextBox 165 %top% 20 %_FontHeight% r t %total%
|
|
121
|
+
.SetCurrentY %NextTop%
|
|
122
|
+
[End]
|
|
123
|
+
|
|
124
|
+
[Totals]
|
|
125
|
+
.Do CheckPage
|
|
126
|
+
.IncCurrentY %_SpaceVert%
|
|
127
|
+
.DrawLine 0 %_CurrentY% %_PageWidth% %_CurrentY%
|
|
128
|
+
.IncCurrentY %_SpaceVert%
|
|
129
|
+
.setVar top %_CurrentY%
|
|
130
|
+
.DrawTextBox 43 %top% 80 %_FontHeight% r t %DocumentType% Totals
|
|
131
|
+
.SetFontStyle Bold
|
|
132
|
+
.DrawTextBox 165 %top% 20 %_FontHeight% r t %total%
|
|
133
|
+
.IncCurrentY %_SpaceVert%
|
|
134
|
+
.DrawLine 0 %_CurrentY% %_PageWidth% %_CurrentY%
|
|
135
|
+
.Do NormalText
|
|
136
|
+
[End]
|