xref: /aoo4110/main/xmloff/dtd/dtypes.mod (revision b1cdbd2c)
1<!--***********************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 ***********************************************************-->
21
22
23
24<!-- datatypes corresponding to XML Schema Part 2 W3C Working draft of	-->
25<!-- 07 April 2000														-->
26
27<!-- string -->
28<!ENTITY % string				"CDATA">
29<!ENTITY % cString				"#PCDATA">
30
31<!-- boolean (values are "true" and "false" -->
32<!ENTITY % boolean				"CDATA">
33
34<!-- integer ( ..., -2, -1, 0, 1, 2, ...) -->
35<!ENTITY % integer				"CDATA">
36
37<!-- non negative integer ( 0, 1, 2, ...) -->
38<!ENTITY % nonNegativeInteger	"CDATA">
39
40<!-- positive integer ( 1, 2, ...) -->
41<!ENTITY % positiveInteger		"CDATA">
42<!ENTITY % cPositiveInteger		"#PCDATA">
43
44<!ENTITY % positiveNumberOrDefault "CDATA">
45
46<!-- time duration as specified by ISO8601, section 5.5.3.2 -->
47<!ENTITY % timeDuration			"CDATA">
48<!ENTITY % cTimeDuration		"#PCDATA">
49
50<!-- time instance as specified by ISO8601, section 5.4 -->
51<!ENTITY % timeInstance			"CDATA">
52<!ENTITY % cTimeInstance		"#PCDATA">
53
54<!-- date instance as specified by ISO8601, section 5.2.1.1, extended format-->
55<!ENTITY % date					"CDATA">
56<!ENTITY % cDate				"#PCDATA">
57
58<!-- date duration, like timDuration but truncated to full dates -->
59<!ENTITY % dateDuration			"CDATA">
60<!ENTITY % cDateDuration		"#PCDATA">
61
62<!-- URI reference -->
63<!ENTITY % uriReference			"CDATA">
64
65<!-- language code as specified by RFC1766 -->
66<!ENTITY % language				"CDATA">
67<!ENTITY % cLanguage			"#PCDATA">
68
69<!-- float -->
70<!ENTITY % float "CDATA">
71
72<!-- Some other common used data types -->
73
74<!-- a single UNICODE character -->
75<!ENTITY % character			"CDATA">
76
77<!-- a style name -->
78<!ENTITY % styleName			"CDATA">
79
80<!-- a target frame mame -->
81<!ENTITY % targetFrameName			"CDATA">
82
83<!-- a language without a country as specified by ISO639 -->
84<!ENTITY % languageOnly			"CDATA">
85
86<!-- a country as specified by ISO3166 -->
87<!ENTITY % country				"CDATA">
88
89<!-- a color value having the format #rrggbb -->
90<!ENTITY % color				"CDATA">
91<!-- a color value having the format #rrggbb or "transparent" -->
92<!ENTITY % transparentOrColor			"CDATA">
93
94<!-- a percentage -->
95<!ENTITY % percentage 			"CDATA">
96
97<!-- a length (i.e. 1cm or .6inch) -->
98<!ENTITY % length				"CDATA">
99<!ENTITY % positiveLength		"CDATA">
100<!ENTITY % nonNegativeLength	"CDATA">
101<!ENTITY % lengthOrNoLimit "CDATA">
102
103<!-- a length or a percentage -->
104<!ENTITY % lengthOrPercentage	"CDATA">
105<!ENTITY % positiveLengthOrPercentage	"CDATA">
106
107<!-- a pixel length (i.e. 2px) -->
108<!ENTITY % nonNegativePixelLength	"CDATA">
109
110<!-- a float or a percentage -->
111<!ENTITY % floatOrPercentage	"CDATA">
112
113<!-- a text encoding -->
114<!ENTITY % textEncoding	"CDATA">
115
116<!-- cell address and cell range address -->
117<!ENTITY % cell-address "CDATA">
118<!ENTITY % cell-range-address "CDATA">
119<!ENTITY % cell-range-address-list "CDATA">
120
121<!-- value types -->
122<!ENTITY % valueType "(float|time|date|percentage|currency|boolean|string)">
123
124<!-- an svg coordinate in different distance formats -->
125<!ENTITY % coordinate "CDATA">
126
127<!ENTITY % coordinateOrPercentage	"CDATA">
128
129<!ENTITY % shape "draw:rect|draw:line|draw:polyline|draw:polygon|draw:path|
130				   draw:circle|draw:ellipse|draw:g|draw:page-thumbnail|
131				   draw:text-box|draw:image|draw:object|draw:object-ole|
132				   draw:applet|draw:floating-frame|draw:plugin|
133				   draw:measure|draw:caption|draw:connector|chart:chart|
134				   dr3d:scene|draw:control|draw:custom-shape" >
135<!ENTITY % shapes "(%shape;)" >
136
137<!ENTITY % anchorType "(page|frame|paragraph|char|as-char)">
138
139<!ENTITY % control-id "form:id CDATA #REQUIRED">
140