2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License
, v.
2.0. If a copy of the MPL was not distributed with this
6 * file
, You can obtain one at http
://mozilla.org
/MPL
/2.0/.
8 * This file incorporates work covered by the following license notice
:
10 * Licensed to the Apache Software
Foundation (ASF
) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License
, Version
2.0 (the
"License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http
://www.apache.org
/licenses
/LICENSE
-2.0 .
19 <!-- datatypes corresponding to XML Schema Part
2 W3C Working draft of
-->
20 <!-- 07 April
2000 -->
23 <!ENTITY
% string
"CDATA">
24 <!ENTITY
% cString
"#PCDATA">
26 <!-- boolean (values are
"true" and
"false" -->
27 <!ENTITY
% boolean
"CDATA">
29 <!-- integer ( ...
, -2, -1, 0, 1, 2, ...
) -->
30 <!ENTITY
% integer
"CDATA">
32 <!-- non negative
integer ( 0, 1, 2, ...
) -->
33 <!ENTITY
% nonNegativeInteger
"CDATA">
35 <!-- positive
integer ( 1, 2, ...
) -->
36 <!ENTITY
% positiveInteger
"CDATA">
37 <!ENTITY
% cPositiveInteger
"#PCDATA">
39 <!ENTITY
% positiveNumberOrDefault
"CDATA">
41 <!-- time duration as specified by ISO8601
, section
5.5.3.2 -->
42 <!ENTITY
% timeDuration
"CDATA">
43 <!ENTITY
% cTimeDuration
"#PCDATA">
45 <!-- time instance as specified by ISO8601
, section
5.4 -->
46 <!ENTITY
% timeInstance
"CDATA">
47 <!ENTITY
% cTimeInstance
"#PCDATA">
49 <!-- date instance as specified by ISO8601
, section
5.2.1.1, extended format
-->
50 <!ENTITY
% date
"CDATA">
51 <!ENTITY
% cDate
"#PCDATA">
53 <!-- date duration
, like timDuration but truncated to full dates
-->
54 <!ENTITY
% dateDuration
"CDATA">
55 <!ENTITY
% cDateDuration
"#PCDATA">
57 <!-- URI reference
-->
58 <!ENTITY
% uriReference
"CDATA">
60 <!-- language code as specified by RFC1766
-->
61 <!ENTITY
% language
"CDATA">
62 <!ENTITY
% cLanguage
"#PCDATA">
65 <!ENTITY
% float
"CDATA">
67 <!-- Some other common used data types
-->
69 <!-- a single UNICODE character
-->
70 <!ENTITY
% character
"CDATA">
73 <!ENTITY
% styleName
"CDATA">
75 <!-- a target frame mame
-->
76 <!ENTITY
% targetFrameName
"CDATA">
78 <!-- a language without a country as specified by ISO639
-->
79 <!ENTITY
% languageOnly
"CDATA">
81 <!-- a country as specified by ISO3166
-->
82 <!ENTITY
% country
"CDATA">
84 <!-- a color value having the format #rrggbb
-->
85 <!ENTITY
% color
"CDATA">
86 <!-- a color value having the format #rrggbb or
"transparent" -->
87 <!ENTITY
% transparentOrColor
"CDATA">
90 <!ENTITY
% percentage
"CDATA">
92 <!-- a
length (i.e.
1cm or
.6inch
) -->
93 <!ENTITY
% length
"CDATA">
94 <!ENTITY
% positiveLength
"CDATA">
95 <!ENTITY
% nonNegativeLength
"CDATA">
96 <!ENTITY
% lengthOrNoLimit
"CDATA">
98 <!-- a length or a percentage
-->
99 <!ENTITY
% lengthOrPercentage
"CDATA">
100 <!ENTITY
% positiveLengthOrPercentage
"CDATA">
102 <!-- a pixel
length (i.e.
2px
) -->
103 <!ENTITY
% nonNegativePixelLength
"CDATA">
105 <!-- a float or a percentage
-->
106 <!ENTITY
% floatOrPercentage
"CDATA">
108 <!-- a text encoding
-->
109 <!ENTITY
% textEncoding
"CDATA">
111 <!-- cell address and cell range address
-->
112 <!ENTITY
% cell
-address
"CDATA">
113 <!ENTITY
% cell
-range
-address
"CDATA">
114 <!ENTITY
% cell
-range
-address
-list
"CDATA">
117 <!ENTITY
% valueType
"(float|time|date|percentage|currency|boolean|string)">
119 <!-- an svg coordinate in different distance formats
-->
120 <!ENTITY
% coordinate
"CDATA">
122 <!ENTITY
% coordinateOrPercentage
"CDATA">
124 <!ENTITY
% shape
"draw:rect|draw:line|draw:polyline|draw:polygon|draw:path|
125 draw:circle|draw:ellipse|draw:g|draw:page-thumbnail|
126 draw:text-box|draw:image|draw:object|draw:object-ole|
127 draw:applet|draw:floating-frame|draw:plugin|
128 draw:measure|draw:caption|draw:connector|chart:chart|
129 dr3d:scene|draw:control|draw:custom-shape" >
130 <!ENTITY
% shapes
"(%shape;)" >
132 <!ENTITY
% anchorType
"(page|frame|paragraph|char|as-char)">
134 <!ENTITY
% control
-id
"form:id CDATA #REQUIRED">