-
Notifications
You must be signed in to change notification settings - Fork 0
/
opencreport.dtd
281 lines (281 loc) · 7.56 KB
/
opencreport.dtd
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
<!ELEMENT OpenCReport (Paths?,Datasources?,Queries?,(Part|Report)*)>
<!ATTLIST OpenCReport
size_unit CDATA #IMPLIED
noquery_show_nodata CDATA #IMPLIED
report_height_after_last CDATA #IMPLIED
follower_match_single CDATA #IMPLIED
precision_bits CDATA #IMPLIED
rounding_mode (nearest|to_minus_inf|to_inf|to_zero|away_from_zero|faithful) "nearest"
locale CDATA #IMPLIED
translation_domain CDATA #IMPLIED
translation_directory CDATA #IMPLIED >
<!ELEMENT Paths (Path+)>
<!ELEMENT Path EMPTY>
<!ATTLIST Path
value CDATA #REQUIRED>
<!ELEMENT Datasources (Datasource+)>
<!ELEMENT Datasource EMPTY>
<!ATTLIST Datasource
name CDATA #REQUIRED
type CDATA #REQUIRED
host CDATA #IMPLIED
unix_socket CDATA #IMPLIED
port CDATA #IMPLIED
dbname CDATA #IMPLIED
user CDATA #IMPLIED
password CDATA #IMPLIED
connstr CDATA #IMPLIED
optionfile CDATA #IMPLIED
group CDATA #IMPLIED
encoding CDATA #IMPLIED >
<!ELEMENT Queries (Query)+>
<!ELEMENT Query (#PCDATA)>
<!ATTLIST Query
name CDATA #REQUIRED
datasource CDATA #REQUIRED
value CDATA #IMPLIED
rows CDATA #IMPLIED
cols CDATA #IMPLIED
coltypes CDATA #IMPLIED
follower_for CDATA #IMPLIED
follower_expr CDATA #IMPLIED >
<!ELEMENT Part (PageHeader|PageFooter|ReportHeader|ReportFooter|pr)*>
<!ATTLIST Part
fontName CDATA #IMPLIED
font_name CDATA #IMPLIED
fontSize CDATA #IMPLIED
font_size CDATA #IMPLIED
size_unit CDATA #IMPLIED
noquery_show_nodata CDATA #IMPLIED
report_height_after_last CDATA #IMPLIED
follower_match_single CDATA #IMPLIED
orientation CDATA #IMPLIED
topMargin CDATA #IMPLIED
top_margin CDATA #IMPLIED
bottomMargin CDATA #IMPLIED
bottom_margin CDATA #IMPLIED
leftMargin CDATA #IMPLIED
left_margin CDATA #IMPLIED
rightMargin CDATA #IMPLIED
right_margin CDATA #IMPLIED
paperType CDATA #IMPLIED
paper_type CDATA #IMPLIED
iterations CDATA #IMPLIED
suppressPageHeaderFirstPage CDATA #IMPLIED >
<!ELEMENT pr (pd)+>
<!ATTLIST pr
layout CDATA #IMPLIED
newpage CDATA #IMPLIED >
<!ELEMENT pd (Report|load)*>
<!ATTLIST pd
width CDATA #IMPLIED
height CDATA #IMPLIED
border_width CDATA #IMPLIED
border_color CDATA #IMPLIED
detail_columns CDATA #IMPLIED
column_pad CDATA #IMPLIED
suppress CDATA #IMPLIED >
<!ELEMENT load EMPTY>
<!ATTLIST load
name CDATA #IMPLIED
query CDATA #IMPLIED
iterations CDATA #IMPLIED >
<!ELEMENT Report ((Alternate|NoData)|(Breaks?,Variables?)|PageHeader|PageFooter|ReportHeader|ReportFooter|(Detail|Graph|Chart)*|xi:include)* >
<!ATTLIST Report
pagesAcross CDATA #IMPLIED
fontName CDATA #IMPLIED
font_name CDATA #IMPLIED
fontSize CDATA #IMPLIED
font_size CDATA #IMPLIED
size_unit CDATA #IMPLIED
noquery_show_nodata CDATA #IMPLIED
report_height_after_last CDATA #IMPLIED
follower_match_single CDATA #IMPLIED
orientation CDATA #IMPLIED
topMargin CDATA #IMPLIED
top_margin CDATA #IMPLIED
bottomMargin CDATA #IMPLIED
bottom_margin CDATA #IMPLIED
leftMargin CDATA #IMPLIED
left_margin CDATA #IMPLIED
rightMargin CDATA #IMPLIED
right_margin CDATA #IMPLIED
paperType CDATA #IMPLIED
paper_type CDATA #IMPLIED
iterations CDATA #IMPLIED
suppress CDATA #IMPLIED
suppressPageHeaderFirstPage CDATA #IMPLIED
query CDATA #IMPLIED
xmlns:xi CDATA #IMPLIED
field_header_priority CDATA #IMPLIED
detail_columns CDATA #IMPLIED
column_pad CDATA #IMPLIED >
<!ELEMENT xi:include EMPTY>
<!ATTLIST xi:include
href CDATA #REQUIRED >
<!ELEMENT Alternate (NoData) >
<!ELEMENT NoData (Output) >
<!ELEMENT ReportHeader (Output)* >
<!ELEMENT PageHeader (Output)* >
<!ELEMENT ReportFooter (Output)* >
<!ELEMENT PageFooter (Output)* >
<!ELEMENT Output (Line | HorizontalLine | Image | Barcode | ImageEnd)* >
<!ATTLIST Output
suppress CDATA #IMPLIED >
<!ELEMENT Line (field | literal | Image | Barcode)* >
<!ATTLIST Line
fontName CDATA #IMPLIED
font_name CDATA #IMPLIED
fontSize CDATA #IMPLIED
font_size CDATA #IMPLIED
bold CDATA #IMPLIED
italic CDATA #IMPLIED
italics CDATA #IMPLIED
suppress CDATA #IMPLIED
color CDATA #IMPLIED
bgcolor CDATA #IMPLIED >
<!ELEMENT field (#PCDATA) >
<!ATTLIST field
value CDATA #REQUIRED
delayed CDATA #IMPLIED
precalculate CDATA #IMPLIED
format CDATA #IMPLIED
width CDATA #IMPLIED
align CDATA #IMPLIED
color CDATA #IMPLIED
bgcolor CDATA #IMPLIED
fontName CDATA #IMPLIED
font_name CDATA #IMPLIED
fontSize CDATA #IMPLIED
font_size CDATA #IMPLIED
bold CDATA #IMPLIED
italic CDATA #IMPLIED
italics CDATA #IMPLIED
link CDATA #IMPLIED
memo CDATA #IMPLIED
memo_wrap_chars CDATA #IMPLIED
memo_max_lines CDATA #IMPLIED
translate CDATA #IMPLIED
col CDATA #IMPLIED >
<!ELEMENT literal (#PCDATA) >
<!ATTLIST literal
value CDATA #REQUIRED
delayed CDATA #IMPLIED
precalculate CDATA #IMPLIED
format CDATA #IMPLIED
width CDATA #IMPLIED
align CDATA #IMPLIED
color CDATA #IMPLIED
bgcolor CDATA #IMPLIED
fontName CDATA #IMPLIED
font_name CDATA #IMPLIED
fontSize CDATA #IMPLIED
font_size CDATA #IMPLIED
bold CDATA #IMPLIED
italic CDATA #IMPLIED
italics CDATA #IMPLIED
link CDATA #IMPLIED
memo CDATA #IMPLIED
memo_wrap_chars CDATA #IMPLIED
memo_max_lines CDATA #IMPLIED
translate CDATA #IMPLIED
col CDATA #IMPLIED >
<!ELEMENT HorizontalLine EMPTY>
<!ATTLIST HorizontalLine
size CDATA #IMPLIED
align CDATA #IMPLIED
indent CDATA #IMPLIED
length CDATA #IMPLIED
fontSize CDATA #IMPLIED
font_size CDATA #IMPLIED
suppress CDATA #IMPLIED
color CDATA #IMPLIED
bgcolor CDATA #IMPLIED >
<!ELEMENT Image EMPTY >
<!ATTLIST Image
value CDATA #REQUIRED
suppress CDATA #IMPLIED
type CDATA #REQUIRED
width CDATA #REQUIRED
height CDATA #REQUIRED
align CDATA #IMPLIED
bgcolor CDATA #IMPLIED
text_width CDATA #REQUIRED
textWidth CDATA #REQUIRED >
<!ATTLIST Barcode
value CDATA #REQUIRED
delayed CDATA #IMPLIED
suppress CDATA #IMPLIED
precalculate CDATA #IMPLIED
type CDATA #IMPLIED
width CDATA #REQUIRED
height CDATA #IMPLIED
color CDATA #IMPLIED
bgcolor CDATA #IMPLIED >
<!ELEMENT Detail (FieldHeaders?, FieldDetails?) >
<!ELEMENT FieldHeaders (Output)* >
<!ELEMENT FieldDetails (Output)* >
<!ELEMENT Graph (Plot+) >
<!ATTLIST Graph
name CDATA #IMPLIED
type CDATA #REQUIRED
subtype CDATA #REQUIRED
width CDATA #IMPLIED
height CDATA #IMPLIED
bold_titles CDATA #IMPLIED
title CDATA #IMPLIED
legend_bg_color CDATA #IMPLIED
legend_orientation CDATA #IMPLIED
draw_x_line CDATA #IMPLIED
draw_y_line CDATA #IMPLIED
grid_color CDATA #IMPLIED
x_axis_title CDATA #IMPLIED
y_axis_title CDATA #IMPLIED
y_axis_mod CDATA #IMPLIED
y_axis_title_right CDATA #IMPLIED
y_axis_decimals CDATA #IMPLIED
y_axis_decimals_right CDATA #IMPLIED >
<!ELEMENT Plot EMPTY>
<!ATTLIST Plot
axis CDATA #IMPLIED
field CDATA #IMPLIED
label CDATA #IMPLIED
side CDATA #IMPLIED
disabled CDATA #IMPLIED
color CDATA #IMPLIED >
<!ELEMENT Chart EMPTY>
<!ATTLIST Chart
row CDATA #IMPLIED
bar_start CDATA #IMPLIED
bar_end CDATA #IMPLIED
label CDATA #IMPLIED
bar_label CDATA #IMPLIED
bar_color CDATA #IMPLIED
bar_label_color CDATA #IMPLIED >
<!ELEMENT Breaks (Break)* >
<!ELEMENT Break (BreakHeader | BreakFooter | BreakFields)* >
<!ATTLIST Break
name CDATA #REQUIRED
headernewpage CDATA #IMPLIED
suppressblank CDATA #IMPLIED
newpage CDATA #IMPLIED >
<!ELEMENT BreakHeader (Output)* >
<!ELEMENT BreakFooter (Output)* >
<!ELEMENT BreakFields (BreakField)* >
<!ELEMENT BreakField EMPTY>
<!ATTLIST BreakField
value CDATA #REQUIRED >
<!ELEMENT Variables (Variable)* >
<!ELEMENT Variable EMPTY >
<!ATTLIST Variable
name CDATA #REQUIRED
value CDATA #IMPLIED
baseexpr CDATA #IMPLIED
intermedexpr CDATA #IMPLIED
intermed2expr CDATA #IMPLIED
resultexpr CDATA #IMPLIED
type (expression|count|sum|average|lowest|highest|custom) "sum"
basetype (number|string|datetime) "number"
resetonbreak CDATA #IMPLIED
precalculate CDATA #IMPLIED
delayed CDATA #IMPLIED >