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