1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2*cdf0e10cSrcweir<!--
3*cdf0e10cSrcweir  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir
5*cdf0e10cSrcweir  Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir
7*cdf0e10cSrcweir  OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir
9*cdf0e10cSrcweir  This file is part of OpenOffice.org.
10*cdf0e10cSrcweir
11*cdf0e10cSrcweir  OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir  it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir  only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir
15*cdf0e10cSrcweir  OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir  but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir  GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir  (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir
21*cdf0e10cSrcweir  You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir  version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir  <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir  for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir
26*cdf0e10cSrcweir  -->
27*cdf0e10cSrcweir
28*cdf0e10cSrcweir<!---->
29*cdf0e10cSrcweir<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
30*cdf0e10cSrcweir           elementFormDefault="qualified"
31*cdf0e10cSrcweir           targetNamespace="urn:oasis:names:tc:opendocument:xmlns:report:1.0"
32*cdf0e10cSrcweir           xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
33*cdf0e10cSrcweir           xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
34*cdf0e10cSrcweir           xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
35*cdf0e10cSrcweir           xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
36*cdf0e10cSrcweir           xmlns:xlink="http://www.w3.org/1999/xlink"
37*cdf0e10cSrcweir           xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
38*cdf0e10cSrcweir           xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
39*cdf0e10cSrcweir           xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
40*cdf0e10cSrcweir           xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
41*cdf0e10cSrcweir           xmlns:rpt="urn:oasis:names:tc:opendocument:xmlns:report:1.0"
42*cdf0e10cSrcweir           xmlns:anim="urn:oasis:names:tc:opendocument:xmlns:animation:1.0"
43*cdf0e10cSrcweir           xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"
44*cdf0e10cSrcweir           xmlns:smil="urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"
45*cdf0e10cSrcweir           xmlns:xforms="http://www.w3.org/2002/xforms"
46*cdf0e10cSrcweir           xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
47*cdf0e10cSrcweir           xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
48*cdf0e10cSrcweir           xmlns:ns1="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
49*cdf0e10cSrcweir           xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
50*cdf0e10cSrcweir           xmlns:math="http://www.w3.org/1998/Math/MathML"
51*cdf0e10cSrcweir           xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
52*cdf0e10cSrcweir           xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
53*cdf0e10cSrcweir           xmlns:dc="http://purl.org/dc/elements/1.1/">
54*cdf0e10cSrcweir    <xs:import namespace="http://purl.org/dc/elements/1.1/" schemaLocation="dc.xsd"/>
55*cdf0e10cSrcweir    <xs:import namespace="http://www.w3.org/1998/Math/MathML" schemaLocation="math.xsd"/>
56*cdf0e10cSrcweir    <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
57*cdf0e10cSrcweir    <xs:import namespace="http://www.w3.org/2002/xforms" schemaLocation="xforms.xsd"/>
58*cdf0e10cSrcweir    <xs:import namespace="urn:oasis:names:tc:opendocument:xmlns:animation:1.0" schemaLocation="anim.xsd"/>
59*cdf0e10cSrcweir    <xs:import namespace="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" schemaLocation="chart.xsd"/>
60*cdf0e10cSrcweir    <xs:import namespace="urn:oasis:names:tc:opendocument:xmlns:config:1.0" schemaLocation="config.xsd"/>
61*cdf0e10cSrcweir    <xs:import namespace="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" schemaLocation="ns1.xsd"/>
62*cdf0e10cSrcweir    <xs:import namespace="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" schemaLocation="dr3d.xsd"/>
63*cdf0e10cSrcweir    <xs:import namespace="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" schemaLocation="draw.xsd"/>
64*cdf0e10cSrcweir    <xs:import namespace="urn:oasis:names:tc:opendocument:xmlns:form:1.0" schemaLocation="form.xsd"/>
65*cdf0e10cSrcweir    <xs:import namespace="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" schemaLocation="meta.xsd"/>
66*cdf0e10cSrcweir    <xs:import namespace="urn:oasis:names:tc:opendocument:xmlns:office:1.0" schemaLocation="office.xsd"/>
67*cdf0e10cSrcweir    <xs:import namespace="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0" schemaLocation="presentation.xsd"/>
68*cdf0e10cSrcweir    <xs:import namespace="urn:oasis:names:tc:opendocument:xmlns:script:1.0" schemaLocation="script.xsd"/>
69*cdf0e10cSrcweir    <xs:import namespace="urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0" schemaLocation="smil.xsd"/>
70*cdf0e10cSrcweir    <xs:import namespace="urn:oasis:names:tc:opendocument:xmlns:style:1.0" schemaLocation="style.xsd"/>
71*cdf0e10cSrcweir    <xs:import namespace="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" schemaLocation="svg.xsd"/>
72*cdf0e10cSrcweir    <xs:import namespace="urn:oasis:names:tc:opendocument:xmlns:table:1.0" schemaLocation="table.xsd"/>
73*cdf0e10cSrcweir    <xs:import namespace="urn:oasis:names:tc:opendocument:xmlns:text:1.0" schemaLocation="OpenDocument-schema-v1.0-os.xsd"/>
74*cdf0e10cSrcweir    <xs:import namespace="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" schemaLocation="fo.xsd"/>
75*cdf0e10cSrcweir    <xs:attributeGroup name="office-report-attlist">
76*cdf0e10cSrcweir        <xs:attribute name="command-type" default="command" form="qualified">
77*cdf0e10cSrcweir            <xs:simpleType>
78*cdf0e10cSrcweir                <xs:restriction base="xs:token">
79*cdf0e10cSrcweir                    <xs:enumeration value="table"/>
80*cdf0e10cSrcweir                    <xs:enumeration value="query"/>
81*cdf0e10cSrcweir                    <xs:enumeration value="command"/>
82*cdf0e10cSrcweir                </xs:restriction>
83*cdf0e10cSrcweir            </xs:simpleType>
84*cdf0e10cSrcweir        </xs:attribute>
85*cdf0e10cSrcweir        <xs:attribute name="command" form="qualified" type="text:string"/>
86*cdf0e10cSrcweir        <xs:attribute name="escape-processing" default="true" form="qualified" type="text:boolean"/>
87*cdf0e10cSrcweir        <xs:attribute name="filter" form="qualified" type="text:string"/>
88*cdf0e10cSrcweir        <xs:attribute name="caption" form="qualified" type="text:string"/>
89*cdf0e10cSrcweir    </xs:attributeGroup>
90*cdf0e10cSrcweir    <xs:element name="report-component">
91*cdf0e10cSrcweir        <xs:complexType>
92*cdf0e10cSrcweir            <xs:attributeGroup ref="text:common-draw-name-attlist"/>
93*cdf0e10cSrcweir        </xs:complexType>
94*cdf0e10cSrcweir    </xs:element>
95*cdf0e10cSrcweir    <xs:element name="group">
96*cdf0e10cSrcweir        <xs:complexType>
97*cdf0e10cSrcweir            <xs:sequence>
98*cdf0e10cSrcweir                <xs:element minOccurs="0" maxOccurs="unbounded" ref="rpt:function"/>
99*cdf0e10cSrcweir                <xs:element minOccurs="0" ref="rpt:group-header"/>
100*cdf0e10cSrcweir                <xs:choice>
101*cdf0e10cSrcweir                    <xs:element ref="rpt:group"/>
102*cdf0e10cSrcweir                    <xs:element ref="rpt:detail"/>
103*cdf0e10cSrcweir                </xs:choice>
104*cdf0e10cSrcweir                <xs:element minOccurs="0" ref="rpt:group-footer"/>
105*cdf0e10cSrcweir            </xs:sequence>
106*cdf0e10cSrcweir            <xs:attributeGroup ref="rpt:rpt-group-attlist"/>
107*cdf0e10cSrcweir        </xs:complexType>
108*cdf0e10cSrcweir    </xs:element>
109*cdf0e10cSrcweir    <xs:attributeGroup name="rpt-group-attlist">
110*cdf0e10cSrcweir        <xs:attribute name="sort-ascending" use="required" form="qualified">
111*cdf0e10cSrcweir            <xs:simpleType>
112*cdf0e10cSrcweir                <xs:restriction base="xs:token">
113*cdf0e10cSrcweir                    <xs:enumeration value="true"/>
114*cdf0e10cSrcweir                    <xs:enumeration value="false"/>
115*cdf0e10cSrcweir                </xs:restriction>
116*cdf0e10cSrcweir            </xs:simpleType>
117*cdf0e10cSrcweir        </xs:attribute>
118*cdf0e10cSrcweir        <xs:attribute name="start-new-column" default="false" form="qualified">
119*cdf0e10cSrcweir            <xs:simpleType>
120*cdf0e10cSrcweir                <xs:restriction base="xs:token">
121*cdf0e10cSrcweir                    <xs:enumeration value="true"/>
122*cdf0e10cSrcweir                    <xs:enumeration value="false"/>
123*cdf0e10cSrcweir                </xs:restriction>
124*cdf0e10cSrcweir            </xs:simpleType>
125*cdf0e10cSrcweir        </xs:attribute>
126*cdf0e10cSrcweir        <xs:attribute name="reset-page-number" default="false" form="qualified">
127*cdf0e10cSrcweir            <xs:simpleType>
128*cdf0e10cSrcweir                <xs:restriction base="xs:token">
129*cdf0e10cSrcweir                    <xs:enumeration value="true"/>
130*cdf0e10cSrcweir                    <xs:enumeration value="false"/>
131*cdf0e10cSrcweir                </xs:restriction>
132*cdf0e10cSrcweir            </xs:simpleType>
133*cdf0e10cSrcweir        </xs:attribute>
134*cdf0e10cSrcweir        <xs:attribute name="print-header-on-each-page" default="false" form="qualified">
135*cdf0e10cSrcweir            <xs:simpleType>
136*cdf0e10cSrcweir                <xs:restriction base="xs:token">
137*cdf0e10cSrcweir                    <xs:enumeration value="true"/>
138*cdf0e10cSrcweir                    <xs:enumeration value="false"/>
139*cdf0e10cSrcweir                </xs:restriction>
140*cdf0e10cSrcweir            </xs:simpleType>
141*cdf0e10cSrcweir        </xs:attribute>
142*cdf0e10cSrcweir        <xs:attribute name="group-expression" use="required" form="qualified" type="text:string"/>
143*cdf0e10cSrcweir        <xs:attribute name="keep-together" default="no" form="qualified">
144*cdf0e10cSrcweir            <xs:simpleType>
145*cdf0e10cSrcweir                <xs:restriction base="xs:token">
146*cdf0e10cSrcweir                    <xs:enumeration value="no"/>
147*cdf0e10cSrcweir                    <xs:enumeration value="whole-group"/>
148*cdf0e10cSrcweir                    <xs:enumeration value="with-first-detail"/>
149*cdf0e10cSrcweir                </xs:restriction>
150*cdf0e10cSrcweir            </xs:simpleType>
151*cdf0e10cSrcweir        </xs:attribute>
152*cdf0e10cSrcweir    </xs:attributeGroup>
153*cdf0e10cSrcweir    <xs:element name="group-header">
154*cdf0e10cSrcweir        <xs:complexType>
155*cdf0e10cSrcweir            <xs:sequence>
156*cdf0e10cSrcweir                <xs:element ref="table:table"/>
157*cdf0e10cSrcweir            </xs:sequence>
158*cdf0e10cSrcweir            <xs:attributeGroup ref="rpt:rpt-group-section-attlist"/>
159*cdf0e10cSrcweir        </xs:complexType>
160*cdf0e10cSrcweir    </xs:element>
161*cdf0e10cSrcweir    <xs:element name="group-footer">
162*cdf0e10cSrcweir        <xs:complexType>
163*cdf0e10cSrcweir            <xs:sequence>
164*cdf0e10cSrcweir                <xs:element ref="table:table"/>
165*cdf0e10cSrcweir            </xs:sequence>
166*cdf0e10cSrcweir            <xs:attributeGroup ref="rpt:rpt-group-section-attlist"/>
167*cdf0e10cSrcweir        </xs:complexType>
168*cdf0e10cSrcweir    </xs:element>
169*cdf0e10cSrcweir    <xs:element name="report-header">
170*cdf0e10cSrcweir        <xs:complexType>
171*cdf0e10cSrcweir            <xs:sequence>
172*cdf0e10cSrcweir                <xs:element ref="table:table"/>
173*cdf0e10cSrcweir            </xs:sequence>
174*cdf0e10cSrcweir        </xs:complexType>
175*cdf0e10cSrcweir    </xs:element>
176*cdf0e10cSrcweir    <xs:element name="page-header">
177*cdf0e10cSrcweir        <xs:complexType>
178*cdf0e10cSrcweir            <xs:sequence>
179*cdf0e10cSrcweir                <xs:element ref="table:table"/>
180*cdf0e10cSrcweir            </xs:sequence>
181*cdf0e10cSrcweir            <xs:attributeGroup ref="rpt:rpt-page-attlist"/>
182*cdf0e10cSrcweir        </xs:complexType>
183*cdf0e10cSrcweir    </xs:element>
184*cdf0e10cSrcweir    <xs:element name="column-header">
185*cdf0e10cSrcweir        <xs:complexType>
186*cdf0e10cSrcweir            <xs:sequence>
187*cdf0e10cSrcweir                <xs:element ref="table:table"/>
188*cdf0e10cSrcweir            </xs:sequence>
189*cdf0e10cSrcweir        </xs:complexType>
190*cdf0e10cSrcweir    </xs:element>
191*cdf0e10cSrcweir    <xs:element name="detail">
192*cdf0e10cSrcweir        <xs:complexType>
193*cdf0e10cSrcweir            <xs:sequence>
194*cdf0e10cSrcweir                <xs:element ref="table:table"/>
195*cdf0e10cSrcweir            </xs:sequence>
196*cdf0e10cSrcweir        </xs:complexType>
197*cdf0e10cSrcweir    </xs:element>
198*cdf0e10cSrcweir    <xs:element name="column-footer">
199*cdf0e10cSrcweir        <xs:complexType>
200*cdf0e10cSrcweir            <xs:sequence>
201*cdf0e10cSrcweir                <xs:element ref="table:table"/>
202*cdf0e10cSrcweir            </xs:sequence>
203*cdf0e10cSrcweir        </xs:complexType>
204*cdf0e10cSrcweir    </xs:element>
205*cdf0e10cSrcweir    <xs:element name="page-footer">
206*cdf0e10cSrcweir        <xs:complexType>
207*cdf0e10cSrcweir            <xs:sequence>
208*cdf0e10cSrcweir                <xs:element ref="table:table"/>
209*cdf0e10cSrcweir            </xs:sequence>
210*cdf0e10cSrcweir            <xs:attributeGroup ref="rpt:rpt-page-attlist"/>
211*cdf0e10cSrcweir        </xs:complexType>
212*cdf0e10cSrcweir    </xs:element>
213*cdf0e10cSrcweir    <xs:element name="report-footer">
214*cdf0e10cSrcweir        <xs:complexType>
215*cdf0e10cSrcweir            <xs:sequence>
216*cdf0e10cSrcweir                <xs:element ref="table:table"/>
217*cdf0e10cSrcweir            </xs:sequence>
218*cdf0e10cSrcweir        </xs:complexType>
219*cdf0e10cSrcweir    </xs:element>
220*cdf0e10cSrcweir    <xs:attributeGroup name="rpt-page-attlist">
221*cdf0e10cSrcweir        <xs:attribute name="page-print-option" default="all-pages" form="qualified">
222*cdf0e10cSrcweir            <xs:simpleType>
223*cdf0e10cSrcweir                <xs:restriction base="xs:token">
224*cdf0e10cSrcweir                    <xs:enumeration value="all-pages"/>
225*cdf0e10cSrcweir                    <xs:enumeration value="not-with-report-header"/>
226*cdf0e10cSrcweir                    <xs:enumeration value="not-with-report-footer"/>
227*cdf0e10cSrcweir                    <xs:enumeration value="not-with-report-header-nor-footer"/>
228*cdf0e10cSrcweir                </xs:restriction>
229*cdf0e10cSrcweir            </xs:simpleType>
230*cdf0e10cSrcweir        </xs:attribute>
231*cdf0e10cSrcweir    </xs:attributeGroup>
232*cdf0e10cSrcweir    <xs:attributeGroup name="rpt-section-attlist">
233*cdf0e10cSrcweir        <xs:attribute name="visible" default="true" form="qualified">
234*cdf0e10cSrcweir            <xs:simpleType>
235*cdf0e10cSrcweir                <xs:restriction base="xs:token">
236*cdf0e10cSrcweir                    <xs:enumeration value="true"/>
237*cdf0e10cSrcweir                    <xs:enumeration value="false"/>
238*cdf0e10cSrcweir                </xs:restriction>
239*cdf0e10cSrcweir            </xs:simpleType>
240*cdf0e10cSrcweir        </xs:attribute>
241*cdf0e10cSrcweir        <xs:attribute name="force-new-page" default="none" form="qualified">
242*cdf0e10cSrcweir            <xs:simpleType>
243*cdf0e10cSrcweir                <xs:restriction base="xs:token">
244*cdf0e10cSrcweir                    <xs:enumeration value="none"/>
245*cdf0e10cSrcweir                    <xs:enumeration value="before-section"/>
246*cdf0e10cSrcweir                    <xs:enumeration value="after-section"/>
247*cdf0e10cSrcweir                    <xs:enumeration value="before-after-section"/>
248*cdf0e10cSrcweir                </xs:restriction>
249*cdf0e10cSrcweir            </xs:simpleType>
250*cdf0e10cSrcweir        </xs:attribute>
251*cdf0e10cSrcweir        <xs:attribute name="new-row-or-column" default="none" form="qualified">
252*cdf0e10cSrcweir            <xs:simpleType>
253*cdf0e10cSrcweir                <xs:restriction base="xs:token">
254*cdf0e10cSrcweir                    <xs:enumeration value="none"/>
255*cdf0e10cSrcweir                    <xs:enumeration value="before-section"/>
256*cdf0e10cSrcweir                    <xs:enumeration value="after-section"/>
257*cdf0e10cSrcweir                    <xs:enumeration value="before-after-section"/>
258*cdf0e10cSrcweir                </xs:restriction>
259*cdf0e10cSrcweir            </xs:simpleType>
260*cdf0e10cSrcweir        </xs:attribute>
261*cdf0e10cSrcweir        <xs:attribute name="keep-together" default="false" form="qualified">
262*cdf0e10cSrcweir            <xs:simpleType>
263*cdf0e10cSrcweir                <xs:restriction base="xs:token">
264*cdf0e10cSrcweir                    <xs:enumeration value="true"/>
265*cdf0e10cSrcweir                    <xs:enumeration value="false"/>
266*cdf0e10cSrcweir                </xs:restriction>
267*cdf0e10cSrcweir            </xs:simpleType>
268*cdf0e10cSrcweir        </xs:attribute>
269*cdf0e10cSrcweir    </xs:attributeGroup>
270*cdf0e10cSrcweir    <xs:attributeGroup name="rpt-group-section-attlist">
271*cdf0e10cSrcweir        <xs:attribute name="repeat-section" default="false" form="qualified">
272*cdf0e10cSrcweir            <xs:simpleType>
273*cdf0e10cSrcweir                <xs:restriction base="xs:token">
274*cdf0e10cSrcweir                    <xs:enumeration value="true"/>
275*cdf0e10cSrcweir                    <xs:enumeration value="false"/>
276*cdf0e10cSrcweir                </xs:restriction>
277*cdf0e10cSrcweir            </xs:simpleType>
278*cdf0e10cSrcweir        </xs:attribute>
279*cdf0e10cSrcweir    </xs:attributeGroup>
280*cdf0e10cSrcweir    <xs:element name="sub-document">
281*cdf0e10cSrcweir        <xs:complexType>
282*cdf0e10cSrcweir            <xs:sequence>
283*cdf0e10cSrcweir                <xs:group ref="rpt:report-master-detail-fields"/>
284*cdf0e10cSrcweir                <xs:element ref="rpt:report-element"/>
285*cdf0e10cSrcweir                <xs:choice minOccurs="0">
286*cdf0e10cSrcweir                    <xs:element ref="office:document"/>
287*cdf0e10cSrcweir                    <xs:element ref="math:math"/>
288*cdf0e10cSrcweir                </xs:choice>
289*cdf0e10cSrcweir            </xs:sequence>
290*cdf0e10cSrcweir            <xs:attributeGroup ref="rpt:report-sub-document-attlist"/>
291*cdf0e10cSrcweir        </xs:complexType>
292*cdf0e10cSrcweir    </xs:element>
293*cdf0e10cSrcweir    <xs:attributeGroup name="report-sub-document-attlist">
294*cdf0e10cSrcweir        <xs:attribute ref="xlink:href"/>
295*cdf0e10cSrcweir        <xs:attribute ref="xlink:type"/>
296*cdf0e10cSrcweir        <xs:attributeGroup ref="xlink:show"/>
297*cdf0e10cSrcweir        <xs:attributeGroup ref="xlink:actuate"/>
298*cdf0e10cSrcweir    </xs:attributeGroup>
299*cdf0e10cSrcweir    <xs:group name="report-master-detail-fields">
300*cdf0e10cSrcweir        <xs:sequence>
301*cdf0e10cSrcweir            <xs:element minOccurs="0" ref="rpt:master-detail-fields"/>
302*cdf0e10cSrcweir        </xs:sequence>
303*cdf0e10cSrcweir    </xs:group>
304*cdf0e10cSrcweir    <xs:element name="master-detail-fields">
305*cdf0e10cSrcweir        <xs:complexType>
306*cdf0e10cSrcweir            <xs:sequence>
307*cdf0e10cSrcweir                <xs:element minOccurs="0" maxOccurs="unbounded" ref="rpt:master-detail-field"/>
308*cdf0e10cSrcweir            </xs:sequence>
309*cdf0e10cSrcweir        </xs:complexType>
310*cdf0e10cSrcweir    </xs:element>
311*cdf0e10cSrcweir    <xs:element name="master-detail-field">
312*cdf0e10cSrcweir        <xs:complexType>
313*cdf0e10cSrcweir            <xs:attribute name="master" use="required" form="qualified" type="text:string"/>
314*cdf0e10cSrcweir            <xs:attribute name="detail" form="qualified" type="text:string"/>
315*cdf0e10cSrcweir        </xs:complexType>
316*cdf0e10cSrcweir    </xs:element>
317*cdf0e10cSrcweir    <xs:element name="function">
318*cdf0e10cSrcweir        <xs:complexType>
319*cdf0e10cSrcweir            <xs:attribute name="formula" use="required" form="qualified" type="text:formula"/>
320*cdf0e10cSrcweir            <xs:attribute name="name" use="required" form="qualified" type="text:string"/>
321*cdf0e10cSrcweir            <xs:attribute name="pre-evaluated" use="required" form="qualified">
322*cdf0e10cSrcweir                <xs:simpleType>
323*cdf0e10cSrcweir                    <xs:restriction base="xs:token">
324*cdf0e10cSrcweir                        <xs:enumeration value="true"/>
325*cdf0e10cSrcweir                        <xs:enumeration value="false"/>
326*cdf0e10cSrcweir                    </xs:restriction>
327*cdf0e10cSrcweir                </xs:simpleType>
328*cdf0e10cSrcweir            </xs:attribute>
329*cdf0e10cSrcweir        </xs:complexType>
330*cdf0e10cSrcweir    </xs:element>
331*cdf0e10cSrcweir    <xs:element name="report-element">
332*cdf0e10cSrcweir        <xs:complexType>
333*cdf0e10cSrcweir            <xs:sequence>
334*cdf0e10cSrcweir                <xs:element minOccurs="0" ref="rpt:conditional-print-expression"/>
335*cdf0e10cSrcweir                <xs:element minOccurs="0" ref="rpt:report-component"/>
336*cdf0e10cSrcweir                <xs:element minOccurs="0" maxOccurs="unbounded" ref="rpt:format-condition"/>
337*cdf0e10cSrcweir            </xs:sequence>
338*cdf0e10cSrcweir            <xs:attributeGroup ref="rpt:rpt-report-element-attlist"/>
339*cdf0e10cSrcweir        </xs:complexType>
340*cdf0e10cSrcweir    </xs:element>
341*cdf0e10cSrcweir    <xs:attributeGroup name="rpt-report-element-attlist">
342*cdf0e10cSrcweir        <xs:attribute name="print-when-group-change" default="false" form="qualified">
343*cdf0e10cSrcweir            <xs:simpleType>
344*cdf0e10cSrcweir                <xs:restriction base="xs:token">
345*cdf0e10cSrcweir                    <xs:enumeration value="true"/>
346*cdf0e10cSrcweir                    <xs:enumeration value="false"/>
347*cdf0e10cSrcweir                </xs:restriction>
348*cdf0e10cSrcweir            </xs:simpleType>
349*cdf0e10cSrcweir        </xs:attribute>
350*cdf0e10cSrcweir        <xs:attribute name="print-repeated-values" default="true" form="qualified">
351*cdf0e10cSrcweir            <xs:simpleType>
352*cdf0e10cSrcweir                <xs:restriction base="xs:token">
353*cdf0e10cSrcweir                    <xs:enumeration value="true"/>
354*cdf0e10cSrcweir                    <xs:enumeration value="false"/>
355*cdf0e10cSrcweir                </xs:restriction>
356*cdf0e10cSrcweir            </xs:simpleType>
357*cdf0e10cSrcweir        </xs:attribute>
358*cdf0e10cSrcweir    </xs:attributeGroup>
359*cdf0e10cSrcweir    <xs:element name="conditional-print-expression" type="xs:string"/>
360*cdf0e10cSrcweir    <xs:element name="format-condition">
361*cdf0e10cSrcweir        <xs:complexType>
362*cdf0e10cSrcweir            <xs:attributeGroup ref="rpt:rpt-format-condition-attlist"/>
363*cdf0e10cSrcweir        </xs:complexType>
364*cdf0e10cSrcweir    </xs:element>
365*cdf0e10cSrcweir    <xs:attributeGroup name="rpt-format-condition-attlist">
366*cdf0e10cSrcweir        <xs:attribute name="enabled" default="false" form="qualified">
367*cdf0e10cSrcweir            <xs:simpleType>
368*cdf0e10cSrcweir                <xs:restriction base="xs:token">
369*cdf0e10cSrcweir                    <xs:enumeration value="true"/>
370*cdf0e10cSrcweir                    <xs:enumeration value="false"/>
371*cdf0e10cSrcweir                </xs:restriction>
372*cdf0e10cSrcweir            </xs:simpleType>
373*cdf0e10cSrcweir        </xs:attribute>
374*cdf0e10cSrcweir        <xs:attribute name="formula" form="qualified" type="text:formula"/>
375*cdf0e10cSrcweir    </xs:attributeGroup>
376*cdf0e10cSrcweir    <xs:element name="fixed-content">
377*cdf0e10cSrcweir        <xs:complexType>
378*cdf0e10cSrcweir            <xs:sequence>
379*cdf0e10cSrcweir                <xs:element ref="rpt:report-element"/>
380*cdf0e10cSrcweir                <xs:element ref="text:p"/>
381*cdf0e10cSrcweir            </xs:sequence>
382*cdf0e10cSrcweir        </xs:complexType>
383*cdf0e10cSrcweir    </xs:element>
384*cdf0e10cSrcweir    <xs:element name="formatted-text">
385*cdf0e10cSrcweir        <xs:complexType>
386*cdf0e10cSrcweir            <xs:sequence>
387*cdf0e10cSrcweir                <xs:element ref="rpt:report-element"/>
388*cdf0e10cSrcweir                <xs:group ref="text:common-form-control-content"/>
389*cdf0e10cSrcweir            </xs:sequence>
390*cdf0e10cSrcweir        </xs:complexType>
391*cdf0e10cSrcweir    </xs:element>
392*cdf0e10cSrcweir    <xs:attributeGroup name="rpt-formatted-text-attlist">
393*cdf0e10cSrcweir        <xs:attributeGroup ref="text:common-data-field-attlist"/>
394*cdf0e10cSrcweir    </xs:attributeGroup>
395*cdf0e10cSrcweir    <xs:element name="image">
396*cdf0e10cSrcweir        <xs:complexType>
397*cdf0e10cSrcweir            <xs:sequence>
398*cdf0e10cSrcweir                <xs:element ref="rpt:report-element"/>
399*cdf0e10cSrcweir            </xs:sequence>
400*cdf0e10cSrcweir        </xs:complexType>
401*cdf0e10cSrcweir    </xs:element>
402*cdf0e10cSrcweir    <xs:attributeGroup name="rpt-image-attlist">
403*cdf0e10cSrcweir        <xs:attributeGroup ref="text:common-data-field-attlist"/>
404*cdf0e10cSrcweir        <xs:attributeGroup ref="text:image-data"/>
405*cdf0e10cSrcweir        <xs:attribute name="scale" use="required" form="qualified">
406*cdf0e10cSrcweir            <xs:simpleType>
407*cdf0e10cSrcweir                <xs:restriction base="xs:token">
408*cdf0e10cSrcweir                    <xs:enumeration value="true"/>
409*cdf0e10cSrcweir                    <xs:enumeration value="false"/>
410*cdf0e10cSrcweir                </xs:restriction>
411*cdf0e10cSrcweir            </xs:simpleType>
412*cdf0e10cSrcweir        </xs:attribute>
413*cdf0e10cSrcweir    </xs:attributeGroup>
414*cdf0e10cSrcweir</xs:schema>
415