dr78: #i26822# remove draw shell if selected object is removed by undo
[LibreOffice.git] / xmloff / dtd / dtypes.mod
blob4de538ced12b95d46ff96b6927d9a8fbc09577d9
1 <!--
3 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 Copyright 2000, 2010 Oracle and/or its affiliates.
7 OpenOffice.org - a multi-platform office productivity suite
9 This file is part of OpenOffice.org.
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.
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).
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.
26 -->
28 <!-- datatypes corresponding to XML Schema Part 2 W3C Working draft of -->
29 <!-- 07 April 2000 -->
31 <!-- string -->
32 <!ENTITY % string "CDATA">
33 <!ENTITY % cString "#PCDATA">
35 <!-- boolean (values are "true" and "false" -->
36 <!ENTITY % boolean "CDATA">
38 <!-- integer ( ..., -2, -1, 0, 1, 2, ...) -->
39 <!ENTITY % integer "CDATA">
41 <!-- non negative integer ( 0, 1, 2, ...) -->
42 <!ENTITY % nonNegativeInteger "CDATA">
44 <!-- positive integer ( 1, 2, ...) -->
45 <!ENTITY % positiveInteger "CDATA">
46 <!ENTITY % cPositiveInteger "#PCDATA">
48 <!ENTITY % positiveNumberOrDefault "CDATA">
50 <!-- time duration as specified by ISO8601, section 5.5.3.2 -->
51 <!ENTITY % timeDuration "CDATA">
52 <!ENTITY % cTimeDuration "#PCDATA">
54 <!-- time instance as specified by ISO8601, section 5.4 -->
55 <!ENTITY % timeInstance "CDATA">
56 <!ENTITY % cTimeInstance "#PCDATA">
58 <!-- date instance as specified by ISO8601, section 5.2.1.1, extended format-->
59 <!ENTITY % date "CDATA">
60 <!ENTITY % cDate "#PCDATA">
62 <!-- date duration, like timDuration but truncated to full dates -->
63 <!ENTITY % dateDuration "CDATA">
64 <!ENTITY % cDateDuration "#PCDATA">
66 <!-- URI reference -->
67 <!ENTITY % uriReference "CDATA">
69 <!-- language code as specified by RFC1766 -->
70 <!ENTITY % language "CDATA">
71 <!ENTITY % cLanguage "#PCDATA">
73 <!-- float -->
74 <!ENTITY % float "CDATA">
76 <!-- Some other common used data types -->
78 <!-- a single UNICODE character -->
79 <!ENTITY % character "CDATA">
81 <!-- a style name -->
82 <!ENTITY % styleName "CDATA">
84 <!-- a target frame mame -->
85 <!ENTITY % targetFrameName "CDATA">
87 <!-- a language without a country as specified by ISO639 -->
88 <!ENTITY % languageOnly "CDATA">
90 <!-- a country as specified by ISO3166 -->
91 <!ENTITY % country "CDATA">
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">
98 <!-- a percentage -->
99 <!ENTITY % percentage "CDATA">
101 <!-- a length (i.e. 1cm or .6inch) -->
102 <!ENTITY % length "CDATA">
103 <!ENTITY % positiveLength "CDATA">
104 <!ENTITY % nonNegativeLength "CDATA">
105 <!ENTITY % lengthOrNoLimit "CDATA">
107 <!-- a length or a percentage -->
108 <!ENTITY % lengthOrPercentage "CDATA">
109 <!ENTITY % positiveLengthOrPercentage "CDATA">
111 <!-- a pixel length (i.e. 2px) -->
112 <!ENTITY % nonNegativePixelLength "CDATA">
114 <!-- a float or a percentage -->
115 <!ENTITY % floatOrPercentage "CDATA">
117 <!-- a text encoding -->
118 <!ENTITY % textEncoding "CDATA">
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">
125 <!-- value types -->
126 <!ENTITY % valueType "(float|time|date|percentage|currency|boolean|string)">
128 <!-- an svg coordinate in different distance formats -->
129 <!ENTITY % coordinate "CDATA">
131 <!ENTITY % coordinateOrPercentage "CDATA">
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|draw:custom-shape" >
139 <!ENTITY % shapes "(%shape;)" >
141 <!ENTITY % anchorType "(page|frame|paragraph|char|as-char)">
143 <!ENTITY % control-id "form:id CDATA #REQUIRED">