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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
|
<!-- If you want to validate or edit this document separately, uncomment
this prolog
<?xml version="1.0" ?>
<!DOCTYPE chapter PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd">
-->
<chapter id="designer-manual">
<chapterinfo>
<authorgroup>
<author>
<firstname>Alexander</firstname>
<surname>Dymo</surname>
<affiliation>
<address><email>cloudtemple@mksat.net</email></address>
</affiliation>
</author>
<author>
<firstname>Phil</firstname>
<surname>Thompson</surname>
<affiliation>
<address><email>phil@river-bank.demon.co.uk</email></address>
</affiliation>
</author>
<!-- TRANS:ROLES_OF_TRANSLATORS -->
</authorgroup>
</chapterinfo>
<title>Report Template Designer Manual</title>
<para>&kudesigner; allows interactive creation and modification of
report templates, and placement of report sections and section items onto a
report.</para>
<para> &kudesigner; is a <acronym>WYSIWYG</acronym>
application. <guilabel>Report page size</guilabel> defines the report
dimensions on the screen. At the present moment, the scale is set
to 100% automatically and cannot be changed.</para>
<itemizedlist>
<title>Every report template may contain the following report sections:</title>
<listitem><para>Report Header</para></listitem>
<listitem><para>Page Header</para></listitem>
<listitem><para>Detail Header</para></listitem>
<listitem><para>Detail</para></listitem>
<listitem><para>Detail Footer</para></listitem>
<listitem><para>Page Footer</para></listitem>
<listitem><para>Report Footer</para></listitem>
</itemizedlist>
<itemizedlist>
<title>Report sections may contain the following report items:</title>
<listitem><para>Label</para></listitem>
<listitem><para>Field</para></listitem>
<listitem><para>Calculated Field</para></listitem>
<listitem><para>Special Field</para></listitem>
<listitem><para>Line</para></listitem>
</itemizedlist>
<para>Report sections and items can be placed onto the report template by
using menus or toolbars.</para>
<para>Every element, such as a report template, a report section or an
item has its own properties. These properties define geometrical,
textual and any other parameters. Every time an element is placed, a set
of default properties is applied. For example, when
<guilabel>Label</guilabel> is placed, its Text property value is
set to <quote>Text</quote>.</para>
<para>To change properties, use the <guilabel>Report Item
Options</guilabel> dialog. This dialog can be called by &RMB; clicking
on an item or with an <guilabel>Edit Properties</guilabel> button in the
<guilabel>Edit Toolbar</guilabel>.
See screenshot below (properties for a Field item):
</para>
<para>
To delete an item, &MMB; click on it or use the <guilabel>Delete</guilabel> button in the
<guilabel>Edit Toolbar</guilabel>.
</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="props.png" format="PNG"/>
</imageobject>
<textobject>
<phrase><guilabel>New Report</guilabel> dialog</phrase>
</textobject>
</mediaobject>
</screenshot>
<variablelist>
<title>The &kudesigner; menu reference</title>
<varlistentry>
<term><menuchoice>
<shortcut>
<keycombo action="simul">&Ctrl;
<keycap>N</keycap></keycombo>
</shortcut>
<guimenu>File</guimenu>
<guimenuitem>New</guimenuitem>
</menuchoice></term>
<listitem>
<para><action>Bring up</action> the <guilabel>New Report</guilabel> dialog
to create a new report template.</para>
<para>
As seen on the screenshot, the report page size, orientation and margins
must be set before the report can be created.
</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="file_new.png" format="PNG"/>
</imageobject>
<textobject>
<phrase><interface>New Report</interface> dialog</phrase>
</textobject>
</mediaobject>
</screenshot>
</listitem>
</varlistentry>
<varlistentry>
<term><menuchoice>
<shortcut><keycombo action="simul">&Ctrl;
<keycap>O</keycap>
</keycombo></shortcut>
<guimenu>File</guimenu>
<guimenuitem>Open...</guimenuitem>
</menuchoice></term>
<listitem><para><action>Open</action> the previously saved report template.</para></listitem>
</varlistentry>
<varlistentry>
<term><menuchoice>
<guimenu>File</guimenu>
<guimenuitem>Open Recent</guimenuitem>
</menuchoice></term>
<listitem><para><action>Display</action> a list of recently opened templates.
Select a file to open it.</para></listitem>
</varlistentry>
<varlistentry>
<term><menuchoice>
<shortcut><keycombo action="simul">&Ctrl;
<keycap>S</keycap>
</keycombo></shortcut>
<guimenu>File</guimenu>
<guimenuitem>Save</guimenuitem>
</menuchoice></term>
<listitem><para><action>Save</action> the current report template into a text file in &XML; format.</para></listitem>
</varlistentry>
<varlistentry>
<term><menuchoice>
<guimenu>File</guimenu>
<guimenuitem>Save As...</guimenuitem>
</menuchoice></term>
<listitem><para><action>Save</action> the current report template into a file and give it another name.</para></listitem>
</varlistentry>
<varlistentry>
<term><menuchoice>
<shortcut><keycombo action="simul">&Ctrl;
<keycap>W</keycap>
</keycombo></shortcut>
<guimenu>File</guimenu>
<guimenuitem>Close</guimenuitem>
</menuchoice></term>
<listitem><para><action>Close</action> the current report template.</para></listitem>
</varlistentry>
<varlistentry>
<term><menuchoice>
<shortcut><keycombo action="simul">&Ctrl;
<keycap>P</keycap>
</keycombo></shortcut>
<guimenu>File</guimenu>
<guimenuitem>Print</guimenuitem>
</menuchoice></term>
<listitem><para><action>Print...</action> the current report template as text in &XML; format.</para></listitem>
</varlistentry>
<varlistentry>
<term><menuchoice>
<shortcut><keycombo action="simul">&Ctrl;
<keycap>Q</keycap>
</keycombo></shortcut>
<guimenu>File</guimenu>
<guimenuitem>Quit</guimenuitem>
</menuchoice></term>
<listitem><para><action>Quit</action> the program.</para></listitem>
</varlistentry>
<varlistentry>
<term><menuchoice>
<guimenu>Edit</guimenu>
<guimenuitem>Clear Selection</guimenuitem>
</menuchoice></term>
<listitem><para><action>Cancel</action> any edit action, so no properties
will be edited or items deleted.</para></listitem>
</varlistentry>
<varlistentry>
<term><menuchoice>
<guimenu>Edit</guimenu>
<guimenuitem>Edit Properties</guimenuitem>
</menuchoice></term>
<listitem><para><action>Edit</action> properties of the selected item.</para></listitem>
</varlistentry>
<varlistentry>
<term><menuchoice>
<guimenu>Edit</guimenu>
<guimenuitem>Delete</guimenuitem>
</menuchoice></term>
<listitem><para><action>Delete</action> the selected item.</para></listitem>
</varlistentry>
<varlistentry>
<term><menuchoice>
<guimenu>Sections</guimenu>
<guimenuitem>Report Header</guimenuitem>
</menuchoice></term>
<listitem><para><action>Place the Report Header</action> section onto the report template.</para></listitem>
</varlistentry>
<varlistentry>
<term><menuchoice>
<guimenu>Sections</guimenu>
<guimenuitem>Page Header</guimenuitem>
</menuchoice></term>
<listitem><para><action>Place the Page Header</action> section onto the report template.</para></listitem>
</varlistentry>
<varlistentry>
<term><menuchoice>
<guimenu>Sections</guimenu>
<guimenuitem>Detail Header</guimenuitem>
</menuchoice></term>
<listitem><para><action>Place the Detail Header</action> section onto the report template.</para>
<para>Before placing the section, the <guilabel>Add Detail Header</guilabel> dialog will be shown to
specify the detail level. The Detail header will be added to the detail section of the given level.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="add_detail_header.png" format="PNG"/>
</imageobject>
<textobject>
<phrase><guilabel>Add Detail Header</guilabel> dialog</phrase>
</textobject>
</mediaobject>
</screenshot>
</listitem>
</varlistentry>
<varlistentry>
<term><menuchoice>
<guimenu>Sections</guimenu>
<guimenuitem>Detail</guimenuitem>
</menuchoice></term>
<listitem><para><action>Place the Detail</action> section onto the report template.</para>
<para>Before placing the section, the <guilabel>Add Detail</guilabel> dialog will be shown to
specify the detail level.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="add_detail.png" format="PNG"/>
</imageobject>
<textobject>
<phrase><interface>Add Detail</interface> dialog</phrase>
</textobject>
</mediaobject>
</screenshot>
</listitem>
</varlistentry>
<varlistentry>
<term><menuchoice>
<guimenu>Sections</guimenu>
<guimenuitem>Detail Footer</guimenuitem>
</menuchoice></term>
<listitem><para><action>Place the Detail Footer</action> section onto the report template.</para>
<para>Before placing the section, the <guilabel>Add Detail Footer</guilabel> dialog will be shown to
specify the detail level. The Detail footer will be added to the detail section of the given level.</para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="add_detail_footer.png" format="PNG"/>
</imageobject>
<textobject>
<phrase><guilabel>Add Detail Footer</guilabel> dialog</phrase>
</textobject>
</mediaobject>
</screenshot>
</listitem>
</varlistentry>
<varlistentry>
<term><menuchoice>
<guimenu>Sections</guimenu>
<guimenuitem>Page Footer</guimenuitem>
</menuchoice></term>
<listitem><para><action>Place the Page Footer</action> section onto the report template.</para></listitem>
</varlistentry>
<varlistentry>
<term><menuchoice>
<guimenu>Sections</guimenu>
<guimenuitem>Report Footer</guimenuitem>
</menuchoice></term>
<listitem><para><action>Place the Report Footer</action> section onto the report template.</para></listitem>
</varlistentry>
<varlistentry>
<term><menuchoice>
<guimenu>Items</guimenu>
<guimenuitem>Clear Selection</guimenuitem>
</menuchoice></term>
<listitem><para><action>Clear</action> item selection, so no report item will be added to the section.</para></listitem>
</varlistentry>
<varlistentry>
<term><menuchoice>
<guimenu>Items</guimenu>
<guimenuitem>Label</guimenuitem>
</menuchoice></term>
<listitem><para><action>Place the Label</action> element onto the section.</para></listitem>
</varlistentry>
<varlistentry>
<term><menuchoice>
<guimenu>Items</guimenu>
<guimenuitem>Field</guimenuitem>
</menuchoice></term>
<listitem><para><action>Place the Field</action> element onto the section.</para></listitem>
</varlistentry>
<varlistentry>
<term><menuchoice>
<guimenu>Items</guimenu>
<guimenuitem>Calculated Field</guimenuitem>
</menuchoice></term>
<listitem><para><action>Place the Calculated Field</action> element onto the section.</para></listitem>
</varlistentry>
<varlistentry>
<term><menuchoice>
<guimenu>Items</guimenu>
<guimenuitem>Special Field</guimenuitem>
</menuchoice></term>
<listitem><para><action>Place the Special Field</action> element onto the section.</para></listitem>
</varlistentry>
<varlistentry>
<term><menuchoice>
<guimenu>Items</guimenu>
<guimenuitem>Line</guimenuitem>
</menuchoice></term>
<listitem><para><action>Place the Line</action> element onto the section.</para></listitem>
</varlistentry>
</variablelist>
</chapter>
|