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 .
20 <!ENTITY
% any
-number
"( number:number | number:scientific-number | number:fraction )">
21 <!ENTITY
% number
-style
-content
"( (number:text,(%any-number;,number:text?)?) | (%any-number;,number:text?) )">
22 <!ELEMENT number
:number
-style ( style
:properties?
, %number
-style
-content
;, style
:map
* )>
23 <!ELEMENT number
:number ( number
:embedded
-text
* )>
24 <!ELEMENT number
:scientific
-number EMPTY
>
25 <!ELEMENT number
:fraction EMPTY
>
27 <!ELEMENT number
:embedded
-text (#PCDATA
)>
28 <!ATTLIST number
:embedded
-text number
:position
%integer
; #REQUIRED
>
30 <!ENTITY
% currency
-symbol
-and
-text
"number:currency-symbol,number:text?">
31 <!ENTITY
% number
-and
-text
"number:number,number:text?">
32 <!ENTITY
% currency
-symbol
-and
-number
"((%number-and-text;),(%currency-symbol-and-text;)?) | ((%currency-symbol-and-text;),(%number-and-text;)?)">
33 <!ENTITY
% currency
-style
-content
"number:text?, (%currency-symbol-and-number;)?">
35 <!ELEMENT number
:currency
-style ( style
:properties?
, (%currency
-style
-content
;), style
:map
* )>
36 <!ELEMENT number
:currency
-symbol (#PCDATA
)>
37 <!ATTLIST number
:currency
-symbol number
:language CDATA #IMPLIED
>
38 <!ATTLIST number
:currency
-symbol number
:country CDATA #IMPLIED
>
40 <!ENTITY
% percentage
-style
-content
"( (number:text,(%number-and-text;)?) | (%number-and-text;) )">
41 <!ELEMENT number
:percentage
-style ( style
:properties?
, %percentage
-style
-content
;, style
:map
* )>
43 <!ENTITY
% any
-date
"( number:day | number:month | number:year | number:era | number:day-of-week | number:week-of-year | number:quarter| number:hours | number:am-pm | number:minutes | number:seconds )">
44 <!ENTITY
% date
-style
-content
"( (number:text,(%any-date;,number:text?)+) | (%any-date;,number:text?)+ )">
45 <!ELEMENT number
:date
-style ( style
:properties?
, %date
-style
-content
;, style
:map
* )>
46 <!ELEMENT number
:day EMPTY
>
47 <!ATTLIST number
:day number
:style (short|long
) "short">
48 <!ATTLIST number
:day number
:calendar CDATA #IMPLIED
>
49 <!ELEMENT number
:month EMPTY
>
50 <!ATTLIST number
:month number
:textual
%boolean
; "false">
51 <!ATTLIST number
:month number
:style (short|long
) "short">
52 <!ATTLIST number
:month number
:calendar CDATA #IMPLIED
>
53 <!ELEMENT number
:year EMPTY
>
54 <!ATTLIST number
:year number
:style (short|long
) "short">
55 <!ATTLIST number
:year number
:calendar CDATA #IMPLIED
>
56 <!ELEMENT number
:era EMPTY
>
57 <!ATTLIST number
:era number
:style (short|long
) "short">
58 <!ATTLIST number
:era number
:calendar CDATA #IMPLIED
>
59 <!ELEMENT number
:day
-of
-week EMPTY
>
60 <!ATTLIST number
:day
-of
-week number
:style (short|long
) "short">
61 <!ATTLIST number
:day
-of
-week number
:calendar CDATA #IMPLIED
>
62 <!ELEMENT number
:week
-of
-year EMPTY
>
63 <!ATTLIST number
:week
-of
-year number
:calendar CDATA #IMPLIED
>
64 <!ELEMENT number
:quarter EMPTY
>
65 <!ATTLIST number
:quarter number
:style (short|long
) "short">
66 <!ATTLIST number
:quarter number
:calendar CDATA #IMPLIED
>
68 <!ENTITY
% any
-time
"( number:hours | number:am-pm | number:minutes | number:seconds )">
69 <!ENTITY
% time
-style
-content
"( (number:text,(%any-time;,number:text?)+) | (%any-time;,number:text?)+)">
70 <!ELEMENT number
:time
-style ( style
:properties?
, %time
-style
-content
;, style
:map
* )>
71 <!ELEMENT number
:hours EMPTY
>
72 <!ATTLIST number
:hours number
:style (short|long
) "short">
73 <!ELEMENT number
:minutes EMPTY
>
74 <!ATTLIST number
:minutes number
:style (short|long
) "short">
75 <!ELEMENT number
:seconds EMPTY
>
76 <!ATTLIST number
:seconds number
:style (short|long
) "short">
77 <!ATTLIST number
:seconds number
:decimal
-places
%integer
; "0">
78 <!ELEMENT number
:am
-pm EMPTY
>
80 <!ENTITY
% boolean
-style
-content
"( (number:text,(number:boolean,number:text?)?) | (number:boolean,number:text?) )">
81 <!ELEMENT number
:boolean
-style ( style
:properties?
,%boolean
-style
-content
;, style
:map
* )>
82 <!ELEMENT number
:boolean EMPTY
>
84 <!ENTITY
% text
-style
-content
"( (number:text,(number:text-content,number:text?)?) | (number:text-content,number:text?) )">
85 <!ELEMENT number
:text
-style ( style
:properties?
,%text
-style
-content
;, style
:map
* )>
86 <!ELEMENT number
:text (#PCDATA
)>
87 <!ELEMENT number
:text
-content EMPTY
>
89 <!ATTLIST number
:number
-style style
:name
%styleName
; #REQUIRED
>
90 <!ATTLIST number
:currency
-style style
:name
%styleName
; #REQUIRED
>
91 <!ATTLIST number
:percentage
-style style
:name
%styleName
; #REQUIRED
>
92 <!ATTLIST number
:date
-style style
:name
%styleName
; #REQUIRED
>
93 <!ATTLIST number
:time
-style style
:name
%styleName
; #REQUIRED
>
94 <!ATTLIST number
:boolean
-style style
:name
%styleName
; #REQUIRED
>
95 <!ATTLIST number
:text
-style style
:name
%styleName
; #REQUIRED
>
97 <!-- The style
:family is redundant and therefore should not exist at all
-->
98 <!-- Since OOo
1.0/1.1 is exporting this attribute it is an #IMPLIED
-->
99 <!-- one to avoid validation errors.
-->
100 <!ATTLIST number
:number
-style style
:family CDATA #IMPLIED
>
101 <!ATTLIST number
:currency
-style style
:family CDATA #IMPLIED
>
102 <!ATTLIST number
:percentage
-style style
:family CDATA #IMPLIED
>
103 <!ATTLIST number
:date
-style style
:family CDATA #IMPLIED
>
104 <!ATTLIST number
:time
-style style
:family CDATA #IMPLIED
>
105 <!ATTLIST number
:boolean
-style style
:family CDATA #IMPLIED
>
106 <!ATTLIST number
:text
-style style
:family CDATA #IMPLIED
>
108 <!ATTLIST number
:number
-style number
:language CDATA #IMPLIED
>
109 <!ATTLIST number
:currency
-style number
:language CDATA #IMPLIED
>
110 <!ATTLIST number
:percentage
-style number
:language CDATA #IMPLIED
>
111 <!ATTLIST number
:date
-style number
:language CDATA #IMPLIED
>
112 <!ATTLIST number
:time
-style number
:language CDATA #IMPLIED
>
113 <!ATTLIST number
:boolean
-style number
:language CDATA #IMPLIED
>
114 <!ATTLIST number
:text
-style number
:language CDATA #IMPLIED
>
116 <!ATTLIST number
:number
-style number
:country CDATA #IMPLIED
>
117 <!ATTLIST number
:currency
-style number
:country CDATA #IMPLIED
>
118 <!ATTLIST number
:percentage
-style number
:country CDATA #IMPLIED
>
119 <!ATTLIST number
:date
-style number
:country CDATA #IMPLIED
>
120 <!ATTLIST number
:time
-style number
:country CDATA #IMPLIED
>
121 <!ATTLIST number
:boolean
-style number
:country CDATA #IMPLIED
>
122 <!ATTLIST number
:text
-style number
:country CDATA #IMPLIED
>
124 <!ATTLIST number
:number
-style number
:title CDATA #IMPLIED
>
125 <!ATTLIST number
:currency
-style number
:title CDATA #IMPLIED
>
126 <!ATTLIST number
:percentage
-style number
:title CDATA #IMPLIED
>
127 <!ATTLIST number
:date
-style number
:title CDATA #IMPLIED
>
128 <!ATTLIST number
:time
-style number
:title CDATA #IMPLIED
>
129 <!ATTLIST number
:boolean
-style number
:title CDATA #IMPLIED
>
130 <!ATTLIST number
:text
-style number
:title CDATA #IMPLIED
>
132 <!ATTLIST number
:number
-style style
:volatile
%boolean
; #IMPLIED
>
133 <!ATTLIST number
:currency
-style style
:volatile
%boolean
; #IMPLIED
>
134 <!ATTLIST number
:percentage
-style style
:volatile
%boolean
; #IMPLIED
>
135 <!ATTLIST number
:date
-style style
:volatile
%boolean
; #IMPLIED
>
136 <!ATTLIST number
:time
-style style
:volatile
%boolean
; #IMPLIED
>
137 <!ATTLIST number
:boolean
-style style
:volatile
%boolean
; #IMPLIED
>
138 <!ATTLIST number
:text
-style style
:volatile
%boolean
; #IMPLIED
>
140 <!ATTLIST number
:number
-style number
:transliteration
-format CDATA
"1">
141 <!ATTLIST number
:currency
-style number
:transliteration
-format CDATA
"1">
142 <!ATTLIST number
:percentage
-style number
:transliteration
-format CDATA
"1">
143 <!ATTLIST number
:date
-style number
:transliteration
-format CDATA
"1">
144 <!ATTLIST number
:time
-style number
:transliteration
-format CDATA
"1">
145 <!ATTLIST number
:boolean
-style number
:transliteration
-format CDATA
"1">
146 <!ATTLIST number
:text
-style number
:transliteration
-format CDATA
"1">
148 <!ATTLIST number
:number
-style number
:transliteration
-language CDATA #IMPLIED
>
149 <!ATTLIST number
:currency
-style number
:transliteration
-language CDATA #IMPLIED
>
150 <!ATTLIST number
:percentage
-style number
:transliteration
-language CDATA #IMPLIED
>
151 <!ATTLIST number
:date
-style number
:transliteration
-language CDATA #IMPLIED
>
152 <!ATTLIST number
:time
-style number
:transliteration
-language CDATA #IMPLIED
>
153 <!ATTLIST number
:boolean
-style number
:transliteration
-language CDATA #IMPLIED
>
154 <!ATTLIST number
:text
-style number
:transliteration
-language CDATA #IMPLIED
>
156 <!ATTLIST number
:number
-style number
:transliteration
-country CDATA #IMPLIED
>
157 <!ATTLIST number
:currency
-style number
:transliteration
-country CDATA #IMPLIED
>
158 <!ATTLIST number
:percentage
-style number
:transliteration
-country CDATA #IMPLIED
>
159 <!ATTLIST number
:date
-style number
:transliteration
-country CDATA #IMPLIED
>
160 <!ATTLIST number
:time
-style number
:transliteration
-country CDATA #IMPLIED
>
161 <!ATTLIST number
:boolean
-style number
:transliteration
-country CDATA #IMPLIED
>
162 <!ATTLIST number
:text
-style number
:transliteration
-country CDATA #IMPLIED
>
164 <!ATTLIST number
:number
-style number
:transliteration
-style (short|medium|long
) "short">
165 <!ATTLIST number
:currency
-style number
:transliteration
-style (short|medium|long
) "short">
166 <!ATTLIST number
:percentage
-style number
:transliteration
-style (short|medium|long
) "short">
167 <!ATTLIST number
:date
-style number
:transliteration
-style (short|medium|long
) "short">
168 <!ATTLIST number
:time
-style number
:transliteration
-style (short|medium|long
) "short">
169 <!ATTLIST number
:boolean
-style number
:transliteration
-style (short|medium|long
) "short">
170 <!ATTLIST number
:text
-style number
:transliteration
-style (short|medium|long
) "short">
172 <!ATTLIST number
:currency
-style number
:automatic
-order
%boolean
; "false">
173 <!ATTLIST number
:date
-style number
:automatic
-order
%boolean
; "false">
175 <!ATTLIST number
:date
-style number
:format
-source (fixed|language
) "fixed">
176 <!ATTLIST number
:time
-style number
:format
-source (fixed|language
) "fixed">
178 <!ATTLIST number
:time
-style number
:truncate
-on
-overflow
%boolean
; "true">
180 <!ATTLIST number
:number number
:decimal
-places
%integer
; #IMPLIED
>
181 <!ATTLIST number
:scientific
-number number
:decimal
-places
%integer
; #IMPLIED
>
183 <!ATTLIST number
:number number
:min
-integer
-digits
%integer
; #IMPLIED
>
184 <!ATTLIST number
:scientific
-number number
:min
-integer
-digits
%integer
; #IMPLIED
>
185 <!ATTLIST number
:fraction number
:min
-integer
-digits
%integer
; #IMPLIED
>
187 <!ATTLIST number
:number number
:grouping
%boolean
; "false">
188 <!ATTLIST number
:scientific
-number number
:grouping
%boolean
; "false">
189 <!ATTLIST number
:fraction number
:grouping
%boolean
; "false">
191 <!ATTLIST number
:number number
:decimal
-replacement CDATA #IMPLIED
>
193 <!ATTLIST number
:number number
:display
-factor
%float
; "1">
195 <!ATTLIST number
:scientific
-number number
:min
-exponent
-digits
%integer
; #IMPLIED
>
197 <!ATTLIST number
:fraction number
:min
-numerator
-digits
%integer
; #IMPLIED
>
199 <!ATTLIST number
:fraction number
:min
-denominator
-digits
%integer
; #IMPLIED
>