home *** CD-ROM | disk | FTP | other *** search
/ com!online 2001 December / COMCD1201.iso / openoffice / f_0240 / dialog.dtd
Encoding:
Extensible Markup Language  |  2001-08-16  |  15.1 KB  |  345 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3.         $Id: dialog.dtd,v 1.17 2001/08/16 14:11:24 dbo Exp $
  4.  
  5.    The Contents of this file are made available subject to the terms of
  6.    either of the following licenses
  7.  
  8.           - GNU Lesser General Public License Version 2.1
  9.           - Sun Industry Standards Source License Version 1.1
  10.  
  11.    Sun Microsystems Inc., October, 2000
  12.  
  13.    GNU Lesser General Public License Version 2.1
  14.    =============================================
  15.    Copyright 2000 by Sun Microsystems, Inc.
  16.    901 San Antonio Road, Palo Alto, CA 94303, USA
  17.  
  18.    This library is free software; you can redistribute it and/or
  19.    modify it under the terms of the GNU Lesser General Public
  20.    License version 2.1, as published by the Free Software Foundation.
  21.  
  22.    This library is distributed in the hope that it will be useful,
  23.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  24.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  25.    Lesser General Public License for more details.
  26.  
  27.    You should have received a copy of the GNU Lesser General Public
  28.    License along with this library; if not, write to the Free Software
  29.    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  30.    MA  02111-1307  USA
  31.  
  32.  
  33.    Sun Industry Standards Source License Version 1.1
  34.    =================================================
  35.    The contents of this file are subject to the Sun Industry Standards
  36.    Source License Version 1.1 (the "License"); You may not use this file
  37.    except in compliance with the License. You may obtain a copy of the
  38.    License at http://www.openoffice.org/license.html.
  39.  
  40.    Software provided under this License is provided on an "AS IS" basis,
  41.    WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
  42.    WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
  43.    MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
  44.    See the License for the specific provisions governing your rights and
  45.    obligations concerning the Software.
  46.  
  47.    The Initial Developer of the Original Code is: Sun Microsystems, Inc.
  48.  
  49.    Copyright: 2000 by Sun Microsystems, Inc.
  50.  
  51.    All Rights Reserved.
  52.  
  53.    Contributor(s): _______________________________________
  54.  
  55. -->
  56.  
  57. <!ENTITY % boolean "(true|false)">
  58. <!ENTITY % numeric "CDATA">
  59.  
  60. <!ENTITY % default-attributes "dlg:id CDATA #REQUIRED
  61.                                dlg:left %numeric; #REQUIRED
  62.                                dlg:top %numeric; #REQUIRED
  63.                                dlg:width %numeric; #REQUIRED
  64.                                dlg:height %numeric; #REQUIRED
  65.                                dlg:style-id CDATA #IMPLIED
  66.                                dlg:tab-index %numeric; #IMPLIED
  67.                                dlg:disabled %boolean; #IMPLIED
  68.                                dlg:printable %boolean; #IMPLIED
  69.                                dlg:page %numeric; #IMPLIED
  70.                                dlg:tag CDATA #IMPLIED
  71.                                dlg:help-text CDATA #IMPLIED
  72.                                dlg:help-url CDATA #IMPLIED
  73.                                ">
  74.  
  75. <!ENTITY % event "(script:event|
  76.            script:listener-event|
  77.            dlg:event
  78.           )">
  79.  
  80. <!ENTITY % control "(dlg:bulletinboard|
  81.                      dlg:button|
  82.                      dlg:checkbox|
  83.                      dlg:combobox|
  84.                      dlg:menulist|
  85.                      dlg:radiogroup|
  86.                      dlg:titledbox|
  87.                      dlg:textfield|
  88.                      dlg:text|
  89.                      dlg:filecontrol|
  90.                      dlg:img|
  91.                      dlg:timefield|
  92.                      dlg:datefield|
  93.                      dlg:numericfield|
  94.                      dlg:currencyfield|
  95.                      dlg:patternfield|
  96.                      dlg:fixedline|
  97.                      dlg:progressmeter|
  98.                      dlg:scrollbar
  99.                     )">
  100.  
  101. <!ELEMENT dlg:window (dlg:styles*, (%event;)*, dlg:bulletinboard*)>
  102. <!ATTLIST dlg:window dlg:id CDATA #REQUIRED
  103.                      dlg:left %numeric; #IMPLIED
  104.                      dlg:top %numeric; #IMPLIED
  105.                      dlg:width %numeric; #IMPLIED
  106.                      dlg:height %numeric; #IMPLIED
  107.                      dlg:style-id CDATA #IMPLIED
  108.                      dlg:title CDATA #IMPLIED
  109.                      dlg:page %numeric; #IMPLIED
  110.                      dlg:tag CDATA #IMPLIED
  111.                      dlg:help-text CDATA #IMPLIED
  112.                      dlg:help-url CDATA #IMPLIED
  113.                      xmlns:dlg CDATA #FIXED "http://openoffice.org/2000/dialog"
  114.                      xmlns:script CDATA #FIXED "http://openoffice.org/2000/script"
  115.                      >
  116.  
  117. <!ELEMENT dlg:styles (dlg:style+)>
  118.  
  119. <!ELEMENT dlg:style EMPTY>
  120. <!ATTLIST dlg:style dlg:style-id CDATA #REQUIRED
  121.                     dlg:background-color %numeric; #IMPLIED
  122.                     dlg:text-color %numeric; #IMPLIED
  123.                     dlg:fill-color %numeric; #IMPLIED
  124.                     dlg:border (none|3d|simple) #IMPLIED
  125.                     dlg:font-name CDATA #IMPLIED
  126.                     dlg:font-height %numeric; #IMPLIED
  127.                     dlg:font-width %numeric; #IMPLIED
  128.                     dlg:font-stylename CDATA #IMPLIED
  129.                     dlg:font-family (decorative|modern|roman|script|swiss|system) #IMPLIED
  130.                     dlg:font-charset (ansi|mac|ibmpc_437|ibmpc_850|ibmpc_860|ibmpc_861|ibmpc_863|ibmpc_865|system|symbol) #IMPLIED
  131.                     dlg:font-pitch (fixed|variable) #IMPLIED
  132.                     dlg:font-charwidth %numeric; #IMPLIED
  133.                     dlg:font-weight %numeric; #IMPLIED
  134.                     dlg:font-slant (oblique|italic|reverse_oblique|reverse_italic) #IMPLIED
  135.                     dlg:font-underline (single|double|dotted|dash|longdash|dashdot|dashdotdot|smallwave|wave|doublewave|bold|bolddotted|bolddash|boldlongdash|bolddashdot|bolddashdotdot|boldwave) #IMPLIED
  136.                     dlg:font-strikeout (single|double|bold|slash|x) #IMPLIED
  137.                     dlg:font-orientation CDATA #IMPLIED
  138.                     dlg:font-kerning %boolean; #IMPLIED
  139.                     dlg:font-wordlinemode %boolean; #IMPLIED
  140.                     dlg:font-type (raster|device|scalable) #IMPLIED
  141.                     >
  142.  
  143. <!ELEMENT script:event EMPTY>
  144. <!ATTLIST script:event script:location CDATA #IMPLIED
  145.                script:language CDATA #REQUIRED
  146.                script:macro-name CDATA #REQUIRED
  147.                        script:event-name CDATA #REQUIRED
  148.                >
  149. <!ELEMENT script:listener-event EMPTY>
  150. <!ATTLIST script:listener-event script:location CDATA #IMPLIED
  151.                 script:language CDATA #REQUIRED
  152.                 script:macro-name CDATA #REQUIRED
  153.                 script:listener-type CDATA #REQUIRED
  154.                 script:listener-method CDATA #REQUIRED
  155.                 script:listener-param CDATA #IMPLIED
  156.                 >
  157. <!-- deprecated -->
  158. <!ELEMENT dlg:event EMPTY>
  159. <!ATTLIST dlg:event dlg:listener-type CDATA #REQUIRED
  160.                     dlg:event-method CDATA #REQUIRED
  161.                     dlg:script-type CDATA #IMPLIED
  162.                     dlg:script-code CDATA #IMPLIED
  163.                     dlg:param CDATA #IMPLIED
  164.                     >
  165. <!-- /deprecated -->
  166.                         
  167. <!ELEMENT dlg:bulletinboard ((%control;)*)>
  168. <!ATTLIST dlg:bulletinboard dlg:left %numeric; #IMPLIED
  169.                             dlg:top %numeric; #IMPLIED
  170.                             >
  171.  
  172. <!ELEMENT dlg:button ((%event;)*)>
  173. <!ATTLIST dlg:button %default-attributes;
  174.                      dlg:value CDATA #IMPLIED
  175.                      dlg:default %boolean; #IMPLIED
  176.                      dlg:tabstop %boolean; #IMPLIED
  177.                      >
  178.  
  179. <!ELEMENT dlg:checkbox ((%event;)*)>
  180. <!ATTLIST dlg:checkbox %default-attributes;
  181.                        dlg:value CDATA #IMPLIED
  182.                        dlg:checked %boolean; #IMPLIED
  183.                        dlg:tristate %boolean; #IMPLIED
  184.                        dlg:tabstop %boolean; #IMPLIED
  185.                        >
  186.  
  187. <!ELEMENT dlg:combobox (dlg:menupopup?, (%event;)*)>
  188. <!ATTLIST dlg:combobox %default-attributes;
  189.                        dlg:tabstop %boolean; #IMPLIED
  190.                        dlg:readonly %boolean; #IMPLIED
  191.                        dlg:autocomplete %boolean; #IMPLIED
  192.                        dlg:spin %boolean; #IMPLIED
  193.                        dlg:maxlength %numeric; #IMPLIED
  194.                        dlg:linecount %numeric; #IMPLIED
  195.                        dlg:value CDATA #IMPLIED
  196.                        >
  197.  
  198. <!ELEMENT dlg:menulist (dlg:menupopup?, (%event;)*)>
  199. <!ATTLIST dlg:menulist %default-attributes;
  200.                        dlg:tabstop %boolean; #IMPLIED
  201.                        dlg:spin %boolean; #IMPLIED
  202.                        dlg:multiselection %boolean; #IMPLIED
  203.                        dlg:linecount %numeric; #IMPLIED
  204.                        >
  205.  
  206. <!ELEMENT dlg:menupopup (dlg:menuitem+)>
  207. <!ELEMENT dlg:menuitem EMPTY>
  208. <!ATTLIST dlg:menuitem dlg:value CDATA #REQUIRED
  209.                        dlg:selected %boolean; #IMPLIED
  210.                        >
  211.  
  212. <!ELEMENT dlg:radiogroup (dlg:radio+)>
  213. <!ELEMENT dlg:radio ((%event;)*)>
  214. <!ATTLIST dlg:radio %default-attributes;
  215.                     dlg:value CDATA #IMPLIED
  216.                     dlg:checked %boolean; #IMPLIED
  217.                     dlg:tristate %boolean; #IMPLIED
  218.                     dlg:tabstop %boolean; #IMPLIED
  219.                     >
  220.  
  221. <!ELEMENT dlg:titledbox (dlg:title?, dlg:radio*, (%control;)*, (%event;)*)>
  222. <!ATTLIST dlg:titledbox %default-attributes;
  223.                         >
  224. <!ELEMENT dlg:title EMPTY>
  225. <!ATTLIST dlg:title dlg:value CDATA #IMPLIED
  226.                     >
  227.  
  228. <!ELEMENT dlg:text ((%event;)*)>
  229. <!ATTLIST dlg:text %default-attributes;
  230.                    dlg:align (left|center|right|none) #IMPLIED
  231.                    dlg:multiline %boolean; #IMPLIED
  232.                    dlg:value CDATA #IMPLIED
  233.                    >
  234.  
  235. <!ELEMENT dlg:textfield ((%event;)*)>
  236. <!ATTLIST dlg:textfield %default-attributes;
  237.                         dlg:tabstop %boolean; #IMPLIED
  238.                         dlg:align (left|center|right|none) #IMPLIED
  239.                         dlg:readonly %boolean; #IMPLIED
  240.                         dlg:echochar CDATA #IMPLIED
  241.                         dlg:hard-linebreaks %boolean; #IMPLIED
  242.                         dlg:hscroll %boolean; #IMPLIED
  243.                         dlg:vscroll %boolean; #IMPLIED
  244.                         dlg:maxlength %numeric; #IMPLIED
  245.                         dlg:multiline %boolean; #IMPLIED
  246.                         dlg:value CDATA #IMPLIED
  247.                         >
  248.  
  249. <!ELEMENT dlg:img ((%event;)*)>
  250. <!ATTLIST dlg:img %default-attributes;
  251.                   dlg:src CDATA #IMPLIED
  252.                   >
  253.  
  254. <!ELEMENT dlg:filecontrol ((%event;)*)>
  255. <!ATTLIST dlg:filecontrol %default-attributes;
  256.                           dlg:tabstop %boolean; #IMPLIED
  257.                           dlg:value CDATA #IMPLIED
  258.                           >
  259.  
  260. <!ELEMENT dlg:currencyfield ((%event;)*)>
  261. <!ATTLIST dlg:currencyfield %default-attributes;
  262.                             dlg:tabstop %boolean; #IMPLIED
  263.                             dlg:readonly %boolean; #IMPLIED
  264.                             dlg:currency-symbol CDATA #IMPLIED
  265.                             dlg:strict-format %boolean; #IMPLIED
  266.                             dlg:decimal-accuracy %numeric; #IMPLIED
  267.                             dlg:thousands-separator %boolean; #IMPLIED
  268.                             dlg:value %numeric; #IMPLIED
  269.                             dlg:value-min %numeric; #IMPLIED
  270.                             dlg:value-max %numeric; #IMPLIED
  271.                             dlg:value-step %numeric; #IMPLIED
  272.                             dlg:spin %boolean; #IMPLIED
  273.                             >
  274.  
  275. <!ELEMENT dlg:datefield ((%event;)*)>
  276. <!ATTLIST dlg:datefield %default-attributes;
  277.                         dlg:tabstop %boolean; #IMPLIED
  278.                         dlg:readonly %boolean; #IMPLIED
  279.                         dlg:strict-format %boolean; #IMPLIED
  280.                         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
  281.                         dlg:value CDATA #IMPLIED
  282.                         dlg:value-min CDATA #IMPLIED
  283.                         dlg:value-max CDATA #IMPLIED
  284.                         dlg:spin %boolean; #IMPLIED
  285.                         >
  286.  
  287. <!ELEMENT dlg:numericfield ((%event;)*)>
  288. <!ATTLIST dlg:numericfield %default-attributes;
  289.                            dlg:tabstop %boolean; #IMPLIED
  290.                            dlg:readonly %boolean; #IMPLIED
  291.                            dlg:strict-format %boolean; #IMPLIED
  292.                            dlg:decimal-accuracy %numeric; #IMPLIED
  293.                            dlg:thousands-separator %boolean; #IMPLIED
  294.                            dlg:value %numeric; #IMPLIED
  295.                            dlg:value-min %numeric; #IMPLIED
  296.                            dlg:value-max %numeric; #IMPLIED
  297.                            dlg:value-step %numeric; #IMPLIED
  298.                            dlg:spin %boolean; #IMPLIED
  299.                            >
  300.  
  301. <!ELEMENT dlg:timefield ((%event;)*)>
  302. <!ATTLIST dlg:timefield %default-attributes;
  303.                         dlg:tabstop %boolean; #IMPLIED
  304.                         dlg:readonly %boolean; #IMPLIED
  305.                         dlg:strict-format %boolean; #IMPLIED
  306.                         dlg:time-format (24h_short|24h_long|12h_short|12h_long|Duration_short|Duration_long) #IMPLIED
  307.                         dlg:value CDATA #IMPLIED
  308.                         dlg:value-min CDATA #IMPLIED
  309.                         dlg:value-max CDATA #IMPLIED
  310.                         dlg:spin %boolean; #IMPLIED
  311.                         >
  312.  
  313. <!ELEMENT dlg:patternfield ((%event;)*)>
  314. <!ATTLIST dlg:patternfield %default-attributes;
  315.                            dlg:tabstop %boolean; #IMPLIED
  316.                            dlg:readonly %boolean; #IMPLIED
  317.                            dlg:strict-format %boolean; #IMPLIED
  318.                            dlg:value CDATA #IMPLIED
  319.                            dlg:edit-mask CDATA #IMPLIED
  320.                            dlg:literal-mask CDATA #IMPLIED
  321.                            >
  322.  
  323. <!ELEMENT dlg:fixedline ((%event;)*)>
  324. <!ATTLIST dlg:fixedline %default-attributes;
  325.                         dlg:align (horizontal|vertical) #IMPLIED
  326.                         dlg:value CDATA #IMPLIED
  327.                         >
  328.  
  329. <!ELEMENT dlg:scrollbar ((%event;)*)>
  330. <!ATTLIST dlg:scrollbar %default-attributes;
  331.                         dlg:align (horizontal|vertical) #IMPLIED
  332.                         dlg:curpos %numeric; #IMPLIED
  333.                         dlg:maxpos %numeric; #IMPLIED
  334.                         dlg:increment %numeric; #IMPLIED
  335.                         dlg:pageincrement %numeric; #IMPLIED
  336.                         dlg:visible-size %numeric; #IMPLIED
  337.                         >
  338.  
  339. <!ELEMENT dlg:progressmeter ((%event;)*)>
  340. <!ATTLIST dlg:progressmeter %default-attributes;
  341.                             dlg:value %numeric; #IMPLIED
  342.                             dlg:value-min %numeric; #IMPLIED
  343.                             dlg:value-max %numeric; #IMPLIED
  344.                             >
  345.