1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3
4  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5
6  Copyright 2000, 2010 Oracle and/or its affiliates.
7
8  OpenOffice.org - a multi-platform office productivity suite
9
10  This file is part of OpenOffice.org.
11
12  OpenOffice.org is free software: you can redistribute it and/or modify
13  it under the terms of the GNU Lesser General Public License version 3
14  only, as published by the Free Software Foundation.
15
16  OpenOffice.org is distributed in the hope that it will be useful,
17  but WITHOUT ANY WARRANTY; without even the implied warranty of
18  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  GNU Lesser General Public License version 3 for more details
20  (a copy is included in the LICENSE file that accompanied this code).
21
22  You should have received a copy of the GNU Lesser General Public License
23  version 3 along with OpenOffice.org.  If not, see
24  <http://www.openoffice.org/license.html>
25  for a copy of the LGPLv3 License.
26
27-->
28
29<grammar
30	xmlns="http://relaxng.org/ns/structure/1.0"
31    xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
32
33    xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
34    xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
35    xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
36>
37<include href="office-strict-schema-1.0-cd-2.rng">
38
39<!-- ==================== -->
40<!-- replaced definitions -->
41<!-- ==================== -->
42
43<!-- list styles contained in graphic styles currently have no name (i36217) -->
44<define name="text-list-style-attr" combine="interleave">
45    <optional>
46		<attribute name="style:name">
47			<ref name="styleName"/>
48		</attribute>
49	</optional>
50</define>
51<define name="text-list-style-attr" combine="interleave">
52    <optional>
53        <attribute name="style:display-name">
54            <ref name="string"/>
55        </attribute>
56    </optional>
57</define>
58<define name="text-list-style-attr" combine="interleave">
59    <optional>
60        <attribute name="text:consecutive-numbering" a:defaultValue="false">
61            <ref name="boolean"/>
62        </attribute>
63    </optional>
64</define>
65
66</include>
67
68<!-- ====================== -->
69<!-- additional definitions -->
70<!-- ====================== -->
71
72<!-- The following definition is obsolete, but required for legacy -->
73<!-- files that have their origin in binary files (i35420).        -->
74<define name="chart-plot-area-attlist" combine="interleave">
75	<optional>
76		<attribute name="chart:table-number-list">
77			<ref name="string"/>
78		</attribute>
79	</optional>
80</define>
81
82<!-- List styles contained in graphic styles currently are -->
83<!-- enabled by the following attribute (i36217).          -->
84<define name="style-paragraph-properties-attlist" combine="interleave">
85	<optional>
86		<attribute name="text:enable-numbering">
87			<ref name="boolean"/>
88		</attribute>
89	</optional>
90</define>
91
92</grammar>
93