2001-02-27 15:17:32 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2001-02-27 11:19:03 +00:00
|
|
|
<!--
|
2001-06-08 11:09:37 +00:00
|
|
|
$Id: dialog.dtd,v 1.14 2001-06-08 12:09:37 dbo Exp $
|
2001-02-27 11:19:03 +00:00
|
|
|
|
|
|
|
The Contents of this file are made available subject to the terms of
|
|
|
|
either of the following licenses
|
|
|
|
|
|
|
|
- GNU Lesser General Public License Version 2.1
|
|
|
|
- Sun Industry Standards Source License Version 1.1
|
|
|
|
|
|
|
|
Sun Microsystems Inc., October, 2000
|
|
|
|
|
|
|
|
GNU Lesser General Public License Version 2.1
|
|
|
|
=============================================
|
|
|
|
Copyright 2000 by Sun Microsystems, Inc.
|
|
|
|
901 San Antonio Road, Palo Alto, CA 94303, USA
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
Software provided under this License is provided on an "AS IS" basis,
|
|
|
|
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
|
|
|
|
WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
|
|
|
|
MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
|
|
|
|
See the License for the specific provisions governing your rights and
|
|
|
|
obligations concerning the Software.
|
|
|
|
|
|
|
|
The Initial Developer of the Original Code is: Sun Microsystems, Inc.
|
|
|
|
|
|
|
|
Copyright: 2000 by Sun Microsystems, Inc.
|
|
|
|
|
|
|
|
All Rights Reserved.
|
|
|
|
|
|
|
|
Contributor(s): _______________________________________
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!ENTITY % boolean "(true|false)">
|
|
|
|
<!ENTITY % numeric "CDATA">
|
|
|
|
|
2001-03-14 15:42:17 +00:00
|
|
|
<!ENTITY % default-attributes "dlg:id CDATA #REQUIRED
|
|
|
|
dlg:left %numeric; #REQUIRED
|
|
|
|
dlg:top %numeric; #REQUIRED
|
|
|
|
dlg:width %numeric; #REQUIRED
|
|
|
|
dlg:height %numeric; #REQUIRED
|
|
|
|
dlg:style-id CDATA #IMPLIED
|
|
|
|
dlg:tab-index %numeric; #IMPLIED
|
|
|
|
dlg:disabled %boolean; #IMPLIED
|
|
|
|
dlg:printable %boolean; #IMPLIED
|
|
|
|
dlg:page %numeric; #IMPLIED
|
|
|
|
dlg:tag CDATA #IMPLIED
|
2001-04-04 13:35:09 +00:00
|
|
|
dlg:help-text CDATA #IMPLIED
|
|
|
|
dlg:help-url CDATA #IMPLIED
|
2001-02-27 11:19:03 +00:00
|
|
|
">
|
|
|
|
|
2001-03-14 15:42:17 +00:00
|
|
|
<!ENTITY % control "(dlg:bulletinboard|
|
|
|
|
dlg:button|
|
|
|
|
dlg:checkbox|
|
|
|
|
dlg:combobox|
|
|
|
|
dlg:menulist|
|
|
|
|
dlg:radiogroup|
|
|
|
|
dlg:titledbox|
|
|
|
|
dlg:textfield|
|
|
|
|
dlg:text|
|
|
|
|
dlg:filecontrol|
|
|
|
|
dlg:img|
|
|
|
|
dlg:timefield|
|
|
|
|
dlg:datefield|
|
|
|
|
dlg:numericfield|
|
|
|
|
dlg:currencyfield|
|
2001-05-04 12:17:40 +00:00
|
|
|
dlg:patternfield|
|
|
|
|
dlg:fixedline|
|
|
|
|
dlg:progressmeter|
|
|
|
|
dlg:scrollbar
|
2001-03-14 15:42:17 +00:00
|
|
|
)">
|
|
|
|
|
2001-04-04 13:35:09 +00:00
|
|
|
<!ELEMENT dlg:window (dlg:styles*, dlg:event*, dlg:bulletinboard*)>
|
2001-03-14 15:42:17 +00:00
|
|
|
<!ATTLIST dlg:window dlg:id CDATA #REQUIRED
|
|
|
|
dlg:left %numeric; #IMPLIED
|
|
|
|
dlg:top %numeric; #IMPLIED
|
|
|
|
dlg:width %numeric; #IMPLIED
|
|
|
|
dlg:height %numeric; #IMPLIED
|
2001-04-04 13:35:09 +00:00
|
|
|
dlg:style-id CDATA #IMPLIED
|
2001-03-14 15:42:17 +00:00
|
|
|
dlg:title CDATA #IMPLIED
|
|
|
|
dlg:page %numeric; #IMPLIED
|
|
|
|
dlg:tag CDATA #IMPLIED
|
2001-06-08 11:09:37 +00:00
|
|
|
dlg:help-text CDATA #IMPLIED
|
2001-05-08 10:49:08 +00:00
|
|
|
dlg:help-url CDATA #IMPLIED
|
2001-03-15 08:22:02 +00:00
|
|
|
xmlns:dlg CDATA #FIXED "http://openoffice.org/2000/dialog"
|
2001-03-14 15:42:17 +00:00
|
|
|
>
|
2001-02-27 11:19:03 +00:00
|
|
|
|
2001-03-14 15:42:17 +00:00
|
|
|
<!ELEMENT dlg:styles (dlg:style+)>
|
|
|
|
|
|
|
|
<!ELEMENT dlg:style EMPTY>
|
|
|
|
<!ATTLIST dlg:style dlg:style-id CDATA #REQUIRED
|
|
|
|
dlg:background-color %numeric; #IMPLIED
|
|
|
|
dlg:text-color %numeric; #IMPLIED
|
2001-05-04 12:17:40 +00:00
|
|
|
dlg:fill-color %numeric; #IMPLIED
|
2001-03-14 15:42:17 +00:00
|
|
|
dlg:border (none|3d|simple) #IMPLIED
|
|
|
|
dlg:font-name CDATA #IMPLIED
|
|
|
|
dlg:font-height %numeric; #IMPLIED
|
|
|
|
dlg:font-width %numeric; #IMPLIED
|
|
|
|
dlg:font-stylename CDATA #IMPLIED
|
|
|
|
dlg:font-family (decorative|modern|roman|script|swiss|system) #IMPLIED
|
|
|
|
dlg:font-charset (ansi|mac|ibmpc_437|ibmpc_850|ibmpc_860|ibmpc_861|ibmpc_863|ibmpc_865|system|symbol) #IMPLIED
|
|
|
|
dlg:font-pitch (fixed|variable) #IMPLIED
|
|
|
|
dlg:font-charwidth %numeric; #IMPLIED
|
|
|
|
dlg:font-weight %numeric; #IMPLIED
|
|
|
|
dlg:font-slant (oblique|italic|reverse_oblique|reverse_italic) #IMPLIED
|
|
|
|
dlg:font-underline (single|double|dotted|dash|longdash|dashdot|dashdotdot|smallwave|wave|doublewave|bold|bolddotted|bolddash|boldlongdash|bolddashdot|bolddashdotdot|boldwave) #IMPLIED
|
|
|
|
dlg:font-strikeout (single|double|bold|slash|x) #IMPLIED
|
|
|
|
dlg:font-orientation CDATA #IMPLIED
|
|
|
|
dlg:font-kerning %boolean; #IMPLIED
|
|
|
|
dlg:font-wordlinemode %boolean; #IMPLIED
|
|
|
|
dlg:font-type (raster|device|scalable) #IMPLIED
|
|
|
|
>
|
|
|
|
|
|
|
|
<!ELEMENT dlg:event EMPTY>
|
|
|
|
<!ATTLIST dlg:event dlg:listener-type CDATA #REQUIRED
|
|
|
|
dlg:event-method CDATA #REQUIRED
|
|
|
|
dlg:script-type CDATA #IMPLIED
|
|
|
|
dlg:script-code CDATA #IMPLIED
|
|
|
|
dlg:param CDATA #IMPLIED
|
|
|
|
>
|
2001-02-27 11:19:03 +00:00
|
|
|
|
2001-03-14 15:42:17 +00:00
|
|
|
<!ELEMENT dlg:bulletinboard ((%control;)*)>
|
|
|
|
<!ATTLIST dlg:bulletinboard dlg:left %numeric; #IMPLIED
|
|
|
|
dlg:top %numeric; #IMPLIED
|
|
|
|
>
|
|
|
|
|
|
|
|
<!ELEMENT dlg:button (dlg:event*)>
|
|
|
|
<!ATTLIST dlg:button %default-attributes;
|
|
|
|
dlg:value CDATA #IMPLIED
|
|
|
|
dlg:default %boolean; #IMPLIED
|
|
|
|
dlg:tabstop %boolean; #IMPLIED
|
|
|
|
>
|
2001-02-27 11:19:03 +00:00
|
|
|
|
2001-03-14 15:42:17 +00:00
|
|
|
<!ELEMENT dlg:checkbox (dlg:event*)>
|
|
|
|
<!ATTLIST dlg:checkbox %default-attributes;
|
|
|
|
dlg:value CDATA #IMPLIED
|
|
|
|
dlg:checked %boolean; #IMPLIED
|
|
|
|
dlg:tristate %boolean; #IMPLIED
|
|
|
|
dlg:tabstop %boolean; #IMPLIED
|
|
|
|
>
|
2001-02-27 11:19:03 +00:00
|
|
|
|
2001-03-14 15:42:17 +00:00
|
|
|
<!ELEMENT dlg:combobox (dlg:menupopup?, dlg:event*)>
|
|
|
|
<!ATTLIST dlg:combobox %default-attributes;
|
|
|
|
dlg:tabstop %boolean; #IMPLIED
|
|
|
|
dlg:readonly %boolean; #IMPLIED
|
|
|
|
dlg:autocomplete %boolean; #IMPLIED
|
|
|
|
dlg:spin %boolean; #IMPLIED
|
|
|
|
dlg:maxlength %numeric; #IMPLIED
|
|
|
|
dlg:linecount %numeric; #IMPLIED
|
|
|
|
dlg:value CDATA #IMPLIED
|
|
|
|
>
|
2001-02-27 11:19:03 +00:00
|
|
|
|
2001-03-14 15:42:17 +00:00
|
|
|
<!ELEMENT dlg:menulist (dlg:menupopup?, dlg:event*)>
|
|
|
|
<!ATTLIST dlg:menulist %default-attributes;
|
|
|
|
dlg:tabstop %boolean; #IMPLIED
|
|
|
|
dlg:spin %boolean; #IMPLIED
|
|
|
|
dlg:multiselection %boolean; #IMPLIED
|
|
|
|
dlg:linecount %numeric; #IMPLIED
|
2001-02-27 11:19:03 +00:00
|
|
|
>
|
|
|
|
|
2001-03-14 15:42:17 +00:00
|
|
|
<!ELEMENT dlg:menupopup (dlg:menuitem+)>
|
|
|
|
<!ELEMENT dlg:menuitem EMPTY>
|
|
|
|
<!ATTLIST dlg:menuitem dlg:value CDATA #REQUIRED
|
|
|
|
dlg:selected %boolean; #IMPLIED
|
2001-02-27 11:19:03 +00:00
|
|
|
>
|
|
|
|
|
2001-03-14 15:42:17 +00:00
|
|
|
<!ELEMENT dlg:radiogroup (dlg:radio+)>
|
|
|
|
<!ELEMENT dlg:radio (dlg:event*)>
|
|
|
|
<!ATTLIST dlg:radio %default-attributes;
|
|
|
|
dlg:tabstop %boolean; #IMPLIED
|
|
|
|
dlg:value CDATA #IMPLIED
|
|
|
|
dlg:checked %boolean; #IMPLIED
|
|
|
|
>
|
|
|
|
|
|
|
|
<!ELEMENT dlg:titledbox (dlg:title?, dlg:radio*, (%control;)*)>
|
|
|
|
<!ATTLIST dlg:titledbox %default-attributes;
|
|
|
|
>
|
|
|
|
<!ELEMENT dlg:title EMPTY>
|
|
|
|
<!ATTLIST dlg:title dlg:value CDATA #IMPLIED
|
|
|
|
>
|
|
|
|
|
|
|
|
<!ELEMENT dlg:text EMPTY>
|
|
|
|
<!ATTLIST dlg:text %default-attributes;
|
|
|
|
dlg:align (left|center|right|none) #IMPLIED
|
|
|
|
dlg:multiline %boolean; #IMPLIED
|
|
|
|
dlg:value CDATA #IMPLIED
|
|
|
|
>
|
|
|
|
|
|
|
|
<!ELEMENT dlg:textfield (dlg:event*)>
|
|
|
|
<!ATTLIST dlg:textfield %default-attributes;
|
|
|
|
dlg:tabstop %boolean; #IMPLIED
|
|
|
|
dlg:align (left|center|right|none) #IMPLIED
|
|
|
|
dlg:readonly %boolean; #IMPLIED
|
|
|
|
dlg:echochar CDATA #IMPLIED
|
|
|
|
dlg:hard-linebreaks %boolean; #IMPLIED
|
|
|
|
dlg:hscroll %boolean; #IMPLIED
|
|
|
|
dlg:vscroll %boolean; #IMPLIED
|
|
|
|
dlg:maxlength %numeric; #IMPLIED
|
|
|
|
dlg:multiline %boolean; #IMPLIED
|
|
|
|
dlg:value CDATA #IMPLIED
|
|
|
|
>
|
2001-02-27 11:19:03 +00:00
|
|
|
|
2001-03-14 15:42:17 +00:00
|
|
|
<!ELEMENT dlg:img (dlg:event*)>
|
|
|
|
<!ATTLIST dlg:img %default-attributes;
|
|
|
|
dlg:src CDATA #IMPLIED
|
|
|
|
>
|
2001-02-27 11:19:03 +00:00
|
|
|
|
2001-03-14 15:42:17 +00:00
|
|
|
<!ELEMENT dlg:filecontrol (dlg:event*)>
|
|
|
|
<!ATTLIST dlg:filecontrol %default-attributes;
|
|
|
|
dlg:tabstop %boolean; #IMPLIED
|
|
|
|
dlg:value CDATA #IMPLIED
|
|
|
|
>
|
|
|
|
|
|
|
|
<!ELEMENT dlg:currencyfield (dlg:event*)>
|
|
|
|
<!ATTLIST dlg:currencyfield %default-attributes;
|
|
|
|
dlg:tabstop %boolean; #IMPLIED
|
|
|
|
dlg:readonly %boolean; #IMPLIED
|
|
|
|
dlg:currency-symbol CDATA #IMPLIED
|
|
|
|
dlg:strict-format %boolean; #IMPLIED
|
|
|
|
dlg:decimal-accuracy %numeric; #IMPLIED
|
|
|
|
dlg:thousands-separator %boolean; #IMPLIED
|
|
|
|
dlg:value %numeric; #IMPLIED
|
|
|
|
dlg:value-min %numeric; #IMPLIED
|
|
|
|
dlg:value-max %numeric; #IMPLIED
|
|
|
|
dlg:value-step %numeric; #IMPLIED
|
|
|
|
dlg:spin %boolean; #IMPLIED
|
|
|
|
>
|
|
|
|
|
|
|
|
<!ELEMENT dlg:datefield (dlg:event*)>
|
|
|
|
<!ATTLIST dlg:datefield %default-attributes;
|
|
|
|
dlg:tabstop %boolean; #IMPLIED
|
|
|
|
dlg:readonly %boolean; #IMPLIED
|
|
|
|
dlg:strict-format %boolean; #IMPLIED
|
|
|
|
dlg:date-format (system_short|system_short_YY|system_short_YYYY|system_long|short_DDMMYY|short_MMDDYY|short_YYMMDD|short_DDMMYYYY|short_MMDDYYYY|short_YYYYMMDD|short_YYMMDD_DIN5008|short_YYYYMMDD_DIN5008) #IMPLIED
|
|
|
|
dlg:value CDATA #IMPLIED
|
|
|
|
dlg:value-min CDATA #IMPLIED
|
|
|
|
dlg:value-max CDATA #IMPLIED
|
|
|
|
dlg:spin %boolean; #IMPLIED
|
|
|
|
>
|
2001-02-27 11:19:03 +00:00
|
|
|
|
2001-03-14 15:42:17 +00:00
|
|
|
<!ELEMENT dlg:numericfield (dlg:event*)>
|
|
|
|
<!ATTLIST dlg:numericfield %default-attributes;
|
|
|
|
dlg:tabstop %boolean; #IMPLIED
|
|
|
|
dlg:readonly %boolean; #IMPLIED
|
|
|
|
dlg:strict-format %boolean; #IMPLIED
|
|
|
|
dlg:decimal-accuracy %numeric; #IMPLIED
|
|
|
|
dlg:thousands-separator %boolean; #IMPLIED
|
|
|
|
dlg:value %numeric; #IMPLIED
|
|
|
|
dlg:value-min %numeric; #IMPLIED
|
|
|
|
dlg:value-max %numeric; #IMPLIED
|
|
|
|
dlg:value-step %numeric; #IMPLIED
|
|
|
|
dlg:spin %boolean; #IMPLIED
|
2001-02-27 11:19:03 +00:00
|
|
|
>
|
2001-03-01 10:22:45 +00:00
|
|
|
|
2001-03-14 15:42:17 +00:00
|
|
|
<!ELEMENT dlg:timefield (dlg:event*)>
|
|
|
|
<!ATTLIST dlg:timefield %default-attributes;
|
|
|
|
dlg:tabstop %boolean; #IMPLIED
|
|
|
|
dlg:readonly %boolean; #IMPLIED
|
|
|
|
dlg:strict-format %boolean; #IMPLIED
|
|
|
|
dlg:time-format (24h_short|24h_long|12h_short|12h_long|Duration_short|Duration_long) #IMPLIED
|
|
|
|
dlg:value CDATA #IMPLIED
|
|
|
|
dlg:value-min CDATA #IMPLIED
|
|
|
|
dlg:value-max CDATA #IMPLIED
|
|
|
|
dlg:spin %boolean; #IMPLIED
|
|
|
|
>
|
2001-02-27 11:19:03 +00:00
|
|
|
|
2001-03-14 15:42:17 +00:00
|
|
|
<!ELEMENT dlg:patternfield (dlg:event*)>
|
|
|
|
<!ATTLIST dlg:patternfield %default-attributes;
|
|
|
|
dlg:tabstop %boolean; #IMPLIED
|
|
|
|
dlg:readonly %boolean; #IMPLIED
|
|
|
|
dlg:strict-format %boolean; #IMPLIED
|
|
|
|
dlg:value CDATA #IMPLIED
|
|
|
|
dlg:edit-mask CDATA #IMPLIED
|
|
|
|
dlg:literal-mask CDATA #IMPLIED
|
|
|
|
>
|
2001-05-04 12:17:40 +00:00
|
|
|
|
|
|
|
<!ELEMENT dlg:fixedline (dlg:event*)>
|
|
|
|
<!ATTLIST dlg:fixedline %default-attributes;
|
|
|
|
dlg:align (horizontal|vertical) #IMPLIED
|
|
|
|
dlg:value CDATA #IMPLIED
|
|
|
|
>
|
|
|
|
|
|
|
|
<!ELEMENT dlg:scrollbar (dlg:event*)>
|
|
|
|
<!ATTLIST dlg:scrollbar %default-attributes;
|
|
|
|
dlg:align (horizontal|vertical) #IMPLIED
|
2001-06-08 11:09:37 +00:00
|
|
|
dlg:curpos %numeric; #IMPLIED
|
|
|
|
dlg:maxpos %numeric; #IMPLIED
|
|
|
|
dlg:increment %numeric; #IMPLIED
|
|
|
|
dlg:pageincrement %numeric; #IMPLIED
|
|
|
|
dlg:visible-size %numeric; #IMPLIED
|
2001-05-04 12:17:40 +00:00
|
|
|
>
|
|
|
|
|
|
|
|
<!ELEMENT dlg:progressmeter (dlg:event*)>
|
|
|
|
<!ATTLIST dlg:progressmeter %default-attributes;
|
2001-06-08 11:09:37 +00:00
|
|
|
dlg:value %numeric; #IMPLIED
|
|
|
|
dlg:value-min %numeric; #IMPLIED
|
|
|
|
dlg:value-max %numeric; #IMPLIED
|
2001-05-04 12:17:40 +00:00
|
|
|
>
|