1<!--
2
3  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
5  Copyright 2000, 2010 Oracle and/or its affiliates.
6
7  OpenOffice.org - a multi-platform office productivity suite
8
9  This file is part of OpenOffice.org.
10
11  OpenOffice.org is free software: you can redistribute it and/or modify
12  it under the terms of the GNU Lesser General Public License version 3
13  only, as published by the Free Software Foundation.
14
15  OpenOffice.org is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  GNU Lesser General Public License version 3 for more details
19  (a copy is included in the LICENSE file that accompanied this code).
20
21  You should have received a copy of the GNU Lesser General Public License
22  version 3 along with OpenOffice.org.  If not, see
23  <http://www.openoffice.org/license.html>
24  for a copy of the LGPLv3 License.
25
26-->
27
28<!-- datatypes corresponding to XML Schema Part 2 W3C Working draft of	-->
29<!-- 07 April 2000														-->
30
31<!-- string -->
32<!ENTITY % string				"CDATA">
33<!ENTITY % cString				"#PCDATA">
34
35<!-- boolean (values are "true" and "false" -->
36<!ENTITY % boolean				"CDATA">
37
38<!-- integer ( ..., -2, -1, 0, 1, 2, ...) -->
39<!ENTITY % integer				"CDATA">
40
41<!-- non negative integer ( 0, 1, 2, ...) -->
42<!ENTITY % nonNegativeInteger	"CDATA">
43
44<!-- positive integer ( 1, 2, ...) -->
45<!ENTITY % positiveInteger		"CDATA">
46<!ENTITY % cPositiveInteger		"#PCDATA">
47
48<!ENTITY % positiveNumberOrDefault "CDATA">
49
50<!-- time duration as specified by ISO8601, section 5.5.3.2 -->
51<!ENTITY % timeDuration			"CDATA">
52<!ENTITY % cTimeDuration		"#PCDATA">
53
54<!-- time instance as specified by ISO8601, section 5.4 -->
55<!ENTITY % timeInstance			"CDATA">
56<!ENTITY % cTimeInstance		"#PCDATA">
57
58<!-- date instance as specified by ISO8601, section 5.2.1.1, extended format-->
59<!ENTITY % date					"CDATA">
60<!ENTITY % cDate				"#PCDATA">
61
62<!-- date duration, like timDuration but truncated to full dates -->
63<!ENTITY % dateDuration			"CDATA">
64<!ENTITY % cDateDuration		"#PCDATA">
65
66<!-- URI reference -->
67<!ENTITY % uriReference			"CDATA">
68
69<!-- language code as specified by RFC1766 -->
70<!ENTITY % language				"CDATA">
71<!ENTITY % cLanguage			"#PCDATA">
72
73<!-- float -->
74<!ENTITY % float "CDATA">
75
76<!-- Some other common used data types -->
77
78<!-- a single UNICODE character -->
79<!ENTITY % character			"CDATA">
80
81<!-- a style name -->
82<!ENTITY % styleName			"CDATA">
83
84<!-- a target frame mame -->
85<!ENTITY % targetFrameName			"CDATA">
86
87<!-- a language without a country as specified by ISO639 -->
88<!ENTITY % languageOnly			"CDATA">
89
90<!-- a country as specified by ISO3166 -->
91<!ENTITY % country				"CDATA">
92
93<!-- a color value having the format #rrggbb -->
94<!ENTITY % color				"CDATA">
95<!-- a color value having the format #rrggbb or "transparent" -->
96<!ENTITY % transparentOrColor			"CDATA">
97
98<!-- a percentage -->
99<!ENTITY % percentage 			"CDATA">
100
101<!-- a length (i.e. 1cm or .6inch) -->
102<!ENTITY % length				"CDATA">
103<!ENTITY % positiveLength		"CDATA">
104<!ENTITY % nonNegativeLength	"CDATA">
105<!ENTITY % lengthOrNoLimit "CDATA">
106
107<!-- a length or a percentage -->
108<!ENTITY % lengthOrPercentage	"CDATA">
109<!ENTITY % positiveLengthOrPercentage	"CDATA">
110
111<!-- a pixel length (i.e. 2px) -->
112<!ENTITY % nonNegativePixelLength	"CDATA">
113
114<!-- a float or a percentage -->
115<!ENTITY % floatOrPercentage	"CDATA">
116
117<!-- a text encoding -->
118<!ENTITY % textEncoding	"CDATA">
119
120<!-- cell address and cell range address -->
121<!ENTITY % cell-address "CDATA">
122<!ENTITY % cell-range-address "CDATA">
123<!ENTITY % cell-range-address-list "CDATA">
124
125<!-- value types -->
126<!ENTITY % valueType "(float|time|date|percentage|currency|boolean|string)">
127
128<!-- an svg coordinate in different distance formats -->
129<!ENTITY % coordinate "CDATA">
130
131<!ENTITY % coordinateOrPercentage	"CDATA">
132
133<!ENTITY % shape "draw:rect|draw:line|draw:polyline|draw:polygon|draw:path|
134				   draw:circle|draw:ellipse|draw:g|draw:page-thumbnail|
135				   draw:text-box|draw:image|draw:object|draw:object-ole|
136				   draw:applet|draw:floating-frame|draw:plugin|
137				   draw:measure|draw:caption|draw:connector|chart:chart|
138				   dr3d:scene|draw:control" >
139<!ENTITY % shapes "(%shape;)" >
140
141<!ENTITY % anchorType "(page|frame|paragraph|char|as-char)">
142
143<!ENTITY % control-id "form:id CDATA #REQUIRED">
144