home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 April / PCWorld_2003-04_cd.bin / Software / Komercni / openoffice / f_0184 / office.mod
Text File  |  2001-09-20  |  11KB  |  263 lines

  1. <!--
  2.     $Id: office.mod,v 1.44 2001/09/20 17:47:53 dvo Exp $
  3.  
  4.    The Contents of this file are made available subject to the terms of
  5.    either of the following licenses
  6.  
  7.           - GNU Lesser General Public License Version 2.1
  8.           - Sun Industry Standards Source License Version 1.1
  9.  
  10.    Sun Microsystems Inc., October, 2000
  11.  
  12.    GNU Lesser General Public License Version 2.1
  13.    =============================================
  14.    Copyright 2000 by Sun Microsystems, Inc.
  15.    901 San Antonio Road, Palo Alto, CA 94303, USA
  16.  
  17.    This library is free software; you can redistribute it and/or
  18.    modify it under the terms of the GNU Lesser General Public
  19.    License version 2.1, as published by the Free Software Foundation.
  20.  
  21.    This library is distributed in the hope that it will be useful,
  22.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  23.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  24.    Lesser General Public License for more details.
  25.  
  26.    You should have received a copy of the GNU Lesser General Public
  27.    License along with this library; if not, write to the Free Software
  28.    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  29.    MA  02111-1307  USA
  30.  
  31.  
  32.    Sun Industry Standards Source License Version 1.1
  33.    =================================================
  34.    The contents of this file are subject to the Sun Industry Standards
  35.    Source License Version 1.1 (the "License"); You may not use this file
  36.    except in compliance with the License. You may obtain a copy of the
  37.    License at http://www.openoffice.org/license.html.
  38.  
  39.    Software provided under this License is provided on an "AS IS" basis,
  40.    WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
  41.    WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
  42.    MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
  43.    See the License for the specific provisions governing your rights and
  44.    obligations concerning the Software.
  45.  
  46.    The Initial Developer of the Original Code is: Sun Microsystems, Inc.
  47.  
  48.    Copyright: 2000 by Sun Microsystems, Inc.
  49.  
  50.    All Rights Reserved.
  51.  
  52.    Contributor(s): _______________________________________
  53.  
  54. -->
  55.  
  56. <!ELEMENT office:document ( office:meta?,
  57.                             office:settings?,
  58.                             office:script?,
  59.                             office:font-decls?,
  60.                             office:styles?,
  61.                             office:automatic-styles?,
  62.                             office:master-styles?,
  63.                             office:body ) >
  64.  
  65. <!ATTLIST office:document xmlns:office    CDATA #FIXED "&nOffice;">
  66. <!ATTLIST office:document xmlns:meta    CDATA #FIXED "&nMeta;">
  67. <!ATTLIST office:document xmlns:script    CDATA #FIXED "&nScript;">
  68. <!ATTLIST office:document xmlns:style    CDATA #FIXED "&nStyle;">
  69. <!ATTLIST office:document xmlns:text    CDATA #FIXED "&nText;">
  70. <!ATTLIST office:document xmlns:table    CDATA #FIXED "&nTable;">
  71. <!ATTLIST office:document xmlns:draw    CDATA #FIXED "&nDraw;">
  72. <!ATTLIST office:document xmlns:chart    CDATA #FIXED "&nChart;">
  73. <!ATTLIST office:document xmlns:number    CDATA #FIXED "&nNumber;">
  74. <!ATTLIST office:document xmlns:fo        CDATA #FIXED "&nFO;">
  75. <!ATTLIST office:document xmlns:xlink    CDATA #FIXED "&nXLink;">
  76. <!ATTLIST office:document xmlns:svg        CDATA #FIXED "&nSVG;">
  77. <!ATTLIST office:document xmlns:dc        CDATA #FIXED "&nDC;">
  78.  
  79. <!ATTLIST office:document office:class
  80.                           (text|text-global|
  81.                            drawing|presentation|
  82.                            spreadsheet|chart) #REQUIRED>
  83.  
  84. <!ATTLIST office:document office:version    %string; #IMPLIED>
  85.  
  86. <!-- document-styles -->
  87. <!ELEMENT office:document-styles (
  88.                             office:font-decls?,
  89.                             office:styles?,
  90.                             office:automatic-styles?,
  91.                             office:master-styles? ) >
  92.  
  93. <!ATTLIST office:document-styles xmlns:office    CDATA #FIXED "&nOffice;">
  94. <!ATTLIST office:document-styles xmlns:meta    CDATA #FIXED "&nMeta;">
  95. <!ATTLIST office:document-styles xmlns:script    CDATA #FIXED "&nScript;">
  96. <!ATTLIST office:document-styles xmlns:style    CDATA #FIXED "&nStyle;">
  97. <!ATTLIST office:document-styles xmlns:text    CDATA #FIXED "&nText;">
  98. <!ATTLIST office:document-styles xmlns:table    CDATA #FIXED "&nTable;">
  99. <!ATTLIST office:document-styles xmlns:draw    CDATA #FIXED "&nDraw;">
  100. <!ATTLIST office:document-styles xmlns:chart    CDATA #FIXED "&nChart;">
  101. <!ATTLIST office:document-styles xmlns:number    CDATA #FIXED "&nNumber;">
  102. <!ATTLIST office:document-styles xmlns:fo        CDATA #FIXED "&nFO;">
  103. <!ATTLIST office:document-styles xmlns:xlink    CDATA #FIXED "&nXLink;">
  104. <!ATTLIST office:document-styles xmlns:svg        CDATA #FIXED "&nSVG;">
  105. <!ATTLIST office:document-styles xmlns:dc        CDATA #FIXED "&nDC;">
  106.  
  107. <!ATTLIST office:document-styles office:version    %string; #IMPLIED>
  108.  
  109. <!-- document-content -->
  110.  
  111. <!ELEMENT office:document-content (
  112.                             office:script?,
  113.                             office:font-decls?,
  114.                             office:automatic-styles?,
  115.                             office:body ) >
  116.  
  117. <!ATTLIST office:document-content xmlns:office    CDATA #FIXED "&nOffice;">
  118. <!ATTLIST office:document-content xmlns:meta    CDATA #FIXED "&nMeta;">
  119. <!ATTLIST office:document-content xmlns:script    CDATA #FIXED "&nScript;">
  120. <!ATTLIST office:document-content xmlns:style    CDATA #FIXED "&nStyle;">
  121. <!ATTLIST office:document-content xmlns:text    CDATA #FIXED "&nText;">
  122. <!ATTLIST office:document-content xmlns:table    CDATA #FIXED "&nTable;">
  123. <!ATTLIST office:document-content xmlns:draw    CDATA #FIXED "&nDraw;">
  124. <!ATTLIST office:document-content xmlns:chart    CDATA #FIXED "&nChart;">
  125. <!ATTLIST office:document-content xmlns:number    CDATA #FIXED "&nNumber;">
  126. <!ATTLIST office:document-content xmlns:fo        CDATA #FIXED "&nFO;">
  127. <!ATTLIST office:document-content xmlns:xlink    CDATA #FIXED "&nXLink;">
  128. <!ATTLIST office:document-content xmlns:svg        CDATA #FIXED "&nSVG;">
  129. <!ATTLIST office:document-content xmlns:dc        CDATA #FIXED "&nDC;">
  130.  
  131. <!ATTLIST office:document-content office:class
  132.                           (text|text-global|
  133.                            drawing|presentation|
  134.                            spreadsheet|chart) #REQUIRED>
  135.  
  136. <!ATTLIST office:document-content office:version    %string; #IMPLIED>
  137.  
  138. <!-- document-content -->
  139.  
  140. <!ELEMENT office:document-meta ( office:meta? ) >
  141.  
  142. <!ATTLIST office:document-meta xmlns:office    CDATA #FIXED "&nOffice;">
  143. <!ATTLIST office:document-meta xmlns:meta    CDATA #FIXED "&nMeta;">
  144. <!ATTLIST office:document-meta xmlns:script    CDATA #FIXED "&nScript;">
  145. <!ATTLIST office:document-meta xmlns:style    CDATA #FIXED "&nStyle;">
  146. <!ATTLIST office:document-meta xmlns:text    CDATA #FIXED "&nText;">
  147. <!ATTLIST office:document-meta xmlns:table    CDATA #FIXED "&nTable;">
  148. <!ATTLIST office:document-meta xmlns:draw    CDATA #FIXED "&nDraw;">
  149. <!ATTLIST office:document-meta xmlns:chart    CDATA #FIXED "&nChart;">
  150. <!ATTLIST office:document-meta xmlns:number    CDATA #FIXED "&nNumber;">
  151. <!ATTLIST office:document-meta xmlns:fo        CDATA #FIXED "&nFO;">
  152. <!ATTLIST office:document-meta xmlns:xlink    CDATA #FIXED "&nXLink;">
  153. <!ATTLIST office:document-meta xmlns:svg        CDATA #FIXED "&nSVG;">
  154. <!ATTLIST office:document-meta xmlns:dc        CDATA #FIXED "&nDC;">
  155.  
  156. <!ATTLIST office:document-meta office:version    %string; #IMPLIED>
  157.  
  158. <!ELEMENT office:document-settings (office:settings) >
  159. <!ATTLIST office:document-settings xmlns:office    CDATA #FIXED "&nOffice;">
  160. <!ATTLIST office:document-settings xmlns:xlink    CDATA #FIXED "&nXLink;">
  161. <!ATTLIST office:document-settings xmlns:config    CDATA #FIXED "&nConfig;">
  162.  
  163. <!ATTLIST office:document-settings office:version    %string; #IMPLIED>
  164.  
  165. <!ENTITY % meta "(meta:generator?,
  166.                   dc:title?,
  167.                   dc:description?,
  168.                   dc:subject?,
  169.                   meta:initial-creator?,
  170.                   meta:creation-date?,
  171.                   dc:creator?,
  172.                   dc:date?,
  173.                   meta:printed-by?,
  174.                   meta:print-date?,
  175.                   meta:keywords?,
  176.                   dc:language?,
  177.                   meta:editing-cycles?,
  178.                   meta:editing-duration?,
  179.                   meta:hyperlink-behaviour?,
  180.                   meta:auto-reload?,
  181.                   meta:template?,
  182.                   meta:user-defined*,
  183.                   meta:document-statistic?)">
  184. <!ELEMENT office:meta %meta;>
  185.  
  186. <!ENTITY % script    "(script:library-embedded |
  187.                       script:library-linked)*,office:events?">
  188. <!ELEMENT office:script (%script;)>
  189.  
  190. <!ELEMENT office:font-decls (style:font-decl)*>
  191.  
  192. <!ENTITY % styles "(style:default-style|style:style|text:list-style|
  193.         number:number-style|number:currency-style|number:percentage-style|
  194.         number:date-style|number:time-style|number:boolean-style|
  195.         number:text-style|
  196.         draw:gradient|draw:hatch|draw:fill-image|draw:marker|draw:stroke-dash|
  197.         style:presentation-page-layout|draw:transparency)">
  198.  
  199. <!-- Validity constraint: The elements
  200.         text:outline-style,
  201.         text:footnotes-configuration,
  202.         text:endnotes-configuration,
  203.         text:bibliography-configuration and
  204.         text:linenumbering-configuration
  205.     may appear only once!
  206.     Unfortunatetly, this constraint cannot be easily specified in the DTD.
  207. -->
  208. <!ELEMENT office:styles (%styles;|text:outline-style|
  209.         text:footnotes-configuration|text:endnotes-configuration|
  210.         text:bibliography-configuration|text:linenumbering-configuration)*>
  211.  
  212. <!ELEMENT office:automatic-styles (%styles;|style:page-master)*>
  213.  
  214. <!ELEMENT office:master-styles (draw:layer-set?,style:handout-master?,style:master-page*) >
  215.  
  216. <!ENTITY % text-decls "text:variable-decls?, text:sequence-decls?,
  217.                        text:user-field-decls?, text:dde-connection-decls?, 
  218.                        text:alphabetical-index-auto-mark-file?" >
  219.  
  220. <!ENTITY % change-marks "text:change | text:change-start | text:change-end">
  221.  
  222. <!ENTITY % body "(office:forms?,(text:tracked-changes|table:tracked-changes)?,%text-decls;,table:calculation-settings?,table:content-validations?,table:label-ranges?,
  223.         (text:h|text:p|text:ordered-list|
  224.         text:unordered-list|table:table|draw:page|
  225.         draw:a|%shape;|text:section|text:table-of-content|
  226.         text:illustration-index|text:table-index|text:object-index|
  227.         text:user-index|text:alphabetical-index|text:bibliography|
  228.         %change-marks;)*,
  229.         table:named-expressions?,
  230.         table:database-ranges?,table:data-pilot-tables?,
  231.         table:consolidation?,
  232.         table:dde-links?,
  233.         presentation:settings?)">
  234. <!ELEMENT office:body %body;>
  235. <!ATTLIST office:body table:structure-protected %boolean; "false"
  236.             table:protection-key CDATA #IMPLIED>
  237.  
  238. <!ELEMENT office:events (script:event|presentation:event)*>
  239.  
  240. <!-- DDE source: for text sections and tables -->
  241. <!ELEMENT office:dde-source EMPTY>
  242. <!ATTLIST office:dde-source office:dde-application CDATA #IMPLIED>
  243. <!ATTLIST office:dde-source office:dde-topic CDATA #IMPLIED>
  244. <!ATTLIST office:dde-source office:dde-item CDATA #IMPLIED>
  245. <!ATTLIST office:dde-source office:automatic-update %boolean; "false">
  246. <!ATTLIST office:dde-source office:name CDATA #IMPLIED>
  247. <!ATTLIST office:dde-source table:conversion-mode (into-default-style-data-style|into-english-number|let-text) "into-default-style-data-style" >
  248.  
  249. <!-- annotations -->
  250. <!-- limitation: in the current implementation, only plain text inside of
  251.      paragraphs is supported -->
  252. <!ELEMENT office:annotation (text:p)*>
  253. <!ATTLIST office:annotation office:author %string; #IMPLIED>
  254. <!ATTLIST office:annotation office:create-date %date; #IMPLIED>
  255. <!ATTLIST office:annotation office:create-date-string %string; #IMPLIED>
  256. <!ATTLIST office:annotation office:display %boolean; "false">
  257.  
  258. <!ELEMENT office:change-info (text:p)*>
  259. <!ATTLIST office:change-info office:chg-author %string; #REQUIRED>
  260. <!ATTLIST office:change-info office:chg-date-time %timeInstance; #REQUIRED>
  261.  
  262. <!ELEMENT office:binary-data (#PCDATA)>
  263.