home *** CD-ROM | disk | FTP | other *** search
/ PC World 2004 October / PCWorld_2004-10_cd.bin / akce / openoffice / f_0173 / dialog.dtd
Extensible Markup Language  |  2002-03-25  |  17KB  |  370 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3.         $Id: dialog.dtd,v 1.23 2002/03/25 12:03:20 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 %default-attributes;
  104.              dlg:closeable %boolean; #IMPLIED
  105.              dlg:moveable %boolean; #IMPLIED
  106.              dlg:resizeable %boolean; #IMPLIED
  107.                      dlg:title CDATA #IMPLIED
  108.                      xmlns:dlg CDATA #FIXED "http://openoffice.org/2000/dialog"
  109.                      xmlns:script CDATA #FIXED "http://openoffice.org/2000/script"
  110.                      >
  111.  
  112. <!ELEMENT dlg:styles (dlg:style+)>
  113.  
  114. <!ELEMENT dlg:style EMPTY>
  115. <!ATTLIST dlg:style dlg:style-id CDATA #REQUIRED
  116.                     dlg:background-color %numeric; #IMPLIED
  117.                     dlg:text-color %numeric; #IMPLIED
  118.                     dlg:textline-color %numeric; #IMPLIED
  119.                     dlg:fill-color %numeric; #IMPLIED
  120.                     dlg:border (none|3d|simple) #IMPLIED
  121.                     dlg:font-name CDATA #IMPLIED
  122.                     dlg:font-height %numeric; #IMPLIED
  123.                     dlg:font-width %numeric; #IMPLIED
  124.                     dlg:font-stylename CDATA #IMPLIED
  125.                     dlg:font-family (decorative|modern|roman|script|swiss|system) #IMPLIED
  126.                     dlg:font-charset (ansi|mac|ibmpc_437|ibmpc_850|ibmpc_860|ibmpc_861|ibmpc_863|ibmpc_865|system|symbol) #IMPLIED
  127.                     dlg:font-pitch (fixed|variable) #IMPLIED
  128.                     dlg:font-charwidth %numeric; #IMPLIED
  129.                     dlg:font-weight %numeric; #IMPLIED
  130.                     dlg:font-slant (oblique|italic|reverse_oblique|reverse_italic) #IMPLIED
  131.                     dlg:font-underline (single|double|dotted|dash|longdash|dashdot|dashdotdot|smallwave|wave|doublewave|bold|bolddotted|bolddash|boldlongdash|bolddashdot|bolddashdotdot|boldwave) #IMPLIED
  132.                     dlg:font-strikeout (single|double|bold|slash|x) #IMPLIED
  133.                     dlg:font-orientation CDATA #IMPLIED
  134.                     dlg:font-kerning %boolean; #IMPLIED
  135.                     dlg:font-wordlinemode %boolean; #IMPLIED
  136.                     dlg:font-type (raster|device|scalable) #IMPLIED
  137.             dialog:font-relief (none|embossed|engraved) #IMPLIED
  138.             dialog:font-emphasismark (none|dot|circle|disc|accent|above|below) #IMPLIED
  139.                     >
  140.  
  141. <!ELEMENT script:event EMPTY>
  142. <!ATTLIST script:event script:location CDATA #IMPLIED
  143.                        script:language CDATA #REQUIRED
  144.                        script:macro-name CDATA #REQUIRED
  145.                        script:event-name CDATA #REQUIRED
  146.                        >
  147. <!ELEMENT script:listener-event EMPTY>
  148. <!ATTLIST script:listener-event script:location CDATA #IMPLIED
  149.                                 script:language CDATA #REQUIRED
  150.                                 script:macro-name CDATA #REQUIRED
  151.                                 script:listener-type CDATA #REQUIRED
  152.                                 script:listener-method CDATA #REQUIRED
  153.                                 script:listener-param CDATA #IMPLIED
  154.                                 >
  155. <!-- deprecated -->
  156. <!ELEMENT dlg:event EMPTY>
  157. <!ATTLIST dlg:event dlg:listener-type CDATA #REQUIRED
  158.                     dlg:event-method CDATA #REQUIRED
  159.                     dlg:script-type CDATA #IMPLIED
  160.                     dlg:script-code CDATA #IMPLIED
  161.                     dlg:param CDATA #IMPLIED
  162.                     >
  163. <!-- /deprecated -->
  164.                         
  165. <!ELEMENT dlg:bulletinboard ((%control;)*)>
  166. <!ATTLIST dlg:bulletinboard dlg:left %numeric; #IMPLIED
  167.                             dlg:top %numeric; #IMPLIED
  168.                             >
  169.  
  170. <!ELEMENT dlg:button ((%event;)*)>
  171. <!ATTLIST dlg:button %default-attributes;
  172.                      dlg:value CDATA #IMPLIED
  173.                      dlg:default %boolean; #IMPLIED
  174.                      dlg:tabstop %boolean; #IMPLIED
  175.                      dlg:image-src CDATA #IMPLIED
  176.                      dlg:image-align (top|left|right|bottom) #IMPLIED
  177.              dlg:button-type (standard|ok|cancel|help) #IMPLIED
  178.                      >
  179.  
  180. <!ELEMENT dlg:checkbox ((%event;)*)>
  181. <!ATTLIST dlg:checkbox %default-attributes;
  182.                        dlg:value CDATA #IMPLIED
  183.                        dlg:checked %boolean; #IMPLIED
  184.                        dlg:tristate %boolean; #IMPLIED
  185.                        dlg:tabstop %boolean; #IMPLIED
  186.                        >
  187.  
  188. <!ELEMENT dlg:combobox (dlg:menupopup?, (%event;)*)>
  189. <!ATTLIST dlg:combobox %default-attributes;
  190.                        dlg:tabstop %boolean; #IMPLIED
  191.                        dlg:readonly %boolean; #IMPLIED
  192.                        dlg:autocomplete %boolean; #IMPLIED
  193.                        dlg:spin %boolean; #IMPLIED
  194.                        dlg:maxlength %numeric; #IMPLIED
  195.                        dlg:linecount %numeric; #IMPLIED
  196.                        dlg:value CDATA #IMPLIED
  197.                        >
  198.  
  199. <!ELEMENT dlg:menulist (dlg:menupopup?, (%event;)*)>
  200. <!ATTLIST dlg:menulist %default-attributes;
  201.                        dlg:tabstop %boolean; #IMPLIED
  202.                        dlg:spin %boolean; #IMPLIED
  203.                        dlg:multiselection %boolean; #IMPLIED
  204.                        dlg:readonly %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:tabstop %boolean; #IMPLIED
  220.                     >
  221.  
  222. <!ELEMENT dlg:titledbox (dlg:title?, dlg:radio*, (%control;)*, (%event;)*)>
  223. <!ATTLIST dlg:titledbox %default-attributes;
  224.                         >
  225. <!ELEMENT dlg:title EMPTY>
  226. <!ATTLIST dlg:title dlg:value CDATA #IMPLIED
  227.                     >
  228.  
  229. <!ELEMENT dlg:text ((%event;)*)>
  230. <!ATTLIST dlg:text %default-attributes;
  231.                    dlg:align (left|center|right) #IMPLIED
  232.                    dlg:multiline %boolean; #IMPLIED
  233.                    dlg:tabstop %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.                             dlg:prepend-symbol %boolean; #IMPLIED
  277.                             >
  278.  
  279. <!ELEMENT dlg:datefield ((%event;)*)>
  280. <!ATTLIST dlg:datefield %default-attributes;
  281.                         dlg:tabstop %boolean; #IMPLIED
  282.                         dlg:readonly %boolean; #IMPLIED
  283.                         dlg:strict-format %boolean; #IMPLIED
  284.                         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
  285.                         dlg:show-century %boolean; #IMPLIED
  286.                         dlg:value CDATA #IMPLIED
  287.                         dlg:value-min CDATA #IMPLIED
  288.                         dlg:value-max CDATA #IMPLIED
  289.                         dlg:spin %boolean; #IMPLIED
  290.                         dlg:dropdown %boolean; #IMPLIED
  291.                         >
  292.  
  293. <!ELEMENT dlg:numericfield ((%event;)*)>
  294. <!ATTLIST dlg:numericfield %default-attributes;
  295.                            dlg:tabstop %boolean; #IMPLIED
  296.                            dlg:readonly %boolean; #IMPLIED
  297.                            dlg:strict-format %boolean; #IMPLIED
  298.                            dlg:decimal-accuracy %numeric; #IMPLIED
  299.                            dlg:thousands-separator %boolean; #IMPLIED
  300.                            dlg:value %numeric; #IMPLIED
  301.                            dlg:value-min %numeric; #IMPLIED
  302.                            dlg:value-max %numeric; #IMPLIED
  303.                            dlg:value-step %numeric; #IMPLIED
  304.                            dlg:spin %boolean; #IMPLIED
  305.                            >
  306.  
  307. <!ELEMENT dlg:timefield ((%event;)*)>
  308. <!ATTLIST dlg:timefield %default-attributes;
  309.                         dlg:tabstop %boolean; #IMPLIED
  310.                         dlg:readonly %boolean; #IMPLIED
  311.                         dlg:strict-format %boolean; #IMPLIED
  312.                         dlg:time-format (24h_short|24h_long|12h_short|12h_long|Duration_short|Duration_long) #IMPLIED
  313.                         dlg:value CDATA #IMPLIED
  314.                         dlg:value-min CDATA #IMPLIED
  315.                         dlg:value-max CDATA #IMPLIED
  316.                         dlg:spin %boolean; #IMPLIED
  317.                         >
  318.  
  319. <!ELEMENT dlg:patternfield ((%event;)*)>
  320. <!ATTLIST dlg:patternfield %default-attributes;
  321.                            dlg:tabstop %boolean; #IMPLIED
  322.                            dlg:readonly %boolean; #IMPLIED
  323.                            dlg:strict-format %boolean; #IMPLIED
  324.                            dlg:value CDATA #IMPLIED
  325.                            dlg:maxlength %numeric; #IMPLIED
  326.                            dlg:edit-mask CDATA #IMPLIED
  327.                            dlg:literal-mask CDATA #IMPLIED
  328.                            >
  329.  
  330. <!ELEMENT dlg:formattedfield ((%event;)*)>
  331. <!ATTLIST dlg:formattedfield %default-attributes;
  332.                  dlg:tabstop %boolean; #IMPLIED
  333.                  dlg:readonly %boolean; #IMPLIED
  334.                  dlg:align (left|center|right) #IMPLIED
  335.                  dlg:format-code CDATA #IMPLIED
  336.                  dlg:format-locale CDATA #IMPLIED
  337.                  dlg:treat-as-number %boolean; #IMPLIED
  338.                  dlg:strict-format %boolean; #IMPLIED
  339.                  dlg:value-default CDATA #IMPLIED
  340.                  dlg:value-max %numeric; #IMPLIED
  341.                  dlg:value-min %numeric; #IMPLIED
  342.                  dlg:value %numeric; #IMPLIED
  343.                  dlg:maxlength %numeric; #IMPLIED
  344.                  dlg:spin %boolean; #IMPLIED
  345.                  dlg:text CDATA #IMPLIED
  346.                  >
  347.  
  348. <!ELEMENT dlg:fixedline ((%event;)*)>
  349. <!ATTLIST dlg:fixedline %default-attributes;
  350.                         dlg:align (horizontal|vertical) #IMPLIED
  351.                         dlg:value CDATA #IMPLIED
  352.                         >
  353.  
  354. <!ELEMENT dlg:scrollbar ((%event;)*)>
  355. <!ATTLIST dlg:scrollbar %default-attributes;
  356.                         dlg:align (horizontal|vertical) #IMPLIED
  357.                         dlg:curpos %numeric; #IMPLIED
  358.                         dlg:maxpos %numeric; #IMPLIED
  359.                         dlg:increment %numeric; #IMPLIED
  360.                         dlg:pageincrement %numeric; #IMPLIED
  361.                         dlg:visible-size %numeric; #IMPLIED
  362.                         >
  363.  
  364. <!ELEMENT dlg:progressmeter ((%event;)*)>
  365. <!ATTLIST dlg:progressmeter %default-attributes;
  366.                             dlg:value %numeric; #IMPLIED
  367.                             dlg:value-min %numeric; #IMPLIED
  368.                             dlg:value-max %numeric; #IMPLIED
  369.                             >
  370.