home *** CD-ROM | disk | FTP | other *** search
/ Kompuutteri Kaikille K-CD 2002 #3 / K-CD_2002-03.iso / OpenOffice / f_0096 / table.mod
Text File  |  2001-08-10  |  21KB  |  522 lines

  1. <!--
  2.     $Id: table.mod,v 1.40 2001/08/10 19:03:30 nn 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 table:calculation-settings (table:null-date?, table:iteration?)>
  57. <!ATTLIST table:calculation-settings
  58.     table:case-sensitive %boolean; "true"
  59.     table:precision-as-shown %boolean; "false"
  60.     table:search-criteria-must-apply-to-whole-cell %boolean; "true"
  61.     table:automatic-find-labels %boolean; "true"
  62.     table:use-regular-expressions %boolean; "true"
  63.     table:null-year %positiveInteger; "1930"
  64. >
  65. <!ELEMENT table:null-date EMPTY>
  66. <!ATTLIST table:null-date
  67.     table:value-type %valueType; #FIXED "date"
  68.     table:date-value %date; "1899-12-30"
  69. >
  70. <!ELEMENT table:iteration EMPTY>
  71. <!ATTLIST table:iteration
  72.     table:status (enable | disable) "disable"
  73.     table:steps %positiveInteger; "100"
  74.     table:maximum-difference %float; "0.001"
  75. >
  76.  
  77. <!ELEMENT table:tracked-changes (table:cell-content-change | table:insertion | table:deletion | table:movement | table:rejection)*>
  78. <!ATTLIST table:tracked-changes table:track-changes %boolean; "true"
  79.                 table:protected %boolean; "false"
  80.                 table:protection-key CDATA #IMPLIED
  81. >
  82.  
  83. <!ELEMENT table:dependences (table:dependence)+>
  84. <!ELEMENT table:dependence EMPTY>
  85. <!ATTLIST table:dependence
  86.     table:id CDATA #REQUIRED
  87. >
  88. <!ELEMENT table:deletions (table:cell-content-deletion | table:change-deletion)+>
  89. <!ELEMENT table:cell-content-deletion (table:cell-address?, table:change-track-table-cell?)>
  90. <!ATTLIST table:cell-content-deletion
  91.     table:id CDATA #IMPLIED
  92. >
  93. <!ELEMENT table:change-deletion EMPTY>
  94. <!ATTLIST table:change-deletion
  95.     table:id CDATA #IMPLIED
  96. >
  97. <!ELEMENT table:insertion (office:change-info, table:dependences?, table:deletions?)>
  98. <!ATTLIST table:insertion
  99.     table:id CDATA #REQUIRED
  100.     table:acceptance-state (accepted | rejected | pending) "pending"
  101.     table:rejecting-change-id %positiveInteger; #IMPLIED
  102.     table:type (row | column | table) #REQUIRED
  103.     table:position %integer; #REQUIRED
  104.     table:count %positiveInteger; "1"
  105.     table:table %integer; #IMPLIED
  106. >
  107. <!ELEMENT table:deletion (office:change-info, table:dependences?, table:deletions?, table:cut-offs?)>
  108. <!ATTLIST table:deletion
  109.     table:id CDATA #REQUIRED
  110.     table:acceptance-state (accepted | rejected | pending) "pending"
  111.     table:rejecting-change-id %positiveInteger; #IMPLIED
  112.     table:type (row | column | table) #REQUIRED
  113.     table:position %integer; #REQUIRED
  114.     table:count %positiveInteger; "1"
  115.     table:table %integer; #IMPLIED
  116.     table:multi-deletion-spanned %integer; #IMPLIED
  117. >
  118. <!ELEMENT table:cut-offs (table:movement-cut-off+ | (table:insertion-cut-off, table:movement-cut-off*))>
  119. <!ELEMENT table:insertion-cut-off EMPTY>
  120. <!ATTLIST table:insertion-cut-off
  121.     table:id CDATA #REQUIRED
  122.     table:position %integer; #REQUIRED
  123. >
  124. <!ELEMENT table:movement-cut-off EMPTY>
  125. <!ATTLIST table:movement-cut-off
  126.     table:id CDATA #REQUIRED
  127.     table:start-position %integer; #IMPLIED
  128.     table:end-position %integer; #IMPLIED
  129.     table:position %integer; #IMPLIED
  130. >
  131. <!ELEMENT table:movement (table:source-range-address, table:target-range-address, office:change-info, table:dependences?, table:deletions?)>
  132. <!ATTLIST table:movement
  133.     table:id CDATA #REQUIRED
  134.     table:acceptance-state (accepted | rejected | pending) "pending"
  135.     table:rejecting-change-id %positiveInteger; #IMPLIED
  136. >
  137. <!ELEMENT table:target-range-address EMPTY>
  138. <!ATTLIST table:target-range-address
  139.     table:column %integer; #IMPLIED
  140.     table:row %integer; #IMPLIED
  141.     table:table %integer; #IMPLIED
  142.     table:start-column %integer; #IMPLIED
  143.     table:start-row %integer; #IMPLIED
  144.     table:start-table %integer; #IMPLIED
  145.     table:end-column %integer; #IMPLIED
  146.     table:end-row %integer; #IMPLIED
  147.     table:end-table %integer; #IMPLIED
  148. >
  149. <!ELEMENT table:source-range-address EMPTY>
  150. <!ATTLIST table:source-range-address
  151.     table:column %integer; #IMPLIED
  152.     table:row %integer; #IMPLIED
  153.     table:table %integer; #IMPLIED
  154.     table:start-column %integer; #IMPLIED
  155.     table:start-row %integer; #IMPLIED
  156.     table:start-table %integer; #IMPLIED
  157.     table:end-column %integer; #IMPLIED
  158.     table:end-row %integer; #IMPLIED
  159.     table:end-table %integer; #IMPLIED
  160. >
  161. <!ELEMENT table:change-track-table-cell (text:p*)>
  162. <!ATTLIST table:change-track-table-cell
  163.     table:cell-address %cell-address; #IMPLIED
  164.     table:matrix-covered (true | false) "false"
  165.     table:formula %string; #IMPLIED
  166.     table:number-matrix-rows-spanned %positiveInteger; #IMPLIED
  167.     table:number-matrix-columns-spanned %positiveInteger; #IMPLIED
  168.     table:value-type %valueType; "string"
  169.     table:value %float; #IMPLIED
  170.     table:date-value %date; #IMPLIED
  171.     table:time-value %timeInstance; #IMPLIED
  172.     table:string-value %string; #IMPLIED
  173. >
  174. <!ELEMENT table:cell-content-change (table:cell-address, office:change-info, table:dependences?, table:deletions?, table:previous)>
  175. <!ATTLIST table:cell-content-change
  176.     table:id CDATA #REQUIRED
  177.     table:acceptance-state (accepted | rejected | pending) "pending"
  178.     table:rejecting-change-id %positiveInteger; #IMPLIED
  179. >
  180. <!ELEMENT table:cell-address EMPTY>
  181. <!ATTLIST table:cell-address
  182.     table:column %integer; #IMPLIED
  183.     table:row %integer; #IMPLIED
  184.     table:table %integer; #IMPLIED
  185. >
  186. <!ELEMENT table:previous (table:change-track-table-cell)>
  187. <!ATTLIST table:previous
  188.     table:id CDATA #IMPLIED
  189. >
  190. <!ELEMENT table:rejection (office:change-info, table:dependences?, table:deletions?)>
  191. <!ATTLIST table:rejection
  192.     table:id CDATA #REQUIRED
  193.     table:acceptance-state (accepted | rejected | pending) "pending"
  194.     table:rejecting-change-id %positiveInteger; #IMPLIED
  195. >
  196.  
  197. <!ENTITY % table-columns "table:table-columns | ( table:table-column | table:table-column-group )+">
  198. <!ENTITY % table-header-columns "table:table-header-columns">
  199. <!ENTITY % table-rows "table:table-rows | ( table:table-row | table:table-row-group )+">
  200. <!ENTITY % table-header-rows "table:table-header-rows">
  201. <!ENTITY % table-column-groups "((%table-columns;),(%table-header-columns;,(%table-columns;)?)?) | (%table-header-columns;,(%table-columns;)?)">
  202. <!ENTITY % table-row-groups "((%table-rows;),(%table-header-rows;,(%table-rows;)?)?) | (%table-header-rows;,(%table-rows;)?)">
  203. <!ELEMENT table:table (table:table-source?, table:scenario?, office:forms?, table:shapes?, (%table-column-groups;), (%table-row-groups;))>
  204. <!ATTLIST table:table
  205.     table:name %string; #IMPLIED
  206.     table:style-name %styleName; #IMPLIED
  207.     table:protected %boolean; "false"
  208.     table:protection-key CDATA #IMPLIED
  209.     table:print-ranges %cell-range-address-list; #IMPLIED
  210. >
  211. <!ELEMENT table:table-source EMPTY>
  212. <!ATTLIST table:table-source
  213.     table:mode (copy-all | copy-results-only) "copy-all"
  214.     xlink:type (simple) #FIXED "simple"
  215.     xlink:actuate (onRequest) "onRequest"
  216.     xlink:href %uriReference; #REQUIRED
  217.     table:filter-name CDATA #IMPLIED
  218.     table:table-name CDATA #IMPLIED
  219.     table:filter-options CDATA #IMPLIED
  220.     table:refresh-delay %timeDuration; #IMPLIED
  221. >
  222. <!ELEMENT table:scenario EMPTY>
  223. <!ATTLIST table:scenario
  224.     table:display-border %boolean; "true"
  225.     table:border-color %color; #IMPLIED
  226.     table:copy-back %boolean; "true"
  227.     table:copy-styles %boolean; "true"
  228.     table:copy-formulas %boolean; "true"
  229.     table:is-active %boolean; #REQUIRED
  230.     table:scenario-ranges %cell-range-address-list; #REQUIRED
  231.     table:comment CDATA #IMPLIED
  232. >
  233. <!ELEMENT table:shapes %shapes;>
  234. <!ELEMENT table:table-column-group (table:table-header-columns | table:table-column | table:table-column-group)+>
  235. <!ATTLIST table:table-column-group
  236.     table:display %boolean; "true"
  237. >
  238. <!ELEMENT table:table-header-columns (table:table-column | table:table-column-group)+>
  239. <!ELEMENT table:table-columns (table:table-column | table:table-column-group)+>
  240. <!ELEMENT table:table-column EMPTY>
  241. <!ATTLIST table:table-column
  242.     table:number-columns-repeated %positiveInteger; "1"
  243.     table:style-name %styleName; #IMPLIED
  244.     table:visibility (visible | collapse | filter) "visible"
  245.     table:default-cell-style-name %styleName; #IMPLIED
  246. >
  247. <!ELEMENT table:table-row-group (table:table-header-rows | table:table-row | table:table-row-group)+>
  248. <!ATTLIST table:table-row-group
  249.     table:display %boolean; "true"
  250. >
  251. <!ELEMENT table:table-header-rows (table:table-row | table:table-row-group)+>
  252. <!ELEMENT table:table-rows (table:table-row | table:table-row-group)+>
  253. <!ENTITY % table-cells "(table:table-cell|table:covered-table-cell)+">
  254. <!ELEMENT table:table-row %table-cells;>
  255. <!ATTLIST table:table-row
  256.     table:number-rows-repeated %positiveInteger; "1"
  257.     table:style-name %styleName; #IMPLIED
  258.     table:visibility (visible | collapse | filter) "visible"
  259.     table:default-cell-style-name %styleName; #IMPLIED
  260. >
  261.  
  262. <!ENTITY % text-wo-table "(text:h|text:p|text:ordered-list|text:unordered-list|%shapes;)*">
  263. <!ENTITY % cell-content "(table:cell-range-source?,office:annotation?,table:detective?,(table:sub-table|%text-wo-table;))">
  264. <!ELEMENT table:table-cell %cell-content;>
  265. <!ELEMENT table:covered-table-cell %cell-content;>
  266. <!ATTLIST table:table-cell
  267.     table:number-columns-repeated %positiveInteger; "1"
  268.     table:number-rows-spanned %positiveInteger; "1"
  269.     table:number-columns-spanned %positiveInteger; "1"
  270.     table:style-name %styleName; #IMPLIED
  271.     table:validation-name CDATA #IMPLIED
  272.     table:formula %string; #IMPLIED
  273.     table:number-matrix-rows-spanned %positiveInteger; #IMPLIED
  274.     table:number-matrix-columns-spanned %positiveInteger; #IMPLIED
  275.     table:value-type %valueType; "string"
  276.     table:value %float; #IMPLIED
  277.     table:date-value %date; #IMPLIED
  278.     table:time-value %timeInstance; #IMPLIED
  279.     table:boolean-value %boolean; #IMPLIED
  280.     table:string-value %string; #IMPLIED
  281.     table:currency %string; #IMPLIED
  282. >
  283. <!ATTLIST table:covered-table-cell
  284.     table:number-columns-repeated %positiveInteger; "1"
  285.     table:style-name %styleName; #IMPLIED
  286.     table:validation-name CDATA #IMPLIED
  287.     table:formula %string; #IMPLIED
  288.     table:number-matrix-rows-spanned %positiveInteger; #IMPLIED
  289.     table:number-matrix-columns-spanned %positiveInteger; #IMPLIED
  290.     table:value-type %valueType; "string"
  291.     table:value %float; #IMPLIED
  292.     table:date-value %date; #IMPLIED
  293.     table:time-value %timeInstance; #IMPLIED
  294.     table:boolean-value %boolean; #IMPLIED
  295.     table:string-value %string; #IMPLIED
  296.     table:currency %string; #IMPLIED
  297. >
  298. <!-- cell protection in writer: cell attribute; calc uses format -->
  299. <!ATTLIST table:table-cell table:protected %boolean; "false">
  300.  
  301. <!ELEMENT table:cell-range-source EMPTY>
  302. <!ATTLIST table:cell-range-source
  303.     table:name %string; #REQUIRED
  304.     xlink:type (simple) #FIXED "simple"
  305.     xlink:actuate (onRequest) #FIXED "onRequest"
  306.     xlink:href %uriReference; #REQUIRED
  307.     table:filter-name %string; #REQUIRED
  308.     table:filter-options %string; #IMPLIED
  309.     table:last-column-spanned %positiveInteger; #REQUIRED
  310.     table:last-row-spanned %positiveInteger; #REQUIRED
  311.     table:refresh-delay %timeDuration; #IMPLIED
  312. >
  313.  
  314. <!ELEMENT table:detective (table:highlighted-range*, table:operation*)>
  315. <!ELEMENT table:highlighted-range EMPTY>
  316. <!ATTLIST table:highlighted-range
  317.     table:cell-range-address %cell-range-address; #IMPLIED
  318.     table:direction (from-another-table | to-another-table | from-same-table | to-same-table) #REQUIRED
  319.     table:contains-error %boolean; "false"
  320. >
  321. <!ELEMENT table:operation EMPTY>
  322. <!ATTLIST table:operation
  323.     table:name (trace-dependents | remove-dependents | trace-precedents | remove-precedents | trace-errors) #REQUIRED
  324.     table:index %nonNegativeInteger; #REQUIRED
  325. >
  326.  
  327. <!ELEMENT table:content-validations (table:content-validation)+>
  328. <!ELEMENT table:content-validation (table:help-message?, (table:error-message | (table:error-macro, office:events?))?)>
  329. <!ATTLIST table:content-validation
  330.     table:name CDATA #REQUIRED
  331.     table:condition CDATA #IMPLIED
  332.     table:base-cell-address %cell-address; #IMPLIED
  333.     table:allow-empty-cell %boolean; #IMPLIED
  334. >
  335. <!ELEMENT table:help-message (text:p*)>
  336. <!ATTLIST table:help-message
  337.     table:title CDATA #IMPLIED
  338.     table:display %boolean; #IMPLIED
  339. >
  340. <!ELEMENT table:error-message (text:p*)>
  341. <!ATTLIST table:error-message
  342.     table:title CDATA #IMPLIED
  343.     table:message-type (stop | warning | information) #IMPLIED
  344.     table:display %boolean; #IMPLIED
  345. >
  346. <!ELEMENT table:error-macro EMPTY>
  347. <!ATTLIST table:error-macro
  348.     table:name CDATA #IMPLIED
  349.     table:execute %boolean; #IMPLIED
  350. >
  351.  
  352. <!ELEMENT table:sub-table ((%table-column-groups;) , (%table-row-groups;))>
  353.  
  354. <!ELEMENT table:label-ranges (table:label-range)*>
  355. <!ELEMENT table:label-range EMPTY>
  356. <!ATTLIST table:label-range
  357.     table:label-cell-range-address %cell-range-address; #REQUIRED
  358.     table:data-cell-range-address %cell-range-address; #REQUIRED
  359.     table:orientation (column | row) #REQUIRED
  360. >
  361.  
  362. <!ELEMENT table:named-expressions (table:named-range | table:named-expression)*>
  363. <!ELEMENT table:named-range EMPTY>
  364. <!ATTLIST table:named-range
  365.     table:name CDATA #REQUIRED
  366.     table:cell-range-address %cell-range-address; #REQUIRED
  367.     table:base-cell-address %cell-address; #IMPLIED
  368.     table:range-usable-as CDATA "none"
  369. >
  370. <!ELEMENT table:named-expression EMPTY>
  371. <!ATTLIST table:named-expression
  372.     table:name CDATA #REQUIRED
  373.     table:expression CDATA #REQUIRED
  374.     table:base-cell-address %cell-address; #IMPLIED
  375. >
  376.  
  377. <!ELEMENT table:filter (table:filter-condition | table:filter-and | table:filter-or)>
  378. <!ATTLIST table:filter
  379.     table:target-range-address %cell-range-address; #IMPLIED
  380.     table:condition-source-range-address %cell-range-address; #IMPLIED
  381.     table:condition-source (self | cell-range) "self"
  382.     table:display-duplicates %boolean; "true"
  383. >
  384. <!ELEMENT table:filter-and (table:filter-or | table:filter-condition)+>
  385. <!ELEMENT table:filter-or (table:filter-and | table:filter-condition)+>
  386. <!ELEMENT table:filter-condition EMPTY>
  387. <!ATTLIST table:filter-condition
  388.     table:field-number %nonNegativeInteger; #REQUIRED
  389.     table:case-sensitive %boolean; "false"
  390.     table:data-type (text | number) "text"
  391.     table:value CDATA #REQUIRED
  392.     table:operator CDATA #REQUIRED
  393. >
  394.  
  395. <!ELEMENT table:database-ranges (table:database-range)*>
  396. <!ELEMENT table:database-range ((table:database-source-sql | table:database-source-table | table:database-source-query)?, table:filter?, table:sort?, table:subtotal-rules?)>
  397. <!ATTLIST table:database-range
  398.     table:name CDATA #IMPLIED
  399.     table:is-selection %boolean; "false"
  400.     table:on-update-keep-styles %boolean; "false"
  401.     table:on-update-keep-size %boolean; "true"
  402.     table:has-persistant-data %boolean; "true"
  403.     table:orientation (row | column) "row"
  404.     table:contains-header %boolean; "true"
  405.     table:display-filter-buttons %boolean; "false"
  406.     table:target-range-address %cell-range-address; #REQUIRED
  407.     table:refresh-delay %timeDuration; #IMPLIED
  408. >
  409. <!ELEMENT table:database-source-sql EMPTY>
  410. <!ATTLIST table:database-source-sql
  411.     table:database-name CDATA #REQUIRED
  412.     table:sql-statement CDATA #REQUIRED
  413.     table:parse-sql-statements %boolean; "false"
  414. >
  415. <!ELEMENT table:database-source-table EMPTY>
  416. <!ATTLIST table:database-source-table
  417.     table:database-name CDATA #REQUIRED
  418.     table:table-name CDATA #REQUIRED
  419. >
  420. <!ELEMENT table:database-source-query EMPTY>
  421. <!ATTLIST table:database-source-query
  422.     table:database-name CDATA #REQUIRED
  423.     table:query-name CDATA #REQUIRED
  424. >
  425.  
  426. <!ELEMENT table:sort (table:sort-by)+>
  427. <!ATTLIST table:sort
  428.     table:bind-styles-to-content %boolean; "true"
  429.     table:target-range-address %cell-range-address; #IMPLIED
  430.     table:case-sensitive %boolean; "false"
  431.     table:language CDATA #IMPLIED
  432.     table:country CDATA #IMPLIED
  433.     table:algorithm CDATA #IMPLIED
  434. >
  435. <!ELEMENT table:sort-by EMPTY>
  436. <!ATTLIST table:sort-by
  437.     table:field-number %nonNegativeInteger; #REQUIRED
  438.     table:data-type (text | number | automatic | qname-but-not-ncname) "automatic"
  439.     table:order (ascending | descending) "ascending"
  440. >
  441.  
  442. <!ELEMENT table:subtotal-rules (table:sort-groups? | table:subtotal-rule*)?>
  443. <!ATTLIST table:subtotal-rules
  444.     table:bind-styles-to-content %boolean; "true"
  445.     table:case-sensitive %boolean; "false"
  446.     table:page-breaks-on-group-change %boolean; "false"
  447. >
  448. <!ELEMENT table:sort-groups EMPTY>
  449. <!ATTLIST table:sort-groups
  450.     table:data-type (text | number | automatic | qname-but-not-ncname) "automatic"
  451.     table:order (ascending | descending) "ascending"
  452. >
  453. <!ELEMENT table:subtotal-rule (table:subtotal-field)*>
  454. <!ATTLIST table:subtotal-rule
  455.     table:group-by-field-number %nonNegativeInteger; #REQUIRED
  456. >
  457. <!ELEMENT table:subtotal-field EMPTY>
  458. <!ATTLIST table:subtotal-field
  459.     table:field-number %nonNegativeInteger; #REQUIRED
  460.     table:function CDATA #REQUIRED
  461. >
  462.  
  463. <!ELEMENT table:data-pilot-tables (table:data-pilot-table)*>
  464. <!ELEMENT table:data-pilot-table ((table:database-source-sql | table:database-source-table | table:database-source-query | table:source-service | table:source-cell-range)?, table:data-pilot-field+)>
  465. <!ATTLIST table:data-pilot-table
  466.     table:name CDATA #REQUIRED
  467.     table:application-data CDATA #IMPLIED
  468.     table:grand-total (none | row | column | both) "both"
  469.     table:ignore-empty-rows %boolean; "false"
  470.     table:identify-categories %boolean; "false"
  471.     table:target-range-address %cell-range-address; #REQUIRED
  472.     table:buttons %cell-range-address-list; #REQUIRED
  473. >
  474. <!ELEMENT table:source-service EMPTY>
  475. <!ATTLIST table:source-service
  476.     table:name CDATA #REQUIRED
  477.     table:source-name CDATA #REQUIRED
  478.     table:object-name CDATA #REQUIRED
  479.     table:username CDATA #IMPLIED
  480.     table:password CDATA #IMPLIED
  481. >
  482. <!ELEMENT table:source-cell-range (table:filter)?>
  483. <!ATTLIST table:source-cell-range
  484.     table:cell-range-address %cell-range-address; #REQUIRED
  485. >
  486. <!ELEMENT table:data-pilot-field (table:data-pilot-level)?>
  487. <!ATTLIST table:data-pilot-field
  488.     table:source-field-name CDATA #REQUIRED
  489.     table:is-data-layout-field %boolean; "false"
  490.     table:function CDATA #REQUIRED
  491.     table:orientation (row | column | data | page | hidden) #REQUIRED
  492.     table:used-hierarchy %positiveInteger; "1"
  493. >
  494. <!ELEMENT table:data-pilot-level (table:data-pilot-subtotals?, table:data-pilot-members?)>
  495. <!ATTLIST table:data-pilot-level
  496.     table:display-empty %boolean; #IMPLIED
  497. >
  498. <!ELEMENT table:data-pilot-subtotals (table:data-pilot-subtotal)*>
  499. <!ELEMENT table:data-pilot-subtotal EMPTY>
  500. <!ATTLIST table:data-pilot-subtotal
  501.     table:function CDATA #REQUIRED
  502. >
  503. <!ELEMENT table:data-pilot-members (table:data-pilot-member)*>
  504. <!ELEMENT table:data-pilot-member EMPTY>
  505. <!ATTLIST table:data-pilot-member
  506.     table:name CDATA #REQUIRED
  507.     table:display %boolean; #IMPLIED
  508.     table:display-details %boolean; #IMPLIED
  509. >
  510.  
  511. <!ELEMENT table:consolidation EMPTY>
  512. <!ATTLIST table:consolidation
  513.     table:function CDATA #REQUIRED
  514.     table:source-cell-range-addresses %cell-range-address-list; #REQUIRED
  515.     table:target-cell-address %cell-address; #REQUIRED
  516.     table:use-label (none | column | row | both) "none"
  517.     table:link-to-source-data %boolean; "false"
  518. >
  519.  
  520. <!ELEMENT table:dde-links (table:dde-link)+>
  521. <!ELEMENT table:dde-link (office:dde-source, table:table)>
  522.