home *** CD-ROM | disk | FTP | other *** search
/ PC World 2004 May / PCWorld_2004-05_cd.bin / akce / openoffice / f_0124 / text.mod
Text File  |  2003-04-17  |  49KB  |  1,127 lines

  1. <!--
  2.     $Id: text.mod,v 1.54 2003/04/17 13:16:02 vg 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. <!ENTITY % fields "text:date |
  57.                    text:time |
  58.                    text:page-number |
  59.                    text:page-continuation |
  60.                    text:sender-firstname |
  61.                    text:sender-lastname |
  62.                    text:sender-initials | 
  63.                    text:sender-title |
  64.                    text:sender-position |
  65.                    text:sender-email | 
  66.                    text:sender-phone-private |
  67.                    text:sender-fax | 
  68.                    text:sender-company |
  69.                    text:sender-phone-work |
  70.                    text:sender-street |
  71.                    text:sender-city |
  72.                    text:sender-postal-code |
  73.                    text:sender-country |
  74.                    text:sender-state-or-province |
  75.                    text:author-name |
  76.                    text:author-initials |
  77.                    text:placeholder |
  78.                    text:variable-set | 
  79.                    text:variable-get | 
  80.                    text:variable-input | 
  81.                    text:user-field-get | 
  82.                    text:user-field-input | 
  83.                    text:sequence | 
  84.                    text:expression | 
  85.                    text:text-input |
  86.                    text:database-display |
  87.                    text:database-next |
  88.                    text:database-select |
  89.                    text:database-row-number |
  90.                    text:database-name |
  91.                    text:initial-creator |
  92.                    text:creation-date |
  93.                    text:creation-time |
  94.                    text:description |
  95.                    text:user-defined |
  96.                    text:print-time |
  97.                    text:print-date |
  98.                    text:printed-by |
  99.                    text:title |
  100.                    text:subject |
  101.                    text:keywords |
  102.                    text:editing-cycles |
  103.                    text:editing-duration |
  104.                    text:modification-time |
  105.                    text:modification-date |
  106.                    text:creator |
  107.                    text:conditional-text |
  108.                    text:hidden-text |
  109.                    text:hidden-paragraph |
  110.                    text:chapter |
  111.                    text:file-name |
  112.                    text:template-name |
  113.                    text:page-variable-set |
  114.                    text:page-variable-get |
  115.                    text:execute-macro |
  116.                    text:dde-connection |
  117.                    text:reference-ref |
  118.                    text:sequence-ref |
  119.                    text:bookmark-ref |
  120.                    text:footnote-ref |
  121.                    text:endnote-ref |
  122.                    text:sheet-name |
  123.                    text:bibliography-mark |
  124.                    text:page-count |
  125.                    text:paragraph-count |
  126.                    text:word-count |
  127.                    text:character-count |
  128.                    text:table-count |
  129.                    text:image-count |
  130.                    text:object-count |
  131.                    office:annotation |
  132.                    text:script |
  133.                    text:measure" >
  134.  
  135. <!ENTITY % inline-text-elements "
  136.                  text:span|text:tab-stop|text:s|text:line-break|
  137.                  text:footnote|text:endnote|text:a|
  138.                  text:bookmark|text:bookmark-start|text:bookmark-end|
  139.                  text:reference-mark|text:reference-mark-start|
  140.                  text:reference-mark-end|%fields;|%shape;|
  141.                  text:toc-mark-start | text:toc-mark-end | 
  142.                  text:toc-mark | text:user-index-mark-start |
  143.                  text:user-index-mark-end | text:user-index-mark |
  144.                  text:alphabetical-index-mark-start |
  145.                  text:alphabetical-index-mark-end |
  146.                  text:alphabetical-index-mark |
  147.                  %change-marks; | draw:a | text:ruby">
  148.  
  149. <!ENTITY % inline-text "( #PCDATA | %inline-text-elements; )*">
  150.  
  151. <!ELEMENT text:p %inline-text;>
  152. <!ELEMENT text:h %inline-text;>
  153.  
  154. <!ATTLIST text:p text:style-name %styleName; #IMPLIED>
  155. <!ATTLIST text:p text:cond-style-name %styleName; #IMPLIED>
  156.  
  157. <!ATTLIST text:h text:style-name %styleName; #IMPLIED>
  158. <!ATTLIST text:h text:cond-style-name %styleName; #IMPLIED>
  159. <!ATTLIST text:h text:level %positiveInteger; "1">
  160.  
  161. <!ELEMENT text:span %inline-text;>
  162. <!ATTLIST text:span text:style-name %styleName; #REQUIRED>
  163.  
  164. <!ELEMENT text:a (#PCDATA | office:events | %inline-text-elements;)*>
  165. <!ATTLIST text:a xlink:href %uriReference; #REQUIRED>
  166. <!ATTLIST text:a xlink:type (simple) #FIXED "simple">
  167. <!ATTLIST text:a xlink:actuate (onRequest) "onRequest">
  168. <!ATTLIST text:a xlink:show (new|replace) "replace">
  169. <!ATTLIST text:a office:name %string; #IMPLIED>
  170. <!ATTLIST text:a office:target-frame-name %string; #IMPLIED>
  171. <!ATTLIST text:a text:style-name %styleName; #IMPLIED>
  172. <!ATTLIST text:a text:visited-style-name %styleName; #IMPLIED>
  173.  
  174.  
  175. <!ELEMENT text:s EMPTY>
  176. <!ATTLIST text:s text:c %positiveInteger; "1">
  177.  
  178. <!ELEMENT text:tab-stop EMPTY>
  179.  
  180. <!ELEMENT text:line-break EMPTY>
  181.  
  182.  
  183. <!ENTITY % list-items "((text:list-header,text:list-item*)|text:list-item+)">
  184. <!ELEMENT text:ordered-list %list-items;>
  185. <!ELEMENT text:unordered-list %list-items;>
  186.  
  187.  
  188. <!ATTLIST text:ordered-list text:style-name %styleName; #IMPLIED>
  189. <!ATTLIST text:unordered-list text:style-name %styleName; #IMPLIED>
  190.  
  191. <!ATTLIST text:ordered-list text:continue-numbering %boolean; "false">
  192.  
  193. <!ELEMENT text:list-header (text:p|text:h)+>
  194. <!ELEMENT text:list-item (text:p|text:h|text:ordered-list|text:unordered-list)+>
  195.  
  196. <!ATTLIST text:list-item text:restart-numbering %boolean; "false">
  197. <!ATTLIST text:list-item text:start-value %positiveInteger; #IMPLIED>
  198.  
  199. <!ELEMENT text:list-style (text:list-level-style-number|
  200.                             text:list-level-style-bullet|
  201.                             text:list-level-style-image)+>
  202.  
  203. <!ATTLIST text:list-style style:name %styleName; #IMPLIED>
  204.  
  205. <!ATTLIST text:list-style text:consecutive-numbering %boolean; "false">
  206.  
  207.  
  208. <!ELEMENT text:list-level-style-number (style:properties?)>
  209.  
  210. <!ATTLIST text:list-level-style-number text:level %positiveInteger;
  211.                                                   #REQUIRED>
  212. <!ATTLIST text:list-level-style-number text:style-name %styleName; #IMPLIED>
  213.  
  214. <!ATTLIST text:list-level-style-number style:num-format %string; #REQUIRED>
  215. <!ATTLIST text:list-level-style-number style:num-prefix %string; #IMPLIED>
  216. <!ATTLIST text:list-level-style-number style:num-suffix %string; #IMPLIED>
  217. <!ATTLIST text:list-level-style-number style:num-letter-sync %boolean;
  218.                                                              "false">
  219. <!ATTLIST text:list-level-style-number text:display-levels %positiveInteger;
  220.                                                            "1">
  221. <!ATTLIST text:list-level-style-number text:start-value %positiveInteger;
  222.                                                            "1">
  223. <!ELEMENT text:list-level-style-bullet (style:properties?)>
  224.  
  225. <!ATTLIST text:list-level-style-bullet text:level %positiveInteger; #REQUIRED>
  226. <!ATTLIST text:list-level-style-bullet text:style-name %styleName; #IMPLIED>
  227. <!ATTLIST text:list-level-style-bullet text:bullet-char %character; #REQUIRED>
  228. <!ATTLIST text:list-level-style-bullet style:num-prefix %string; #IMPLIED>
  229. <!ATTLIST text:list-level-style-bullet style:num-suffix %string; #IMPLIED>
  230.  
  231. <!ELEMENT text:list-level-style-image (style:properties?,office:binary-data?)>
  232.  
  233. <!ATTLIST text:list-level-style-image text:level %positiveInteger; #REQUIRED>
  234. <!ATTLIST text:list-level-style-image xlink:type (simple) #IMPLIED>
  235. <!ATTLIST text:list-level-style-image xlink:href %uriReference; #IMPLIED>
  236. <!ATTLIST text:list-level-style-image xlink:actuate (onLoad) #IMPLIED>
  237. <!ATTLIST text:list-level-style-image xlink:show (embed) #IMPLIED>
  238.  
  239.  
  240. <!-- list properties -->
  241. <!ATTLIST style:properties text:space-before %nonNegativeLength; #IMPLIED>
  242. <!ATTLIST style:properties text:min-label-width %nonNegativeLength; #IMPLIED>
  243. <!ATTLIST style:properties text:min-label-distance %nonNegativeLength; #IMPLIED>
  244. <!ATTLIST style:properties text:enable-numbering %boolean; #IMPLIED>
  245. <!ATTLIST style:properties style:list-style-name %styleName; #IMPLIED>
  246.  
  247. <!ELEMENT text:outline-style (text:outline-level-style)+>
  248.  
  249. <!ELEMENT text:outline-level-style (style:properties?)>
  250.  
  251. <!ATTLIST text:outline-level-style text:level %positiveInteger;
  252.                                                      #REQUIRED>
  253. <!ATTLIST text:outline-level-style text:style-name %styleName; #IMPLIED>
  254.  
  255. <!ATTLIST text:outline-level-style style:num-format %string; #REQUIRED>
  256. <!ATTLIST text:outline-level-style style:num-prefix %string; #IMPLIED>
  257. <!ATTLIST text:outline-level-style style:num-suffix %string; #IMPLIED>
  258. <!ATTLIST text:outline-level-style style:num-letter-sync %boolean;
  259.                                                                 "false">
  260. <!ATTLIST text:outline-level-style text:display-levels %positiveInteger;
  261.                                                               "1">
  262. <!ATTLIST text:outline-level-style text:start-value %positiveInteger;
  263.                                                            "1">
  264.  
  265. <!ENTITY % field-declarations "text:variable-decls?, 
  266.                                text:user-field-decls?, 
  267.                                text:sequence-decls?">
  268.  
  269. <!ENTITY % variableName "CDATA">
  270.  
  271. <!ENTITY % formula "CDATA">
  272.  
  273. <!ENTITY % valueAttr "text:value-type %valueType; #IMPLIED
  274.                              text:currency CDATA #IMPLIED" >
  275.  
  276. <!ENTITY % valueAndTypeAttr "%valueAttr;
  277.                               text:value %float; #IMPLIED
  278.                              text:date-value %date; #IMPLIED
  279.                              text:time-value %timeInstance; #IMPLIED
  280.                              text:boolean-value %boolean; #IMPLIED
  281.                              text:string-value %string; #IMPLIED" >
  282.  
  283. <!ENTITY % numFormat 'style:num-format CDATA #IMPLIED 
  284.                        style:num-letter-sync %boolean; "false"'>
  285.  
  286.  
  287. <!ELEMENT text:date (#PCDATA)>
  288. <!ATTLIST text:date text:date-value %timeInstance; #IMPLIED>
  289. <!ATTLIST text:date text:date-adjust %dateDuration; #IMPLIED>
  290. <!ATTLIST text:date text:fixed %boolean; "false">
  291. <!ATTLIST text:date style:data-style-name %styleName; #IMPLIED>
  292.  
  293. <!ELEMENT text:time (#PCDATA)>
  294. <!ATTLIST text:time text:time-value %timeInstance; #IMPLIED>
  295. <!ATTLIST text:time text:time-adjust %timeDuration; #IMPLIED>
  296. <!ATTLIST text:time text:fixed %boolean; "false">
  297. <!ATTLIST text:time style:data-style-name %styleName; #IMPLIED>
  298.  
  299. <!ELEMENT text:page-number (#PCDATA)>
  300. <!ATTLIST text:page-number text:page-adjust %positiveInteger; #IMPLIED>
  301. <!ATTLIST text:page-number text:select-page (previous|current|next) "current">
  302. <!ATTLIST text:page-number %numFormat;>
  303.  
  304. <!ELEMENT text:page-continuation (#PCDATA)>
  305. <!ATTLIST text:page-continuation text:select-page (previous|next) #REQUIRED>
  306. <!ATTLIST text:page-continuation text:string-value %string; #IMPLIED>
  307.  
  308. <!ELEMENT text:sender-firstname (#PCDATA)>
  309. <!ATTLIST text:sender-firstname text:fixed %boolean; "true">
  310.  
  311. <!ELEMENT text:sender-lastname (#PCDATA)>
  312. <!ATTLIST text:sender-lastname text:fixed %boolean; "true">
  313.  
  314. <!ELEMENT text:sender-initials (#PCDATA)>
  315. <!ATTLIST text:sender-initials text:fixed %boolean; "true">
  316.  
  317. <!ELEMENT text:sender-title (#PCDATA)>
  318. <!ATTLIST text:sender-title text:fixed %boolean; "true">
  319.  
  320. <!ELEMENT text:sender-position (#PCDATA)>
  321. <!ATTLIST text:sender-position text:fixed %boolean; "true">
  322.  
  323. <!ELEMENT text:sender-email (#PCDATA)>
  324. <!ATTLIST text:sender-email text:fixed %boolean; "true">
  325.  
  326. <!ELEMENT text:sender-phone-private (#PCDATA)>
  327. <!ATTLIST text:sender-phone-private text:fixed %boolean; "true">
  328.  
  329. <!ELEMENT text:sender-fax (#PCDATA)>
  330. <!ATTLIST text:sender-fax text:fixed %boolean; "true">
  331.  
  332. <!ELEMENT text:sender-company (#PCDATA)>
  333. <!ATTLIST text:sender-company text:fixed %boolean; "true">
  334.  
  335. <!ELEMENT text:sender-phone-work (#PCDATA)>
  336. <!ATTLIST text:sender-phone-work text:fixed %boolean; "true">
  337.  
  338. <!ELEMENT text:sender-street (#PCDATA)>
  339. <!ATTLIST text:sender-street text:fixed %boolean; "true">
  340.  
  341. <!ELEMENT text:sender-city (#PCDATA)>
  342. <!ATTLIST text:sender-city text:fixed %boolean; "true">
  343.  
  344. <!ELEMENT text:sender-postal-code (#PCDATA)>
  345. <!ATTLIST text:sender-postal-code text:fixed %boolean; "true">
  346.  
  347. <!ELEMENT text:sender-country (#PCDATA)>
  348. <!ATTLIST text:sender-country text:fixed %boolean; "true">
  349.  
  350. <!ELEMENT text:sender-state-or-province (#PCDATA)>
  351. <!ATTLIST text:sender-state-or-province text:fixed %boolean; "true">
  352.  
  353. <!ELEMENT text:author-name (#PCDATA)>
  354. <!ATTLIST text:author-name text:fixed %boolean; "true">
  355.  
  356. <!ELEMENT text:author-initials (#PCDATA)>
  357. <!ATTLIST text:author-initials text:fixed %boolean; "true">
  358.  
  359. <!ELEMENT text:placeholder (#PCDATA)>
  360. <!ATTLIST text:placeholder text:placeholder-type (text|table|text-box|image|object) #REQUIRED>
  361. <!ATTLIST text:placeholder text:description %string; #IMPLIED>
  362.  
  363. <!ELEMENT text:variable-decls (text:variable-decl)*>
  364.  
  365. <!ELEMENT text:variable-decl EMPTY>
  366. <!ATTLIST text:variable-decl text:name %variableName; #REQUIRED>
  367. <!ATTLIST text:variable-decl %valueAndTypeAttr;>
  368.  
  369. <!ELEMENT text:variable-set (#PCDATA)>
  370. <!ATTLIST text:variable-set text:name %variableName; #REQUIRED>
  371. <!ATTLIST text:variable-set text:formula %formula; #IMPLIED>
  372. <!ATTLIST text:variable-set %valueAndTypeAttr;>
  373. <!ATTLIST text:variable-set text:display (value|none) "value">
  374. <!ATTLIST text:variable-set style:data-style-name %styleName; #IMPLIED>
  375.  
  376. <!ELEMENT text:variable-get (#PCDATA)>
  377. <!ATTLIST text:variable-get text:name %variableName; #REQUIRED>
  378. <!ATTLIST text:variable-get text:display (value|formula) "value">
  379. <!ATTLIST text:variable-get style:data-style-name %styleName; #IMPLIED>
  380. <!ATTLIST text:variable-get %valueAttr;>
  381.  
  382. <!ELEMENT text:variable-input (#PCDATA)>
  383. <!ATTLIST text:variable-input text:name %variableName; #REQUIRED>
  384. <!ATTLIST text:variable-input text:description %string; #IMPLIED>
  385. <!ATTLIST text:variable-input %valueAndTypeAttr;>
  386. <!ATTLIST text:variable-input text:display (value|none) "value">
  387. <!ATTLIST text:variable-input style:data-style-name %styleName; #IMPLIED>
  388.  
  389. <!ELEMENT text:user-field-decls (text:user-field-decl)*>
  390.  
  391. <!ELEMENT text:user-field-decl EMPTY>
  392. <!ATTLIST text:user-field-decl text:name %variableName; #REQUIRED>
  393. <!ATTLIST text:user-field-decl text:formula %formula; #IMPLIED>
  394. <!ATTLIST text:user-field-decl %valueAndTypeAttr;>
  395.  
  396. <!ELEMENT text:user-field-get (#PCDATA)>
  397. <!ATTLIST text:user-field-get text:name %variableName; #REQUIRED>
  398. <!ATTLIST text:user-field-get text:display (value|formula|none) "value">
  399. <!ATTLIST text:user-field-get style:data-style-name %styleName; #IMPLIED>
  400.  
  401. <!ELEMENT text:user-field-input (#PCDATA)>
  402. <!ATTLIST text:user-field-input text:name %variableName; #REQUIRED>
  403. <!ATTLIST text:user-field-input text:description %string; #IMPLIED>
  404. <!ATTLIST text:user-field-input style:data-style-name %styleName; #IMPLIED>
  405.  
  406. <!ELEMENT text:sequence-decls (text:sequence-decl)*>
  407.  
  408. <!ELEMENT text:sequence-decl EMPTY>
  409. <!ATTLIST text:sequence-decl text:name %variableName; #REQUIRED>
  410. <!ATTLIST text:sequence-decl text:display-outline-level %positiveInteger; "0">
  411. <!ATTLIST text:sequence-decl text:separation-character %character; ".">
  412.  
  413. <!ELEMENT text:sequence (#PCDATA)>
  414. <!ATTLIST text:sequence text:name %variableName; #REQUIRED>
  415. <!ATTLIST text:sequence text:formula %formula; #IMPLIED>
  416. <!ATTLIST text:sequence %numFormat;>
  417. <!ATTLIST text:sequence text:ref-name ID #IMPLIED>
  418.  
  419. <!ELEMENT text:expression (#PCDATA)>
  420. <!ATTLIST text:expression text:formula %formula; #IMPLIED>
  421. <!ATTLIST text:expression text:display (value|formula ) "value">
  422. <!ATTLIST text:expression %valueAndTypeAttr;>
  423. <!ATTLIST text:expression style:data-style-name %styleName; #IMPLIED>
  424.  
  425. <!ELEMENT text:text-input (#PCDATA)>
  426. <!ATTLIST text:text-input text:description %string; #IMPLIED>
  427.  
  428. <!ENTITY % database-table "text:database-name CDATA #REQUIRED 
  429.                            text:table-name CDATA #REQUIRED
  430.                            text:table-type (table|query|command) #IMPLIED">
  431.  
  432. <!ELEMENT text:database-display (#PCDATA)>
  433. <!ATTLIST text:database-display %database-table;>
  434. <!ATTLIST text:database-display text:column-name %string; #REQUIRED>
  435. <!ATTLIST text:database-display style:data-style-name %styleName; #IMPLIED>
  436. <!ATTLIST text:database-display text:display (none|value) #IMPLIED>
  437.  
  438. <!ELEMENT text:database-next (#PCDATA)>
  439. <!ATTLIST text:database-next %database-table;>
  440. <!ATTLIST text:database-next text:condition %formula; #IMPLIED>
  441.  
  442. <!ELEMENT text:database-select (#PCDATA)>
  443. <!ATTLIST text:database-select %database-table;>
  444. <!ATTLIST text:database-select text:condition %formula; #IMPLIED>
  445. <!ATTLIST text:database-select text:row-number %integer; #REQUIRED>
  446.  
  447. <!ELEMENT text:database-row-number (#PCDATA)>
  448. <!ATTLIST text:database-row-number %database-table;>
  449. <!ATTLIST text:database-row-number %numFormat;>
  450. <!ATTLIST text:database-row-number text:value %integer; #IMPLIED>
  451. <!ATTLIST text:database-row-number text:display (none|value) #IMPLIED>
  452.  
  453. <!ELEMENT text:database-name (#PCDATA)>
  454. <!ATTLIST text:database-name %database-table;>
  455. <!ATTLIST text:database-name text:display (none|value) #IMPLIED>
  456.  
  457. <!ELEMENT text:initial-creator (#PCDATA)>
  458. <!ATTLIST text:initial-creator text:fixed %boolean; "false">
  459.  
  460. <!ELEMENT text:creation-date (#PCDATA)>
  461. <!ATTLIST text:creation-date text:fixed %boolean; "false">
  462. <!ATTLIST text:creation-date text:date-value %date; #IMPLIED>
  463. <!ATTLIST text:creation-date style:data-style-name %styleName; #IMPLIED>
  464.  
  465. <!ELEMENT text:creation-time (#PCDATA)>
  466. <!ATTLIST text:creation-time text:fixed %boolean; "false">
  467. <!ATTLIST text:creation-time text:time-value %timeInstance; #IMPLIED>
  468. <!ATTLIST text:creation-time style:data-style-name %styleName; #IMPLIED>
  469.  
  470. <!ELEMENT text:description (#PCDATA)>
  471. <!ATTLIST text:description text:fixed %boolean; "false">
  472.  
  473. <!ELEMENT text:user-defined (#PCDATA)>
  474. <!ATTLIST text:user-defined text:fixed %boolean; "false">
  475. <!ATTLIST text:user-defined text:name %string; #REQUIRED>
  476.  
  477. <!ELEMENT text:print-time (#PCDATA)>
  478. <!ATTLIST text:print-time text:fixed %boolean; "false">
  479. <!ATTLIST text:print-time text:time-value %timeInstance; #IMPLIED>
  480. <!ATTLIST text:print-time style:data-style-name %styleName; #IMPLIED>
  481.  
  482. <!ELEMENT text:print-date (#PCDATA)>
  483. <!ATTLIST text:print-date text:fixed %boolean; "false">
  484. <!ATTLIST text:print-date text:date-value %date; #IMPLIED>
  485. <!ATTLIST text:print-date style:data-style-name %styleName; #IMPLIED>
  486.  
  487. <!ELEMENT text:printed-by (#PCDATA)>
  488. <!ATTLIST text:printed-by text:fixed %boolean; "false">
  489.  
  490. <!ELEMENT text:title (#PCDATA)>
  491. <!ATTLIST text:title text:fixed %boolean; "false">
  492.  
  493. <!ELEMENT text:subject (#PCDATA)>
  494. <!ATTLIST text:subject text:fixed %boolean; "false">
  495.  
  496. <!ELEMENT text:keywords (#PCDATA)>
  497. <!ATTLIST text:keywords text:fixed %boolean; "false">
  498.  
  499. <!ELEMENT text:editing-cycles (#PCDATA)>
  500. <!ATTLIST text:editing-cycles text:fixed %boolean; "false">
  501.  
  502. <!ELEMENT text:editing-duration (#PCDATA)>
  503. <!ATTLIST text:editing-duration text:fixed %boolean; "false">
  504. <!ATTLIST text:editing-duration text:duration %timeDuration; #IMPLIED>
  505. <!ATTLIST text:editing-duration style:data-style-name %styleName; #IMPLIED>
  506.  
  507. <!ELEMENT text:modification-time (#PCDATA)>
  508. <!ATTLIST text:modification-time text:fixed %boolean; "false">
  509. <!ATTLIST text:modification-time text:time-value %timeInstance; #IMPLIED>
  510. <!ATTLIST text:modification-time style:data-style-name %styleName; #IMPLIED>
  511.  
  512. <!ELEMENT text:modification-date (#PCDATA)>
  513. <!ATTLIST text:modification-date text:fixed %boolean; "false">
  514. <!ATTLIST text:modification-date text:date-value %date; #IMPLIED>
  515. <!ATTLIST text:modification-date style:data-style-name %styleName; #IMPLIED>
  516.  
  517. <!ELEMENT text:creator (#PCDATA)>
  518. <!ATTLIST text:creator text:fixed %boolean; "false">
  519.  
  520. <!ELEMENT text:conditional-text (#PCDATA)>
  521. <!ATTLIST text:conditional-text text:condition %formula; #REQUIRED>
  522. <!ATTLIST text:conditional-text text:string-value-if-false %string; #REQUIRED>
  523. <!ATTLIST text:conditional-text text:string-value-if-true %string; #REQUIRED>
  524. <!ATTLIST text:conditional-text text:current-value %boolean; "false">
  525.  
  526. <!ELEMENT text:hidden-text (#PCDATA)>
  527. <!ATTLIST text:hidden-text text:condition %formula; #REQUIRED>
  528. <!ATTLIST text:hidden-text text:string-value %string; #REQUIRED>
  529. <!ATTLIST text:hidden-text text:is-hidden %boolean; "false">
  530.  
  531. <!ELEMENT text:hidden-paragraph EMPTY>
  532. <!ATTLIST text:hidden-paragraph text:condition %formula; #REQUIRED>
  533. <!ATTLIST text:hidden-paragraph text:is-hidden %boolean; "false">
  534.  
  535. <!ELEMENT text:chapter (#PCDATA)>
  536. <!ATTLIST text:chapter text:display (name|number|number-and-name|
  537.                                      plain-number-and-name|plain-number) 
  538.                                      "number-and-name">
  539. <!ATTLIST text:chapter text:outline-level %integer; "1">
  540.  
  541. <!ELEMENT text:file-name (#PCDATA)>
  542. <!ATTLIST text:file-name text:display (full|path|name|name-and-extension)     
  543.                                       "full">
  544. <!ATTLIST text:file-name text:fixed %boolean; "false">
  545.  
  546. <!ELEMENT text:template-name (#PCDATA)>
  547. <!ATTLIST text:template-name text:display (full|path|name|name-and-extension|
  548.                                           area|title) "full">
  549.  
  550. <!ELEMENT text:page-variable-set EMPTY>
  551. <!ATTLIST text:page-variable-set text:active %boolean; "true">
  552. <!ATTLIST text:page-variable-set text:page-adjust %integer; "0">
  553.  
  554. <!ELEMENT text:page-variable-get (#PCDATA)>
  555. <!ATTLIST text:page-variable-get %numFormat;>
  556.  
  557. <!ELEMENT text:execute-macro (#PCDATA|office:events)* >
  558. <!ATTLIST text:execute-macro text:description %string; #IMPLIED>
  559.  
  560.  
  561. <!ELEMENT text:dde-connection-decls (text:dde-connection-decl)*>
  562.  
  563. <!ELEMENT text:dde-connection-decl EMPTY>
  564. <!ATTLIST text:dde-connection-decl text:name %string; #REQUIRED>
  565. <!ATTLIST text:dde-connection-decl office:dde-application %string; #REQUIRED>
  566. <!ATTLIST text:dde-connection-decl office:dde-topic %string; #REQUIRED>
  567. <!ATTLIST text:dde-connection-decl office:dde-item %string; #REQUIRED>
  568. <!ATTLIST text:dde-connection-decl office:automatic-update %boolean; "false">
  569.  
  570. <!ELEMENT text:dde-connection (#PCDATA)>
  571. <!ATTLIST text:dde-connection text:connection-name %string; #REQUIRED>
  572.  
  573. <!ELEMENT text:reference-ref (#PCDATA)>
  574. <!ATTLIST text:reference-ref text:ref-name %string; #REQUIRED>
  575. <!ATTLIST text:reference-ref text:reference-format (page|chapter|text|direction) #IMPLIED>
  576.  
  577. <!ELEMENT text:sequence-ref (#PCDATA)>
  578. <!ATTLIST text:sequence-ref text:ref-name %string; #REQUIRED>
  579. <!ATTLIST text:sequence-ref text:reference-format (page|chapter|text|direction|category-and-value|caption|value) #IMPLIED>
  580.  
  581. <!ELEMENT text:bookmark-ref (#PCDATA)>
  582. <!ATTLIST text:bookmark-ref text:ref-name %string; #REQUIRED>
  583. <!ATTLIST text:bookmark-ref text:reference-format (page|chapter|text|direction) #IMPLIED>
  584.  
  585. <!ELEMENT text:footnote-ref (#PCDATA)>
  586. <!ATTLIST text:footnote-ref text:ref-name %string; #REQUIRED>
  587. <!ATTLIST text:footnote-ref text:reference-format (page|chapter|text|direction) #IMPLIED>
  588.  
  589. <!ELEMENT text:endnote-ref (#PCDATA)>
  590. <!ATTLIST text:endnote-ref text:ref-name %string; #REQUIRED>
  591. <!ATTLIST text:endnote-ref text:reference-format (page|chapter|text|direction) #IMPLIED>
  592.  
  593. <!ELEMENT text:sheet-name (#PCDATA)>
  594.  
  595. <!ELEMENT text:page-count (#PCDATA)>
  596. <!ATTLIST text:page-count style:num-format %string; #IMPLIED>
  597. <!ATTLIST text:page-count style:num-letter-sync %boolean; "false">
  598.  
  599. <!ELEMENT text:paragraph-count (#PCDATA)>
  600. <!ATTLIST text:paragraph-count style:num-format %string; #IMPLIED>
  601. <!ATTLIST text:paragraph-count style:num-letter-sync %boolean; "false">
  602.  
  603. <!ELEMENT text:word-count (#PCDATA)>
  604. <!ATTLIST text:word-count style:num-format %string; #IMPLIED>
  605. <!ATTLIST text:word-count style:num-letter-sync %boolean; "false">
  606.  
  607. <!ELEMENT text:character-count (#PCDATA)>
  608. <!ATTLIST text:character-count style:num-format %string; #IMPLIED>
  609. <!ATTLIST text:character-count style:num-letter-sync %boolean; "false">
  610.  
  611. <!ELEMENT text:table-count (#PCDATA)>
  612. <!ATTLIST text:table-count style:num-format %string; #IMPLIED>
  613. <!ATTLIST text:table-count style:num-letter-sync %boolean; "false">
  614.  
  615. <!ELEMENT text:image-count (#PCDATA)>
  616. <!ATTLIST text:image-count style:num-format %string; #IMPLIED>
  617. <!ATTLIST text:image-count style:num-letter-sync %boolean; "false">
  618.  
  619. <!ELEMENT text:object-count (#PCDATA)>
  620. <!ATTLIST text:object-count style:num-format %string; #IMPLIED>
  621. <!ATTLIST text:object-count style:num-letter-sync %boolean; "false">
  622.  
  623. <!ELEMENT text:bibliography-mark (#PCDATA)>
  624. <!ATTLIST text:bibliography-mark text:bibliography-type 
  625.     ( article | book | booklet | conference | custom1 | custom2 | custom3 | 
  626.       custom4 | custom5 | email | inbook | incollection | inproceedings | 
  627.       journal | manual | mastersthesis | misc | phdthesis | proceedings | 
  628.       techreport | unpublished | www ) #REQUIRED >
  629. <!ATTLIST text:bibliography-mark text:identifier CDATA #IMPLIED>
  630. <!ATTLIST text:bibliography-mark text:address CDATA #IMPLIED>
  631. <!ATTLIST text:bibliography-mark text:annote CDATA #IMPLIED>
  632. <!ATTLIST text:bibliography-mark text:author CDATA #IMPLIED>
  633. <!ATTLIST text:bibliography-mark text:booktitle CDATA #IMPLIED>
  634. <!ATTLIST text:bibliography-mark text:chapter CDATA #IMPLIED>
  635. <!ATTLIST text:bibliography-mark text:edition CDATA #IMPLIED>
  636. <!ATTLIST text:bibliography-mark text:editor CDATA #IMPLIED>
  637. <!ATTLIST text:bibliography-mark text:howpublished CDATA #IMPLIED>
  638. <!ATTLIST text:bibliography-mark text:institution CDATA #IMPLIED>
  639. <!ATTLIST text:bibliography-mark text:journal CDATA #IMPLIED>
  640. <!ATTLIST text:bibliography-mark text:month CDATA #IMPLIED>
  641. <!ATTLIST text:bibliography-mark text:note CDATA #IMPLIED>
  642. <!ATTLIST text:bibliography-mark text:number CDATA #IMPLIED>
  643. <!ATTLIST text:bibliography-mark text:organizations CDATA #IMPLIED>
  644. <!ATTLIST text:bibliography-mark text:pages CDATA #IMPLIED>
  645. <!ATTLIST text:bibliography-mark text:publisher CDATA #IMPLIED>
  646. <!ATTLIST text:bibliography-mark text:school CDATA #IMPLIED>
  647. <!ATTLIST text:bibliography-mark text:series CDATA #IMPLIED>
  648. <!ATTLIST text:bibliography-mark text:title CDATA #IMPLIED>
  649. <!ATTLIST text:bibliography-mark text:report-type CDATA #IMPLIED>
  650. <!ATTLIST text:bibliography-mark text:volume CDATA #IMPLIED>
  651. <!ATTLIST text:bibliography-mark text:year CDATA #IMPLIED>
  652. <!ATTLIST text:bibliography-mark text:url CDATA #IMPLIED>
  653. <!ATTLIST text:bibliography-mark text:custom1 CDATA #IMPLIED>
  654. <!ATTLIST text:bibliography-mark text:custom2 CDATA #IMPLIED>
  655. <!ATTLIST text:bibliography-mark text:custom3 CDATA #IMPLIED>
  656. <!ATTLIST text:bibliography-mark text:custom4 CDATA #IMPLIED>
  657. <!ATTLIST text:bibliography-mark text:custom5 CDATA #IMPLIED>
  658. <!ATTLIST text:bibliography-mark text:isbn CDATA #IMPLIED>
  659.  
  660.  
  661. <!ELEMENT text:bookmark EMPTY>
  662. <!ATTLIST text:bookmark text:name CDATA #REQUIRED>
  663.  
  664. <!ELEMENT text:bookmark-start EMPTY>
  665. <!ATTLIST text:bookmark-start text:name CDATA #REQUIRED>
  666.  
  667. <!ELEMENT text:bookmark-end EMPTY>
  668. <!ATTLIST text:bookmark-end text:name CDATA #REQUIRED>
  669.  
  670. <!ELEMENT text:reference-mark EMPTY>
  671. <!ATTLIST text:reference-mark text:name CDATA #REQUIRED>
  672.  
  673. <!ELEMENT text:reference-mark-start EMPTY>
  674. <!ATTLIST text:reference-mark-start text:name CDATA #REQUIRED>
  675.  
  676. <!ELEMENT text:reference-mark-end EMPTY>
  677. <!ATTLIST text:reference-mark-end text:name CDATA #REQUIRED>
  678.  
  679. <!ELEMENT text:footnotes-configuration (text:footnote-continuation-notice-forward?,text:footnote-continuation-notice-backward?)>
  680. <!ATTLIST text:footnotes-configuration style:num-prefix %string; #IMPLIED>
  681. <!ATTLIST text:footnotes-configuration style:num-suffix %string; #IMPLIED>
  682. <!ATTLIST text:footnotes-configuration style:num-format %string; #IMPLIED>
  683. <!ATTLIST text:footnotes-configuration style:num-letter-sync %string; #IMPLIED>
  684. <!ATTLIST text:footnotes-configuration text:citation-body-style-name %styleName; #IMPLIED>
  685. <!ATTLIST text:footnotes-configuration text:citation-style-name %styleName; #IMPLIED>
  686. <!ATTLIST text:footnotes-configuration text:default-style-name  %styleName; #IMPLIED>
  687. <!ATTLIST text:footnotes-configuration text:master-page-name %styleName; #IMPLIED>
  688. <!ATTLIST text:footnotes-configuration text:start-value %integer; #IMPLIED>
  689. <!ATTLIST text:footnotes-configuration text:footnotes-position (document|page) "page">
  690. <!ATTLIST text:footnotes-configuration text:start-numbering-at (document|chapter|page) "document">
  691.  
  692. <!ELEMENT text:footnote-continuation-notice-forward (#PCDATA)> 
  693. <!ELEMENT text:footnote-continuation-notice-backward (#PCDATA)>
  694.  
  695. <!ELEMENT text:endnotes-configuration EMPTY>
  696. <!ATTLIST text:endnotes-configuration style:num-prefix %string; #IMPLIED>
  697. <!ATTLIST text:endnotes-configuration style:num-suffix %string; #IMPLIED>
  698. <!ATTLIST text:endnotes-configuration style:num-format %string; #IMPLIED>
  699. <!ATTLIST text:endnotes-configuration style:num-letter-sync %string; #IMPLIED>
  700. <!ATTLIST text:endnotes-configuration text:start-value %integer; #IMPLIED>
  701. <!ATTLIST text:endnotes-configuration text:citation-style-name %styleName; #IMPLIED>
  702. <!ATTLIST text:endnotes-configuration text:citation-body-style-name %styleName; #IMPLIED>
  703. <!ATTLIST text:endnotes-configuration text:default-style-name %styleName; #IMPLIED>
  704. <!ATTLIST text:endnotes-configuration text:master-page-name %styleName; #IMPLIED>
  705.  
  706. <!-- Validity constraint: text:footnote and text:endnote elements may not 
  707.     contain other text:footnote or text:endnote elements, even though the DTD
  708.     allows this (via the %text; in the foot-/endnote-body).
  709.     Unfortunatetly, this constraint cannot be easily specified in the DTD.
  710. -->
  711. <!ELEMENT text:footnote (text:footnote-citation, text:footnote-body)>
  712. <!ATTLIST text:footnote text:id ID #IMPLIED>
  713.  
  714. <!ELEMENT text:footnote-citation (#PCDATA)>
  715. <!ATTLIST text:footnote-citation text:label %string; #IMPLIED>
  716.  
  717. <!ELEMENT text:footnote-body (text:h|text:p|
  718.                               text:ordered-list|text:unordered-list)*>
  719.  
  720. <!ELEMENT text:endnote (text:endnote-citation, text:endnote-body)>
  721. <!ATTLIST text:endnote text:id ID #IMPLIED>
  722.  
  723. <!ELEMENT text:endnote-citation (#PCDATA)>
  724. <!ATTLIST text:endnote-citation text:label %string; #IMPLIED>
  725.  
  726. <!ELEMENT text:endnote-body (text:h|text:p|
  727.                              text:ordered-list|text:unordered-list)*>
  728.  
  729. <!ENTITY % sectionAttr "text:name CDATA #REQUIRED
  730.                         text:style-name %styleName; #IMPLIED
  731.                         text:protected %boolean; 'false' ">
  732.  
  733.  
  734. <!ELEMENT text:section ((text:section-source|office:dde-source)?,
  735.                         %sectionText;) >
  736.  
  737. <!ATTLIST text:section %sectionAttr;>
  738. <!ATTLIST text:section text:display (true|none|condition) "true">
  739. <!ATTLIST text:section text:condition %formula; #IMPLIED>
  740. <!ATTLIST text:section text:protection-key CDATA #IMPLIED>
  741. <!ATTLIST text:section text:is-hidden %boolean; #IMPLIED>
  742.  
  743. <!ELEMENT text:section-source EMPTY>
  744. <!ATTLIST text:section-source xlink:href %string; #IMPLIED>
  745. <!ATTLIST text:section-source xlink:type (simple) #FIXED "simple">
  746. <!ATTLIST text:section-source xlink:show (embed) #FIXED "embed">
  747. <!ATTLIST text:section-source text:section-name %string; #IMPLIED>
  748. <!ATTLIST text:section-source text:filter-name %string; #IMPLIED>
  749.  
  750. <!ELEMENT text:table-of-content (text:table-of-content-source, 
  751.                                  text:index-body)   >
  752. <!ATTLIST text:table-of-content %sectionAttr;>
  753.  
  754. <!ELEMENT text:table-of-content-source (text:index-title-template? , 
  755.                                         text:table-of-content-entry-template*,
  756.                                         text:index-source-styles* ) >
  757. <!ATTLIST text:table-of-content-source text:outline-level %integer; #IMPLIED>
  758. <!ATTLIST text:table-of-content-source text:use-outline-level %boolean; "true">
  759. <!ATTLIST text:table-of-content-source text:use-index-marks %boolean; "true">
  760. <!ATTLIST text:table-of-content-source text:use-index-source-styles 
  761.                                                             %boolean; "false">
  762. <!ATTLIST text:table-of-content-source text:index-scope (document|chapter) 
  763.                                                         "document">
  764. <!ATTLIST text:table-of-content-source text:relative-tab-stop-position 
  765.                                                             %boolean; "true">
  766. <!ATTLIST text:table-of-content-source fo:language %string; #IMPLIED>
  767. <!ATTLIST text:table-of-content-source fo:country %string; #IMPLIED>
  768. <!ATTLIST text:table-of-content-source text:sort-algorithm %string; #IMPLIED>
  769.  
  770. <!ELEMENT text:table-of-content-entry-template (text:index-entry-chapter-number |
  771.                                                 text:index-entry-page-number |
  772.                                                 text:index-entry-text |
  773.                                                 text:index-entry-span |
  774.                                                 text:index-entry-tab-stop |
  775.                                                 text:index-entry-link-start |
  776.                                                 text:index-entry-link-end)* >
  777. <!ATTLIST text:table-of-content-entry-template text:outline-level 
  778.                         %integer; #REQUIRED>
  779. <!ATTLIST text:table-of-content-entry-template text:style-name 
  780.                         %styleName; #REQUIRED>
  781.  
  782. <!ELEMENT text:illustration-index 
  783.             (text:illustration-index-source, text:index-body)>
  784. <!ATTLIST text:illustration-index %sectionAttr;>
  785.  
  786. <!ELEMENT text:illustration-index-source (text:index-title-template?,
  787.                                     text:illustration-index-entry-template?) >
  788. <!ATTLIST text:illustration-index-source text:index-scope 
  789.                                     (document|chapter) "document">
  790. <!ATTLIST text:illustration-index-source text:relative-tab-stop-position 
  791.                                     %boolean; "true">
  792. <!ATTLIST text:illustration-index-source text:use-caption %boolean; "true">
  793. <!ATTLIST text:illustration-index-source text:caption-sequence-name 
  794.                                     %string; #IMPLIED>
  795. <!ATTLIST text:illustration-index-source text:caption-sequence-format 
  796.                                     (text|category-and-value|caption) "text">
  797. <!ATTLIST text:illustration-index-source fo:language %string; #IMPLIED>
  798. <!ATTLIST text:illustration-index-source fo:country %string; #IMPLIED>
  799. <!ATTLIST text:illustration-index-source text:sort-algorithm %string; #IMPLIED>
  800.  
  801. <!ELEMENT text:illustration-index-entry-template 
  802.                                 ( text:index-entry-page-number |
  803.                                   text:index-entry-text |
  804.                                   text:index-entry-span |
  805.                                   text:index-entry-tab-stop )* >
  806. <!ATTLIST text:illustration-index-entry-template text:style-name 
  807.                                     %styleName; #REQUIRED>
  808.  
  809. <!ELEMENT text:table-index (text:table-index-source, text:index-body)>
  810. <!ATTLIST text:table-index %sectionAttr;>
  811.  
  812. <!ELEMENT text:table-index-source (text:index-title-template?, 
  813.                                     text:table-index-entry-template?) >
  814. <!ATTLIST text:table-index-source text:index-scope 
  815.                                     (document|chapter) "document">
  816. <!ATTLIST text:table-index-source text:relative-tab-stop-position 
  817.                                     %boolean; "true">
  818. <!ATTLIST text:table-index-source text:use-caption %boolean; "true">
  819. <!ATTLIST text:table-index-source text:caption-sequence-name 
  820.                                     %string; #IMPLIED>
  821. <!ATTLIST text:table-index-source text:caption-sequence-format 
  822.                                     (text|category-and-value|caption) "text">
  823. <!ATTLIST text:table-index-source fo:language %string; #IMPLIED>
  824. <!ATTLIST text:table-index-source fo:country %string; #IMPLIED>
  825. <!ATTLIST text:table-index-source text:sort-algorithm %string; #IMPLIED>
  826.  
  827. <!ELEMENT text:table-index-entry-template ( text:index-entry-page-number |
  828.                                             text:index-entry-text |
  829.                                             text:index-entry-span |
  830.                                             text:index-entry-tab-stop )* >
  831. <!ATTLIST text:table-index-entry-template text:style-name 
  832.                                             %styleName; #REQUIRED>
  833.  
  834. <!ELEMENT text:object-index ( text:object-index-source, text:index-body ) >
  835. <!ATTLIST text:object-index %sectionAttr;>
  836.  
  837. <!ELEMENT text:object-index-source ( text:index-title-template?,
  838.                                      text:object-index-entry-template? ) >
  839. <!ATTLIST text:object-index-source text:index-scope 
  840.                                     (document|chapter) "document">
  841. <!ATTLIST text:object-index-source text:relative-tab-stop-position 
  842.                                     %boolean; "true">
  843. <!ATTLIST text:object-index-source text:use-spreadsheet-objects 
  844.                                     %boolean; "false">
  845. <!ATTLIST text:object-index-source text:use-draw-objects %boolean; "false">
  846. <!ATTLIST text:object-index-source text:use-chart-objects %boolean; "false">
  847. <!ATTLIST text:object-index-source text:use-other-objects %boolean; "false">
  848. <!ATTLIST text:object-index-source text:use-math-objects %boolean; "false">
  849. <!ATTLIST text:object-index-source fo:language %string; #IMPLIED>
  850. <!ATTLIST text:object-index-source fo:country %string; #IMPLIED>
  851. <!ATTLIST text:object-index-source text:sort-algorithm %string; #IMPLIED>
  852.  
  853. <!ELEMENT text:object-index-entry-template ( text:index-entry-page-number |
  854.                                              text:index-entry-text |
  855.                                              text:index-entry-span |
  856.                                              text:index-entry-tab-stop )* >
  857. <!ATTLIST text:object-index-entry-template text:style-name 
  858.                                             %styleName; #REQUIRED >
  859.  
  860. <!ELEMENT text:user-index (text:user-index-source, text:index-body) >
  861. <!ATTLIST text:user-index %sectionAttr;>
  862.  
  863. <!ELEMENT text:user-index-source ( text:index-title-template?,
  864.                                    text:user-index-entry-template*,
  865.                                    text:index-source-styles* ) >
  866. <!ATTLIST text:user-index-source text:index-scope 
  867.                                     (document|chapter) "document">
  868. <!ATTLIST text:user-index-source text:relative-tab-stop-position
  869.                                     %boolean; "true">
  870. <!ATTLIST text:user-index-source text:use-index-marks %boolean; "false">
  871. <!ATTLIST text:user-index-source text:use-graphics %boolean; "false">
  872. <!ATTLIST text:user-index-source text:use-tables %boolean; "false">
  873. <!ATTLIST text:user-index-source text:use-floating-frames %boolean; "false">
  874. <!ATTLIST text:user-index-source text:use-objects %boolean; "false">
  875. <!ATTLIST text:user-index-source text:use-index-source-styles 
  876.                                                     %boolean; "false">
  877. <!ATTLIST text:user-index-source text:copy-outline-levels %boolean; "false">
  878. <!ATTLIST text:user-index-source fo:language %string; #IMPLIED>
  879. <!ATTLIST text:user-index-source fo:country %string; #IMPLIED>
  880. <!ATTLIST text:user-index-source text:sort-algorithm %string; #IMPLIED>
  881. <!ATTLIST text:user-index-source text:index-name %string; #IMPLIED>
  882.  
  883. <!ELEMENT text:user-index-entry-template ( text:index-entry-chapter |
  884.                                            text:index-entry-page-number |
  885.                                            text:index-entry-text |
  886.                                            text:index-entry-span |
  887.                                            text:index-entry-tab-stop )* >
  888. <!ATTLIST text:user-index-entry-template text:outline-level %integer; #REQUIRED>
  889. <!ATTLIST text:user-index-entry-template text:style-name %styleName; #REQUIRED>
  890.  
  891. <!ELEMENT text:alphabetical-index (text:alphabetical-index-source, 
  892.                                     text:index-body)>
  893. <!ATTLIST text:alphabetical-index %sectionAttr;>
  894.  
  895. <!ELEMENT text:alphabetical-index-source ( text:index-title-template?, 
  896.                             text:alphabetical-index-entry-template* ) >
  897. <!ATTLIST text:alphabetical-index-source text:index-scope 
  898.                                                 (document|chapter) "document">
  899. <!ATTLIST text:alphabetical-index-source text:relative-tab-stop-position
  900.                                                 %boolean; "true">
  901. <!ATTLIST text:alphabetical-index-source text:ignore-case %boolean; "false">
  902. <!ATTLIST text:alphabetical-index-source text:main-entry-style-name 
  903.                                                 %styleName; #IMPLIED>
  904. <!ATTLIST text:alphabetical-index-source text:alphabetical-separators 
  905.                                                 %boolean; "false">
  906. <!ATTLIST text:alphabetical-index-source text:combine-entries
  907.                                                 %boolean; "true">
  908. <!ATTLIST text:alphabetical-index-source text:combine-entries-with-dash
  909.                                                 %boolean; "false">
  910. <!ATTLIST text:alphabetical-index-source text:combine-entries-with-pp
  911.                                                 %boolean; "true">
  912. <!ATTLIST text:alphabetical-index-source text:use-keys-as-entries 
  913.                                                 %boolean; "false">
  914. <!ATTLIST text:alphabetical-index-source text:capitalize-entries
  915.                                                 %boolean; "false">
  916. <!ATTLIST text:alphabetical-index-source text:comma-separated
  917.                                                 %boolean; "false">
  918. <!ATTLIST text:alphabetical-index-source fo:language %string; #IMPLIED>
  919. <!ATTLIST text:alphabetical-index-source fo:country %string; #IMPLIED>
  920. <!ATTLIST text:alphabetical-index-source text:sort-algorithm %string; #IMPLIED>
  921.  
  922. <!ELEMENT text:alphabetical-index-entry-template ( text:index-entry-chapter |
  923.                                                 text:index-entry-page-number |
  924.                                                 text:index-entry-text |
  925.                                                 text:index-entry-span |
  926.                                                 text:index-entry-tab-stop )* >
  927. <!ATTLIST text:alphabetical-index-entry-template text:outline-level 
  928.                                                 (1|2|3|separator) #REQUIRED>
  929. <!ATTLIST text:alphabetical-index-entry-template text:style-name 
  930.                                                 %styleName; #REQUIRED>
  931.  
  932. <!ELEMENT text:alphabetical-index-auto-mark-file EMPTY>
  933. <!ATTLIST text:alphabetical-index-auto-mark-file xlink:href CDATA #IMPLIED>
  934. <!ATTLIST text:alphabetical-index-auto-mark-file xlink:type (simple) #FIXED "simple">
  935.  
  936. <!ELEMENT text:bibliography (text:bibliography-source, text:index-body) >
  937. <!ATTLIST text:bibliography %sectionAttr;>
  938.  
  939. <!ELEMENT text:bibliography-source ( text:index-title-template?,
  940.                                      text:bibliography-entry-template* ) >
  941.  
  942. <!ELEMENT text:bibliography-entry-template ( text:index-entry-span |
  943.                                              text:index-entry-tab-stop |
  944.                                              text:index-entry-bibliography )* >
  945. <!ATTLIST text:bibliography-entry-template text:bibliography-type 
  946.                 ( article | book | booklet | conference | custom1 | custom2 | 
  947.                   custom3 | custom4 | custom5 | email | inbook | incollection |
  948.                   inproceedings | journal | manual | mastersthesis | misc | 
  949.                   phdthesis | proceedings | techreport | unpublished | www ) 
  950.                 #REQUIRED >
  951. <!ATTLIST text:bibliography-entry-template text:style-name 
  952.                                                     %styleName; #REQUIRED>
  953.  
  954. <!ELEMENT text:index-body %sectionText; >
  955.  
  956. <!-- 
  957. Validity constraint: text:index-title elements may appear only in
  958. indices, and there may be only one text:index-title element.  
  959. -->
  960. <!ELEMENT text:index-title %sectionText; >
  961. <!ATTLIST text:index-title text:style-name %styleName; #IMPLIED>
  962. <!ATTLIST text:index-title text:name %string; #IMPLIED>
  963.  
  964. <!ELEMENT text:index-title-template (#PCDATA)>
  965. <!ATTLIST text:index-title-template text:style-name %styleName; #IMPLIED>
  966.  
  967. <!ELEMENT text:index-entry-chapter-number EMPTY>
  968. <!ATTLIST text:index-entry-chapter-number text:style-name %styleName; #IMPLIED>
  969.  
  970. <!ELEMENT text:index-entry-chapter EMPTY>
  971. <!ATTLIST text:index-entry-chapter text:style-name %styleName; #IMPLIED>
  972. <!ATTLIST text:index-entry-chapter text:display (name|number|number-and-name) 
  973.                                                             "number-and-name" >
  974.  
  975. <!ELEMENT text:index-entry-text EMPTY>
  976. <!ATTLIST text:index-entry-text text:style-name %styleName; #IMPLIED>
  977.  
  978. <!ELEMENT text:index-entry-page-number EMPTY>
  979. <!ATTLIST text:index-entry-page-number text:style-name %styleName; #IMPLIED>
  980.  
  981. <!ELEMENT text:index-entry-span (#PCDATA)>
  982. <!ATTLIST text:index-entry-span text:style-name %styleName; #IMPLIED>
  983.  
  984. <!ELEMENT text:index-entry-bibliography EMPTY>
  985. <!ATTLIST text:index-entry-bibliography text:style-name %styleName; #IMPLIED>
  986. <!ATTLIST text:index-entry-bibliography text:bibliography-data-field
  987.                             ( address | annote | author | bibliography-type |
  988.                               booktitle | chapter | custom1 | custom2 | 
  989.                               custom3 | custom4 | custom5 | edition | editor |
  990.                               howpublished | identifier | institution | isbn |
  991.                               journal | month | note | number | organizations |
  992.                               pages | publisher | report-type | school | 
  993.                               series | title | url | volume | year ) #REQUIRED>
  994.  
  995.  
  996. <!ELEMENT text:index-entry-tab-stop EMPTY>
  997. <!ATTLIST text:index-entry-tab-stop text:style-name %styleName; #IMPLIED>
  998. <!ATTLIST text:index-entry-tab-stop style:leader-char %character; " ">
  999. <!ATTLIST text:index-entry-tab-stop style:type (left|right) "left">
  1000. <!ATTLIST text:index-entry-tab-stop style:position %length; #IMPLIED>
  1001.  
  1002. <!ELEMENT text:index-entry-link-start EMPTY>
  1003. <!ATTLIST text:index-entry-link-start text:style-name %styleName; #IMPLIED>
  1004.  
  1005. <!ELEMENT text:index-entry-link-end EMPTY>
  1006. <!ATTLIST text:index-entry-link-end text:style-name %styleName; #IMPLIED>
  1007.  
  1008. <!ELEMENT text:index-source-styles (text:index-source-style)*>
  1009. <!ATTLIST text:index-source-styles text:outline-level %integer; #REQUIRED>
  1010.  
  1011. <!ELEMENT text:index-source-style EMPTY>
  1012. <!ATTLIST text:index-source-style text:style-name %styleName; #REQUIRED>
  1013.  
  1014. <!ELEMENT text:toc-mark-start EMPTY>
  1015. <!ATTLIST text:toc-mark-start text:id %string; #REQUIRED>
  1016. <!ATTLIST text:toc-mark-start text:outline-level %integer; #IMPLIED>
  1017.  
  1018. <!ELEMENT text:toc-mark-end EMPTY>
  1019. <!ATTLIST text:toc-mark-end text:id %string; #REQUIRED>
  1020.  
  1021. <!ELEMENT text:toc-mark EMPTY>
  1022. <!ATTLIST text:toc-mark text:string-value %string; #REQUIRED>
  1023. <!ATTLIST text:toc-mark text:outline-level %integer; #IMPLIED>
  1024.  
  1025. <!ELEMENT text:user-index-mark-start EMPTY>
  1026. <!ATTLIST text:user-index-mark-start text:id %string; #REQUIRED>
  1027. <!ATTLIST text:user-index-mark-start text:outline-level %integer; #IMPLIED>
  1028. <!ATTLIST text:user-index-mark-start text:index-name %string; #IMPLIED>
  1029.  
  1030. <!ELEMENT text:user-index-mark-end EMPTY>
  1031. <!ATTLIST text:user-index-mark-end text:id %string; #REQUIRED>
  1032.  
  1033. <!ELEMENT text:user-index-mark EMPTY>
  1034. <!ATTLIST text:user-index-mark text:string-value %string; #REQUIRED>
  1035. <!ATTLIST text:user-index-mark text:outline-level %integer; #IMPLIED>
  1036. <!ATTLIST text:user-index-mark text:index-name %string; #IMPLIED>
  1037.  
  1038. <!ELEMENT text:alphabetical-index-mark-start EMPTY>
  1039. <!ATTLIST text:alphabetical-index-mark-start text:id %string; #REQUIRED>
  1040. <!ATTLIST text:alphabetical-index-mark-start text:key1 %string; #IMPLIED>
  1041. <!ATTLIST text:alphabetical-index-mark-start text:key2 %string; #IMPLIED>
  1042. <!ATTLIST text:alphabetical-index-mark-start text:main-etry %boolean; "false">
  1043.  
  1044. <!ELEMENT text:alphabetical-index-mark-end EMPTY>
  1045. <!ATTLIST text:alphabetical-index-mark-end text:id %string; #REQUIRED>
  1046.  
  1047. <!ELEMENT text:alphabetical-index-mark EMPTY>
  1048. <!ATTLIST text:alphabetical-index-mark text:string-value %string; #REQUIRED>
  1049. <!ATTLIST text:alphabetical-index-mark text:key1 %string; #IMPLIED>
  1050. <!ATTLIST text:alphabetical-index-mark text:key2 %string; #IMPLIED>
  1051. <!ATTLIST text:alphabetical-index-mark text:main-etry %boolean; "false">
  1052.  
  1053. <!ELEMENT text:bibliography-configuration (text:sort-key)*>
  1054. <!ATTLIST text:bibliography-configuration text:prefix %string; #IMPLIED>
  1055. <!ATTLIST text:bibliography-configuration text:suffix %string; #IMPLIED>
  1056. <!ATTLIST text:bibliography-configuration text:sort-by-position %boolean; "true">
  1057. <!ATTLIST text:bibliography-configuration text:numbered-entries %boolean; "false">
  1058. <!ATTLIST text:bibliography-configuration fo:language %string; #IMPLIED>
  1059. <!ATTLIST text:bibliography-configuration fo:country %string; #IMPLIED>
  1060. <!ATTLIST text:bibliography-configuration text:sort-algorithm %string; #IMPLIED>
  1061.  
  1062. <!ELEMENT text:sort-key EMPTY>
  1063. <!ATTLIST text:sort-key text:key ( address | annote | author | 
  1064.     bibliography-type | booktitle | chapter | custom1 | custom2 | 
  1065.     custom3 | custom4 | custom5 | edition | editor | howpublished | 
  1066.     identifier | institution | isbn | journal | month | note | number | 
  1067.     organizations | pages | publisher | report-type | school | series | 
  1068.     title | url | volume | year ) #REQUIRED>
  1069. <!ATTLIST text:sort-key text:sort-ascending %boolean; "true">
  1070.  
  1071. <!ELEMENT text:linenumbering-configuration (text:linenumbering-separator?)>
  1072. <!ATTLIST text:linenumbering-configuration text:style-name %styleName; #IMPLIED>
  1073. <!ATTLIST text:linenumbering-configuration text:number-lines %boolean; "true">
  1074. <!ATTLIST text:linenumbering-configuration text:count-empty-lines %boolean; "true">
  1075. <!ATTLIST text:linenumbering-configuration text:count-in-floating-frames %boolean; "false">
  1076. <!ATTLIST text:linenumbering-configuration text:restart-numbering %boolean; "false">
  1077. <!ATTLIST text:linenumbering-configuration text:offset %nonNegativeLength; #IMPLIED>
  1078. <!ATTLIST text:linenumbering-configuration style:num-format (1|a|A|i|I) "1">
  1079. <!ATTLIST text:linenumbering-configuration style:num-letter-sync %boolean; "false">
  1080. <!ATTLIST text:linenumbering-configuration text:number-position (left|rigth|inner|outer) "left">
  1081. <!ATTLIST text:linenumbering-configuration text:increment %nonNegativeInteger; #IMPLIED>
  1082.  
  1083. <!ELEMENT text:linenumbering-separator (#PCDATA)>
  1084. <!ATTLIST text:linenumbering-separator text:increment %nonNegativeInteger; #IMPLIED>
  1085.  
  1086. <!ELEMENT text:script (#PCDATA)>
  1087. <!ATTLIST text:script script:language CDATA #REQUIRED>
  1088. <!ATTLIST text:script xlink:href CDATA #IMPLIED>
  1089. <!ATTLIST text:script xlink:type (simple) #FIXED "simple">
  1090.  
  1091. <!ELEMENT text:measure (#PCDATA)>
  1092. <!ATTLIST text:measure text:kind (value|unit|gap) #REQUIRED>
  1093.  
  1094. <!ELEMENT text:ruby (text:ruby-base, text:ruby-text)>
  1095. <!ATTLIST text:ruby text:style-name %styleName; #IMPLIED>
  1096.  
  1097. <!ELEMENT text:ruby-base %inline-text;>
  1098.  
  1099. <!ELEMENT text:ruby-text (#PCDATA)>
  1100. <!ATTLIST text:ruby-text text:style-name %styleName; #IMPLIED>
  1101.  
  1102. <!-- elements for change tracking -->
  1103.  
  1104. <!ELEMENT text:change EMPTY>
  1105. <!ATTLIST text:change text:change-id CDATA #REQUIRED>
  1106.  
  1107. <!ELEMENT text:change-start EMPTY>
  1108. <!ATTLIST text:change-start text:change-id CDATA #REQUIRED>
  1109.  
  1110. <!ELEMENT text:change-end EMPTY>
  1111. <!ATTLIST text:change-end text:change-id CDATA #REQUIRED>
  1112.  
  1113. <!ELEMENT text:tracked-changes (text:changed-region)*>
  1114. <!ATTLIST text:tracked-changes text:track-changes %boolean; "true">
  1115. <!ATTLIST text:tracked-changes text:protection-key CDATA #IMPLIED>
  1116.  
  1117. <!ELEMENT text:changed-region (text:insertion | 
  1118.                                (text:deletion, text:insertion?) | 
  1119.                                text:format-change) >
  1120. <!ATTLIST text:changed-region text:id ID #REQUIRED>
  1121. <!ATTLIST text:changed-region text:merge-last-paragraph %boolean; "true">
  1122.  
  1123. <!ELEMENT text:insertion (office:change-info, %sectionText;)>
  1124. <!ELEMENT text:deletion (office:change-info, %sectionText;)>
  1125. <!ELEMENT text:format-change (office:change-info)>
  1126.  
  1127.