office-gobmx/xmloff/dtd/datastyl.mod

198 lines
9.6 KiB
Modula-2
Raw Normal View History

2000-09-29 10:16:04 -05:00
<!--
2000-10-18 11:24:56 -05:00
2000-12-15 06:55:41 -06:00
$Id: datastyl.mod,v 1.7 2000-12-15 13:55:41 mib Exp $
2000-09-29 10:16:04 -05:00
The Contents of this file are made available subject to the terms of
either of the following licenses
2000-10-18 11:24:56 -05:00
2000-09-29 10:16:04 -05:00
- GNU Lesser General Public License Version 2.1
- Sun Industry Standards Source License Version 1.1
2000-10-18 11:24:56 -05:00
2000-09-29 10:16:04 -05:00
Sun Microsystems Inc., October, 2000
2000-10-18 11:24:56 -05:00
2000-09-29 10:16:04 -05:00
GNU Lesser General Public License Version 2.1
=============================================
Copyright 2000 by Sun Microsystems, Inc.
901 San Antonio Road, Palo Alto, CA 94303, USA
2000-10-18 11:24:56 -05:00
2000-09-29 10:16:04 -05:00
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License version 2.1, as published by the Free Software Foundation.
2000-10-18 11:24:56 -05:00
2000-09-29 10:16:04 -05:00
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
2000-10-18 11:24:56 -05:00
2000-09-29 10:16:04 -05:00
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston,
MA 02111-1307 USA
2000-10-18 11:24:56 -05:00
2000-09-29 10:16:04 -05:00
Sun Industry Standards Source License Version 1.1
=================================================
The contents of this file are subject to the Sun Industry Standards
Source License Version 1.1 (the "License"); You may not use this file
except in compliance with the License. You may obtain a copy of the
License at http://www.openoffice.org/license.html.
2000-10-18 11:24:56 -05:00
2000-09-29 10:16:04 -05:00
Software provided under this License is provided on an "AS IS" basis,
2000-12-15 06:55:41 -06:00
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
2000-09-29 10:16:04 -05:00
MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
See the License for the specific provisions governing your rights and
obligations concerning the Software.
2000-10-18 11:24:56 -05:00
2000-12-15 06:55:41 -06:00
The Initial Developer of the Original Code is: Sun Microsystems, Inc.
2000-10-18 11:24:56 -05:00
2000-09-29 10:16:04 -05:00
Copyright: 2000 by Sun Microsystems, Inc.
2000-10-18 11:24:56 -05:00
2000-09-29 10:16:04 -05:00
All Rights Reserved.
2000-10-18 11:24:56 -05:00
2000-09-29 10:16:04 -05:00
Contributor(s): _______________________________________
2000-10-18 11:24:56 -05:00
2000-09-29 10:16:04 -05:00
-->
<!-- data styles -->
<!ENTITY % any-number "( number:number | number:scientific-number | number:fraction )">
2000-10-24 05:21:33 -05:00
<!ENTITY % number-style-content "( (number:text,(%any-number;,number:text?)?) | (%any-number;,number:text?) )">
2000-10-18 11:24:56 -05:00
<!ELEMENT number:number-style ( style:properties?, %number-style-content;, style:map* )>
2000-09-29 10:16:04 -05:00
<!ELEMENT number:number EMPTY>
<!ELEMENT number:scientific-number EMPTY>
<!ELEMENT number:fraction EMPTY>
<!ENTITY % currency-symbol-and-text "(number:currency-symbol,number:text?)">
2000-10-24 05:21:33 -05:00
<!ENTITY % number-and-text "(number:number,number:text?)">
<!ENTITY % currency-symbol-and-number "( (%number-and-text;,%currency-symbol-and-text;?) | (%currency-symbol-and-text;,%number-and-text;?) )">
<!ENTITY % currency-style-content "( number:text?, %currency-symbol-and-number;? )">
2000-10-24 05:21:33 -05:00
2000-10-18 11:24:56 -05:00
<!ELEMENT number:currency-style ( style:properties?, %currency-style-content;, style:map* )>
2000-09-29 10:16:04 -05:00
<!ELEMENT number:currency-symbol (#PCDATA)>
<!ATTLIST number:currency-symbol number:language CDATA #IMPLIED>
<!ATTLIST number:currency-symbol number:country CDATA #IMPLIED>
2000-10-24 05:21:33 -05:00
<!ENTITY % percentage-style-content "( (number:text,%number-and-text;?) | %number-and-text; )">
2000-10-18 11:24:56 -05:00
<!ELEMENT number:percentage-style ( style:properties?, %percentage-style-content;, style:map* )>
2000-09-29 10:16:04 -05:00
2000-11-30 03:15:16 -06:00
<!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 )">
2000-10-24 05:21:33 -05:00
<!ENTITY % date-style-content "( (number:text,(%any-date;,number:text?)+) | (%any-date;,number:text?)+ )">
2000-10-18 11:24:56 -05:00
<!ELEMENT number:date-style ( style:properties?, %date-style-content;, style:map* )>
2000-09-29 10:16:04 -05:00
<!ELEMENT number:day EMPTY>
<!ATTLIST number:day number:style (short|long) "short">
2000-12-02 08:57:54 -06:00
<!ATTLIST number:day number:calendar CDATA #IMPLIED>
2000-09-29 10:16:04 -05:00
<!ELEMENT number:month EMPTY>
<!ATTLIST number:month number:textual %boolean; "false">
<!ATTLIST number:month number:style (short|long) "short">
2000-12-02 08:57:54 -06:00
<!ATTLIST number:month number:calendar CDATA #IMPLIED>
2000-09-29 10:16:04 -05:00
<!ELEMENT number:year EMPTY>
<!ATTLIST number:year number:style (short|long) "short">
2000-12-02 08:57:54 -06:00
<!ATTLIST number:year number:calendar CDATA #IMPLIED>
2000-11-30 03:15:16 -06:00
<!ELEMENT number:era EMPTY>
<!ATTLIST number:era number:style (short|long) "short">
2000-12-02 08:57:54 -06:00
<!ATTLIST number:era number:calendar CDATA #IMPLIED>
2000-09-29 10:16:04 -05:00
<!ELEMENT number:day-of-week EMPTY>
<!ATTLIST number:day-of-week number:style (short|long) "short">
2000-12-02 08:57:54 -06:00
<!ATTLIST number:day-of-week number:calendar CDATA #IMPLIED>
2000-09-29 10:16:04 -05:00
<!ELEMENT number:week-of-year EMPTY>
2000-12-02 08:57:54 -06:00
<!ATTLIST number:week-of-year number:calendar CDATA #IMPLIED>
2000-09-29 10:16:04 -05:00
<!ELEMENT number:quarter EMPTY>
<!ATTLIST number:quarter number:style (short|long) "short">
2000-12-02 08:57:54 -06:00
<!ATTLIST number:quarter number:calendar CDATA #IMPLIED>
2000-09-29 10:16:04 -05:00
<!ENTITY % any-time "( number:hours | number:am-pm | number:minutes | number:seconds )">
2000-10-24 05:21:33 -05:00
<!ENTITY % time-style-content "( (number:text,(%any-time;,number:text?)+) | (%any-time;,number:text?)+)">
2000-10-18 11:24:56 -05:00
<!ELEMENT number:time-style ( style:properties?, %time-style-content;, style:map* )>
2000-09-29 10:16:04 -05:00
<!ELEMENT number:hours EMPTY>
<!ATTLIST number:hours number:style (short|long) "short">
<!ELEMENT number:minutes EMPTY>
<!ATTLIST number:minutes number:style (short|long) "short">
<!ELEMENT number:seconds EMPTY>
<!ATTLIST number:seconds number:style (short|long) "short">
<!ATTLIST number:seconds number:decimal-places %integer; "0">
<!ELEMENT number:am-pm EMPTY>
2000-10-24 05:21:33 -05:00
<!ENTITY % boolean-style-content "( (number:text,(number:boolean,number:text?)?) | (number:boolean,number:text?) )">
2000-10-18 11:24:56 -05:00
<!ELEMENT number:boolean-style ( style:properties?,%boolean-style-content;, style:map* )>
2000-09-29 10:16:04 -05:00
<!ELEMENT number:boolean EMPTY>
2000-10-24 05:21:33 -05:00
<!ENTITY % text-style-content "( (number:text,(number:text-content,number:text?)?) | (number:text-content,number:text?) )">
2000-10-18 11:24:56 -05:00
<!ELEMENT number:text-style ( style:properties?,%text-style-content;, style:map* )>
2000-09-29 10:16:04 -05:00
<!ELEMENT number:text (#PCDATA)>
<!ELEMENT number:text-content EMPTY>
<!ATTLIST number:number-style style:name %styleName; #REQUIRED>
<!ATTLIST number:currency-style style:name %styleName; #REQUIRED>
<!ATTLIST number:percentage-style style:name %styleName; #REQUIRED>
<!ATTLIST number:date-style style:name %styleName; #REQUIRED>
<!ATTLIST number:time-style style:name %styleName; #REQUIRED>
<!ATTLIST number:boolean-style style:name %styleName; #REQUIRED>
<!ATTLIST number:text-style style:name %styleName; #REQUIRED>
<!ATTLIST number:number-style style:family CDATA #REQUIRED>
<!ATTLIST number:currency-style style:family CDATA #REQUIRED>
<!ATTLIST number:percentage-style style:family CDATA #REQUIRED>
<!ATTLIST number:date-style style:family CDATA #REQUIRED>
<!ATTLIST number:time-style style:family CDATA #REQUIRED>
<!ATTLIST number:boolean-style style:family CDATA #REQUIRED>
<!ATTLIST number:text-style style:family CDATA #REQUIRED>
<!ATTLIST number:number-style number:language CDATA #IMPLIED>
<!ATTLIST number:currency-style number:language CDATA #IMPLIED>
<!ATTLIST number:percentage-style number:language CDATA #IMPLIED>
<!ATTLIST number:date-style number:language CDATA #IMPLIED>
<!ATTLIST number:time-style number:language CDATA #IMPLIED>
<!ATTLIST number:boolean-style number:language CDATA #IMPLIED>
<!ATTLIST number:text-style number:language CDATA #IMPLIED>
<!ATTLIST number:number-style number:country CDATA #IMPLIED>
<!ATTLIST number:currency-style number:country CDATA #IMPLIED>
<!ATTLIST number:percentage-style number:country CDATA #IMPLIED>
<!ATTLIST number:date-style number:country CDATA #IMPLIED>
<!ATTLIST number:time-style number:country CDATA #IMPLIED>
<!ATTLIST number:boolean-style number:country CDATA #IMPLIED>
<!ATTLIST number:text-style number:country CDATA #IMPLIED>
<!ATTLIST number:number-style number:title CDATA #IMPLIED>
<!ATTLIST number:currency-style number:title CDATA #IMPLIED>
<!ATTLIST number:percentage-style number:title CDATA #IMPLIED>
<!ATTLIST number:date-style number:title CDATA #IMPLIED>
<!ATTLIST number:time-style number:title CDATA #IMPLIED>
<!ATTLIST number:boolean-style number:title CDATA #IMPLIED>
<!ATTLIST number:text-style number:title CDATA #IMPLIED>
<!ATTLIST number:number-style style:volatile %boolean; #IMPLIED>
<!ATTLIST number:currency-style style:volatile %boolean; #IMPLIED>
<!ATTLIST number:percentage-style style:volatile %boolean; #IMPLIED>
<!ATTLIST number:date-style style:volatile %boolean; #IMPLIED>
<!ATTLIST number:time-style style:volatile %boolean; #IMPLIED>
<!ATTLIST number:boolean-style style:volatile %boolean; #IMPLIED>
<!ATTLIST number:text-style style:volatile %boolean; #IMPLIED>
<!ATTLIST number:currency-style number:automatic-order %boolean; "false">
<!ATTLIST number:date-style number:automatic-order %boolean; "false">
<!ATTLIST number:date-style number:format-source (fixed|language) "fixed">
<!ATTLIST number:time-style number:format-source (fixed|language) "fixed">
<!ATTLIST number:time-style number:truncate-on-overflow %boolean; "true">
<!ATTLIST number:number number:decimal-places %integer; #IMPLIED>
<!ATTLIST number:scientific-number number:decimal-places %integer; #IMPLIED>
<!ATTLIST number:number number:min-integer-digits %integer; #IMPLIED>
<!ATTLIST number:scientific-number number:min-integer-digits %integer; #IMPLIED>
<!ATTLIST number:fraction number:min-integer-digits %integer; #IMPLIED>
<!ATTLIST number:number number:grouping %boolean; "false">
<!ATTLIST number:scientific-number number:grouping %boolean; "false">
<!ATTLIST number:fraction number:grouping %boolean; "false">
<!ATTLIST number:number number:decimal-replacement CDATA #IMPLIED>
<!ATTLIST number:scientific-number number:min-exponent-digits %integer; #IMPLIED>
<!ATTLIST number:fraction number:min-numerator-digits %integer; #IMPLIED>
<!ATTLIST number:fraction number:min-denominator-digits %integer; #IMPLIED>