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