home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2002 November / VPR0211A.ISO / OPENOFFICE / f_0252 / dialog.dtd
Extensible Markup Language  |  2001-10-22  |  17KB  |  365 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3.         $Id: dialog.dtd,v 1.21 2001/10/22 08:52:19 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:formattedfield|
  97.                      dlg:fixedline|
  98.                      dlg:progressmeter|
  99.                      dlg:scrollbar
  100.                     )">
  101.  
  102. <!ELEMENT dlg:window (dlg:styles*, (%event;)*, dlg:bulletinboard*)>
  103. <!ATTLIST dlg:window dlg:id CDATA #REQUIRED
  104.                      dlg:left %numeric; #IMPLIED
  105.                      dlg:top %numeric; #IMPLIED
  106.                      dlg:width %numeric; #IMPLIED
  107.                      dlg:height %numeric; #IMPLIED
  108.                      dlg:style-id CDATA #IMPLIED
  109.                      dlg:title CDATA #IMPLIED
  110.                      dlg:page %numeric; #IMPLIED
  111.                      dlg:tag CDATA #IMPLIED
  112.                      dlg:help-text CDATA #IMPLIED
  113.                      dlg:help-url CDATA #IMPLIED
  114.                      xmlns:dlg CDATA #FIXED "http://openoffice.org/2000/dialog"
  115.                      xmlns:script CDATA #FIXED "http://openoffice.org/2000/script"
  116.                      >
  117.  
  118. <!ELEMENT dlg:styles (dlg:style+)>
  119.  
  120. <!ELEMENT dlg:style EMPTY>
  121. <!ATTLIST dlg:style dlg:style-id CDATA #REQUIRED
  122.                     dlg:background-color %numeric; #IMPLIED
  123.                     dlg:text-color %numeric; #IMPLIED
  124.                     dlg:fill-color %numeric; #IMPLIED
  125.                     dlg:border (none|3d|simple) #IMPLIED
  126.                     dlg:font-name CDATA #IMPLIED
  127.                     dlg:font-height %numeric; #IMPLIED
  128.                     dlg:font-width %numeric; #IMPLIED
  129.                     dlg:font-stylename CDATA #IMPLIED
  130.                     dlg:font-family (decorative|modern|roman|script|swiss|system) #IMPLIED
  131.                     dlg:font-charset (ansi|mac|ibmpc_437|ibmpc_850|ibmpc_860|ibmpc_861|ibmpc_863|ibmpc_865|system|symbol) #IMPLIED
  132.                     dlg:font-pitch (fixed|variable) #IMPLIED
  133.                     dlg:font-charwidth %numeric; #IMPLIED
  134.                     dlg:font-weight %numeric; #IMPLIED
  135.                     dlg:font-slant (oblique|italic|reverse_oblique|reverse_italic) #IMPLIED
  136.                     dlg:font-underline (single|double|dotted|dash|longdash|dashdot|dashdotdot|smallwave|wave|doublewave|bold|bolddotted|bolddash|boldlongdash|bolddashdot|bolddashdotdot|boldwave) #IMPLIED
  137.                     dlg:font-strikeout (single|double|bold|slash|x) #IMPLIED
  138.                     dlg:font-orientation CDATA #IMPLIED
  139.                     dlg:font-kerning %boolean; #IMPLIED
  140.                     dlg:font-wordlinemode %boolean; #IMPLIED
  141.                     dlg:font-type (raster|device|scalable) #IMPLIED
  142.                     >
  143.  
  144. <!ELEMENT script:event EMPTY>
  145. <!ATTLIST script:event script:location CDATA #IMPLIED
  146.                        script:language CDATA #REQUIRED
  147.                        script:macro-name CDATA #REQUIRED
  148.                        script:event-name CDATA #REQUIRED
  149.                        >
  150. <!ELEMENT script:listener-event EMPTY>
  151. <!ATTLIST script:listener-event script:location CDATA #IMPLIED
  152.                                 script:language CDATA #REQUIRED
  153.                                 script:macro-name CDATA #REQUIRED
  154.                                 script:listener-type CDATA #REQUIRED
  155.                                 script:listener-method CDATA #REQUIRED
  156.                                 script:listener-param CDATA #IMPLIED
  157.                                 >
  158. <!-- deprecated -->
  159. <!ELEMENT dlg:event EMPTY>
  160. <!ATTLIST dlg:event dlg:listener-type CDATA #REQUIRED
  161.                     dlg:event-method CDATA #REQUIRED
  162.                     dlg:script-type CDATA #IMPLIED
  163.                     dlg:script-code CDATA #IMPLIED
  164.                     dlg:param CDATA #IMPLIED
  165.                     >
  166. <!-- /deprecated -->
  167.                         
  168. <!ELEMENT dlg:bulletinboard ((%control;)*)>
  169. <!ATTLIST dlg:bulletinboard dlg:left %numeric; #IMPLIED
  170.                             dlg:top %numeric; #IMPLIED
  171.                             >
  172.  
  173. <!ELEMENT dlg:button ((%event;)*)>
  174. <!ATTLIST dlg:button %default-attributes;
  175.                      dlg:value CDATA #IMPLIED
  176.                      dlg:default %boolean; #IMPLIED
  177.                      dlg:tabstop %boolean; #IMPLIED
  178.              dlg:button-type (standard|ok|cancel|help) #IMPLIED
  179.                      >
  180.  
  181. <!ELEMENT dlg:checkbox ((%event;)*)>
  182. <!ATTLIST dlg:checkbox %default-attributes;
  183.                        dlg:value CDATA #IMPLIED
  184.                        dlg:checked %boolean; #IMPLIED
  185.                        dlg:tristate %boolean; #IMPLIED
  186.                        dlg:tabstop %boolean; #IMPLIED
  187.                        >
  188.  
  189. <!ELEMENT dlg:combobox (dlg:menupopup?, (%event;)*)>
  190. <!ATTLIST dlg:combobox %default-attributes;
  191.                        dlg:tabstop %boolean; #IMPLIED
  192.                        dlg:readonly %boolean; #IMPLIED
  193.                        dlg:autocomplete %boolean; #IMPLIED
  194.                        dlg:spin %boolean; #IMPLIED
  195.                        dlg:maxlength %numeric; #IMPLIED
  196.                        dlg:linecount %numeric; #IMPLIED
  197.                        dlg:value CDATA #IMPLIED
  198.                        >
  199.  
  200. <!ELEMENT dlg:menulist (dlg:menupopup?, (%event;)*)>
  201. <!ATTLIST dlg:menulist %default-attributes;
  202.                        dlg:tabstop %boolean; #IMPLIED
  203.                        dlg:spin %boolean; #IMPLIED
  204.                        dlg:multiselection %boolean; #IMPLIED
  205.                        dlg:linecount %numeric; #IMPLIED
  206.                        >
  207.  
  208. <!ELEMENT dlg:menupopup (dlg:menuitem+)>
  209. <!ELEMENT dlg:menuitem EMPTY>
  210. <!ATTLIST dlg:menuitem dlg:value CDATA #REQUIRED
  211.                        dlg:selected %boolean; #IMPLIED
  212.                        >
  213.  
  214. <!ELEMENT dlg:radiogroup (dlg:radio+)>
  215. <!ELEMENT dlg:radio ((%event;)*)>
  216. <!ATTLIST dlg:radio %default-attributes;
  217.                     dlg:value CDATA #IMPLIED
  218.                     dlg:checked %boolean; #IMPLIED
  219.                     dlg:tristate %boolean; #IMPLIED
  220.                     dlg:tabstop %boolean; #IMPLIED
  221.                     >
  222.  
  223. <!ELEMENT dlg:titledbox (dlg:title?, dlg:radio*, (%control;)*, (%event;)*)>
  224. <!ATTLIST dlg:titledbox %default-attributes;
  225.                         >
  226. <!ELEMENT dlg:title EMPTY>
  227. <!ATTLIST dlg:title dlg:value CDATA #IMPLIED
  228.                     >
  229.  
  230. <!ELEMENT dlg:text ((%event;)*)>
  231. <!ATTLIST dlg:text %default-attributes;
  232.                    dlg:align (left|center|right) #IMPLIED
  233.                    dlg:multiline %boolean; #IMPLIED
  234.                    dlg:value CDATA #IMPLIED
  235.                    >
  236.  
  237. <!ELEMENT dlg:textfield ((%event;)*)>
  238. <!ATTLIST dlg:textfield %default-attributes;
  239.                         dlg:tabstop %boolean; #IMPLIED
  240.                         dlg:align (left|center|right) #IMPLIED
  241.                         dlg:readonly %boolean; #IMPLIED
  242.                         dlg:echochar CDATA #IMPLIED
  243.                         dlg:hard-linebreaks %boolean; #IMPLIED
  244.                         dlg:hscroll %boolean; #IMPLIED
  245.                         dlg:vscroll %boolean; #IMPLIED
  246.                         dlg:maxlength %numeric; #IMPLIED
  247.                         dlg:multiline %boolean; #IMPLIED
  248.                         dlg:value CDATA #IMPLIED
  249.                         >
  250.  
  251. <!ELEMENT dlg:img ((%event;)*)>
  252. <!ATTLIST dlg:img %default-attributes;
  253.                   dlg:src CDATA #IMPLIED
  254.                   dlg:scale-image %boolean; #IMPLIED
  255.                   >
  256.  
  257. <!ELEMENT dlg:filecontrol ((%event;)*)>
  258. <!ATTLIST dlg:filecontrol %default-attributes;
  259.                           dlg:tabstop %boolean; #IMPLIED
  260.                           dlg:value CDATA #IMPLIED
  261.                           >
  262.  
  263. <!ELEMENT dlg:currencyfield ((%event;)*)>
  264. <!ATTLIST dlg:currencyfield %default-attributes;
  265.                             dlg:tabstop %boolean; #IMPLIED
  266.                             dlg:readonly %boolean; #IMPLIED
  267.                             dlg:currency-symbol CDATA #IMPLIED
  268.                             dlg:strict-format %boolean; #IMPLIED
  269.                             dlg:decimal-accuracy %numeric; #IMPLIED
  270.                             dlg:thousands-separator %boolean; #IMPLIED
  271.                             dlg:value %numeric; #IMPLIED
  272.                             dlg:value-min %numeric; #IMPLIED
  273.                             dlg:value-max %numeric; #IMPLIED
  274.                             dlg:value-step %numeric; #IMPLIED
  275.                             dlg:spin %boolean; #IMPLIED
  276.                             >
  277.  
  278. <!ELEMENT dlg:datefield ((%event;)*)>
  279. <!ATTLIST dlg:datefield %default-attributes;
  280.                         dlg:tabstop %boolean; #IMPLIED
  281.                         dlg:readonly %boolean; #IMPLIED
  282.                         dlg:strict-format %boolean; #IMPLIED
  283.                         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
  284.                         dlg:value CDATA #IMPLIED
  285.                         dlg:value-min CDATA #IMPLIED
  286.                         dlg:value-max CDATA #IMPLIED
  287.                         dlg:spin %boolean; #IMPLIED
  288.                         >
  289.  
  290. <!ELEMENT dlg:numericfield ((%event;)*)>
  291. <!ATTLIST dlg:numericfield %default-attributes;
  292.                            dlg:tabstop %boolean; #IMPLIED
  293.                            dlg:readonly %boolean; #IMPLIED
  294.                            dlg:strict-format %boolean; #IMPLIED
  295.                            dlg:decimal-accuracy %numeric; #IMPLIED
  296.                            dlg:thousands-separator %boolean; #IMPLIED
  297.                            dlg:value %numeric; #IMPLIED
  298.                            dlg:value-min %numeric; #IMPLIED
  299.                            dlg:value-max %numeric; #IMPLIED
  300.                            dlg:value-step %numeric; #IMPLIED
  301.                            dlg:spin %boolean; #IMPLIED
  302.                            >
  303.  
  304. <!ELEMENT dlg:timefield ((%event;)*)>
  305. <!ATTLIST dlg:timefield %default-attributes;
  306.                         dlg:tabstop %boolean; #IMPLIED
  307.                         dlg:readonly %boolean; #IMPLIED
  308.                         dlg:strict-format %boolean; #IMPLIED
  309.                         dlg:time-format (24h_short|24h_long|12h_short|12h_long|Duration_short|Duration_long) #IMPLIED
  310.                         dlg:value CDATA #IMPLIED
  311.                         dlg:value-min CDATA #IMPLIED
  312.                         dlg:value-max CDATA #IMPLIED
  313.                         dlg:spin %boolean; #IMPLIED
  314.                         >
  315.  
  316. <!ELEMENT dlg:patternfield ((%event;)*)>
  317. <!ATTLIST dlg:patternfield %default-attributes;
  318.                            dlg:tabstop %boolean; #IMPLIED
  319.                            dlg:readonly %boolean; #IMPLIED
  320.                            dlg:strict-format %boolean; #IMPLIED
  321.                            dlg:value CDATA #IMPLIED
  322.                            dlg:edit-mask CDATA #IMPLIED
  323.                            dlg:literal-mask CDATA #IMPLIED
  324.                            >
  325.  
  326. <!ELEMENT dlg:formattedfield ((%event;)*)>
  327. <!ATTLIST dlg:formattedfield %default-attributes;
  328.                  dlg:tabstop %boolean; #IMPLIED
  329.                  dlg:readonly %boolean; #IMPLIED
  330.                  dlg:align (left|center|right) #IMPLIED
  331.                  dlg:format-code CDATA #IMPLIED
  332.                  dlg:format-locale CDATA #IMPLIED
  333.                  dlg:strict-format %boolean; #IMPLIED
  334.                  dlg:value-default CDATA #IMPLIED
  335.                  dlg:value-max %numeric; #IMPLIED
  336.                  dlg:value-min %numeric; #IMPLIED
  337.                  dlg:value %numeric; #IMPLIED
  338.                  dlg:maxlength %numeric; #IMPLIED
  339.                  dlg:spin %boolean; #IMPLIED
  340.                  dlg:text CDATA #IMPLIED
  341.                  >
  342.  
  343. <!ELEMENT dlg:fixedline ((%event;)*)>
  344. <!ATTLIST dlg:fixedline %default-attributes;
  345.                         dlg:align (horizontal|vertical) #IMPLIED
  346.                         dlg:value CDATA #IMPLIED
  347.                         >
  348.  
  349. <!ELEMENT dlg:scrollbar ((%event;)*)>
  350. <!ATTLIST dlg:scrollbar %default-attributes;
  351.                         dlg:align (horizontal|vertical) #IMPLIED
  352.                         dlg:curpos %numeric; #IMPLIED
  353.                         dlg:maxpos %numeric; #IMPLIED
  354.                         dlg:increment %numeric; #IMPLIED
  355.                         dlg:pageincrement %numeric; #IMPLIED
  356.                         dlg:visible-size %numeric; #IMPLIED
  357.                         >
  358.  
  359. <!ELEMENT dlg:progressmeter ((%event;)*)>
  360. <!ATTLIST dlg:progressmeter %default-attributes;
  361.                             dlg:value %numeric; #IMPLIED
  362.                             dlg:value-min %numeric; #IMPLIED
  363.                             dlg:value-max %numeric; #IMPLIED
  364.                             >
  365.