FILE COMPARISON
Produced: 5/9/2008 5:34:58 PM
   
Mode:  All Lines  
   
Left file: C:\Documents and Settings\Administrator\Desktop\Standards\ODF\TC\Versions\OpenDocument-v1.0ed2-cs1.txt  
Right file: C:\Documents and Settings\Administrator\Desktop\Standards\ODF\TC\Versions\OpenDocument-v1.1.txt  
1   = 1  
2 Open Document Format for Office Applications (OpenDocument) v1.0 (Second Edition) <> 2 Open Document Format for Office Applications (OpenDocument) v1.1
3 Committee Specification1, 19 Jul 2006   3 OASIS Standard, 1 Feb 2007
4 Document identifier:   4 Specification URIs:
5 OpenDocument-v1.0ed2-cs1.odt   5 This Version:
      6 http://docs.oasis-open.org/office/v1.1/OS/OpenDocument-v1.1.odt
      7 http://docs.oasis-open.org/office/v1.1/OS/OpenDocument-v1.1.pdf
      8 http://docs.oasis-open.org/office/v1.1/OS/OpenDocument-v1.1.html.zip
      9 Previous Version:
      10 http://www.oasis-open.org/committees/download.php/19275/OpenDocument-v1.0ed2-cs1.odt
      11 http://www.oasis-open.org/committees/download.php/19274/OpenDocument-v1.0ed2-cs1.pdf
6 Location:   12 Latest Version:
7 This Version: http://www.oasis-open.org/committees/office   13 http://docs.oasis-open.org/office/v1.1/OpenDocument-v1.1.odt
8 Previous Version: http://docs.oasis-open.org/office/v1.0   14 http://docs.oasis-open.org/office/v1.1/OpenDocument-v1.1.pdf
      15 http://docs.oasis-open.org/office/v1.1/OpenDocument-v1.1.html.zip
      16 Latest Approved Version:
      17 http://docs.oasis-open.org/office/v1.1/OS/OpenDocument-v1.1.odt
      18 http://docs.oasis-open.org/office/v1.1/OS/OpenDocument-v1.1.pdf
      19 http://docs.oasis-open.org/office/v1.1/OS/OpenDocument-v1.1.html.zip
      20 Technical Committee:
      21 OASIS Open Document Format for Office Applications (OpenDocument) TC
      22 Chair:
      23 Michael Brauer, Sun Microsystems, Inc.
9 Editors: = 24 Editors:
10 Patrick Durusau, Individual   25 Patrick Durusau, Individual
11 Michael Brauer, Sun Microsystems, Inc.   26 Michael Brauer, Sun Microsystems, Inc.
    -+ 27 Lars Oppermann, Sun Microsystems, Inc.
      28 Related Work:
      29 This specification supersedes OASIS OpenDocument v1.0.
      30 Declared XML Namespaces:
      31 A list of XML namespaces declared by this  specification is available in section 1.3.
12 Abstract: = 32 Abstract:
13 This is the specification of the Open Document Format for Office Applications (OpenDocument) format, an open, XML-based file format for office applications, based on OpenOffice.org XML [OOo].   33 This is the specification of the Open Document Format for Office Applications (OpenDocument) format, an open, XML-based file format for office applications, based on OpenOffice.org XML [OOo].
14 Status:   34 Status:
15 This document was last revised or approved by the OASIS Open Document Format for Office Applications (OpenDocument) Technical Committee on the above date. The level of approval is also listed above. Check the current location noted above for possible later revisions of this document. This document is updated periodically on no particular schedule. <> 35 This document was last revised or approved by the membership of OASIS on the above date. The level of approval is also listed above. Check the current location noted above for possible later revisions of this document. This document is updated periodically on no particular schedule.
16 Technical Committee members should send comments on this specification to the Technical Committee's email list. Others should send comments to the Technical Committee by using the "Send A Comment" button on the Technical Committee's web page at = 36 Technical Committee members should send comments on this specification to the Technical Committee's email list. Others should send comments to the Technical Committee by using the "Send A Comment" button on the Technical Committee's web page at
17 www.oasis-open.org/committees/office.   37 www.oasis-open.org/committees/office.
18 For information on whether any patents have been disclosed that may be essential to implementing this specification, and any offers of patent licensing terms, please refer to the Intellectual Property Rights section of the Technical Committee web page   38 For information on whether any patents have been disclosed that may be essential to implementing this specification, and any offers of patent licensing terms, please refer to the Intellectual Property Rights section of the Technical Committee web page
19 (www.oasis-open.org/committees/office/ipr.php.   39 (www.oasis-open.org/committees/office/ipr.php.
20 The non-normative errata page for this specification is located at www.oasis-open.org/committees/office.   40 The non-normative errata page for this specification is located at www.oasis-open.org/committees/office.
    -+ 41 Notices
      42 Copyright © OASIS® 2002–2007. All Rights Reserved. OASIS trademark, IPR and other policies apply.
      43 All capitalized terms in the following text have the meanings assigned to them in the OASIS Intellectual Property Rights Policy (the "OASIS IPR Policy"). The full Policy may be found at the OASIS website.
      44 This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published, and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this section are included on all such copies and derivative works. However, this document itself may not be modified in any way, including by removing the copyright notice or references to OASIS, except as needed for the purpose of developing any document or deliverable produced by an OASIS Technical Committee (in which case the rules applicable to copyrights, as set forth in the OASIS IPR Policy, must be followed) or as required to translate it into languages other than English.
      45 The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.
      46 This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
      47 OASIS requests that any OASIS Party or any other party that believes it has patent claims that would necessarily be infringed by implementations of this OASIS Committee Specification or OASIS Standard, to notify OASIS TC Administrator and provide an indication of its willingness to grant patent licenses to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this specification.
      48 OASIS invites any party to contact the OASIS TC Administrator if it is aware of a claim of ownership of any patent claims that would necessarily be infringed by implementations of this specification by a patent holder that is not willing to provide a license to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this specification. OASIS may include such claims on its website, but disclaims any obligation to do so.
      49 OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS' procedures with respect to rights in any document or deliverable produced by an OASIS Technical Committee can be found on the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this OASIS Committee Specification or OASIS Standard, can be obtained from the OASIS TC Administrator. OASIS makes no representation that any information or list of intellectual property rights will at any time be complete, or that any claims in such list are, in fact, Essential Claims.
      50 The names "OASIS", “OpenDocument”, “Open Document Format” and “ODF” are trademarks of OASIS, the owner and developer of this specification, and should be used only to refer to the organization and its official outputs. OASIS welcomes reference to, and implementation and use of, specifications, while reserving the right to enforce its marks against misleading uses. Please see http://www.oasis-open.org/who/trademark.php for above guidance.
21 Table of Contents = 51 Table of Contents
22 1 Introduction  30 <> 52 1 Introduction  33
23 1.1 Introduction        30   53 1.1 Introduction        33
24 1.2 Notation    30   54 1.2 Notation    33
25 1.3 Namespaces  30   55 1.3 Namespaces  33
26 1.4 Relax-NG Schema     32   56 1.4 Relax-NG Schema     35
27 1.5 Document Processing and Conformance 33   57 1.5 Document Processing and Conformance 36
28 1.6 White-Space Processing and EOL Handling     34   58 1.6 White-Space Processing and EOL Handling     37
29 1.7 MIME Types and File Name Extensions 34   59 1.7 MIME Types and File Name Extensions 37
30 2 Document Structure    36   60 2 Document Structure    39
31 2.1 Document Roots      36   61 2.1 Document Roots      39
32 2.1.1 Document Root Element Content Models      37   62 2.1.1 Document Root Element Content Models      40
33 2.1.2 Document Root Attributes  38   63 2.1.2 Document Root Attributes  41
34 2.2 Document Metadata   39   64 2.2 Document Metadata   42
35 2.2.1 Pre-Defined vs. Custom Metadata   39   65 2.2.1 Pre-Defined vs. Custom Metadata   42
36 2.2.2 Sample Metadata   40   66 2.2.2 Sample Metadata   43
37 2.3 Body Element and Document Types     40   67 2.3 Body Element and Document Types     43
38 2.3.1 Text Documents    41   68 2.3.1 Text Documents    44
39 2.3.2 Drawing Documents 42   69 2.3.2 Drawing Documents 46
40 2.3.3 Presentation Documents    43   70 2.3.3 Presentation Documents    47
41 2.3.4 Spreadsheet Documents     44   71 2.3.4 Spreadsheet Documents     48
42 2.3.5 Chart Documents   45   72 2.3.5 Chart Documents   49
43 2.3.6 Image Documents   46   73 2.3.6 Image Documents   49
44 2.4 Application Settings        46   74 2.4 Application Settings        50
45 2.4.1 Sequence of Settings      47   75 2.4.1 Sequence of Settings      50
46 2.4.2 Base Settings     47   76 2.4.2 Base Settings     51
47 2.4.3 Index Access of Sequences 48   77 2.4.3 Index Access of Sequences 52
48 2.4.4 Map Entry 48   78 2.4.4 Map Entry 52
49 2.4.5 Name Access of Sequences  49   79 2.4.5 Name Access of Sequences  53
50 2.4.6 Cursor Position Setting   49   80 2.4.6 Cursor Position Setting   53
51 2.5 Scripts     50   81 2.5 Scripts     54
52 2.5.1 Script    50   82 2.5.1 Script    54
53 2.6 Font Face Declarations      51   83 2.6 Font Face Declarations      55
54 2.7 Styles      51   84 2.7 Styles      55
55 2.7.1 Location of Styles        52   85 2.7.1 Location of Styles        56
56 2.8 Page Styles and Layout      54   86 2.8 Page Styles and Layout      58
57 3 Meta Data Elements    56   87 3 Metadata Elements     59
58 3.1 Pre-Defined Metadata Elements       56   88 3.1 Pre-Defined Metadata Elements       59
59 3.1.1 Generator 56   89 3.1.1 Generator 59
60 3.1.2 Title     56   90 3.1.2 Title     59
61 3.1.3 Description       56   91 3.1.3 Description       59
62 3.1.4 Subject   57   92 3.1.4 Subject   60
63 3.1.5 Keywords  57   93 3.1.5 Keywords  60
64 3.1.6 Initial Creator   57   94 3.1.6 Initial Creator   60
65 3.1.7 Creator   57   95 3.1.7 Creator   60
66 3.1.8 Printed By        57   96 3.1.8 Printed By        60
67 3.1.9 Creation Date and Time    58   97 3.1.9 Creation Date and Time    61
68 3.1.10 Modification Date and Time       58   98 3.1.10 Modification Date and Time       61
69 3.1.11 Print Date and Time      58   99 3.1.11 Print Date and Time      61
70 3.1.12 Document Template        58   100 3.1.12 Document Template        61
71 3.1.13 Automatic Reload 59   101 3.1.13 Automatic Reload 62
72 3.1.14 Hyperlink Behavior       60   102 3.1.14 Hyperlink Behavior       63
73 3.1.15 Language 61   103 3.1.15 Language 64
74 3.1.16 Editing Cycles   61   104 3.1.16 Editing Cycles   64
75 3.1.17 Editing Duration 62   105 3.1.17 Editing Duration 65
76 3.1.18 Document Statistics      62   106 3.1.18 Document Statistics      65
77 3.2 User-defined Metadata       64   107 3.2 User-defined Metadata       67
78 3.3 Custom Metadata     65   108 3.3 Custom Metadata     68
79 4 Text Content  66   109 4 Text Content  69
80 4.1 Headings, Paragraphs and Basic Text Structure       66   110 4.1 Headings, Paragraphs and Basic Text Structure       69
81 4.1.1 Headings  66   111 4.1.1 Headings  69
82 4.1.2 Paragraphs        67   112 4.1.2 Paragraphs        70
83 4.1.3 Common Paragraph Elements Attributes      67   113 4.1.3 Common Paragraph Elements Attributes      70
84 4.2 Page Sequences      68   114 4.2 Page Sequences      71
85 4.2.1 Page      69   115 4.2.1 Page      72
86 4.3 Lists       70   116 4.3 Lists       73
87 4.3.1 List Block        70   117 4.3.1 List Block        73
88 4.3.2 List Item 71   118 4.3.2 List Item 74
89 4.3.3 List Header       73   119 4.3.3 List Header       76
90 4.3.4 Numbered Paragraphs       73   120 4.3.4 Numbered Paragraphs       76
91 4.4 Text Sections       74   121 4.4 Text Sections       77
92 4.4.1 Section Attributes        74   122 4.4.1 Section Attributes        78
93 4.4.2 Section Source    76   123 4.4.2 Section Source    79
94 4.4.3 DDE Source        77   124 4.4.3 DDE Source        80
95 4.5 Page-bound graphical content        78   125 4.5 Page-bound graphical content        81
96 4.6 Change Tracking     78   126 4.6 Change Tracking     81
97 4.6.1 Tracked Changes   78   127 4.6.1 Tracked Changes   81
98 4.6.2 Changed Regions   78   128 4.6.2 Changed Regions   81
99 4.6.3 Insertion 79   129 4.6.3 Insertion 82
100 4.6.4 Deletion  79   130 4.6.4 Deletion  82
101 4.6.5 Format Change     81   131 4.6.5 Format Change     84
102 4.6.6 Change Info       81   132 4.6.6 Change Info       84
103 4.6.7 Change Marks      82   133 4.6.7 Change Marks      85
      134 4.7 Soft Page Break     85
104 4.7 Text Declarations   82   135 4.8 Text Declarations   85
105 5 Paragraph Elements Content    84   136 5 Paragraph Elements Content    87
106 5.1 Basic Text Content  84   137 5.1 Basic Text Content  87
107 5.1.1 White-space Characters    84   138 5.1.1 White-space Characters    87
108 5.1.2 Soft Hyphens, Hyphens, and Non-breaking Blanks    86   139 5.1.2 Soft Hyphens, Hyphens, and Non-breaking Blanks    89
109 5.1.3 Attributed Text   86   140 5.1.3 Attributed Text   90
110 5.1.4 Hyperlinks        87   141 5.1.4 Hyperlinks        90
111 5.2 Bookmarks and References    89   142 5.2 Bookmarks and References    93
112 5.2.1 Bookmarks 89   143 5.2.1 Bookmarks 93
113 5.2.2 References        90   144 5.2.2 References        93
114 5.3 Notes       91   145 5.3 Notes       95
115 5.3.1 Note Element      91   146 5.3.1 Note Element      95
116 5.4 Ruby        93   147 5.4 Ruby        97
117 5.5 Text Annotation     94   148 5.5 Text Annotation     97
118 5.6 Index Marks 94   149 5.6 Index Marks 98
119 5.7 Change Tracking and Change Marks    94   150 5.7 Change Tracking and Change Marks    98
120 5.8 Inline graphics and text-boxes      94   151 5.8 Inline graphics and text-boxes      98
121 6 Text Fields   95   152 6 Text Fields   99
122 6.1 Common Characteristics of Field Elements    95   153 6.1 Common Characteristics of Field Elements    99
123 6.2 Document Fields     96   154 6.2 Document Fields     100
124 6.2.1 Date Fields       96   155 6.2.1 Date Fields       100
125 6.2.2 Time Fields       97   156 6.2.2 Time Fields       101
126 6.2.3 Page Number Fields        99   157 6.2.3 Page Number Fields        103
127 6.2.4 Page Continuation Text    100   158 6.2.4 Page Continuation Text    104
128 6.2.5 Sender Fields     101   159 6.2.5 Sender Fields     105
129 6.2.6 Author Fields     104   160 6.2.6 Author Fields     108
130 6.2.7 Chapter Fields    104   161 6.2.7 Chapter Fields    108
131 6.2.8 File Name Fields  105   162 6.2.8 File Name Fields  109
132 6.2.9 Document Template Name Fields     106   163 6.2.9 Document Template Name Fields     110
133 6.2.10 Sheet Name Fields        107   164 6.2.10 Sheet Name Fields        111
134 6.3 Variable Fields     107   165 6.3 Variable Fields     111
135 6.3.1 Declaring Simple Variables        108   166 6.3.1 Declaring Simple Variables        112
136 6.3.2 Setting Simple Variables  108   167 6.3.2 Setting Simple Variables  112
137 6.3.3 Displaying Simple Variables       109   168 6.3.3 Displaying Simple Variables       113
138 6.3.4 Simple Variable Input Fields      110   169 6.3.4 Simple Variable Input Fields      114
139 6.3.5 Declaring User Variables  111   170 6.3.5 Declaring User Variables  115
140 6.3.6 Displaying User Variables 111   171 6.3.6 Displaying User Variables 115
141 6.3.7 User Variable Input Fields        112   172 6.3.7 User Variable Input Fields        116
142 6.3.8 Declaring Sequence Variables      113   173 6.3.8 Declaring Sequence Variables      117
143 6.3.9 Using Sequence Fields     114   174 6.3.9 Using Sequence Fields     118
144 6.3.10 Expression Fields        115   175 6.3.10 Expression Fields        119
145 6.3.11 Text Input Fields        116   176 6.3.11 Text Input Fields        120
146 6.4 Metadata Fields     116   177 6.4 Metadata Fields     120
147 6.4.1 Initial Creator   117   178 6.4.1 Initial Creator   121
148 6.4.2 Document Creation Date    117   179 6.4.2 Document Creation Date    121
149 6.4.3 Document Creation Time    117   180 6.4.3 Document Creation Time    121
150 6.4.4 Document Description      117   181 6.4.4 Document Description      121
151 6.4.5 User-Defined Document Information 118   182 6.4.5 User-Defined Document Information 122
152 6.4.6 Print Time        118   183 6.4.6 Print Time        122
153 6.4.7 Print Date        119   184 6.4.7 Print Date        123
154 6.4.8 Printed By        119   185 6.4.8 Printed By        123
155 6.4.9 Document Title    119   186 6.4.9 Document Title    123
156 6.4.10 Document Subject 119   187 6.4.10 Document Subject 123
157 6.4.11 Document Keywords        120   188 6.4.11 Document Keywords        124
158 6.4.12 Document Revision Number 120   189 6.4.12 Document Revision Number 124
159 6.4.13 Document Edit Duration   120   190 6.4.13 Document Edit Duration   124
160 6.4.14 Document Modification Time       120   191 6.4.14 Document Modification Time       124
161 6.4.15 Document Modification Date       121   192 6.4.15 Document Modification Date       125
162 6.4.16 Document Modified By     121   193 6.4.16 Document Modified By     125
163 6.4.17 Document Statistics Fields       121   194 6.4.17 Document Statistics Fields       125
164 6.5 Database Fields     122   195 6.5 Database Fields     126
165 6.5.1 Database Field Data Source        123   196 6.5.1 Database Field Data Source        127
166 6.5.2 Displaying Database Content       124   197 6.5.2 Displaying Database Content       128
167 6.5.3 Selecting the Next Database Row   124   198 6.5.3 Selecting the Next Database Row   128
168 6.5.4 Selecting a Row Number    125   199 6.5.4 Selecting a Row Number    129
169 6.5.5 Displaying the Row Number 126   200 6.5.5 Displaying the Row Number 130
170 6.5.6 Display Current Database and Table        127   201 6.5.6 Display Current Database and Table        131
171 6.6 More Fields 127   202 6.6 More Fields 131
172 6.6.1 Page Variable Fields      127   203 6.6.1 Page Variable Fields      131
173 6.6.2 Placeholders      128   204 6.6.2 Placeholders      132
174 6.6.3 Conditional Text Fields   129   205 6.6.3 Conditional Text Fields   133
175 6.6.4 Hidden Text Field 131   206 6.6.4 Hidden Text Field 135
176 6.6.5 Reference Fields  132   207 6.6.5 Reference Fields  136
177 6.6.6 Script Fields     134   208 6.6.6 Script Fields     138
178 6.6.7 Macro Fields      135   209 6.6.7 Macro Fields      139
179 6.6.8 Hidden Paragraph Fields   136   210 6.6.8 Hidden Paragraph Fields   140
180 6.6.9 DDE Connection Fields     137   211 6.6.9 DDE Connection Fields     141
181 6.6.10 Measure Fields   137   212 6.6.10 Measure Fields   141
182 6.6.11 Table Formula Field      137   213 6.6.11 Table Formula Field      142
183 6.7 Common Field Attributes     138   214 6.7 Common Field Attributes     142
184 6.7.1 Variable Value Types and Values   138   215 6.7.1 Variable Value Types and Values   142
185 6.7.2 Fixed     140   216 6.7.2 Fixed     144
186 6.7.3 Variable Name     140   217 6.7.3 Variable Name     145
187 6.7.4 Description       141   218 6.7.4 Description       145
188 6.7.5 Display   141   219 6.7.5 Display   145
189 6.7.6 Formula   142   220 6.7.6 Formula   146
190 6.7.7 Formatting Style  143   221 6.7.7 Formatting Style  147
191 6.7.8 Number Formatting Style   143   222 6.7.8 Number Formatting Style   147
192 7 Text Indices  145   223 7 Text Indices  149
193 7.1 Index Marks 145   224 7.1 Index Marks 149
194 7.1.1 Table of Content Index Marks      145   225 7.1.1 Table of Content Index Marks      149
195 7.1.2 User-Defined Index Marks  146   226 7.1.2 User-Defined Index Marks  150
196 7.1.3 Alphabetical Index Mark   147   227 7.1.3 Alphabetical Index Mark   151
197 7.1.4 Bibliography Index Mark   149   228 7.1.4 Bibliography Index Mark   153
198 7.2 Index Structure     150   229 7.2 Index Structure     154
199 7.2.1 Index Source      150   230 7.2.1 Index Source      154
200 7.2.2 Index Body Section        151   231 7.2.2 Index Body Section        155
201 7.2.3 Index Title Section       151   232 7.2.3 Index Title Section       155
202 7.3 Table Of Content    151   233 7.3 Table Of Content    155
203 7.3.1 Table of Content Source   152   234 7.3.1 Table of Content Source   156
204 7.3.2 Table of Content Entry Template   154   235 7.3.2 Table of Content Entry Template   158
205 7.4 Index of Illustrations      155   236 7.4 Index of Illustrations      159
206 7.4.1 Index of Illustration Source      156   237 7.4.1 Index of Illustration Source      160
207 7.4.2 Illustration Index Entry Template 157   238 7.4.2 Illustration Index Entry Template 161
208 7.5 Index of Tables     158   239 7.5 Index of Tables     162
209 7.5.1 Table Index Source        158   240 7.5.1 Table Index Source        162
210 7.5.2 Table Index Entry Template        159   241 7.5.2 Table Index Entry Template        163
211 7.6 Index of Objects    159   242 7.6 Index of Objects    163
212 7.6.1 Object Index Source       159   243 7.6.1 Object Index Source       163
213 7.6.2 Object Index Entry Template       161   244 7.6.2 Object Index Entry Template       165
214 7.7 User-Defined Index  161   245 7.7 User-Defined Index  165
215 7.7.1 User-Defined Index Source 161   246 7.7.1 User-Defined Index Source 165
216 7.7.2 User-Defined Index Entry Template 163   247 7.7.2 User-Defined Index Entry Template 167
217 7.8 Alphabetical Index  164   248 7.8 Alphabetical Index  168
218 7.8.1 Alphabetical Index Source 164   249 7.8.1 Alphabetical Index Source 168
219 7.8.2 Auto Mark File    168   250 7.8.2 Auto Mark File    172
220 7.8.3 Alphabetical Index Entry Template 168   251 7.8.3 Alphabetical Index Entry Template 172
221 7.9 Bibliography        169   252 7.9 Bibliography        173
222 7.9.1 Bibliography Index Source 169   253 7.9.1 Bibliography Index Source 173
223 7.9.2 Bibliography Entry Template       170   254 7.9.2 Bibliography Entry Template       174
224 7.10 index source styles        170   255 7.10 index source styles        174
225 7.10.1 Index source style       171   256 7.10.1 Index source style       175
226 7.11 Index title template       171   257 7.11 Index title template       175
227 7.12 Index Template Entries     171   258 7.12 Index Template Entries     175
228 7.12.1 Chapter Information      172   259 7.12.1 Chapter Information      176
229 7.12.2 Entry Text       172   260 7.12.2 Entry Text       176
230 7.12.3 Page Number      172   261 7.12.3 Page Number      176
231 7.12.4 Fixed String     173   262 7.12.4 Fixed String     177
232 7.12.5 Bibliography Information 173   263 7.12.5 Bibliography Information 177
233 7.12.6 Tab Stop 174   264 7.12.6 Tab Stop 178
234 7.12.7 Hyperlink Start and End  175   265 7.12.7 Hyperlink Start and End  179
235 7.12.8 Example of an Index Entry Configuration  176   266 7.12.8 Example of an Index Entry Configuration  180
236 8 Tables        178   267 8 Tables        182
237 8.1 Basic Table Model   178   268 8.1 Basic Table Model   182
238 8.1.1 Table Element     178   269 8.1.1 Table Element     182
239 8.1.2 Table Row         181   270 8.1.2 Table Row         186
240 8.1.3 Table Cell        183   271 8.1.3 Table Cell        188
241 8.2 Advanced Table Model        189   272 8.2 Advanced Table Model        193
242 8.2.1 Column Description        189   273 8.2.1 Column Description        193
243 8.2.2 Header Columns    190   274 8.2.2 Header Columns    195
244 8.2.3 Column Groups     191   275 8.2.3 Column Groups     195
245 8.2.4 Header Rows       191   276 8.2.4 Header Rows       196
246 8.2.5 Row Groups        192   277 8.2.5 Row Groups        196
247 8.2.6 Subtables         192   278 8.2.6 Subtables         197
248 8.3 Advanced Tables     196   279 8.3 Advanced Tables     200
249 8.3.1 Referencing Table Cells   196   280 8.3.1 Referencing Table Cells   200
250 8.3.2 Linked Tables     197   281 8.3.2 Linked Tables     202
251 8.3.3 Scenario Tables   199   282 8.3.3 Scenario Tables   204
252 8.3.4 Shapes    202   283 8.3.4 Shapes    206
253 8.4 Advanced Table Cells        202   284 8.4 Advanced Table Cells        207
254 8.4.1 Linked Table Cells        202   285 8.4.1 Linked Table Cells        207
255 8.4.2 Cell Annotation   203   286 8.4.2 Cell Annotation   208
256 8.4.3 Detective 203   287 8.4.3 Detective 208
257 8.4.4 Detective Operation       204   288 8.4.4 Detective Operation       208
258 8.4.5 Highlighted Range 205   289 8.4.5 Highlighted Range 209
259 8.5 Spreadsheet Document Content        206   290 8.5 Spreadsheet Document Content        211
260 8.5.1 Document Protection       206   291 8.5.1 Document Protection       211
261 8.5.2 Calculation Settings      206   292 8.5.2 Calculation Settings      211
262 8.5.3 Table Cell Content Validations    209   293 8.5.3 Table Cell Content Validations    214
263 8.5.4 Label Ranges      213   294 8.5.4 Label Ranges      218
264 8.5.5 Named Expressions 215   295 8.5.5 Named Expressions 219
265 8.6 Database Ranges     217   296 8.6 Database Ranges     221
266 8.6.1 Database Range    217   297 8.6.1 Database Range    222
267 8.6.2 Database Source SQL       220   298 8.6.2 Database Source SQL       225
268 8.6.3 Database Source Table     221   299 8.6.3 Database Source Table     225
269 8.6.4 Database Source Query     221   300 8.6.4 Database Source Query     226
270 8.6.5 Sort      222   301 8.6.5 Sort      227
271 8.6.6 Sort By   224   302 8.6.6 Sort By   228
272 8.6.7 Subtotal Rules    225   303 8.6.7 Subtotal Rules    229
273 8.6.8 Subtotal Sort Groups      226   304 8.6.8 Subtotal Sort Groups      230
274 8.6.9 Subtotal Rule     226   305 8.6.9 Subtotal Rule     231
275 8.6.10 Subtotal Field   227   306 8.6.10 Subtotal Field   232
276 8.7 Filters     228   307 8.7 Filters     233
277 8.7.1 Table Filter      228   308 8.7.1 Table Filter      233
278 8.7.2 Filter And        230   309 8.7.2 Filter And        234
279 8.7.3 Filter Or         230   310 8.7.3 Filter Or         235
280 8.7.4 Filter Condition  230   311 8.7.4 Filter Condition  235
281 8.8 Data Pilot Tables   232   312 8.8 Data Pilot Tables   237
282 8.8.1 Data Pilot Table  233   313 8.8.1 Data Pilot Table  237
283 8.8.2 Source Cell Range 237   314 8.8.2 Source Cell Range 242
284 8.8.3 Source Service    238   315 8.8.3 Source Service    243
285 8.8.4 Data Pilot Field  239   316 8.8.4 Data Pilot Field  244
286 8.8.5 Data Pilot Level  242   317 8.8.5 Data Pilot Level  246
287 8.8.6 Data Pilot Subtotals      242   318 8.8.6 Data Pilot Subtotals      247
288 8.8.7 Data Pilot Subtotal       243   319 8.8.7 Data Pilot Subtotal       247
289 8.8.8 Data Pilot Members        243   320 8.8.8 Data Pilot Members        248
290 8.8.9 Data Pilot Member 244   321 8.8.9 Data Pilot Member 248
291 8.8.10 Data Pilot Display Info  245   322 8.8.10 Data Pilot Display Info  249
292 8.8.11 Data Pilot Sort Info     246   323 8.8.11 Data Pilot Sort Info     250
293 8.8.12 Data Pilot Layout Info   246   324 8.8.12 Data Pilot Layout Info   251
294 8.8.13 Data Pilot Field Reference       247   325 8.8.13 Data Pilot Field Reference       252
295 8.8.14 Data Pilot Groups        249   326 8.8.14 Data Pilot Groups        254
296 8.8.15 Data Pilot Group 251   327 8.8.15 Data Pilot Group 256
297 8.8.16 Data Pilot Group Member  252   328 8.8.16 Data Pilot Group Member  257
298 8.9 Consolidation       252   329 8.9 Consolidation       257
299 8.10 DDE Links  254   330 8.10 DDE Links  259
300 8.11 Change Tracking in Spreadsheets    254   331 8.11 Change Tracking in Spreadsheets    259
301 8.11.1 Tracked Changes  254   332 8.11.1 Tracked Changes  259
302 8.11.2 Insertion        255   333 8.11.2 Insertion        260
303 8.11.3 Dependencies     256   334 8.11.3 Dependencies     261
304 8.11.4 Dependence       257   335 8.11.4 Dependence       261
305 8.11.5 Deletions        257   336 8.11.5 Deletions        262
306 8.11.6 Cell Content Deletion    257   337 8.11.6 Cell Content Deletion    262
307 8.11.7 Change Deletion  257   338 8.11.7 Change Deletion  262
308 8.11.8 Deletion 258   339 8.11.8 Deletion 263
309 8.11.9 Cut Offs 259   340 8.11.9 Cut Offs 264
310 8.11.10 Insertion Cut Off       260   341 8.11.10 Insertion Cut Off       265
311 8.11.11 Movement Cut Off        260   342 8.11.11 Movement Cut Off        265
312 8.11.12 Movement        261   343 8.11.12 Movement        266
313 8.11.13 Target Range Address, Source Range Address      262   344 8.11.13 Target Range Address, Source Range Address      267
314 8.11.14 Change Track Cell       263   345 8.11.14 Change Track Cell       268
315 8.11.15 Cell Content Change     264   346 8.11.15 Cell Content Change     269
316 8.11.16 Cell Address    265   347 8.11.16 Cell Address    270
317 8.11.17 Previous        265   348 8.11.17 Previous        270
318 8.11.18 Common Change Tracking Attributes       266   349 8.11.18 Common Change Tracking Attributes       270
319 9 Graphic Content       267   350 9 Graphic Content       272
320 9.1 Enhanced Page Features for Graphical Applications   267   351 9.1 Enhanced Page Features for Graphical Applications   272
321 9.1.1 Handout Master    267   352 9.1.1 Handout Master    272
322 9.1.2 Layer Sets        268   353 9.1.2 Layer Sets        273
323 9.1.3 Layer     269   354 9.1.3 Layer     274
324 9.1.4 Drawing Pages     269   355 9.1.4 Drawing Pages     275
325 9.1.5 Presentation Notes        273   356 9.1.5 Presentation Notes        278
326 9.2 Drawing Shapes      273   357 9.2 Drawing Shapes      279
327 9.2.1 Rectangle 274   358 9.2.1 Rectangle 279
328 9.2.2 Line      274   359 9.2.2 Line      280
329 9.2.3 Polyline  275   360 9.2.3 Polyline  281
330 9.2.4 Polygon   276   361 9.2.4 Polygon   282
331 9.2.5 Regular Polygon   276   362 9.2.5 Regular Polygon   283
332 9.2.6 Path      278   363 9.2.6 Path      285
333 9.2.7 Circle    279   364 9.2.7 Circle    286
334 9.2.8 Ellipse   281   365 9.2.8 Ellipse   288
335 9.2.9 Connector 282   366 9.2.9 Connector 289
336 9.2.10 Caption  285   367 9.2.10 Caption  293
337 9.2.11 Measure  286   368 9.2.11 Measure  294
338 9.2.12 Control  287   369 9.2.12 Control  295
339 9.2.13 Page Thumbnail   287   370 9.2.13 Page Thumbnail   296
340 9.2.14 Grouping 288   371 9.2.14 Grouping 297
341 9.2.15 Common Drawing Shape Attributes  289   372 9.2.15 Common Drawing Shape Attributes  298
342 9.2.16 Common Shape Attributes for Text and Spreadsheet Documents       292   373 9.2.16 Common Shape Attributes for Text and Spreadsheet Documents       302
343 9.2.17 Common Drawing Shape Content     295   374 9.2.17 Common Drawing Shape Content     305
344 9.2.18 Common Shape Attribute Groups    295   375 9.2.18 Common Shape Attribute Groups    305
345 9.2.19 Glue Points      295   376 9.2.19 Glue Points      305
      377 9.2.20 Title and Description    307
346 9.2.20 Event Listeners  297   378 9.2.21 Event Listeners  308
347 9.3 Frames      297   379 9.3 Frames      308
348 9.3.1 Text Box  300   380 9.3.1 Text Box  311
349 9.3.2 Image     302   381 9.3.2 Image     313
350 9.3.3 Objects   303   382 9.3.3 Objects   314
351 9.3.4 Applet    305   383 9.3.4 Applet    316
352 9.3.5 Plugins   307   384 9.3.5 Plugins   318
353 9.3.6 Parameters        308   385 9.3.6 Parameters        319
354 9.3.7 Floating Frame    308   386 9.3.7 Floating Frame    319
355 9.3.8 Contour   309   387 9.3.8 Contour   320
356 9.3.9 Alternative Text  310      
357 9.3.10 Hyperlinks       310   388 9.3.9 Hyperlinks        321
358 9.3.11 Client Side Image Maps   312   389 9.3.10 Client Side Image Maps   323
359 9.4 3D Shapes   316   390 9.4 3D Shapes   327
360 9.4.1 Scene     316   391 9.4.1 Scene     327
361 9.4.2 Light     320   392 9.4.2 Light     331
362 9.4.3 Cube      321   393 9.4.3 Cube      332
363 9.4.4 Sphere    321   394 9.4.4 Sphere    333
364 9.4.5 Extrude   322   395 9.4.5 Extrude   334
365 9.4.6 Rotate    323   396 9.4.6 Rotate    334
366 9.5 Custom Shape        323   397 9.5 Custom Shape        335
367 9.5.1 Enhanced Geometry 324   398 9.5.1 Enhanced Geometry 336
368 9.5.2 Enhanced Geometry - Extrusion Attributes  327   399 9.5.2 Enhanced Geometry - Extrusion Attributes  339
369 9.5.3 Enhanced Geometry - Path Attributes       333   400 9.5.3 Enhanced Geometry - Path Attributes       345
370 9.5.4 Enhanced Geometry - Text Path Attributes  337   401 9.5.4 Enhanced Geometry - Text Path Attributes  349
371 9.5.5 Enhanced Geometry – Equation      338   402 9.5.5 Enhanced Geometry – Equation      350
372 9.5.6 Enhanced Geometry - Handle Attributes     340   403 9.5.6 Enhanced Geometry - Handle Attributes     352
373 9.6 Presentation Shapes 344   404 9.6 Presentation Shapes 356
374 9.6.1 Common Presentation Shape Attributes      344   405 9.6.1 Common Presentation Shape Attributes      356
375 9.7 Presentation Animations     346   406 9.7 Presentation Animations     358
376 9.7.1 Sound     347   407 9.7.1 Sound     359
377 9.7.2 Show Shape        348   408 9.7.2 Show Shape        360
378 9.7.3 Show Text 351   409 9.7.3 Show Text 363
379 9.7.4 Hide Shape        352   410 9.7.4 Hide Shape        364
380 9.7.5 Hide Text 352   411 9.7.5 Hide Text 364
381 9.7.6 Dim       352   412 9.7.6 Dim       364
382 9.7.7 Play      353   413 9.7.7 Play      365
383 9.7.8 Effect groups     353   414 9.7.8 Effect groups     365
384 9.8 SMIL Presentation Animations        353   415 9.8 SMIL Presentation Animations        365
385 9.8.1 Recommended Usage Of SMIL 354   416 9.8.1 Recommended Usage Of SMIL 366
386 9.8.2 Document Dependent SMIL Animation Attribute Values        355   417 9.8.2 Document Dependent SMIL Animation Attribute Values        367
387 9.8.3 SMIL Presentation Animation Attributes    357   418 9.8.3 SMIL Presentation Animation Attributes    369
388 9.9 Presentation Events 360   419 9.9 Presentation Events 372
389 9.10 Presentation Text Fields   363   420 9.10 Presentation Text Fields   375
390 9.10.1 Header Field     363   421 9.10.1 Header Field     375
391 9.10.2 Footer Field     363   422 9.10.2 Footer Field     375
392 9.10.3 Date and Time Field      363   423 9.10.3 Date and Time Field      375
393 9.11 Presentation Document Content      364   424 9.11 Presentation Document Content      376
394 9.11.1 Presentation Declarations        364   425 9.11.1 Presentation Declarations        376
395 9.11.2 Header field declaration 364   426 9.11.2 Header field declaration 376
396 9.11.3 Footer field declaration 364   427 9.11.3 Footer field declaration 376
397 9.11.4 Date and Time field declaration  365   428 9.11.4 Date and Time field declaration  377
398 9.11.5 Presentation Settings    365   429 9.11.5 Presentation Settings    377
399 9.11.6 Show Definitions 369   430 9.11.6 Show Definitions 381
400 10 Chart Content        371   431 10 Chart Content        383
401 10.1 Introduction to Chart Documents    371   432 10.1 Introduction to Chart Documents    383
402 10.2 Chart      371   433 10.2 Chart      383
403 10.3 Title, Subtitle and Footer 375   434 10.3 Title, Subtitle and Footer 387
404 10.3.1 Title    375   435 10.3.1 Title    387
405 10.3.2 Subtitle 376   436 10.3.2 Subtitle 388
406 10.3.3 Footer   376   437 10.3.3 Footer   388
407 10.4 Legend     376   438 10.4 Legend     388
408 10.5 Plot Area  378   439 10.5 Plot Area  390
409 10.5.1 3D Plot Area     380   440 10.5.1 3D Plot Area     392
410 10.6 Wall       380   441 10.6 Wall       392
411 10.7 Floor      381   442 10.7 Floor      393
412 10.8 Axis       382   443 10.8 Axis       394
413 10.8.1 Grid     383   444 10.8.1 Grid     395
414 10.9 Series     384   445 10.9 Series     396
415 10.9.1 Domain   386   446 10.9.1 Domain   398
416 10.10 Categories        386   447 10.10 Categories        398
417 10.11 Data Point        386   448 10.11 Data Point        398
418 10.12 Mean Value        387   449 10.12 Mean Value        399
419 10.13 Error Indicator   388   450 10.13 Error Indicator   400
420 10.14 Regression Curves 388   451 10.14 Regression Curves 400
421 10.14.1 Stock Chart Markers     389   452 10.14.1 Stock Chart Markers     401
422 11 Form Content 390   453 11 Form Content 402
423 11.1 Form       391   454 11.1 Form       403
424 11.1.1 Action   392   455 11.1.1 Action   404
425 11.1.2 Target Frame     392   456 11.1.2 Target Frame     404
426 11.1.3 Method   393   457 11.1.3 Method   405
427 11.1.4 Encoding Type    393   458 11.1.4 Encoding Type    405
428 11.1.5 Allow Deletes    393   459 11.1.5 Allow Deletes    405
429 11.1.6 Allow Inserts    394   460 11.1.6 Allow Inserts    406
430 11.1.7 Allow Updates    394   461 11.1.7 Allow Updates    406
431 11.1.8 Apply Filter     394   462 11.1.8 Apply Filter     406
432 11.1.9 Command Type     394   463 11.1.9 Command Type     406
433 11.1.10 Command 395   464 11.1.10 Command 407
434 11.1.11 Data Source     395   465 11.1.11 Data Source     407
435 11.1.12 Master Fields   395   466 11.1.12 Master Fields   407
436 11.1.13 Detail Fields   396   467 11.1.13 Detail Fields   408
437 11.1.14 Escape Processing       396   468 11.1.14 Escape Processing       408
438 11.1.15 Filter  396   469 11.1.15 Filter  408
439 11.1.16 Ignore Result   396   470 11.1.16 Ignore Result   408
440 11.1.17 Navigation Mode 397   471 11.1.17 Navigation Mode 409
441 11.1.18 Order   397   472 11.1.18 Order   409
442 11.1.19 Tabbing Cycle   397   473 11.1.19 Tabbing Cycle   409
443 11.1.20 Connection Resource     398   474 11.1.20 Connection Resource     410
444 11.2 XForms Model       398   475 11.2 XForms Model       410
445 11.2.1 XForms Model     399   476 11.2.1 XForms Model     411
446 11.3 Controls   399   477 11.3 Controls   411
447 11.3.1 Text     400   478 11.3.1 Text     412
448 11.3.2 Text Area        400   479 11.3.2 Text Area        412
449 11.3.3 Password 401   480 11.3.3 Password 413
450 11.3.4 File     402   481 11.3.4 File     414
451 11.3.5 Formatted Text   402   482 11.3.5 Formatted Text   414
452 11.3.6 Number   404   483 11.3.6 Number   416
453 11.3.7 Date And Time    405   484 11.3.7 Date And Time    417
454 11.3.8 Fixed Text       407   485 11.3.8 Fixed Text       419
455 11.3.9 Combo Box        407   486 11.3.9 Combo Box        419
456 11.3.10 List Box        409   487 11.3.10 List Box        421
457 11.3.11 Button  410   488 11.3.11 Button  422
458 11.3.12 Image   412   489 11.3.12 Image   424
459 11.3.13 Check Box       412   490 11.3.13 Check Box       424
460 11.3.14 Radio Button    414   491 11.3.14 Radio Button    426
461 11.3.15 Frame   415   492 11.3.15 Frame   427
462 11.3.16 Image Frame     415   493 11.3.16 Image Frame     427
463 11.3.17 Hidden  415   494 11.3.17 Hidden  427
464 11.3.18 Grid    416   495 11.3.18 Grid    428
465 11.3.19 Value Range     417   496 11.3.19 Value Range     429
466 11.3.20 Generic Control 419   497 11.3.20 Generic Control 431
467 11.4 Common Form and Control Attributes 419   498 11.4 Common Form and Control Attributes 431
468 11.4.1 Name     419   499 11.4.1 Name     431
469 11.4.2 Control Implementation   420   500 11.4.2 Control Implementation   432
470 11.4.3 Bind to XForms   420   501 11.4.3 Bind to XForms   432
471 11.5 Common Control Attributes  420   502 11.5 Common Control Attributes  432
472 11.5.1 Button Type      420   503 11.5.1 Button Type      432
473 11.5.2 Control ID       421   504 11.5.2 Control ID       433
474 11.5.3 Current Selected 422   505 11.5.3 Current Selected 434
475 11.5.4 Value and Current Value  422   506 11.5.4 Value and Current Value  434
476 11.5.5 Disabled 423   507 11.5.5 Disabled 435
477 11.5.6 Dropdown 424   508 11.5.6 Dropdown 436
478 11.5.7 For      424   509 11.5.7 For      436
479 11.5.8 Image Data       425   510 11.5.8 Image Data       437
480 11.5.9 Label    425   511 11.5.9 Label    437
481 11.5.10 Maximum Length  425   512 11.5.10 Maximum Length  437
482 11.5.11 Printable       426   513 11.5.11 Printable       438
483 11.5.12 Read only       427   514 11.5.12 Read only       439
484 11.5.13 Selected        427   515 11.5.13 Selected        439
485 11.5.14 Size    427   516 11.5.14 Size    439
486 11.5.15 Tab Index       428   517 11.5.15 Tab Index       440
487 11.5.16 Tab Stop        429   518 11.5.16 Tab Stop        441
488 11.5.17 Target Frame    429   519 11.5.17 Target Frame    441
489 11.5.18 Target Location 430   520 11.5.18 Target Location 442
490 11.5.19 Title   430   521 11.5.19 Title   442
491 11.5.20 Visual Effect   431   522 11.5.20 Visual Effect   443
492 11.5.21 Relative Image Position 431   523 11.5.21 Relative Image Position 443
493 11.5.22 Database Binding Attributes     432   524 11.5.22 Database Binding Attributes     444
494 11.6 Events     434   525 11.6 Event Listeners    446
495 11.6.1 Events with an Equivalent HTML Event Type        434      
496 11.6.2 Event Types      435      
497 11.7 Properties 437   526 11.7 Properties 448
498 11.7.1 Property Set     437   527 11.7.1 Property Set     448
499 11.7.2 Property 437   528 11.7.2 Property 448
500 11.7.3 List Property    438   529 11.7.3 List Property    449
501 12 Common Content       441   530 12 Common Content       452
502 12.1 Annotation 441   531 12.1 Annotation 452
503 12.1.1 Creator  442   532 12.1.1 Creator  453
504 12.1.2 Creation Date and Time   442   533 12.1.2 Creation Date and Time   453
505 12.1.3 Creation Date and Time String    442   534 12.1.3 Creation Date and Time String    453
506 12.2 Number Format      442   535 12.2 Number Format      453
507 12.2.1 Prefix and Suffix        442   536 12.2.1 Prefix and Suffix        453
508 12.2.2 Format Specification     443   537 12.2.2 Format Specification     454
509 12.2.3 Letter Synchronization in Number Formats 443   538 12.2.3 Letter Synchronization in Number Formats 454
510 12.3 Change Tracking Metadata   444   539 12.3 Change Tracking Metadata   455
511 12.4 Event Listener Tables      444   540 12.4 Event Listener Tables      455
512 12.4.1 Event Listener   445   541 12.4.1 Event Listener   456
      542 12.4.2 Event Types      457
513 12.5 Mathematical Content       446   543 12.5 Mathematical Content       458
514 12.6 DDE Connections    447   544 12.6 DDE Connections    459
515 12.6.1 Container for DDE Connection Declarations        447   545 12.6.1 Container for DDE Connection Declarations        459
516 12.6.2 Declaring DDE Connections for Text Fields        447   546 12.6.2 Declaring DDE Connections for Text Fields        459
517 12.6.3 Declaring DDE Connections for Tables     449   547 12.6.3 Declaring DDE Connections for Tables     461
518 13 SMIL Animations      451   548 13 SMIL Animations      463
519 13.1 Basic Animation Elements   451   549 13.1 Basic Animation Elements   463
520 13.1.1 Animate  451   550 13.1.1 Animate  463
521 13.1.2 Set      451   551 13.1.2 Set      463
522 13.1.3 Animate Motion   451   552 13.1.3 Animate Motion   463
523 13.1.4 Animate Color    452   553 13.1.4 Animate Color    464
524 13.1.5 Animate Transform        453   554 13.1.5 Animate Transform        465
525 13.1.6 Transition Filter        454   555 13.1.6 Transition Filter        466
526 13.2 Animation Model Attributes 455   556 13.2 Animation Model Attributes 467
527 13.3 Common Animation Attributes        455   557 13.3 Common Animation Attributes        467
528 13.3.1 Animation Target Attributes      456   558 13.3.1 Animation Target Attributes      468
529 13.3.2 Animation Function Attributes    456   559 13.3.2 Animation Function Attributes    468
530 13.4 Animation Timing   459   560 13.4 Animation Timing   471
531 13.4.1 Animation Timing Attributes      459   561 13.4.1 Animation Timing Attributes      471
532 13.4.2 Parallel Animations      463   562 13.4.2 Parallel Animations      475
533 13.4.3 Sequential Animations    463   563 13.4.3 Sequential Animations    475
534 13.4.4 Iterative Animations     463   564 13.4.4 Iterative Animations     475
535 13.5 Media Elements     464   565 13.5 Media Elements     476
536 13.5.1 Audio    464   566 13.5.1 Audio    476
537 13.6 Special Elements   465   567 13.6 Special Elements   477
538 13.6.1 Command  465   568 13.6.1 Command  477
539 14 Styles       467   569 14 Styles       479
540 14.1 Style Element      467   570 14.1 Style Element      479
541 14.1.1 Style Mappings   471   571 14.1.1 Style Mappings   483
542 14.2 Default Styles     473   572 14.2 Default Styles     485
543 14.3 Page Layout        473   573 14.3 Page Layout        485
544 14.3.1 Header and Footer Styles 474   574 14.3.1 Header and Footer Styles 486
545 14.4 Master Pages       475   575 14.4 Master Pages       487
546 14.4.1 Headers and Footers      477   576 14.4.1 Headers and Footers      489
547 14.4.2 Presentation Notes       479   577 14.4.2 Presentation Notes       491
548 14.5 Table Templates    481   578 14.5 Table Templates    493
549 14.5.1 Row and Column Styles    482   579 14.5.1 Row and Column Styles    494
550 14.6 Font Face Declaration      483   580 14.6 Font Face Declaration      496
551 14.6.1 CSS2/SVG Font Descriptors        484   581 14.6.1 CSS2/SVG Font Descriptors        496
552 14.6.2 Name     488   582 14.6.2 Name     500
553 14.6.3 Adornments       488   583 14.6.3 Adornments       500
554 14.6.4 Font Family Generic      488   584 14.6.4 Font Family Generic      500
555 14.6.5 Font Pitch       488   585 14.6.5 Font Pitch       501
556 14.6.6 Font Character Set       489   586 14.6.6 Font Character Set       501
557 14.7 Data Styles        489   587 14.7 Data Styles        501
558 14.7.1 Number Style     489   588 14.7.1 Number Style     501
559 14.7.2 Currency Style   493   589 14.7.2 Currency Style   505
560 14.7.3 Percentage Style 495   590 14.7.3 Percentage Style 507
561 14.7.4 Date Style       495   591 14.7.4 Date Style       508
562 14.7.5 Time Style       501   592 14.7.5 Time Style       513
563 14.7.6 Boolean Style    505   593 14.7.6 Boolean Style    517
564 14.7.7 Text Style       505   594 14.7.7 Text Style       517
565 14.7.8 Common Data Style Elements       506   595 14.7.8 Common Data Style Elements       518
566 14.7.9 Common Data Style Attributes     507   596 14.7.9 Common Data Style Attributes     519
567 14.7.10 Transliteration 510   597 14.7.10 Transliteration 522
568 14.7.11 Common Data Style Child Element Attributes      511   598 14.7.11 Common Data Style Child Element Attributes      523
569 14.8 Text Styles        513   599 14.8 Text Styles        525
570 14.8.1 Text Styles      513   600 14.8.1 Text Styles      525
571 14.8.2 Paragraph Styles 513   601 14.8.2 Paragraph Styles 525
572 14.8.3 Section Styles   514   602 14.8.3 Section Styles   526
573 14.8.4 Ruby Style       514   603 14.8.4 Ruby Style       526
574 14.9 Enhanced Text Styles       514   604 14.9 Enhanced Text Styles       526
575 14.9.1 Line Numbering Configuration     514   605 14.9.1 Line Numbering Configuration     526
576 14.9.2 Notes Configuration Element      518   606 14.9.2 Notes Configuration Element      530
577 14.9.3 Bibliography Configuration       521   607 14.9.3 Bibliography Configuration       533
578 14.10 List Style        523   608 14.10 List Style        535
579 14.10.1 Common List-Level Style Attributes      524   609 14.10.1 Common List-Level Style Attributes      536
580 14.10.2 Number Level Style      525   610 14.10.2 Number Level Style      537
581 14.10.3 Bullet Level Style      526   611 14.10.3 Bullet Level Style      538
582 14.10.4 Image Level Style       528   612 14.10.4 Image Level Style       540
583 14.10.5 List Level Style Example        528   613 14.10.5 List Level Style Example        541
584 14.11 Outline Style     529   614 14.11 Outline Style     541
585 14.11.1 Outline Level Style     529   615 14.11.1 Outline Level Style     542
586 14.12 Table Styles      531   616 14.12 Table Styles      543
587 14.12.1 Table Styles    531   617 14.12.1 Table Styles    543
588 14.12.2 Table Column Styles     531   618 14.12.2 Table Column Styles     544
589 14.12.3 Table Row Styles        532   619 14.12.3 Table Row Styles        544
590 14.12.4 Table Cell Styles       532   620 14.12.4 Table Cell Styles       544
591 14.13 Graphic Styles    532   621 14.13 Graphic Styles    545
592 14.13.1 Graphic and Presentation Styles 532   622 14.13.1 Graphic and Presentation Styles 545
593 14.13.2 Drawing Page Style      533   623 14.13.2 Drawing Page Style      545
594 14.14 Enhanced Graphic Style Elements   534   624 14.14 Enhanced Graphic Style Elements   546
595 14.14.1 Gradient        534   625 14.14.1 Gradient        546
596 14.14.2 SVG Gradients   537   626 14.14.2 SVG Gradients   549
597 14.14.3 Hatch   540   627 14.14.3 Hatch   552
598 14.14.4 Fill Image      542   628 14.14.4 Fill Image      554
599 14.14.5 Opacity Gradient        543   629 14.14.5 Opacity Gradient        555
600 14.14.6 Marker  544   630 14.14.6 Marker  556
601 14.14.7 Stroke Dash     544   631 14.14.7 Stroke Dash     557
602 14.15 Presentation Page Layouts 546   632 14.15 Presentation Page Layouts 559
603 14.15.1 Presentation Placeholder        547   633 14.15.1 Presentation Placeholder        559
604 14.16 Chart Styles      548   634 14.16 Chart Styles      560
605 15 Formatting Properties        549   635 15 Formatting Properties        561
606 15.1 Simple and Complex Formatting Properties   549   636 15.1 Simple and Complex Formatting Properties   561
607 15.1.1 Simple Formatting Properties     549   637 15.1.1 Simple Formatting Properties     561
608 15.1.2 Complex Formatting Properties    550   638 15.1.2 Complex Formatting Properties    562
609 15.1.3 Processing Rules for Formatting Properties       550   639 15.1.3 Processing Rules for Formatting Properties       562
610 15.2 Page Layout Formatting Properties  550   640 15.2 Page Layout Formatting Properties  562
611 15.2.1 Page Size        551   641 15.2.1 Page Size        563
612 15.2.2 Page Number Format       551   642 15.2.2 Page Number Format       563
613 15.2.3 Paper Tray       552   643 15.2.3 Paper Tray       564
614 15.2.4 Print Orientation        552   644 15.2.4 Print Orientation        564
615 15.2.5 Margins  552   645 15.2.5 Margins  564
616 15.2.6 Border   553   646 15.2.6 Border   565
617 15.2.7 Border Line Width        553   647 15.2.7 Border Line Width        565
618 15.2.8 Padding  553   648 15.2.8 Padding  565
619 15.2.9 Shadow   553   649 15.2.9 Shadow   565
620 15.2.10 Background      553   650 15.2.10 Background      565
621 15.2.11 Columns 554   651 15.2.11 Columns 566
622 15.2.12 Register-truth  554   652 15.2.12 Register-truth  566
623 15.2.13 Print   554   653 15.2.13 Print   566
624 15.2.14 Print Page Order        555   654 15.2.14 Print Page Order        567
625 15.2.15 First Page Number       555   655 15.2.15 First Page Number       567
626 15.2.16 Scale   555   656 15.2.16 Scale   567
627 15.2.17 Table Centering 556   657 15.2.17 Table Centering 568
628 15.2.18 Maximum Footnote Height 556   658 15.2.18 Maximum Footnote Height 568
629 15.2.19 Writing Mode    557   659 15.2.19 Writing Mode    569
630 15.2.20 Footnote Separator      557   660 15.2.20 Footnote Separator      569
631 15.2.21 Layout Grid     558   661 15.2.21 Layout Grid     570
632 15.2.22 Layout Grid Base Height 558   662 15.2.22 Layout Grid Base Height 570
633 15.2.23 Layout Grid Ruby Height 559   663 15.2.23 Layout Grid Ruby Height 571
634 15.2.24 Layout Grid Lines       559   664 15.2.24 Layout Grid Lines       571
635 15.2.25 Layout Grid Color       559   665 15.2.25 Layout Grid Color       571
636 15.2.26 Layout Grid Ruby Below  559   666 15.2.26 Layout Grid Ruby Below  571
637 15.2.27 Layout Grid Print       560   667 15.2.27 Layout Grid Print       572
638 15.2.28 Layout Grid Display     560   668 15.2.28 Layout Grid Display     572
639 15.3 Header Footer Formatting Properties        560   669 15.3 Header Footer Formatting Properties        572
640 15.3.1 Fixed and Minimum heights        561   670 15.3.1 Fixed and Minimum heights        573
641 15.3.2 Margins  561   671 15.3.2 Margins  573
642 15.3.3 Border   561   672 15.3.3 Border   573
643 15.3.4 Border Line Width        561   673 15.3.4 Border Line Width        573
644 15.3.5 Padding  562   674 15.3.5 Padding  574
645 15.3.6 Background       562   675 15.3.6 Background       574
646 15.3.7 Shadow   562   676 15.3.7 Shadow   574
647 15.3.8 Dynamic Spacing  562   677 15.3.8 Dynamic Spacing  574
648 15.4 Text Formatting Properties 563   678 15.4 Text Formatting Properties 575
649 15.4.1 Font Variant     563   679 15.4.1 Font Variant     575
650 15.4.2 Text Transformations     563   680 15.4.2 Text Transformations     575
651 15.4.3 Color    564   681 15.4.3 Color    576
652 15.4.4 Window Font Color        564   682 15.4.4 Window Font Color        576
653 15.4.5 Text Outline     564   683 15.4.5 Text Outline     576
654 15.4.6 Line-Through Type        564   684 15.4.6 Line-Through Type        576
655 15.4.7 Line-Through Style       565   685 15.4.7 Line-Through Style       577
656 15.4.8 Line-Through Width       565   686 15.4.8 Line-Through Width       577
657 15.4.9 Line-Through Color       565   687 15.4.9 Line-Through Color       577
658 15.4.10 Line-Through Text       566   688 15.4.10 Line-Through Text       578
659 15.4.11 Line-Through Text Style 566   689 15.4.11 Line-Through Text Style 578
660 15.4.12 Text Position   566   690 15.4.12 Text Position   578
661 15.4.13 Font Name       567   691 15.4.13 Font Name       579
662 15.4.14 Font Family     567   692 15.4.14 Font Family     579
663 15.4.15 Font Family Generic     568   693 15.4.15 Font Family Generic     580
664 15.4.16 Font Style      569   694 15.4.16 Font Style      581
665 15.4.17 Font Pitch      569   695 15.4.17 Font Pitch      581
666 15.4.18 Font Character Set      570   696 15.4.18 Font Character Set      582
667 15.4.19 Font Size       570   697 15.4.19 Font Size       582
668 15.4.20 Relative Font Size      571   698 15.4.20 Relative Font Size      583
669 15.4.21 Script Type     571   699 15.4.21 Script Type     584
670 15.4.22 Letter Spacing  572   700 15.4.22 Letter Spacing  584
671 15.4.23 Language        572   701 15.4.23 Language        584
672 15.4.24 Country 573   702 15.4.24 Country 585
673 15.4.25 Font Style      573   703 15.4.25 Font Style      585
674 15.4.26 Font Relief     574   704 15.4.26 Font Relief     586
675 15.4.27 Text Shadow     574   705 15.4.27 Text Shadow     586
676 15.4.28 Underlining Type        575   706 15.4.28 Underlining Type        587
677 15.4.29 Underlining Style       575   707 15.4.29 Underlining Style       587
678 15.4.30 Underling Width 575   708 15.4.30 Underling Width 588
679 15.4.31 Underline Color 576   709 15.4.31 Underline Color 588
680 15.4.32 Font Weight     576   710 15.4.32 Font Weight     588
681 15.4.33 Text Underline Word Mode        577   711 15.4.33 Text Underline Word Mode        589
682 15.4.34 Text Line-Through Word Mode     577   712 15.4.34 Text Line-Through Word Mode     589
683 15.4.35 Letter Kerning  578   713 15.4.35 Letter Kerning  590
684 15.4.36 Text Blinking   578   714 15.4.36 Text Blinking   590
685 15.4.37 Text Background Color   578   715 15.4.37 Text Background Color   590
686 15.4.38 Text Combine    578   716 15.4.38 Text Combine    590
687 15.4.39 Text Combine Start and End Characters   579   717 15.4.39 Text Combine Start and End Characters   591
688 15.4.40 Text Emphasis   579   718 15.4.40 Text Emphasis   591
689 15.4.41 Text Scale      579   719 15.4.41 Text Scale      592
690 15.4.42 Text Rotation Angle     580   720 15.4.42 Text Rotation Angle     592
691 15.4.43 Text Rotation Scale     580   721 15.4.43 Text Rotation Scale     592
692 15.4.44 Hyphenation     580   722 15.4.44 Hyphenation     592
693 15.4.45 Hyphenation Remain Char Count   581   723 15.4.45 Hyphenation Remain Char Count   593
694 15.4.46 Hyphenation Push Char Count     581   724 15.4.46 Hyphenation Push Char Count     593
695 15.4.47 Hidden or Conditional Text      581   725 15.4.47 Hidden or Conditional Text      593
696 15.5 Paragraph Formatting Properties    582   726 15.5 Paragraph Formatting Properties    594
697 15.5.1 Fixed Line Height        582   727 15.5.1 Fixed Line Height        594
698 15.5.2 Minimum Line Height      582   728 15.5.2 Minimum Line Height      595
699 15.5.3 Line Distance    583   729 15.5.3 Line Distance    595
700 15.5.4 Font-Independent Line Spacing    583   730 15.5.4 Font-Independent Line Spacing    595
701 15.5.5 Text Align       583   731 15.5.5 Text Align       595
702 15.5.6 Text Align of Last Line  584   732 15.5.6 Text Align of Last Line  596
703 15.5.7 Justify Single Word      584   733 15.5.7 Justify Single Word      596
704 15.5.8 Keep Together    584   734 15.5.8 Keep Together    597
705 15.5.9 Widows   585   735 15.5.9 Widows   597
706 15.5.10 Orphans 585   736 15.5.10 Orphans 597
707 15.5.11 Tab Stops       585   737 15.5.11 Tab Stops       597
708 15.5.12 Tab Stop Distance       588   738 15.5.12 Tab Stop Distance       601
709 15.5.13 Hyphenation Keep        589   739 15.5.13 Hyphenation Keep        601
710 15.5.14 Maximum Hyphens 589   740 15.5.14 Maximum Hyphens 601
711 15.5.15 Drop Caps       589   741 15.5.15 Drop Caps       602
712 15.5.16 Register True   591   742 15.5.16 Register True   603
713 15.5.17 Left and Right Margins  591   743 15.5.17 Left and Right Margins  603
714 15.5.18 Text Indent     592   744 15.5.18 Text Indent     604
715 15.5.19 Automatic Text Indent   592   745 15.5.19 Automatic Text Indent   604
716 15.5.20 Top and Bottom Margins  592   746 15.5.20 Top and Bottom Margins  605
717 15.5.21 Margins 593   747 15.5.21 Margins 605
718 15.5.22 Break Before and Break After    593   748 15.5.22 Break Before and Break After    605
719 15.5.23 Paragraph Background Color      594   749 15.5.23 Paragraph Background Color      606
720 15.5.24 Paragraph Background Image      594   750 15.5.24 Paragraph Background Image      606
721 15.5.25 Border  596   751 15.5.25 Border  609
722 15.5.26 Border Line Width       597   752 15.5.26 Border Line Width       609
723 15.5.27 Padding 598   753 15.5.27 Padding 610
724 15.5.28 Shadow  599   754 15.5.28 Shadow  611
725 15.5.29 Keep with Next  599   755 15.5.29 Keep with Next  612
726 15.5.30 Line Numbering  600   756 15.5.30 Line Numbering  612
727 15.5.31 Line Number Start Value 600   757 15.5.31 Line Number Start Value 612
728 15.5.32 Text Autospace  600   758 15.5.32 Text Autospace  612
729 15.5.33 Punctuation Wrap        600   759 15.5.33 Punctuation Wrap        613
730 15.5.34 Line Break      601   760 15.5.34 Line Break      613
731 15.5.35 Vertical Alignment      601   761 15.5.35 Vertical Alignment      613
732 15.5.36 Writing Mode    602   762 15.5.36 Writing Mode    614
733 15.5.37 Automatic Writing Mode  602   763 15.5.37 Automatic Writing Mode  614
734 15.5.38 Snap To Layout  602   764 15.5.38 Snap To Layout  615
735 15.5.39 Page Number     603   765 15.5.39 Page Number     615
736 15.5.40 Background Transparency 603   766 15.5.40 Background Transparency 615
737 15.6 Ruby Text Formatting Properties    603   767 15.6 Ruby Text Formatting Properties    615
738 15.6.1 Ruby Position    604   768 15.6.1 Ruby Position    616
739 15.6.2 Ruby Alignment   604   769 15.6.2 Ruby Alignment   616
740 15.7 Section Formatting Properties      604   770 15.7 Section Formatting Properties      616
741 15.7.1 Section Background       604   771 15.7.1 Section Background       617
742 15.7.2 Margins  605   772 15.7.2 Margins  617
743 15.7.3 Columns  605   773 15.7.3 Columns  617
744 15.7.4 Column Specification     606   774 15.7.4 Column Specification     618
745 15.7.5 Column Separator 607   775 15.7.5 Column Separator 620
746 15.7.6 Protect  609   776 15.7.6 Protect  621
747 15.7.7 Don't Balance Text Columns       609   777 15.7.7 Don't Balance Text Columns       621
748 15.7.8 Writing Mode     609   778 15.7.8 Writing Mode     622
749 15.7.9 Notes Configuration      610   779 15.7.9 Notes Configuration      622
750 15.8 Table Formatting Properties        610   780 15.8 Table Formatting Properties        622
751 15.8.1 Table Width      610   781 15.8.1 Table Width      622
752 15.8.2 Table Alignment  611   782 15.8.2 Table Alignment  623
753 15.8.3 Table Left and Right Margin      611   783 15.8.3 Table Left and Right Margin      623
754 15.8.4 Table Top and Bottom Margin      611   784 15.8.4 Table Top and Bottom Margin      624
755 15.8.5 Table Margins    611   785 15.8.5 Table Margins    624
756 15.8.6 Page Number      612   786 15.8.6 Page Number      624
757 15.8.7 Break Before and Break After     612   787 15.8.7 Break Before and Break After     624
758 15.8.8 Table Background and Background Image    612   788 15.8.8 Table Background and Background Image    624
759 15.8.9 Table Shadow     612   789 15.8.9 Table Shadow     624
760 15.8.10 Keep with Next  612   790 15.8.10 Keep with Next  625
761 15.8.11 May Break Between Rows  613   791 15.8.11 May Break Between Rows  625
762 15.8.12 Border Model Property   613   792 15.8.12 Border Model Property   625
763 15.8.13 Writing Mode    613   793 15.8.13 Writing Mode    626
764 15.8.14 Display 613   794 15.8.14 Display 626
765 15.9 Column Formatting Properties       614   795 15.9 Column Formatting Properties       626
766 15.9.1 Column Width     614   796 15.9.1 Column Width     626
767 15.9.2 Optimal Table Column Width       615   797 15.9.2 Optimal Table Column Width       627
768 15.9.3 Break Before and Break After     615   798 15.9.3 Break Before and Break After     627
769 15.10 Table Row Formatting Properties   615   799 15.10 Table Row Formatting Properties   627
770 15.10.1 Row Height      615   800 15.10.1 Row Height      627
771 15.10.2 Optimal Table Row Height        616   801 15.10.2 Optimal Table Row Height        628
772 15.10.3 Row Background  616   802 15.10.3 Row Background  628
773 15.10.4 Break Before and Break After    616   803 15.10.4 Break Before and Break After    628
774 15.10.5 Keep Together   616   804 15.10.5 Keep Together   628
775 15.11 Table Cell Formatting Properties  617   805 15.11 Table Cell Formatting Properties  629
776 15.11.1 Vertical Alignment      617   806 15.11.1 Vertical Alignment      629
777 15.11.2 Text Align Source       617   807 15.11.2 Text Align Source       629
778 15.11.3 Direction       618   808 15.11.3 Direction       630
779 15.11.4 Vertical Glyph Orientation      618   809 15.11.4 Vertical Glyph Orientation      630
780 15.11.5 Cell Shadow     618   810 15.11.5 Cell Shadow     630
781 15.11.6 Cell Background 618   811 15.11.6 Cell Background 631
782 15.11.7 Cell Border     619   812 15.11.7 Cell Border     631
783 15.11.8 Diagonal Lines  619   813 15.11.8 Diagonal Lines  631
784 15.11.9 Border Line Width       619   814 15.11.9 Border Line Width       632
785 15.11.10 Padding        620   815 15.11.10 Padding        632
786 15.11.11 Wrap Option    620   816 15.11.11 Wrap Option    632
787 15.11.12 Rotation Angle 620   817 15.11.12 Rotation Angle 632
788 15.11.13 Rotation Align 620   818 15.11.13 Rotation Align 633
789 15.11.14 Cell Protect   621   819 15.11.14 Cell Protect   633
790 15.11.15 Print Content  621   820 15.11.15 Print Content  633
791 15.11.16 Decimal places 622   821 15.11.16 Decimal places 634
792 15.11.17 Repeat Content 622   822 15.11.17 Repeat Content 634
793 15.11.18 Shrink To Fit  622   823 15.11.18 Shrink To Fit  634
794 15.12 List-Level Style Properties       622   824 15.12 List-Level Style Properties       635
795 15.13 Stroke Properties 625   825 15.13 Stroke Properties 637
796 15.13.1 Stroke Style    625   826 15.13.1 Stroke Style    637
797 15.13.2 Dash    625   827 15.13.2 Dash    638
798 15.13.3 Multiple Dashes 626   828 15.13.3 Multiple Dashes 638
799 15.13.4 Width   626   829 15.13.4 Width   638
800 15.13.5 Color   626   830 15.13.5 Color   638
801 15.13.6 Start Marker    626   831 15.13.6 Start Marker    638
802 15.13.7 End Marker      627   832 15.13.7 End Marker      639
803 15.13.8 Start Marker Width      627   833 15.13.8 Start Marker Width      639
804 15.13.9 End Marker Width        627   834 15.13.9 End Marker Width        639
805 15.13.10 Start Marker Center    627   835 15.13.10 Start Marker Center    639
806 15.13.11 End Marker Center      627   836 15.13.11 End Marker Center      640
807 15.13.12 Opacity        628   837 15.13.12 Opacity        640
808 15.13.13 Line Join      628   838 15.13.13 Line Join      640
809 15.14 Fill Properties   628   839 15.14 Fill Properties   640
810 15.14.1 Fill Style      629   840 15.14.1 Fill Style      641
811 15.14.2 Color   629   841 15.14.2 Color   641
812 15.14.3 Secondary Fill Color    630   842 15.14.3 Secondary Fill Color    642
813 15.14.4 Gradient        630   843 15.14.4 Gradient        642
814 15.14.5 Gradient Step Count     630   844 15.14.5 Gradient Step Count     642
815 15.14.6 Hatch   630   845 15.14.6 Hatch   642
816 15.14.7 Solid Hatch     631   846 15.14.7 Solid Hatch     643
817 15.14.8 Fill Image      631   847 15.14.8 Fill Image      643
818 15.14.9 Fill Image Rendering Style      631   848 15.14.9 Fill Image Rendering Style      643
819 15.14.10 Fill Image Size        631   849 15.14.10 Fill Image Size        643
820 15.14.11 Fill Image Tile Reference Point        632   850 15.14.11 Fill Image Tile Reference Point        644
821 15.14.12 Fill Image Tile Translation    632   851 15.14.12 Fill Image Tile Translation    645
822 15.14.13 None and Linear Opacity        633   852 15.14.13 None and Linear Opacity        645
823 15.14.14 Gradient Opacity       633   853 15.14.14 Gradient Opacity       645
824 15.14.15 Fill Rule      633   854 15.14.15 Fill Rule      645
825 15.14.16 Symbol color   634   855 15.14.16 Symbol color   646
826 15.15 Text Animation Properties 634   856 15.15 Text Animation Properties 646
827 15.15.1 Animation       634   857 15.15.1 Animation       646
828 15.15.2 Animation Direction     635   858 15.15.2 Animation Direction     647
829 15.15.3 Animation Start Inside  635   859 15.15.3 Animation Start Inside  647
830 15.15.4 Animation Stop Inside   635   860 15.15.4 Animation Stop Inside   647
831 15.15.5 Animation Repeat        635   861 15.15.5 Animation Repeat        647
832 15.15.6 Animation Delay 636   862 15.15.6 Animation Delay 648
833 15.15.7 Animation Steps 636   863 15.15.7 Animation Steps 648
834 15.16 Text and Text Alignment Properties        636   864 15.16 Text and Text Alignment Properties        648
835 15.16.1 Auto Grow Width and Height      636   865 15.16.1 Auto Grow Width and Height      648
836 15.16.2 Fit To Size     637   866 15.16.2 Fit To Size     649
837 15.16.3 Fit To Contour  637   867 15.16.3 Fit To Contour  649
838 15.16.4 Text Area Vertical Align        637   868 15.16.4 Text Area Vertical Align        649
839 15.16.5 Text Area Horizontal Align      637   869 15.16.5 Text Area Horizontal Align      649
840 15.16.6 Word Wrap       638   870 15.16.6 Word Wrap       650
841 15.16.7 List Styles     638   871 15.16.7 List Styles     650
842 15.17 Color Properties  638   872 15.17 Color Properties  650
843 15.17.1 Color Mode      638   873 15.17.1 Color Mode      650
844 15.17.2 Color Inversion 639   874 15.17.2 Color Inversion 651
845 15.17.3 Adjust Luminance        639   875 15.17.3 Adjust Luminance        651
846 15.17.4 Adjust Contrast 639   876 15.17.4 Adjust Contrast 651
847 15.17.5 Adjust Gamma    639   877 15.17.5 Adjust Gamma    651
848 15.17.6 Adjust Red      640   878 15.17.6 Adjust Red      652
849 15.17.7 Adjust Green    640   879 15.17.7 Adjust Green    652
850 15.17.8 Adjust Blue     640   880 15.17.8 Adjust Blue     652
851 15.17.9 Adjust Opacity  640   881 15.17.9 Adjust Opacity  652
852 15.18 Shadow Properties 640   882 15.18 Shadow Properties 652
853 15.18.1 Shadow  641   883 15.18.1 Shadow  653
854 15.18.2 Offset  641   884 15.18.2 Offset  653
855 15.18.3 Color   641   885 15.18.3 Color   653
856 15.18.4 Opacity 641   886 15.18.4 Opacity 653
857 15.19 Connector Properties      642   887 15.19 Connector Properties      654
858 15.19.1 Start Line Spacing      642   888 15.19.1 Start Line Spacing      654
859 15.19.2 End Line Spacing        642   889 15.19.2 End Line Spacing        654
860 15.20 Measure Properties        642   890 15.20 Measure Properties        654
861 15.20.1 Line Distance   642   891 15.20.1 Line Distance   654
862 15.20.2 Guide Overhang  643   892 15.20.2 Guide Overhang  655
863 15.20.3 Guide Distance  643   893 15.20.3 Guide Distance  655
864 15.20.4 Start Guide     643   894 15.20.4 Start Guide     655
865 15.20.5 End Guide       643   895 15.20.5 End Guide       655
866 15.20.6 Placing 644   896 15.20.6 Placing 656
867 15.20.7 Parallel        644   897 15.20.7 Parallel        656
868 15.20.8 Text Alignment  644   898 15.20.8 Text Alignment  656
869 15.20.9 Unit    645   899 15.20.9 Unit    657
870 15.20.10 Show Unit      645   900 15.20.10 Show Unit      657
871 15.20.11 Decimal Places 645   901 15.20.11 Decimal Places 657
872 15.21 Caption Properties        645   902 15.21 Caption Properties        657
873 15.21.1 Type    646   903 15.21.1 Type    658
874 15.21.2 Angle Type      646   904 15.21.2 Angle Type      658
875 15.21.3 Angle   646   905 15.21.3 Angle   658
876 15.21.4 Gap     647   906 15.21.4 Gap     659
877 15.21.5 Escape Direction        647   907 15.21.5 Escape Direction        659
878 15.21.6 Escape  647   908 15.21.6 Escape  659
879 15.21.7 Line Length     648   909 15.21.7 Line Length     660
880 15.21.8 Fit Line Length 648   910 15.21.8 Fit Line Length 660
881 15.22 3D Geometry Properties    648   911 15.22 3D Geometry Properties    660
882 15.22.1 Horizontal Segments     648   912 15.22.1 Horizontal Segments     660
883 15.22.2 Vertical Segments       648   913 15.22.2 Vertical Segments       660
884 15.22.3 Edge Rounding   649   914 15.22.3 Edge Rounding   661
885 15.22.4 Edge Rounding Mode      649   915 15.22.4 Edge Rounding Mode      661
886 15.22.5 Back Scale      649   916 15.22.5 Back Scale      661
887 15.22.6 Depth   649   917 15.22.6 Depth   661
888 15.22.7 Backface Culling        650   918 15.22.7 Backface Culling        662
889 15.22.8 End Angle       650   919 15.22.8 End Angle       662
890 15.22.9 Close Front     650   920 15.22.9 Close Front     662
891 15.22.10 Close Back     650   921 15.22.10 Close Back     662
892 15.23 3D Lighting Properties    651   922 15.23 3D Lighting Properties    663
893 15.23.1 Mode    651   923 15.23.1 Mode    663
894 15.23.2 Normals Kind    651   924 15.23.2 Normals Kind    663
895 15.23.3 Normals Direction       651   925 15.23.3 Normals Direction       663
896 15.24 3D Texture Properties     652   926 15.24 3D Texture Properties     664
897 15.24.1 Generation Mode 652   927 15.24.1 Generation Mode 664
898 15.24.2 Kind    652   928 15.24.2 Kind    664
899 15.24.3 Filter  653   929 15.24.3 Filter  665
900 15.24.4 Mode    653   930 15.24.4 Mode    665
901 15.25 3D Material Properties    653   931 15.25 3D Material Properties    665
902 15.25.1 Colors  653   932 15.25.1 Colors  665
903 15.25.2 Shininess       654   933 15.25.2 Shininess       666
904 15.26 3D Shadow Properties      654   934 15.26 3D Shadow Properties      666
905 15.26.1 Shadow  654   935 15.26.1 Shadow  666
906 15.27 Frame Formatting Properties       654   936 15.27 Frame Formatting Properties       666
907 15.27.1 Frame Widths    654   937 15.27.1 Frame Widths    666
908 15.27.2 Frame Heights   655   938 15.27.2 Frame Heights   667
909 15.27.3 Maximum Width and Height        655   939 15.27.3 Maximum Width and Height        667
910 15.27.4 Left and Right Margins  656   940 15.27.4 Left and Right Margins  668
911 15.27.5 Top and Bottom Margins  656   941 15.27.5 Top and Bottom Margins  668
912 15.27.6 Margins 656   942 15.27.6 Margins 668
913 15.27.7 Print Content   656   943 15.27.7 Print Content   668
914 15.27.8 Protect 656   944 15.27.8 Protect 668
915 15.27.9 Horizontal Position     657   945 15.27.9 Horizontal Position     669
916 15.27.10 Horizontal Relation    658   946 15.27.10 Horizontal Relation    670
917 15.27.11 Vertical Position      659   947 15.27.11 Vertical Position      671
918 15.27.12 Vertical Relation      660   948 15.27.12 Vertical Relation      672
919 15.27.13 Frame Anchor   661   949 15.27.13 Frame Anchor   673
920 15.27.14 Border 661   950 15.27.14 Border 673
921 15.27.15 Border Line Width      661   951 15.27.15 Border Line Width      673
922 15.27.16 Padding        661   952 15.27.16 Padding        673
923 15.27.17 Shadow 662   953 15.27.17 Shadow 674
924 15.27.18 Background     662   954 15.27.18 Background     674
925 15.27.19 Columns        662   955 15.27.19 Columns        674
926 15.27.20 Editable       662   956 15.27.20 Editable       674
927 15.27.21 Wrapping       662   957 15.27.21 Wrapping       674
928 15.27.22 Dynamic Wrap Threshold 663   958 15.27.22 Dynamic Wrap Threshold 675
929 15.27.23 Paragraph-only Wrapping        663   959 15.27.23 Paragraph-only Wrapping        675
930 15.27.24 Contour Wrapping       664   960 15.27.24 Contour Wrapping       676
931 15.27.25 Contour Wrapping Mode  664   961 15.27.25 Contour Wrapping Mode  676
932 15.27.26 Run Through    664   962 15.27.26 Run Through    676
933 15.27.27 Flow with Text 665   963 15.27.27 Flow with Text 677
934 15.27.28 Overflow behavior      665   964 15.27.28 Overflow behavior      677
935 15.27.29 Mirroring      665   965 15.27.29 Mirroring      677
936 15.27.30 Clipping       666   966 15.27.30 Clipping       678
937 15.27.31 Wrap Influence on Position     666   967 15.27.31 Wrap Influence on Position     678
      968 15.27.32 Writing Mode   679
938 15.28 Floating Frame Formatting Properties      667   969 15.28 Floating Frame Formatting Properties      679
939 15.28.1 Display Scrollbar       667   970 15.28.1 Display Scrollbar       679
940 15.28.2 Display Border  667   971 15.28.2 Display Border  680
941 15.28.3 Margins 668   972 15.28.3 Margins 680
942 15.28.4 Object Formatting Properties    668   973 15.28.4 Object Formatting Properties    680
943 15.28.5 Visible Area    668   974 15.28.5 Visible Area    680
944 15.28.6 Draw Aspect     669   975 15.28.6 Draw Aspect     681
945 15.29 Chart Formatting Properties       669   976 15.29 Chart Formatting Properties       681
946 15.29.1 Scale Text      670   977 15.29.1 Scale Text      682
947 15.30 Chart Subtype Properties  670   978 15.30 Chart Subtype Properties  682
948 15.30.1 Three-dimensional Charts        670   979 15.30.1 Three-dimensional Charts        682
949 15.30.2 Chart Depth     670   980 15.30.2 Chart Depth     682
950 15.30.3 Chart Symbol    670   981 15.30.3 Chart Symbol    683
951 15.30.4 Chart Symbol Size       671   982 15.30.4 Chart Symbol Size       683
952 15.30.5 Bar Chart Properties    672   983 15.30.5 Bar Chart Properties    684
953 15.30.6 Stock Chart Properties  672   984 15.30.6 Stock Chart Properties  684
954 15.30.7 Line Chart Properties   673   985 15.30.7 Line Chart Properties   685
955 15.30.8 Pie Chart Properties    674   986 15.30.8 Pie Chart Properties    686
956 15.30.9 Lines   674   987 15.30.9 Lines   686
957 15.30.10 Solid Charts Bars      674   988 15.30.10 Solid Charts Bars      686
958 15.30.11 Stacked Chart Bars     674   989 15.30.11 Stacked Chart Bars     686
959 15.31 Chart Axes Properties     675   990 15.31 Chart Axes Properties     687
960 15.31.1 Linked Data Formats     675   991 15.31.1 Linked Data Formats     687
961 15.31.2 Visibility      675   992 15.31.2 Visibility      687
962 15.31.3 Scaling 675   993 15.31.3 Scaling 687
963 15.31.4 Tick Marks      676   994 15.31.4 Tick Marks      688
964 15.31.5 Labels  677   995 15.31.5 Labels  689
965 15.32 Common Chart Properties   677   996 15.32 Common Chart Properties   689
966 15.32.1 Stacked Text    678   997 15.32.1 Stacked Text    690
967 15.32.2 Rotation Angle  678   998 15.32.2 Rotation Angle  690
968 15.32.3 Data Labels     678   999 15.32.3 Data Labels     690
969 15.33 Statistical Properties    679   1000 15.33 Statistical Properties    691
970 15.33.1 Mean Value      679   1001 15.33.1 Mean Value      691
971 15.33.2 Error Category  679   1002 15.33.2 Error Category  691
972 15.34 Plot Area Properties      681   1003 15.34 Plot Area Properties      693
973 15.34.1 Series Source   681   1004 15.34.1 Series Source   693
974 15.35 Regression Curve Properties       681   1005 15.35 Regression Curve Properties       693
975 15.35.1 Regression Type 682   1006 15.35.1 Regression Type 694
976 15.36 Presentation Page Attributes      682   1007 15.36 Presentation Page Attributes      694
977 15.36.1 Transition Type 683   1008 15.36.1 Transition Type 695
978 15.36.2 Transition Style        683   1009 15.36.2 Transition Style        695
979 15.36.3 Transition Speed        685   1010 15.36.3 Transition Speed        697
980 15.36.4 Transition Type or Family       686   1011 15.36.4 Transition Type or Family       698
981 15.36.5 Transition Subtype      686   1012 15.36.5 Transition Subtype      698
982 15.36.6 Transition Direction    686   1013 15.36.6 Transition Direction    698
983 15.36.7 Fade Color      686   1014 15.36.7 Fade Color      698
984 15.36.8 Page Duration   687   1015 15.36.8 Page Duration   699
985 15.36.9 Page Visibility 687   1016 15.36.9 Page Visibility 699
986 15.36.10 Sound  687   1017 15.36.10 Sound  699
987 15.36.11 Background Size        687   1018 15.36.11 Background Size        699
988 15.36.12 Background Objects Visible     688   1019 15.36.12 Background Objects Visible     700
989 15.36.13 Background Visible     688   1020 15.36.13 Background Visible     700
990 15.36.14 Display Header 688   1021 15.36.14 Display Header 700
991 15.36.15 Display Footer 688   1022 15.36.15 Display Footer 700
992 15.36.16 Display Page Number    689   1023 15.36.16 Display Page Number    701
993 15.36.17 Display Date And Time  689   1024 15.36.17 Display Date And Time  701
994 16 Data Types and Schema Definitions    690   1025 16 Data Types and Schema Definitions    702
995 16.1 Data Types 690   1026 16.1 Data Types 702
996 16.2 Other Definitions  695   1027 16.2 Other Definitions  707
997 16.3 Relax-NG Schema Suffix     696   1028 16.3 Relax-NG Schema Suffix     708
998 17 Packages     697   1029 17 Packages     709
999 17.1 Introduction       697   1030 17.1 Introduction       709
1000 17.2 Zip File Structure 697   1031 17.2 Zip File Structure 709
1001 17.3 Encryption 698   1032 17.3 Encryption 710
1002 17.4 MIME Type Stream   698   1033 17.4 MIME Type Stream   710
1003 17.5 Usage of IRIs Within Packages      699   1034 17.5 Usage of IRIs Within Packages      711
1004 17.6 Preview Image      699   1035 17.6 Preview Image      711
1005 17.7 Manifest File      699   1036 17.7 Manifest File      711
1006 17.7.1 Relax-NG Schema  700   1037 17.7.1 Relax-NG Schema  712
1007 17.7.2 Manifest Root Element    700   1038 17.7.2 Manifest Root Element    712
1008 17.7.3 File Entry       700   1039 17.7.3 File Entry       712
1009 17.7.4 Encryption Data  701   1040 17.7.4 Encryption Data  713
1010 17.7.5 Algorithm        702   1041 17.7.5 Algorithm        714
1011 17.7.6 Key Derivation   703   1042 17.7.6 Key Derivation   715
1012 17.7.7 Relax-NG Schema Suffix   705   1043 17.7.7 Relax-NG Schema Suffix   717
1013 Appendix A. Strict Relax NG Schema      706   1044 Appendix A. Strict Relax NG Schema      718
1014 Appendix B. References  708   1045 Appendix B. References  720
1015 Appendix C. MIME Types and File Name Extensions (Non Normative) 710   1046 Appendix C. MIME Types and File Name Extensions (Non Normative) 722
1016 Appendix D. Core Features Sets (Non Normative)  712   1047 Appendix D. Core Features Sets (Non Normative)  724
      1048 Appendix E. Accessibility Guidelines (Non Normative)    729
      1049 E.1. Title, Description and Caption of Graphical Elements       729
      1050 E.2. Hyperlink Titles   729
      1051 E.3. Tables in Presentations    730
      1052 E.4. Further Guidelines 730
      1053 Appendix F. Bidirectional (BiDi) Scripts,Numeric Digits Presentation and Calendars (Non Normative)      731
1017 Appendix E. Changes From Previous Specification Versions (Non Normative)        717   1054 Appendix G. Changes From Previous Specification Versions (Non Normative)        733
1018 E.1. Changes from “Open Office Specification 1.0 Committee Draft 1”     717   1055 G.1. Changes from “Open Office Specification 1.0 Committee Draft 1”     733
1019 E.2. Changes from “Open Document Format for Office Applications (OpenDocument) 1.0 Committee Draft 2”   717   1056 G.2. Changes from “Open Document Format for Office Applications (OpenDocument) 1.0 Committee Draft 2”   733
1020 E.3. Changes from “Open Document Format for Office Applications (OpenDocument) v1.0”    718   1057 G.3. Changes from “Open Document Format for Office Applications (OpenDocument) v1.0”    734
      1058 G.4. Changes from “Open Document Format for Office Applications (OpenDocument) v1.0 (Second Edition)”   734
1021 Appendix F. Acknowledgments (Non Normative)     719   1059 Appendix H. Acknowledgments (Non Normative)     737
1022 Appendix G. Notices     721      
1023   = 1060  
1024 1Introduction   1061 1Introduction
1025 1.1Introduction   1062 1.1Introduction
1026 This document defines an XML schema for office applications and its semantics. The schema is suitable for office documents, including text documents, spreadsheets, charts and graphical documents like drawings or presentations, but is not restricted to these kinds of documents.   1063 This document defines an XML schema for office applications and its semantics. The schema is suitable for office documents, including text documents, spreadsheets, charts and graphical documents like drawings or presentations, but is not restricted to these kinds of documents.
1027 The schema provides for high-level information suitable for editing documents. It defines suitable XML structures for office documents and is friendly to transformations using XSLT or similar XML-based tools.   1064 The schema provides for high-level information suitable for editing documents. It defines suitable XML structures for office documents and is friendly to transformations using XSLT or similar XML-based tools.
1028 Chapter 1 contains the introduction to the OpenDocument format. The structure of documents that conform to the OpenDocument specification is explained in chapter 2. Chapter 3 described the meta information that can be contained in such documents. Chapters 4 and 5 describe their text and paragraph content. Text Fields are described in chapter 6, text indices in chapter 7.   1065 Chapter 1 contains the introduction to the OpenDocument format. The structure of documents that conform to the OpenDocument specification is explained in chapter 2. Chapter 3 described the meta information that can be contained in such documents. Chapters 4 and 5 describe their text and paragraph content. Text Fields are described in chapter 6, text indices in chapter 7.
1029 Chapter 8 describes the table content of a document in OpenDocument format, chapter 9 its graphical content, chapter 10 its chart content, and chapter 11 its form content. Content that is common to all documents is described in chapter 12. The integration of SMIL animation markup into the  OpenDocument schema is described in chapter 13. Chapter 14 explains style information content, chapter 15 specifies formatting properties that are can be used within styles. The data types used by the OpenDocument schema are described in chapter 16.   1066 Chapter 8 describes the table content of a document in OpenDocument format, chapter 9 its graphical content, chapter 10 its chart content, and chapter 11 its form content. Content that is common to all documents is described in chapter 12. The integration of SMIL animation markup into the  OpenDocument schema is described in chapter 13. Chapter 14 explains style information content, chapter 15 specifies formatting properties that are can be used within styles. The data types used by the OpenDocument schema are described in chapter 16.
1030 The OpenDocument format makes use of a package concept. These packages are described in chapter 17.   1067 The OpenDocument format makes use of a package concept. These packages are described in chapter 17.
1031 1.2Notation   1068 1.2Notation
1032 Within this specification, the key words "shall", "shall not", "should", "should not" and "may" are to be interpreted as described in Annex H of [ISO/IEC Directives] if they appear in bold letters.   1069 Within this specification, the key words "shall", "shall not", "should", "should not" and "may" are to be interpreted as described in Annex H of [ISO/IEC Directives] if they appear in bold letters.
1033 1.3Namespaces   1070 1.3Namespaces
1034 Table 1 lists the namespaces that are defined by the OpenDocument format and their default prefixes. For more information about XML namespaces, please refer to the Namespaces in XML specification [xml-names].   1071 Table 1 lists the namespaces that are defined by the OpenDocument format and their default prefixes. For more information about XML namespaces, please refer to the Namespaces in XML specification [xml-names].
1035 Table 1: XML  Namespaces defined by the OpenDocument schema   1072 Table 1: XML  Namespaces defined by the OpenDocument schema
1036 Prefix   1073 Prefix
1037 Description   1074 Description
1038 Namespace   1075 Namespace
1039 office   1076 office
1040 For all common pieces of information that are not contained in another, more specific namespace.   1077 For all common pieces of information that are not contained in another, more specific namespace.
1041 urn:oasis:names:tc:opendocument:xmlns:   1078 urn:oasis:names:tc:opendocument:xmlns:
1042 office:1.0   1079 office:1.0
1043 meta   1080 meta
1044 For elements and attributes that describe meta information.   1081 For elements and attributes that describe meta information.
1045 urn:oasis:names:tc:opendocument:xmlns:   1082 urn:oasis:names:tc:opendocument:xmlns:
1046 meta:1.0   1083 meta:1.0
1047 config   1084 config
1048 For elements and attributes that describe application specific settings.   1085 For elements and attributes that describe application specific settings.
1049 urn:oasis:names:tc:opendocument:xmlns:   1086 urn:oasis:names:tc:opendocument:xmlns:
1050 config:1.0   1087 config:1.0
1051 text   1088 text
1052 For elements and attributes that may occur within text documents and text parts of other document types, such as the contents of a spreadsheet cell.   1089 For elements and attributes that may occur within text documents and text parts of other document types, such as the contents of a spreadsheet cell.
1053 urn:oasis:names:tc:opendocument:xmlns:   1090 urn:oasis:names:tc:opendocument:xmlns:
1054 text:1.0   1091 text:1.0
1055 table   1092 table
1056 For elements and attributes that may occur within spreadsheets or within table definitions of a text document.   1093 For elements and attributes that may occur within spreadsheets or within table definitions of a text document.
1057 urn:oasis:names:tc:opendocument:xmlns:   1094 urn:oasis:names:tc:opendocument:xmlns:
1058 table:1.0   1095 table:1.0
1059 drawing   1096 drawing
1060 For elements and attributes that describe graphic content.   1097 For elements and attributes that describe graphic content.
1061 urn:oasis:names:tc:opendocument:xmlns:   1098 urn:oasis:names:tc:opendocument:xmlns:
1062 drawing:1.0   1099 drawing:1.0
1063 presentation   1100 presentation
1064 For elements and attributes that describe presentation content.   1101 For elements and attributes that describe presentation content.
1065 urn:oasis:names:tc:opendocument:xmlns:   1102 urn:oasis:names:tc:opendocument:xmlns:
1066 presentation:1.0   1103 presentation:1.0
1067 dr3d   1104 dr3d
1068 For elements and attributes that describe 3D graphic content.   1105 For elements and attributes that describe 3D graphic content.
1069 urn:oasis:names:tc:opendocument:xmlns:   1106 urn:oasis:names:tc:opendocument:xmlns:
1070 dr3d:1.0   1107 dr3d:1.0
1071 anim   1108 anim
1072 For elements and attributes that describe animation content.   1109 For elements and attributes that describe animation content.
1073 urn:oasis:names:tc:opendocument:xmlns:   1110 urn:oasis:names:tc:opendocument:xmlns:
1074 animation:1.0   1111 animation:1.0
1075 chart   1112 chart
1076 For elements and attributes that describe chart content.   1113 For elements and attributes that describe chart content.
1077 urn:oasis:names:tc:opendocument:xmlns:   1114 urn:oasis:names:tc:opendocument:xmlns:
1078 chart:1.0   1115 chart:1.0
1079 form   1116 form
1080 For elements and attributes that describe forms and controls.   1117 For elements and attributes that describe forms and controls.
1081 urn:oasis:names:tc:opendocument:xmlns:   1118 urn:oasis:names:tc:opendocument:xmlns:
1082 form:1.0   1119 form:1.0
1083 script   1120 script
1084 For elements and attributes that represent scripts or events.   1121 For elements and attributes that represent scripts or events.
1085 urn:oasis:names:tc:opendocument:xmlns:   1122 urn:oasis:names:tc:opendocument:xmlns:
1086 script:1.0   1123 script:1.0
1087 style   1124 style
1088 For elements and attributes that describe the style and inheritance model used by the OpenDocument format as well as some common formatting attributes.   1125 For elements and attributes that describe the style and inheritance model used by the OpenDocument format as well as some common formatting attributes.
1089 urn:oasis:names:tc:opendocument:xmlns:   1126 urn:oasis:names:tc:opendocument:xmlns:
1090 style:1.0   1127 style:1.0
1091 number   1128 number
1092 For elements and attributes that describe data style information.   1129 For elements and attributes that describe data style information.
1093 urn:oasis:names:tc:opendocument:xmlns:   1130 urn:oasis:names:tc:opendocument:xmlns:
1094 data style:1.0   1131 data style:1.0
1095 manifest   1132 manifest
1096 For elements and attribute contained in the package manifest.   1133 For elements and attribute contained in the package manifest.
1097 urn:oasis:names:tc:opendocument:xmlns:   1134 urn:oasis:names:tc:opendocument:xmlns:
1098 manifest:1.0   1135 manifest:1.0
1099 Table 2 lists the namespaces that are defined by the OpenDocument format, but contain elements and attributes whose semantics are compatible to elements and attributes from other specifications.   1136 Table 2 lists the namespaces that are defined by the OpenDocument format, but contain elements and attributes whose semantics are compatible to elements and attributes from other specifications.
1100 Table 2: XML Namespaces defined by the  OpenDocument schema that include elements and attributes that are compatible to elements and attributes of other standards.   1137 Table 2: XML Namespaces defined by the  OpenDocument schema that include elements and attributes that are compatible to elements and attributes of other standards.
1101 Prefix   1138 Prefix
1102 Description   1139 Description
1103 Namespace   1140 Namespace
1104 fo   1141 fo
1105 For attributes that are compatible to attributes defined in [XSL].   1142 For attributes that are compatible to attributes defined in [XSL].
1106 urn:oasis:names:tc:opendocument:xmlns:   1143 urn:oasis:names:tc:opendocument:xmlns:
1107 xsl-fo-compatible:1.0   1144 xsl-fo-compatible:1.0
1108 svg   1145 svg
1109 For elements and attributes that are compatible to elements or attributes defined in [SVG].   1146 For elements and attributes that are compatible to elements or attributes defined in [SVG].
1110 urn:oasis:names:tc:opendocument:xmlns:   1147 urn:oasis:names:tc:opendocument:xmlns:
1111 svg-compatible:1.0   1148 svg-compatible:1.0
1112 smil   1149 smil
1113 For attributes that are compatible to attributes defined in [SMIL20].   1150 For attributes that are compatible to attributes defined in [SMIL20].
1114 urn:oasis:names:tc:opendocument:xmlns:   1151 urn:oasis:names:tc:opendocument:xmlns:
1115 smil-compatible:1.0   1152 smil-compatible:1.0
1116 Table 3 lists the namespaces that are imported into the OpenDocument format and their default prefixes.   1153 Table 3 lists the namespaces that are imported into the OpenDocument format and their default prefixes.
1117 Table 3: XML Namespaces used by the  OpenDocument schema   1154 Table 3: XML Namespaces used by the  OpenDocument schema
1118 Prefix   1155 Prefix
1119 Description   1156 Description
1120 Namespace   1157 Namespace
1121 dc   1158 dc
1122 The Dublin Core Namespace (see [DCMI]).   1159 The Dublin Core Namespace (see [DCMI]).
1123 http://purl.org/dc/elements/1.1/   1160 http://purl.org/dc/elements/1.1/
1124 xlink   1161 xlink
1125 The XLink namespace (see [XLink]).   1162 The XLink namespace (see [XLink]).
1126 http://www.w3.org/1999/xlink   1163 http://www.w3.org/1999/xlink
1127 math   1164 math
1128 MathML Namespace (see [MathML])   1165 MathML Namespace (see [MathML])
1129 http://www.w3.org/1998/Math/MathML   1166 http://www.w3.org/1998/Math/MathML
1130 xforms   1167 xforms
1131 The XForms namespace (see [XForms]).   1168 The XForms namespace (see [XForms]).
1132 http://www.w3.org/2002/xforms   1169 http://www.w3.org/2002/xforms
1133 1.4Relax-NG Schema   1170 1.4Relax-NG Schema
1134 The normative XML Schema for the OpenDocument format is embedded within this specification. It can be obtained from the specification document by concatenating all schema fragments contained in chapters 1 to 16. All schema fragments have a gray background color and line numbers.   1171 The normative XML Schema for the OpenDocument format is embedded within this specification. It can be obtained from the specification document by concatenating all schema fragments contained in chapters 1 to 16. All schema fragments have a gray background color and line numbers.
1135 The schema language used within this specification is Relax-NG (see [RNG]). The attribute default value feature specified in [RNG-Compat] is used to provide attribute default values.   1172 The schema language used within this specification is Relax-NG (see [RNG]). The attribute default value feature specified in [RNG-Compat] is used to provide attribute default values.
1136 The schema provided in this specification permits arbitrary content within meta information elements and formatting properties elements as described in section 1.5. Appendix A contains a schema that restricts the content within these elements to the attributes and elements defined in this specification.   1173 The schema provided in this specification permits arbitrary content within meta information elements and formatting properties elements as described in section 1.5. Appendix A contains a schema that restricts the content within these elements to the attributes and elements defined in this specification.
1137 Prefix for the normative Relax-NG schema:   1174 Prefix for the normative Relax-NG schema:
1138 <?xml version="1.0" encoding="UTF-8"?>   1175 <?xml version="1.0" encoding="UTF-8"?>
1139 <!--   1176 <!--
1140         OASIS OpenDocument v1.0 (Second Edition) <> 1177         OASIS OpenDocument v1.1
1141         Committee Specification1, 19 Jul 2006   1178         OASIS Standard, 1 Feb 2007
1142         Relax-NG Schema = 1179         Relax-NG Schema
1143     1180  
1144         $Id$   1181         $Id$
1145     1182  
1146         © 2002-2005 OASIS Open <> 1183         © 2002-2007 OASIS Open
1147         © 1999-2005 Sun Microsystems, Inc.   1184         © 1999-2007 Sun Microsystems, Inc.
1148 --> = 1185 -->
1149     1186  
1150 <grammar   1187 <grammar
1151         xmlns="http://relaxng.org/ns/structure/1.0"   1188         xmlns="http://relaxng.org/ns/structure/1.0"
1152         xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"   1189         xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
1153     1190  
1154         datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"   1191         datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
1155     1192  
1156         xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"   1193         xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
1157         xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"   1194         xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
1158         xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"   1195         xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
1159         xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"   1196         xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
1160         xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"   1197         xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
1161         xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"   1198         xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
1162         xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"   1199         xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"
1163         xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"   1200         xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
1164         xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"   1201         xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
1165         xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"   1202         xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
1166         xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"   1203         xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
1167         xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"   1204         xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
1168         xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"   1205         xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
1169         xmlns:anim="urn:oasis:names:tc:opendocument:xmlns:animation:1.0"   1206         xmlns:anim="urn:oasis:names:tc:opendocument:xmlns:animation:1.0"
1170     1207  
1171         xmlns:dc="http://purl.org/dc/elements/1.1/"   1208         xmlns:dc="http://purl.org/dc/elements/1.1/"
1172         xmlns:xlink="http://www.w3.org/1999/xlink"   1209         xmlns:xlink="http://www.w3.org/1999/xlink"
1173         xmlns:math="http://www.w3.org/1998/Math/MathML"   1210         xmlns:math="http://www.w3.org/1998/Math/MathML"
1174         xmlns:xforms="http://www.w3.org/2002/xforms"   1211         xmlns:xforms="http://www.w3.org/2002/xforms"
1175     1212  
1176         xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"   1213         xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
1177         xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"   1214         xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
1178         xmlns:smil="urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"   1215         xmlns:smil="urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"
1179 >   1216 >
1180 1.5Document Processing and Conformance   1217 1.5Document Processing and Conformance
1181 Documents that conform to the OpenDocument specification may contain elements and attributes not specified within the OpenDocument schema. Such elements and attributes must not be part of a namespace that is defined within this specification and are called foreign elements and attributes.   1218 Documents that conform to the OpenDocument specification may contain elements and attributes not specified within the OpenDocument schema. Such elements and attributes must not be part of a namespace that is defined within this specification and are called foreign elements and attributes.
1182 Conforming applications either shall read documents that are valid against the OpenDocument schema if all foreign elements and attributes are removed before validation takes place, or shall write documents that are valid against the OpenDocument schema if all foreign elements and attributes are removed before validation takes place.   1219 Conforming applications either shall read documents that are valid against the OpenDocument schema if all foreign elements and attributes are removed before validation takes place, or shall write documents that are valid against the OpenDocument schema if all foreign elements and attributes are removed before validation takes place.
1183 Conforming applications that read and write documents may preserve foreign elements and attributes.   1220 Conforming applications that read and write documents may preserve foreign elements and attributes.
1184 In addition to this, conforming applications should preserve meta information and the content of styles. This means:   1221 In addition to this, conforming applications should preserve meta information and the content of styles. This means:
1185 The various <style:*-properties> elements (see section 15) may have arbitrary attributes attached and may have arbitrary element content. All attributes attached to these elements and elements contained within these elements should be preserved (see section 15.1.3);   1222 The various <style:*-properties> elements (see section 15) may have arbitrary attributes attached and may have arbitrary element content. All attributes attached to these elements and elements contained within these elements should be preserved (see section 15.1.3);
1186 elements contained within the <office:meta> element may have arbitrary element content and should be preserved (see section 2.2.1).   1223 elements contained within the <office:meta> element may have arbitrary element content and should be preserved (see section 2.2.1).
1187 Foreign elements may have an office:process-content attribute attached that has the value true or false. If the attribute's value is true, or if the attribute does not exist, the element's content should be processed by conforming applications. Otherwise conforming applications should not process the element's content, but may only preserve its content. If the element's content should be processed, the document itself shall be valid against the OpenDocument schema if the unknown element is replaced with its content only.   1224 Foreign elements may have an office:process-content attribute attached that has the value true or false. If the attribute's value is true, or if the attribute does not exist, the element's content should be processed by conforming applications. Otherwise conforming applications should not process the element's content, but may only preserve its content. If the element's content should be processed, the document itself shall be valid against the OpenDocument schema if the unknown element is replaced with its content only.
1188 Conforming applications shall read documents containing processing instructions and should preserve them.   1225 Conforming applications shall read documents containing processing instructions and should preserve them.
1189 There are no rules regarding the elements and attributes that actually have to be supported by conforming applications, except that applications should not use foreign elements and attributes for features by the OpenDocument schema. See also appendix D. <> 1226 There are no rules regarding the elements and attributes that actually have to be supported by conforming applications, except that applications should not use foreign elements and attributes for features defined in the OpenDocument schema. See also appendix D.
1190 <define name="office-process-content"> = 1227 <define name="office-process-content">
1191         <optional>   1228         <optional>
1192                 <attribute name="office:process-content" a:defaultValue="true">   1229                 <attribute name="office:process-content" a:defaultValue="true">
1193                         <ref name="boolean"/>   1230                         <ref name="boolean"/>
1194                 </attribute>   1231                 </attribute>
1195         </optional>   1232         </optional>
1196 </define>   1233 </define>
1197 1.6White-Space Processing and EOL Handling   1234 1.6White-Space Processing and EOL Handling
1198 In conformance with the W3C XML specification [XML1.0], optional white-space characters that are contained in elements that have element content (in other words that must contain elements only but not text) are ignored. This applies to the following white-space and end-of-line (EOL) [UNICODE] characters:   1235 In conformance with the W3C XML specification [XML1.0], optional white-space characters that are contained in elements that have element content (in other words that must contain elements only but not text) are ignored. This applies to the following white-space and end-of-line (EOL) [UNICODE] characters:
1199 HORIZONTAL TABULATION (0x0009)   1236 HORIZONTAL TABULATION (0x0009)
1200 LINE FEED (0x000A)   1237 LINE FEED (0x000A)
1201 CARRIAGE RETURN (0x000D)   1238 CARRIAGE RETURN (0x000D)
1202 SPACE (0x0020)   1239 SPACE (0x0020)
1203 For any other element, white-spaces are preserved by default. Unless otherwise stated, there is no special processing for any of the four white-space characters. For some elements, different white-space processing may take place, for example the paragraph element.   1240 For any other element, white-spaces are preserved by default. Unless otherwise stated, there is no special processing for any of the four white-space characters. For some elements, different white-space processing may take place, for example the paragraph element.
1204 The XML specification also requires that any of the four white-space characters that is contained in an attribute value is normalized to a SPACE character.   1241 The XML specification also requires that any of the four white-space characters that is contained in an attribute value is normalized to a SPACE character.
1205 One of the following characters may be used to represent line ends:   1242 One of the following characters may be used to represent line ends:
1206 LINE FEED   1243 LINE FEED
1207 CARRIAGE RETURN   1244 CARRIAGE RETURN
1208 The sequence of the characters CARRIAGE RETURN and LINE FEED   1245 The sequence of the characters CARRIAGE RETURN and LINE FEED
1209 Conforming to the XML specification, all the possible line ends are normalized to a single LINE FEED character.   1246 Conforming to the XML specification, all the possible line ends are normalized to a single LINE FEED character.
1210 As a consequence of the white-space and EOL processing rules, any CARRIAGE RETURN characters that are contained either in the text content of an element or in an attribute value must be encoded by the character entity &#x0D;. The same applies to the HORIZONTAL TABULATION and LINE FEED characters if they are contained in an attribute value.   1247 As a consequence of the white-space and EOL processing rules, any CARRIAGE RETURN characters that are contained either in the text content of an element or in an attribute value must be encoded by the character entity &#x0D;. The same applies to the HORIZONTAL TABULATION and LINE FEED characters if they are contained in an attribute value.
1211 1.7MIME Types and File Name Extensions   1248 1.7MIME Types and File Name Extensions
1212 Appendix C contains a list of MIME types and file name extensions to be used for office documents that conform to this specification and that are contained in a package (see section 2.1). This MIME types and extensions either have been registered following the procedures described in [RFC2048], or a registration is in progress.   1249 Appendix C contains a list of MIME types and file name extensions to be used for office documents that conform to this specification and that are contained in a package (see section 2.1). This MIME types and extensions either have been registered following the procedures described in [RFC2048], or a registration is in progress.
1213 Office documents that conform to this specification but are not contained in a package should use the MIME type text/xml.   1250 Office documents that conform to this specification but are not contained in a package should use the MIME type text/xml.
1214 Only MIME types and extensions that have been registered according to [RFC2048] should used for office documents that conform to this specification. The MIME types and extensions listed in appendix C should be used where appropriate.   1251 Only MIME types and extensions that have been registered according to [RFC2048] should used for office documents that conform to this specification. The MIME types and extensions listed in appendix C should be used where appropriate.
1215 2Document Structure   1252 2Document Structure
1216 This chapter introduces the structure of the OpenDocument format. The chapter contains the following sections:   1253 This chapter introduces the structure of the OpenDocument format. The chapter contains the following sections:
1217 Document Roots   1254 Document Roots
1218 Document Metadata   1255 Document Metadata
1219 Body Element and Document Types   1256 Body Element and Document Types
1220 Application Settings   1257 Application Settings
1221 Scripts   1258 Scripts
1222 Font Face Declarations   1259 Font Face Declarations
1223 Styles   1260 Styles
1224 Page Styles and Layout   1261 Page Styles and Layout
1225 In the OpenDocument format, each structural component is represented by an element, with associated attributes. The structure of a document in OpenDocument format applies to all document types. There is no difference between a text document, a spreadsheet or a drawing, apart from the content. Also, all document types may contain different styles. Document content that is common to all document types can be exchanged from one type of document to another.   1262 In the OpenDocument format, each structural component is represented by an element, with associated attributes. The structure of a document in OpenDocument format applies to all document types. There is no difference between a text document, a spreadsheet or a drawing, apart from the content. Also, all document types may contain different styles. Document content that is common to all document types can be exchanged from one type of document to another.
1226 2.1Document Roots   1263 2.1Document Roots
1227 A document root element is the primary element of a document in OpenDocument format. It contains the entire document. All types of documents, for example, text documents, spreadsheets, and drawing documents use the same types of document root elements.   1264 A document root element is the primary element of a document in OpenDocument format. It contains the entire document. All types of documents, for example, text documents, spreadsheets, and drawing documents use the same types of document root elements.
1228 The OpenDocument format supports the following two ways of document representation:   1265 The OpenDocument format supports the following two ways of document representation:
1229 As a single XML document.   1266 As a single XML document.
1230 As a collection of several subdocuments within a package (see section 17), each of which stores part of the complete document. Each subdocument has a different document root and stores a particular aspect of the XML document. For example, one subdocument contains the style information and another subdocument contains the content of the document. All types of documents, for example, text and spreadsheet documents, use the same document and subdocuments definitions.   1267 As a collection of several subdocuments within a package (see section 17), each of which stores part of the complete document. Each subdocument has a different document root and stores a particular aspect of the XML document. For example, one subdocument contains the style information and another subdocument contains the content of the document. All types of documents, for example, text and spreadsheet documents, use the same document and subdocuments definitions.
1231 There are four types of subdocuments, each with different root elements. Additionally, the single XML document has its own root element, for a total of five different supported root elements. The root elements are summarized in the following table:   1268 There are four types of subdocuments, each with different root elements. Additionally, the single XML document has its own root element, for a total of five different supported root elements. The root elements are summarized in the following table:
1232 Root Element   1269 Root Element
1233 Subdocument Content   1270 Subdocument Content
1234 Subdoc. Name in Package   1271 Subdoc. Name in Package
1235 <office:document>   1272 <office:document>
1236 Complete office document in a single XML document.   1273 Complete office document in a single XML document.
1237 n/a   1274 n/a
1238 <office:document-content>   1275 <office:document-content>
1239 Document content and automatic styles used in the content.   1276 Document content and automatic styles used in the content.
1240 content.xml   1277 content.xml
1241 <office:document-styles>   1278 <office:document-styles>
1242 Styles used in the document content and automatic styles used in the styles themselves.   1279 Styles used in the document content and automatic styles used in the styles themselves.
1243 styles.xml   1280 styles.xml
1244 <office:document-meta>   1281 <office:document-meta>
1245 Document meta information, such as the author or the time of the last save action.   1282 Document meta information, such as the author or the time of the last save action.
1246 meta.xml   1283 meta.xml
1247 <office:document-settings>   1284 <office:document-settings>
1248 Application-specific settings, such as the window size or printer information.   1285 Application-specific settings, such as the window size or printer information.
1249 settings.xml   1286 settings.xml
1250 The definitions of the root elements described in the table above are analogous to the definition of <office:document>, except that the child element specification is suitably restricted.   1287 The definitions of the root elements described in the table above are analogous to the definition of <office:document>, except that the child element specification is suitably restricted.
1251 <start>   1288 <start>
1252         <choice>   1289         <choice>
1253                 <ref name="office-document"/>   1290                 <ref name="office-document"/>
1254                 <ref name="office-document-content"/>   1291                 <ref name="office-document-content"/>
1255                 <ref name="office-document-styles"/>   1292                 <ref name="office-document-styles"/>
1256                 <ref name="office-document-meta"/>   1293                 <ref name="office-document-meta"/>
1257                 <ref name="office-document-settings"/>   1294                 <ref name="office-document-settings"/>
1258         </choice>   1295         </choice>
1259 </start>   1296 </start>
1260 2.1.1Document Root Element Content Models   1297 2.1.1Document Root Element Content Models
1261 The content models of the five root elements is summarized in the following table. Note that <office:document> may contain all supported top-level elements. None of the four subdocument root elements contain the complete data, but four combined do.   1298 The content models of the five root elements is summarized in the following table. Note that <office:document> may contain all supported top-level elements. None of the four subdocument root elements contain the complete data, but four combined do.
1262 Root Element   1299 Root Element
1263 meta data <> 1300 metadata
1264 app. sett. = 1301 app. sett.
1265 script   1302 script
1266 font decls   1303 font decls
1267 style   1304 style
1268 auto style   1305 auto style
1269 mast style   1306 mast style
1270 body   1307 body
1271 <office:document>   1308 <office:document>
1272 ?   1309 ?
1273 ?   1310 ?
1274 ?   1311 ?
1275 ?   1312 ?
1276 ?   1313 ?
1277 ?   1314 ?
1278 ?   1315 ?
1279 ?   1316 ?
1280 <office:document-content>   1317 <office:document-content>
1281     1318  
1282     1319  
1283 ?   1320 ?
1284 ?   1321 ?
1285     1322  
1286 ?   1323 ?
1287     1324  
1288 ?   1325 ?
1289 <office:document-styles>   1326 <office:document-styles>
1290     1327  
1291     1328  
1292     1329  
1293 ?   1330 ?
1294 ?   1331 ?
1295 ?   1332 ?
1296 ?   1333 ?
1297     1334  
1298 <office:document-meta>   1335 <office:document-meta>
1299 ?   1336 ?
1300     1337  
1301     1338  
1302     1339  
1303     1340  
1304     1341  
1305     1342  
1306     1343  
1307 <office:document-settings>   1344 <office:document-settings>
1308     1345  
1309 ?   1346 ?
1310     1347  
1311     1348  
1312     1349  
1313     1350  
1314     1351  
1315     1352  
1316 The <office:document> root contains a complete document:   1353 The <office:document> root contains a complete document:
1317 <define name="office-document">   1354 <define name="office-document">
1318         <element name="office:document">   1355         <element name="office:document">
1319                 <ref name="office-document-attrs"/>   1356                 <ref name="office-document-attrs"/>
1320                 <ref name="office-document-common-attrs"/>   1357                 <ref name="office-document-common-attrs"/>
1321                 <ref name="office-meta"/>   1358                 <ref name="office-meta"/>
1322                 <ref name="office-settings"/>   1359                 <ref name="office-settings"/>
1323                 <ref name="office-scripts"/>   1360                 <ref name="office-scripts"/>
1324                 <ref name="office-font-face-decls"/>   1361                 <ref name="office-font-face-decls"/>
1325                 <ref name="office-styles"/>   1362                 <ref name="office-styles"/>
1326                 <ref name="office-automatic-styles"/>   1363                 <ref name="office-automatic-styles"/>
1327                 <ref name="office-master-styles"/>   1364                 <ref name="office-master-styles"/>
1328                 <ref name="office-body"/>   1365                 <ref name="office-body"/>
1329         </element>   1366         </element>
1330 </define>   1367 </define>
1331 The <office:document-content> root contains only the document content, along with the automatic styles needed for the document content:   1368 The <office:document-content> root contains only the document content, along with the automatic styles needed for the document content:
1332 <define name="office-document-content">   1369 <define name="office-document-content">
1333         <element name="office:document-content">   1370         <element name="office:document-content">
1334                 <ref name="office-document-common-attrs"/>   1371                 <ref name="office-document-common-attrs"/>
1335                 <ref name="office-scripts"/>   1372                 <ref name="office-scripts"/>
1336                 <ref name="office-font-face-decls"/>   1373                 <ref name="office-font-face-decls"/>
1337                 <ref name="office-automatic-styles"/>   1374                 <ref name="office-automatic-styles"/>
1338                 <ref name="office-body"/>   1375                 <ref name="office-body"/>
1339         </element>   1376         </element>
1340 </define>   1377 </define>
1341 The <office:document-styles> root contains all named styles of a document, along with the automatic styles needed for the named styles:   1378 The <office:document-styles> root contains all named styles of a document, along with the automatic styles needed for the named styles:
1342 <define name="office-document-styles">   1379 <define name="office-document-styles">
1343         <element name="office:document-styles">   1380         <element name="office:document-styles">
1344                 <ref name="office-document-common-attrs"/>   1381                 <ref name="office-document-common-attrs"/>
1345                 <ref name="office-font-face-decls"/>   1382                 <ref name="office-font-face-decls"/>
1346                 <ref name="office-styles"/>   1383                 <ref name="office-styles"/>
1347                 <ref name="office-automatic-styles"/>   1384                 <ref name="office-automatic-styles"/>
1348                 <ref name="office-master-styles"/>   1385                 <ref name="office-master-styles"/>
1349         </element>   1386         </element>
1350 </define>   1387 </define>
1351 The <office:document-meta> root contains the meta information about a document.   1388 The <office:document-meta> root contains the meta information about a document.
1352 <define name="office-document-meta">   1389 <define name="office-document-meta">
1353         <element name="office:document-meta">   1390         <element name="office:document-meta">
1354                 <ref name="office-document-common-attrs"/>   1391                 <ref name="office-document-common-attrs"/>
1355                 <ref name="office-meta"/>   1392                 <ref name="office-meta"/>
1356         </element>   1393         </element>
1357 </define>   1394 </define>
1358 The <office:document-settings> root contains application specific settings to be applied when processing this document.   1395 The <office:document-settings> root contains application specific settings to be applied when processing this document.
1359 <define name="office-document-settings">   1396 <define name="office-document-settings">
1360         <element name="office:document-settings">   1397         <element name="office:document-settings">
1361                 <ref name="office-document-common-attrs"/>   1398                 <ref name="office-document-common-attrs"/>
1362                 <ref name="office-settings"/>   1399                 <ref name="office-settings"/>
1363         </element>   1400         </element>
1364 </define>   1401 </define>
1365 2.1.2Document Root Attributes   1402 2.1.2Document Root Attributes
1366 Version   1403 Version
1367 All root elements take an office:version attribute, which indicates which version of this specification it complies with. The version number is in the format revision.version. If the file has a version known to an XML processor, it may validate the document. Otherwise, it is optional to validate the document, but the document must be well formed.   1404 All root elements take an office:version attribute, which indicates which version of this specification it complies with. The version number is in the format revision.version. If the file has a version known to an XML processor, it may validate the document. Otherwise, it is optional to validate the document, but the document must be well formed.
1368 <define name="office-document-common-attrs" combine="interleave">   1405 <define name="office-document-common-attrs" combine="interleave">
1369         <optional>   1406         <optional>
1370                 <attribute name="office:version">   1407                 <attribute name="office:version">
1371                         <ref name="string"/>   1408                         <ref name="string"/>
1372                 </attribute>   1409                 </attribute>
1373         </optional>   1410         </optional>
1374 </define>   1411 </define>
1375 MIME Type   1412 MIME Type
1376 The <office:document> element takes an office:mimetype attribute, which indicates the type of document (text, spreadsheet etc.). This attribute is especially important for flat XML files, where this is the only way the type of document can be detected (in a package, the MIME type is also present in a separate file, see section 17.4). Its values are the MIME types that are used for the packaged variant of office documents (see section 1.7).   1413 The <office:document> element takes an office:mimetype attribute, which indicates the type of document (text, spreadsheet etc.). This attribute is especially important for flat XML files, where this is the only way the type of document can be detected (in a package, the MIME type is also present in a separate file, see section 17.4). Its values are the MIME types that are used for the packaged variant of office documents (see section 1.7).
1377 <define name="office-document-attrs" combine="interleave">   1414 <define name="office-document-attrs" combine="interleave">
1378         <attribute name="office:mimetype">   1415         <attribute name="office:mimetype">
1379                 <ref name="string"/>   1416                 <ref name="string"/>
1380         </attribute>   1417         </attribute>
1381 </define>   1418 </define>
1382 2.2Document Metadata   1419 2.2Document Metadata
1383 Metadata is general information about a document. In the OpenDocument format, all of the metadata elements are contained in an <office:meta> element, usually located at start of the document. Metadata elements may be omitted or occur multiple times. It is application-specific how to update multiple instances of the same elements.   1420 Metadata is general information about a document. In the OpenDocument format, all of the metadata elements are contained in an <office:meta> element, usually located at start of the document. Metadata elements may be omitted or occur multiple times. It is application-specific how to update multiple instances of the same elements.
1384 <define name="office-meta">   1421 <define name="office-meta">
1385         <optional>   1422         <optional>
1386                 <element name="office:meta">   1423                 <element name="office:meta">
1387                         <ref name="office-meta-content"/>   1424                         <ref name="office-meta-content"/>
1388                 </element>   1425                 </element>
1389         </optional>   1426         </optional>
1390 </define>   1427 </define>
1391     1428  
1392 <define name="office-meta-content">   1429 <define name="office-meta-content">
1393         <ref name="anyElements"/>   1430         <ref name="anyElements"/>
1394 </define>   1431 </define>
1395     1432  
1396 <define name="office-meta-content-strict">   1433 <define name="office-meta-content-strict">
1397         <zeroOrMore>   1434         <zeroOrMore>
1398                 <ref name="office-meta-data"/>   1435                 <ref name="office-meta-data"/>
1399         </zeroOrMore>   1436         </zeroOrMore>
1400 </define>   1437 </define>
1401 2.2.1Pre-Defined vs. Custom Metadata   1438 2.2.1Pre-Defined vs. Custom Metadata
1402 In the OpenDocument schema the metadata is comprised of pre-defined metadata elements, user defined metadata, as well as custom metadata elements. The pre-defined metadata elements have defined semantics. They should be processed and updated by editing applications. They can be referenced from within the document through the use of suitable text fields.   1439 In the OpenDocument schema the metadata is comprised of pre-defined metadata elements, user defined metadata, as well as custom metadata elements. The pre-defined metadata elements have defined semantics. They should be processed and updated by editing applications. They can be referenced from within the document through the use of suitable text fields.
1403 User-defined metadata is a more generic mechanism which specifies a triplet of name, type, and value. Supporting applications can present these value to the user, making use of the supplied data type. The user-defined metadata can be referenced from within the document through the use of suitable text fields.   1440 User-defined metadata is a more generic mechanism which specifies a triplet of name, type, and value. Supporting applications can present these value to the user, making use of the supplied data type. The user-defined metadata can be referenced from within the document through the use of suitable text fields.
1404 Custom metadata are arbitrary elements inside <office:meta>. Since their semantics is not defined in this specification, conforming applications in general cannot process or display this data. Applications should preserve this data when editing the document.   1441 Custom metadata are arbitrary elements inside <office:meta>. Since their semantics is not defined in this specification, conforming applications in general cannot process or display this data. Applications should preserve this data when editing the document.
1405 2.2.2Sample Metadata   1442 2.2.2Sample Metadata
1406 Example: Sample metadata of a document in OpenDocument format   1443 Example: Sample metadata of a document in OpenDocument format
1407 <office:meta>   1444 <office:meta>
1408         <dc:title>Title of the document</dc:title>   1445         <dc:title>Title of the document</dc:title>
1409         <dc:description>Description/Comment for the document</dc:description>   1446         <dc:description>Description/Comment for the document</dc:description>
1410         <meta:initial-creator>User Name</meta:initial-creator>   1447         <meta:initial-creator>User Name</meta:initial-creator>
1411         <meta:creation-date>1999-10-18T12:34:56</meta:creation-date>   1448         <meta:creation-date>1999-10-18T12:34:56</meta:creation-date>
1412         <dc:creator>User Name</dc:creator>   1449         <dc:creator>User Name</dc:creator>
1413         <dc:date>1999-10-19T15:16:17</dc:date>   1450         <dc:date>1999-10-19T15:16:17</dc:date>
1414         <meta:printed-by>User Name</meta:printed-by>   1451         <meta:printed-by>User Name</meta:printed-by>
1415         <meta:print-date>1999-10-20T16:17:18</meta:print-date>   1452         <meta:print-date>1999-10-20T16:17:18</meta:print-date>
1416         <dc:subject>Description of the document</dc:subject>   1453         <dc:subject>Description of the document</dc:subject>
1417         <meta:editing-duration>PT5H10M10S</meta:editing-duration>   1454         <meta:editing-duration>PT5H10M10S</meta:editing-duration>
1418         <meta:keyword>First keyword</meta:keyword>   1455         <meta:keyword>First keyword</meta:keyword>
1419         <meta:keyword>Second keyword</meta:keyword>   1456         <meta:keyword>Second keyword</meta:keyword>
1420         <meta:keyword>Third keyword</meta:keyword>   1457         <meta:keyword>Third keyword</meta:keyword>
1421         <meta:template xlink:type="simple"   1458         <meta:template xlink:type="simple"
1422         xlink:href="file:///c|/office52/share/template/german/finance/budget.vor"   1459         xlink:href="file:///c|/office52/share/template/german/finance/budget.vor"
1423         xlink:title="Template name"   1460         xlink:title="Template name"
1424         meta:date="1999-10-15T10:11:12" />   1461         meta:date="1999-10-15T10:11:12" />
1425         <meta:auto-reload   1462         <meta:auto-reload
1426         xlink:type="simple"   1463         xlink:type="simple"
1427         xlink:href="file:///..."   1464         xlink:href="file:///..."
1428         meta:delay="P60S" />   1465         meta:delay="P60S" />
1429         <dc:language>de-DE</dc:language>   1466         <dc:language>de-DE</dc:language>
1430         <meta:user-defined meta:name="Field 1"   1467         <meta:user-defined meta:name="Field 1"
1431         meta:value-type="string">Value 1</meta:user-defined>   1468         meta:value-type="string">Value 1</meta:user-defined>
1432         <meta:user-defined meta:name="Field 2"   1469         <meta:user-defined meta:name="Field 2"
1433         meta:value-type="float">1.234</meta:user-defined>   1470         meta:value-type="float">1.234</meta:user-defined>
1434 </office:meta>   1471 </office:meta>
1435 2.3Body Element and Document Types   1472 2.3Body Element and Document Types
1436 The document body contains an element to indicate which type of content this document contains. Currently supported document types are:   1473 The document body contains an element to indicate which type of content this document contains. Currently supported document types are:
1437 text documents   1474 text documents
1438 drawing documents   1475 drawing documents
1439 presentation documents   1476 presentation documents
1440 spreadsheet documents   1477 spreadsheet documents
1441 chart documents   1478 chart documents
1442 image documents   1479 image documents
1443 All document types share the same content elements, but different document types place different restrictions on which elements may occur, and in what combinations. The document content is typically framed by a prelude and epilogue, which contain additional information for a specific type of document, like form data or variable declarations.   1480 All document types share the same content elements, but different document types place different restrictions on which elements may occur, and in what combinations. The document content is typically framed by a prelude and epilogue, which contain additional information for a specific type of document, like form data or variable declarations.
1444 <define name="office-body">   1481 <define name="office-body">
1445         <element name="office:body">   1482         <element name="office:body">
1446                 <ref name="office-body-content"/>   1483                 <ref name="office-body-content"/>
1447         </element>   1484         </element>
1448 </define>   1485 </define>
1449 2.3.1Text Documents   1486 2.3.1Text Documents
1450 The content of text documents mainly consists of a sequence containing any number of paragraphs, tables, indices, text frames, text sections, and graphical elements. Additionally, a text document may contain forms, change tracking information and variable declarations. Each of these is defined in the document prelude, and may be referenced from the document content.   1487 The content of text documents mainly consists of a sequence containing any number of paragraphs, tables, indices, text frames, text sections, and graphical elements. Additionally, a text document may contain forms, change tracking information and variable declarations. Each of these is defined in the document prelude, and may be referenced from the document content.
1451 <define name="office-body-content" combine="choice">   1488 <define name="office-body-content" combine="choice">
1452         <element name="office:text">   1489         <element name="office:text">
1453                 <ref name="office-text-attlist"/>   1490                 <ref name="office-text-attlist"/>
1454                 <ref name="office-text-content-prelude"/>   1491                 <ref name="office-text-content-prelude"/>
1455                 <zeroOrMore>   1492                 <zeroOrMore>
1456                         <ref name="office-text-content-main"/>   1493                         <ref name="office-text-content-main"/>
1457                 </zeroOrMore>   1494                 </zeroOrMore>
1458                 <ref name="office-text-content-epilogue"/>   1495                 <ref name="office-text-content-epilogue"/>
1459         </element>   1496         </element>
1460 </define>   1497 </define>
1461 Text Document Content Model   1498 Text Document Content Model
1462 The text document prelude contains the document's form data, change tracking information, and variable declarations. To allow office applications to implement functionality that usually is available in spreadsheets for text documents, it may also contain elements that implement enhanced table features. See also section 2.3.4.   1499 The text document prelude contains the document's form data, change tracking information, and variable declarations. To allow office applications to implement functionality that usually is available in spreadsheets for text documents, it may also contain elements that implement enhanced table features. See also section 2.3.4.
1463 <define name="office-text-content-prelude">   1500 <define name="office-text-content-prelude">
1464         <ref name="office-forms"/>   1501         <ref name="office-forms"/>
1465         <ref name="text-tracked-changes"/>   1502         <ref name="text-tracked-changes"/>
1466         <ref name="text-decls"/>   1503         <ref name="text-decls"/>
1467         <ref name="table-decls"/>   1504         <ref name="table-decls"/>
1468 </define>   1505 </define>
1469 The main document content contains any sequence of text content elements, which includes paragraphs (and headings), text sections (and indices), tables, and graphical shapes. As an alternative, a text document may contain of a single page sequence.   1506 The main document content contains any sequence of text content elements, which includes paragraphs (and headings), text sections (and indices), tables, and graphical shapes. As an alternative, a text document may contain of a single page sequence.
1470 It is not required that a text document contains a paragraph. A text document may consist of a sequence frames only.   1507 It is not required that a text document contains a paragraph. A text document may consist of a sequence frames only.
1471 <define name="office-text-content-main">   1508 <define name="office-text-content-main">
1472         <choice>   1509         <choice>
1473                 <zeroOrMore>   1510                 <zeroOrMore>
1474                         <ref name="text-content"/>   1511                         <ref name="text-content"/>
1475                 </zeroOrMore>   1512                 </zeroOrMore>
1476                 <group>   1513                 <group>
1477                         <ref name="text-page-sequence"/>   1514                         <ref name="text-page-sequence"/>
1478                         <zeroOrMore>   1515                         <zeroOrMore>
1479                                 <choice>   1516                                 <choice>
1480                                         <ref name="draw-a"/>   1517                                         <ref name="draw-a"/>
1481                                         <ref name="shape"/>   1518                                         <ref name="shape"/>
1482                                 </choice>   1519                                 </choice>
1483                         </zeroOrMore>   1520                         </zeroOrMore>
1484                 </group>   1521                 </group>
1485         </choice>   1522         </choice>
1486 </define>   1523 </define>
1487     1524  
1488 <define name="text-content">   1525 <define name="text-content">
1489         <choice>   1526         <choice>
1490                 <ref name="text-h"/>   1527                 <ref name="text-h"/>
1491                 <ref name="text-p"/>   1528                 <ref name="text-p"/>
1492                 <ref name="text-list"/>   1529                 <ref name="text-list"/>
1493                 <ref name="text-numbered-paragraph"/>   1530                 <ref name="text-numbered-paragraph"/>
1494                 <ref name="table-table"/>   1531                 <ref name="table-table"/>
1495                 <ref name="draw-a"/>   1532                 <ref name="draw-a"/>
1496                 <ref name="text-section"/>   1533                 <ref name="text-section"/>
    -+ 1534                 <ref name="text-soft-page-break"/>
1497                 <ref name="text-table-of-content"/> = 1535                 <ref name="text-table-of-content"/>
1498                 <ref name="text-illustration-index"/>   1536                 <ref name="text-illustration-index"/>
1499                 <ref name="text-table-index"/>   1537                 <ref name="text-table-index"/>
1500                 <ref name="text-object-index"/>   1538                 <ref name="text-object-index"/>
1501                 <ref name="text-user-index"/>   1539                 <ref name="text-user-index"/>
1502                 <ref name="text-alphabetical-index"/>   1540                 <ref name="text-alphabetical-index"/>
1503                 <ref name="text-bibliography"/>   1541                 <ref name="text-bibliography"/>
1504                 <ref name="shape"/>   1542                 <ref name="shape"/>
1505                 <ref name="change-marks"/>   1543                 <ref name="change-marks"/>
1506         </choice>   1544         </choice>
1507 </define>   1545 </define>
1508 There are no text documents specific epilogue elements, but the epilogue may contain elements that implement enhanced table features. See also section 2.3.4.   1546 There are no text documents specific epilogue elements, but the epilogue may contain elements that implement enhanced table features. See also section 2.3.4.
1509 <define name="office-text-content-epilogue">   1547 <define name="office-text-content-epilogue">
1510         <ref name="table-functions"/>   1548         <ref name="table-functions"/>
1511 </define>   1549 </define>
1512 Global Text Documents   1550 Global Text Documents
1513 There is a common use case for large documents to be edited in separate entities, such that there is a 'global' document, containing several linked constituent subdocuments. This can be implemented by using linked text sections (see section 4.4). To facilitate an editing application adapting the user interface to better support the notion of 'global' document with constituent parts (as opposed to a document with arbitrary linked content), the text:global flag can be used. If set to true, it informs applications that linked sections in this document have part-of semantics. The actual XML representation of the sections does not change.   1551 There is a common use case for large documents to be edited in separate entities, such that there is a 'global' document, containing several linked constituent subdocuments. This can be implemented by using linked text sections (see section 4.4). To facilitate an editing application adapting the user interface to better support the notion of 'global' document with constituent parts (as opposed to a document with arbitrary linked content), the text:global flag can be used. If set to true, it informs applications that linked sections in this document have part-of semantics. The actual XML representation of the sections does not change.
1514 <define name="office-text-attlist" combine="interleave">   1552 <define name="office-text-attlist" combine="interleave">
1515         <optional>   1553         <optional>
1516                 <attribute name="text:global" a:defaultValue="false">   1554                 <attribute name="text:global" a:defaultValue="false">
    -+ 1555                         <ref name="boolean"/>
      1556                 </attribute>
      1557         </optional>
      1558 </define>
      1559 Use Soft Page Breaks
      1560 The text:use-soft-page-breaks attribute specifies whether the document contains soft page breaks.
      1561 A soft page break is a page break that a has been included by a page oriented processor at a position where the document itself does not include a page break (e.g. by using the fo:break-before and fo:break-after formatting properties described in section 15.5.2).
      1562 Soft page breaks are specified by the <text:soft-page-break> elements described in sections 4.7 and 5.1.1:Soft Page breaks.
      1563 The use of the <text:soft-page-break> elements is always optional. An application generating the format may include the element if it has computed a paginated layout. A consuming application may handle the element while computing the layout, but it shall not depend on its existence. Soft page breaks are only supported within text documents.
      1564 A generating application that stores soft page breaks shall indicate this by setting the text:use-page-breaks attribute to true. A generating application that does not store soft page breaks shall indicate that by omitting this attribute, or by setting it to false.
      1565 An application that does not support pagination and soft page-breaks, that modifies an OpenDocument file, which includes soft page-breaks, shall at least set the text:use-page-breaks attribute to false (or remove it). It should also remove the text:soft-page-break elements from the document but is not required to do so.
      1566 An application that computes a paginated layout of a document should provide a facility to turn on export of soft page breaks for the purposes of consistent page breaks and for proper conversion to digital talking book formats (such as [DAISY]).
      1567 For <text:soft-page-break> elements that appear within table rows, the maximum number of <text:soft-page-break> elements that appear within the single table cells determines the number of page breaks that appear within the table row. The <text:soft-page-break> elements contained in each cell determine the positions where these page breaks appear within the cell content.
      1568 Similarly, <text:soft-page-break> elements that appear within text boxes and other content displayed outside the text flow, do not start a new page, but only indicate where the text-box's content breaks between two pages.
      1569 <define name="office-text-attlist" combine="interleave">
      1570         <optional>
      1571                 <attribute name="text:use-soft-page-breaks" a:defaultValue="false">
1517                         <ref name="boolean"/> = 1572                         <ref name="boolean"/>
1518                 </attribute>   1573                 </attribute>
1519         </optional>   1574         </optional>
1520 </define>   1575 </define>
1521 2.3.2Drawing Documents   1576 2.3.2Drawing Documents
1522 The content of drawing document consists of a sequence of draw pages.   1577 The content of drawing document consists of a sequence of draw pages.
1523 <define name="office-body-content" combine="choice">   1578 <define name="office-body-content" combine="choice">
1524         <element name="office:drawing">   1579         <element name="office:drawing">
1525                 <ref name="office-drawing-attlist"/>   1580                 <ref name="office-drawing-attlist"/>
1526                 <ref name="office-drawing-content-prelude"/>   1581                 <ref name="office-drawing-content-prelude"/>
1527                 <ref name="office-drawing-content-main"/>   1582                 <ref name="office-drawing-content-main"/>
1528                 <ref name="office-drawing-content-epilogue"/>   1583                 <ref name="office-drawing-content-epilogue"/>
1529         </element>   1584         </element>
1530 </define>   1585 </define>
1531     1586  
1532 <define name="office-drawing-attlist">   1587 <define name="office-drawing-attlist">
1533         <empty/>   1588         <empty/>
1534 </define>   1589 </define>
1535 Drawing Document Content Model   1590 Drawing Document Content Model
1536 The drawing document prelude may contain text declarations only. To allow office applications to implement functionality that usually is available in spreadsheets for drawing documents, it may also contain elements that implement enhanced table features. See also section 2.3.4.   1591 The drawing document prelude may contain text declarations only. To allow office applications to implement functionality that usually is available in spreadsheets for drawing documents, it may also contain elements that implement enhanced table features. See also section 2.3.4.
1537 <define name="office-drawing-content-prelude">   1592 <define name="office-drawing-content-prelude">
1538         <ref name="text-decls"/>   1593         <ref name="text-decls"/>
1539         <ref name="table-decls"/>   1594         <ref name="table-decls"/>
1540 </define>   1595 </define>
1541 The main document content contains a sequence of draw pages.   1596 The main document content contains a sequence of draw pages.
1542 <define name="office-drawing-content-main">   1597 <define name="office-drawing-content-main">
1543         <zeroOrMore>   1598         <zeroOrMore>
1544                 <ref name="draw-page"/>   1599                 <ref name="draw-page"/>
1545         </zeroOrMore>   1600         </zeroOrMore>
1546 </define>   1601 </define>
1547 There are no drawing documents specific epilogue elements, but the epilogue may contain elements that implement enhanced table features. See also section 2.3.4.   1602 There are no drawing documents specific epilogue elements, but the epilogue may contain elements that implement enhanced table features. See also section 2.3.4.
1548 <define name="office-drawing-content-epilogue">   1603 <define name="office-drawing-content-epilogue">
1549         <ref name="table-functions"/>   1604         <ref name="table-functions"/>
1550 </define>   1605 </define>
1551 2.3.3Presentation Documents   1606 2.3.3Presentation Documents
1552 The content of presentation document consists of a sequence of draw pages.   1607 The content of presentation document consists of a sequence of draw pages.
1553 <define name="office-body-content" combine="choice">   1608 <define name="office-body-content" combine="choice">
1554         <element name="office:presentation">   1609         <element name="office:presentation">
1555                 <ref name="office-presentation-attlist"/>   1610                 <ref name="office-presentation-attlist"/>
1556                 <ref name="office-presentation-content-prelude"/>   1611                 <ref name="office-presentation-content-prelude"/>
1557                 <ref name="office-presentation-content-main"/>   1612                 <ref name="office-presentation-content-main"/>
1558                 <ref name="office-presentation-content-epilogue"/>   1613                 <ref name="office-presentation-content-epilogue"/>
1559         </element>   1614         </element>
1560 </define>   1615 </define>
1561     1616  
1562 <define name="office-presentation-attlist">   1617 <define name="office-presentation-attlist">
1563         <empty/>   1618         <empty/>
1564 </define>   1619 </define>
1565 Presentation Document Content Model   1620 Presentation Document Content Model
1566 The presentation document prelude equals the one of a drawing document, but may contain some additional declarations. See also section 2.3.2.   1621 The presentation document prelude equals the one of a drawing document, but may contain some additional declarations. See also section 2.3.2.
1567 <define name="office-presentation-content-prelude">   1622 <define name="office-presentation-content-prelude">
1568         <ref name="text-decls"/>   1623         <ref name="text-decls"/>
1569         <ref name="table-decls"/>   1624         <ref name="table-decls"/>
1570         <ref name="presentation-decls"/>   1625         <ref name="presentation-decls"/>
1571 </define>   1626 </define>
1572 The main document content contains a sequence of draw pages.   1627 The main document content contains a sequence of draw pages.
1573 <define name="office-presentation-content-main">   1628 <define name="office-presentation-content-main">
1574         <zeroOrMore>   1629         <zeroOrMore>
1575                 <ref name="draw-page"/>   1630                 <ref name="draw-page"/>
1576         </zeroOrMore>   1631         </zeroOrMore>
1577 </define>   1632 </define>
1578 The epilogue of presentation documents may contain presentation settings. Additionally, it may contain elements that implement enhanced table features. See also section 2.3.4.   1633 The epilogue of presentation documents may contain presentation settings. Additionally, it may contain elements that implement enhanced table features. See also section 2.3.4.
1579 <define name="office-presentation-content-epilogue">   1634 <define name="office-presentation-content-epilogue">
1580         <ref name="presentation-settings"/>   1635         <ref name="presentation-settings"/>
1581         <ref name="table-functions"/>   1636         <ref name="table-functions"/>
1582 </define>   1637 </define>
1583 2.3.4Spreadsheet Documents   1638 2.3.4Spreadsheet Documents
1584 The content of spreadsheet documents mainly consists of a sequence of tables. Additionally, a spreadsheet document may contain forms, change tracking information and various kinds of declarations that simplify the usage of spreadsheet tables and their analysis. Each of these are contained in either the document prelude, or the document epilogue.   1639 The content of spreadsheet documents mainly consists of a sequence of tables. Additionally, a spreadsheet document may contain forms, change tracking information and various kinds of declarations that simplify the usage of spreadsheet tables and their analysis. Each of these are contained in either the document prelude, or the document epilogue.
1585 <define name="office-body-content" combine="choice">   1640 <define name="office-body-content" combine="choice">
1586         <element name="office:spreadsheet">   1641         <element name="office:spreadsheet">
1587                 <ref name="office-spreadsheet-attlist"/>   1642                 <ref name="office-spreadsheet-attlist"/>
1588                 <ref name="office-spreadsheet-content-prelude"/>   1643                 <ref name="office-spreadsheet-content-prelude"/>
1589                 <ref name="office-spreadsheet-content-main"/>   1644                 <ref name="office-spreadsheet-content-main"/>
1590                 <ref name="office-spreadsheet-content-epilogue"/>   1645                 <ref name="office-spreadsheet-content-epilogue"/>
1591         </element>   1646         </element>
1592 </define>   1647 </define>
1593 Spreadsheet Document Content Model   1648 Spreadsheet Document Content Model
1594 The spreadsheet document prelude contains the document's form data, change tracking information, calculation setting for formulas, validation rules for cell content and declarations for label ranges.   1649 The spreadsheet document prelude contains the document's form data, change tracking information, calculation setting for formulas, validation rules for cell content and declarations for label ranges.
1595 <define name="office-spreadsheet-content-prelude">   1650 <define name="office-spreadsheet-content-prelude">
1596         <optional>   1651         <optional>
1597                 <ref name="table-tracked-changes"/>       1652                 <ref name="table-tracked-changes"/>    
1598         </optional>   1653         </optional>
1599         <ref name="text-decls"/>   1654         <ref name="text-decls"/>
1600         <ref name="table-decls"/>   1655         <ref name="table-decls"/>
1601 </define>   1656 </define>
1602     1657  
1603 <define name="table-decls">   1658 <define name="table-decls">
1604         <optional>   1659         <optional>
1605                 <ref name="table-calculation-settings"/>          1660                 <ref name="table-calculation-settings"/>       
1606         </optional>   1661         </optional>
1607         <optional>   1662         <optional>
1608                 <ref name="table-content-validations"/>   1663                 <ref name="table-content-validations"/>
1609         </optional>   1664         </optional>
1610         <optional>   1665         <optional>
1611                 <ref name="table-label-ranges"/>          1666                 <ref name="table-label-ranges"/>       
1612         </optional>   1667         </optional>
1613 </define>   1668 </define>
1614 The main document is a list of tables.   1669 The main document is a list of tables.
1615 <define name="office-spreadsheet-content-main">   1670 <define name="office-spreadsheet-content-main">
1616         <zeroOrMore>   1671         <zeroOrMore>
1617                 <ref name="table-table"/>   1672                 <ref name="table-table"/>
1618         </zeroOrMore>   1673         </zeroOrMore>
1619 </define>   1674 </define>
1620 The epilogue of spreadsheet documents contains declarations for named expressions, database ranges, data pilot tables, consolidation operations and DDE links.   1675 The epilogue of spreadsheet documents contains declarations for named expressions, database ranges, data pilot tables, consolidation operations and DDE links.
1621 <define name="office-spreadsheet-content-epilogue">   1676 <define name="office-spreadsheet-content-epilogue">
1622         <ref name="table-functions"/>     1677         <ref name="table-functions"/>  
1623 </define>   1678 </define>
1624     1679  
1625 <define name="table-functions">   1680 <define name="table-functions">
1626         <optional>   1681         <optional>
1627                 <ref name="table-named-expressions"/>     1682                 <ref name="table-named-expressions"/>  
1628         </optional>   1683         </optional>
1629         <optional>   1684         <optional>
1630                 <ref name="table-database-ranges"/>       1685                 <ref name="table-database-ranges"/>    
1631         </optional>   1686         </optional>
1632         <optional>   1687         <optional>
1633                 <ref name="table-data-pilot-tables"/>     1688                 <ref name="table-data-pilot-tables"/>  
1634         </optional>   1689         </optional>
1635         <optional>   1690         <optional>
1636                 <ref name="table-consolidation"/>         1691                 <ref name="table-consolidation"/>      
1637         </optional>   1692         </optional>
1638         <optional>   1693         <optional>
1639                 <ref name="table-dde-links"/>     1694                 <ref name="table-dde-links"/>  
1640         </optional>   1695         </optional>
1641 </define>   1696 </define>
1642 2.3.5Chart Documents   1697 2.3.5Chart Documents
1643 The content of chart documents mainly consists of a chart element.   1698 The content of chart documents mainly consists of a chart element.
1644 <define name="office-body-content" combine="choice">   1699 <define name="office-body-content" combine="choice">
1645         <element name="office:chart">   1700         <element name="office:chart">
1646                 <ref name="office-chart-attlist"/>   1701                 <ref name="office-chart-attlist"/>
1647                 <ref name="office-chart-content-prelude"/>   1702                 <ref name="office-chart-content-prelude"/>
1648                 <ref name="office-chart-content-main"/>   1703                 <ref name="office-chart-content-main"/>
1649                 <ref name="office-chart-content-epilogue"/>   1704                 <ref name="office-chart-content-epilogue"/>
1650         </element>   1705         </element>
1651 </define>   1706 </define>
1652     1707  
1653 <define name="office-chart-attlist">   1708 <define name="office-chart-attlist">
1654         <empty/>   1709         <empty/>
1655 </define>   1710 </define>
1656 Chart Document Content Model   1711 Chart Document Content Model
1657 To allow office applications to implement functionality that usually is available in spreadsheets for the table that may be contained in a chart, the chart document prelude may contain elements that implement enhanced table features. See also section 2.3.4.   1712 To allow office applications to implement functionality that usually is available in spreadsheets for the table that may be contained in a chart, the chart document prelude may contain elements that implement enhanced table features. See also section 2.3.4.
1658 <define name="office-chart-content-prelude">   1713 <define name="office-chart-content-prelude">
1659         <ref name="text-decls"/>   1714         <ref name="text-decls"/>
1660         <ref name="table-decls"/>   1715         <ref name="table-decls"/>
1661 </define>   1716 </define>
1662 The main document is a chart element only.   1717 The main document is a chart element only.
1663 <define name="office-chart-content-main">   1718 <define name="office-chart-content-main">
1664         <ref name="chart-chart"/>   1719         <ref name="chart-chart"/>
1665 </define>   1720 </define>
1666 There are no chart documents specific epilogue elements, but the epilogue may contain elements that implement enhanced table features. See also section 2.3.4.   1721 There are no chart documents specific epilogue elements, but the epilogue may contain elements that implement enhanced table features. See also section 2.3.4.
1667 <define name="office-chart-content-epilogue">   1722 <define name="office-chart-content-epilogue">
1668         <ref name="table-functions"/>     1723         <ref name="table-functions"/>  
1669 </define>   1724 </define>
1670 2.3.6Image Documents   1725 2.3.6Image Documents
1671 The content of an image document is a frame element only. The frame element must contain a single image element.   1726 The content of an image document is a frame element only. The frame element must contain a single image element.
1672 <define name="office-body-content" combine="choice">   1727 <define name="office-body-content" combine="choice">
1673         <element name="office:image">   1728         <element name="office:image">
1674                 <ref name="office-image-attlist"/>   1729                 <ref name="office-image-attlist"/>
1675                 <ref name="office-image-content-prelude"/>   1730                 <ref name="office-image-content-prelude"/>
1676                 <ref name="office-image-content-main"/>   1731                 <ref name="office-image-content-main"/>
1677                 <ref name="office-image-content-epilogue"/>   1732                 <ref name="office-image-content-epilogue"/>
1678         </element>   1733         </element>
1679 </define>   1734 </define>
1680     1735  
1681 <define name="office-image-attlist">   1736 <define name="office-image-attlist">
1682         <empty/>   1737         <empty/>
1683 </define>   1738 </define>
1684 Image Document Content Model   1739 Image Document Content Model
1685 The image document prelude is empty.   1740 The image document prelude is empty.
1686 <define name="office-image-content-prelude">   1741 <define name="office-image-content-prelude">
1687         <empty/>   1742         <empty/>
1688 </define>   1743 </define>
1689 The main document content contains a frame only.   1744 The main document content contains a frame only.
1690 <define name="office-image-content-main">   1745 <define name="office-image-content-main">
1691         <ref name="draw-frame"/>   1746         <ref name="draw-frame"/>
1692 </define>   1747 </define>
1693 There are no image documents specific epilogue elements.   1748 There are no image documents specific epilogue elements.
1694 <define name="office-image-content-epilogue">   1749 <define name="office-image-content-epilogue">
1695         <empty/>   1750         <empty/>
1696 </define>   1751 </define>
1697 2.4Application Settings   1752 2.4Application Settings
1698 Application settings are contained in a <office:settings> element.   1753 Application settings are contained in a <office:settings> element.
1699 <define name="office-settings">   1754 <define name="office-settings">
1700         <optional>   1755         <optional>
1701                 <element name="office:settings">   1756                 <element name="office:settings">
1702                         <oneOrMore>   1757                         <oneOrMore>
1703                                 <ref name="config-config-item-set"/>   1758                                 <ref name="config-config-item-set"/>
1704                         </oneOrMore>   1759                         </oneOrMore>
1705                 </element>   1760                 </element>
1706         </optional>   1761         </optional>
1707 </define>   1762 </define>
1708 The settings for office applications may be divided into several categories each represented by a <config:config-item-set> element. For instance  the following two categories may exist:   1763 The settings for office applications may be divided into several categories each represented by a <config:config-item-set> element. For instance  the following two categories may exist:
1709 Document settings, for example default printer.   1764 Document settings, for example default printer.
1710 View settings, for example zoom level.   1765 View settings, for example zoom level.
1711 2.4.1Sequence of Settings   1766 2.4.1Sequence of Settings
1712 The <config:config-item-set> element is a container element for all types of setting elements. The settings can be contained in the element is any order.   1767 The <config:config-item-set> element is a container element for all types of setting elements. The settings can be contained in the element is any order.
1713 <define name="config-config-item-set">   1768 <define name="config-config-item-set">
1714         <element name="config:config-item-set">   1769         <element name="config:config-item-set">
1715                 <ref name="config-config-item-set-attlist"/>   1770                 <ref name="config-config-item-set-attlist"/>
1716                 <ref name="config-items"/>   1771                 <ref name="config-items"/>
1717         </element>   1772         </element>
1718 </define>   1773 </define>
1719     1774  
1720 <define name="config-items">   1775 <define name="config-items">
1721         <oneOrMore>   1776         <oneOrMore>
1722                 <choice>   1777                 <choice>
1723                         <ref name="config-config-item"/>   1778                         <ref name="config-config-item"/>
1724                         <ref name="config-config-item-set"/>   1779                         <ref name="config-config-item-set"/>
1725                         <ref name="config-config-item-map-named"/>   1780                         <ref name="config-config-item-map-named"/>
1726                         <ref name="config-config-item-map-indexed"/>   1781                         <ref name="config-config-item-map-indexed"/>
1727                 </choice>   1782                 </choice>
1728         </oneOrMore>   1783         </oneOrMore>
1729 </define>   1784 </define>
1730 Config Name   1785 Config Name
1731 The config:name attribute identifies the name of the setting container. For top level <config:config-item-set> elements, that are elements that are direct children of the <office:settings> element, the name should be preceded by a namespace prefix that identifies the application the settings belong to.   1786 The config:name attribute identifies the name of the setting container. For top level <config:config-item-set> elements, that are elements that are direct children of the <office:settings> element, the name should be preceded by a namespace prefix that identifies the application the settings belong to.
1732 <define name="config-config-item-set-attlist" combine="interleave">   1787 <define name="config-config-item-set-attlist" combine="interleave">
1733         <attribute name="config:name">   1788         <attribute name="config:name">
1734                 <ref name="string"/>   1789                 <ref name="string"/>
1735         </attribute>   1790         </attribute>
1736 </define>   1791 </define>
1737 Example:   1792 Example:
1738 <office:settings>   1793 <office:settings>
1739         <config:config-item-set xmlns:ooo="http://www.openoffice.org/...";   1794         <config:config-item-set xmlns:ooo="http://www.openoffice.org/...";
1740                                 config:name="ooo:view-settings">   1795                                 config:name="ooo:view-settings">
1741                 <config:config-item config:name="ViewAreaTop"   1796                 <config:config-item config:name="ViewAreaTop"
1742                                     config:type="int">0</config:config-item>   1797                                     config:type="int">0</config:config-item>
1743         </config:config-item-set>   1798         </config:config-item-set>
1744 </office:settings>   1799 </office:settings>
1745 2.4.2Base Settings   1800 2.4.2Base Settings
1746 The <config:config-item> element contains all base settings. The value of the setting is stored in the element.   1801 The <config:config-item> element contains all base settings. The value of the setting is stored in the element.
1747 <define name="config-config-item">   1802 <define name="config-config-item">
1748         <element name="config:config-item">   1803         <element name="config:config-item">
1749                 <ref name="config-config-item-attlist"/>   1804                 <ref name="config-config-item-attlist"/>
1750                 <text/>   1805                 <text/>
1751         </element>   1806         </element>
1752 </define>   1807 </define>
1753 Config Name   1808 Config Name
1754 The config:name attribute identifies the name of the setting.   1809 The config:name attribute identifies the name of the setting.
1755 <define name="config-config-item-attlist" combine="interleave">   1810 <define name="config-config-item-attlist" combine="interleave">
1756         <attribute name="config:name">   1811         <attribute name="config:name">
1757                 <ref name="string"/>   1812                 <ref name="string"/>
1758         </attribute>   1813         </attribute>
1759 </define>   1814 </define>
1760 Config Type   1815 Config Type
1761 The config:type attribute identifies the data type of setting.   1816 The config:type attribute identifies the data type of setting.
1762 <define name="config-config-item-attlist" combine="interleave">   1817 <define name="config-config-item-attlist" combine="interleave">
1763         <attribute name="config:type">   1818         <attribute name="config:type">
1764                 <choice>   1819                 <choice>
1765                         <value>boolean</value>   1820                         <value>boolean</value>
1766                         <value>short</value>   1821                         <value>short</value>
1767                         <value>int</value>   1822                         <value>int</value>
1768                         <value>long</value>   1823                         <value>long</value>
1769                         <value>double</value>   1824                         <value>double</value>
1770                         <value>string</value>   1825                         <value>string</value>
1771                         <value>datetime</value>   1826                         <value>datetime</value>
1772                         <value>base64Binary</value>   1827                         <value>base64Binary</value>
1773                 </choice>   1828                 </choice>
1774         </attribute>   1829         </attribute>
1775 </define>   1830 </define>
1776 2.4.3Index Access of Sequences   1831 2.4.3Index Access of Sequences
1777 The <config:config-item-map-indexed> element is a container element for sequences. The order specifies the index of the elements   1832 The <config:config-item-map-indexed> element is a container element for sequences. The order specifies the index of the elements
1778 <define name="config-config-item-map-indexed">   1833 <define name="config-config-item-map-indexed">
1779         <element name="config:config-item-map-indexed">   1834         <element name="config:config-item-map-indexed">
1780                 <ref name="config-config-item-map-indexed-attlist"/>   1835                 <ref name="config-config-item-map-indexed-attlist"/>
1781                 <oneOrMore>   1836                 <oneOrMore>
1782                         <ref name="config-config-item-map-entry"/>   1837                         <ref name="config-config-item-map-entry"/>
1783                 </oneOrMore>   1838                 </oneOrMore>
1784         </element>   1839         </element>
1785 </define>   1840 </define>
1786 Config Name   1841 Config Name
1787 The config:name attribute identifies the name of the setting sequence.   1842 The config:name attribute identifies the name of the setting sequence.
1788 <define name="config-config-item-map-indexed-attlist" combine="interleave">   1843 <define name="config-config-item-map-indexed-attlist" combine="interleave">
1789         <attribute name="config:name">   1844         <attribute name="config:name">
1790                 <ref name="string"/>   1845                 <ref name="string"/>
1791         </attribute>   1846         </attribute>
1792 </define>   1847 </define>
1793 2.4.4Map Entry   1848 2.4.4Map Entry
1794 The <config:config-item-map-entry> element represents an entry in an indexed or named settings sequence. It is a container element for all types of setting elements.   1849 The <config:config-item-map-entry> element represents an entry in an indexed or named settings sequence. It is a container element for all types of setting elements.
1795 <define name="config-config-item-map-entry">   1850 <define name="config-config-item-map-entry">
1796         <element name="config:config-item-map-entry">   1851         <element name="config:config-item-map-entry">
1797                 <ref name="config-config-item-map-entry-attlist"/>   1852                 <ref name="config-config-item-map-entry-attlist"/>
1798                 <ref name="config-items"/>   1853                 <ref name="config-items"/>
1799         </element>   1854         </element>
1800 </define>   1855 </define>
1801 Config Name   1856 Config Name
1802 The config:name attribute identifies the name of the setting sequence.   1857 The config:name attribute identifies the name of the setting sequence.
1803 <define name="config-config-item-map-entry-attlist" combine="interleave">   1858 <define name="config-config-item-map-entry-attlist" combine="interleave">
1804         <optional>   1859         <optional>
1805                 <attribute name="config:name">   1860                 <attribute name="config:name">
1806                         <ref name="string"/>   1861                         <ref name="string"/>
1807                 </attribute>   1862                 </attribute>
1808         </optional>   1863         </optional>
1809 </define>   1864 </define>
1810 2.4.5Name Access of Sequences   1865 2.4.5Name Access of Sequences
1811 The <config:config-item-map-named> element is a container element for sequences, where each setting in the sequence is identified by its name.   1866 The <config:config-item-map-named> element is a container element for sequences, where each setting in the sequence is identified by its name.
1812 <define name="config-config-item-map-named">   1867 <define name="config-config-item-map-named">
1813         <element name="config:config-item-map-named">   1868         <element name="config:config-item-map-named">
1814                 <ref name="config-config-item-map-named-attlist"/>   1869                 <ref name="config-config-item-map-named-attlist"/>
1815                 <oneOrMore>   1870                 <oneOrMore>
1816                         <ref name="config-config-item-map-entry"/>   1871                         <ref name="config-config-item-map-entry"/>
1817                 </oneOrMore>   1872                 </oneOrMore>
1818         </element>   1873         </element>
1819 </define>   1874 </define>
1820 Config Name   1875 Config Name
1821 The config:name attribute identifies the name of the setting sequence.   1876 The config:name attribute identifies the name of the setting sequence.
1822 <define name="config-config-item-map-named-attlist" combine="interleave">   1877 <define name="config-config-item-map-named-attlist" combine="interleave">
1823         <attribute name="config:name">   1878         <attribute name="config:name">
1824                 <ref name="string"/>   1879                 <ref name="string"/>
1825         </attribute>   1880         </attribute>
1826 </define>   1881 </define>
1827 2.4.6Cursor Position Setting   1882 2.4.6Cursor Position Setting
1828 A common view setting for editing applications is the position where the text cursor was while saving the document. For WYSIWYG applications, this usually will be a position within a paragraph only. For applications that provide an XML based view of the document, the cursor position could be also between arbitrary elements, or even within tags.   1883 A common view setting for editing applications is the position where the text cursor was while saving the document. For WYSIWYG applications, this usually will be a position within a paragraph only. For applications that provide an XML based view of the document, the cursor position could be also between arbitrary elements, or even within tags.
1829 To represent a text cursor position within a document, a processing instruction with PITarget opendocument (see §2.6 of [XML1.0]) should be used. The name of the cursor position processing instruction, cursor-position, shall follow the PITarget opendocument. The processing instruction may have arbitrary application specific attributes, for instance to connect the cursor position with a certain view of the document, where the views themselves are specified as application specific settings. The syntax for these attributes shall be the same as for attributes within XML start tags.   1884 To represent a text cursor position within a document, a processing instruction with PITarget opendocument (see §2.6 of [XML1.0]) should be used. The name of the cursor position processing instruction, cursor-position, shall follow the PITarget opendocument. The processing instruction may have arbitrary application specific attributes, for instance to connect the cursor position with a certain view of the document, where the views themselves are specified as application specific settings. The syntax for these attributes shall be the same as for attributes within XML start tags.
1830 Where a text cursor position is not sufficient to recreate a document view, applications may use arbitrary document specific settings in addition to the cursor position processing instruction. They may also use arbitrary document specific settings if the cursor position is not a text cursor position, but for instance a selection of drawing objects.   1885 Where a text cursor position is not sufficient to recreate a document view, applications may use arbitrary document specific settings in addition to the cursor position processing instruction. They may also use arbitrary document specific settings if the cursor position is not a text cursor position, but for instance a selection of drawing objects.
1831 Example: cursor position processing instruction   1886 Example: cursor position processing instruction
1832 <text:p>This is<?opendocument cursor-position view-id="view1"?> an example.</text:p>   1887 <text:p>This is<?opendocument cursor-position view-id="view1"?> an example.</text:p>
1833 2.5Scripts   1888 2.5Scripts
1834 A document may contain several scripts in different scripting languages. Each script is represented by a <office:script> element. All these script elements are contained in a single <office:scripts> element.   1889 A document may contain several scripts in different scripting languages. Each script is represented by a <office:script> element. All these script elements are contained in a single <office:scripts> element.
1835 Scripts do not imply a scripting language or an object model. A script can operate on the Document Object Model (DOM) of a document in OpenDocument format or on an application specific API. <> 1890 Scripts do not imply a scripting language or an object model. A script can for instance operate on the Document Object Model (DOM) composed from the XML representation of a document in OpenDocument format (see [DOM2]), or on an application specific API.
1836 Scripts cannot modify a document while the document is loading. However, some events are called immediately after the document is loaded. = 1891 Scripts cannot modify a document while the document is loading. However, some events are called immediately after the document is loaded.
1837 In addition to <office:script> elements, the <office:scripts> element may also contain an <office:event-listeners> element which contains the events assigned to the document itself. Examples for these are events called when the document is opened or closed. See section 12.4 for more information on the <office:event-listeners> element.   1892 In addition to <office:script> elements, the <office:scripts> element may also contain an <office:event-listeners> element which contains the events assigned to the document itself. Examples for these are events called when the document is opened or closed. See section 12.4 for more information on the <office:event-listeners> element.
1838 <define name="office-scripts">   1893 <define name="office-scripts">
1839         <optional>   1894         <optional>
1840                 <element name="office:scripts">   1895                 <element name="office:scripts">
1841                         <zeroOrMore>   1896                         <zeroOrMore>
1842                                 <ref name="office-script"/>   1897                                 <ref name="office-script"/>
1843                         </zeroOrMore>   1898                         </zeroOrMore>
1844                         <optional>   1899                         <optional>
1845                                 <ref name="office-event-listeners"/>   1900                                 <ref name="office-event-listeners"/>
1846                         </optional>   1901                         </optional>
1847                 </element>   1902                 </element>
1848         </optional>   1903         </optional>
1849 </define>   1904 </define>
1850 2.5.1Script   1905 2.5.1Script
1851 The <office:script> element contains script language specific content. In most situations, the element contains the source code of the script, but it may also contain a compiled version of the script or a link to some external script code.   1906 The <office:script> element contains script language specific content. In most situations, the element contains the source code of the script, but it may also contain a compiled version of the script or a link to some external script code.
1852 <define name="office-script">   1907 <define name="office-script">
1853         <element name="office:script">   1908         <element name="office:script">
1854                 <ref name="office-script-attlist"/>   1909                 <ref name="office-script-attlist"/>
1855                 <mixed>   1910                 <mixed>
1856                         <ref name="anyElements"/>   1911                         <ref name="anyElements"/>
1857                 </mixed>   1912                 </mixed>
1858         </element>   1913         </element>
1859 </define>   1914 </define>
1860 Script Language   1915 Script Language
1861 The attribute script:language specifies the language of the script by its name. Since script language names are application specific, the name should be preceded by a namespace prefix.   1916 The attribute script:language specifies the language of the script by its name. Since script language names are application specific, the name should be preceded by a namespace prefix.
1862 <define name="office-script-attlist">   1917 <define name="office-script-attlist">
1863         <attribute name="script:language">   1918         <attribute name="script:language">
1864                 <ref name="string"/>   1919                 <ref name="string"/>
1865         </attribute>   1920         </attribute>
1866 </define>   1921 </define>
1867 2.6Font Face Declarations   1922 2.6Font Face Declarations
1868 A document in OpenDocument format may contain font face declarations. A font face declaration provides information about the fonts used by the author of a document, so that these fonts or fonts that are very close to these fonts may be located on other systems. See section 14.6 for details.   1923 A document in OpenDocument format may contain font face declarations. A font face declaration provides information about the fonts used by the author of a document, so that these fonts or fonts that are very close to these fonts may be located on other systems. See section 14.6 for details.
1869 <define name="office-font-face-decls">   1924 <define name="office-font-face-decls">
1870         <optional>   1925         <optional>
1871                 <element name="office:font-face-decls">   1926                 <element name="office:font-face-decls">
1872                         <zeroOrMore>   1927                         <zeroOrMore>
1873                                 <ref name="style-font-face"/>   1928                                 <ref name="style-font-face"/>
1874                         </zeroOrMore>   1929                         </zeroOrMore>
1875                 </element>   1930                 </element>
1876         </optional>   1931         </optional>
1877 </define>   1932 </define>
1878 2.7Styles   1933 2.7Styles
1879 The OpenDocument format supports the following types of styles:   1934 The OpenDocument format supports the following types of styles:
1880 Common styles   1935 Common styles
1881 Most office applications support styles within their user interface. Within this specification, the XML representations of such styles are referred to as styles. When a differentiation from the other types of styles is required, they are referred to as common styles. The term common indicates that this is the type of style that an office application user considers to be a style.   1936 Most office applications support styles within their user interface. Within this specification, the XML representations of such styles are referred to as styles. When a differentiation from the other types of styles is required, they are referred to as common styles. The term common indicates that this is the type of style that an office application user considers to be a style.
1882 Automatic styles   1937 Automatic styles
1883 An automatic style contains formatting properties that, in the user interface view of a document, are assigned to an object such as a paragraph. The term automatic indicates that the style is generated automatically. In other words, formatting properties that are immediately assigned to a specific object are represented by an automatic style. This way, a separation of content and layout is achieved.   1938 An automatic style contains formatting properties that, in the user interface view of a document, are assigned to an object such as a paragraph. The term automatic indicates that the style is generated automatically. In other words, formatting properties that are immediately assigned to a specific object are represented by an automatic style. This way, a separation of content and layout is achieved.
1884 Master styles   1939 Master styles
1885 A master style is a common style that contains formatting information and additional content that is displayed with the document content when the style is applied. An example of a master style are master pages. Master pages can be used in graphical applications. In this case, the additional content is any drawing shapes that are displayed as the background of the draw page. Master pages can also be used in text documents. In this case, the additional content is the headers and footers. Please note that the content that is contained within master styles is additional content that influences the representation of a document but does not change the content of a document.   1940 A master style is a common style that contains formatting information and additional content that is displayed with the document content when the style is applied. An example of a master style are master pages. Master pages can be used in graphical applications. In this case, the additional content is any drawing shapes that are displayed as the background of the draw page. Master pages can also be used in text documents. In this case, the additional content is the headers and footers. Please note that the content that is contained within master styles is additional content that influences the representation of a document but does not change the content of a document.
1886 As far as the office application user is concerned, all types of styles are part of the document. They represent the output device-independent layout and formatting information that the author of a document has used to create or edit the document. The assumption is that the author of the document wants this formatting and layout information to be preserved when the document is reloaded or displayed on any device, because this is common practice for documents created by word processors.   1941 As far as the office application user is concerned, all types of styles are part of the document. They represent the output device-independent layout and formatting information that the author of a document has used to create or edit the document. The assumption is that the author of the document wants this formatting and layout information to be preserved when the document is reloaded or displayed on any device, because this is common practice for documents created by word processors.
1887 This type of style information differs from [CSS2] or [XSLT] style sheets that are used to display a document. An additional style sheet for CSS, XSLT, and so on, is required to display a document in OpenDocument format on a certain device. This style sheet must take into account the styles in the document as well as the requirements and capabilities of the output device. The ideal case is that this style sheet depends on the output device only.   1942 This type of style information differs from [CSS2] or [XSLT] style sheets that are used to display a document. An additional style sheet for CSS, XSLT, and so on, is required to display a document in OpenDocument format on a certain device. This style sheet must take into account the styles in the document as well as the requirements and capabilities of the output device. The ideal case is that this style sheet depends on the output device only.
1888 See section 14 for more information on styles.   1943 See section 14 for more information on styles.
1889 2.7.1Location of Styles   1944 2.7.1Location of Styles
1890 Common and automatic styles have the same XML representation, but they are contained within two distinct container elements, as follows:   1945 Common and automatic styles have the same XML representation, but they are contained within two distinct container elements, as follows:
1891 <office:styles> for common styles   1946 <office:styles> for common styles
1892 <office:automatic-styles> for automatic styles   1947 <office:automatic-styles> for automatic styles
1893 Master styles are contained within a container element of its own:   1948 Master styles are contained within a container element of its own:
1894 <office:master-styles>   1949 <office:master-styles>
1895 <define name="office-styles">   1950 <define name="office-styles">
1896         <optional>   1951         <optional>
1897                 <element name="office:styles">   1952                 <element name="office:styles">
1898                         <interleave>   1953                         <interleave>
1899                                 <ref name="styles"/>   1954                                 <ref name="styles"/>
1900                                 <zeroOrMore>   1955                                 <zeroOrMore>
1901                                         <ref name="style-default-style"/>   1956                                         <ref name="style-default-style"/>
1902                                 </zeroOrMore>   1957                                 </zeroOrMore>
1903                                 <optional>   1958                                 <optional>
1904                                         <ref name="text-outline-style"/>   1959                                         <ref name="text-outline-style"/>
1905                                 </optional>   1960                                 </optional>
1906                                 <zeroOrMore>   1961                                 <zeroOrMore>
1907                                         <ref name="text-notes-configuration"/>   1962                                         <ref name="text-notes-configuration"/>
1908                                 </zeroOrMore>   1963                                 </zeroOrMore>
1909                                 <optional>   1964                                 <optional>
1910                                         <ref name="text-bibliography-configuration"/>   1965                                         <ref name="text-bibliography-configuration"/>
1911                                 </optional>   1966                                 </optional>
1912                                 <optional>   1967                                 <optional>
1913                                         <ref name="text-linenumbering-configuration"/>   1968                                         <ref name="text-linenumbering-configuration"/>
1914                                 </optional>   1969                                 </optional>
1915                                 <zeroOrMore>   1970                                 <zeroOrMore>
1916                                         <ref name="draw-gradient"/>   1971                                         <ref name="draw-gradient"/>
1917                                 </zeroOrMore>   1972                                 </zeroOrMore>
1918                                 <zeroOrMore>   1973                                 <zeroOrMore>
1919                                         <ref name="svg-linearGradient"/>   1974                                         <ref name="svg-linearGradient"/>
1920                                 </zeroOrMore>   1975                                 </zeroOrMore>
1921                                 <zeroOrMore>   1976                                 <zeroOrMore>
1922                                         <ref name="svg-radialGradient"/>   1977                                         <ref name="svg-radialGradient"/>
1923                                 </zeroOrMore>   1978                                 </zeroOrMore>
1924                                 <zeroOrMore>   1979                                 <zeroOrMore>
1925                                         <ref name="draw-hatch"/>   1980                                         <ref name="draw-hatch"/>
1926                                 </zeroOrMore>   1981                                 </zeroOrMore>
1927                                 <zeroOrMore>   1982                                 <zeroOrMore>
1928                                         <ref name="draw-fill-image"/>   1983                                         <ref name="draw-fill-image"/>
1929                                 </zeroOrMore>   1984                                 </zeroOrMore>
1930                                 <zeroOrMore>   1985                                 <zeroOrMore>
1931                                         <ref name="draw-marker"/>   1986                                         <ref name="draw-marker"/>
1932                                 </zeroOrMore>   1987                                 </zeroOrMore>
1933                                 <zeroOrMore>   1988                                 <zeroOrMore>
1934                                         <ref name="draw-stroke-dash"/>   1989                                         <ref name="draw-stroke-dash"/>
1935                                 </zeroOrMore>   1990                                 </zeroOrMore>
1936                                 <zeroOrMore>   1991                                 <zeroOrMore>
1937                                         <ref name="draw-opacity"/>   1992                                         <ref name="draw-opacity"/>
1938                                 </zeroOrMore>   1993                                 </zeroOrMore>
1939                                 <zeroOrMore>   1994                                 <zeroOrMore>
1940                                         <ref name="style-presentation-page-layout"/>   1995                                         <ref name="style-presentation-page-layout"/>
1941                                 </zeroOrMore>   1996                                 </zeroOrMore>
1942                         </interleave>   1997                         </interleave>
1943                 </element>   1998                 </element>
1944         </optional>   1999         </optional>
1945 </define>   2000 </define>
1946 <define name="office-automatic-styles">   2001 <define name="office-automatic-styles">
1947         <optional>   2002         <optional>
1948                 <element name="office:automatic-styles">   2003                 <element name="office:automatic-styles">
1949                         <interleave>   2004                         <interleave>
1950                                 <ref name="styles"/>   2005                                 <ref name="styles"/>
1951                                 <zeroOrMore>   2006                                 <zeroOrMore>
1952                                         <ref name="style-page-layout"/>   2007                                         <ref name="style-page-layout"/>
1953                                 </zeroOrMore>   2008                                 </zeroOrMore>
1954                         </interleave>   2009                         </interleave>
1955                 </element>   2010                 </element>
1956         </optional>   2011         </optional>
1957 </define>   2012 </define>
1958 <define name="office-master-styles">   2013 <define name="office-master-styles">
1959         <optional>   2014         <optional>
1960                 <element name="office:master-styles">   2015                 <element name="office:master-styles">
1961                         <interleave>   2016                         <interleave>
1962                                 <zeroOrMore>   2017                                 <zeroOrMore>
1963                                         <ref name="style-master-page"/>   2018                                         <ref name="style-master-page"/>
1964                                 </zeroOrMore>   2019                                 </zeroOrMore>
1965                                 <optional>   2020                                 <optional>
1966                                         <ref name="style-handout-master"/>   2021                                         <ref name="style-handout-master"/>
1967                                 </optional>   2022                                 </optional>
1968                                 <optional>   2023                                 <optional>
1969                                         <ref name="draw-layer-set"/>   2024                                         <ref name="draw-layer-set"/>
1970                                 </optional>   2025                                 </optional>
1971                         </interleave>   2026                         </interleave>
1972                 </element>   2027                 </element>
1973         </optional>   2028         </optional>
1974 </define>   2029 </define>
1975     2030  
1976 <define name="styles">   2031 <define name="styles">
1977         <interleave>   2032         <interleave>
1978                 <zeroOrMore>   2033                 <zeroOrMore>
1979                         <ref name="style-style"/>   2034                         <ref name="style-style"/>
1980                 </zeroOrMore>   2035                 </zeroOrMore>
1981                 <zeroOrMore>   2036                 <zeroOrMore>
1982                         <ref name="text-list-style"/>   2037                         <ref name="text-list-style"/>
1983                 </zeroOrMore>   2038                 </zeroOrMore>
1984                 <zeroOrMore>   2039                 <zeroOrMore>
1985                         <ref name="number-number-style"/>   2040                         <ref name="number-number-style"/>
1986                 </zeroOrMore>   2041                 </zeroOrMore>
1987                 <zeroOrMore>   2042                 <zeroOrMore>
1988                         <ref name="number-currency-style"/>   2043                         <ref name="number-currency-style"/>
1989                 </zeroOrMore>   2044                 </zeroOrMore>
1990                 <zeroOrMore>   2045                 <zeroOrMore>
1991                         <ref name="number-percentage-style"/>   2046                         <ref name="number-percentage-style"/>
1992                 </zeroOrMore>   2047                 </zeroOrMore>
1993                 <zeroOrMore>   2048                 <zeroOrMore>
1994                         <ref name="number-date-style"/>   2049                         <ref name="number-date-style"/>
1995                 </zeroOrMore>   2050                 </zeroOrMore>
1996                 <zeroOrMore>   2051                 <zeroOrMore>
1997                         <ref name="number-time-style"/>   2052                         <ref name="number-time-style"/>
1998                 </zeroOrMore>   2053                 </zeroOrMore>
1999                 <zeroOrMore>   2054                 <zeroOrMore>
2000                         <ref name="number-boolean-style"/>   2055                         <ref name="number-boolean-style"/>
2001                 </zeroOrMore>   2056                 </zeroOrMore>
2002                 <zeroOrMore>   2057                 <zeroOrMore>
2003                         <ref name="number-text-style"/>   2058                         <ref name="number-text-style"/>
2004                 </zeroOrMore>   2059                 </zeroOrMore>
2005         </interleave>   2060         </interleave>
2006 </define>   2061 </define>
2007 The following examples illustrate the different types of OpenDocument styles.   2062 The following examples illustrate the different types of OpenDocument styles.
2008 Example: OpenDocument styles   2063 Example: OpenDocument styles
2009 <office:document ...>   2064 <office:document ...>
2010         <office:styles>   2065         <office:styles>
2011                 ...   2066                 ...
2012         </office:styles>   2067         </office:styles>
2013         <office:automatic-styles>   2068         <office:automatic-styles>
2014                 ...   2069                 ...
2015         </office:automatic-styles>   2070         </office:automatic-styles>
2016         <office:master-styles>   2071         <office:master-styles>
2017                 ...   2072                 ...
2018         </office:master-styles>   2073         </office:master-styles>
2019 </office:document>   2074 </office:document>
2020 2.8Page Styles and Layout   2075 2.8Page Styles and Layout
2021 The style and layout of the pages in a document is determined by:   2076 The style and layout of the pages in a document is determined by:
2022 Page Layouts   2077 Page Layouts
2023 Master Pages   2078 Master Pages
2024 A page layout describes the physical properties or geometry of a page, for example, page size, margins, header height, and footer height.   2079 A page layout describes the physical properties or geometry of a page, for example, page size, margins, header height, and footer height.
2025 A master page is a template for pages in a document. It contains a reference to a page layout which specifies the physical properties of the page and can also contain static content that is displayed on all pages in the document that use the master page. Examples of static content are headers, footers, or background graphics.   2080 A master page is a template for pages in a document. It contains a reference to a page layout which specifies the physical properties of the page and can also contain static content that is displayed on all pages in the document that use the master page. Examples of static content are headers, footers, or background graphics.
2026 If a text or spreadsheet document is displayed in a paged layout, the master pages are instantiated to generate a sequence of pages containing the document content. When a master page is instantiated, an empty page is generated with the properties of the page master and the static content of the master page. The body of the page is then filled with content. If multiple pages in a document use the same master page, the master page can be instantiated several times within the document.   2081 If a text or spreadsheet document is displayed in a paged layout, the master pages are instantiated to generate a sequence of pages containing the document content. When a master page is instantiated, an empty page is generated with the properties of the page master and the static content of the master page. The body of the page is then filled with content. If multiple pages in a document use the same master page, the master page can be instantiated several times within the document.
2027 In text and spreadsheet documents, a master page can be assigned to paragraph and table styles using a style:master-page-name attribute. Each time the paragraph or table style is applied to text, a page break is inserted before the paragraph or table. The page that starts at the page break position uses the specified master page.   2082 In text and spreadsheet documents, a master page can be assigned to paragraph and table styles using a style:master-page-name attribute. Each time the paragraph or table style is applied to text, a page break is inserted before the paragraph or table. The page that starts at the page break position uses the specified master page.
2028 In drawings and presentations, master pages can be assigned to drawing pages using a style:parent-style-name attribute.   2083 In drawings and presentations, master pages can be assigned to drawing pages using a style:parent-style-name attribute.
2029 Note: The OpenDocument paging methodology differs significantly from the methodology used in [XSL]. In XSL, headers and footers are contained within page sequences that also contain the document content. In the OpenDocument format, headers and footers are contained in page styles. With either approach, the content of headers and footers can be changed or omitted without affecting the document content.   2084 Note: The OpenDocument paging methodology differs significantly from the methodology used in [XSL]. In XSL, headers and footers are contained within page sequences that also contain the document content. In the OpenDocument format, headers and footers are contained in page styles. With either approach, the content of headers and footers can be changed or omitted without affecting the document content.
2030 Page layouts are described in section 14.3. Master pages are described in section 14.4.   2085 Page layouts are described in section 14.3. Master pages are described in section 14.4.
2031 3Meta Data Elements <> 2086 3Metadata Elements
2032 The metadata elements borrow heavily upon the metadata standards developed by the Dublin Core Metadata Initiative (http://www.dublincore.org). Metadata elements drawn directly from the Dublin Core work use its namespace prefix (see section 1.3). = 2087 The metadata elements borrow heavily upon the metadata standards developed by the Dublin Core Metadata Initiative (http://www.dublincore.org). Metadata elements drawn directly from the Dublin Core work use its namespace prefix (see section 1.3).
2033 3.1Pre-Defined Metadata Elements   2088 3.1Pre-Defined Metadata Elements
2034 There is a set of pre-defined metadata elements which should be processed and updated by the applications. Metadata elements may be omitted or occur multiple times. It is application-specific how to update multiple instances of the same elements.   2089 There is a set of pre-defined metadata elements which should be processed and updated by the applications. Metadata elements may be omitted or occur multiple times. It is application-specific how to update multiple instances of the same elements.
2035 3.1.1Generator   2090 3.1.1Generator
2036 The <meta:generator> element contains a string that identifies the application or tool that was used to create or last modify the XML document. This string should match the definition for user-agents in the HTTP protocol a specified in section 14.43 of [RFC2616]. The generator string should allow product versions to differ between all released versions of a user agent, for instance by including build ids or patch level information.   2091 The <meta:generator> element contains a string that identifies the application or tool that was used to create or last modify the XML document. This string should match the definition for user-agents in the HTTP protocol a specified in section 14.43 of [RFC2616]. The generator string should allow product versions to differ between all released versions of a user agent, for instance by including build ids or patch level information.
2037 Conforming applications may use the generator string to work around bugs that exist or existed in certain applications, but shall not deliberately implement a different behavior depending on a certain generator string.   2092 Conforming applications may use the generator string to work around bugs that exist or existed in certain applications, but shall not deliberately implement a different behavior depending on a certain generator string.
2038 If the application that created the document could not provide an identifier string, the application does not export this element. If another application modifies the document and it cannot provide a unique identifier, it shall not export the original identifier belonging to the application that created the document.   2093 If the application that created the document could not provide an identifier string, the application does not export this element. If another application modifies the document and it cannot provide a unique identifier, it shall not export the original identifier belonging to the application that created the document.
2039 <define name="office-meta-data" combine="choice">   2094 <define name="office-meta-data" combine="choice">
2040         <element name="meta:generator">   2095         <element name="meta:generator">
2041                 <ref name="string"/>   2096                 <ref name="string"/>
2042         </element>   2097         </element>
2043 </define>   2098 </define>
2044 3.1.2Title   2099 3.1.2Title
2045 The <dc:title> element specifies the title of the document.   2100 The <dc:title> element specifies the title of the document.
2046 <define name="office-meta-data" combine="choice">   2101 <define name="office-meta-data" combine="choice">
2047         <element name="dc:title">   2102         <element name="dc:title">
2048                 <ref name="string"/>   2103                 <ref name="string"/>
2049         </element>   2104         </element>
2050 </define>   2105 </define>
2051 3.1.3Description   2106 3.1.3Description
2052 The <dc:description> element contains a brief description of the document.   2107 The <dc:description> element contains a brief description of the document.
2053 <define name="office-meta-data" combine="choice">   2108 <define name="office-meta-data" combine="choice">
2054         <element name="dc:description">   2109         <element name="dc:description">
2055                 <ref name="string"/>   2110                 <ref name="string"/>
2056         </element>   2111         </element>
2057 </define>   2112 </define>
2058 3.1.4Subject   2113 3.1.4Subject
2059 The <dc:subject> element specifies the subject of the document.   2114 The <dc:subject> element specifies the subject of the document.
2060 <define name="office-meta-data" combine="choice">   2115 <define name="office-meta-data" combine="choice">
2061         <element name="dc:subject">   2116         <element name="dc:subject">
2062                 <ref name="string"/>   2117                 <ref name="string"/>
2063         </element>   2118         </element>
2064 </define>   2119 </define>
2065 3.1.5Keywords   2120 3.1.5Keywords
2066 The <meta:keyword> element contains a keyword pertaining to the document. The metadata can contain any number of <meta:keyword> elements, each element specifying one keyword.   2121 The <meta:keyword> element contains a keyword pertaining to the document. The metadata can contain any number of <meta:keyword> elements, each element specifying one keyword.
2067 <define name="office-meta-data" combine="choice">   2122 <define name="office-meta-data" combine="choice">
2068         <element name="meta:keyword">   2123         <element name="meta:keyword">
2069                 <ref name="string"/>   2124                 <ref name="string"/>
2070         </element>   2125         </element>
2071 </define>   2126 </define>
2072 3.1.6Initial Creator   2127 3.1.6Initial Creator
2073 The <meta:initial-creator> element specifies the name of the person who created the document initially.   2128 The <meta:initial-creator> element specifies the name of the person who created the document initially.
2074 <define name="office-meta-data" combine="choice">   2129 <define name="office-meta-data" combine="choice">
2075         <element name="meta:initial-creator">   2130         <element name="meta:initial-creator">
2076                 <ref name="string"/>   2131                 <ref name="string"/>
2077         </element>   2132         </element>
2078 </define>   2133 </define>
2079 3.1.7Creator   2134 3.1.7Creator
2080 The <dc:creator> element specifies the name of the person who last modified the document. The name of this element was chosen for compatibility with the Dublin Core, but this definition of "creator" used here differs from Dublin Core, which defines creator as "An entity primarily responsible for making the content of the resource." In OpenDocument terminology, the last person to modify the document is primarily responsible for making the content of the document.   2135 The <dc:creator> element specifies the name of the person who last modified the document. The name of this element was chosen for compatibility with the Dublin Core, but this definition of "creator" used here differs from Dublin Core, which defines creator as "An entity primarily responsible for making the content of the resource." In OpenDocument terminology, the last person to modify the document is primarily responsible for making the content of the document.
2081 <define name="office-meta-data" combine="choice">   2136 <define name="office-meta-data" combine="choice">
2082         <ref name="dc-creator"/>   2137         <ref name="dc-creator"/>
2083 </define>   2138 </define>
2084 <define name="dc-creator">   2139 <define name="dc-creator">
2085         <element name="dc:creator">   2140         <element name="dc:creator">
2086                 <ref name="string"/>   2141                 <ref name="string"/>
2087         </element>   2142         </element>
2088 </define>   2143 </define>
2089 3.1.8Printed By   2144 3.1.8Printed By
2090 The <meta:printed-by> element specifies the name of the last person who printed the document.   2145 The <meta:printed-by> element specifies the name of the last person who printed the document.
2091 <define name="office-meta-data" combine="choice">   2146 <define name="office-meta-data" combine="choice">
2092         <element name="meta:printed-by">   2147         <element name="meta:printed-by">
2093                 <ref name="string"/>   2148                 <ref name="string"/>
2094         </element>   2149         </element>
2095 </define>   2150 </define>
2096 3.1.9Creation Date and Time   2151 3.1.9Creation Date and Time
2097 The <meta:creation-date> element specifies the date and time when the document was created initially.   2152 The <meta:creation-date> element specifies the date and time when the document was created initially.
2098 To conform with [xmlschema-2], the date and time format is YYYY-MM-DDThh:mm:ss.   2153 To conform with [xmlschema-2], the date and time format is YYYY-MM-DDThh:mm:ss.
2099 <define name="office-meta-data" combine="choice">   2154 <define name="office-meta-data" combine="choice">
2100         <element name="meta:creation-date">   2155         <element name="meta:creation-date">
2101                 <ref name="dateTime"/>   2156                 <ref name="dateTime"/>
2102         </element>   2157         </element>
2103 </define>   2158 </define>
2104 3.1.10Modification Date and Time   2159 3.1.10Modification Date and Time
2105 The <dc:date> element specifies the date and time when the document was last modified.   2160 The <dc:date> element specifies the date and time when the document was last modified.
2106 To conform with [xmlschema-2], the date and time format is YYYY-MM-DDThh:mm:ss.   2161 To conform with [xmlschema-2], the date and time format is YYYY-MM-DDThh:mm:ss.
2107 The name of this element was chosen for compatibility with the Dublin Core.   2162 The name of this element was chosen for compatibility with the Dublin Core.
2108 <define name="office-meta-data" combine="choice">   2163 <define name="office-meta-data" combine="choice">
2109         <ref name="dc-date"/>   2164         <ref name="dc-date"/>
2110 </define>   2165 </define>
2111 <define name="dc-date">   2166 <define name="dc-date">
2112         <element name="dc:date">   2167         <element name="dc:date">
2113                 <ref name="dateTime"/>   2168                 <ref name="dateTime"/>
2114         </element>   2169         </element>
2115 </define>   2170 </define>
2116 3.1.11Print Date and Time   2171 3.1.11Print Date and Time
2117 The <meta:print-date> element specifies the date and time when the document was last printed.   2172 The <meta:print-date> element specifies the date and time when the document was last printed.
2118 To conform with [xmlschema-2], the date and time format is YYYY-MM-DDThh:mm:ss.   2173 To conform with [xmlschema-2], the date and time format is YYYY-MM-DDThh:mm:ss.
2119 <define name="office-meta-data" combine="choice">   2174 <define name="office-meta-data" combine="choice">
2120         <element name="meta:print-date">   2175         <element name="meta:print-date">
2121                 <ref name="dateTime"/>   2176                 <ref name="dateTime"/>
2122         </element>   2177         </element>
2123 </define>   2178 </define>
2124 3.1.12Document Template   2179 3.1.12Document Template
2125 The <meta:template> element contains a URL for the document template that was used to create the document. The URL is specified as an XLink.   2180 The <meta:template> element contains a URL for the document template that was used to create the document. The URL is specified as an XLink.
2126 This element conforms to the XLink Specification. See [XLink].   2181 This element conforms to the XLink Specification. See [XLink].
2127 The attributes that may be associated with the <meta:template> element are:   2182 The attributes that may be associated with the <meta:template> element are:
2128 Template location   2183 Template location
2129 Template title   2184 Template title
2130 Template modification date and time   2185 Template modification date and time
2131 Template Location   2186 Template Location
2132 An xlink:href attribute specifies the location of the document template.   2187 An xlink:href attribute specifies the location of the document template.
2133 Template Title   2188 Template Title
2134 The xlink:title attribute specifies the name of the document template.   2189 The xlink:title attribute specifies the name of the document template.
2135 Template Modification Date and Time   2190 Template Modification Date and Time
2136 The meta:date attribute specifies the date and time when the template was last modified, prior to being used to create the current document.   2191 The meta:date attribute specifies the date and time when the template was last modified, prior to being used to create the current document.
2137 To conform with [xmlschema-2], the date and time format is YYYY-MM-DDThh:mm:ss.   2192 To conform with [xmlschema-2], the date and time format is YYYY-MM-DDThh:mm:ss.
2138 <define name="office-meta-data" combine="choice">   2193 <define name="office-meta-data" combine="choice">
2139         <element name="meta:template">   2194         <element name="meta:template">
2140                 <attribute name="xlink:href">   2195                 <attribute name="xlink:href">
2141                         <ref name="anyURI"/>   2196                         <ref name="anyURI"/>
2142                 </attribute>   2197                 </attribute>
2143                 <optional>   2198                 <optional>
2144                         <attribute name="xlink:type" a:defaultValue="simple">   2199                         <attribute name="xlink:type" a:defaultValue="simple">
2145                                 <value>simple</value>   2200                                 <value>simple</value>
2146                         </attribute>   2201                         </attribute>
2147                 </optional>   2202                 </optional>
2148                 <optional>   2203                 <optional>
2149                         <attribute name="xlink:actuate" a:defaultValue="onRequest">   2204                         <attribute name="xlink:actuate" a:defaultValue="onRequest">
2150                                 <value>onRequest</value>   2205                                 <value>onRequest</value>
2151                         </attribute>   2206                         </attribute>
2152                 </optional>   2207                 </optional>
2153                 <optional>   2208                 <optional>
2154                         <attribute name="xlink:title">   2209                         <attribute name="xlink:title">
2155                                 <ref name="string"/>   2210                                 <ref name="string"/>
2156                         </attribute>   2211                         </attribute>
2157                 </optional>   2212                 </optional>
2158                 <optional>   2213                 <optional>
2159                         <attribute name="meta:date">   2214                         <attribute name="meta:date">
2160                                 <ref name="dateTime"/>   2215                                 <ref name="dateTime"/>
2161                         </attribute>   2216                         </attribute>
2162                 </optional>   2217                 </optional>
2163         </element>   2218         </element>
2164 </define>   2219 </define>
2165 3.1.13Automatic Reload   2220 3.1.13Automatic Reload
2166 The <meta:auto-reload> element specifies whether a document is reloaded or replaced by another document after a certain period of time has elapsed.   2221 The <meta:auto-reload> element specifies whether a document is reloaded or replaced by another document after a certain period of time has elapsed.
2167 The attributes that may be associated with the <meta:auto-reload> element are:   2222 The attributes that may be associated with the <meta:auto-reload> element are:
2168 Reload URL   2223 Reload URL
2169 Reload delay   2224 Reload delay
2170 Reload URL   2225 Reload URL
2171 If a loaded document should be replaced by another document after a certain period of time, the <meta:auto-reload> element is presented as an XLink. An xlink:href attribute identifies the URL of the replacement document.   2226 If a loaded document should be replaced by another document after a certain period of time, the <meta:auto-reload> element is presented as an XLink. An xlink:href attribute identifies the URL of the replacement document.
2172 Reload Delay   2227 Reload Delay
2173 The meta:delay attribute specifies the reload delay.   2228 The meta:delay attribute specifies the reload delay.
2174 To conform with the duration data type of  [xmlschema-2], the format of the value of this attribute is PnYnMnDTnHnMnS. See §3.2.6 of [xmlschema-2] for more detailed information on this duration format.   2229 To conform with the duration data type of  [xmlschema-2], the format of the value of this attribute is PnYnMnDTnHnMnS. See §3.2.6 of [xmlschema-2] for more detailed information on this duration format.
2175 <define name="office-meta-data" combine="choice">   2230 <define name="office-meta-data" combine="choice">
2176         <element name="meta:auto-reload">   2231         <element name="meta:auto-reload">
2177                 <optional>   2232                 <optional>
2178                         <attribute name="xlink:type" a:defaultValue="simple">   2233                         <attribute name="xlink:type" a:defaultValue="simple">
2179                                 <value>simple</value>   2234                                 <value>simple</value>
2180                         </attribute>   2235                         </attribute>
2181                 </optional>   2236                 </optional>
2182                 <optional>   2237                 <optional>
2183                         <attribute name="xlink:show" a:defaultValue="replace">   2238                         <attribute name="xlink:show" a:defaultValue="replace">
2184                                 <value>replace</value>   2239                                 <value>replace</value>
2185                         </attribute>   2240                         </attribute>
2186                 </optional>   2241                 </optional>
2187                 <optional>   2242                 <optional>
2188                         <attribute name="xlink:actuate" a:defaultValue="onLoad">   2243                         <attribute name="xlink:actuate" a:defaultValue="onLoad">
2189                                 <value>onLoad</value>   2244                                 <value>onLoad</value>
2190                         </attribute>   2245                         </attribute>
2191                 </optional>   2246                 </optional>
2192                 <optional>   2247                 <optional>
2193                         <attribute name="xlink:href">   2248                         <attribute name="xlink:href">
2194                                 <ref name="anyURI"/>   2249                                 <ref name="anyURI"/>
2195                         </attribute>   2250                         </attribute>
2196                 </optional>   2251                 </optional>
2197                 <optional>   2252                 <optional>
2198                         <attribute name="meta:delay">   2253                         <attribute name="meta:delay">
2199                                 <ref name="duration"/>   2254                                 <ref name="duration"/>
2200                         </attribute>   2255                         </attribute>
2201                 </optional>   2256                 </optional>
2202         </element>   2257         </element>
2203 </define>   2258 </define>
2204 3.1.14Hyperlink Behavior   2259 3.1.14Hyperlink Behavior
2205 The <meta:hyperlink-behaviour> element specifies the default behavior for hyperlinks in the document.   2260 The <meta:hyperlink-behaviour> element specifies the default behavior for hyperlinks in the document.
2206 The only attribute that may be associated with the <meta:hyperlink-behaviour> element is:   2261 The only attribute that may be associated with the <meta:hyperlink-behaviour> element is:
2207 Target frame   2262 Target frame
2208 Target Frame   2263 Target Frame
2209 The meta:target-frame-name attribute specifies the name of the default target frame in which to display a document referenced by a hyperlink.   2264 The meta:target-frame-name attribute specifies the name of the default target frame in which to display a document referenced by a hyperlink.
2210 This attribute can have one of the following values:   2265 This attribute can have one of the following values:
2211 _self : The referenced document replaces the content of the current frame.   2266 _self : The referenced document replaces the content of the current frame.
2212 _blank : The referenced document is displayed in a new frame.   2267 _blank : The referenced document is displayed in a new frame.
2213 _parent : The referenced document is displayed in the parent frame of the current frame.   2268 _parent : The referenced document is displayed in the parent frame of the current frame.
2214 _top : The referenced document is displayed in the topmost frame, that is the frame that contains the current frame as a child or descendent but is not contained within another frame.   2269 _top : The referenced document is displayed in the topmost frame, that is the frame that contains the current frame as a child or descendent but is not contained within another frame.
2215 A frame name : The referenced document is displayed in the named frame. If the named frame does not exist, a new frame with that name is created.   2270 A frame name : The referenced document is displayed in the named frame. If the named frame does not exist, a new frame with that name is created.
2216 To conform with the XLink Specification, an additional xlink:show attribute is attached to the <meta:hyperlink-behaviour> element. If the value of the meta:target-frame-name attribute is _blank, the xlink:show attribute value is new. If the value of the meta:target-frame-name attribute is any of the other value options, the value of the xlink:show attribute is replace.   2271 To conform with the XLink Specification, an additional xlink:show attribute is attached to the <meta:hyperlink-behaviour> element. If the value of the meta:target-frame-name attribute is _blank, the xlink:show attribute value is new. If the value of the meta:target-frame-name attribute is any of the other value options, the value of the xlink:show attribute is replace.
2217 <define name="office-meta-data" combine="choice">   2272 <define name="office-meta-data" combine="choice">
2218         <element name="meta:hyperlink-behaviour">   2273         <element name="meta:hyperlink-behaviour">
2219                 <optional>   2274                 <optional>
2220                         <attribute name="office:target-frame-name">   2275                         <attribute name="office:target-frame-name">
2221                                 <ref name="targetFrameName"/>   2276                                 <ref name="targetFrameName"/>
2222                         </attribute>   2277                         </attribute>
2223                 </optional>   2278                 </optional>
2224                 <optional>   2279                 <optional>
2225                         <attribute name="xlink:show">   2280                         <attribute name="xlink:show">
2226                                 <choice>   2281                                 <choice>
2227                                         <value>new</value>   2282                                         <value>new</value>
2228                                         <value>replace</value>   2283                                         <value>replace</value>
2229                                 </choice>   2284                                 </choice>
2230                         </attribute>   2285                         </attribute>
2231                 </optional>   2286                 </optional>
2232         </element>   2287         </element>
2233 </define>   2288 </define>
2234 3.1.15Language   2289 3.1.15Language
2235 The <dc:language> element specifies the default language of the document.   2290 The <dc:language> element specifies the default language of the document.
2236 The manner in which the language is represented is similar to the language tag described in [RFC3066]. It consists of a two or three letter Language Code taken from the ISO 639 standard optionally followed by a hyphen (-) and a two-letter Country Code taken from the ISO 3166 standard.   2291 The manner in which the language is represented is similar to the language tag described in [RFC3066]. It consists of a two or three letter Language Code taken from the ISO 639 standard optionally followed by a hyphen (-) and a two-letter Country Code taken from the ISO 3166 standard.
2237 <define name="office-meta-data" combine="choice">   2292 <define name="office-meta-data" combine="choice">
2238         <element name="dc:language">   2293         <element name="dc:language">
2239                 <ref name="language"/>   2294                 <ref name="language"/>
2240         </element>   2295         </element>
2241 </define>   2296 </define>
2242 3.1.16Editing Cycles   2297 3.1.16Editing Cycles
2243 The <meta:editing-cycles> element specifies the number of editing cycles the document has been through.   2298 The <meta:editing-cycles> element specifies the number of editing cycles the document has been through.
2244 The value of this element is incremented every time the document is saved. The element contains the number of editing cycles as text.   2299 The value of this element is incremented every time the document is saved. The element contains the number of editing cycles as text.
2245 <define name="office-meta-data" combine="choice">   2300 <define name="office-meta-data" combine="choice">
2246         <element name="meta:editing-cycles">   2301         <element name="meta:editing-cycles">
2247                 <ref name="nonNegativeInteger"/>   2302                 <ref name="nonNegativeInteger"/>
2248         </element>   2303         </element>
2249 </define>   2304 </define>
2250 3.1.17Editing Duration   2305 3.1.17Editing Duration
2251 The <meta:editing-duration> element specifies the total time spent editing the document.   2306 The <meta:editing-duration> element specifies the total time spent editing the document.
2252 The duration is represented in the duration data type of [xmlschema-2], that is PnYnMnDTnHnMnS. See §3.2.6 of [xmlschema-2] for more detailed information on this duration format.   2307 The duration is represented in the duration data type of [xmlschema-2], that is PnYnMnDTnHnMnS. See §3.2.6 of [xmlschema-2] for more detailed information on this duration format.
2253 <define name="office-meta-data" combine="choice">   2308 <define name="office-meta-data" combine="choice">
2254         <element name="meta:editing-duration">   2309         <element name="meta:editing-duration">
2255                 <ref name="duration"/>   2310                 <ref name="duration"/>
2256         </element>   2311         </element>
2257 </define>   2312 </define>
2258 3.1.18Document Statistics   2313 3.1.18Document Statistics
2259 The <meta:document-statistic> element specifies the statistics of the document, for example, the page count, word count, and so on. The statistics are specified as attributes of the <meta:document-statistic> element and the statistics that are exported with the document depend on the document type and the application used to create the document.   2314 The <meta:document-statistic> element specifies the statistics of the document, for example, the page count, word count, and so on. The statistics are specified as attributes of the <meta:document-statistic> element and the statistics that are exported with the document depend on the document type and the application used to create the document.
2260 Document Type   2315 Document Type
2261 Document Statistics Attributes   2316 Document Statistics Attributes
2262 Text   2317 Text
2263 meta:page-count   2318 meta:page-count
2264 meta:table-count   2319 meta:table-count
2265 meta:draw-count   2320 meta:draw-count
2266 meta:image-count   2321 meta:image-count
    -+ 2322 meta:object-count
2267 meta:ole-object-count = 2323 meta:ole-object-count
2268 meta:paragraph-count   2324 meta:paragraph-count
2269 meta:word-count   2325 meta:word-count
2270 meta:character-count   2326 meta:character-count
2271 meta:row-count   2327 meta:row-count
2272 meta:frame-count   2328 meta:frame-count
2273 meta:sentence-count   2329 meta:sentence-count
2274 meta:syllable-count   2330 meta:syllable-count
2275 meta:non-whitespace-character-count   2331 meta:non-whitespace-character-count
2276 Spreadsheet   2332 Spreadsheet
2277 meta:page-count   2333 meta:page-count
2278 meta:table-count   2334 meta:table-count
2279 meta:image-count   2335 meta:image-count
2280 meta:cell-count   2336 meta:cell-count
2281 meta:object-count   2337 meta:object-count
2282 Graphic   2338 Graphic
2283 meta:page-count   2339 meta:page-count
2284 meta:image-count   2340 meta:image-count
2285 meta:object-count   2341 meta:object-count
2286 <define name="office-meta-data" combine="choice">   2342 <define name="office-meta-data" combine="choice">
2287         <element name="meta:document-statistic">   2343         <element name="meta:document-statistic">
2288                 <optional>   2344                 <optional>
2289                         <attribute name="meta:page-count">   2345                         <attribute name="meta:page-count">
2290                                 <ref name="nonNegativeInteger"/>   2346                                 <ref name="nonNegativeInteger"/>
2291                         </attribute>   2347                         </attribute>
2292                 </optional>   2348                 </optional>
2293                 <optional>   2349                 <optional>
2294                         <attribute name="meta:table-count">   2350                         <attribute name="meta:table-count">
2295                                 <ref name="nonNegativeInteger"/>   2351                                 <ref name="nonNegativeInteger"/>
2296                         </attribute>   2352                         </attribute>
2297                 </optional>   2353                 </optional>
2298                 <optional>   2354                 <optional>
2299                         <attribute name="meta:draw-count">   2355                         <attribute name="meta:draw-count">
2300                                 <ref name="nonNegativeInteger"/>   2356                                 <ref name="nonNegativeInteger"/>
2301                         </attribute>   2357                         </attribute>
2302                 </optional>   2358                 </optional>
2303                 <optional>   2359                 <optional>
2304                         <attribute name="meta:image-count">   2360                         <attribute name="meta:image-count">
2305                                 <ref name="nonNegativeInteger"/>   2361                                 <ref name="nonNegativeInteger"/>
2306                         </attribute>   2362                         </attribute>
2307                 </optional>   2363                 </optional>
2308                 <optional>   2364                 <optional>
2309                         <attribute name="meta:ole-object-count">   2365                         <attribute name="meta:ole-object-count">
2310                                 <ref name="nonNegativeInteger"/>   2366                                 <ref name="nonNegativeInteger"/>
2311                         </attribute>   2367                         </attribute>
2312                 </optional>   2368                 </optional>
2313                 <optional>   2369                 <optional>
    -+ 2370                         <attribute name="meta:object-count">
      2371                                 <ref name="nonNegativeInteger"/>
      2372                         </attribute>
      2373                 </optional>
      2374                 <optional>
2314                         <attribute name="meta:paragraph-count"> = 2375                         <attribute name="meta:paragraph-count">
2315                                 <ref name="nonNegativeInteger"/>   2376                                 <ref name="nonNegativeInteger"/>
2316                         </attribute>   2377                         </attribute>
2317                 </optional>   2378                 </optional>
2318                 <optional>   2379                 <optional>
2319                         <attribute name="meta:word-count">   2380                         <attribute name="meta:word-count">
2320                                 <ref name="nonNegativeInteger"/>   2381                                 <ref name="nonNegativeInteger"/>
2321                         </attribute>   2382                         </attribute>
2322                 </optional>   2383                 </optional>
2323                 <optional>   2384                 <optional>
2324                         <attribute name="meta:character-count">   2385                         <attribute name="meta:character-count">
2325                                 <ref name="nonNegativeInteger"/>   2386                                 <ref name="nonNegativeInteger"/>
2326                         </attribute>   2387                         </attribute>
2327                 </optional>   2388                 </optional>
2328                 <optional>   2389                 <optional>
2329                         <attribute name="frame-count">   2390                         <attribute name="frame-count">
2330                                 <ref name="nonNegativeInteger"/>   2391                                 <ref name="nonNegativeInteger"/>
2331                         </attribute>   2392                         </attribute>
2332                 </optional>   2393                 </optional>
2333                 <optional>   2394                 <optional>
2334                         <attribute name="sentence-count">   2395                         <attribute name="sentence-count">
2335                                 <ref name="nonNegativeInteger"/>   2396                                 <ref name="nonNegativeInteger"/>
2336                         </attribute>   2397                         </attribute>
2337                 </optional>   2398                 </optional>
2338                 <optional>   2399                 <optional>
2339                         <attribute name="syllable-count">   2400                         <attribute name="syllable-count">
2340                                 <ref name="nonNegativeInteger"/>   2401                                 <ref name="nonNegativeInteger"/>
2341                         </attribute>   2402                         </attribute>
2342                 </optional>   2403                 </optional>
2343                 <optional>   2404                 <optional>
2344                         <attribute name="non-whitespace-character-count">   2405                         <attribute name="non-whitespace-character-count">
2345                                 <ref name="nonNegativeInteger"/>   2406                                 <ref name="nonNegativeInteger"/>
2346                         </attribute>   2407                         </attribute>
2347                 </optional>   2408                 </optional>
2348                 <optional>   2409                 <optional>
2349                         <attribute name="meta:row-count">   2410                         <attribute name="meta:row-count">
2350                                 <ref name="nonNegativeInteger"/>   2411                                 <ref name="nonNegativeInteger"/>
2351                         </attribute>   2412                         </attribute>
2352                 </optional>   2413                 </optional>
2353                 <optional>   2414                 <optional>
2354                         <attribute name="meta:cell-count">   2415                         <attribute name="meta:cell-count">
2355                                 <ref name="nonNegativeInteger"/> +-    
2356                         </attribute>      
2357                 </optional>      
2358                 <optional>      
2359                         <attribute name="meta:object-count">      
2360                                 <ref name="nonNegativeInteger"/> = 2416                                 <ref name="nonNegativeInteger"/>
2361                         </attribute>   2417                         </attribute>
2362                 </optional>   2418                 </optional>
2363         </element>   2419         </element>
2364 </define>   2420 </define>
2365     2421  
2366 3.2User-defined Metadata   2422 3.2User-defined Metadata
2367 The <meta:user-defined> element specifies any additional user-defined metadata for the document. Each instance of this element can contain one piece of user-defined metadata. The element contains:   2423 The <meta:user-defined> element specifies any additional user-defined metadata for the document. Each instance of this element can contain one piece of user-defined metadata. The element contains:
2368 A meta:name attribute, which identifies the name of the metadata element.   2424 A meta:name attribute, which identifies the name of the metadata element.
2369 An optional meta:value-type attribute, which identifies the type of the metadata element. The allowed meta types are float, date, time, boolean and string (see also section 6.7.1).   2425 An optional meta:value-type attribute, which identifies the type of the metadata element. The allowed meta types are float, date, time, boolean and string (see also section 6.7.1).
2370 The value of the element, which is the metadata in the format described in section 6.7.1 as value of the office:value attributes for the various data types.   2426 The value of the element, which is the metadata in the format described in section 6.7.1 as value of the office:value attributes for the various data types.
2371 The default type for meta-data elements is string.   2427 The default type for meta-data elements is string.
2372 <define name="office-meta-data" combine="choice">   2428 <define name="office-meta-data" combine="choice">
2373         <element name="meta:user-defined">   2429         <element name="meta:user-defined">
2374                 <attribute name="meta:name">   2430                 <attribute name="meta:name">
2375                         <ref name="string"/>   2431                         <ref name="string"/>
2376                 </attribute>   2432                 </attribute>
2377                 <choice>   2433                 <choice>
2378                         <group>   2434                         <group>
2379                                 <attribute name="meta:value-type">   2435                                 <attribute name="meta:value-type">
2380                                         <value>float</value>   2436                                         <value>float</value>
2381                                 </attribute>   2437                                 </attribute>
2382                                 <ref name="double"/>   2438                                 <ref name="double"/>
2383                         </group>   2439                         </group>
2384                         <group>   2440                         <group>
2385                                 <attribute name="meta:value-type">   2441                                 <attribute name="meta:value-type">
2386                                         <value>date</value>   2442                                         <value>date</value>
2387                                 </attribute>   2443                                 </attribute>
2388                                 <ref name="dateOrDateTime"/>   2444                                 <ref name="dateOrDateTime"/>
2389                         </group>   2445                         </group>
2390                         <group>   2446                         <group>
2391                                 <attribute name="meta:value-type">   2447                                 <attribute name="meta:value-type">
2392                                         <value>time</value>   2448                                         <value>time</value>
2393                                 </attribute>   2449                                 </attribute>
2394                                 <ref name="duration"/>   2450                                 <ref name="duration"/>
2395                         </group>   2451                         </group>
2396                         <group>   2452                         <group>
2397                                 <attribute name="meta:value-type">   2453                                 <attribute name="meta:value-type">
2398                                         <value>boolean</value>   2454                                         <value>boolean</value>
2399                                 </attribute>   2455                                 </attribute>
2400                                 <ref name="boolean"/>   2456                                 <ref name="boolean"/>
2401                         </group>   2457                         </group>
2402                         <group>   2458                         <group>
2403                                 <attribute name="meta:value-type">   2459                                 <attribute name="meta:value-type">
2404                                         <value>string</value>   2460                                         <value>string</value>
2405                                 </attribute>   2461                                 </attribute>
2406                                 <ref name="string"/>   2462                                 <ref name="string"/>
2407                         </group>   2463                         </group>
2408                         <text/>   2464                         <text/>
2409                 </choice>   2465                 </choice>
2410         </element>   2466         </element>
2411 </define>   2467 </define>
2412 3.3Custom Metadata   2468 3.3Custom Metadata
2413 In addition to the pre-defined metadata elements, applications should also preserve any additional content found inside the <office:meta> element. As there is no semantics specified for such foreign content, applications need not process this information other than to preserve it when editing the document.   2469 In addition to the pre-defined metadata elements, applications should also preserve any additional content found inside the <office:meta> element. As there is no semantics specified for such foreign content, applications need not process this information other than to preserve it when editing the document.
2414 4Text Content   2470 4Text Content
2415 4.1Headings, Paragraphs and Basic Text Structure   2471 4.1Headings, Paragraphs and Basic Text Structure
2416 This section describes the XML elements and attributes that are used to represent heading and paragraph components in a text document.   2472 This section describes the XML elements and attributes that are used to represent heading and paragraph components in a text document.
2417 The elements <text:h> and <text:p> represent headings and paragraphs, respectively, and are collectively referred to as paragraph elements. All text content in an OpenDocument file must be contained in either of these elements.   2473 The elements <text:h> and <text:p> represent headings and paragraphs, respectively, and are collectively referred to as paragraph elements. All text content in an OpenDocument file must be contained in either of these elements.
2418 4.1.1Headings   2474 4.1.1Headings
2419 Headings define the chapter structure for a document. A chapter or subchapter begins with a heading and extends to the next heading at the same or higher level.   2475 Headings define the chapter structure for a document. A chapter or subchapter begins with a heading and extends to the next heading at the same or higher level.
2420 <define name="text-h">   2476 <define name="text-h">
2421         <element name="text:h">   2477         <element name="text:h">
2422                 <ref name="heading-attrs"/>   2478                 <ref name="heading-attrs"/>
2423                 <ref name="paragraph-attrs"/>   2479                 <ref name="paragraph-attrs"/>
2424                 <optional>   2480                 <optional>
2425                         <ref name="text-number"/>   2481                         <ref name="text-number"/>
2426                 </optional>   2482                 </optional>
2427                 <zeroOrMore>   2483                 <zeroOrMore>
2428                         <ref name="paragraph-content"/>   2484                         <ref name="paragraph-content"/>
2429                 </zeroOrMore>   2485                 </zeroOrMore>
2430         </element>   2486         </element>
2431 </define>   2487 </define>
2432 Heading Level   2488 Heading Level
2433 The text:outline-level attribute associated with the heading element determines the level of the heading, starting with 1. Headings without a level attribute are assumed to be at level 1.   2489 The text:outline-level attribute associated with the heading element determines the level of the heading, starting with 1. Headings without a level attribute are assumed to be at level 1.
2434 <define name="heading-attrs" combine="interleave">   2490 <define name="heading-attrs" combine="interleave">
2435         <attribute name="text:outline-level">   2491         <attribute name="text:outline-level">
2436                 <ref name="positiveInteger"/>   2492                 <ref name="positiveInteger"/>
2437         </attribute>   2493         </attribute>
2438 </define>   2494 </define>
2439 Heading Numbering   2495 Heading Numbering
2440 Header numbering can be changed by additional attributes, similar to those on list items (see section 4.3.2, below). The numbering of headers can be restarted by setting the text:restart-numbering attribute to true.   2496 Header numbering can be changed by additional attributes, similar to those on list items (see section 4.3.2, below). The numbering of headers can be restarted by setting the text:restart-numbering attribute to true.
2441 <define name="heading-attrs" combine="interleave">   2497 <define name="heading-attrs" combine="interleave">
2442         <optional>   2498         <optional>
2443                 <attribute name="text:restart-numbering" a:defaultValue="false">   2499                 <attribute name="text:restart-numbering" a:defaultValue="false">
2444                         <ref name="boolean"/>   2500                         <ref name="boolean"/>
2445                 </attribute>   2501                 </attribute>
2446         </optional>   2502         </optional>
2447 </define>   2503 </define>
2448 Start Value   2504 Start Value
2449 The attribute text:start-value may be used to restart the numbering of headers of the current header's level, by setting a new value for the numbering.   2505 The attribute text:start-value may be used to restart the numbering of headers of the current header's level, by setting a new value for the numbering.
2450 <define name="heading-attrs" combine="interleave">   2506 <define name="heading-attrs" combine="interleave">
2451         <optional>   2507         <optional>
2452                 <attribute name="text:start-value">   2508                 <attribute name="text:start-value">
2453                         <ref name="nonNegativeInteger"/>   2509                         <ref name="nonNegativeInteger"/>
2454                 </attribute>   2510                 </attribute>
2455         </optional>   2511         </optional>
2456 </define>   2512 </define>
2457 Suppress Header Numbering   2513 Suppress Header Numbering
2458 It is sometimes desired to have a specific heading which should not be numbered. This corresponds to unnumbered list headers in lists (see sections 4.3). To facilitate this, an optional attribute text:is-list-header can be used. If true, the given header will not be numbered, even if an explicit list-style is given.   2514 It is sometimes desired to have a specific heading which should not be numbered. This corresponds to unnumbered list headers in lists (see sections 4.3). To facilitate this, an optional attribute text:is-list-header can be used. If true, the given header will not be numbered, even if an explicit list-style is given.
2459 <define name="heading-attrs" combine="interleave">   2515 <define name="heading-attrs" combine="interleave">
2460         <optional>   2516         <optional>
2461                 <attribute name="text:is-list-header" a:defaultValue="false">   2517                 <attribute name="text:is-list-header" a:defaultValue="false">
2462                         <ref name="boolean"/>   2518                         <ref name="boolean"/>
2463                 </attribute>   2519                 </attribute>
2464         </optional>   2520         </optional>
2465 </define>   2521 </define>
2466 Formatted Heading Number   2522 Formatted Heading Number
2467 If a heading has a numbering applied, the text of the formatted number can be included in a <text:number> element. This text can be used by applications that do not support numbering of headings, but it will be ignored by applications that support numbering.   2523 If a heading has a numbering applied, the text of the formatted number can be included in a <text:number> element. This text can be used by applications that do not support numbering of headings, but it will be ignored by applications that support numbering.
2468 <define name="text-number">   2524 <define name="text-number">
2469         <element name="text:number">   2525         <element name="text:number">
2470                 <ref name="string"/>   2526                 <ref name="string"/>
2471         </element>   2527         </element>
2472 </define>   2528 </define>
2473 4.1.2Paragraphs   2529 4.1.2Paragraphs
2474 Paragraphs are the basic unit of text.   2530 Paragraphs are the basic unit of text.
2475 <define name="text-p">   2531 <define name="text-p">
2476         <element name="text:p">   2532         <element name="text:p">
2477                 <ref name="paragraph-attrs"/>   2533                 <ref name="paragraph-attrs"/>
2478                 <zeroOrMore>   2534                 <zeroOrMore>
2479                         <ref name="paragraph-content"/>   2535                         <ref name="paragraph-content"/>
2480                 </zeroOrMore>   2536                 </zeroOrMore>
2481         </element>   2537         </element>
2482 </define>   2538 </define>
2483 4.1.3Common Paragraph Elements Attributes   2539 4.1.3Common Paragraph Elements Attributes
2484 The paragraph elements have text:style-name, text:class-names and text:cond-style-name attributes. These attributes must reference paragraph styles.   2540 The paragraph elements have text:style-name, text:class-names and text:cond-style-name attributes. These attributes must reference paragraph styles.
2485 A text:style-name attribute references a paragraph style, while a text:cond-style-name attribute references a conditional-style, that is, a style that contains conditions and maps to other styles (see section 14.1.1). If a conditional style is applied to a paragraph, the text:style-name attribute contains the name of the style that was the result of the conditional style evaluation, while the conditional style name itself is the value of the text:cond-style-name attribute. This XML structure simplifies [XSLT] transformations because XSLT only has to acknowledge the conditional style if the formatting attributes are relevant. The referenced style can be a common style or an automatic style.   2541 A text:style-name attribute references a paragraph style, while a text:cond-style-name attribute references a conditional-style, that is, a style that contains conditions and maps to other styles (see section 14.1.1). If a conditional style is applied to a paragraph, the text:style-name attribute contains the name of the style that was the result of the conditional style evaluation, while the conditional style name itself is the value of the text:cond-style-name attribute. This XML structure simplifies [XSLT] transformations because XSLT only has to acknowledge the conditional style if the formatting attributes are relevant. The referenced style can be a common style or an automatic style.
2486 A text:class-names attribute takes a whitespace separated list of paragraph style names. The referenced styles are applied in the order they are contained in the list. If both, text:style-name and text:class-names are present, the style referenced by the text:style-name attribute is as the first style in the list in text:class-names. If a conditional style is specified together with a style:class-names attribute, but without the text:style-name attribute, then the first style in the style list is used as the value of the missing text:style-name attribute.   2542 A text:class-names attribute takes a whitespace separated list of paragraph style names. The referenced styles are applied in the order they are contained in the list. If both, text:style-name and text:class-names are present, the style referenced by the text:style-name attribute is as the first style in the list in text:class-names. If a conditional style is specified together with a style:class-names attribute, but without the text:style-name attribute, then the first style in the style list is used as the value of the missing text:style-name attribute.
2487 Conforming applications should support the text:class-names attribute and also should preserve it while editing.   2543 Conforming applications should support the text:class-names attribute and also should preserve it while editing.
2488 <define name="paragraph-attrs">   2544 <define name="paragraph-attrs">
2489         <optional>   2545         <optional>
2490                 <attribute name="text:style-name">   2546                 <attribute name="text:style-name">
2491                         <ref name="styleNameRef"/>   2547                         <ref name="styleNameRef"/>
2492                 </attribute>   2548                 </attribute>
2493         </optional>   2549         </optional>
2494         <optional>   2550         <optional>
2495                 <attribute name="text:class-names">   2551                 <attribute name="text:class-names">
2496                         <ref name="styleNameRefs"/>   2552                         <ref name="styleNameRefs"/>
2497                 </attribute>   2553                 </attribute>
2498         </optional>   2554         </optional>
2499         <optional>   2555         <optional>
2500                 <attribute name="text:cond-style-name">   2556                 <attribute name="text:cond-style-name">
2501                         <ref name="styleNameRef"/>   2557                         <ref name="styleNameRef"/>
2502                 </attribute>   2558                 </attribute>
2503         </optional>   2559         </optional>
2504 </define>   2560 </define>
2505 Example: Styles and conditional styles   2561 Example: Styles and conditional styles
2506 <text:p text:style-name="Heading 1">   2562 <text:p text:style-name="Heading 1">
2507 "Heading 1" is not a conditional style.   2563 "Heading 1" is not a conditional style.
2508 </text:p>   2564 </text:p>
2509 <text:p text:style-name="Numbering 1" text:cond-style-name="Text body">   2565 <text:p text:style-name="Numbering 1" text:cond-style-name="Text body">
2510 "Text body" is a conditional style. If it is contained in a numbered   2566 "Text body" is a conditional style. If it is contained in a numbered
2511 paragraph, it maps to "Numbering 1". This is assumed in this example.   2567 paragraph, it maps to "Numbering 1". This is assumed in this example.
2512 </text:p>   2568 </text:p>
2513 A paragraph may have an ID. This ID can be used to reference the paragraph from other elements.   2569 A paragraph may have an ID. This ID can be used to reference the paragraph from other elements.
2514 <define name="paragraph-attrs" combine="interleave">   2570 <define name="paragraph-attrs" combine="interleave">
2515         <optional>   2571         <optional>
2516                 <ref name="text-id"/>   2572                 <ref name="text-id"/>
2517         </optional>   2573         </optional>
2518 </define>   2574 </define>
2519 4.2Page Sequences   2575 4.2Page Sequences
2520 A page sequence element <text:page-sequence> specifies a sequence of master pages that are instantiated in exactly the same order as they are referenced in the page sequence. If a text document contains a page sequence, it will consist of exactly as many pages as specified. Documents with page sequences do not have a main text flow consisting of headings and paragraphs as is the case for documents that do not contain a page sequence. Text content is included within text boxes for documents with page sequences. The only other content that is permitted are drawing objects.   2576 A page sequence element <text:page-sequence> specifies a sequence of master pages that are instantiated in exactly the same order as they are referenced in the page sequence. If a text document contains a page sequence, it will consist of exactly as many pages as specified. Documents with page sequences do not have a main text flow consisting of headings and paragraphs as is the case for documents that do not contain a page sequence. Text content is included within text boxes for documents with page sequences. The only other content that is permitted are drawing objects.
2521 Example: Page Sequence   2577 Example: Page Sequence
2522 <style:automatic-style>   2578 <style:automatic-style>
2523         <style:page-layout name="pm1">   2579         <style:page-layout name="pm1">
2524                 <!-- portrait page -->   2580                 <!-- portrait page -->
2525         </style:page-layout>   2581         </style:page-layout>
2526         <style:page-layout name="pm2">   2582         <style:page-layout name="pm2">
2527                 <!-- landscape page -->   2583                 <!-- landscape page -->
2528         </style:page-layout>   2584         </style:page-layout>
2529 </style:automatic-style>   2585 </style:automatic-style>
2530 ...   2586 ...
2531 <style:master-styles>   2587 <style:master-styles>
2532         <style:master-page name="portrait" style:page-layout-name="pm1"/>   2588         <style:master-page name="portrait" style:page-layout-name="pm1"/>
2533         <style:master-page name="landscape" style:page-layout-name="pm2"/>   2589         <style:master-page name="landscape" style:page-layout-name="pm2"/>
2534 </style:master-styles>   2590 </style:master-styles>
2535 ...   2591 ...
2536 <office:body>   2592 <office:body>
2537         <text:page-sequence>   2593         <text:page-sequence>
2538                 <text:page text:master-page-name="portrait"/>   2594                 <text:page text:master-page-name="portrait"/>
2539                 <text:page text:master-page-name="portrait"/>   2595                 <text:page text:master-page-name="portrait"/>
2540                 <text:page text:master-page-name="landscape"/>   2596                 <text:page text:master-page-name="landscape"/>
2541                 <text:page text:master-page-name="landscape"/>   2597                 <text:page text:master-page-name="landscape"/>
2542                 <text:page text:master-page-name="portrait"/>   2598                 <text:page text:master-page-name="portrait"/>
2543         </text:page-sequence>   2599         </text:page-sequence>
2544         <draw:frame ...>   2600         <draw:frame ...>
2545                 <draw:text-box ...>   2601                 <draw:text-box ...>
2546                         <text:p>Example text.</text:p>   2602                         <text:p>Example text.</text:p>
2547                         ...   2603                         ...
2548                 </draw:text-box>   2604                 </draw:text-box>
2549         </draw:frame>   2605         </draw:frame>
2550 </office:body>   2606 </office:body>
2551 <define name="text-page-sequence">   2607 <define name="text-page-sequence">
2552         <element name="text:page-sequence">   2608         <element name="text:page-sequence">
2553                 <oneOrMore>   2609                 <oneOrMore>
2554                         <ref name="text-page"/>   2610                         <ref name="text-page"/>
2555                 </oneOrMore>   2611                 </oneOrMore>
2556         </element>   2612         </element>
2557 </define>   2613 </define>
2558 4.2.1Page   2614 4.2.1Page
2559 The <text:page> element specifies a single page within a page sequence.   2615 The <text:page> element specifies a single page within a page sequence.
2560 <define name="text-page">   2616 <define name="text-page">
2561         <element name="text:page">   2617         <element name="text:page">
2562                 <ref name="text-page-attlist"/>   2618                 <ref name="text-page-attlist"/>
2563                 <empty/>   2619                 <empty/>
2564         </element>   2620         </element>
2565 </define>   2621 </define>
2566 Master Page Name   2622 Master Page Name
2567 The text:master-page-name attribute specifies the master page that is instantiated.   2623 The text:master-page-name attribute specifies the master page that is instantiated.
2568 <define name="text-page-attlist">   2624 <define name="text-page-attlist">
2569         <attribute name="text:master-page-name">   2625         <attribute name="text:master-page-name">
2570                 <ref name="styleNameRef"/>   2626                 <ref name="styleNameRef"/>
2571         </attribute>   2627         </attribute>
2572 </define>   2628 </define>
2573 4.3Lists   2629 4.3Lists
2574 The OpenDocument format supports list structures, similar to those found in [HTML4]. A list is a paragraph-level element, which contains an optional list header, followed by a sequence of list items. The list header and each list item contains a sequence of paragraph or list elements. Lists can be nested.   2630 The OpenDocument format supports list structures, similar to those found in [HTML4]. A list is a paragraph-level element, which contains an optional list header, followed by a sequence of list items. The list header and each list item contains a sequence of paragraph or list elements. Lists can be nested.
2575 Lists may be numbered. The numbering may be restarted with a specific numbering at each list item. Lists may also continue numbering from other lists, allowing the user to merge several lists into a single, discontinuous list. Note that whether the list numbering is displayed depends on a suitable list style being used.   2631 Lists may be numbered. The numbering may be restarted with a specific numbering at each list item. Lists may also continue numbering from other lists, allowing the user to merge several lists into a single, discontinuous list. Note that whether the list numbering is displayed depends on a suitable list style being used.
2576 In addition to this structural information, lists can have list styles associated with them, which contain the relevant layout information, such as   2632 In addition to this structural information, lists can have list styles associated with them, which contain the relevant layout information, such as
2577 the type of list item label, such as bullet or number,   2633 the type of list item label, such as bullet or number,
2578 list item label width and distance,   2634 list item label width and distance,
2579 bullet character or image (if any),   2635 bullet character or image (if any),
2580 number format for the bullet numbering (if any),   2636 number format for the bullet numbering (if any),
2581 paragraph indent for list items.   2637 paragraph indent for list items.
2582 4.3.1List Block   2638 4.3.1List Block
2583 A list is represented by the <text:list> element. It contains an optional list header, followed by any number of list items.   2639 A list is represented by the <text:list> element. It contains an optional list header, followed by any number of list items.
2584 Every list has a list level, which is determined by the nesting of the <text:list> elements. If a list is not contained within another list, the list level is 1. If the list in contained within another list, the list level is the list level of the list in which is it contained incremented by one. If a list is contained in a table cell or text box, the list level returns to 1, even though the table or textbox itself may be nested within another list.   2640 Every list has a list level, which is determined by the nesting of the <text:list> elements. If a list is not contained within another list, the list level is 1. If the list in contained within another list, the list level is the list level of the list in which is it contained incremented by one. If a list is contained in a table cell or text box, the list level returns to 1, even though the table or textbox itself may be nested within another list.
2585 The attributes that may be associated with the list element are:   2641 The attributes that may be associated with the list element are:
2586 Style name   2642 Style name
2587 Continue numbering   2643 Continue numbering
2588 <define name="text-list">   2644 <define name="text-list">
2589         <element name="text:list">   2645         <element name="text:list">
2590                 <ref name="text-list-attr"/>   2646                 <ref name="text-list-attr"/>
2591                 <optional>   2647                 <optional>
2592                         <ref name="text-list-header"/>   2648                         <ref name="text-list-header"/>
2593                 </optional>   2649                 </optional>
2594                 <zeroOrMore>   2650                 <zeroOrMore>
2595                         <ref name="text-list-item"/>   2651                         <ref name="text-list-item"/>
2596                 </zeroOrMore>   2652                 </zeroOrMore>
2597         </element>   2653         </element>
2598 </define>   2654 </define>
2599 Style Name   2655 Style Name
2600 The optional text:style-name attribute specifies the name of the list style that is applied to the list.   2656 The optional text:style-name attribute specifies the name of the list style that is applied to the list.
2601 If this attribute is not included and therefore no list style is specified, one of the following actions is taken:   2657 If this attribute is not included and therefore no list style is specified, one of the following actions is taken:
2602 If the list is contained within another list, the list style defaults to the style of the surrounding list.   2658 If the list is contained within another list, the list style defaults to the style of the surrounding list.
2603 If there is no list style specified for the surrounding list, but the list contains paragraphs that have paragraph styles attached specifying a list style, this list style is used for any of these paragraphs.   2659 If there is no list style specified for the surrounding list, but the list contains paragraphs that have paragraph styles attached specifying a list style, this list style is used for any of these paragraphs.
2604 A default list style is applied to any other paragraphs.   2660 A default list style is applied to any other paragraphs.
2605 To determine which formatting properties are applied to a list, the list level and list style name are taken into account. See section 14.10 for more information on list formatting properties.   2661 To determine which formatting properties are applied to a list, the list level and list style name are taken into account. See section 14.10 for more information on list formatting properties.
2606 <define name="text-list-attr" combine="interleave">   2662 <define name="text-list-attr" combine="interleave">
2607         <optional>   2663         <optional>
2608                 <attribute name="text:style-name">   2664                 <attribute name="text:style-name">
2609                         <ref name="styleNameRef"/>   2665                         <ref name="styleNameRef"/>
2610                 </attribute>   2666                 </attribute>
2611         </optional>   2667         </optional>
2612 </define>   2668 </define>
2613 Continue Numbering   2669 Continue Numbering
2614 By default, the first list item in a list starts with the number specified in the list style. The continue numbering attribute can be used to continue the numbering from the preceding list.   2670 By default, the first list item in a list starts with the number specified in the list style. The continue numbering attribute can be used to continue the numbering from the preceding list.
2615 This attribute can be used with the <text:list> element and can have a value of true or false.   2671 This attribute can be used with the <text:list> element and can have a value of true or false.
2616 If the value of the attribute is true and the numbering style of the preceding list is the same as the current list, the number of the first list item in the current list is the number of the last item in the preceding list incremented by one.   2672 If the value of the attribute is true and the numbering style of the preceding list is the same as the current list, the number of the first list item in the current list is the number of the last item in the preceding list incremented by one.
2617 <define name="text-list-attr" combine="interleave">   2673 <define name="text-list-attr" combine="interleave">
2618         <optional>   2674         <optional>
2619                 <attribute name="text:continue-numbering">   2675                 <attribute name="text:continue-numbering">
2620                         <ref name="boolean"/>   2676                         <ref name="boolean"/>
2621                 </attribute>   2677                 </attribute>
2622         </optional>   2678         </optional>
2623 </define>   2679 </define>
2624 4.3.2List Item   2680 4.3.2List Item
2625 List items contain the textual content of a list. A <text:list-item> element can contain paragraphs or lists. A list item cannot contain headings or tables. <> 2681 List items contain the textual content of a list. A <text:list-item> element can contain paragraphs, headings, lists or soft page breaks. A list item cannot contain tables.
2626 <define name="text-list-item"> = 2682 <define name="text-list-item">
2627         <element name="text:list-item">   2683         <element name="text:list-item">
2628                 <ref name="text-list-item-attr"/>   2684                 <ref name="text-list-item-attr"/>
2629                 <ref name="text-list-item-content"/>   2685                 <ref name="text-list-item-content"/>
2630         </element>   2686         </element>
2631 </define>   2687 </define>
2632 <define name="text-list-item-content">   2688 <define name="text-list-item-content">
2633         <optional>   2689         <optional>
2634                 <ref name="text-number"/>   2690                 <ref name="text-number"/>
2635         </optional>   2691         </optional>
2636         <zeroOrMore>   2692         <zeroOrMore>
2637                 <choice>   2693                 <choice>
2638                         <ref name="text-p"/>   2694                         <ref name="text-p"/>
2639                         <ref name="text-h"/>   2695                         <ref name="text-h"/>
2640                         <ref name="text-list"/>   2696                         <ref name="text-list"/>
    -+ 2697                         <ref name="text-soft-page-break"/>
2641                 </choice> = 2698                 </choice>
2642         </zeroOrMore>   2699         </zeroOrMore>
2643 </define>   2700 </define>
2644 The first line in a list item is preceded by a bullet or number, depending on the list style assigned to the list. If a list item starts another list immediately and does not contain any text, no bullet or number is displayed.   2701 The first line in a list item is preceded by a bullet or number, depending on the list style assigned to the list. If a list item starts another list immediately and does not contain any text, no bullet or number is displayed.
2645 The only attribute that may be associated with the <text:list-item> element is:   2702 The only attribute that may be associated with the <text:list-item> element is:
2646 Start value   2703 Start value
2647 Start Value   2704 Start Value
2648 The numbering of the current list can be restarted at a certain number. The text:start-value attribute is used to specify the number with which to restart the list.   2705 The numbering of the current list can be restarted at a certain number. The text:start-value attribute is used to specify the number with which to restart the list.
2649 This attribute can only be applied to items in a list with a numbering list style. It restarts the numbering of the list at the current item.   2706 This attribute can only be applied to items in a list with a numbering list style. It restarts the numbering of the list at the current item.
2650 <define name="text-list-item-attr" combine="interleave">   2707 <define name="text-list-item-attr" combine="interleave">
2651         <optional>   2708         <optional>
2652                 <attribute name="text:start-value">   2709                 <attribute name="text:start-value">
2653                         <ref name="nonNegativeInteger"/>   2710                         <ref name="nonNegativeInteger"/>
2654                 </attribute>   2711                 </attribute>
2655         </optional>   2712         </optional>
2656 </define>   2713 </define>
2657 Formatted Number   2714 Formatted Number
2658 If a list item has a numbering applied, the text of the formatted number can be included in a <text:number> element. This text can be used by applications that do not support numbering, but it will be ignored by applications that support numbering. See also section 4.1.1.   2715 If a list item has a numbering applied, the text of the formatted number can be included in a <text:number> element. This text can be used by applications that do not support numbering, but it will be ignored by applications that support numbering. See also section 4.1.1.
2659 Example: Lists and sublists   2716 Example: Lists and sublists
2660 <text:list text:style-name="List 1">   2717 <text:list text:style-name="List 1">
2661         <text:list-item>   2718         <text:list-item>
2662         <text:p>This is the first list item</text:p>   2719         <text:p>This is the first list item</text:p>
2663         <text:p>This is a continuation of the first list item.</text:p>   2720         <text:p>This is a continuation of the first list item.</text:p>
2664         </text:list-item>   2721         </text:list-item>
2665         <text:list-item>   2722         <text:list-item>
2666         <text:p>This is the second list item.   2723         <text:p>This is the second list item.
2667                         It contains a sub list.</text:p>   2724                         It contains a sub list.</text:p>
2668         <text:list>   2725         <text:list>
2669                 <text:list-item><text:p>This is a sub list item.</text:p>   2726                 <text:list-item><text:p>This is a sub list item.</text:p>
    -+ 2727                 </text:list-item>
2670                 <text:list-item><text:p>This is a sub list item.</text:p> = 2728                 <text:list-item><text:p>This is a sub list item.</text:p>
    -+ 2729                 </text:list-item>
2671                 <text:list-item><text:p>This is a sub list item.</text:p> = 2730                 <text:list-item><text:p>This is a sub list item.</text:p>
    -+ 2731                 </text:list-item>
2672         </text:list> = 2732         </text:list>
2673         </text:list-item>   2733         </text:list-item>
2674         <text:list-item>   2734         <text:list-item>
2675         <text:p>This is the third list item</text:p>   2735         <text:p>This is the third list item</text:p>
2676         </text:list-item>   2736         </text:list-item>
2677 </text:list>   2737 </text:list>
2678 4.3.3List Header   2738 4.3.3List Header
2679 A list header is a special kind of list item. It contains one or more paragraphs that are displayed before a list. The paragraphs are formatted like list items but they do not have a preceding number or bullet. The list header is represented by the list header element.   2739 A list header is a special kind of list item. It contains one or more paragraphs that are displayed before a list. The paragraphs are formatted like list items but they do not have a preceding number or bullet. The list header is represented by the list header element.
2680 <define name="text-list-header">   2740 <define name="text-list-header">
2681         <element name="text:list-header">   2741         <element name="text:list-header">
2682                 <ref name="text-list-item-content"/>   2742                 <ref name="text-list-item-content"/>
2683         </element>   2743         </element>
2684 </define>   2744 </define>
2685 4.3.4Numbered Paragraphs   2745 4.3.4Numbered Paragraphs
2686 In some instances, it is desirable to specify a list not as a structural element comprising of several list items, but to determine on a per-paragraph level whether the paragraph is numbered, and at which level. To facilitate this, the <text:numbered-paragraph> element allows the numbering of an individual paragraph, as if it was part of a list at a specified level.   2746 In some instances, it is desirable to specify a list not as a structural element comprising of several list items, but to determine on a per-paragraph level whether the paragraph is numbered, and at which level. To facilitate this, the <text:numbered-paragraph> element allows the numbering of an individual paragraph, as if it was part of a list at a specified level.
2687 Numbered paragraphs may use the same continuous numbering properties that list items use, and thus form an equivalent, alternative way of specifying lists. A list in <text:list> representation could be converted into a list in <text:numbered-paragraph> representation and vice versa.   2747 Numbered paragraphs may use the same continuous numbering properties that list items use, and thus form an equivalent, alternative way of specifying lists. A list in <text:list> representation could be converted into a list in <text:numbered-paragraph> representation and vice versa.
2688 <define name="text-numbered-paragraph">   2748 <define name="text-numbered-paragraph">
2689         <element name="text:numbered-paragraph">   2749         <element name="text:numbered-paragraph">
2690                 <ref name="text-numbered-paragraph-attr"/>   2750                 <ref name="text-numbered-paragraph-attr"/>
2691                 <optional>   2751                 <optional>
2692                         <ref name="text-number"/>   2752                         <ref name="text-number"/>
2693                 </optional>   2753                 </optional>
2694                 <choice>   2754                 <choice>
2695                         <ref name="text-p"/>   2755                         <ref name="text-p"/>
2696                         <ref name="text-h"/>   2756                         <ref name="text-h"/>
2697                 </choice>   2757                 </choice>
2698         </element>   2758         </element>
2699 </define>   2759 </define>
2700 A numbered paragraph can be assigned a list level. A numbered paragraph is equivalent to a list nested to the given level, containing one list item with one paragraph. If no level is given, the numbered paragraph is interpreted as being on level 1.   2760 A numbered paragraph can be assigned a list level. A numbered paragraph is equivalent to a list nested to the given level, containing one list item with one paragraph. If no level is given, the numbered paragraph is interpreted as being on level 1.
2701 <define name="text-numbered-paragraph-attr" combine="interleave">   2761 <define name="text-numbered-paragraph-attr" combine="interleave">
2702         <optional>   2762         <optional>
2703                 <attribute name="text:level" a:defaultValue="1">   2763                 <attribute name="text:level" a:defaultValue="1">
2704                         <ref name="positiveInteger"/>   2764                         <ref name="positiveInteger"/>
2705                 </attribute>   2765                 </attribute>
2706         </optional>   2766         </optional>
2707 </define>   2767 </define>
2708 As a numbered paragraph combines the functionality of a (possibly nested) list with a single list item, it can also use the attributes of those elements.   2768 As a numbered paragraph combines the functionality of a (possibly nested) list with a single list item, it can also use the attributes of those elements.
2709 <define name="text-numbered-paragraph-attr" combine="interleave">   2769 <define name="text-numbered-paragraph-attr" combine="interleave">
2710         <ref name="text-list-attr"/>   2770         <ref name="text-list-attr"/>
2711 </define>   2771 </define>
2712 <define name="text-numbered-paragraph-attr" combine="interleave">   2772 <define name="text-numbered-paragraph-attr" combine="interleave">
2713         <ref name="text-list-item-attr"/>   2773         <ref name="text-list-item-attr"/>
2714 </define>   2774 </define>
2715 The text of a formatted number can be included in a <text:number> element. This text can be used by applications that do not support numbering, but it will be ignored by applications that support numbering. See also section 4.1.1.   2775 The text of a formatted number can be included in a <text:number> element. This text can be used by applications that do not support numbering, but it will be ignored by applications that support numbering. See also section 4.1.1.
2716 4.4Text Sections   2776 4.4Text Sections
2717 A text section is a named region of paragraph-level text content. Sections start and end on paragraph boundaries and can contain any number of paragraphs.   2777 A text section is a named region of paragraph-level text content. Sections start and end on paragraph boundaries and can contain any number of paragraphs.
2718 Sections have two uses in the OpenDocument format: They can be used to assign certain formatting properties to a region of text. They can also be used to group text that is automatically acquired from some external data source.   2778 Sections have two uses in the OpenDocument format: They can be used to assign certain formatting properties to a region of text. They can also be used to group text that is automatically acquired from some external data source.
2719 In addition to Sections can contain regular text content or the text can be contained in another file and linked to the section. Sections can also be write-protected or hidden.   2779 In addition to Sections can contain regular text content or the text can be contained in another file and linked to the section. Sections can also be write-protected or hidden.
2720 Sections can have settings for text columns, background color or pattern, and notes configuration. These settings form the section style, which is represented in a <style:style> element. See section 14.8.3 for details.   2780 Sections can have settings for text columns, background color or pattern, and notes configuration. These settings form the section style, which is represented in a <style:style> element. See section 14.8.3 for details.
2721 The formatting properties for sections are explained in section 15.7.   2781 The formatting properties for sections are explained in section 15.7.
2722 Sections support two ways of linking to external content. If a section is linked to another document, the link can be through one of the following:   2782 Sections support two ways of linking to external content. If a section is linked to another document, the link can be through one of the following:
2723 A resource identified by an XLink, represented by a text:section-source element   2783 A resource identified by an XLink, represented by a text:section-source element
2724 Dynamic Data Exchange (DDE), represented by a office:dde-source element   2784 Dynamic Data Exchange (DDE), represented by a office:dde-source element
2725 Linking information for external content is contained in the section element's first child. A section that links to external content contains the full representation of the data source, so that processors need to understand the linking information only if they wish to update the contents of the section.   2785 Linking information for external content is contained in the section element's first child. A section that links to external content contains the full representation of the data source, so that processors need to understand the linking information only if they wish to update the contents of the section.
2726 <define name="text-section">   2786 <define name="text-section">
2727         <element name="text:section">   2787         <element name="text:section">
2728                 <ref name="text-section-attr"/>   2788                 <ref name="text-section-attr"/>
2729                 <choice>   2789                 <choice>
2730                         <ref name="text-section-source"/>   2790                         <ref name="text-section-source"/>
2731                         <ref name="text-section-source-dde"/>   2791                         <ref name="text-section-source-dde"/>
2732                         <empty/>   2792                         <empty/>
2733                 </choice>   2793                 </choice>
2734                 <zeroOrMore>   2794                 <zeroOrMore>
2735                         <ref name="text-content"/>   2795                         <ref name="text-content"/>
2736                 </zeroOrMore>   2796                 </zeroOrMore>
2737         </element>   2797         </element>
2738 </define>   2798 </define>
2739 Note: List items may not contain sections. Thus, lists may only be wholly contained within section elements. If it is desired to achieve the effect of overlapping lists and sections, or of sections contained within lists, the lists must be split into several lists, each of which would then be wholly contained within a section. When splitting the list, suitable attributes for continuous numbering should be set such that display and behavior are the same as with the original list not interrupted by sections.   2799 Note: List items may not contain sections. Thus, lists may only be wholly contained within section elements. If it is desired to achieve the effect of overlapping lists and sections, or of sections contained within lists, the lists must be split into several lists, each of which would then be wholly contained within a section. When splitting the list, suitable attributes for continuous numbering should be set such that display and behavior are the same as with the original list not interrupted by sections.
2740 4.4.1Section Attributes   2800 4.4.1Section Attributes
2741 Text indices, described in chapter 7, may be considered a special kind of text section, as they share the same general structure as well as certain attributes. These are combined in the following definition:   2801 Text indices, described in chapter 7, may be considered a special kind of text section, as they share the same general structure as well as certain attributes. These are combined in the following definition:
2742 <define name="text-section-attr" combine="interleave">   2802 <define name="text-section-attr" combine="interleave">
2743         <ref name="sectionAttr"/>   2803         <ref name="sectionAttr"/>
2744 </define>   2804 </define>
2745 The remaining attributes in this section are specific to the <text:section> element.   2805 The remaining attributes in this section are specific to the <text:section> element.
2746 Section Style   2806 Section Style
2747 The text:style-name attribute refers to a section style.   2807 The text:style-name attribute refers to a section style.
2748 <define name="sectionAttr" combine="interleave">   2808 <define name="sectionAttr" combine="interleave">
2749         <optional>   2809         <optional>
2750                 <attribute name="text:style-name">   2810                 <attribute name="text:style-name">
2751                         <ref name="styleNameRef"/>   2811                         <ref name="styleNameRef"/>
2752                 </attribute>   2812                 </attribute>
2753         </optional>   2813         </optional>
2754 </define>   2814 </define>
2755 Section Name   2815 Section Name
2756 Every section must have a name that uniquely identifies the section. The text:name attribute contains the name of the section.   2816 Every section must have a name that uniquely identifies the section. The text:name attribute contains the name of the section.
2757 <define name="sectionAttr" combine="interleave">   2817 <define name="sectionAttr" combine="interleave">
2758         <attribute name="text:name">   2818         <attribute name="text:name">
2759                 <ref name="string"/>   2819                 <ref name="string"/>
2760         </attribute>   2820         </attribute>
2761 </define>   2821 </define>
2762 Protected Sections   2822 Protected Sections
2763 A section can be protected, which means that a user can not edit the section. The text:protected attribute indicates whether or not a section is protected. The user interface must enforce the protection attribute if it is enabled.   2823 A section can be protected, which means that a user can not edit the section. The text:protected attribute indicates whether or not a section is protected. The user interface must enforce the protection attribute if it is enabled.
2764 <define name="sectionAttr" combine="interleave">   2824 <define name="sectionAttr" combine="interleave">
2765         <optional>   2825         <optional>
2766                 <attribute name="text:protected">   2826                 <attribute name="text:protected">
2767                         <ref name="boolean"/>   2827                         <ref name="boolean"/>
2768                 </attribute>   2828                 </attribute>
2769         </optional>   2829         </optional>
2770 </define>   2830 </define>
2771 A user can use the user interface to reset the protection flag, unless the section is further protected by a password. In this case, the user must know the password in order to reset the protection flag. The text:protection-key attribute specifies the password that protects the section. To avoid saving the password directly into the XML file, only a hash value of the password is stored.   2831 A user can use the user interface to reset the protection flag, unless the section is further protected by a password. In this case, the user must know the password in order to reset the protection flag. The text:protection-key attribute specifies the password that protects the section. To avoid saving the password directly into the XML file, only a hash value of the password is stored.
2772 <define name="sectionAttr" combine="interleave">   2832 <define name="sectionAttr" combine="interleave">
2773         <optional>   2833         <optional>
2774                 <attribute name="text:protection-key">   2834                 <attribute name="text:protection-key">
2775                         <ref name="string"/>   2835                         <ref name="string"/>
2776                 </attribute>   2836                 </attribute>
2777         </optional>   2837         </optional>
2778 </define>   2838 </define>
2779 Hidden Sections and Conditional Sections   2839 Hidden Sections and Conditional Sections
2780 Sections can be hidden based on a condition or they can be hidden unconditionally.   2840 Sections can be hidden based on a condition or they can be hidden unconditionally.
2781 The text:display attribute specifies whether or not the section is hidden. The value of this attribute can be:   2841 The text:display attribute specifies whether or not the section is hidden. The value of this attribute can be:
2782 true, the section is displayed. This is the default setting.   2842 true, the section is displayed. This is the default setting.
2783 none, the section is hidden unconditionally.   2843 none, the section is hidden unconditionally.
2784 condition, the section is hidden under the condition specified in the text:condition attribute.   2844 condition, the section is hidden under the condition specified in the text:condition attribute.
2785 The text:condition attribute specifies the condition under which the section is hidden. The condition is encoded as a string. If the value of text:display is condition, the text:condition attribute must be present.   2845 The text:condition attribute specifies the condition under which the section is hidden. The condition is encoded as a string. If the value of text:display is condition, the text:condition attribute must be present.
2786 <define name="text-section-attr" combine="interleave">   2846 <define name="text-section-attr" combine="interleave">
2787         <choice>   2847         <choice>
2788                 <attribute name="text:display">   2848                 <attribute name="text:display">
2789                         <choice>   2849                         <choice>
2790                                 <value>true</value>   2850                                 <value>true</value>
2791                                 <value>none</value>   2851                                 <value>none</value>
2792                         </choice>   2852                         </choice>
2793                 </attribute>   2853                 </attribute>
2794                 <group>   2854                 <group>
2795                         <attribute name="text:display">   2855                         <attribute name="text:display">
2796                                 <value>condition</value>   2856                                 <value>condition</value>
2797                         </attribute>   2857                         </attribute>
2798                         <attribute name="text:condition">   2858                         <attribute name="text:condition">
2799                                 <ref name="string"/>   2859                                 <ref name="string"/>
2800                         </attribute>   2860                         </attribute>
2801                 </group>   2861                 </group>
2802                 <empty/>   2862                 <empty/>
2803         </choice>   2863         </choice>
2804 </define>   2864 </define>
2805 4.4.2Section Source   2865 4.4.2Section Source
2806 The <text:section-source> element indicates that the enclosed section is a linked section. If this element is used, it must be the first element in the <text:section> element.   2866 The <text:section-source> element indicates that the enclosed section is a linked section. If this element is used, it must be the first element in the <text:section> element.
2807 <define name="text-section-source">   2867 <define name="text-section-source">
2808         <element name="text:section-source">   2868         <element name="text:section-source">
2809                 <ref name="text-section-source-attr"/>   2869                 <ref name="text-section-source-attr"/>
2810         </element>   2870         </element>
2811 </define>   2871 </define>
2812 The attributes that may be associated with the <text:section-source> attribute are:   2872 The attributes that may be associated with the <text:section-source> attribute are:
2813 Section source URL   2873 Section source URL
2814 Name of linked section   2874 Name of linked section
2815 Filter name   2875 Filter name
2816 Section Source URL   2876 Section Source URL
2817 These attributes identify the document or section to which the section is linked. The name of the target section is identified by the local part of the URL, following the hash mark. The xlink:href attribute is implied because <text:section-source> elements may also link to internal sections.   2877 These attributes identify the document or section to which the section is linked. The name of the target section is identified by the local part of the URL, following the hash mark. The xlink:href attribute is implied because <text:section-source> elements may also link to internal sections.
2818 <define name="text-section-source-attr" combine="interleave">   2878 <define name="text-section-source-attr" combine="interleave">
2819         <optional>   2879         <optional>
2820                 <attribute name="xlink:href">   2880                 <attribute name="xlink:href">
2821                         <ref name="anyURI"/>   2881                         <ref name="anyURI"/>
2822                 </attribute>   2882                 </attribute>
2823                 <optional>   2883                 <optional>
2824                         <attribute name="xlink:type" a:defaultValue="simple">   2884                         <attribute name="xlink:type" a:defaultValue="simple">
2825                                 <value>simple</value>   2885                                 <value>simple</value>
2826                         </attribute>   2886                         </attribute>
2827                 </optional>   2887                 </optional>
2828                 <optional>   2888                 <optional>
2829                         <attribute name="xlink:show" a:defaultValue="embed">   2889                         <attribute name="xlink:show" a:defaultValue="embed">
2830                                 <value>embed</value>   2890                                 <value>embed</value>
2831                         </attribute>   2891                         </attribute>
2832                 </optional>   2892                 </optional>
2833         </optional>   2893         </optional>
2834 </define>   2894 </define>
2835 Name of Linked Section   2895 Name of Linked Section
2836 If the link targets a section of a document, the attribute text:section name contains the name of the target section. If the attribute is not present, the link targets the entire document.   2896 If the link targets a section of a document, the attribute text:section name contains the name of the target section. If the attribute is not present, the link targets the entire document.
2837 <define name="text-section-source-attr" combine="interleave">   2897 <define name="text-section-source-attr" combine="interleave">
2838         <optional>   2898         <optional>
2839                 <attribute name="text:section-name">   2899                 <attribute name="text:section-name">
2840                         <ref name="string"/>   2900                         <ref name="string"/>
2841                 </attribute>   2901                 </attribute>
2842         </optional>   2902         </optional>
2843 </define>   2903 </define>
2844 Filter Name   2904 Filter Name
2845 The text:filter-name attribute specifies which filter type was used to import the link target. The value of this attribute is implementation dependent.   2905 The text:filter-name attribute specifies which filter type was used to import the link target. The value of this attribute is implementation dependent.
2846 <define name="text-section-source-attr" combine="interleave">   2906 <define name="text-section-source-attr" combine="interleave">
2847         <optional>   2907         <optional>
2848                 <attribute name="text:filter-name">   2908                 <attribute name="text:filter-name">
2849                         <ref name="string"/>   2909                         <ref name="string"/>
2850                 </attribute>   2910                 </attribute>
2851         </optional>   2911         </optional>
2852 </define>   2912 </define>
2853 4.4.3DDE Source   2913 4.4.3DDE Source
2854 If sections are linked via DDE, their linking information is represented by <office:dde-source> elements. It contains attributes that specify the application, topic and item of the DDE connection. Note that because the section contains the XML rendition of the DDE link's content, this information only needs to be processed if updated data from the DDE link are desired.   2914 If sections are linked via DDE, their linking information is represented by <office:dde-source> elements. It contains attributes that specify the application, topic and item of the DDE connection. Note that because the section contains the XML rendition of the DDE link's content, this information only needs to be processed if updated data from the DDE link are desired.
    -+ 2915 See section 12.6 for the use of DDE connections.
2855 <define name="text-section-source-dde"> = 2916 <define name="text-section-source-dde">
2856         <ref name="office-dde-source"/>   2917         <ref name="office-dde-source"/>
2857 </define>   2918 </define>
2858 4.5Page-bound graphical content   2919 4.5Page-bound graphical content
2859 Within text documents, images, embedded objects and other drawing objects appear at the level of a paragraph if they are anchored to a page rather than to a paragraph or a character position within a paragraph. See section 9.2 for details on drawing objects, and section 9.2.16 for their anchoring.   2920 Within text documents, images, embedded objects and other drawing objects appear at the level of a paragraph if they are anchored to a page rather than to a paragraph or a character position within a paragraph. See section 9.2 for details on drawing objects, and section 9.2.16 for their anchoring.
2860 4.6Change Tracking   2921 4.6Change Tracking
2861 This section describes how changes in text documents can be represented.   2922 This section describes how changes in text documents can be represented.
2862 4.6.1Tracked Changes   2923 4.6.1Tracked Changes
2863 All tracked changes to text documents are stored in a list. The list contains an element for each change made to the document. If the <text:tracked-changes> element is absent, change tracking is not enabled.   2924 All tracked changes to text documents are stored in a list. The list contains an element for each change made to the document. If the <text:tracked-changes> element is absent, change tracking is not enabled.
2864 <define name="text-tracked-changes">   2925 <define name="text-tracked-changes">
2865         <optional>   2926         <optional>
2866                 <element name="text:tracked-changes">   2927                 <element name="text:tracked-changes">
2867                         <ref name="text-tracked-changes-attr"/>   2928                         <ref name="text-tracked-changes-attr"/>
2868                         <zeroOrMore>   2929                         <zeroOrMore>
2869                                 <ref name="text-changed-region"/>   2930                                 <ref name="text-changed-region"/>
2870                         </zeroOrMore>   2931                         </zeroOrMore>
2871                 </element>   2932                 </element>
2872         </optional>   2933         </optional>
2873 </define>   2934 </define>
2874 Track Changes   2935 Track Changes
2875 This attribute determines whether or not user agents should track and record changes for this document.   2936 This attribute determines whether or not user agents should track and record changes for this document.
2876 <define name="text-tracked-changes-attr" combine="interleave">   2937 <define name="text-tracked-changes-attr" combine="interleave">
2877         <optional>   2938         <optional>
2878                 <attribute name="text:track-changes" a:defaultValue="true">   2939                 <attribute name="text:track-changes" a:defaultValue="true">
2879                         <ref name="boolean"/>   2940                         <ref name="boolean"/>
2880                 </attribute>   2941                 </attribute>
2881         </optional>   2942         </optional>
2882 </define>   2943 </define>
2883 4.6.2Changed Regions   2944 4.6.2Changed Regions
2884 For every changed region of a document, there is one entry in the list of tracked changes. This entry contains a list of all changes that were applied to the region. The start and end of this region are marked by the start and end elements that are described in the next section.   2945 For every changed region of a document, there is one entry in the list of tracked changes. This entry contains a list of all changes that were applied to the region. The start and end of this region are marked by the start and end elements that are described in the next section.
2885 <define name="text-changed-region">   2946 <define name="text-changed-region">
2886         <element name="text:changed-region">   2947         <element name="text:changed-region">
2887                 <ref name="text-changed-region-attr"/>   2948                 <ref name="text-changed-region-attr"/>
2888                 <ref name="text-changed-region-content"/>   2949                 <ref name="text-changed-region-content"/>
2889         </element>   2950         </element>
2890 </define>   2951 </define>
2891 Change ID   2952 Change ID
2892 Every element has an ID. The elements that mark the start and end of a region use this ID to identify the region to which they belong.   2953 Every element has an ID. The elements that mark the start and end of a region use this ID to identify the region to which they belong.
2893 <define name="text-changed-region-attr" combine="interleave">   2954 <define name="text-changed-region-attr" combine="interleave">
2894         <attribute name="text:id">   2955         <attribute name="text:id">
2895                 <ref name="ID"/>   2956                 <ref name="ID"/>
2896         </attribute>   2957         </attribute>
2897 </define>   2958 </define>
2898 4.6.3Insertion   2959 4.6.3Insertion
2899 The <text:insertion> element contains the information that is required to identify any insertion of content. This content can be a piece of text within a paragraph, a whole paragraph, or a whole table. The inserted content is part of the text document itself and is marked by a change start and a change end element.   2960 The <text:insertion> element contains the information that is required to identify any insertion of content. This content can be a piece of text within a paragraph, a whole paragraph, or a whole table. The inserted content is part of the text document itself and is marked by a change start and a change end element.
2900 <define name="text-changed-region-content" combine="choice">   2961 <define name="text-changed-region-content" combine="choice">
2901         <element name="text:insertion">   2962         <element name="text:insertion">
2902                 <ref name="office-change-info"/>   2963                 <ref name="office-change-info"/>
2903         </element>   2964         </element>
2904 </define>   2965 </define>
2905 Example: Insertion of text   2966 Example: Insertion of text
2906 <text:tracked-changes>   2967 <text:tracked-changes>
2907         <text:changed-region text:id="c001">   2968         <text:changed-region text:id="c001">
2908                 <text:insertion>   2969                 <text:insertion>
2909                         <office:change-info>   2970                         <office:change-info>
2910                                 <dc:creator>Michael Brauer</dc:creator>   2971                                 <dc:creator>Michael Brauer</dc:creator>
2911                                 <dc:date>1999-05-18T12:56:04</dc:date>   2972                                 <dc:date>1999-05-18T12:56:04</dc:date>
2912                         </office:change-info>   2973                         </office:change-info>
2913                 </text:insertion>   2974                 </text:insertion>
2914         </text:changed-region>   2975         </text:changed-region>
2915 </text:tracked-changes>   2976 </text:tracked-changes>
2916     2977  
2917 <text:p>   2978 <text:p>
2918         This is the original text<text:change-start text:change-id="c001"/>,   2979         This is the original text<text:change-start text:change-id="c001"/>,
2919         but this has been added<text:change-end text:change-id="c001"/>.   2980         but this has been added<text:change-end text:change-id="c001"/>.
2920 </text:p>   2981 </text:p>
2921 4.6.4Deletion   2982 4.6.4Deletion
2922 A <text:deletion> element contains content that was deleted while change tracking was enabled. The position where the text was deleted is marked by the change position element.   2983 A <text:deletion> element contains content that was deleted while change tracking was enabled. The position where the text was deleted is marked by the change position element.
2923 If part of a paragraph was deleted, the text that was deleted is contained in this element as a paragraph element. If the deleted text is reinserted into the document, the paragraph is joined with the paragraph where the deletion took place.   2984 If part of a paragraph was deleted, the text that was deleted is contained in this element as a paragraph element. If the deleted text is reinserted into the document, the paragraph is joined with the paragraph where the deletion took place.
2924 <define name="text-changed-region-content" combine="choice">   2985 <define name="text-changed-region-content" combine="choice">
2925         <element name="text:deletion">   2986         <element name="text:deletion">
2926                 <ref name="office-change-info"/>   2987                 <ref name="office-change-info"/>
2927                 <zeroOrMore>   2988                 <zeroOrMore>
2928                         <ref name="text-content"/>   2989                         <ref name="text-content"/>
2929                 </zeroOrMore>   2990                 </zeroOrMore>
2930         </element>   2991         </element>
2931 </define>   2992 </define>
2932 Example: Deletion of text   2993 Example: Deletion of text
2933 <text:tracked-changes>   2994 <text:tracked-changes>
2934         <text:changed-region text:id="c002">   2995         <text:changed-region text:id="c002">
2935                 <text:deletion>   2996                 <text:deletion>
2936                         <office:change-info>   2997                         <office:change-info>
2937                                 <dc:creator>Michael Brauer</dc:creator>   2998                                 <dc:creator>Michael Brauer</dc:creator>
2938                                 <dc:date>1999-05-18T12:56:04</dc:date>   2999                                 <dc:date>1999-05-18T12:56:04</dc:date>
2939                         </office:change-info>   3000                         </office:change-info>
2940                         <text:p>, but this has been deleted</text:p>   3001                         <text:p>, but this has been deleted</text:p>
2941                 </text:deletion>   3002                 </text:deletion>
2942         </text:changed-region>   3003         </text:changed-region>
2943 </text:tracked-changes>   3004 </text:tracked-changes>
2944     3005  
2945 <text:p>   3006 <text:p>
2946         This is the original text<text:change text:region-id="c002"/>.   3007         This is the original text<text:change text:region-id="c002"/>.
2947 </text:p>   3008 </text:p>
2948 This example shows:   3009 This example shows:
2949 Deleted text = , but this has been deleted   3010 Deleted text = , but this has been deleted
2950 This text is contained in the <text:p> element within the <text:deletion> element.   3011 This text is contained in the <text:p> element within the <text:deletion> element.
2951 Current text = This is the original text.   3012 Current text = This is the original text.
2952 This text is contained in the <text:p> element at the end of the example.   3013 This text is contained in the <text:p> element at the end of the example.
2953 Original text before deletion took place = This is the original text, but this has been deleted.   3014 Original text before deletion took place = This is the original text, but this has been deleted.
2954 Note that the deleted text, like all text in the OpenDocument format, is contained in a paragraph element. To reconstruct the original text, this paragraph is merged with its surrounding. In other words, a deletion consisting of only a single word would be represented as a paragraph containing the word.   3015 Note that the deleted text, like all text in the OpenDocument format, is contained in a paragraph element. To reconstruct the original text, this paragraph is merged with its surrounding. In other words, a deletion consisting of only a single word would be represented as a paragraph containing the word.
2955 To reconstruct the text before the deletion took place, do:   3016 To reconstruct the text before the deletion took place, do:
2956 If the change mark is inside a paragraph, insert the text content of the <text:deletion> element as if the beginning <text:p> and final </text:p> tags were missing.   3017 If the change mark is inside a paragraph, insert the text content of the <text:deletion> element as if the beginning <text:p> and final </text:p> tags were missing.
2957 If the change mark is inside a header, proceed as above, except adapt the inserted tags to math their new counterparts. <> 3018 If the change mark is inside a header, proceed as above, except adapt the end tags to match their new counterparts.
2958 Otherwise, simply copy the text content of the <text:deletion> element in place of the change mark. = 3019 Otherwise, simply copy the text content of the <text:deletion> element in place of the change mark.
2959 Example: Given the following change:   3020 Example: Given the following change:
2960 <text:changed-region text:id="example">   3021 <text:changed-region text:id="example">
2961         <text:deletion>   3022         <text:deletion>
2962                 <office:change-info>...</office:change-info>   3023                 <office:change-info>...</office:change-info>
2963                 <text:p>Hello</text:p>   3024                 <text:p>Hello</text:p>
2964                 <text:p>World!</text:p>   3025                 <text:p>World!</text:p>
2965         </text:deletion>   3026         </text:deletion>
2966 </text:changed-region>   3027 </text:changed-region>
2967 The first (and most common) case occurs if a change mark is inside a regular paragraph:   3028 The first (and most common) case occurs if a change mark is inside a regular paragraph:
2968 <text:p>abc<text:change text:id="example/>def</text:p>   3029 <text:p>abc<text:change text:id="example/>def</text:p>
2969 To reconstruct the original text, the two <text:p> elements are copied to replace the change mark, except the beginning and ending tags are missing:   3030 To reconstruct the original text, the two <text:p> elements are copied to replace the change mark, except the beginning and ending tags are missing:
2970 <text:p>abcHello</text:p>   3031 <text:p>abcHello</text:p>
2971 <text:p>World!def</text:p>   3032 <text:p>World!def</text:p>
2972 If the change mark occurred inside a header, the same procedure is followed, except the copied tags are adapted to make sure we still have well-formed XML.   3033 If the change mark occurred inside a header, the same procedure is followed, except the copied tags are adapted to make sure we still have well-formed XML.
2973 <text:h>abc<text:change text:id="example/>def</text:h>   3034 <text:h>abc<text:change text:id="example/>def</text:h>
2974 becomes:   3035 becomes:
2975 <text:h>abcHello</text:h>   3036 <text:h>abcHello</text:h>
2976 <text:h>World!def</text:h>   3037 <text:h>World!def</text:h>
2977 The third case occurs when a change occurs outside of a paragraph. In this case, the deleted text is simply copied verbatim.   3038 The third case occurs when a change occurs outside of a paragraph. In this case, the deleted text is simply copied verbatim.
2978 <text:p>abcdef</text:p>   3039 <text:p>abcdef</text:p>
2979 <text:change text:id="example/>   3040 <text:change text:id="example/>
2980 <text:p>ghijkl</text:p>   3041 <text:p>ghijkl</text:p>
2981 This becomes:   3042 This becomes:
2982 <text:p>abcdef</text:p>   3043 <text:p>abcdef</text:p>
2983 <text:h>Hello</text:h> <> 3044 <text:p>Hello</text:p>
2984 <text:h>World!</text:h>   3045 <text:p>World!</text:p>
2985 <text:p>ghijkl</text:p> = 3046 <text:p>ghijkl</text:p>
2986 If, in the first two cases, the deletion contains complete paragraphs, then additional empty paragraphs must be put into the <text:deletion> element to achieve the desired result.   3047 If, in the first two cases, the deletion contains complete paragraphs, then additional empty paragraphs must be put into the <text:deletion> element to achieve the desired result.
2987 The change that took place from   3048 The change that took place from
2988 <text:p>abc</text:p>   3049 <text:p>abc</text:p>
2989 <text:h>Hello</text:h>   3050 <text:h>Hello</text:h>
2990 <text:h>World!</text:h>   3051 <text:h>World!</text:h>
2991 <text:p>def</text:p>   3052 <text:p>def</text:p>
2992 to   3053 to
2993 <text:p>abc<text:change text:id="example/>def</text:p>   3054 <text:p>abc<text:change text:id="example/>def</text:p>
2994 would be represented as:   3055 would be represented as:
2995 <text:changed-region text:id="example">   3056 <text:changed-region text:id="example">
2996         <text:deletion>   3057         <text:deletion>
2997                 <office:change-info>...</office:change-info>   3058                 <office:change-info>...</office:change-info>
2998                 <text:p/>   3059                 <text:p/>
2999                 <text:p>Hello</text:p> <> 3060                 <text:h>Hello</text:h>
3000                 <text:p>World!</text:p>   3061                 <text:h>World!</text:h>
3001                 <text:p/> = 3062                 <text:p/>
3002         </text:deletion>   3063         </text:deletion>
3003 </text:changed-region>   3064 </text:changed-region>
3004 4.6.5Format Change   3065 4.6.5Format Change
3005 A format change element represents any change in formatting attributes. The region where the change took place is marked by a change start and a change end element.   3066 A format change element represents any change in formatting attributes. The region where the change took place is marked by a change start and a change end element.
3006 <define name="text-changed-region-content" combine="choice">   3067 <define name="text-changed-region-content" combine="choice">
3007         <element name="text:format-change">   3068         <element name="text:format-change">
3008                 <ref name="office-change-info"/>   3069                 <ref name="office-change-info"/>
3009         </element>   3070         </element>
3010 </define>   3071 </define>
3011 Note: A format change element does not contain the actual changes that took place.   3072 Note: A format change element does not contain the actual changes that took place.
3012 4.6.6Change Info   3073 4.6.6Change Info
3013 The change info element contains meta information who made the change and when. It is also used for spreadsheet documents, and thus described in a section 12.3 (Change Tracking Metadata).   3074 The change info element contains meta information who made the change and when. It is also used for spreadsheet documents, and thus described in a section 12.3 (Change Tracking Metadata).
3014 4.6.7Change Marks   3075 4.6.7Change Marks
3015 There are three elements that mark the start and the end of a changed region, as follows:   3076 There are three elements that mark the start and the end of a changed region, as follows:
3016 Change start element – <text:change-start>   3077 Change start element – <text:change-start>
3017 This element marks the start of a region with content where text has been inserted or the format has been changed.   3078 This element marks the start of a region with content where text has been inserted or the format has been changed.
3018 Change end element – <text:change-end>   3079 Change end element – <text:change-end>
3019 This element marks the end of a region with content where text has been inserted or the format has been changed.   3080 This element marks the end of a region with content where text has been inserted or the format has been changed.
3020 Change position element – <text:change>   3081 Change position element – <text:change>
3021 This element marks a position in an empty region where text has been deleted.   3082 This element marks a position in an empty region where text has been deleted.
3022 All three elements have an attribute that specifies the ID of the region to which they belong.   3083 All three elements have an attribute that specifies the ID of the region to which they belong.
3023 <define name="change-marks">   3084 <define name="change-marks">
3024         <choice>   3085         <choice>
3025                 <element name="text:change">   3086                 <element name="text:change">
3026                         <ref name="change-mark-attr"/>   3087                         <ref name="change-mark-attr"/>
3027                 </element>   3088                 </element>
3028                 <element name="text:change-start">   3089                 <element name="text:change-start">
3029                         <ref name="change-mark-attr"/>   3090                         <ref name="change-mark-attr"/>
3030                 </element>   3091                 </element>
3031                 <element name="text:change-end">   3092                 <element name="text:change-end">
3032                         <ref name="change-mark-attr"/>   3093                         <ref name="change-mark-attr"/>
3033                 </element>   3094                 </element>
3034         </choice>   3095         </choice>
3035 </define>   3096 </define>
3036 <define name="change-mark-attr">   3097 <define name="change-mark-attr">
3037         <attribute name="text:change-id">   3098         <attribute name="text:change-id">
3038                 <ref name="IDREF"/>   3099                 <ref name="IDREF"/>
3039         </attribute>   3100         </attribute>
3040 </define>   3101 </define>
    <> 3102 4.7Soft Page Break
      3103 The <text:soft-page-break> element represents a soft page break.
      3104 See section 2.3.1:Use Soft Page BreaksUse Soft Page Breaks for details regarding soft page breaks.
      3105 <define name="text-soft-page-break">
      3106         <element name="text:soft-page-break">
      3107                 <empty/>
      3108         </element>
      3109 </define>
3041 4.7Text Declarations   3110 4.8Text Declarations
3042 Several text elements need per-document declarations before they can be used. For example, variable fields require that the variables used are being declared at the beginning of the document. These declarations are collected at the beginning of a text document. All such declarations are optional. The detailed description for each declaration can be found in the appropriate chapter. = 3111 Several text elements need per-document declarations before they can be used. For example, variable fields require that the variables used are being declared at the beginning of the document. These declarations are collected at the beginning of a text document. All such declarations are optional. The detailed description for each declaration can be found in the appropriate chapter.
3043 The supported text declarations are:   3112 The supported text declarations are:
3044 variable declarations – These declarations are used for variable fields. (cf. section 6.3.1).   3113 variable declarations – These declarations are used for variable fields. (cf. section 6.3.1).
3045 user field declarations – These declarations are used for user-defined fields (cf. section 6.3.5).   3114 user field declarations – These declarations are used for user-defined fields (cf. section 6.3.5).
3046 sequence declarations – These declarations are used for sequence fields (cf. section 6.3.8).   3115 sequence declarations – These declarations are used for sequence fields (cf. section 6.3.8).
3047 DDE connections – These declarations are used for DDE fields and DDE sections (cf. sections 6.6.9 and 4.4.3, respectively).   3116 DDE connections – These declarations are used for DDE fields and DDE sections (cf. sections 6.6.9 and 4.4.3, respectively).
3048 auto mark file – This declaration is used for generation of alphabetical indices (cf. section 7.8.2).   3117 auto mark file – This declaration is used for generation of alphabetical indices (cf. section 7.8.2).
3049 <define name="text-decls">   3118 <define name="text-decls">
3050         <optional>   3119         <optional>
3051                 <element name="text:variable-decls">   3120                 <element name="text:variable-decls">
3052                         <zeroOrMore>   3121                         <zeroOrMore>
3053                                 <ref name="text-variable-decl"/>   3122                                 <ref name="text-variable-decl"/>
3054                         </zeroOrMore>   3123                         </zeroOrMore>
3055                 </element>   3124                 </element>
3056         </optional>   3125         </optional>
3057         <optional>   3126         <optional>
3058                 <element name="text:sequence-decls">   3127                 <element name="text:sequence-decls">
3059                         <zeroOrMore>   3128                         <zeroOrMore>
3060                                 <ref name="text-sequence-decl"/>   3129                                 <ref name="text-sequence-decl"/>
3061                         </zeroOrMore>   3130                         </zeroOrMore>
3062                 </element>   3131                 </element>
3063         </optional>   3132         </optional>
3064         <optional>   3133         <optional>
3065                 <element name="text:user-field-decls">   3134                 <element name="text:user-field-decls">
3066                         <zeroOrMore>   3135                         <zeroOrMore>
3067                                 <ref name="text-user-field-decl"/>   3136                                 <ref name="text-user-field-decl"/>
3068                         </zeroOrMore>   3137                         </zeroOrMore>
3069                 </element>   3138                 </element>
3070         </optional>   3139         </optional>
3071         <optional>   3140         <optional>
3072                 <element name="text:dde-connection-decls">   3141                 <element name="text:dde-connection-decls">
3073                         <zeroOrMore>   3142                         <zeroOrMore>
3074                                 <ref name="text-dde-connection-decl"/>   3143                                 <ref name="text-dde-connection-decl"/>
3075                         </zeroOrMore>   3144                         </zeroOrMore>
3076                 </element>   3145                 </element>
3077         </optional>   3146         </optional>
3078         <optional>   3147         <optional>
3079                 <ref name="text-alphabetical-index-auto-mark-file"/>   3148                 <ref name="text-alphabetical-index-auto-mark-file"/>
3080         </optional>   3149         </optional>
3081 </define>   3150 </define>
3082 5Paragraph Elements Content   3151 5Paragraph Elements Content
3083 5.1Basic Text Content   3152 5.1Basic Text Content
3084 Paragraph element's children make up the text content of any document. All text contained in a paragraph element or their children is text content, with few exceptions detailed later. This should significantly ease transformations into other formats, since transformations may ignore any child elements of paragraph elements and only process their text content, and still obtain a faithful representation of text content.   3153 Paragraph element's children make up the text content of any document. All text contained in a paragraph element or their children is text content, with few exceptions detailed later. This should significantly ease transformations into other formats, since transformations may ignore any child elements of paragraph elements and only process their text content, and still obtain a faithful representation of text content.
3085 Text content elements that do not contain in-line text children are:   3154 Text content elements that do not contain in-line text children are:
3086 (foot- and end-)notes (see section 5.3)   3155 (foot- and end-)notes (see section 5.3)
3087 Foot- and endnotes contain text content, but are typically displayed outside the main text content, e.g., at the end of a page or document.   3156 Foot- and endnotes contain text content, but are typically displayed outside the main text content, e.g., at the end of a page or document.
3088 rubies (see section 5.4)   3157 rubies (see section 5.4)
3089 Ruby texts are usually displayed above or below the main text.   3158 Ruby texts are usually displayed above or below the main text.
3090 annotations (see section 5.5)   3159 annotations (see section 5.5)
3091 Annotations are typically not displayed.   3160 Annotations are typically not displayed.
3092 <define name="paragraph-content" combine="choice">   3161 <define name="paragraph-content" combine="choice">
3093         <text/>   3162         <text/>
3094 </define>   3163 </define>
3095 5.1.1White-space Characters   3164 5.1.1White-space Characters
3096 If the paragraph element or any of its child elements contains white-space characters, they are collapsed, in other words they are processed in the same way that [HTML4] processes them. The following [UNICODE] characters are normalized to a SPACE character: <> 3165 If the paragraph element or any of its child elements contains white-space characters, they are collapsed. Leading white-space characters at the paragraph start as well as trailing white-space characters at the paragraph end are ignored. In detail, the following conversions take place:
      3166 The following [UNICODE] characters are normalized to a SPACE character:
3097 HORIZONTAL TABULATION (0x0009) = 3167 HORIZONTAL TABULATION (0x0009)
3098 CARRIAGE RETURN (0x000D)   3168 CARRIAGE RETURN (0x000D)
3099 LINE FEED (0x000A)   3169 LINE FEED (0x000A)
3100 SPACE (0x0020)   3170 SPACE (0x0020)
3101 In addition, these characters are ignored if the preceding character is a white-space character. The preceding character can be contained in the same element, in the parent element, or in the preceding sibling element, as long as it is contained within the same paragraph element and the element in which it is contained processes white-space characters as described above. <> 3171 In addition, these characters are ignored if the preceding character is a white-space character. The preceding character can be contained in the same element, in the parent element, or in the preceding sibling element, as long as it is contained within the same paragraph element and the element in which it is contained processes white-space characters as described above. White-space characters at the start or end of the paragraph are ignored, regardless whether they are contained in the paragraph element itself, or in a child element in which white-space characters are collapsed as described above.
      3172 These white-space processing rules shall enable authors to use white-space characters to improve the readability of the XML source of an OpenDocument document in the same way as they can use them in HTML.
3102 White-space processing takes place within the following elements: = 3173 White-space processing takes place within the following elements:
3103 <text:p>   3174 <text:p>
3104 <text:h>   3175 <text:h>
3105 <text:span>   3176 <text:span>
3106 <text:a>   3177 <text:a>
3107 <text:ref-point>   3178 <text:ref-point>
3108 <text:ref-point-start>   3179 <text:ref-point-start>
3109 <text:ref-point-end>   3180 <text:ref-point-end>
3110 <text:bookmark>   3181 <text:bookmark>
3111 <text:bookmark-start>   3182 <text:bookmark-start>
3112 <text:bookmark-end>   3183 <text:bookmark-end>
3113 Note: In [XSL], white-space processing of a paragraph of text can be enabled by attaching an fo:white-space="collapse" attribute to the <fo:block> element that corresponds to the paragraph element.   3184 Note: In [XSL], white-space processing of a paragraph of text can be enabled by attaching an fo:white-space="collapse" attribute to the <fo:block> element that corresponds to the paragraph element.
    <> 3185  
      3186 , in other words they are processed in the same way that [HTML4] processes them.
3114 Space Character = 3187 Space Character
3115 In general, consecutive white-space characters in a paragraph are collapsed. For this reason, there is a special XML element used to represent the [UNICODE] character SPACE (0x0020).   3188 In general, consecutive white-space characters in a paragraph are collapsed. For this reason, there is a special XML element used to represent the [UNICODE] character SPACE (0x0020).
3116 This element uses an optional attribute called text:c to specify the number of SPACE characters that the element represents. A missing text:c attribute is interpreted as meaning a single SPACE character.   3189 This element uses an optional attribute called text:c to specify the number of SPACE characters that the element represents. A missing text:c attribute is interpreted as meaning a single SPACE character.
3117 This element is required to represent the second and all following SPACE characters in a sequence of SPACE characters. It is not an error if the character preceding the element is not a white-space character, but it is good practice to use this element for the second and all following SPACE characters in a sequence. This way, an application recognizes a single space character without recognizing this element.   3190 This element is required to represent the second and all following SPACE characters in a sequence of SPACE characters. It is not an error if the character preceding the element is not a white-space character, but it is good practice to use this element for the second and all following SPACE characters in a sequence. This way, an application recognizes a single space character without recognizing this element.
3118 <define name="paragraph-content" combine="choice">   3191 <define name="paragraph-content" combine="choice">
3119         <element name="text:s">   3192         <element name="text:s">
3120                 <optional>   3193                 <optional>
3121                         <attribute name="text:c">   3194                         <attribute name="text:c">
3122                                 <ref name="nonNegativeInteger"/>   3195                                 <ref name="nonNegativeInteger"/>
3123                         </attribute>   3196                         </attribute>
3124                 </optional>   3197                 </optional>
3125         </element>   3198         </element>
3126 </define>   3199 </define>
3127 Tab Character   3200 Tab Character
3128 The <text:tab> element represents the [UNICODE] tab character HORIZONTAL TABULATION (0x0009) in a heading or paragraph. A <text:tab> element reserves space from the current position up to the next tab-stop, as defined in the paragraph's style information.   3201 The <text:tab> element represents the [UNICODE] tab character HORIZONTAL TABULATION (0x0009) in a heading or paragraph. A <text:tab> element reserves space from the current position up to the next tab-stop, as defined in the paragraph's style information.
3129 <define name="paragraph-content" combine="choice">   3202 <define name="paragraph-content" combine="choice">
3130         <element name="text:tab">   3203         <element name="text:tab">
3131                 <ref name="text-tab-attr"/>   3204                 <ref name="text-tab-attr"/>
3132         </element>   3205         </element>
3133 </define>   3206 </define>
3134 To determine which tab-stop a tab character will advance to requires layout information. To make it easier for non-layout oriented processors to determine this information, applications may generate a text:tab-ref attribute as a hint that associates a tab character with a tab-stop in the current paragraph style. It contains the number of the tab-stop that the tab character refers to. The position 0 has a special meaning and signifies the start margin of the paragraph.   3207 To determine which tab-stop a tab character will advance to requires layout information. To make it easier for non-layout oriented processors to determine this information, applications may generate a text:tab-ref attribute as a hint that associates a tab character with a tab-stop in the current paragraph style. It contains the number of the tab-stop that the tab character refers to. The position 0 has a special meaning and signifies the start margin of the paragraph.
3135 <define name="text-tab-attr">   3208 <define name="text-tab-attr">
3136         <optional>   3209         <optional>
3137                 <attribute name="text:tab-ref">   3210                 <attribute name="text:tab-ref">
3138                         <ref name="nonNegativeInteger"/>   3211                         <ref name="nonNegativeInteger"/>
3139                 </attribute>   3212                 </attribute>
3140         </optional>   3213         </optional>
3141 </define>   3214 </define>
3142 Note: The text:tab-ref attribute is only a hint to help non-layout oriented processors to determine the tab/tab-stop association. Layout oriented processors should determine the tab positions solely based on the style information.   3215 Note: The text:tab-ref attribute is only a hint to help non-layout oriented processors to determine the tab/tab-stop association. Layout oriented processors should determine the tab positions solely based on the style information.
3143 Line Breaks   3216 Line Breaks
3144 The <text:line-break> element represents a line break in a heading or paragraph.   3217 The <text:line-break> element represents a line break in a heading or paragraph.
3145 <define name="paragraph-content" combine="choice">   3218 <define name="paragraph-content" combine="choice">
3146         <element name="text:line-break">   3219         <element name="text:line-break">
3147                 <empty/>   3220                 <empty/>
3148         </element>   3221         </element>
    -+ 3222 </define>
      3223 Soft Page Break
      3224 The <text:soft-page-break> element represents a soft page break within a heading or paragraph.
      3225 See section 2.3.1:Use Soft Page BreaksUse Soft Page Breaks for details regarding soft page breaks.
      3226 <define name="paragraph-content" combine="choice">
      3227         <ref name="text-soft-page-break"/>
3149 </define> = 3228 </define>
3150 5.1.2Soft Hyphens, Hyphens, and Non-breaking Blanks   3229 5.1.2Soft Hyphens, Hyphens, and Non-breaking Blanks
3151 Soft hyphens, hyphens, and non-breaking blanks are represented by [UNICODE] characters.   3230 Soft hyphens, hyphens, and non-breaking blanks are represented by [UNICODE] characters.
3152 The [UNICODE] character...   3231 The [UNICODE] character...
3153 Represents...   3232 Represents...
3154 SOFT HYPHEN (00AD)   3233 SOFT HYPHEN (00AD)
3155 soft hyphens   3234 soft hyphens
3156 NON-BREAKING HYPHEN (2011)   3235 NON-BREAKING HYPHEN (2011)
3157 non-breaking hyphens   3236 non-breaking hyphens
3158 NO-BREAK SPACE (00A0)   3237 NO-BREAK SPACE (00A0)
3159 non-breaking blanks   3238 non-breaking blanks
3160 5.1.3Attributed Text   3239 5.1.3Attributed Text
3161 The <text:span> element represents portions of text that are attributed using a certain text style or class. The content of this element is the text that uses the text style.   3240 The <text:span> element represents portions of text that are attributed using a certain text style or class. The content of this element is the text that uses the text style.
3162 The name of the a text style or text class is the value of a text:style-name or text:class-names attributes, respectively, attached to the <text:span> element. These attributes must refer to text styles or classes.   3241 The name of the a text style or text class is the value of a text:style-name or text:class-names attributes, respectively, attached to the <text:span> element. These attributes must refer to text styles or classes.
3163 A text:style-name attribute references a single text style. A text:class-names attribute takes a whitespace separated list of text style names. The referenced text styles are applied in the order they are contained in the list. If both, text:style-name and text:class-names are present,  the style referenced by the text:style-name attribute is treated as the first style in the list in text:class-names. Conforming application should support the text:class-names attribute and also should preserve it while editing.   3242 A text:style-name attribute references a single text style. A text:class-names attribute takes a whitespace separated list of text style names. The referenced text styles are applied in the order they are contained in the list. If both, text:style-name and text:class-names are present,  the style referenced by the text:style-name attribute is treated as the first style in the list in text:class-names. Conforming application should support the text:class-names attribute and also should preserve it while editing.
3164 <text:span> elements can be nested.   3243 <text:span> elements can be nested.
3165 White-space characters contained in this element are collapsed.   3244 White-space characters contained in this element are collapsed.
3166 <define name="paragraph-content" combine="choice">   3245 <define name="paragraph-content" combine="choice">
3167         <element name="text:span">   3246         <element name="text:span">
3168                 <optional>   3247                 <optional>
3169                         <attribute name="text:style-name">   3248                         <attribute name="text:style-name">
3170                                 <ref name="styleNameRef"/>   3249                                 <ref name="styleNameRef"/>
3171                         </attribute>   3250                         </attribute>
3172                 </optional>   3251                 </optional>
3173                 <optional>   3252                 <optional>
3174                         <attribute name="text:class-names">   3253                         <attribute name="text:class-names">
3175                                 <ref name="styleNameRefs"/>   3254                                 <ref name="styleNameRefs"/>
3176                         </attribute>   3255                         </attribute>
3177                 </optional>   3256                 </optional>
3178                 <zeroOrMore>   3257                 <zeroOrMore>
3179                         <ref name="paragraph-content"/>   3258                         <ref name="paragraph-content"/>
3180                 </zeroOrMore>   3259                 </zeroOrMore>
3181         </element>   3260         </element>
3182 </define>   3261 </define>
3183 Example: Text style in OpenDocument documents:   3262 Example: Text style in OpenDocument documents:
3184 <text:p>   3263 <text:p>
3185         The last word of this sentence is   3264         The last word of this sentence is
3186         <text:span text:style-name="emphasize">emphasized</text:span>.   3265         <text:span text:style-name="emphasize">emphasized</text:span>.
3187 </text:p>   3266 </text:p>
3188 5.1.4Hyperlinks   3267 5.1.4Hyperlinks
3189 Hyperlinks in text documents are represented by a <text:a> element.   3268 Hyperlinks in text documents are represented by a <text:a> element.
3190 This element also contains an event table element, <office:event-listeners>, which contains the events assigned to the hyperlink. See section 12.4 for more information on the event table element.   3269 This element also contains an event table element, <office:event-listeners>, which contains the events assigned to the hyperlink. See section 12.4 for more information on the event table element.
3191 <define name="paragraph-content" combine="choice">   3270 <define name="paragraph-content" combine="choice">
3192         <element name="text:a">   3271         <element name="text:a">
3193                 <ref name="text-a-attlist"/>   3272                 <ref name="text-a-attlist"/>
3194                 <optional>   3273                 <optional>
3195                         <ref name="office-event-listeners"/>   3274                         <ref name="office-event-listeners"/>
3196                 </optional>   3275                 </optional>
3197                 <zeroOrMore>   3276                 <zeroOrMore>
3198                         <ref name="paragraph-content"/>   3277                         <ref name="paragraph-content"/>
3199                 </zeroOrMore>   3278                 </zeroOrMore>
3200         </element>   3279         </element>
3201 </define>   3280 </define>
3202 The attributes that may be associated with the <text:a> element are:   3281 The attributes that may be associated with the <text:a> element are:
3203 Name   3282 Name
3204 Link location   3283 Link location
3205 Target frame   3284 Target frame
3206 Text styles   3285 Text styles
3207 Name   3286 Name
3208 A hyperlink can have a name, but it is not essential. The office:name attribute specifies the name of the hyperlink if one exists. This name can serve as a target for some other hyperlinks.   3287 A hyperlink can have a name, but it is not essential. The office:name attribute specifies the name of the hyperlink if one exists. This name can serve as a target for some other hyperlinks.
3209 <define name="text-a-attlist" combine="interleave">   3288 <define name="text-a-attlist" combine="interleave">
3210         <optional>   3289         <optional>
3211                 <attribute name="office:name">   3290                 <attribute name="office:name">
    -+ 3291                         <ref name="string"/>
      3292                 </attribute>
      3293         </optional>
      3294 </define>
      3295 Title
      3296 The office:title attribute specifies a short accessible description for hint text.
      3297 See appendix E for guidelines how to use this attribute.
      3298 <define name="text-a-attlist" combine="interleave">
      3299         <optional>
      3300                 <attribute name="office:title">
3212                         <ref name="string"/> = 3301                         <ref name="string"/>
3213                 </attribute>   3302                 </attribute>
3214         </optional>   3303         </optional>
3215 </define>   3304 </define>
3216 Link Location   3305 Link Location
3217 The xlink:href attribute specifies the URL for the target location of the link.   3306 The xlink:href attribute specifies the URL for the target location of the link.
3218 <define name="text-a-attlist" combine="interleave">   3307 <define name="text-a-attlist" combine="interleave">
3219         <attribute name="xlink:href">   3308         <attribute name="xlink:href">
3220                 <ref name="anyURI"/>   3309                 <ref name="anyURI"/>
3221         </attribute>   3310         </attribute>
3222         <optional>   3311         <optional>
3223                 <attribute name="xlink:type" a:defaultValue="simple">   3312                 <attribute name="xlink:type" a:defaultValue="simple">
3224                         <value>simple</value>   3313                         <value>simple</value>
3225                 </attribute>   3314                 </attribute>
3226         </optional>   3315         </optional>
3227         <optional>   3316         <optional>
3228                 <attribute name="xlink:actuate" a:defaultValue="onRequest">   3317                 <attribute name="xlink:actuate" a:defaultValue="onRequest">
3229                         <value>onRequest</value>   3318                         <value>onRequest</value>
3230                 </attribute>   3319                 </attribute>
3231         </optional>   3320         </optional>
3232 </define>   3321 </define>
3233 Target Frame   3322 Target Frame
3234 The office:target-frame-name attribute specifies the target frame of the link. This attribute can have one of the following values:   3323 The office:target-frame-name attribute specifies the target frame of the link. This attribute can have one of the following values:
3235 _self – The referenced document replaces the content of the current frame.   3324 _self – The referenced document replaces the content of the current frame.
3236 _blank – The referenced document is displayed in a new frame.   3325 _blank – The referenced document is displayed in a new frame.
3237 _parent – The referenced document is displayed in the parent frame of the current frame.   3326 _parent – The referenced document is displayed in the parent frame of the current frame.
3238 _top – The referenced document is displayed in the uppermost frame, that is the frame that contains the current frame as a child or descendent but is not contained within another frame.   3327 _top – The referenced document is displayed in the uppermost frame, that is the frame that contains the current frame as a child or descendent but is not contained within another frame.
3239 A frame name – The referenced document is displayed in the named frame. If the named frame does not exist, a new frame with that name is created.   3328 A frame name – The referenced document is displayed in the named frame. If the named frame does not exist, a new frame with that name is created.
3240 To conform with the XLink Specification, an additional xlink:show attribute is attached to the <text:a> element. If the value of the attribute is _blank, the xlink:show attribute value is new. If the value of the attribute is any of the other value options, the value of the xlink:show attribute is replace. See [XLink].   3329 To conform with the XLink Specification, an additional xlink:show attribute is attached to the <text:a> element. If the value of the attribute is _blank, the xlink:show attribute value is new. If the value of the attribute is any of the other value options, the value of the xlink:show attribute is replace. See [XLink].
3241 <define name="text-a-attlist" combine="interleave">   3330 <define name="text-a-attlist" combine="interleave">
3242         <optional>   3331         <optional>
3243                 <attribute name="office:target-frame-name">   3332                 <attribute name="office:target-frame-name">
3244                         <ref name="targetFrameName"/>   3333                         <ref name="targetFrameName"/>
3245                 </attribute>   3334                 </attribute>
3246         </optional>   3335         </optional>
3247         <optional>   3336         <optional>
3248                 <attribute name="xlink:show">   3337                 <attribute name="xlink:show">
3249                         <choice>   3338                         <choice>
3250                                 <value>new</value>   3339                                 <value>new</value>
3251                                 <value>replace</value>   3340                                 <value>replace</value>
3252                         </choice>   3341                         </choice>
3253                 </attribute>   3342                 </attribute>
3254         </optional>   3343         </optional>
3255 </define>   3344 </define>
3256 Text Styles   3345 Text Styles
3257 Every hyperlink has two text styles as follows:   3346 Every hyperlink has two text styles as follows:
3258 If the link location of the hyperlink was not visited, the text style specifies by the text:style-name attribute is applied to the text of the hyperlink.   3347 If the link location of the hyperlink was not visited, the text style specifies by the text:style-name attribute is applied to the text of the hyperlink.
3259 If the link location of the hyperlink was already visited, the text style specified by the text:visited-style-name attribute is applied to the text of the hyperlink   3348 If the link location of the hyperlink was already visited, the text style specified by the text:visited-style-name attribute is applied to the text of the hyperlink
3260 <define name="text-a-attlist" combine="interleave">   3349 <define name="text-a-attlist" combine="interleave">
3261         <optional>   3350         <optional>
3262                 <attribute name="text:style-name">   3351                 <attribute name="text:style-name">
3263                         <ref name="styleNameRef"/>   3352                         <ref name="styleNameRef"/>
3264                 </attribute>   3353                 </attribute>
3265         </optional>   3354         </optional>
3266         <optional>   3355         <optional>
3267                 <attribute name="text:visited-style-name">   3356                 <attribute name="text:visited-style-name">
3268                         <ref name="styleNameRef"/>   3357                         <ref name="styleNameRef"/>
3269                 </attribute>   3358                 </attribute>
3270         </optional>   3359         </optional>
3271 </define>   3360 </define>
3272 5.2Bookmarks and References   3361 5.2Bookmarks and References
3273 5.2.1Bookmarks   3362 5.2.1Bookmarks
3274 Bookmarks can either mark a text position or a text range. A text range can start at any text position and end at another text position. In particular, a bookmark can start in the middle of one paragraph and end in the middle of another paragraph. The XML element used to represent a bookmark varies depending on the type of bookmark, as follows:   3363 Bookmarks can either mark a text position or a text range. A text range can start at any text position and end at another text position. In particular, a bookmark can start in the middle of one paragraph and end in the middle of another paragraph. The XML element used to represent a bookmark varies depending on the type of bookmark, as follows:
3275 <text:bookmark> – to mark one text position   3364 <text:bookmark> – to mark one text position
3276 <text:bookmark-start> – to mark the start position in a text range   3365 <text:bookmark-start> – to mark the start position in a text range
3277 <text:bookmark-end> – to mark the end position in a text range   3366 <text:bookmark-end> – to mark the end position in a text range
3278 For every <text:bookmark-start> element, there must be a <text:bookmark-end> element in the same text flow using the same text:name attribute, and vice versa. The <text:bookmark-start> element must precede the <text:bookmark-end> element.   3367 For every <text:bookmark-start> element, there must be a <text:bookmark-end> element in the same text flow using the same text:name attribute, and vice versa. The <text:bookmark-start> element must precede the <text:bookmark-end> element.
3279 <define name="paragraph-content" combine="choice">   3368 <define name="paragraph-content" combine="choice">
3280         <choice>   3369         <choice>
3281                 <element name="text:bookmark">   3370                 <element name="text:bookmark">
3282                         <attribute name="text:name">   3371                         <attribute name="text:name">
3283                                 <ref name="string"/>   3372                                 <ref name="string"/>
3284                         </attribute>   3373                         </attribute>
3285                 </element>   3374                 </element>
3286                 <element name="text:bookmark-start">   3375                 <element name="text:bookmark-start">
3287                         <attribute name="text:name">   3376                         <attribute name="text:name">
3288                                 <ref name="string"/>   3377                                 <ref name="string"/>
3289                         </attribute>   3378                         </attribute>
3290                 </element>   3379                 </element>
3291                 <element name="text:bookmark-end">   3380                 <element name="text:bookmark-end">
3292                         <attribute name="text:name">   3381                         <attribute name="text:name">
3293                                 <ref name="string"/>   3382                                 <ref name="string"/>
3294                         </attribute>   3383                         </attribute>
3295                 </element>   3384                 </element>
3296         </choice>   3385         </choice>
3297 </define>   3386 </define>
3298 Example: Bookmarks   3387 Example: Bookmarks
3299 <text:p>   3388 <text:p>
3300 <text:bookmark text:name="Mark 1"/>There is a text mark in front of this   3389 <text:bookmark text:name="Mark 1"/>There is a text mark in front of this
3301 paragraph.   3390 paragraph.
3302 <text:bookmark-start text:name="Mark 2"/>In front of this paragraph there is   3391 <text:bookmark-start text:name="Mark 2"/>In front of this paragraph there is
3303 the start of a bookmark.   3392 the start of a bookmark.
3304 </text:p>   3393 </text:p>
3305 <text:p>   3394 <text:p>
3306 This bookmark ends   3395 This bookmark ends
3307 <text:bookmark-end text:name="Mark 2"/>   3396 <text:bookmark-end text:name="Mark 2"/>
3308 amid this sentence.   3397 amid this sentence.
3309 </text:p>   3398 </text:p>
3310 5.2.2References   3399 5.2.2References
3311 The representation of references is modeled on the XML representation of bookmarks. There are two types of reference marks, as follows:   3400 The representation of references is modeled on the XML representation of bookmarks. There are two types of reference marks, as follows:
3312 A point reference   3401 A point reference
3313 A point reference marks a particular position in text and is represented by a single <text:reference-mark> element.   3402 A point reference marks a particular position in text and is represented by a single <text:reference-mark> element.
3314 A range reference   3403 A range reference
3315 A range reference marks a range of characters in text and is represented by two elements; <text:reference-mark-start> to mark the start of the range and <text:reference-mark-end> to mark the end of the range.   3404 A range reference marks a range of characters in text and is represented by two elements; <text:reference-mark-start> to mark the start of the range and <text:reference-mark-end> to mark the end of the range.
3316 Every reference is identified by its name, which must be unique. In a range reference, the start and end elements must use the same reference name.   3405 Every reference is identified by its name, which must be unique. In a range reference, the start and end elements must use the same reference name.
3317 Point References   3406 Point References
3318 The <text:reference-mark> element represents a point reference.   3407 The <text:reference-mark> element represents a point reference.
3319 <define name="paragraph-content" combine="choice">   3408 <define name="paragraph-content" combine="choice">
3320         <element name="text:reference-mark">   3409         <element name="text:reference-mark">
3321                 <attribute name="text:name">   3410                 <attribute name="text:name">
3322                         <ref name="string"/>   3411                         <ref name="string"/>
3323                 </attribute>   3412                 </attribute>
3324         </element>   3413         </element>
3325 </define>   3414 </define>
3326 Range References   3415 Range References
3327 The <text:reference-mark-start> and <text:reference-mark-end> elements represent a range reference.   3416 The <text:reference-mark-start> and <text:reference-mark-end> elements represent a range reference.
3328 <define name="paragraph-content" combine="choice">   3417 <define name="paragraph-content" combine="choice">
3329         <choice>   3418         <choice>
3330                 <element name="text:reference-mark-start">   3419                 <element name="text:reference-mark-start">
3331                         <attribute name="text:name">   3420                         <attribute name="text:name">
3332                                 <ref name="string"/>   3421                                 <ref name="string"/>
3333                         </attribute>   3422                         </attribute>
3334                 </element>   3423                 </element>
3335                 <element name="text:reference-mark-end">   3424                 <element name="text:reference-mark-end">
3336                         <attribute name="text:name">   3425                         <attribute name="text:name">
3337                                 <ref name="string"/>   3426                                 <ref name="string"/>
3338                         </attribute>   3427                         </attribute>
3339                 </element>   3428                 </element>
3340         </choice>   3429         </choice>
3341 </define>   3430 </define>
3342 In the OpenDocument schema, three elements are used to represent references instead of one element because references represented as a single XML element:   3431 In the OpenDocument schema, three elements are used to represent references instead of one element because references represented as a single XML element:
3343 Cannot support overlapping references   3432 Cannot support overlapping references
3344 Do not interact well with other elements   3433 Do not interact well with other elements
3345 Take the following example:   3434 Take the following example:
3346 Example: Overlapping range references   3435 Example: Overlapping range references
3347 <text:p>   3436 <text:p>
3348         <text:reference-mark-start text:name="first"/>This is an   3437         <text:reference-mark-start text:name="first"/>This is an
3349         <text:reference-mark-start text:name="second"/>example of a sentence   3438         <text:reference-mark-start text:name="second"/>example of a sentence
3350         <text:reference-mark-end text:name="first"/>with overlapping references.   3439         <text:reference-mark-end text:name="first"/>with overlapping references.
3351         <text:reference-mark-end text:name="second"/>   3440         <text:reference-mark-end text:name="second"/>
3352 </text:p>   3441 </text:p>
3353 The example paragraph shows two references that cover the following text:   3442 The example paragraph shows two references that cover the following text:
3354 reference “first”   3443 reference “first”
3355 “This is an example of a sentence”   3444 “This is an example of a sentence”
3356 reference “second”   3445 reference “second”
3357 “example of a sentence with overlapping references.”   3446 “example of a sentence with overlapping references.”
3358 This overlapping structure cannot be represented using a single reference element to contain the referenced text. Similarly, a reference spanning multiple paragraphs creates the same situation as two overlapping XML elements, as does character formatting either starts or ends, but not both, within the referenced text.   3447 This overlapping structure cannot be represented using a single reference element to contain the referenced text. Similarly, a reference spanning multiple paragraphs creates the same situation as two overlapping XML elements, as does character formatting either starts or ends, but not both, within the referenced text.
3359 5.3Notes   3448 5.3Notes
3360 Notes consist of a <text:note> element which occurs in the text stream at the position to which the note is anchored. How notes are numbered and rendered is determined by <text:notes-configuration> element, which occurs inside the <office:styles> section.   3449 Notes consist of a <text:note> element which occurs in the text stream at the position to which the note is anchored. How notes are numbered and rendered is determined by <text:notes-configuration> element, which occurs inside the <office:styles> section.
3361 5.3.1Note Element   3450 5.3.1Note Element
3362 The note element represents text notes which are attached to a certain text position. A common implementation of this concept are the footnotes and endnotes found in most word processors. A note contains a note citation element and a note body elements, which contains the note's content.   3451 The note element represents text notes which are attached to a certain text position. A common implementation of this concept are the footnotes and endnotes found in most word processors. A note contains a note citation element and a note body elements, which contains the note's content.
3363 In OpenDocument documents, notes are represented in a similar fashion to footnotes in [XSL]. In XSL, the first child of the note element contains the citation in the form of an <fo:inline> element. The OpenDocument schema uses the same structure but introduces a <text:note-citation> element. The second child contains the note body, just as in XSL.   3452 In OpenDocument documents, notes are represented in a similar fashion to footnotes in [XSL]. In XSL, the first child of the note element contains the citation in the form of an <fo:inline> element. The OpenDocument schema uses the same structure but introduces a <text:note-citation> element. The second child contains the note body, just as in XSL.
3364 Additionally, OpenDocument features <text:notes-configuration> elements. To achieve a similar effect to the note configuration in XSL, every note citation element must be formatted appropriately.   3453 Additionally, OpenDocument features <text:notes-configuration> elements. To achieve a similar effect to the note configuration in XSL, every note citation element must be formatted appropriately.
3365 <define name="paragraph-content" combine="choice">   3454 <define name="paragraph-content" combine="choice">
3366         <element name="text:note">   3455         <element name="text:note">
3367                 <ref name="text-note-class"/>   3456                 <ref name="text-note-class"/>
3368                 <optional>   3457                 <optional>
3369                         <attribute name="text:id">   3458                         <attribute name="text:id">
3370                                 <ref name="string"/>   3459                                 <ref name="string"/>
3371                         </attribute>   3460                         </attribute>
3372                 </optional>   3461                 </optional>
3373                 <element name="text:note-citation">   3462                 <element name="text:note-citation">
3374                         <optional>   3463                         <optional>
3375                                 <attribute name="text:label">   3464                                 <attribute name="text:label">
3376                                         <ref name="string"/>   3465                                         <ref name="string"/>
3377                                 </attribute>   3466                                 </attribute>
3378                         </optional>   3467                         </optional>
3379                         <text/>   3468                         <text/>
3380                 </element>   3469                 </element>
3381                 <element name="text:note-body">   3470                 <element name="text:note-body">
3382                         <zeroOrMore>   3471                         <zeroOrMore>
3383                                 <ref name="text-content"/>   3472                                 <ref name="text-content"/>
3384                         </zeroOrMore>   3473                         </zeroOrMore>
3385                 </element>   3474                 </element>
3386         </element>   3475         </element>
3387 </define>   3476 </define>
3388 Note Class   3477 Note Class
3389 Each note belongs to a class which determines how the note is expected to be rendered. Currently, two note classes are supported: Footnotes and endnotes.   3478 Each note belongs to a class which determines how the note is expected to be rendered. Currently, two note classes are supported: Footnotes and endnotes.
3390 <define name="text-note-class">   3479 <define name="text-note-class">
3391         <attribute name="text:note-class">   3480         <attribute name="text:note-class">
3392                 <choice>   3481                 <choice>
3393                         <value>footnote</value>   3482                         <value>footnote</value>
3394                         <value>endnote</value>   3483                         <value>endnote</value>
3395                 </choice>   3484                 </choice>
3396         </attribute>   3485         </attribute>
3397 </define>   3486 </define>
3398 Footnote Reference ID   3487 Footnote Reference ID
3399 The footnote reference ID is used by references to footnotes to identify the footnote that is referenced.   3488 The footnote reference ID is used by references to footnotes to identify the footnote that is referenced.
3400 Note Citation Element   3489 Note Citation Element
3401 The <text:note-citation> element contains the formatted note citation element, either as a formatted number or a string.   3490 The <text:note-citation> element contains the formatted note citation element, either as a formatted number or a string.
3402 Note Label   3491 Note Label
3403 Note citation elements can be labeled or numbered. If they are numbered, the number is chosen and formatted automatically according to the notes configuration element. If they are labeled, the user must supply a label for every note he/she inserts into the document. This label is stored in the text:label attribute of the <text:note-citation> element.   3492 Note citation elements can be labeled or numbered. If they are numbered, the number is chosen and formatted automatically according to the notes configuration element. If they are labeled, the user must supply a label for every note he/she inserts into the document. This label is stored in the text:label attribute of the <text:note-citation> element.
3404 Note Body   3493 Note Body
3405 The <text:note-body> element contains the actual content of the footnote. It does not have any attributes.   3494 The <text:note-body> element contains the actual content of the footnote. It does not have any attributes.
3406 The schema allows for the inclusion of notes into the note body. While this may be reasonable for some future note types, it is not reasonable for footnotes and endnotes. Conforming applications may or may not support such nested notes.   3495 The schema allows for the inclusion of notes into the note body. While this may be reasonable for some future note types, it is not reasonable for footnotes and endnotes. Conforming applications may or may not support such nested notes.
3407 Footnote example   3496 Footnote example
3408 <text:p>   3497 <text:p>
3409         This paragraph contains a footnote   3498         This paragraph contains a footnote
3410         <text:note text:note-class="footnote" text:id="ftn001">   3499         <text:note text:note-class="footnote" text:id="ftn001">
3411                 <text:note-citation>1</text:note-citation>   3500                 <text:note-citation>1</text:note-citation>
3412                 <text:note-body>   3501                 <text:note-body>
3413                         <text:p>   3502                         <text:p>
3414                                 This footnote has a generated sequence number   3503                                 This footnote has a generated sequence number
3415                         </text:p>   3504                         </text:p>
3416                 </text:note-body>   3505                 </text:note-body>
3417         </text:note>   3506         </text:note>
3418         .   3507         .
3419 </text:p>   3508 </text:p>
3420 <text:p>   3509 <text:p>
3421         This paragraph contains a footnote   3510         This paragraph contains a footnote
3422         <text:note text:note-class="footnote" text:id="ftn002">   3511         <text:note text:note-class="footnote" text:id="ftn002">
3423                 <text:note-citation text:label="*">*</text:note-citation>   3512                 <text:note-citation text:label="*">*</text:note-citation>
3424                 <text:note-body>   3513                 <text:note-body>
3425                         <text:p>   3514                         <text:p>
3426                                  This footnote has a fixed citation   3515                                  This footnote has a fixed citation
3427                         </text:p>   3516                         </text:p>
3428                 </text:note-body>   3517                 </text:note-body>
3429         </text:note>   3518         </text:note>
3430         , too   3519         , too
3431 </text:p>   3520 </text:p>
3432 5.4Ruby   3521 5.4Ruby
3433 A ruby is additional text that is displayed above or below some base text. The purpose of ruby is to annotate the base text or provide information about its pronunciation.   3522 A ruby is additional text that is displayed above or below some base text. The purpose of ruby is to annotate the base text or provide information about its pronunciation.
3434 There are two elements that can be contained in the <text:ruby> element:   3523 There are two elements that can be contained in the <text:ruby> element:
3435 Ruby base   3524 Ruby base
3436 Ruby text   3525 Ruby text
3437 The <text:ruby-base> element contains the text that is to be annotated. It contains any paragraph element content, like text spans. The element's text:style-name attribute references a ruby style that specifies further formatting attributes of the ruby. See section 14.8.4 for details.   3526 The <text:ruby-base> element contains the text that is to be annotated. It contains any paragraph element content, like text spans. The element's text:style-name attribute references a ruby style that specifies further formatting attributes of the ruby. See section 14.8.4 for details.
3438 The <text:ruby-text > element contains the annotation text. It may contain only plain text. The element's text:style-name attribute references a text style that specifies further formatting attributes used for the text.   3527 The <text:ruby-text > element contains the annotation text. It may contain only plain text. The element's text:style-name attribute references a text style that specifies further formatting attributes used for the text.
3439 <define name="paragraph-content" combine="choice">   3528 <define name="paragraph-content" combine="choice">
3440         <element name="text:ruby">   3529         <element name="text:ruby">
3441                 <optional>   3530                 <optional>
3442                         <attribute name="text:style-name">   3531                         <attribute name="text:style-name">
3443                                 <ref name="styleNameRef"/>   3532                                 <ref name="styleNameRef"/>
3444                         </attribute>   3533                         </attribute>
3445                 </optional>   3534                 </optional>
3446                 <element name="text:ruby-base">   3535                 <element name="text:ruby-base">
3447                         <ref name="paragraph-content"/>   3536                         <ref name="paragraph-content"/>
3448                 </element>   3537                 </element>
3449                 <element name="text:ruby-text">   3538                 <element name="text:ruby-text">
3450                         <optional>   3539                         <optional>
3451                                 <attribute name="text:style-name">   3540                                 <attribute name="text:style-name">
3452                                         <ref name="styleNameRef"/>   3541                                         <ref name="styleNameRef"/>
3453                                 </attribute>   3542                                 </attribute>
3454                         </optional>   3543                         </optional>
3455                         <text/>   3544                         <text/>
3456                 </element>   3545                 </element>
3457         </element>   3546         </element>
3458 </define>   3547 </define>
3459 5.5Text Annotation   3548 5.5Text Annotation
3460 The OpenDocument format allows annotation to appear within a paragraph element. See section 12.1 for details on annotations.   3549 The OpenDocument format allows annotation to appear within a paragraph element. See section 12.1 for details on annotations.
3461 <define name="paragraph-content" combine="choice">   3550 <define name="paragraph-content" combine="choice">
3462         <ref name="office-annotation"/>   3551         <ref name="office-annotation"/>
3463 </define>   3552 </define>
3464 5.6Index Marks   3553 5.6Index Marks
3465 Index marks are used to mark text areas for inclusion into text indices. They are similar in structure to bookmarks and references. They are discussed in detail section 7.1, together with text indices.   3554 Index marks are used to mark text areas for inclusion into text indices. They are similar in structure to bookmarks and references. They are discussed in detail section 7.1, together with text indices.
3466 5.7Change Tracking and Change Marks   3555 5.7Change Tracking and Change Marks
3467 Paragraphs may also contain change tracking marks. These have already been explained in the chapter on change tracking (section 4.6), and are referenced here for completeness.   3556 Paragraphs may also contain change tracking marks. These have already been explained in the chapter on change tracking (section 4.6), and are referenced here for completeness.
3468 <define name="paragraph-content" combine="choice">   3557 <define name="paragraph-content" combine="choice">
3469         <ref name="change-marks"/>   3558         <ref name="change-marks"/>
3470 </define>   3559 </define>
3471 5.8Inline graphics and text-boxes   3560 5.8Inline graphics and text-boxes
3472 Within text documents, images, embedded objects and other drawing objects may be anchored to a paragraph, to a character, or as a character. If they are anchored to a paragraph, they appear within a paragraph at an arbitrary position. If they are anchored to or as a character,  they appear within a paragraph at exactly the character position they are anchored to or as. See section 9.2 for details on drawing objects, and section 9.2.16 for their anchoring.   3561 Within text documents, images, embedded objects and other drawing objects may be anchored to a paragraph, to a character, or as a character. If they are anchored to a paragraph, they appear within a paragraph at an arbitrary position. If they are anchored to or as a character,  they appear within a paragraph at exactly the character position they are anchored to or as. See section 9.2 for details on drawing objects, and section 9.2.16 for their anchoring.
3473 <define name="paragraph-content" combine="choice">   3562 <define name="paragraph-content" combine="choice">
3474         <choice>   3563         <choice>
3475                 <ref name="shape"/>   3564                 <ref name="shape"/>
3476                 <ref name="draw-a"/>   3565                 <ref name="draw-a"/>
3477         </choice>   3566         </choice>
3478 </define>   3567 </define>
3479 6Text Fields   3568 6Text Fields
3480 OpenDocument text documents or OpenDocument text content embedded in other types of documents can contain variable text elements called fields. There are several different types of field, each of which implements a different type of variable text element. Fields are most commonly used for:   3569 OpenDocument text documents or OpenDocument text content embedded in other types of documents can contain variable text elements called fields. There are several different types of field, each of which implements a different type of variable text element. Fields are most commonly used for:
3481 Page numbers   3570 Page numbers
3482 A page number field displays the number of the page it appears on. This field is useful for footers. For every page on which the footer appears, the field assumes the current page number so that all pages are numbered correctly.   3571 A page number field displays the number of the page it appears on. This field is useful for footers. For every page on which the footer appears, the field assumes the current page number so that all pages are numbered correctly.
3483 Creation dates   3572 Creation dates
3484 A creation date field displays the date on which the current document was created. This field is useful for document templates. Every document created using the template contains the date when it was created.   3573 A creation date field displays the date on which the current document was created. This field is useful for document templates. Every document created using the template contains the date when it was created.
3485 Number ranges   3574 Number ranges
3486 A number range field allows the user to number certain elements, for example, images or tables. A number range field displays its own position in relation to the other number range fields for the same range. Therefore, if an image and its associated number range field are moved within a document, the fields are automatically updated to reflect the new order.   3575 A number range field allows the user to number certain elements, for example, images or tables. A number range field displays its own position in relation to the other number range fields for the same range. Therefore, if an image and its associated number range field are moved within a document, the fields are automatically updated to reflect the new order.
3487 This section describes how fields are represented in the OpenDocument file format.   3576 This section describes how fields are represented in the OpenDocument file format.
3488 6.1Common Characteristics of Field Elements   3577 6.1Common Characteristics of Field Elements
3489 Each field type is represented by a corresponding element type. A field in a document is encoded as a single element of the appropriate type. The content of the element is the textual representation of the current field value as it would be displayed or printed. Therefore, ignoring all field elements and displaying only the textual content of the elements provides an approximate text-only version of the document.   3578 Each field type is represented by a corresponding element type. A field in a document is encoded as a single element of the appropriate type. The content of the element is the textual representation of the current field value as it would be displayed or printed. Therefore, ignoring all field elements and displaying only the textual content of the elements provides an approximate text-only version of the document.
3490 The value of a field is usually stored in an attribute. It is necessary to store the value so that the presentation of the field can be recomputed if necessary, for example, if the user decides to change the formatting style of the field. It is also necessary to store the presentation style of the element content, to facilitate easy processing of the XML document. For example, if complete processing of a field is impossible or undesirable, the application can ignore the field and use only the content in this situation. For string values, if the value is identical to the presentation, the value attribute is omitted to avoid duplicate storage of information.   3579 The value of a field is usually stored in an attribute. It is necessary to store the value so that the presentation of the field can be recomputed if necessary, for example, if the user decides to change the formatting style of the field. It is also necessary to store the presentation style of the element content, to facilitate easy processing of the XML document. For example, if complete processing of a field is impossible or undesirable, the application can ignore the field and use only the content in this situation. For string values, if the value is identical to the presentation, the value attribute is omitted to avoid duplicate storage of information.
3491 For fields that can store different types of content, for example, numbers, strings, or dates, a value type is stored in addition to the actual value. The value and value type attributes are explained later in section 6.7.1. If more information is needed to restore a field, it is stored in additional attributes.   3580 For fields that can store different types of content, for example, numbers, strings, or dates, a value type is stored in addition to the actual value. The value and value type attributes are explained later in section 6.7.1. If more information is needed to restore a field, it is stored in additional attributes.
3492 The most common attributes of field elements are:   3581 The most common attributes of field elements are:
3493 Fixed fields   3582 Fixed fields
3494 Many fields have a variant where the content does not change after the initial value is assigned. These fields are generally marked by the attribute text:fixed. See section 6.7.2 for more information on this attribute.   3583 Many fields have a variant where the content does not change after the initial value is assigned. These fields are generally marked by the attribute text:fixed. See section 6.7.2 for more information on this attribute.
3495 Formatting style   3584 Formatting style
3496 Several field types, particularly those representing number, date, or time data, contain a formatting style. In the OpenDocument format, this formatting style is represented by a style:data-style-name attribute. Since the user can change the presentation style for fields, applications must be able to recompute a new representation of the field content at any time. See section 6.7.7 for more information on this attribute.   3585 Several field types, particularly those representing number, date, or time data, contain a formatting style. In the OpenDocument format, this formatting style is represented by a style:data-style-name attribute. Since the user can change the presentation style for fields, applications must be able to recompute a new representation of the field content at any time. See section 6.7.7 for more information on this attribute.
3497 6.2Document Fields   3586 6.2Document Fields
3498 OpenDocument fields can display information about the current document or about a specific part of the current document, such as the author, the current page number, or the document creation date. These fields are collectively referred to as document fields.   3587 OpenDocument fields can display information about the current document or about a specific part of the current document, such as the author, the current page number, or the document creation date. These fields are collectively referred to as document fields.
3499 Document fields are often fixed. A field can be marked fixed to indicate that its content is preserved, rather than re-evaluated, when the document is edited. For example, a date field shows the current date. If the date field is marked fixed, the value of the field is preserved during subsequent edits and always reflects the original date on which the field was inserted into the document. If the field is not marked fixed, its value changes whenever the document is edited. In the same way, the author field can show the original author or the last author of a document, depending on whether the field is marked fixed or not.   3588 Document fields are often fixed. A field can be marked fixed to indicate that its content is preserved, rather than re-evaluated, when the document is edited. For example, a date field shows the current date. If the date field is marked fixed, the value of the field is preserved during subsequent edits and always reflects the original date on which the field was inserted into the document. If the field is not marked fixed, its value changes whenever the document is edited. In the same way, the author field can show the original author or the last author of a document, depending on whether the field is marked fixed or not.
3500 The group of document fields includes:   3589 The group of document fields includes:
3501 Date and time fields   3590 Date and time fields
3502 Page number fields   3591 Page number fields
3503 Sender and author fields   3592 Sender and author fields
3504 Chapter fields   3593 Chapter fields
3505 File name fields   3594 File name fields
3506 Document template fields   3595 Document template fields
3507 6.2.1Date Fields   3596 6.2.1Date Fields
3508 Date fields display the current date. The date can be adjusted to display a date other than the current date. For example, the date can be changed on a document that was edited late at night so that it displays the date of the following day or several days later.   3597 Date fields display the current date. The date can be adjusted to display a date other than the current date. For example, the date can be changed on a document that was edited late at night so that it displays the date of the following day or several days later.
3509 This element contains the presentation of the date field value, depending on the data style specified. The default date is the current date. The value of this element can be preserved using the text:fixed attribute described in section 6.7.2.   3598 This element contains the presentation of the date field value, depending on the data style specified. The default date is the current date. The value of this element can be preserved using the text:fixed attribute described in section 6.7.2.
3510 <define name="paragraph-content" combine="choice">   3599 <define name="paragraph-content" combine="choice">
3511         <element name="text:date">   3600         <element name="text:date">
3512                 <ref name="text-date-attlist"/>   3601                 <ref name="text-date-attlist"/>
3513                 <text/>   3602                 <text/>
3514         </element>   3603         </element>
3515 </define>   3604 </define>
3516 The attributes that may be associated with the <text:date> element are:   3605 The attributes that may be associated with the <text:date> element are:
3517 Date value   3606 Date value
3518 Date adjustment   3607 Date adjustment
3519 Fixed (see section 6.7.2)   3608 Fixed (see section 6.7.2)
3520 Formatting style (see section 6.7.7). The formatting style must be a date data style, see section 14.7 for more information.   3609 Formatting style (see section 6.7.7). The formatting style must be a date data style, see section 14.7 for more information.
3521 <define name="text-date-attlist" combine="interleave">   3610 <define name="text-date-attlist" combine="interleave">
3522         <interleave>   3611         <interleave>
3523                 <ref name="common-field-fixed-attlist"/>   3612                 <ref name="common-field-fixed-attlist"/>
3524                 <ref name="common-field-data-style-name-attlist"/>   3613                 <ref name="common-field-data-style-name-attlist"/>
3525         </interleave>   3614         </interleave>
3526 </define>   3615 </define>
3527 Date Value   3616 Date Value
3528 The text:date-value attribute specifies a particular date value. For example, if the date field is marked fixed, this attribute can be used to specify the date on which the field was marked as fixed. This attribute can also be used to specify a future date. Some applications support date and time in addition to date-only values.   3617 The text:date-value attribute specifies a particular date value. For example, if the date field is marked fixed, this attribute can be used to specify the date on which the field was marked as fixed. This attribute can also be used to specify a future date. Some applications support date and time in addition to date-only values.
3529 The date value should conform with the date formats described in §3.2.7 and §3.2.9 of [xmlschema-2]. If no value is specified, the current date is assumed, even if the field is marked fixed.   3618 The date value should conform with the date formats described in §3.2.7 and §3.2.9 of [xmlschema-2]. If no value is specified, the current date is assumed, even if the field is marked fixed.
3530 <define name="text-date-attlist" combine="interleave">   3619 <define name="text-date-attlist" combine="interleave">
3531         <optional>   3620         <optional>
3532                 <attribute name="text:date-value">   3621                 <attribute name="text:date-value">
3533                         <ref name="dateOrDateTime"/>   3622                         <ref name="dateOrDateTime"/>
3534                 </attribute>   3623                 </attribute>
3535         </optional>   3624         </optional>
3536 </define>   3625 </define>
3537 Date Adjustment   3626 Date Adjustment
3538 The value of a date field can be adjusted by a certain time period, which is specified using the text:date-adjust attribute. If the time period is negative, it gets subtracted from the value of the date field, yielding a date before the current date.   3627 The value of a date field can be adjusted by a certain time period, which is specified using the text:date-adjust attribute. If the time period is negative, it gets subtracted from the value of the date field, yielding a date before the current date.
3539 The value of this attribute must conform to the time period format described in §3.2.6 of [xmlschema-2]. The value can be preceded by an optional minus sign to indicate a negative time duration.   3628 The value of this attribute must conform to the time period format described in §3.2.6 of [xmlschema-2]. The value can be preceded by an optional minus sign to indicate a negative time duration.
3540 <define name="text-date-attlist" combine="interleave">   3629 <define name="text-date-attlist" combine="interleave">
3541         <optional>   3630         <optional>
3542                 <attribute name="text:date-adjust">   3631                 <attribute name="text:date-adjust">
3543                         <ref name="duration"/>   3632                         <ref name="duration"/>
3544                 </attribute>   3633                 </attribute>
3545         </optional>   3634         </optional>
3546 </define>   3635 </define>
3547 6.2.2Time Fields   3636 6.2.2Time Fields
3548 Time fields display the current time. They are very similar to the date fields described in section 6.2.1, supporting the same attributes except that for time fields, they are called text:time-value and text:time-adjust attributes.   3637 Time fields display the current time. They are very similar to the date fields described in section 6.2.1, supporting the same attributes except that for time fields, they are called text:time-value and text:time-adjust attributes.
3549 This element contains the presentation of the time field value, depending on the data style specified. The default time is the current time. The value of this element can be preserved using the text:fixed attribute described in section 6.7.2.   3638 This element contains the presentation of the time field value, depending on the data style specified. The default time is the current time. The value of this element can be preserved using the text:fixed attribute described in section 6.7.2.
3550 <define name="paragraph-content" combine="choice">   3639 <define name="paragraph-content" combine="choice">
3551         <element name="text:time">   3640         <element name="text:time">
3552                 <ref name="text-time-attlist"/>   3641                 <ref name="text-time-attlist"/>
3553                 <text/>   3642                 <text/>
3554         </element>   3643         </element>
3555 </define>   3644 </define>
3556 The attributes that may be associated with the <text:time> element are:   3645 The attributes that may be associated with the <text:time> element are:
3557 Time value   3646 Time value
3558 Time adjustment   3647 Time adjustment
3559 Fixed (see section 6.7.2)   3648 Fixed (see section 6.7.2)
3560 Formatting style (see section 6.7.7). The formatting style must be a time data style, see section 14.7 for more information.   3649 Formatting style (see section 6.7.7). The formatting style must be a time data style, see section 14.7 for more information.
3561 <define name="text-time-attlist" combine="interleave">   3650 <define name="text-time-attlist" combine="interleave">
3562         <interleave>   3651         <interleave>
3563                 <ref name="common-field-fixed-attlist"/>   3652                 <ref name="common-field-fixed-attlist"/>
3564                 <ref name="common-field-data-style-name-attlist"/>   3653                 <ref name="common-field-data-style-name-attlist"/>
3565         </interleave>   3654         </interleave>
3566 </define>   3655 </define>
3567 Time Value   3656 Time Value
3568 The text:time-value attribute records the time at which the document was last edited.   3657 The text:time-value attribute records the time at which the document was last edited.
3569 Some applications support date and time in addition to date-only values.   3658 Some applications support date and time in addition to date-only values.
3570 The value of this attribute must conform with either the “dateTime” or “time” data types described in §3.2.7 and §3.2.8 of [xmlschema-2]. If no value is specified, the current time is assumed, even if the field is marked fixed.   3659 The value of this attribute must conform with either the “dateTime” or “time” data types described in §3.2.7 and §3.2.8 of [xmlschema-2]. If no value is specified, the current time is assumed, even if the field is marked fixed.
3571 <define name="text-time-attlist" combine="interleave">   3660 <define name="text-time-attlist" combine="interleave">
3572         <optional>   3661         <optional>
3573                 <attribute name="text:time-value">   3662                 <attribute name="text:time-value">
3574                         <ref name="timeOrDateTime"/>   3663                         <ref name="timeOrDateTime"/>
3575                 </attribute>   3664                 </attribute>
3576         </optional>   3665         </optional>
3577 </define>   3666 </define>
3578 Time Adjustment   3667 Time Adjustment
3579 The value of a time field can be adjusted by a certain time period, which is specified using the text:time-adjust attribute.   3668 The value of a time field can be adjusted by a certain time period, which is specified using the text:time-adjust attribute.
3580 The value of this attribute must conform to the time period format described in §3.2.6 of [xmlschema-2]. The value can be preceded by an optional minus sign to indicate a negative time duration. Positive values adjust the time to a time in the future, while negative values adjust the time to a time in the past. The duration is truncated to full minutes.   3669 The value of this attribute must conform to the time period format described in §3.2.6 of [xmlschema-2]. The value can be preceded by an optional minus sign to indicate a negative time duration. Positive values adjust the time to a time in the future, while negative values adjust the time to a time in the past. The duration is truncated to full minutes.
3581 <define name="text-time-attlist" combine="interleave">   3670 <define name="text-time-attlist" combine="interleave">
3582         <optional>   3671         <optional>
3583                 <attribute name="text:time-adjust">   3672                 <attribute name="text:time-adjust">
3584                         <ref name="duration"/>   3673                         <ref name="duration"/>
3585                 </attribute>   3674                 </attribute>
3586         </optional>   3675         </optional>
3587 </define>   3676 </define>
3588 Example: Time adjust attributes and their effects   3677 Example: Time adjust attributes and their effects
3589 If the attribute text:time-adjust="PTM15", the time field displays a time which is 15 minutes later than the actual time specified by the time field value.   3678 If the attribute text:time-adjust="PTM15", the time field displays a time which is 15 minutes later than the actual time specified by the time field value.
3590 If the attribute text:time-adjust="-PTH1", the time field displays a time which is one hour before the actual time specified by the time field value.   3679 If the attribute text:time-adjust="-PTH1", the time field displays a time which is one hour before the actual time specified by the time field value.
3591 6.2.3Page Number Fields   3680 6.2.3Page Number Fields
3592 Page number fields display the current page number. These fields are particularly useful in  headers and footers. E.g., if a page number field is inserted into a footer, the current page number is displayed on every page on which the footer appears.   3681 Page number fields display the current page number. These fields are particularly useful in  headers and footers. E.g., if a page number field is inserted into a footer, the current page number is displayed on every page on which the footer appears.
3593 The attributes that may be associated with the <text:page-number> element are:   3682 The attributes that may be associated with the <text:page-number> element are:
3594 Page adjustment   3683 Page adjustment
3595 Display previous or following page numbers   3684 Display previous or following page numbers
3596 Fixed (see section 6.7.2)   3685 Fixed (see section 6.7.2)
3597 Formatting style (see section 6.7.8)   3686 Formatting style (see section 6.7.8)
3598 Page numbers can be formatted according to the number format described in section 2.9. If a number style is not specified, the page numbers are formatted according to the number style defined in the current page style.   3687 Page numbers can be formatted according to the number format described in section 2.9. If a number style is not specified, the page numbers are formatted according to the number style defined in the current page style.
3599 <define name="paragraph-content" combine="choice">   3688 <define name="paragraph-content" combine="choice">
3600         <element name="text:page-number">   3689         <element name="text:page-number">
3601                 <ref name="text-page-number-attlist"/>   3690                 <ref name="text-page-number-attlist"/>
3602                 <text/>   3691                 <text/>
3603         </element>   3692         </element>
3604 </define>   3693 </define>
3605 <define name="text-page-number-attlist" combine="interleave">   3694 <define name="text-page-number-attlist" combine="interleave">
3606         <interleave>   3695         <interleave>
3607                 <ref name="common-field-num-format-attlist"/>   3696                 <ref name="common-field-num-format-attlist"/>
3608                 <ref name="common-field-fixed-attlist"/>   3697                 <ref name="common-field-fixed-attlist"/>
3609         </interleave>   3698         </interleave>
3610 </define>   3699 </define>
3611 Note: To display the total number of pages in a document, use the <text:page-count/> field described in section 6.4.17.   3700 Note: To display the total number of pages in a document, use the <text:page-count/> field described in section 6.4.17.
3612 Page Adjustment   3701 Page Adjustment
3613 The value of a page number field can be adjusted by a specified number, allowing the display of page numbers of following or preceding pages. The adjustment amount is specified using the text:page-adjust attribute. When this attribute is used, the application:   3702 The value of a page number field can be adjusted by a specified number, allowing the display of page numbers of following or preceding pages. The adjustment amount is specified using the text:page-adjust attribute. When this attribute is used, the application:
3614 1.Adds the value of the attribute to the current page number.   3703 1.Adds the value of the attribute to the current page number.
3615 2.Checks to see if the resulting page exists.   3704 2.Checks to see if the resulting page exists.
3616 3.If the page exists, the number of that page is displayed.   3705 3.If the page exists, the number of that page is displayed.
3617 4.If the page does not exist, the value of the page number field remains empty and no number is displayed.   3706 4.If the page does not exist, the value of the page number field remains empty and no number is displayed.
3618 <define name="text-page-number-attlist" combine="interleave">   3707 <define name="text-page-number-attlist" combine="interleave">
3619         <optional>   3708         <optional>
3620                 <attribute name="text:page-adjust">   3709                 <attribute name="text:page-adjust">
3621                         <ref name="integer"/>   3710                         <ref name="integer"/>
3622                 </attribute>   3711                 </attribute>
3623         </optional>   3712         </optional>
3624 </define>   3713 </define>
3625 Display Previous or Following Page Numbers   3714 Display Previous or Following Page Numbers
3626 The text:select-page attribute is used to display the number of the previous or the following page rather than the number of the current page.   3715 The text:select-page attribute is used to display the number of the previous or the following page rather than the number of the current page.
3627 <define name="text-page-number-attlist" combine="interleave">   3716 <define name="text-page-number-attlist" combine="interleave">
3628         <optional>   3717         <optional>
3629                 <attribute name="text:select-page">   3718                 <attribute name="text:select-page">
3630                         <choice>   3719                         <choice>
3631                                 <value>previous</value>   3720                                 <value>previous</value>
3632                                 <value>current</value>   3721                                 <value>current</value>
3633                                 <value>next</value>   3722                                 <value>next</value>
3634                         </choice>   3723                         </choice>
3635                 </attribute>   3724                 </attribute>
3636         </optional>   3725         </optional>
3637 </define>   3726 </define>
3638 Note: To display the current page number on all pages except the first or last page, use a combination of the text:select page and text:page adjust attributes.   3727 Note: To display the current page number on all pages except the first or last page, use a combination of the text:select page and text:page adjust attributes.
3639 Example: Displaying the current page number on all pages except the first page   3728 Example: Displaying the current page number on all pages except the first page
3640 <text:page-number text:select-page="previous"   3729 <text:page-number text:select-page="previous"
3641                                         text:page-adjust="1"   3730                                         text:page-adjust="1"
3642                                          style:num-format="1"/>   3731                                          style:num-format="1"/>
3643 6.2.4Page Continuation Text   3732 6.2.4Page Continuation Text
3644 In some publications, a continuation reminder is printed at the bottom of the page in addition to the page number. To include a continuation reminder, use the <text:page-continuation> element.   3733 In some publications, a continuation reminder is printed at the bottom of the page in addition to the page number. To include a continuation reminder, use the <text:page-continuation> element.
3645 <define name="paragraph-content" combine="choice">   3734 <define name="paragraph-content" combine="choice">
3646         <element name="text:page-continuation">   3735         <element name="text:page-continuation">
3647                 <ref name="text-page-continuation-attlist"/>   3736                 <ref name="text-page-continuation-attlist"/>
3648                 <text/>   3737                 <text/>
3649         </element>   3738         </element>
3650 </define>   3739 </define>
3651 The attributes associated with the <text:page-continuation> element are:   3740 The attributes associated with the <text:page-continuation> element are:
3652 Previous or following page   3741 Previous or following page
3653 String value   3742 String value
3654 Previous or Following Page   3743 Previous or Following Page
3655 This attribute specifies whether to check for a previous or next page and if the page exists, the continuation text is printed.   3744 This attribute specifies whether to check for a previous or next page and if the page exists, the continuation text is printed.
3656 <define name="text-page-continuation-attlist" combine="interleave">   3745 <define name="text-page-continuation-attlist" combine="interleave">
3657         <attribute name="text:select-page">   3746         <attribute name="text:select-page">
3658                 <choice>   3747                 <choice>
3659                         <value>previous</value>   3748                         <value>previous</value>
3660                         <value>next</value>   3749                         <value>next</value>
3661                 </choice>   3750                 </choice>
3662         </attribute>   3751         </attribute>
3663 </define>   3752 </define>
3664 String Value   3753 String Value
3665 This attribute specifies the continuation text to display. If this attribute is omitted, the element content is used.   3754 This attribute specifies the continuation text to display. If this attribute is omitted, the element content is used.
3666 <define name="text-page-continuation-attlist" combine="interleave">   3755 <define name="text-page-continuation-attlist" combine="interleave">
3667         <optional>   3756         <optional>
3668                 <attribute name="text:string-value">   3757                 <attribute name="text:string-value">
3669                         <ref name="string"/>   3758                         <ref name="string"/>
3670                 </attribute>   3759                 </attribute>
3671         </optional>   3760         </optional>
3672 </define>   3761 </define>
3673 6.2.5Sender Fields   3762 6.2.5Sender Fields
3674 There are several fields which contain information about the sender of the current document, for example, name and email address. The information about the sender is taken from the OpenDocument user information dialog. If a sender field is marked fixed using the text:fixed attribute, the original sender information in the sender fields is preserved. (cf. section 6.7.2) Otherwise, the information is updated each time the file is edited, causing the fields to change value when the document is edited by a different user.   3763 There are several fields which contain information about the sender of the current document, for example, name and email address. The information about the sender is taken from the OpenDocument user information dialog. If a sender field is marked fixed using the text:fixed attribute, the original sender information in the sender fields is preserved. (cf. section 6.7.2) Otherwise, the information is updated each time the file is edited, causing the fields to change value when the document is edited by a different user.
3675 First Name   3764 First Name
3676 This element represents the first name of the sender.   3765 This element represents the first name of the sender.
3677 <define name="paragraph-content" combine="choice">   3766 <define name="paragraph-content" combine="choice">
3678         <element name="text:sender-firstname">   3767         <element name="text:sender-firstname">
3679                 <ref name="common-field-fixed-attlist"/>   3768                 <ref name="common-field-fixed-attlist"/>
3680                 <text/>   3769                 <text/>
3681         </element>   3770         </element>
3682 </define>   3771 </define>
3683 Last Name   3772 Last Name
3684 This element represents the last name of the sender.   3773 This element represents the last name of the sender.
3685 <define name="paragraph-content" combine="choice">   3774 <define name="paragraph-content" combine="choice">
3686         <element name="text:sender-lastname">   3775         <element name="text:sender-lastname">
3687                 <ref name="common-field-fixed-attlist"/>   3776                 <ref name="common-field-fixed-attlist"/>
3688                 <text/>   3777                 <text/>
3689         </element>   3778         </element>
3690 </define>   3779 </define>
3691 Initials   3780 Initials
3692 This element represents the initials of the sender.   3781 This element represents the initials of the sender.
3693 <define name="paragraph-content" combine="choice">   3782 <define name="paragraph-content" combine="choice">
3694         <element name="text:sender-initials">   3783         <element name="text:sender-initials">
3695                 <ref name="common-field-fixed-attlist"/>   3784                 <ref name="common-field-fixed-attlist"/>
3696                 <text/>   3785                 <text/>
3697         </element>   3786         </element>
3698 </define>   3787 </define>
3699 Title   3788 Title
3700 This element represents the title of the sender.   3789 This element represents the title of the sender.
3701 <define name="paragraph-content" combine="choice">   3790 <define name="paragraph-content" combine="choice">
3702         <element name="text:sender-title">   3791         <element name="text:sender-title">
3703                 <ref name="common-field-fixed-attlist"/>   3792                 <ref name="common-field-fixed-attlist"/>
3704                 <text/>   3793                 <text/>
3705         </element>   3794         </element>
3706 </define>   3795 </define>
3707 Position   3796 Position
3708 This element represents the position of the sender.   3797 This element represents the position of the sender.
3709 <define name="paragraph-content" combine="choice">   3798 <define name="paragraph-content" combine="choice">
3710         <element name="text:sender-position">   3799         <element name="text:sender-position">
3711                 <ref name="common-field-fixed-attlist"/>   3800                 <ref name="common-field-fixed-attlist"/>
3712                 <text/>   3801                 <text/>
3713         </element>   3802         </element>
3714 </define>   3803 </define>
3715 Email Address   3804 Email Address
3716 This element represents the email address of the sender.   3805 This element represents the email address of the sender.
3717 <define name="paragraph-content" combine="choice">   3806 <define name="paragraph-content" combine="choice">
3718         <element name="text:sender-email">   3807         <element name="text:sender-email">
3719                 <ref name="common-field-fixed-attlist"/>   3808                 <ref name="common-field-fixed-attlist"/>
3720                 <text/>   3809                 <text/>
3721         </element>   3810         </element>
3722 </define>   3811 </define>
3723 Private Telephone Number   3812 Private Telephone Number
3724 This element represents the private telephone number of the sender.   3813 This element represents the private telephone number of the sender.
3725 <define name="paragraph-content" combine="choice">   3814 <define name="paragraph-content" combine="choice">
3726         <element name="text:sender-phone-private">   3815         <element name="text:sender-phone-private">
3727                 <ref name="common-field-fixed-attlist"/>   3816                 <ref name="common-field-fixed-attlist"/>
3728                 <text/>   3817                 <text/>
3729         </element>   3818         </element>
3730 </define>   3819 </define>
3731 Fax Number   3820 Fax Number
3732 This element represents the facsimile number of the sender.   3821 This element represents the facsimile number of the sender.
3733 <define name="paragraph-content" combine="choice">   3822 <define name="paragraph-content" combine="choice">
3734         <element name="text:sender-fax">   3823         <element name="text:sender-fax">
3735                 <ref name="common-field-fixed-attlist"/>   3824                 <ref name="common-field-fixed-attlist"/>
3736                 <text/>   3825                 <text/>
3737         </element>   3826         </element>
3738 </define>   3827 </define>
3739 Company Name   3828 Company Name
3740 This element represents the name of the company that employs the sender.   3829 This element represents the name of the company that employs the sender.
3741 <define name="paragraph-content" combine="choice">   3830 <define name="paragraph-content" combine="choice">
3742         <element name="text:sender-company">   3831         <element name="text:sender-company">
3743                 <ref name="common-field-fixed-attlist"/>   3832                 <ref name="common-field-fixed-attlist"/>
3744                 <text/>   3833                 <text/>
3745         </element>   3834         </element>
3746 </define>   3835 </define>
3747 Office Telephone Number   3836 Office Telephone Number
3748 This element represents the office telephone number of the sender.   3837 This element represents the office telephone number of the sender.
3749 <define name="paragraph-content" combine="choice">   3838 <define name="paragraph-content" combine="choice">
3750         <element name="text:sender-phone-work">   3839         <element name="text:sender-phone-work">
3751                 <ref name="common-field-fixed-attlist"/>   3840                 <ref name="common-field-fixed-attlist"/>
3752                 <text/>   3841                 <text/>
3753         </element>   3842         </element>
3754 </define>   3843 </define>
3755 Street   3844 Street
3756 This element represents the street name of the address of the sender.   3845 This element represents the street name of the address of the sender.
3757 <define name="paragraph-content" combine="choice">   3846 <define name="paragraph-content" combine="choice">
3758         <element name="text:sender-street">   3847         <element name="text:sender-street">
3759                 <ref name="common-field-fixed-attlist"/>   3848                 <ref name="common-field-fixed-attlist"/>
3760                 <text/>   3849                 <text/>
3761         </element>   3850         </element>
3762 </define>   3851 </define>
3763 City   3852 City
3764 This element represents the city name of the address of the sender.   3853 This element represents the city name of the address of the sender.
3765 <define name="paragraph-content" combine="choice">   3854 <define name="paragraph-content" combine="choice">
3766         <element name="text:sender-city">   3855         <element name="text:sender-city">
3767                 <ref name="common-field-fixed-attlist"/>   3856                 <ref name="common-field-fixed-attlist"/>
3768                 <text/>   3857                 <text/>
3769         </element>   3858         </element>
3770 </define>   3859 </define>
3771 Postal Code   3860 Postal Code
3772 This element represents the postal code of the address of the sender.   3861 This element represents the postal code of the address of the sender.
3773 <define name="paragraph-content" combine="choice">   3862 <define name="paragraph-content" combine="choice">
3774         <element name="text:sender-postal-code">   3863         <element name="text:sender-postal-code">
3775                 <ref name="common-field-fixed-attlist"/>   3864                 <ref name="common-field-fixed-attlist"/>
3776                 <text/>   3865                 <text/>
3777         </element>   3866         </element>
3778 </define>   3867 </define>
3779 Country   3868 Country
3780 This element represents the country of the address of the sender.   3869 This element represents the country of the address of the sender.
3781 <define name="paragraph-content" combine="choice">   3870 <define name="paragraph-content" combine="choice">
3782         <element name="text:sender-country">   3871         <element name="text:sender-country">
3783                 <ref name="common-field-fixed-attlist"/>   3872                 <ref name="common-field-fixed-attlist"/>
3784                 <text/>   3873                 <text/>
3785         </element>   3874         </element>
3786 </define>   3875 </define>
3787 State or Province   3876 State or Province
3788 This element represents the state or province of the address of the sender, if applicable.   3877 This element represents the state or province of the address of the sender, if applicable.
3789 <define name="paragraph-content" combine="choice">   3878 <define name="paragraph-content" combine="choice">
3790         <element name="text:sender-state-or-province">   3879         <element name="text:sender-state-or-province">
3791                 <ref name="common-field-fixed-attlist"/>   3880                 <ref name="common-field-fixed-attlist"/>
3792                 <text/>   3881                 <text/>
3793         </element>   3882         </element>
3794 </define>   3883 </define>
3795 6.2.6Author Fields   3884 6.2.6Author Fields
3796 There are two elements available to display the author of a document. One element displays the full name of the author and the other element displays the initials of the author.   3885 There are two elements available to display the author of a document. One element displays the full name of the author and the other element displays the initials of the author.
3797 The value of author fields can be fixed using the text:fixed attribute. Marking an author field as fixed preserves the original field content. Otherwise, the field content changes each time the document is updated, to reflect the last author of the document.   3886 The value of author fields can be fixed using the text:fixed attribute. Marking an author field as fixed preserves the original field content. Otherwise, the field content changes each time the document is updated, to reflect the last author of the document.
3798 Name of the Author   3887 Name of the Author
3799 This element represents the full name of the author.   3888 This element represents the full name of the author.
3800 <define name="paragraph-content" combine="choice">   3889 <define name="paragraph-content" combine="choice">
3801         <element name="text:author-name">   3890         <element name="text:author-name">
3802                 <ref name="common-field-fixed-attlist"/>   3891                 <ref name="common-field-fixed-attlist"/>
3803                 <text/>   3892                 <text/>
3804         </element>   3893         </element>
3805 </define>   3894 </define>
3806 Initials of the Author   3895 Initials of the Author
3807 This element represents the initials of the author.   3896 This element represents the initials of the author.
3808 <define name="paragraph-content" combine="choice">   3897 <define name="paragraph-content" combine="choice">
3809         <element name="text:author-initials">   3898         <element name="text:author-initials">
3810                 <ref name="common-field-fixed-attlist"/>   3899                 <ref name="common-field-fixed-attlist"/>
3811                 <text/>   3900                 <text/>
3812         </element>   3901         </element>
3813 </define>   3902 </define>
3814 6.2.7Chapter Fields   3903 6.2.7Chapter Fields
3815 Chapter fields display one of the following:   3904 Chapter fields display one of the following:
3816 The name of the current chapter   3905 The name of the current chapter
3817 The number of the current chapter   3906 The number of the current chapter
3818 Both the name and number of the current chapter   3907 Both the name and number of the current chapter
3819 If the chapter field is placed inside a header or footer, it displays the current chapter name or number on every page.   3908 If the chapter field is placed inside a header or footer, it displays the current chapter name or number on every page.
3820 <define name="paragraph-content" combine="choice">   3909 <define name="paragraph-content" combine="choice">
3821         <element name="text:chapter">   3910         <element name="text:chapter">
3822                 <ref name="text-chapter-attlist"/>   3911                 <ref name="text-chapter-attlist"/>
3823                 <text/>   3912                 <text/>
3824         </element>   3913         </element>
3825 </define>   3914 </define>
3826 The attributes that may be associated with the <text:chapter> element are:   3915 The attributes that may be associated with the <text:chapter> element are:
3827 Display   3916 Display
3828 Outline level   3917 Outline level
3829 Display   3918 Display
3830 The text:display attribute specifies the information that the chapter field should display.   3919 The text:display attribute specifies the information that the chapter field should display.
3831 <define name="text-chapter-attlist" combine="interleave">   3920 <define name="text-chapter-attlist" combine="interleave">
3832         <attribute name="text:display">   3921         <attribute name="text:display">
3833                 <choice>   3922                 <choice>
3834                         <value>name</value>   3923                         <value>name</value>
3835                         <value>number</value>   3924                         <value>number</value>
3836                         <value>number-and-name</value>   3925                         <value>number-and-name</value>
3837                         <value>plain-number-and-name</value>   3926                         <value>plain-number-and-name</value>
3838                         <value>plain-number</value>   3927                         <value>plain-number</value>
3839                 </choice>   3928                 </choice>
3840         </attribute>   3929         </attribute>
3841 </define>   3930 </define>
3842 Example: If the current chapter number is 2.4, the chapter title is Working with Tables, the prefix is [, and suffix is ], the possible display options and results are as follows:   3931 Example: If the current chapter number is 2.4, the chapter title is Working with Tables, the prefix is [, and suffix is ], the possible display options and results are as follows:
3843 Value of text:display attribute   3932 Value of text:display attribute
3844 Field content displayed   3933 Field content displayed
3845 number   3934 number
3846 [2.4]   3935 [2.4]
3847 name   3936 name
3848 Working with Tables   3937 Working with Tables
3849 number-and-name   3938 number-and-name
3850 [2.4] Working with Tables   3939 [2.4] Working with Tables
3851 plain-number   3940 plain-number
3852 2.4    3941 2.4 
3853 plain-number-and-name   3942 plain-number-and-name
3854 2.4 Working with Tables   3943 2.4 Working with Tables
3855 Outline Level   3944 Outline Level
3856 This attribute is used to specify the outline level to use. The chapter field displays the chapter number or title up to the specified outline level.   3945 This attribute is used to specify the outline level to use. The chapter field displays the chapter number or title up to the specified outline level.
3857 <define name="text-chapter-attlist" combine="interleave">   3946 <define name="text-chapter-attlist" combine="interleave">
3858         <attribute name="text:outline-level">   3947         <attribute name="text:outline-level">
3859                 <ref name="nonNegativeInteger"/>   3948                 <ref name="nonNegativeInteger"/>
3860         </attribute>   3949         </attribute>
3861 </define>   3950 </define>
3862 6.2.8File Name Fields   3951 6.2.8File Name Fields
3863 File name fields display the name of the file that is currently being edited.   3952 File name fields display the name of the file that is currently being edited.
3864 The attributes that may be associated with the <text:file-name> element are:   3953 The attributes that may be associated with the <text:file-name> element are:
3865 Display   3954 Display
3866 Fixed   3955 Fixed
3867 <define name="paragraph-content" combine="choice">   3956 <define name="paragraph-content" combine="choice">
3868         <element name="text:file-name">   3957         <element name="text:file-name">
3869                 <ref name="text-file-name-attlist"/>   3958                 <ref name="text-file-name-attlist"/>
3870                 <text/>   3959                 <text/>
3871         </element>   3960         </element>
3872 </define>   3961 </define>
3873 Display   3962 Display
3874 The text:display attribute specifies how much of the file name to display. The following display options are allowed:   3963 The text:display attribute specifies how much of the file name to display. The following display options are allowed:
3875 The full file name including the path and the extension   3964 The full file name including the path and the extension
3876 The file path only   3965 The file path only
3877 The file name only   3966 The file name only
3878 The file name and the extension   3967 The file name and the extension
3879 The filename might be an IRI, either because an IRI has been used to retrieve the file, or the application internally uses IRIs and therefore converts even system specific paths into an IRI. If this is the case, and if the path, the name or the extension cannot be evaluated from the IRI, then the IRI should be displayed unmodified.   3968 The filename might be an IRI, either because an IRI has been used to retrieve the file, or the application internally uses IRIs and therefore converts even system specific paths into an IRI. If this is the case, and if the path, the name or the extension cannot be evaluated from the IRI, then the IRI should be displayed unmodified.
3880 <define name="text-file-name-attlist" combine="interleave">   3969 <define name="text-file-name-attlist" combine="interleave">
3881         <optional>   3970         <optional>
3882                 <attribute name="text:display">   3971                 <attribute name="text:display">
3883                         <choice>   3972                         <choice>
3884                                 <value>full</value>   3973                                 <value>full</value>
3885                                 <value>path</value>   3974                                 <value>path</value>
3886                                 <value>name</value>   3975                                 <value>name</value>
3887                                 <value>name-and-extension</value>   3976                                 <value>name-and-extension</value>
3888                         </choice>   3977                         </choice>
3889                 </attribute>   3978                 </attribute>
3890         </optional>   3979         </optional>
3891 </define>   3980 </define>
3892 Fixed File Name Fields   3981 Fixed File Name Fields
3893 If a file name field is fixed, its value does not change when the file is edited.   3982 If a file name field is fixed, its value does not change when the file is edited.
3894 <define name="text-file-name-attlist" combine="interleave">   3983 <define name="text-file-name-attlist" combine="interleave">
3895         <ref name="common-field-fixed-attlist"/>   3984         <ref name="common-field-fixed-attlist"/>
3896 </define>   3985 </define>
3897 6.2.9Document Template Name Fields   3986 6.2.9Document Template Name Fields
3898 The document template name field displays information about the document template in use, such as the template title or the file name.   3987 The document template name field displays information about the document template in use, such as the template title or the file name.
3899 The only attribute that may be associated with the <text:template-name> element is:   3988 The only attribute that may be associated with the <text:template-name> element is:
3900 Display   3989 Display
3901 <define name="paragraph-content" combine="choice">   3990 <define name="paragraph-content" combine="choice">
3902         <element name="text:template-name">   3991         <element name="text:template-name">
3903                 <ref name="text-template-name-attlist"/>   3992                 <ref name="text-template-name-attlist"/>
3904                 <text/>   3993                 <text/>
3905         </element>   3994         </element>
3906 </define>   3995 </define>
3907 Display   3996 Display
3908 This attribute specifies which information about the document template to display. The following display options are allowed:   3997 This attribute specifies which information about the document template to display. The following display options are allowed:
3909 The full file name including the path and the extension   3998 The full file name including the path and the extension
3910 The file path only   3999 The file path only
3911 The file name only   4000 The file name only
3912 The file name and the extension   4001 The file name and the extension
3913 The title   4002 The title
3914 The area of the document template   4003 The area of the document template
3915 The latter two values can be used for template dialogs. The values are a superset of the display values available for the <text:file-name> element.   4004 The latter two values can be used for template dialogs. The values are a superset of the display values available for the <text:file-name> element.
3916 <define name="text-template-name-attlist">   4005 <define name="text-template-name-attlist">
3917         <optional>   4006         <optional>
3918                 <attribute name="text:display">   4007                 <attribute name="text:display">
3919                         <choice>   4008                         <choice>
3920                                 <value>full</value>   4009                                 <value>full</value>
3921                                 <value>path</value>   4010                                 <value>path</value>
3922                                 <value>name</value>   4011                                 <value>name</value>
3923                                 <value>name-and-extension</value>   4012                                 <value>name-and-extension</value>
3924                                 <value>area</value>   4013                                 <value>area</value>
3925                                 <value>title</value>   4014                                 <value>title</value>
3926                         </choice>   4015                         </choice>
3927                 </attribute>   4016                 </attribute>
3928         </optional>   4017         </optional>
3929 </define>   4018 </define>
3930 6.2.10Sheet Name Fields   4019 6.2.10Sheet Name Fields
3931 For Spreadsheet  documents, sheet name fields display the name of the sheet that is currently being edited.   4020 For Spreadsheet  documents, sheet name fields display the name of the sheet that is currently being edited.
3932 <define name="paragraph-content" combine="choice">   4021 <define name="paragraph-content" combine="choice">
3933         <element name="text:sheet-name">   4022         <element name="text:sheet-name">
3934                 <text/>   4023                 <text/>
3935         </element>   4024         </element>
3936 </define>   4025 </define>
3937 6.3Variable Fields   4026 6.3Variable Fields
3938 OpenDocument text documents can contain variables, which are processed or displayed using variable fields. A variable is a name/value pair. The variable name is used throughout the document to identify a particular variable, and therefore variable names cannot be reused for different types of variables. Most variable fields support different value types, such as numbers, dates, strings, and so on. In the OpenDocument file format, a variable must be declared at the beginning of a document.   4027 OpenDocument text documents can contain variables, which are processed or displayed using variable fields. A variable is a name/value pair. The variable name is used throughout the document to identify a particular variable, and therefore variable names cannot be reused for different types of variables. Most variable fields support different value types, such as numbers, dates, strings, and so on. In the OpenDocument file format, a variable must be declared at the beginning of a document.
3939 There are three types of variables:   4028 There are three types of variables:
3940 Simple variables   4029 Simple variables
3941 Simple variables, usually called variables, can take different values at different positions throughout a document. Simple variables can be set using either setter or input fields. Setter fields contain an expression, which is used to compute the new value of the variable. Input fields prompt the user for the new value. Simple variables can be used to display different text in recurring elements, such as headers or footers.   4030 Simple variables, usually called variables, can take different values at different positions throughout a document. Simple variables can be set using either setter or input fields. Setter fields contain an expression, which is used to compute the new value of the variable. Input fields prompt the user for the new value. Simple variables can be used to display different text in recurring elements, such as headers or footers.
3942 User variables   4031 User variables
3943 User variables have the same value throughout a document. If a user variable is set anywhere within the document, all fields in the document that display the user variable have the same value. In the office application user interface, a user variable can be set at any occurrence of a user field, or by using user variable input fields. In the OpenDocument file format, the value of the user variable can only be set after the variable is declared.   4032 User variables have the same value throughout a document. If a user variable is set anywhere within the document, all fields in the document that display the user variable have the same value. In the office application user interface, a user variable can be set at any occurrence of a user field, or by using user variable input fields. In the OpenDocument file format, the value of the user variable can only be set after the variable is declared.
3944 Sequence variables   4033 Sequence variables
3945 Sequence variables are used to number certain items in an OpenDocument text document, for example, images or tables.   4034 Sequence variables are used to number certain items in an OpenDocument text document, for example, images or tables.
3946 Expression and text input fields are also variable fields, but they are not associated with any particular variables. Since their functionality is closely related to that of the variable fields, they are also described in this section of the manual.   4035 Expression and text input fields are also variable fields, but they are not associated with any particular variables. Since their functionality is closely related to that of the variable fields, they are also described in this section of the manual.
3947 Variables must be declared before they can be used. The variable declarations are collected in container elements for the particular variable type. The OpenDocument code for declaring variables is described in sections 6.3.1, 6.3.5 and 6.3.8.   4036 Variables must be declared before they can be used. The variable declarations are collected in container elements for the particular variable type. The OpenDocument code for declaring variables is described in sections 6.3.1, 6.3.5 and 6.3.8.
3948 6.3.1Declaring Simple Variables   4037 6.3.1Declaring Simple Variables
3949 Simple variables are declared using <text:variable-decl> elements. The declaration specifies the name and the value type of the variable.   4038 Simple variables are declared using <text:variable-decl> elements. The declaration specifies the name and the value type of the variable.
3950 To specify the name and value type of the simple variable, the following attributes are attached to the <text:variable-decl> element:   4039 To specify the name and value type of the simple variable, the following attributes are attached to the <text:variable-decl> element:
3951 text:name   4040 text:name
3952 The name of the variable must be unique. The name cannot already be used for any other type of variable. See section 6.7.3 for information on using this attribute.   4041 The name of the variable must be unique. The name cannot already be used for any other type of variable. See section 6.7.3 for information on using this attribute.
3953 office:value-type   4042 office:value-type
3954 See section 6.7.1 for information on using this attribute.   4043 See section 6.7.1 for information on using this attribute.
3955 <define name="text-variable-decl">   4044 <define name="text-variable-decl">
3956         <element name="text:variable-decl">   4045         <element name="text:variable-decl">
3957                 <ref name="common-field-name-attlist"/>   4046                 <ref name="common-field-name-attlist"/>
3958                 <ref name="common-value-type-attlist"/>   4047                 <ref name="common-value-type-attlist"/>
3959         </element>   4048         </element>
3960 </define>   4049 </define>
3961 6.3.2Setting Simple Variables   4050 6.3.2Setting Simple Variables
3962 Simple variables can be set using variable setter elements. This element contains the presentation of the value of the variable, which can be empty if the text:display attribute is set to none.   4051 Simple variables can be set using variable setter elements. This element contains the presentation of the value of the variable, which can be empty if the text:display attribute is set to none.
3963 The attributes that may be associated with the <text:variable-set> element are:   4052 The attributes that may be associated with the <text:variable-set> element are:
3964 text:name   4053 text:name
3965 This attribute specifies the name of the variable to set. It must match the name of a variable that has already been declared. See section 6.7.3 for information on using this attribute.   4054 This attribute specifies the name of the variable to set. It must match the name of a variable that has already been declared. See section 6.7.3 for information on using this attribute.
3966 text:formula   4055 text:formula
3967 This attribute contains the formula to compute the value of the variable field. If the formula equals the content of the field element, this attribute can be omitted. See section 6.7.6 for information on using this attribute.   4056 This attribute contains the formula to compute the value of the variable field. If the formula equals the content of the field element, this attribute can be omitted. See section 6.7.6 for information on using this attribute.
3968 office:value-type and the appropriate value attribute   4057 office:value-type and the appropriate value attribute
3969 See section 6.7.1 for information on using these attributes.   4058 See section 6.7.1 for information on using these attributes.
3970 Note: A simple variable should not contain different value types at different places in a document. However, an implementation may allow the use of different value types for different instances of the same variable. In the case of the numeric value types float, percentage, and currency, the value is automatically converted to the different value type. For value types that are stored internally as numbers, such as date, time, and boolean types, the values are reinterpreted as numbers of the respective types. If a variable is used for both string and non-string types, the behavior is undefined, therefore this practice is not recommended.   4059 Note: A simple variable should not contain different value types at different places in a document. However, an implementation may allow the use of different value types for different instances of the same variable. In the case of the numeric value types float, percentage, and currency, the value is automatically converted to the different value type. For value types that are stored internally as numbers, such as date, time, and boolean types, the values are reinterpreted as numbers of the respective types. If a variable is used for both string and non-string types, the behavior is undefined, therefore this practice is not recommended.
3971 text:display   4060 text:display
3972 This attribute can be used to specify whether or not to display the value of the <text:variable-set> element. If the text:display attribute is set to value, the value of the variable is displayed. If the attribute is set to none, the value is not displayed. See section 6.7.5 for information on using this attribute.   4061 This attribute can be used to specify whether or not to display the value of the <text:variable-set> element. If the text:display attribute is set to value, the value of the variable is displayed. If the attribute is set to none, the value is not displayed. See section 6.7.5 for information on using this attribute.
3973 style:data-style-name   4062 style:data-style-name
3974 This attribute specifies the data style to use to format a numeric, Boolean, or date/time variable. If a data style is not specified, a standard data style is used. See section 6.7.7 for information on using this attribute.   4063 This attribute specifies the data style to use to format a numeric, Boolean, or date/time variable. If a data style is not specified, a standard data style is used. See section 6.7.7 for information on using this attribute.
3975 <define name="paragraph-content" combine="choice">   4064 <define name="paragraph-content" combine="choice">
3976         <element name="text:variable-set">   4065         <element name="text:variable-set">
3977                 <interleave>   4066                 <interleave>
3978                         <ref name="common-field-name-attlist"/>   4067                         <ref name="common-field-name-attlist"/>
3979                         <ref name="common-field-formula-attlist"/>   4068                         <ref name="common-field-formula-attlist"/>
3980                         <ref name="common-value-and-type-attlist"/>   4069                         <ref name="common-value-and-type-attlist"/>
3981                         <ref name="common-field-display-value-none-attlist"/>   4070                         <ref name="common-field-display-value-none-attlist"/>
3982                         <ref name="common-field-data-style-name-attlist"/>   4071                         <ref name="common-field-data-style-name-attlist"/>
3983                 </interleave>   4072                 </interleave>
3984                 <text/>   4073                 <text/>
3985         </element>   4074         </element>
3986 </define>   4075 </define>
3987 6.3.3Displaying Simple Variables   4076 6.3.3Displaying Simple Variables
3988 The <text:variable-get> element reads and displays the value of a simple variable. The value of this element is the value of the last preceding <text:variable-set> element with an identical text:name attribute. The element determines how the value of the variable is presented, in accordance with the chosen formatting style.   4077 The <text:variable-get> element reads and displays the value of a simple variable. The value of this element is the value of the last preceding <text:variable-set> element with an identical text:name attribute. The element determines how the value of the variable is presented, in accordance with the chosen formatting style.
3989 The attributes that may be associated with the <text:variable-get> element are:   4078 The attributes that may be associated with the <text:variable-get> element are:
3990 text:name   4079 text:name
3991 This attribute specifies the name of the variable to display. The name must match the name of a preceding <text:variable-del> element. See section 6.7.3 for information on using this attribute.   4080 This attribute specifies the name of the variable to display. The name must match the name of a preceding <text:variable-del> element. See section 6.7.3 for information on using this attribute.
3992 text:display   4081 text:display
3993 This attribute can be used to specify whether to display the formula for a simple variable or the computed value of the variable. See section 6.7.5 for information on using this attribute.   4082 This attribute can be used to specify whether to display the formula for a simple variable or the computed value of the variable. See section 6.7.5 for information on using this attribute.
3994 style:data-style-name   4083 style:data-style-name
3995 This attribute specifies the data style to use to format a numeric, Boolean, or date/time variable. If a data style is not specified, a standard data style is used. See section 6.7.7 for information on using this attribute.   4084 This attribute specifies the data style to use to format a numeric, Boolean, or date/time variable. If a data style is not specified, a standard data style is used. See section 6.7.7 for information on using this attribute.
3996 <define name="paragraph-content" combine="choice">   4085 <define name="paragraph-content" combine="choice">
3997         <element name="text:variable-get">   4086         <element name="text:variable-get">
3998                 <interleave>   4087                 <interleave>
3999                         <ref name="common-field-name-attlist"/>   4088                         <ref name="common-field-name-attlist"/>
4000                         <ref name="common-field-display-value-formula-attlist"/>   4089                         <ref name="common-field-display-value-formula-attlist"/>
4001                         <ref name="common-field-data-style-name-attlist"/>   4090                         <ref name="common-field-data-style-name-attlist"/>
4002                 </interleave>   4091                 </interleave>
4003                 <text/>   4092                 <text/>
4004         </element>   4093         </element>
4005 </define>   4094 </define>
4006 6.3.4Simple Variable Input Fields   4095 6.3.4Simple Variable Input Fields
4007 As an alternative to setting simple variables using formulas in variable setter elements, the user can be prompted for variable values. To do this, use the <text:variable-input> element. This element contains the presentation of the variable's value according to the chosen formatting style. The presentation can be empty if the text:display attribute is set to none.   4096 As an alternative to setting simple variables using formulas in variable setter elements, the user can be prompted for variable values. To do this, use the <text:variable-input> element. This element contains the presentation of the variable's value according to the chosen formatting style. The presentation can be empty if the text:display attribute is set to none.
4008 The attributes that may be associated with the <text:variable-input> element are:   4097 The attributes that may be associated with the <text:variable-input> element are:
4009 text:name   4098 text:name
4010 This attribute specifies the name of the variable to display. It must match the name of a variable that was already declared. See section 6.7.3 for information on using this attribute.   4099 This attribute specifies the name of the variable to display. It must match the name of a variable that was already declared. See section 6.7.3 for information on using this attribute.
4011 text:description   4100 text:description
4012 This optional attribute contains a brief message that is presented to users when they are prompted for input. The message should give users enough information about the variable or the use of the value within the document to enable them to choose an appropriate value. See section 6.7.4 for information on using this attribute.   4101 This optional attribute contains a brief message that is presented to users when they are prompted for input. The message should give users enough information about the variable or the use of the value within the document to enable them to choose an appropriate value. See section 6.7.4 for information on using this attribute.
4013 office:value-type and the appropriate value attribute   4102 office:value-type and the appropriate value attribute
4014 See section 6.7.1 for information on using these attributes.   4103 See section 6.7.1 for information on using these attributes.
4015 text:display   4104 text:display
4016 This attribute can be used to specify whether to display or hide the value of the variable through the variable input field. See section 6.7.5 for information on using this attribute.   4105 This attribute can be used to specify whether to display or hide the value of the variable through the variable input field. See section 6.7.5 for information on using this attribute.
4017 style:data-style-name   4106 style:data-style-name
4018 This attribute specifies the data style to use to format a numeric, Boolean, or date/time variable. If a data style is not specified, a standard data style is used. See section 6.7.7 for information on using this attribute.   4107 This attribute specifies the data style to use to format a numeric, Boolean, or date/time variable. If a data style is not specified, a standard data style is used. See section 6.7.7 for information on using this attribute.
4019 <define name="paragraph-content" combine="choice">   4108 <define name="paragraph-content" combine="choice">
4020         <element name="text:variable-input">   4109         <element name="text:variable-input">
4021                 <interleave>   4110                 <interleave>
4022                         <ref name="common-field-name-attlist"/>   4111                         <ref name="common-field-name-attlist"/>
4023                         <ref name="common-field-description-attlist"/>   4112                         <ref name="common-field-description-attlist"/>
4024                         <ref name="common-value-type-attlist"/>   4113                         <ref name="common-value-type-attlist"/>
4025                         <ref name="common-field-display-value-none-attlist"/>   4114                         <ref name="common-field-display-value-none-attlist"/>
4026                         <ref name="common-field-data-style-name-attlist"/>   4115                         <ref name="common-field-data-style-name-attlist"/>
4027                 </interleave>   4116                 </interleave>
4028                 <text/>   4117                 <text/>
4029         </element>   4118         </element>
4030 </define>   4119 </define>
4031 6.3.5Declaring User Variables   4120 6.3.5Declaring User Variables
4032 User variables contain values that are displayed using appropriate fields. Unlike simple variables, user variables have the same value throughout a document. For this reason, the value of user variables is stored in the variable declaration itself.   4121 User variables contain values that are displayed using appropriate fields. Unlike simple variables, user variables have the same value throughout a document. For this reason, the value of user variables is stored in the variable declaration itself.
4033 The attributes that may be associated with the <text:user-field-del> element are:   4122 The attributes that may be associated with the <text:user-field-del> element are:
4034 text:name   4123 text:name
4035 This attribute specifies the name of the variable to be declared. The name must be unique. It cannot already be used for any other type of variable including simple and sequence variables. See section 6.7.3 for information on using this attribute.   4124 This attribute specifies the name of the variable to be declared. The name must be unique. It cannot already be used for any other type of variable including simple and sequence variables. See section 6.7.3 for information on using this attribute.
4036 text:formula   4125 text:formula
4037 This attribute contains the formula to compute the value of the user variable field. If the formula is the same as the content of the field element, this attribute can be omitted. See section 6.7.6 for information on using this attribute.   4126 This attribute contains the formula to compute the value of the user variable field. If the formula is the same as the content of the field element, this attribute can be omitted. See section 6.7.6 for information on using this attribute.
4038 office:value-type and the appropriate value attribute   4127 office:value-type and the appropriate value attribute
4039 See section 6.7.1 for information on using these attributes.   4128 See section 6.7.1 for information on using these attributes.
4040 <define name="text-user-field-decl">   4129 <define name="text-user-field-decl">
4041         <element name="text:user-field-decl">   4130         <element name="text:user-field-decl">
4042                 <ref name="common-field-name-attlist"/>   4131                 <ref name="common-field-name-attlist"/>
4043                 <optional>   4132                 <optional>
4044                         <ref name="common-field-formula-attlist"/>   4133                         <ref name="common-field-formula-attlist"/>
4045                 </optional>   4134                 </optional>
4046                 <ref name="common-value-and-type-attlist"/>   4135                 <ref name="common-value-and-type-attlist"/>
4047         </element>   4136         </element>
4048 </define>   4137 </define>
4049 6.3.6Displaying User Variables   4138 6.3.6Displaying User Variables
4050 The content of user variables can be displayed using <text:user-field-get> elements.   4139 The content of user variables can be displayed using <text:user-field-get> elements.
4051 The attributes that may be associated with the <text:user-field-get> element are:   4140 The attributes that may be associated with the <text:user-field-get> element are:
4052 text:name   4141 text:name
4053 This attribute specifies the name of the variable to display. The name must match the name of a preceding <text:user-field-del> element. See section 6.7.3 for information on using this attribute.   4142 This attribute specifies the name of the variable to display. The name must match the name of a preceding <text:user-field-del> element. See section 6.7.3 for information on using this attribute.
4054 text:display   4143 text:display
4055 This attribute can be used to specify whether to:   4144 This attribute can be used to specify whether to:
4056 Display the formula used to compute the value of the user variable.   4145 Display the formula used to compute the value of the user variable.
4057 Display the value of the user variable.   4146 Display the value of the user variable.
4058 Hide the user variable fields.   4147 Hide the user variable fields.
4059 See section 6.7.5 for information on using this attribute.   4148 See section 6.7.5 for information on using this attribute.
4060 Note: Since the office application user interfaces usually allow users to edit a user field variable by clicking on any user field, a hidden <text:user-field-get> element can be used as an anchor to allow easy access to a particular user field variable.   4149 Note: Since the office application user interfaces usually allow users to edit a user field variable by clicking on any user field, a hidden <text:user-field-get> element can be used as an anchor to allow easy access to a particular user field variable.
4061 style:data-style-name   4150 style:data-style-name
4062 This attribute specifies the data style to use to format a numeric, Boolean, or date/time variable. If a data style is not specified, a standard data style is used. See section 6.7.7 for information on using this attribute.   4151 This attribute specifies the data style to use to format a numeric, Boolean, or date/time variable. If a data style is not specified, a standard data style is used. See section 6.7.7 for information on using this attribute.
4063 <define name="paragraph-content" combine="choice">   4152 <define name="paragraph-content" combine="choice">
4064         <element name="text:user-field-get">   4153         <element name="text:user-field-get">
4065                 <interleave>   4154                 <interleave>
4066                         <ref name="common-field-name-attlist"/>   4155                         <ref name="common-field-name-attlist"/>
4067                         <ref name="common-field-display-value-formula-none-attlist"/>   4156                         <ref name="common-field-display-value-formula-none-attlist"/>
4068                         <ref name="common-field-data-style-name-attlist"/>   4157                         <ref name="common-field-data-style-name-attlist"/>
4069                 </interleave>   4158                 </interleave>
4070                 <text/>   4159                 <text/>
4071         </element>   4160         </element>
4072 </define>   4161 </define>
4073 6.3.7User Variable Input Fields   4162 6.3.7User Variable Input Fields
4074 An alternative method of setting user variables is to use input fields, similar to the input fields for simple variables. A user variable can be set in this way using the <text:user-field-input> element. Since the value of a user field variable is stored in the <text:user-field-del> element, the <text:user-field-input> element does not contain the value and value type attributes from the <text:variable-input> field.   4163 An alternative method of setting user variables is to use input fields, similar to the input fields for simple variables. A user variable can be set in this way using the <text:user-field-input> element. Since the value of a user field variable is stored in the <text:user-field-del> element, the <text:user-field-input> element does not contain the value and value type attributes from the <text:variable-input> field.
4075 The presentation can be empty if the text:display attribute is set to none.   4164 The presentation can be empty if the text:display attribute is set to none.
4076 The attributes that may be associated with the <text:user-field-input> element are:   4165 The attributes that may be associated with the <text:user-field-input> element are:
4077 text:name   4166 text:name
4078 This attribute specifies the name of the variable to set. It must match the name of a variable that has already been declared. See section 6.7.3 for information on using this attribute.   4167 This attribute specifies the name of the variable to set. It must match the name of a variable that has already been declared. See section 6.7.3 for information on using this attribute.
4079 text:description   4168 text:description
4080 This optional attribute contains a brief message that is presented to users when they are prompted for input. The message should give users enough information about the variable or the use of the value within the document, to enable them to choose an appropriate value. See section 6.7.4 for information on using this attribute.   4169 This optional attribute contains a brief message that is presented to users when they are prompted for input. The message should give users enough information about the variable or the use of the value within the document, to enable them to choose an appropriate value. See section 6.7.4 for information on using this attribute.
4081 style:data-style-name   4170 style:data-style-name
4082 This attribute specifies the data style to use to format a numeric, Boolean, or date/time variable. If a data style is not specified, a standard data style is used. See section 6.7.7 for information on using this attribute.   4171 This attribute specifies the data style to use to format a numeric, Boolean, or date/time variable. If a data style is not specified, a standard data style is used. See section 6.7.7 for information on using this attribute.
4083 <define name="paragraph-content" combine="choice">   4172 <define name="paragraph-content" combine="choice">
4084         <element name="text:user-field-input">   4173         <element name="text:user-field-input">
4085                 <interleave>   4174                 <interleave>
4086                         <ref name="common-field-name-attlist"/>   4175                         <ref name="common-field-name-attlist"/>
4087                         <ref name="common-field-description-attlist"/>   4176                         <ref name="common-field-description-attlist"/>
4088                         <ref name="common-field-data-style-name-attlist"/>   4177                         <ref name="common-field-data-style-name-attlist"/>
4089                 </interleave>   4178                 </interleave>
4090                 <text/>   4179                 <text/>
4091         </element>   4180         </element>
4092 </define>   4181 </define>
4093 6.3.8Declaring Sequence Variables   4182 6.3.8Declaring Sequence Variables
4094 Sequence variables are used to number items within an OpenDocument text document. Sequence variables are most commonly used for sequential numbering. However, expression formulas can be included in sequence fields to support more advanced sequences. See section 6.3.9 for more information on Using Sequence Fields and their uses.   4183 Sequence variables are used to number items within an OpenDocument text document. Sequence variables are most commonly used for sequential numbering. However, expression formulas can be included in sequence fields to support more advanced sequences. See section 6.3.9 for more information on Using Sequence Fields and their uses.
4095 Sequence variables are declared using the <text:sequence-del> element.   4184 Sequence variables are declared using the <text:sequence-del> element.
4096 To facilitate chapter-specific numbering, attributes can be attached to a sequence variable to specify a chapter level and a separation character. The attributes that may be associated with the <text:sequence-del> element are:   4185 To facilitate chapter-specific numbering, attributes can be attached to a sequence variable to specify a chapter level and a separation character. The attributes that may be associated with the <text:sequence-del> element are:
4097 text:name   4186 text:name
4098 This attribute specifies the name of the variable to be declared. The name must be unique. It cannot already be used for any other type of variable including simple and user variables. See section 6.7.3 for information on using this attribute.   4187 This attribute specifies the name of the variable to be declared. The name must be unique. It cannot already be used for any other type of variable including simple and user variables. See section 6.7.3 for information on using this attribute.
4099 text:display-outline-level   4188 text:display-outline-level
4100 See section 6.3.8:Outline Level for information about this attribute.   4189 See section 6.3.8:Outline Level for information about this attribute.
4101 text:separation-character   4190 text:separation-character
4102 See section 6.3.8:Separation Character for information about this attribute.   4191 See section 6.3.8:Separation Character for information about this attribute.
4103 <define name="text-sequence-decl">   4192 <define name="text-sequence-decl">
4104         <element name="text:sequence-decl">   4193         <element name="text:sequence-decl">
4105                 <ref name="text-sequence-decl-attlist"/>   4194                 <ref name="text-sequence-decl-attlist"/>
4106         </element>   4195         </element>
4107 </define>   4196 </define>
4108 <define name="text-sequence-decl-attlist" combine="interleave">   4197 <define name="text-sequence-decl-attlist" combine="interleave">
4109         <ref name="common-field-name-attlist"/>   4198         <ref name="common-field-name-attlist"/>
4110 </define>   4199 </define>
4111 Outline Level   4200 Outline Level
4112 Sequences can be numbered by chapter. To use this feature, use the text:display-outline-level attribute to specify an outline level that determines which chapters to reference for the chapter-specific numbering. All chapters that are at or below the specified outline level reset the value of the sequence to zero, the default value. Also, the chapter number of the last chapter at or below the specified outline level is prefixed to the sequence number. Choosing an outline level of zero results in a straight sequence of all sequence elements for that sequence variable.   4201 Sequences can be numbered by chapter. To use this feature, use the text:display-outline-level attribute to specify an outline level that determines which chapters to reference for the chapter-specific numbering. All chapters that are at or below the specified outline level reset the value of the sequence to zero, the default value. Also, the chapter number of the last chapter at or below the specified outline level is prefixed to the sequence number. Choosing an outline level of zero results in a straight sequence of all sequence elements for that sequence variable.
4113 <define name="text-sequence-decl-attlist" combine="interleave">   4202 <define name="text-sequence-decl-attlist" combine="interleave">
4114         <attribute name="text:display-outline-level">   4203         <attribute name="text:display-outline-level">
4115                 <ref name="nonNegativeInteger"/>   4204                 <ref name="nonNegativeInteger"/>
4116         </attribute>   4205         </attribute>
4117 </define>   4206 </define>
4118 Separation Character   4207 Separation Character
4119 If sequences are numbered by chapter, this attribute is used to choose a character to separate the chapter number from the sequence number.   4208 If sequences are numbered by chapter, this attribute is used to choose a character to separate the chapter number from the sequence number.
4120 If the value of the text:display-outline-level attribute is a non-zero value, a separation character may be specified. The default separation character is ".".Otherwise, if the value of text:display-outline-level is zero, this attribute must be omitted.   4209 If the value of the text:display-outline-level attribute is a non-zero value, a separation character may be specified. The default separation character is ".".Otherwise, if the value of text:display-outline-level is zero, this attribute must be omitted.
4121 <define name="text-sequence-decl-attlist" combine="interleave">   4210 <define name="text-sequence-decl-attlist" combine="interleave">
4122         <optional>   4211         <optional>
4123                 <attribute name="text:separation-character">   4212                 <attribute name="text:separation-character">
4124                         <ref name="character"/>   4213                         <ref name="character"/>
4125                 </attribute>   4214                 </attribute>
4126         </optional>   4215         </optional>
4127 </define>   4216 </define>
4128 Example: Sequence variable   4217 Example: Sequence variable
4129 The sequence variable 3.7.36#5 with a value of 5 is declared using:   4218 The sequence variable 3.7.36#5 with a value of 5 is declared using:
4130 Attribute   4219 Attribute
4131 Value   4220 Value
4132 text:display-outline-level   4221 text:display-outline-level
4133 3   4222 3
4134 text:separation-character   4223 text:separation-character
4135 #   4224 #
4136 6.3.9Using Sequence Fields   4225 6.3.9Using Sequence Fields
4137 Once a sequence variable is declared, it can be used in sequence fields throughout the document. Most sequence fields simply increment and display the sequence variable. However, sequence fields can also assume a new start value at any given position in a document. This start value is computed using a formula which is contained in the sequence field. If a sequence field without a start value is added, the office application software automatically inserts an expression of the type variable+1.   4226 Once a sequence variable is declared, it can be used in sequence fields throughout the document. Most sequence fields simply increment and display the sequence variable. However, sequence fields can also assume a new start value at any given position in a document. This start value is computed using a formula which is contained in the sequence field. If a sequence field without a start value is added, the office application software automatically inserts an expression of the type variable+1.
4138 Sequence fields are most commonly used for simple counting sequences. However, the ability to provide arbitrary expressions supports more complex sequences. To form a sequence of even numbers, all sequence elements for that particular variable need to contain a formula incrementing the value by two, for example, variable+2. A sequence with a starting value of 1 and all subsequent elements using the formula variable*2 yields all powers of two. Since different sequence elements for the same sequence variable may contain different formulas, complex sequences may be constructed.   4227 Sequence fields are most commonly used for simple counting sequences. However, the ability to provide arbitrary expressions supports more complex sequences. To form a sequence of even numbers, all sequence elements for that particular variable need to contain a formula incrementing the value by two, for example, variable+2. A sequence with a starting value of 1 and all subsequent elements using the formula variable*2 yields all powers of two. Since different sequence elements for the same sequence variable may contain different formulas, complex sequences may be constructed.
4139 The attributes that may be associated with the <text:sequence> element are:   4228 The attributes that may be associated with the <text:sequence> element are:
4140 text:name   4229 text:name
4141 This attribute specifies the name of the variable that the field is to display. It must match the name of a sequence variable that was already declared. See section 6.7.3 for information on using this attribute.   4230 This attribute specifies the name of the variable that the field is to display. It must match the name of a sequence variable that was already declared. See section 6.7.3 for information on using this attribute.
4142 text:formula   4231 text:formula
4143 This optional attribute contains a formula to compute the value of the sequence field. If this attribute is omitted, an expression containing the content of the element is used. See section 6.7.6 for information on using this attribute.   4232 This optional attribute contains a formula to compute the value of the sequence field. If this attribute is omitted, an expression containing the content of the element is used. See section 6.7.6 for information on using this attribute.
4144 style:num-format and style:num-letter-sync   4233 style:num-format and style:num-letter-sync
4145 These attributes specify the numbering style to use. If a numbering style is not specified, the numbering style is inherited from the page style. See section 6.7.8 for information on these attributes.   4234 These attributes specify the numbering style to use. If a numbering style is not specified, the numbering style is inherited from the page style. See section 6.7.8 for information on these attributes.
4146 text:ref-name   4235 text:ref-name
4147 See the section 6.3.9:Reference Name for more information about this attribute.   4236 See the section 6.3.9:Reference Name for more information about this attribute.
4148 <define name="paragraph-content" combine="choice">   4237 <define name="paragraph-content" combine="choice">
4149         <element name="text:sequence">   4238         <element name="text:sequence">
4150                 <interleave>   4239                 <interleave>
4151                         <ref name="common-field-name-attlist"/>   4240                         <ref name="common-field-name-attlist"/>
4152                         <ref name="common-field-formula-attlist"/>   4241                         <ref name="common-field-formula-attlist"/>
4153                         <ref name="common-field-num-format-attlist"/>   4242                         <ref name="common-field-num-format-attlist"/>
4154                         <ref name="text-sequence-ref-name"/>   4243                         <ref name="text-sequence-ref-name"/>
4155                 </interleave>   4244                 </interleave>
4156                 <text/>   4245                 <text/>
4157         </element>   4246         </element>
4158 </define>   4247 </define>
4159 Reference Name   4248 Reference Name
4160 Sequence fields can be the target of references, as implemented using reference fields. See section 6.6.5 for more information about reference fields. To enable a reference field to identify a particular sequence field, the sequence field must contain an additional attribute containing a name. No two sequence fields can have the same reference name.   4249 Sequence fields can be the target of references, as implemented using reference fields. See section 6.6.5 for more information about reference fields. To enable a reference field to identify a particular sequence field, the sequence field must contain an additional attribute containing a name. No two sequence fields can have the same reference name.
4161 If the sequence field is not the target of a reference, this attribute can be omitted.   4250 If the sequence field is not the target of a reference, this attribute can be omitted.
4162 <define name="text-sequence-ref-name">   4251 <define name="text-sequence-ref-name">
4163         <optional>   4252         <optional>
4164                 <attribute name="text:ref-name">   4253                 <attribute name="text:ref-name">
4165                         <ref name="string"/>   4254                         <ref name="string"/>
4166                 </attribute>   4255                 </attribute>
4167         </optional>   4256         </optional>
4168 </define>   4257 </define>
4169 6.3.10Expression Fields   4258 6.3.10Expression Fields
4170 Expression fields contain expressions that are evaluated and the resulting value is displayed. The value of the expression is formatted according to the chosen formatting style.   4259 Expression fields contain expressions that are evaluated and the resulting value is displayed. The value of the expression is formatted according to the chosen formatting style.
4171 The attributes that may be associated with the <text:expression> element are:   4260 The attributes that may be associated with the <text:expression> element are:
4172 text:formula   4261 text:formula
4173 This attribute contains the actual expression used to compute the value of the expression field. See section 6.7.6 for information on using this attribute.   4262 This attribute contains the actual expression used to compute the value of the expression field. See section 6.7.6 for information on using this attribute.
4174 office:value-type and the appropriate value attribute   4263 office:value-type and the appropriate value attribute
4175 See section 6.7.1 for information on using these attributes.   4264 See section 6.7.1 for information on using these attributes.
4176 text:display   4265 text:display
4177 Use this attribute to specify one of the following:   4266 Use this attribute to specify one of the following:
4178 To display the value of the field.   4267 To display the value of the field.
4179 To display the formula used to compute the value.   4268 To display the formula used to compute the value.
4180 See section 6.7.5 for information on using this attribute.   4269 See section 6.7.5 for information on using this attribute.
4181 style:data-style-name   4270 style:data-style-name
4182 This attribute specifies the data style to use to format a numeric, Boolean, or date/time variable. If a data style is not specified, a standard data style is used. See section 6.7.7 for information on using this attribute.   4271 This attribute specifies the data style to use to format a numeric, Boolean, or date/time variable. If a data style is not specified, a standard data style is used. See section 6.7.7 for information on using this attribute.
4183 <define name="paragraph-content" combine="choice">   4272 <define name="paragraph-content" combine="choice">
4184         <element name="text:expression">   4273         <element name="text:expression">
4185                 <interleave>   4274                 <interleave>
4186                         <ref name="common-field-formula-attlist"/>   4275                         <ref name="common-field-formula-attlist"/>
4187                         <optional>   4276                         <optional>
4188                                 <ref name="common-value-and-type-attlist"/>   4277                                 <ref name="common-value-and-type-attlist"/>
4189                         </optional>   4278                         </optional>
4190                         <ref name="common-field-display-value-formula-attlist"/>   4279                         <ref name="common-field-display-value-formula-attlist"/>
4191                         <ref name="common-field-data-style-name-attlist"/>   4280                         <ref name="common-field-data-style-name-attlist"/>
4192                 </interleave>   4281                 </interleave>
4193                 <text/>   4282                 <text/>
4194         </element>   4283         </element>
4195 </define>   4284 </define>
4196 6.3.11Text Input Fields   4285 6.3.11Text Input Fields
4197 A text input field is a variable field. From the point of view of the user interface, a text input field is similar to the <text:variable-input> and <text:user-field-input> fields. However, the text input field does not change the value of any variables.   4286 A text input field is a variable field. From the point of view of the user interface, a text input field is similar to the <text:variable-input> and <text:user-field-input> fields. However, the text input field does not change the value of any variables.
4198 The only attribute that may be associated with the <text:text-input> element is:   4287 The only attribute that may be associated with the <text:text-input> element is:
4199 text:description   4288 text:description
4200 This attribute contains a brief message that is presented to users when they are prompted for input. The message should give users enough information about the purpose of the field and how it is used within the document, to enable them to choose an appropriate value. See section 6.7.4 for information on using this attribute.   4289 This attribute contains a brief message that is presented to users when they are prompted for input. The message should give users enough information about the purpose of the field and how it is used within the document, to enable them to choose an appropriate value. See section 6.7.4 for information on using this attribute.
4201 <define name="paragraph-content" combine="choice">   4290 <define name="paragraph-content" combine="choice">
4202         <element name="text:text-input">   4291         <element name="text:text-input">
4203                 <ref name="common-field-description-attlist"/>   4292                 <ref name="common-field-description-attlist"/>
4204                 <text/>   4293                 <text/>
4205         </element>   4294         </element>
4206 </define>   4295 </define>
4207 6.4Metadata Fields   4296 6.4Metadata Fields
4208 Metadata fields display meta information about the document, such as, the document creation date or the time at which the document was last printed. The names of the metadata field elements correspond to the metadata elements described in Chapter 3.   4297 Metadata fields display meta information about the document, such as, the document creation date or the time at which the document was last printed. The names of the metadata field elements correspond to the metadata elements described in Chapter 3.
4209 All metadata field elements can be marked as fixed using the text:fixed attribute. (Cf. section 6.7.2)   4298 All metadata field elements can be marked as fixed using the text:fixed attribute. (Cf. section 6.7.2)
4210 Several metadata fields display a date or a time. The elements for these fields require an associated text:date-value or a text:time-value attribute, and optionally, they can also have a style:data-style-name attribute. See section 6.7.1 for more information on these attributes.   4299 Several metadata fields display a date or a time. The elements for these fields require an associated text:date-value or a text:time-value attribute, and optionally, they can also have a style:data-style-name attribute. See section 6.7.1 for more information on these attributes.
4211 6.4.1Initial Creator   4300 6.4.1Initial Creator
4212 This element represents the name of the author who created the original document.   4301 This element represents the name of the author who created the original document.
4213 <define name="paragraph-content" combine="choice">   4302 <define name="paragraph-content" combine="choice">
4214         <element name="text:initial-creator">   4303         <element name="text:initial-creator">
4215                 <ref name="common-field-fixed-attlist"/>   4304                 <ref name="common-field-fixed-attlist"/>
4216                 <text/>   4305                 <text/>
4217         </element>   4306         </element>
4218 </define>   4307 </define>
4219 6.4.2Document Creation Date   4308 6.4.2Document Creation Date
4220 This element represents the date on which the document was created.   4309 This element represents the date on which the document was created.
4221 <define name="paragraph-content" combine="choice">   4310 <define name="paragraph-content" combine="choice">
4222         <element name="text:creation-date">   4311         <element name="text:creation-date">
4223                 <interleave>   4312                 <interleave>
4224                         <ref name="common-field-fixed-attlist"/>   4313                         <ref name="common-field-fixed-attlist"/>
4225                         <ref name="common-field-data-style-name-attlist"/>   4314                         <ref name="common-field-data-style-name-attlist"/>
4226                         <optional>   4315                         <optional>
4227                                 <attribute name="text:date-value">   4316                                 <attribute name="text:date-value">
4228                                         <ref name="dateOrDateTime"/>   4317                                         <ref name="dateOrDateTime"/>
4229                                 </attribute>   4318                                 </attribute>
4230                         </optional>   4319                         </optional>
4231                 </interleave>   4320                 </interleave>
4232                 <text/>   4321                 <text/>
4233         </element>   4322         </element>
4234 </define>   4323 </define>
4235 6.4.3Document Creation Time   4324 6.4.3Document Creation Time
4236 This element represents the time at which the document was created.   4325 This element represents the time at which the document was created.
4237 <define name="paragraph-content" combine="choice">   4326 <define name="paragraph-content" combine="choice">
4238         <element name="text:creation-time">   4327         <element name="text:creation-time">
4239                 <interleave>   4328                 <interleave>
4240                         <ref name="common-field-fixed-attlist"/>   4329                         <ref name="common-field-fixed-attlist"/>
4241                         <ref name="common-field-data-style-name-attlist"/>   4330                         <ref name="common-field-data-style-name-attlist"/>
4242                         <optional>   4331                         <optional>
4243                                 <attribute name="text:time-value">   4332                                 <attribute name="text:time-value">
4244                                         <ref name="timeOrDateTime"/>   4333                                         <ref name="timeOrDateTime"/>
4245                                 </attribute>   4334                                 </attribute>
4246                         </optional>   4335                         </optional>
4247                 </interleave>   4336                 </interleave>
4248                 <text/>   4337                 <text/>
4249         </element>   4338         </element>
4250 </define>   4339 </define>
4251 6.4.4Document Description   4340 6.4.4Document Description
4252 This element contains a brief description of the document.   4341 This element contains a brief description of the document.
4253 <define name="paragraph-content" combine="choice">   4342 <define name="paragraph-content" combine="choice">
4254         <element name="text:description">   4343         <element name="text:description">
4255                 <ref name="common-field-fixed-attlist"/>   4344                 <ref name="common-field-fixed-attlist"/>
4256                 <text/>   4345                 <text/>
4257         </element>   4346         </element>
4258 </define>   4347 </define>
4259 6.4.5User-Defined Document Information   4348 6.4.5User-Defined Document Information
4260 This element contains user-defined information about the document. It displays the information provided within a <meta:user-defined> element that has the same name.   4349 This element contains user-defined information about the document. It displays the information provided within a <meta:user-defined> element that has the same name.
4261 <define name="paragraph-content" combine="choice">   4350 <define name="paragraph-content" combine="choice">
4262         <element name="text:user-defined">   4351         <element name="text:user-defined">
4263                 <interleave>   4352                 <interleave>
4264                         <ref name="common-field-fixed-attlist"/>   4353                         <ref name="common-field-fixed-attlist"/>
4265                         <attribute name="text:name">   4354                         <attribute name="text:name">
4266                                 <ref name="string"/>   4355                                 <ref name="string"/>
4267                         </attribute>   4356                         </attribute>
4268                         <ref name="common-field-data-style-name-attlist"/>   4357                         <ref name="common-field-data-style-name-attlist"/>
4269                         <optional>   4358                         <optional>
4270                                 <attribute name="office:value">   4359                                 <attribute name="office:value">
4271                                         <ref name="double"/>   4360                                         <ref name="double"/>
4272                                 </attribute>   4361                                 </attribute>
4273                         </optional>   4362                         </optional>
4274                         <optional>   4363                         <optional>
4275                                 <attribute name="office:date-value">   4364                                 <attribute name="office:date-value">
4276                                         <ref name="dateOrDateTime"/>   4365                                         <ref name="dateOrDateTime"/>
4277                                 </attribute>   4366                                 </attribute>
4278                         </optional>   4367                         </optional>
4279                         <optional>   4368                         <optional>
4280                                 <attribute name="office:time-value">   4369                                 <attribute name="office:time-value">
4281                                         <ref name="duration"/>   4370                                         <ref name="duration"/>
4282                                 </attribute>   4371                                 </attribute>
4283                         </optional>   4372                         </optional>
4284                         <optional>   4373                         <optional>
4285                                 <attribute name="office:boolean-value">   4374                                 <attribute name="office:boolean-value">
4286                                         <ref name="boolean"/>   4375                                         <ref name="boolean"/>
4287                                 </attribute>   4376                                 </attribute>
4288                         </optional>   4377                         </optional>
4289                         <optional>   4378                         <optional>
4290                                 <attribute name="office:string-value">   4379                                 <attribute name="office:string-value">
4291                                         <ref name="string"/>   4380                                         <ref name="string"/>
4292                                 </attribute>   4381                                 </attribute>
4293                         </optional>   4382                         </optional>
4294                 </interleave>   4383                 </interleave>
4295                 <text/>   4384                 <text/>
4296         </element>   4385         </element>
4297 </define>   4386 </define>
4298 6.4.6Print Time   4387 6.4.6Print Time
4299 This element represents the time at which the document was last printed.   4388 This element represents the time at which the document was last printed.
4300 <define name="paragraph-content" combine="choice">   4389 <define name="paragraph-content" combine="choice">
4301         <element name="text:print-time">   4390         <element name="text:print-time">
4302                 <interleave>   4391                 <interleave>
4303                         <ref name="common-field-fixed-attlist"/>   4392                         <ref name="common-field-fixed-attlist"/>
4304                         <ref name="common-field-data-style-name-attlist"/>   4393                         <ref name="common-field-data-style-name-attlist"/>
4305                         <optional>   4394                         <optional>
4306                                 <attribute name="text:time-value">   4395                                 <attribute name="text:time-value">
4307                                         <ref name="time"/>   4396                                         <ref name="time"/>
4308                                 </attribute>   4397                                 </attribute>
4309                         </optional>   4398                         </optional>
4310                 </interleave>   4399                 </interleave>
4311                 <text/>   4400                 <text/>
4312         </element>   4401         </element>
4313 </define>   4402 </define>
4314 6.4.7Print Date   4403 6.4.7Print Date
4315 This element represents the date on which the document was last printed.   4404 This element represents the date on which the document was last printed.
4316 <define name="paragraph-content" combine="choice">   4405 <define name="paragraph-content" combine="choice">
4317         <element name="text:print-date">   4406         <element name="text:print-date">
4318                 <interleave>   4407                 <interleave>
4319                         <ref name="common-field-fixed-attlist"/>   4408                         <ref name="common-field-fixed-attlist"/>
4320                         <ref name="common-field-data-style-name-attlist"/>   4409                         <ref name="common-field-data-style-name-attlist"/>
4321                         <optional>   4410                         <optional>
4322                                 <attribute name="text:date-value">   4411                                 <attribute name="text:date-value">
4323                                         <ref name="date"/>   4412                                         <ref name="date"/>
4324                                 </attribute>   4413                                 </attribute>
4325                         </optional>   4414                         </optional>
4326                 </interleave>   4415                 </interleave>
4327                 <text/>   4416                 <text/>
4328         </element>   4417         </element>
4329 </define>   4418 </define>
4330 6.4.8Printed By   4419 6.4.8Printed By
4331 This element represents name of the last person who printed the document.   4420 This element represents name of the last person who printed the document.
4332 <define name="paragraph-content" combine="choice">   4421 <define name="paragraph-content" combine="choice">
4333         <element name="text:printed-by">   4422         <element name="text:printed-by">
4334                 <ref name="common-field-fixed-attlist"/>   4423                 <ref name="common-field-fixed-attlist"/>
4335                 <text/>   4424                 <text/>
4336         </element>   4425         </element>
4337 </define>   4426 </define>
4338 6.4.9Document Title   4427 6.4.9Document Title
4339 This element represents the title of the document.   4428 This element represents the title of the document.
4340 <define name="paragraph-content" combine="choice">   4429 <define name="paragraph-content" combine="choice">
4341         <element name="text:title">   4430         <element name="text:title">
4342                 <ref name="common-field-fixed-attlist"/>   4431                 <ref name="common-field-fixed-attlist"/>
4343                 <text/>   4432                 <text/>
4344         </element>   4433         </element>
4345 </define>   4434 </define>
4346 6.4.10Document Subject   4435 6.4.10Document Subject
4347 This element represents the subject of the document.   4436 This element represents the subject of the document.
4348 <define name="paragraph-content" combine="choice">   4437 <define name="paragraph-content" combine="choice">
4349         <element name="text:subject">   4438         <element name="text:subject">
4350                 <ref name="common-field-fixed-attlist"/>   4439                 <ref name="common-field-fixed-attlist"/>
4351                 <text/>   4440                 <text/>
4352         </element>   4441         </element>
4353 </define>   4442 </define>
4354 6.4.11Document Keywords   4443 6.4.11Document Keywords
4355 This element contains a list of keywords used to describe the document.   4444 This element contains a list of keywords used to describe the document.
4356 <define name="paragraph-content" combine="choice">   4445 <define name="paragraph-content" combine="choice">
4357         <element name="text:keywords">   4446         <element name="text:keywords">
4358                 <ref name="common-field-fixed-attlist"/>   4447                 <ref name="common-field-fixed-attlist"/>
4359                 <text/>   4448                 <text/>
4360         </element>   4449         </element>
4361 </define>   4450 </define>
4362 6.4.12Document Revision Number   4451 6.4.12Document Revision Number
4363 This element contains the document revision number. When the document is created, the revision number is set to 1. Each time the document is saved, the document revision number is incremented.   4452 This element contains the document revision number. When the document is created, the revision number is set to 1. Each time the document is saved, the document revision number is incremented.
4364 <define name="paragraph-content" combine="choice">   4453 <define name="paragraph-content" combine="choice">
4365         <element name="text:editing-cycles">   4454         <element name="text:editing-cycles">
4366                 <ref name="common-field-fixed-attlist"/>   4455                 <ref name="common-field-fixed-attlist"/>
4367                 <text/>   4456                 <text/>
4368         </element>   4457         </element>
4369 </define>   4458 </define>
4370 Note: Since the <text:editing-cycles> field can not be formatted, the revision number can be read from the element content. Therefore, no extra attribute is needed.   4459 Note: Since the <text:editing-cycles> field can not be formatted, the revision number can be read from the element content. Therefore, no extra attribute is needed.
4371 6.4.13Document Edit Duration   4460 6.4.13Document Edit Duration
4372 Every time a document is edited, the office application records the duration between the time the document is opened and the time the document is closed. It then adds the duration to an internal counter, thereby keeping track of the total time that has been spent editing the document.   4461 Every time a document is edited, the office application records the duration between the time the document is opened and the time the document is closed. It then adds the duration to an internal counter, thereby keeping track of the total time that has been spent editing the document.
4373 <define name="paragraph-content" combine="choice">   4462 <define name="paragraph-content" combine="choice">
4374         <element name="text:editing-duration">   4463         <element name="text:editing-duration">
4375                 <interleave>   4464                 <interleave>
4376                         <ref name="common-field-fixed-attlist"/>   4465                         <ref name="common-field-fixed-attlist"/>
4377                         <ref name="common-field-data-style-name-attlist"/>   4466                         <ref name="common-field-data-style-name-attlist"/>
4378                         <optional>   4467                         <optional>
4379                                 <attribute name="text:duration">   4468                                 <attribute name="text:duration">
4380                                         <ref name="duration"/>   4469                                         <ref name="duration"/>
4381                                 </attribute>   4470                                 </attribute>
4382                         </optional>   4471                         </optional>
4383                 </interleave>   4472                 </interleave>
4384                 <text/>   4473                 <text/>
4385         </element>   4474         </element>
4386 </define>   4475 </define>
4387 6.4.14Document Modification Time   4476 6.4.14Document Modification Time
4388 This element represents the time at which the document was last modified.   4477 This element represents the time at which the document was last modified.
4389 This element displays the information from the <meta:date> element. The name was chosen to avoid confusion with <text:date> fields. <> 4478 This element displays the information from the <dc:date> element. The name was chosen to avoid confusion with <text:date> fields.
4390 <define name="paragraph-content" combine="choice"> = 4479 <define name="paragraph-content" combine="choice">
4391         <element name="text:modification-time">   4480         <element name="text:modification-time">
4392                 <interleave>   4481                 <interleave>
4393                         <ref name="common-field-fixed-attlist"/>   4482                         <ref name="common-field-fixed-attlist"/>
4394                         <ref name="common-field-data-style-name-attlist"/>   4483                         <ref name="common-field-data-style-name-attlist"/>
4395                         <optional>   4484                         <optional>
4396                                 <attribute name="text:time-value">   4485                                 <attribute name="text:time-value">
4397                                         <ref name="time"/>   4486                                         <ref name="time"/>
4398                                 </attribute>   4487                                 </attribute>
4399                         </optional>   4488                         </optional>
4400                 </interleave>   4489                 </interleave>
4401                 <text/>   4490                 <text/>
4402         </element>   4491         </element>
4403 </define>   4492 </define>
4404 6.4.15Document Modification Date   4493 6.4.15Document Modification Date
4405 This element represents the date on which the document was last modified.   4494 This element represents the date on which the document was last modified.
4406 This element displays the information from the <meta:date> element. The name was chosen to avoid confusion with <text:date> fields. <> 4495 This element displays the information from the <dc:date> element. The name was chosen to avoid confusion with <text:date> fields.
4407 <define name="paragraph-content" combine="choice"> = 4496 <define name="paragraph-content" combine="choice">
4408         <element name="text:modification-date">   4497         <element name="text:modification-date">
4409                 <interleave>   4498                 <interleave>
4410                         <ref name="common-field-fixed-attlist"/>   4499                         <ref name="common-field-fixed-attlist"/>
4411                         <ref name="common-field-data-style-name-attlist"/>   4500                         <ref name="common-field-data-style-name-attlist"/>
4412                         <optional>   4501                         <optional>
4413                                 <attribute name="text:date-value">   4502                                 <attribute name="text:date-value">
4414                                         <ref name="date"/>   4503                                         <ref name="date"/>
4415                                 </attribute>   4504                                 </attribute>
4416                         </optional>   4505                         </optional>
4417                 </interleave>   4506                 </interleave>
4418                 <text/>   4507                 <text/>
4419         </element>   4508         </element>
4420 </define>   4509 </define>
4421 6.4.16Document Modified By   4510 6.4.16Document Modified By
4422 This element represents the name of the person who last modified the document.   4511 This element represents the name of the person who last modified the document.
4423 <define name="paragraph-content" combine="choice">   4512 <define name="paragraph-content" combine="choice">
4424         <element name="text:creator">   4513         <element name="text:creator">
4425                 <ref name="common-field-fixed-attlist"/>   4514                 <ref name="common-field-fixed-attlist"/>
4426                 <text/>   4515                 <text/>
4427         </element>   4516         </element>
4428 </define>   4517 </define>
4429 6.4.17Document Statistics Fields   4518 6.4.17Document Statistics Fields
4430 These fields display how many objects of a certain type a document contains. They can be used to display the number of   4519 These fields display how many objects of a certain type a document contains. They can be used to display the number of
4431 pages,   4520 pages,
4432 paragraphs,   4521 paragraphs,
4433 words,   4522 words,
4434 characters,   4523 characters,
4435 tables,   4524 tables,
4436 images, or   4525 images, or
4437 embedded objects.   4526 embedded objects.
4438 <define name="paragraph-content" combine="choice">   4527 <define name="paragraph-content" combine="choice">
4439         <element>   4528         <element>
4440                 <choice>   4529                 <choice>
4441                         <name>text:page-count</name>   4530                         <name>text:page-count</name>
4442                         <name>text:paragraph-count</name>   4531                         <name>text:paragraph-count</name>
4443                         <name>text:word-count</name>   4532                         <name>text:word-count</name>
4444                         <name>text:character-count</name>   4533                         <name>text:character-count</name>
4445                         <name>text:table-count</name>   4534                         <name>text:table-count</name>
4446                         <name>text:image-count</name>   4535                         <name>text:image-count</name>
4447                         <name>text:object-count</name>   4536                         <name>text:object-count</name>
4448                 </choice>   4537                 </choice>
4449                 <ref name="common-field-num-format-attlist"/>   4538                 <ref name="common-field-num-format-attlist"/>
4450                 <text/>   4539                 <text/>
4451         </element>   4540         </element>
4452 </define>   4541 </define>
4453 6.5Database Fields   4542 6.5Database Fields
4454 Documents can reference databases and display database information as text content. To display database information, the OpenDocument schema uses a group of text fields, collectively called database fields. Office applications may use database tables from SQL servers, therefore database fields can be used to access any SQL database, provided that the appropriate drivers are available.   4543 Documents can reference databases and display database information as text content. To display database information, the OpenDocument schema uses a group of text fields, collectively called database fields. Office applications may use database tables from SQL servers, therefore database fields can be used to access any SQL database, provided that the appropriate drivers are available.
4455 A database may contain the following components:   4544 A database may contain the following components:
4456 Tables, which store the actual data.   4545 Tables, which store the actual data.
4457 Queries, which extract a subset of data from one or more tables.   4546 Queries, which extract a subset of data from one or more tables.
4458 Forms, which present the data.   4547 Forms, which present the data.
4459 Reports, which summarize the database content.   4548 Reports, which summarize the database content.
4460 Database forms and reports are not relevant to text content, therefore they are not discussed in this chapter. From the point of view of embedding database information in OpenDocument text documents, queries and tables are considered the same. Therefore for the remainder of this section, the phrase database table refers to both database tables and database queries.   4549 Database forms and reports are not relevant to text content, therefore they are not discussed in this chapter. From the point of view of embedding database information in OpenDocument text documents, queries and tables are considered the same. Therefore for the remainder of this section, the phrase database table refers to both database tables and database queries.
4461 Database fields alone do not retrieve information from a database. In addition to the database fields, a set of database rows is also added to the document. When new data is added to the document, all database fields belonging to the added database table are updated. Using the office application user interface, database rows can be added in one of the following ways:   4550 Database fields alone do not retrieve information from a database. In addition to the database fields, a set of database rows is also added to the document. When new data is added to the document, all database fields belonging to the added database table are updated. Using the office application user interface, database rows can be added in one of the following ways:
4462 Manually, using a data source browser and the data to fields function.   4551 Manually, using a data source browser and the data to fields function.
4463 Using the Form Letter menu item on the File menu. This menu item adds each row in the chosen data set into a newly created copy of the form letter.   4552 Using the Form Letter menu item on the File menu. This menu item adds each row in the chosen data set into a newly created copy of the form letter.
4464 To display data from a database table use the <text:database-display> element. The <text:database-select> and <text:database-next> elements can be used to determine which row within the current selection should be displayed. The current row number for a particular table can be displayed using the <text:database-row-number> element. Finally, the <text:database-name> field displays the name of the most recently used database, which is the address book file database by default.   4553 To display data from a database table use the <text:database-display> element. The <text:database-select> and <text:database-next> elements can be used to determine which row within the current selection should be displayed. The current row number for a particular table can be displayed using the <text:database-row-number> element. Finally, the <text:database-name> field displays the name of the most recently used database, which is the address book file database by default.
4465 6.5.1Database Field Data Source   4554 6.5.1Database Field Data Source
4466 A database field's source can either be the name of a database, or an IRI containing database connection resource data. If the source is a database name, then this name is used by all of the office application components to identify a database. All database fields contain a database name or connection resource, and most database fields also contain the name of a database table, which must be stored in the database. An additional attribute determines whether the database table refers to an SQL table, an OpenDocument query, or the result of a SQL command.   4555 A database field's source can either be the name of a database, or an IRI containing database connection resource data. If the source is a database name, then this name is used by all of the office application components to identify a database. All database fields contain a database name or connection resource, and most database fields also contain the name of a database table, which must be stored in the database. An additional attribute determines whether the database table refers to an SQL table, an OpenDocument query, or the result of a SQL command.
4467 <define name="common-field-database-table">   4556 <define name="common-field-database-table">
4468         <ref name="common-field-database-table-attlist"/>   4557         <ref name="common-field-database-table-attlist"/>
4469         <ref name="common-field-database-name"/>   4558         <ref name="common-field-database-name"/>
4470 </define>   4559 </define>
4471 Database Name   4560 Database Name
4472 The text:database-name attribute specifies the source database by its name.   4561 The text:database-name attribute specifies the source database by its name.
4473 <define name="common-field-database-name" combine="choice">   4562 <define name="common-field-database-name" combine="choice">
4474         <optional>   4563         <optional>
4475                 <attribute name="text:database-name">   4564                 <attribute name="text:database-name">
4476                         <ref name="string"/>   4565                         <ref name="string"/>
4477                 </attribute>   4566                 </attribute>
4478         </optional>   4567         </optional>
4479 </define>   4568 </define>
4480 Connection Resource   4569 Connection Resource
4481 The <form:connection-resource> element specifies the source database by an [XLink]. Its xlink:href attribute either references a file containing a database, or it contains information on how to make a connection to a database, for instance a [JDBC] URL. See also section 11.1.20.   4570 The <form:connection-resource> element specifies the source database by an [XLink]. Its xlink:href attribute either references a file containing a database, or it contains information on how to make a connection to a database, for instance a [JDBC] URL. See also section 11.1.20.
4482 <define name="common-field-database-name" combine="choice">   4571 <define name="common-field-database-name" combine="choice">
4483         <ref name="form-connection-resource"/>   4572         <ref name="form-connection-resource"/>
4484 </define>   4573 </define>
4485 Database Table Name   4574 Database Table Name
4486 The text:table-name attribute specifies a table within the source database.   4575 The text:table-name attribute specifies a table within the source database.
4487 <define name="common-field-database-table-attlist" combine="interleave">   4576 <define name="common-field-database-table-attlist" combine="interleave">
4488         <attribute name="text:table-name">   4577         <attribute name="text:table-name">
4489                 <ref name="string"/>   4578                 <ref name="string"/>
4490         </attribute>   4579         </attribute>
4491 </define>   4580 </define>
4492 Database Type   4581 Database Type
4493 The text:table-type attribute determines whether the database table refers to an SQL table, an OpenDocument query, or the result of a SQL command.   4582 The text:table-type attribute determines whether the database table refers to an SQL table, an OpenDocument query, or the result of a SQL command.
4494 <define name="common-field-database-table-attlist" combine="interleave">   4583 <define name="common-field-database-table-attlist" combine="interleave">
4495         <optional>   4584         <optional>
4496                 <attribute name="text:table-type">   4585                 <attribute name="text:table-type">
4497                         <choice>   4586                         <choice>
4498                                 <value>table</value>   4587                                 <value>table</value>
4499                                 <value>query</value>   4588                                 <value>query</value>
4500                                 <value>command</value>   4589                                 <value>command</value>
4501                         </choice>   4590                         </choice>
4502                 </attribute>   4591                 </attribute>
4503         </optional>   4592         </optional>
4504 </define>   4593 </define>
4505 6.5.2Displaying Database Content   4594 6.5.2Displaying Database Content
4506 The <text:database-display> element displays data from a database. When a new data set is added to a document, all fields that display data from that database table update their content.   4595 The <text:database-display> element displays data from a database. When a new data set is added to a document, all fields that display data from that database table update their content.
4507 The attributes that may be associated with the <text:database-display> element are:   4596 The attributes that may be associated with the <text:database-display> element are:
4508 text:database-name, text:table-name and text:table-type   4597 text:database-name, text:table-name and text:table-type
4509 These attributes specify the database and database table that this field uses.   4598 These attributes specify the database and database table that this field uses.
4510 text:database-column-name   4599 text:database-column-name
4511 See section 6.5.2:Column Name for information about this attribute.   4600 See section 6.5.2:Column Name for information about this attribute.
4512 style:data-style-name   4601 style:data-style-name
4513 If the column specifies a numeric, Boolean, date, or time value, the data is formatted according to the appropriate data style. If no data style is specified, the data style assigned to this column in is used. See section 6.7.7 for more information about using this attribute.   4602 If the column specifies a numeric, Boolean, date, or time value, the data is formatted according to the appropriate data style. If no data style is specified, the data style assigned to this column in is used. See section 6.7.7 for more information about using this attribute.
4514 <define name="paragraph-content" combine="choice">   4603 <define name="paragraph-content" combine="choice">
4515         <element name="text:database-display">   4604         <element name="text:database-display">
4516                 <ref name="text-database-display-attlist"/>   4605                 <ref name="text-database-display-attlist"/>
4517                 <text/>   4606                 <text/>
4518         </element>   4607         </element>
4519 </define>   4608 </define>
4520 <define name="text-database-display-attlist" combine="interleave">   4609 <define name="text-database-display-attlist" combine="interleave">
4521         <ref name="common-field-database-table"/>   4610         <ref name="common-field-database-table"/>
4522 </define>   4611 </define>
4523 <define name="text-database-display-attlist" combine="interleave">   4612 <define name="text-database-display-attlist" combine="interleave">
4524         <ref name="common-field-data-style-name-attlist"/>   4613         <ref name="common-field-data-style-name-attlist"/>
4525 </define>   4614 </define>
4526 Column Name   4615 Column Name
4527 The text:column-name attribute specifies the column from which to display the data. The value of this attribute must be a column contained in the specified database.   4616 The text:column-name attribute specifies the column from which to display the data. The value of this attribute must be a column contained in the specified database.
4528 <define name="text-database-display-attlist" combine="interleave">   4617 <define name="text-database-display-attlist" combine="interleave">
4529         <attribute name="text:column-name">   4618         <attribute name="text:column-name">
4530                 <ref name="string"/>   4619                 <ref name="string"/>
4531         </attribute>   4620         </attribute>
4532 </define>   4621 </define>
4533 6.5.3Selecting the Next Database Row   4622 6.5.3Selecting the Next Database Row
4534 The <text:database-next> element changes the row in the current selection which is used for display in all following <text:database-display> fields. The next row from the current selection is chosen if it satisfies a given condition. If the next row is wanted regardless of any condition, the condition may be omitted or set to true.   4623 The <text:database-next> element changes the row in the current selection which is used for display in all following <text:database-display> fields. The next row from the current selection is chosen if it satisfies a given condition. If the next row is wanted regardless of any condition, the condition may be omitted or set to true.
4535 The attributes that may be associated with the <text:database-next> are:   4624 The attributes that may be associated with the <text:database-next> are:
4536 text:database-name, text:table-name and text:table-type   4625 text:database-name, text:table-name and text:table-type
4537 These attributes specify the database and the database table that this field uses.   4626 These attributes specify the database and the database table that this field uses.
4538 text:condition   4627 text:condition
4539 See section 6.5.3:Condition for information about this attribute.   4628 See section 6.5.3:Condition for information about this attribute.
4540 <define name="paragraph-content" combine="choice">   4629 <define name="paragraph-content" combine="choice">
4541         <element name="text:database-next">   4630         <element name="text:database-next">
4542                 <ref name="text-database-next-attlist"/>   4631                 <ref name="text-database-next-attlist"/>
4543         </element>   4632         </element>
4544 </define>   4633 </define>
4545 <define name="text-database-next-attlist" combine="interleave">   4634 <define name="text-database-next-attlist" combine="interleave">
4546         <ref name="common-field-database-table"/>   4635         <ref name="common-field-database-table"/>
4547 </define>   4636 </define>
4548 Condition   4637 Condition
4549 The text:condition attribute specifies the condition expression. The expression is evaluated and if the result interpreted as a Boolean value is true, the next row is used as the new current row. Database field values can be used in the expression by enclosing in square brackets the database name, the table name, and the column name, separated by dots.   4638 The text:condition attribute specifies the condition expression. The expression is evaluated and if the result interpreted as a Boolean value is true, the next row is used as the new current row. Database field values can be used in the expression by enclosing in square brackets the database name, the table name, and the column name, separated by dots.
4550 If the text:condition attribute is not present, it is assumes that the formula true, meaning that the next row is selected unconditionally.   4639 If the text:condition attribute is not present, it is assumes that the formula true, meaning that the next row is selected unconditionally.
4551 <define name="text-database-next-attlist" combine="interleave">   4640 <define name="text-database-next-attlist" combine="interleave">
4552         <optional>   4641         <optional>
4553                 <attribute name="text:condition">   4642                 <attribute name="text:condition">
4554                         <ref name="formula"/>   4643                         <ref name="formula"/>
4555                 </attribute>   4644                 </attribute>
4556         </optional>   4645         </optional>
4557 </define>   4646 </define>
4558 Example:   4647 Example:
4559 text:formula='ooo-w:[address book file.address.FIRSTNAME] == "Julie"'   4648 text:formula='ooo-w:[address book file.address.FIRSTNAME] == "Julie"'
4560 This example specifies a condition that is true if the current row from an address book database table is the address for a person named Julie. If the condition shown in this example is used in a <text:database-next> element, the following happens:   4649 This example specifies a condition that is true if the current row from an address book database table is the address for a person named Julie. If the condition shown in this example is used in a <text:database-next> element, the following happens:
4561 The <text:database-display> elements display the data from the first row of the current selection.   4650 The <text:database-display> elements display the data from the first row of the current selection.
4562 If the FIRSTNAME column of the current row reads Julie, the current row is changed. Otherwise, nothing happens.   4651 If the FIRSTNAME column of the current row reads Julie, the current row is changed. Otherwise, nothing happens.
4563 If the first row is Julie, the following <text:database-display> elements display data from the second row. Otherwise, they display data from the first row.   4652 If the first row is Julie, the following <text:database-display> elements display data from the second row. Otherwise, they display data from the first row.
4564 See section 6.7.6 for more information on the formula syntax of a text:condition attribute, which is the same as that of the text:formula attribute.   4653 See section 6.7.6 for more information on the formula syntax of a text:condition attribute, which is the same as that of the text:formula attribute.
4565 6.5.4Selecting a Row Number   4654 6.5.4Selecting a Row Number
4566 The <text:database-row-select> element selects a specific row from the current selection. As with the <text:database-row-next> element, a condition can be specified so that the given row is only selected if the condition is true.   4655 The <text:database-row-select> element selects a specific row from the current selection. As with the <text:database-row-next> element, a condition can be specified so that the given row is only selected if the condition is true.
4567 The attributes that may be associated with the <text:database-row-select> are:   4656 The attributes that may be associated with the <text:database-row-select> are:
4568 text:database-name, text:table-name and text:table-type   4657 text:database-name, text:table-name and text:table-type
4569 These attributes determine the database and the database table that this field uses.   4658 These attributes determine the database and the database table that this field uses.
4570 text:condition   4659 text:condition
4571 This attribute specifies the condition expression. See section 6.5.3 for a full explanation of how to use this attribute.   4660 This attribute specifies the condition expression. See section 6.5.3 for a full explanation of how to use this attribute.
4572 text:row-number   4661 text:row-number
4573 See the following section 6.5.4:Selecting the Row Number about this attribute.   4662 See the following section 6.5.4:Selecting the Row Number about this attribute.
4574 <define name="paragraph-content" combine="choice">   4663 <define name="paragraph-content" combine="choice">
4575         <element name="text:database-row-select">   4664         <element name="text:database-row-select">
4576                 <ref name="text-database-row-select-attlist"/>   4665                 <ref name="text-database-row-select-attlist"/>
4577         </element>   4666         </element>
4578 </define>   4667 </define>
4579 <define name="text-database-row-select-attlist" combine="interleave">   4668 <define name="text-database-row-select-attlist" combine="interleave">
4580         <ref name="common-field-database-table"/>   4669         <ref name="common-field-database-table"/>
4581 </define>   4670 </define>
4582 <define name="text-database-row-select-attlist" combine="interleave">   4671 <define name="text-database-row-select-attlist" combine="interleave">
4583         <optional>   4672         <optional>
4584                 <attribute name="text:condition">   4673                 <attribute name="text:condition">
4585                         <ref name="formula"/>   4674                         <ref name="formula"/>
4586                 </attribute>   4675                 </attribute>
4587         </optional>   4676         </optional>
4588 </define>   4677 </define>
4589 Selecting the Row Number   4678 Selecting the Row Number
4590 This attribute specifies the row number to select when a condition is true.   4679 This attribute specifies the row number to select when a condition is true.
4591 <define name="text-database-row-select-attlist" combine="interleave">   4680 <define name="text-database-row-select-attlist" combine="interleave">
4592         <optional>   4681         <optional>
4593                 <attribute name="text:row-number">   4682                 <attribute name="text:row-number">
4594                         <ref name="nonNegativeInteger"/>   4683                         <ref name="nonNegativeInteger"/>
4595                 </attribute>   4684                 </attribute>
4596         </optional>   4685         </optional>
4597 </define>   4686 </define>
4598 6.5.5Displaying the Row Number   4687 6.5.5Displaying the Row Number
4599 The <text:database-row-number> element displays the current row number for a given table. Note that the element displays the actual row number from the database and not the row number of the current selection that is used as an attribute value in the <text:database-row-select> element.   4688 The <text:database-row-number> element displays the current row number for a given table. Note that the element displays the actual row number from the database and not the row number of the current selection that is used as an attribute value in the <text:database-row-select> element.
4600 The attributes that may be associated with the <text:database-row-number> are:   4689 The attributes that may be associated with the <text:database-row-number> are:
4601 text:database-name, text:table-name and text:table-type   4690 text:database-name, text:table-name and text:table-type
4602 These attributes determine the database and the database table that this field uses.   4691 These attributes determine the database and the database table that this field uses.
4603 style:num-format and style:num-letter-sync   4692 style:num-format and style:num-letter-sync
4604 These attributes determine how the number should be formatted. See section 6.7.8 for more information on how to use these attributes.   4693 These attributes determine how the number should be formatted. See section 6.7.8 for more information on how to use these attributes.
4605 text:value   4694 text:value
4606 This attribute specifies the current row number. The number changes when new data is added to the current document.   4695 This attribute specifies the current row number. The number changes when new data is added to the current document.
4607 <define name="paragraph-content" combine="choice">   4696 <define name="paragraph-content" combine="choice">
4608         <element name="text:database-row-number">   4697         <element name="text:database-row-number">
4609                 <interleave>   4698                 <interleave>
4610                         <ref name="common-field-database-table"/>   4699                         <ref name="common-field-database-table"/>
4611                         <ref name="common-field-num-format-attlist"/>   4700                         <ref name="common-field-num-format-attlist"/>
4612                         <optional>   4701                         <optional>
4613                                 <attribute name="text:value">   4702                                 <attribute name="text:value">
4614                                         <ref name="nonNegativeInteger"/>   4703                                         <ref name="nonNegativeInteger"/>
4615                                 </attribute>   4704                                 </attribute>
4616                         </optional>   4705                         </optional>
4617                 </interleave>   4706                 </interleave>
4618                 <text/>   4707                 <text/>
4619         </element>   4708         </element>
4620 </define>   4709 </define>
4621 6.5.6Display Current Database and Table   4710 6.5.6Display Current Database and Table
4622 Office applications may keeps track of the last database and table that was used in the document. In other words, the table that is used by the last field that was inserted into the document. The <text:database-name> element displays the database and table name of the most recently used table.   4711 Office applications may keeps track of the last database and table that was used in the document. In other words, the table that is used by the last field that was inserted into the document. The <text:database-name> element displays the database and table name of the most recently used table.
4623 The attributes that may be associated with the <text:database-name> element are:   4712 The attributes that may be associated with the <text:database-name> element are:
4624 text:database-name, text:table-name and text:table-type   4713 text:database-name, text:table-name and text:table-type
4625 These attributes determine the database and the database table that this field uses.   4714 These attributes determine the database and the database table that this field uses.
4626 <define name="paragraph-content" combine="choice">   4715 <define name="paragraph-content" combine="choice">
4627         <element name="text:database-name">   4716         <element name="text:database-name">
4628                 <ref name="common-field-database-table"/>   4717                 <ref name="common-field-database-table"/>
4629                 <text/>   4718                 <text/>
4630         </element>   4719         </element>
4631 </define>   4720 </define>
4632 6.6More Fields   4721 6.6More Fields
4633 6.6.1Page Variable Fields   4722 6.6.1Page Variable Fields
4634 Page variables allow an alternative page numbering scheme to be defined. There is only one page variable, and it is set by any set page variable field in the document. The value of the page variable is increased on each page, in the same way as regular page numbers.   4723 Page variables allow an alternative page numbering scheme to be defined. There is only one page variable, and it is set by any set page variable field in the document. The value of the page variable is increased on each page, in the same way as regular page numbers.
4635 Setting Page Variable Fields   4724 Setting Page Variable Fields
4636 To set a page variable field, use the <text:variable-page-set> element.   4725 To set a page variable field, use the <text:variable-page-set> element.
4637 <define name="paragraph-content" combine="choice">   4726 <define name="paragraph-content" combine="choice">
4638         <element name="text:page-variable-set">   4727         <element name="text:page-variable-set">
4639                 <ref name="text-set-page-variable-attlist"/>   4728                 <ref name="text-set-page-variable-attlist"/>
4640                 <text/>   4729                 <text/>
4641         </element>   4730         </element>
4642 </define>   4731 </define>
4643 Turning Page Variables On or Off   4732 Turning Page Variables On or Off
4644 At the beginning of a document, the page variable is inactive. The text:active attribute can be used to disable a page variable after it was used in the document.   4733 At the beginning of a document, the page variable is inactive. The text:active attribute can be used to disable a page variable after it was used in the document.
4645 <define name="text-set-page-variable-attlist" combine="interleave">   4734 <define name="text-set-page-variable-attlist" combine="interleave">
4646         <optional>   4735         <optional>
4647                 <attribute name="text:active">   4736                 <attribute name="text:active">
4648                         <ref name="boolean"/>   4737                         <ref name="boolean"/>
4649                 </attribute>   4738                 </attribute>
4650         </optional>   4739         </optional>
4651 </define>   4740 </define>
4652 Page Variable Adjustment   4741 Page Variable Adjustment
4653 The text:page-adjust attribute determines the page adjustment. The value of the active page variable is the current page number plus the closest page adjustment value that was previously set.   4742 The text:page-adjust attribute determines the page adjustment. The value of the active page variable is the current page number plus the closest page adjustment value that was previously set.
4654 <define name="text-set-page-variable-attlist" combine="interleave">   4743 <define name="text-set-page-variable-attlist" combine="interleave">
4655         <optional>   4744         <optional>
4656                 <attribute name="text:page-adjust">   4745                 <attribute name="text:page-adjust">
4657                         <ref name="integer"/>   4746                         <ref name="integer"/>
4658                 </attribute>   4747                 </attribute>
4659         </optional>   4748         </optional>
4660 </define>   4749 </define>
4661 Displaying Page Variable Fields   4750 Displaying Page Variable Fields
4662 The <text:variable-page-get> element displays the value of the page variable. The field can be formatted in the same way as regular page number fields.   4751 The <text:variable-page-get> element displays the value of the page variable. The field can be formatted in the same way as regular page number fields.
4663 <define name="paragraph-content" combine="choice">   4752 <define name="paragraph-content" combine="choice">
4664         <element name="text:page-variable-get">   4753         <element name="text:page-variable-get">
4665                 <ref name="text-get-page-variable-attlist"/>   4754                 <ref name="text-get-page-variable-attlist"/>
4666                 <text/>   4755                 <text/>
4667         </element>   4756         </element>
4668 </define>   4757 </define>
4669 The attributes that may be associated with the <text:get-page-variable> element are:   4758 The attributes that may be associated with the <text:get-page-variable> element are:
4670 style:num-format and style:num-letter-sync   4759 style:num-format and style:num-letter-sync
4671 These attributes determine how the number should be formatted. See section 6.7.8 for more information on how to use these attributes.   4760 These attributes determine how the number should be formatted. See section 6.7.8 for more information on how to use these attributes.
4672 <define name="text-get-page-variable-attlist" combine="interleave">   4761 <define name="text-get-page-variable-attlist" combine="interleave">
4673         <ref name="common-field-num-format-attlist"/>   4762         <ref name="common-field-num-format-attlist"/>
4674 </define>   4763 </define>
4675 6.6.2Placeholders   4764 6.6.2Placeholders
4676 The OpenDocument format uses placeholder fields to indicate locations in a document where the user must fill in some information. For example in a letter template, a section of the document can be reserved for the address of the recipient. A placeholder field displays text informing the user about the purpose of the placeholder and sometimes includes a description. Placeholder fields can represent different text elements, such as text or tables.   4765 The OpenDocument format uses placeholder fields to indicate locations in a document where the user must fill in some information. For example in a letter template, a section of the document can be reserved for the address of the recipient. A placeholder field displays text informing the user about the purpose of the placeholder and sometimes includes a description. Placeholder fields can represent different text elements, such as text or tables.
4677 This element contains some brief text which is displayed with the placeholder.   4766 This element contains some brief text which is displayed with the placeholder.
4678 <define name="paragraph-content" combine="choice">   4767 <define name="paragraph-content" combine="choice">
4679         <element name="text:placeholder">   4768         <element name="text:placeholder">
4680                 <ref name="text-placeholder-attlist"/>   4769                 <ref name="text-placeholder-attlist"/>
4681                 <text/>   4770                 <text/>
4682         </element>   4771         </element>
4683 </define>   4772 </define>
4684 The attributes that may be associated with the <text:placeholder> element are:   4773 The attributes that may be associated with the <text:placeholder> element are:
4685 Placeholder type   4774 Placeholder type
4686 Placeholder description   4775 Placeholder description
4687 Placeholder Type   4776 Placeholder Type
4688 There are five different types of placeholder, representing the five possible types of content: text, tables, text boxes, images, or objects. The text:placeholder-type attribute represents the content type. This attribute is mandatory and it indicates which type of text content the placeholder represents. The value of the attribute can be text, text-box, image, table, or object.   4777 There are five different types of placeholder, representing the five possible types of content: text, tables, text boxes, images, or objects. The text:placeholder-type attribute represents the content type. This attribute is mandatory and it indicates which type of text content the placeholder represents. The value of the attribute can be text, text-box, image, table, or object.
4689 <define name="text-placeholder-attlist" combine="interleave">   4778 <define name="text-placeholder-attlist" combine="interleave">
4690         <attribute name="text:placeholder-type">   4779         <attribute name="text:placeholder-type">
4691                 <choice>   4780                 <choice>
4692                         <value>text</value>   4781                         <value>text</value>
4693                         <value>table</value>   4782                         <value>table</value>
4694                         <value>text-box</value>   4783                         <value>text-box</value>
4695                         <value>image</value>   4784                         <value>image</value>
4696                         <value>object</value>   4785                         <value>object</value>
4697                 </choice>   4786                 </choice>
4698         </attribute>   4787         </attribute>
4699 </define>   4788 </define>
4700 Placeholder Description   4789 Placeholder Description
4701 In addition to the brief text stored in the element content, may be associated a text:description attribute with the placeholder element. This attribute is optional. The purpose of the attribute is to contain a more elaborate description of the purpose of the placeholder than the description stored in the element content. See section 6.7.4 for information on using the text:description attribute.   4790 In addition to the brief text stored in the element content, may be associated a text:description attribute with the placeholder element. This attribute is optional. The purpose of the attribute is to contain a more elaborate description of the purpose of the placeholder than the description stored in the element content. See section 6.7.4 for information on using the text:description attribute.
4702 <define name="text-placeholder-attlist" combine="interleave">   4791 <define name="text-placeholder-attlist" combine="interleave">
4703         <ref name="common-field-description-attlist"/>   4792         <ref name="common-field-description-attlist"/>
4704 </define>   4793 </define>
4705 6.6.3Conditional Text Fields   4794 6.6.3Conditional Text Fields
4706 Text fields can be used to display one text or another, depending on a condition. Conditional text fields are given a condition and two text strings. If the condition is true, one of the text strings is displayed. If the condition is false, the other text string is displayed.   4795 Text fields can be used to display one text or another, depending on a condition. Conditional text fields are given a condition and two text strings. If the condition is true, one of the text strings is displayed. If the condition is false, the other text string is displayed.
4707 <define name="paragraph-content" combine="choice">   4796 <define name="paragraph-content" combine="choice">
4708         <element name="text:conditional-text">   4797         <element name="text:conditional-text">
4709                 <ref name="text-conditional-text-attlist"/>   4798                 <ref name="text-conditional-text-attlist"/>
4710                 <text/>   4799                 <text/>
4711         </element>   4800         </element>
4712 </define>   4801 </define>
4713 The attributes that may be associated with the <text:conditional-text> element are:   4802 The attributes that may be associated with the <text:conditional-text> element are:
4714 Condition   4803 Condition
4715 Text to display if the condition is true   4804 Text to display if the condition is true
4716 Text to display if the condition is false   4805 Text to display if the condition is false
4717 Current condition   4806 Current condition
4718 The text:condition attribute contains a Boolean expression. Depending on the result, the value of the text:display-if-true or text:display-if-false attribute is displayed.   4807 The text:condition attribute contains a Boolean expression. Depending on the result, the value of the text:display-if-true or text:display-if-false attribute is displayed.
4719 <define name="text-conditional-text-attlist" combine="interleave">   4808 <define name="text-conditional-text-attlist" combine="interleave">
4720         <attribute name="text:condition">   4809         <attribute name="text:condition">
4721                 <ref name="formula"/>   4810                 <ref name="formula"/>
4722         </attribute>   4811         </attribute>
4723 </define>   4812 </define>
4724 Text to Display if the Condition is True   4813 Text to Display if the Condition is True
4725 The text:string-value-if-true attribute contains the text string to display if the condition is true.   4814 The text:string-value-if-true attribute contains the text string to display if the condition is true.
4726 <define name="text-conditional-text-attlist" combine="interleave">   4815 <define name="text-conditional-text-attlist" combine="interleave">
4727         <attribute name="text:string-value-if-true">   4816         <attribute name="text:string-value-if-true">
4728                 <ref name="string"/>   4817                 <ref name="string"/>
4729         </attribute>   4818         </attribute>
4730 </define>   4819 </define>
4731 Text to Display if the Condition is False   4820 Text to Display if the Condition is False
4732 The text:string-value-if-false attribute contains the text string to display if the condition is false.   4821 The text:string-value-if-false attribute contains the text string to display if the condition is false.
4733 <define name="text-conditional-text-attlist" combine="interleave">   4822 <define name="text-conditional-text-attlist" combine="interleave">
4734         <attribute name="text:string-value-if-false">   4823         <attribute name="text:string-value-if-false">
4735                 <ref name="string"/>   4824                 <ref name="string"/>
4736         </attribute>   4825         </attribute>
4737 </define>   4826 </define>
4738 Current Value and Condition   4827 Current Value and Condition
4739 The text:current-value attribute contains the evaluation result of the condition given by the expression in the text:condition attribute. Explicitly giving the result allows applications to delay evaluating the result until necessary. This attribute is valuable for the following reasons:   4828 The text:current-value attribute contains the evaluation result of the condition given by the expression in the text:condition attribute. Explicitly giving the result allows applications to delay evaluating the result until necessary. This attribute is valuable for the following reasons:
4740 If the expression is costly to evaluate, for example, the expression contains references to several databases.   4829 If the expression is costly to evaluate, for example, the expression contains references to several databases.
4741 To allow transformations to correctly display the state of the document without having to parse and evaluate the condition.   4830 To allow transformations to correctly display the state of the document without having to parse and evaluate the condition.
4742 <define name="text-conditional-text-attlist" combine="interleave">   4831 <define name="text-conditional-text-attlist" combine="interleave">
4743         <optional>   4832         <optional>
4744                 <attribute name="text:current-value">   4833                 <attribute name="text:current-value">
4745                         <ref name="boolean"/>   4834                         <ref name="boolean"/>
4746                 </attribute>   4835                 </attribute>
4747         </optional>   4836         </optional>
4748 </define>   4837 </define>
4749 Note: The value of this attribute is overwritten with a new value as soon as the application evaluates the expression. This attribute has no function other than to ease transformation or initially display the document.   4838 Note: The value of this attribute is overwritten with a new value as soon as the application evaluates the expression. This attribute has no function other than to ease transformation or initially display the document.
4750 6.6.4Hidden Text Field   4839 6.6.4Hidden Text Field
4751 The hidden text field is closely related to the conditional text field. It displays fixed text, except when the condition is true when it does not display anything.   4840 The hidden text field is closely related to the conditional text field. It displays fixed text, except when the condition is true when it does not display anything.
4752 <define name="paragraph-content" combine="choice">   4841 <define name="paragraph-content" combine="choice">
4753         <element name="text:hidden-text">   4842         <element name="text:hidden-text">
4754                 <ref name="text-hidden-text-attlist"/>   4843                 <ref name="text-hidden-text-attlist"/>
4755                 <text/>   4844                 <text/>
4756         </element>   4845         </element>
4757 </define>   4846 </define>
4758 The attributes that may be associated with the <text:hidden-text> element are:   4847 The attributes that may be associated with the <text:hidden-text> element are:
4759 Condition   4848 Condition
4760 Text   4849 Text
4761 Is hidden   4850 Is hidden
4762 Condition   4851 Condition
4763 The text:condition attribute contains a Boolean expression. If the expression evaluates to true, the text is hidden.   4852 The text:condition attribute contains a Boolean expression. If the expression evaluates to true, the text is hidden.
4764 <define name="text-hidden-text-attlist" combine="interleave">   4853 <define name="text-hidden-text-attlist" combine="interleave">
4765         <attribute name="text:condition">   4854         <attribute name="text:condition">
4766                 <ref name="formula"/>   4855                 <ref name="formula"/>
4767         </attribute>   4856         </attribute>
4768 </define>   4857 </define>
4769 Text   4858 Text
4770 The text:string-value attribute specifies the text to display if the condition is false.   4859 The text:string-value attribute specifies the text to display if the condition is false.
4771 <define name="text-hidden-text-attlist" combine="interleave">   4860 <define name="text-hidden-text-attlist" combine="interleave">
4772         <attribute name="text:string-value">   4861         <attribute name="text:string-value">
4773                 <ref name="string"/>   4862                 <ref name="string"/>
4774         </attribute>   4863         </attribute>
4775 </define>   4864 </define>
4776 Is Hidden   4865 Is Hidden
4777 The text:is-hidden attribute specifies whether or not the field is currently visible. The purpose of this attribute is similar to that of the text:current-value attribute in the text:condition field. Recording the result allows transformations to correctly represent the document without having to parse the condition expression or evaluate the condition when loading the document.   4866 The text:is-hidden attribute specifies whether or not the field is currently visible. The purpose of this attribute is similar to that of the text:current-value attribute in the text:condition field. Recording the result allows transformations to correctly represent the document without having to parse the condition expression or evaluate the condition when loading the document.
4778 <define name="text-hidden-text-attlist" combine="interleave">   4867 <define name="text-hidden-text-attlist" combine="interleave">
4779         <optional>   4868         <optional>
4780                 <attribute name="text:is-hidden">   4869                 <attribute name="text:is-hidden">
4781                         <ref name="boolean"/>   4870                         <ref name="boolean"/>
4782                 </attribute>   4871                 </attribute>
4783         </optional>   4872         </optional>
4784 </define>   4873 </define>
4785 Note: The value of this attribute is overwritten with a new value as soon as the application evaluates the expression. This attribute has no function other than to ease transformation or initially display the document.   4874 Note: The value of this attribute is overwritten with a new value as soon as the application evaluates the expression. This attribute has no function other than to ease transformation or initially display the document.
4786 6.6.5Reference Fields   4875 6.6.5Reference Fields
4787 The OpenDocument format uses four types of reference field and each type is represented by its own element. The reference field types are based on the type of element they refer to; notes, bookmarks, references, and sequences. Every reference contains a reference format which determines what information about the referenced target is displayed. For example, references can display:   4876 The OpenDocument format uses four types of reference field and each type is represented by its own element. The reference field types are based on the type of element they refer to; notes, bookmarks, references, and sequences. Every reference contains a reference format which determines what information about the referenced target is displayed. For example, references can display:
4788 The page number of the referenced target   4877 The page number of the referenced target
4789 The chapter number of the referenced target   4878 The chapter number of the referenced target
4790 Wording indicating whether the referenced target is above or below the reference field   4879 Wording indicating whether the referenced target is above or below the reference field
4791 In addition, each reference field must identify its target which is usually done using a name attribute. Bookmarks and references are identified by the name of the respective bookmark or reference. Footnotes, endnotes, and sequences are are assigned names by the application used to create the OpenDocument file format automatically.   4880 In addition, each reference field must identify its target which is usually done using a name attribute. Bookmarks and references are identified by the name of the respective bookmark or reference. Footnotes, endnotes, and sequences are are assigned names by the application used to create the OpenDocument file format automatically.
4792 <define name="paragraph-content" combine="choice">   4881 <define name="paragraph-content" combine="choice">
4793         <element>   4882         <element>
4794                 <choice>   4883                 <choice>
4795                         <name>text:reference-ref</name>   4884                         <name>text:reference-ref</name>
4796                         <name>text:bookmark-ref</name>   4885                         <name>text:bookmark-ref</name>
4797                 </choice>   4886                 </choice>
4798                 <interleave>   4887                 <interleave>
4799                         <ref name="text-common-ref-content"/>   4888                         <ref name="text-common-ref-content"/>
4800                         <ref name="text-ref-content"/>   4889                         <ref name="text-ref-content"/>
4801                 </interleave>   4890                 </interleave>
4802         </element>   4891         </element>
4803 </define>   4892 </define>
4804 <define name="paragraph-content" combine="choice">   4893 <define name="paragraph-content" combine="choice">
4805         <element name="text:note-ref">   4894         <element name="text:note-ref">
4806                 <interleave>   4895                 <interleave>
4807                         <ref name="text-common-ref-content"/>   4896                         <ref name="text-common-ref-content"/>
4808                         <ref name="text-note-ref-content"/>   4897                         <ref name="text-note-ref-content"/>
4809                         <ref name="text-ref-content"/>   4898                         <ref name="text-ref-content"/>
4810                 </interleave>   4899                 </interleave>
4811         </element>   4900         </element>
4812 </define>   4901 </define>
4813 <define name="paragraph-content" combine="choice">   4902 <define name="paragraph-content" combine="choice">
4814         <element name="text:sequence-ref">   4903         <element name="text:sequence-ref">
4815                 <interleave>   4904                 <interleave>
4816                         <ref name="text-common-ref-content"/>   4905                         <ref name="text-common-ref-content"/>
4817                         <ref name="text-sequence-ref-content"/>   4906                         <ref name="text-sequence-ref-content"/>
4818                 </interleave>   4907                 </interleave>
4819         </element>   4908         </element>
4820 </define>   4909 </define>
4821 <define name="text-common-ref-content" combine="interleave">   4910 <define name="text-common-ref-content" combine="interleave">
4822         <text/>   4911         <text/>
4823 </define>   4912 </define>
4824 The attributes that may be associated with the reference field elements are:   4913 The attributes that may be associated with the reference field elements are:
4825 Reference name   4914 Reference name
4826 Reference format   4915 Reference format
4827 Reference Name   4916 Reference Name
4828 The text:ref-name attribute identifies the referenced element. Since bookmarks and references have a name, this name is used by the respective reference fields. Footnotes, endnotes, and sequences are are identified by a name that is usually generated automatically.   4917 The text:ref-name attribute identifies the referenced element. Since bookmarks and references have a name, this name is used by the respective reference fields. Footnotes, endnotes, and sequences are are identified by a name that is usually generated automatically.
4829 <define name="text-common-ref-content" combine="interleave">   4918 <define name="text-common-ref-content" combine="interleave">
4830         <optional>   4919         <optional>
4831                 <attribute name="text:ref-name">   4920                 <attribute name="text:ref-name">
4832                         <ref name="string"/>   4921                         <ref name="string"/>
4833                 </attribute>   4922                 </attribute>
4834         </optional>   4923         </optional>
4835 </define>   4924 </define>
4836 Note Class   4925 Note Class
4837 For <text:note-ref> elements, the text:note-class attribute determines whether the field references a foot- or an endnote.   4926 For <text:note-ref> elements, the text:note-class attribute determines whether the field references a foot- or an endnote.
4838 <define name="text-note-ref-content" combine="interleave">   4927 <define name="text-note-ref-content" combine="interleave">
4839         <ref name="text-note-class"/>   4928         <ref name="text-note-class"/>
4840 </define>   4929 </define>
4841 Reference Format   4930 Reference Format
4842 The text:reference-format attribute determines what information about the reference is displayed. If the reference format is not specified, the page format is used as the default.   4931 The text:reference-format attribute determines what information about the reference is displayed. If the reference format is not specified, the page format is used as the default.
4843 All types of reference fields support the following values for this attribute formats:   4932 All types of reference fields support the following values for this attribute formats:
4844 page, which displays the number of the page on which the referenced item appears.   4933 page, which displays the number of the page on which the referenced item appears.
4845 chapter, which displays the number of the chapter in which the referenced item appears.   4934 chapter, which displays the number of the chapter in which the referenced item appears.
4846 direction, which displays whether the referenced item is above or below the reference field.   4935 direction, which displays whether the referenced item is above or below the reference field.
4847 text, which displays the text of the referenced item.   4936 text, which displays the text of the referenced item.
4848 References to sequence fields support the following three additional values:   4937 References to sequence fields support the following three additional values:
4849 category-and-value, which displays the name and value of the sequence.   4938 category-and-value, which displays the name and value of the sequence.
4850 caption, which displays the caption in which the sequence is used.   4939 caption, which displays the caption in which the sequence is used.
4851 value, which displays the value of the sequence.   4940 value, which displays the value of the sequence.
4852 <define name="text-ref-content" combine="interleave">   4941 <define name="text-ref-content" combine="interleave">
4853         <optional>   4942         <optional>
4854                 <attribute name="text:reference-format">   4943                 <attribute name="text:reference-format">
4855                         <choice>   4944                         <choice>
4856                                 <value>page</value>   4945                                 <value>page</value>
4857                                 <value>chapter</value>   4946                                 <value>chapter</value>
4858                                 <value>direction</value>   4947                                 <value>direction</value>
4859                                 <value>text</value>   4948                                 <value>text</value>
4860                         </choice>   4949                         </choice>
4861                 </attribute>   4950                 </attribute>
4862         </optional>   4951         </optional>
4863 </define>   4952 </define>
4864 <define name="text-sequence-ref-content" combine="interleave">   4953 <define name="text-sequence-ref-content" combine="interleave">
4865         <optional>   4954         <optional>
4866                 <attribute name="text:reference-format">   4955                 <attribute name="text:reference-format">
4867                         <choice>   4956                         <choice>
4868                                 <value>page</value>   4957                                 <value>page</value>
4869                                 <value>chapter</value>   4958                                 <value>chapter</value>
4870                                 <value>direction</value>   4959                                 <value>direction</value>
4871                                 <value>text</value>   4960                                 <value>text</value>
4872                                 <value>category-and-value</value>   4961                                 <value>category-and-value</value>
4873                                 <value>caption</value>   4962                                 <value>caption</value>
4874                                 <value>value</value>   4963                                 <value>value</value>
4875                         </choice>   4964                         </choice>
4876                 </attribute>   4965                 </attribute>
4877         </optional>   4966         </optional>
4878 </define>   4967 </define>
4879 Example: Different reference formats and displays   4968 Example: Different reference formats and displays
4880 The following table shows all possible reference formats and the resulting reference display that can be used to refer to the table itself. The left column lists the value of the text:reference-format attribute and the right column   4969 The following table shows all possible reference formats and the resulting reference display that can be used to refer to the table itself. The left column lists the value of the text:reference-format attribute and the right column
4881 Reference format   4970 Reference format
4882 Reference display   4971 Reference display
4883 page   4972 page
4884 699 <> 4973 394
4885 chapter = 4974 chapter
4886 3.7.27   4975 3.7.27
4887 text   4976 text
4888 Table 2: Examples of reference formats   4977 Table 2: Examples of reference formats
4889 direction   4978 direction
4890 above   4979 above
4891 category-and-value   4980 category-and-value
4892 Table 1   4981 Table 1
4893 caption   4982 caption
4894 Examples of reference formats   4983 Examples of reference formats
4895 value   4984 value
4896 1   4985 1
4897 6.6.6Script Fields   4986 6.6.6Script Fields
4898 A script field stores scripts or sections of scripts. The field can be used to store and edit scripts that are attached to the document. The primary purpose of this field is to provide an equivalent to the <script> element in [HTML4], so that the content of a <script> element in HTML can be imported, edited, and exported using an office application software.   4987 A script field stores scripts or sections of scripts. The field can be used to store and edit scripts that are attached to the document. The primary purpose of this field is to provide an equivalent to the <script> element in [HTML4], so that the content of a <script> element in HTML can be imported, edited, and exported using an office application software.
4899 The source code for the script can be stored in one of the following ways:   4988 The source code for the script can be stored in one of the following ways:
4900 The <text:script> element contains the source code.   4989 The <text:script> element contains the source code.
4901 The source code is stored in an external file. Use the xlink:href attribute to specify the location of the source file.   4990 The source code is stored in an external file. Use the xlink:href attribute to specify the location of the source file.
4902 The element should have either a xlink:href attribute or content, but not both.   4991 The element should have either a xlink:href attribute or content, but not both.
4903 <define name="paragraph-content" combine="choice">   4992 <define name="paragraph-content" combine="choice">
4904         <element name="text:script">   4993         <element name="text:script">
4905                 <interleave>   4994                 <interleave>
4906                         <choice>   4995                         <choice>
4907                                 <group>   4996                                 <group>
4908                                         <attribute name="xlink:href">   4997                                         <attribute name="xlink:href">
4909                                                 <ref name="anyURI"/>   4998                                                 <ref name="anyURI"/>
4910                                         </attribute>   4999                                         </attribute>
4911                                         <optional>   5000                                         <optional>
4912                                                 <attribute name="xlink:type" a:defaultValue="simple">   5001                                                 <attribute name="xlink:type" a:defaultValue="simple">
4913                                                         <value>simple</value>   5002                                                         <value>simple</value>
4914                                                 </attribute>   5003                                                 </attribute>
4915                                         </optional>   5004                                         </optional>
4916                                 </group>          5005                                 </group>       
4917                                 <text/>   5006                                 <text/>
4918                         </choice>   5007                         </choice>
4919                         <optional>   5008                         <optional>
4920                                 <attribute name="script:language">   5009                                 <attribute name="script:language">
4921                                         <ref name="string"/>   5010                                         <ref name="string"/>
4922                                 </attribute>   5011                                 </attribute>
4923                         </optional>   5012                         </optional>
4924                 </interleave>   5013                 </interleave>
4925         </element>   5014         </element>
4926 </define>   5015 </define>
4927 Script URL   5016 Script URL
4928 The xlink:href attribute specifies the location of the file that contains the script source code. The script field should have either an URL attribute or content, but not both.   5017 The xlink:href attribute specifies the location of the file that contains the script source code. The script field should have either an URL attribute or content, but not both.
4929 Script Language   5018 Script Language
4930 The script:language attribute specifies the language in which the script source code is written, for example, JavaScript.   5019 The script:language attribute specifies the language in which the script source code is written, for example, JavaScript.
4931 6.6.7Macro Fields   5020 6.6.7Macro Fields
4932 The macro field contains the name of a macro that is executed when the field is activated. The field also contains a description that is displayed as the field content.   5021 The macro field contains the name of a macro that is executed when the field is activated. The field also contains a description that is displayed as the field content.
4933 The only attribute that may be associated with the <text:execute-macro> element is:   5022 The only attribute that may be associated with the <text:execute-macro> element is:
4934 Macro name   5023 Macro name
4935 <define name="paragraph-content" combine="choice">   5024 <define name="paragraph-content" combine="choice">
4936         <element name="text:execute-macro">   5025         <element name="text:execute-macro">
4937                 <optional>   5026                 <optional>
4938                         <attribute name="text:name">   5027                         <attribute name="text:name">
4939                                 <ref name="string"/>   5028                                 <ref name="string"/>
4940                         </attribute>   5029                         </attribute>
4941                 </optional>   5030                 </optional>
4942                 <optional>   5031                 <optional>
4943                         <ref name="office-event-listeners"/>   5032                         <ref name="office-event-listeners"/>
4944                 </optional>   5033                 </optional>
4945                 <text/>   5034                 <text/>
4946         </element>   5035         </element>
4947 </define>   5036 </define>
4948 Macro Name   5037 Macro Name
4949 The text:name attribute specifies the macro to invoke when the field is activated.   5038 The text:name attribute specifies the macro to invoke when the field is activated.
4950 6.6.8Hidden Paragraph Fields   5039 6.6.8Hidden Paragraph Fields
4951 The hidden paragraph field has a similar function to the hidden text field. However, the hidden paragraph field does not have any content. It hides the paragraph in which it is contained. This allows a paragraph of formatted text to be hidden or displayed depending on whether a condition is true or false.   5040 The hidden paragraph field has a similar function to the hidden text field. However, the hidden paragraph field does not have any content. It hides the paragraph in which it is contained. This allows a paragraph of formatted text to be hidden or displayed depending on whether a condition is true or false.
4952 Hidden paragraph fields are often used together with form letters. For example, if a condition depends on a database field, a hidden paragraph field can be used to selectively include paragraphs in the form letter depending on the database content. Multiple paragraph fields can be contained one paragraph. The paragraph is displayed if the condition associated with at least one hidden paragraph field is false. Alternatively, the conditions associated with several hidden paragraph fields can be combined into a single condition for a single field using logical operations on the conditions.   5041 Hidden paragraph fields are often used together with form letters. For example, if a condition depends on a database field, a hidden paragraph field can be used to selectively include paragraphs in the form letter depending on the database content. Multiple paragraph fields can be contained one paragraph. The paragraph is displayed if the condition associated with at least one hidden paragraph field is false. Alternatively, the conditions associated with several hidden paragraph fields can be combined into a single condition for a single field using logical operations on the conditions.
4953 Note: Unlike most fields, this field does not display text, but it affects the entire paragraph in which it is contained.   5042 Note: Unlike most fields, this field does not display text, but it affects the entire paragraph in which it is contained.
4954 The attributes that may be associated with the <text:hidden-paragraph> element are:   5043 The attributes that may be associated with the <text:hidden-paragraph> element are:
4955 Condition   5044 Condition
4956 Is hidden   5045 Is hidden
4957 <define name="paragraph-content" combine="choice">   5046 <define name="paragraph-content" combine="choice">
4958         <element name="text:hidden-paragraph">   5047         <element name="text:hidden-paragraph">
4959                 <ref name="text-hidden-paragraph-attlist"/>   5048                 <ref name="text-hidden-paragraph-attlist"/>
4960                 <text/>   5049                 <text/>
4961         </element>   5050         </element>
4962 </define>   5051 </define>
4963 Condition   5052 Condition
4964 The text:condition attribute contains a Boolean expression. If the condition is true, the paragraph is hidden. If the condition is false, the paragraph is displayed.   5053 The text:condition attribute contains a Boolean expression. If the condition is true, the paragraph is hidden. If the condition is false, the paragraph is displayed.
4965 <define name="text-hidden-paragraph-attlist" combine="interleave">   5054 <define name="text-hidden-paragraph-attlist" combine="interleave">
4966         <attribute name="text:condition">   5055         <attribute name="text:condition">
4967                 <ref name="formula"/>   5056                 <ref name="formula"/>
4968         </attribute>   5057         </attribute>
4969 </define>   5058 </define>
4970 Is Hidden   5059 Is Hidden
4971 The text:is-hidden attribute records whether the paragraph is currently visible or not. It has the same purpose as the corresponding attribute of the hidden text field, namely to allow correct display of the paragraph without having to evaluate the condition first. The value of this attribute is overwritten with a new value as soon as the application evaluates the expression.   5060 The text:is-hidden attribute records whether the paragraph is currently visible or not. It has the same purpose as the corresponding attribute of the hidden text field, namely to allow correct display of the paragraph without having to evaluate the condition first. The value of this attribute is overwritten with a new value as soon as the application evaluates the expression.
4972 Note: This attribute has no function other than to ease transformation or initially display the document.   5061 Note: This attribute has no function other than to ease transformation or initially display the document.
4973 <define name="text-hidden-paragraph-attlist" combine="interleave">   5062 <define name="text-hidden-paragraph-attlist" combine="interleave">
4974         <optional>   5063         <optional>
4975                 <attribute name="text:is-hidden">   5064                 <attribute name="text:is-hidden">
4976                         <ref name="boolean"/>   5065                         <ref name="boolean"/>
4977                 </attribute>   5066                 </attribute>
4978         </optional>   5067         </optional>
4979 </define>   5068 </define>
4980 6.6.9DDE Connection Fields   5069 6.6.9DDE Connection Fields
4981 A DDE field allows information from a DDE connection to be displayed. The only parameter required for the DDE field is the name of the DDE connection that supplies the data to this field. This DDE connection element specifies the actual DDE field that appears in the text body.   5070 A DDE field allows information from a DDE connection to be displayed. The only parameter required for the DDE field is the name of the DDE connection that supplies the data to this field. This DDE connection element specifies the actual DDE field that appears in the text body.
4982 The field element contains the content of the most recent data that was received from the DDE connection. This may be used to render the document if the DDE connection cannot be accessed.   5071 The field element contains the content of the most recent data that was received from the DDE connection. This may be used to render the document if the DDE connection cannot be accessed.
    -+ 5072 See section 12.6 for the use of DDE connections.
4983 <define name="paragraph-content" combine="choice"> = 5073 <define name="paragraph-content" combine="choice">
4984         <element name="text:dde-connection">   5074         <element name="text:dde-connection">
4985                 <attribute name="text:connection-name">   5075                 <attribute name="text:connection-name">
4986                         <ref name="string"/>   5076                         <ref name="string"/>
4987                 </attribute>   5077                 </attribute>
4988                 <text/>   5078                 <text/>
4989         </element>   5079         </element>
4990 </define>   5080 </define>
4991 The only attribute that may be associated with the <text:dde-connection> element is:   5081 The only attribute that may be associated with the <text:dde-connection> element is:
4992 DDE connection name   5082 DDE connection name
4993 DDE Connection Name   5083 DDE Connection Name
4994 The text:name attribute specifies the name of the DDE connection to which the field refers.   5084 The text:name attribute specifies the name of the DDE connection to which the field refers.
4995 6.6.10Measure Fields   5085 6.6.10Measure Fields
4996 Within the text contained in measure drawing objects (see section 9.2.11), a <text:measure> field displays the current measure. The draw:kind attribute specifies which part of the measure is displayed. It my have one of the following values:   5086 Within the text contained in measure drawing objects (see section 9.2.11), a <text:measure> field displays the current measure. The draw:kind attribute specifies which part of the measure is displayed. It my have one of the following values:
4997 value: The measure's value is displayed, for instance “12”   5087 value: The measure's value is displayed, for instance “12”
4998 unit: The measure's unit is displayed, for instance “inch”   5088 unit: The measure's unit is displayed, for instance “inch”
4999 gap: A gap or blank is displayed if and only if the measure text's writing direction is perpendicular to the measure line. The purpose of this value is add some space between the measure line and the text if the text is displayed perpendicular to the measure line.   5089 gap: A gap or blank is displayed if and only if the measure text's writing direction is perpendicular to the measure line. The purpose of this value is add some space between the measure line and the text if the text is displayed perpendicular to the measure line.
5000 <define name="paragraph-content" combine="choice">   5090 <define name="paragraph-content" combine="choice">
5001         <element name="text:measure">   5091         <element name="text:measure">
5002                 <attribute name="text:kind">   5092                 <attribute name="text:kind">
5003                         <choice>   5093                         <choice>
5004                                 <value>value</value>   5094                                 <value>value</value>
5005                                 <value>unit</value>   5095                                 <value>unit</value>
5006                                 <value>gap</value>   5096                                 <value>gap</value>
5007                         </choice>   5097                         </choice>
5008                 </attribute>   5098                 </attribute>
5009                 <text/>   5099                 <text/>
5010         </element>   5100         </element>
5011 </define>   5101 </define>
5012 6.6.11Table Formula Field   5102 6.6.11Table Formula Field
5013 The table formula field is a legacy from previous versions of current office applications. It should not be used in new documents. It stores a formula to be used in tables, a function that is better performed by the table:formula attribute of the table cell.   5103 The table formula field is a legacy from previous versions of current office applications. It should not be used in new documents. It stores a formula to be used in tables, a function that is better performed by the table:formula attribute of the table cell.
5014 Note: This element should not be used in new documents.   5104 Note: This element should not be used in new documents.
5015 The table formula field can take the following attributes:   5105 The table formula field can take the following attributes:
5016 text:formula   5106 text:formula
5017 This attribute contains the actual expression used to compute the value of the table formula field. See section 6.7.6 for information on using this attribute.   5107 This attribute contains the actual expression used to compute the value of the table formula field. See section 6.7.6 for information on using this attribute.
5018 text:display   5108 text:display
5019 Use this attribute to specify one of the following:   5109 Use this attribute to specify one of the following:
5020 To display the value of the field.   5110 To display the value of the field.
5021 To display the formula used to compute the value.   5111 To display the formula used to compute the value.
5022 See section 6.7.5 for information on using this attribute.   5112 See section 6.7.5 for information on using this attribute.
5023 style:data-style-name   5113 style:data-style-name
5024 This attribute specifies the data style to use to format a numeric, Boolean, or date/time variable. If a data style is not specified, a standard data style is used. See section 6.7.7 for information on using this attribute.   5114 This attribute specifies the data style to use to format a numeric, Boolean, or date/time variable. If a data style is not specified, a standard data style is used. See section 6.7.7 for information on using this attribute.
5025 <define name="paragraph-content" combine="choice">   5115 <define name="paragraph-content" combine="choice">
5026         <element name="text:table-formula">   5116         <element name="text:table-formula">
5027                 <interleave>   5117                 <interleave>
5028                         <ref name="common-field-formula-attlist"/>   5118                         <ref name="common-field-formula-attlist"/>
5029                         <ref name="common-field-display-value-formula-attlist"/>   5119                         <ref name="common-field-display-value-formula-attlist"/>
5030                         <ref name="common-field-data-style-name-attlist"/>   5120                         <ref name="common-field-data-style-name-attlist"/>
5031                 </interleave>   5121                 </interleave>
5032                 <text/>   5122                 <text/>
5033         </element>   5123         </element>
5034 </define>   5124 </define>
5035 6.7Common Field Attributes   5125 6.7Common Field Attributes
5036 The attributes described in this section can be used with several field elements.   5126 The attributes described in this section can be used with several field elements.
5037 6.7.1Variable Value Types and Values   5127 6.7.1Variable Value Types and Values
5038 Variables and most variable fields have a current value. Every variable has a value type that must be specified when the field supports multiple value types. The value type is specified using the office:value-type attribute.   5128 Variables and most variable fields have a current value. Every variable has a value type that must be specified when the field supports multiple value types. The value type is specified using the office:value-type attribute.
5039 <define name="common-value-type-attlist">   5129 <define name="common-value-type-attlist">
5040         <attribute name="office:value-type">   5130         <attribute name="office:value-type">
5041                 <ref name="valueType"/>   5131                 <ref name="valueType"/>
5042         </attribute>   5132         </attribute>
5043 </define>   5133 </define>
5044 Depending on the value type, the value itself is written to different value attributes. The supported value types, their respective value attributes, and how the values are encoded are described in the following table:   5134 Depending on the value type, the value itself is written to different value attributes. The supported value types, their respective value attributes, and how the values are encoded are described in the following table:
5045 Value Type   5135 Value Type
5046 Value Attribute(s)   5136 Value Attribute(s)
5047 Encoded as...   5137 Encoded as...
5048 Example   5138 Example
5049 float   5139 float
5050 office:value   5140 office:value
5051 Numeric value   5141 Numeric value
5052 "12.345"   5142 "12.345"
5053 percentage   5143 percentage
5054 office:value   5144 office:value
5055 Numeric value   5145 Numeric value
5056 "0.50"   5146 "0.50"
5057 currency   5147 currency
5058 office:value and   5148 office:value and
5059 office:currency   5149 office:currency
5060 Numeric value and   5150 Numeric value and
5061 currency symbol   5151 currency symbol
5062 "100"   5152 "100"
5063 "USD"   5153 "USD"
5064 date   5154 date
5065 office:date-value   5155 office:date-value
5066 Date value as specified in §3.2.9 of [xmlschema-2], or date and time value as specified in §3.2.7 of [xmlschema-2]   5156 Date value as specified in §3.2.9 of [xmlschema-2], or date and time value as specified in §3.2.7 of [xmlschema-2]
5067 "2003-04-17"   5157 "2003-04-17"
5068 time   5158 time
5069 office:time-value   5159 office:time-value
5070 Duration, as specified in §3.2.6 of [xmlschema-2]   5160 Duration, as specified in §3.2.6 of [xmlschema-2]
5071 "PT03H30M00S"   5161 "PT03H30M00S"
5072 boolean   5162 boolean
5073 office:boolean-value   5163 office:boolean-value
5074 true or false   5164 true or false
5075 "true"   5165 "true"
5076 string   5166 string
5077 office:string-value   5167 office:string-value
5078 Strings   5168 Strings
5079 "abc def"   5169 "abc def"
5080 The OpenDocument concept of field values and value types and their encoding in XML is modeled on the corresponding XML for table cell attributes. See section 8.1.3 for information on table cells and their attributes.   5170 The OpenDocument concept of field values and value types and their encoding in XML is modeled on the corresponding XML for table cell attributes. See section 8.1.3 for information on table cells and their attributes.
5081 The definition of the entity %value-attlist; is as follows:   5171 The definition of the entity %value-attlist; is as follows:
5082 <define name="common-value-and-type-attlist">   5172 <define name="common-value-and-type-attlist">
5083         <choice>   5173         <choice>
5084                 <group>   5174                 <group>
5085                         <attribute name="office:value-type">   5175                         <attribute name="office:value-type">
5086                                 <value>float</value>   5176                                 <value>float</value>
5087                         </attribute>   5177                         </attribute>
5088                         <attribute name="office:value">   5178                         <attribute name="office:value">
5089                                 <ref name="double"/>   5179                                 <ref name="double"/>
5090                         </attribute>   5180                         </attribute>
5091                 </group>   5181                 </group>
5092                 <group>   5182                 <group>
5093                         <attribute name="office:value-type">   5183                         <attribute name="office:value-type">
5094                                 <value>percentage</value>   5184                                 <value>percentage</value>
5095                         </attribute>   5185                         </attribute>
5096                         <attribute name="office:value">   5186                         <attribute name="office:value">
5097                                 <ref name="double"/>   5187                                 <ref name="double"/>
5098                         </attribute>   5188                         </attribute>
5099                 </group>   5189                 </group>
5100                 <group>   5190                 <group>
5101                         <attribute name="office:value-type">   5191                         <attribute name="office:value-type">
5102                                 <value>currency</value>   5192                                 <value>currency</value>
5103                         </attribute>   5193                         </attribute>
5104                         <attribute name="office:value">   5194                         <attribute name="office:value">
5105                                 <ref name="double"/>   5195                                 <ref name="double"/>
5106                         </attribute>   5196                         </attribute>
5107                         <optional>   5197                         <optional>
5108                                 <attribute name="office:currency">   5198                                 <attribute name="office:currency">
5109                                         <ref name="string"/>   5199                                         <ref name="string"/>
5110                                 </attribute>   5200                                 </attribute>
5111                         </optional>   5201                         </optional>
5112                 </group>   5202                 </group>
5113                 <group>   5203                 <group>
5114                         <attribute name="office:value-type">   5204                         <attribute name="office:value-type">
5115                                 <value>date</value>   5205                                 <value>date</value>
5116                         </attribute>   5206                         </attribute>
5117                         <attribute name="office:date-value">   5207                         <attribute name="office:date-value">
5118                                 <ref name="dateOrDateTime"/>   5208                                 <ref name="dateOrDateTime"/>
5119                         </attribute>   5209                         </attribute>
5120                 </group>   5210                 </group>
5121                 <group>   5211                 <group>
5122                         <attribute name="office:value-type">   5212                         <attribute name="office:value-type">
5123                                 <value>time</value>   5213                                 <value>time</value>
5124                         </attribute>   5214                         </attribute>
5125                         <attribute name="office:time-value">   5215                         <attribute name="office:time-value">
5126                                 <ref name="duration"/>   5216                                 <ref name="duration"/>
5127                         </attribute>   5217                         </attribute>
5128                 </group>   5218                 </group>
5129                 <group>   5219                 <group>
5130                         <attribute name="office:value-type">   5220                         <attribute name="office:value-type">
5131                                 <value>boolean</value>   5221                                 <value>boolean</value>
5132                         </attribute>   5222                         </attribute>
5133                         <attribute name="office:boolean-value">   5223                         <attribute name="office:boolean-value">
5134                                 <ref name="boolean"/>   5224                                 <ref name="boolean"/>
5135                         </attribute>   5225                         </attribute>
5136                 </group>   5226                 </group>
5137                 <group>   5227                 <group>
5138                         <attribute name="office:value-type">   5228                         <attribute name="office:value-type">
5139                                 <value>string</value>   5229                                 <value>string</value>
5140                         </attribute>   5230                         </attribute>
5141                         <optional>   5231                         <optional>
5142                                 <attribute name="office:string-value">   5232                                 <attribute name="office:string-value">
5143                                         <ref name="string"/>   5233                                         <ref name="string"/>
5144                                 </attribute>   5234                                 </attribute>
5145                         </optional>   5235                         </optional>
5146                 </group>   5236                 </group>
5147         </choice>   5237         </choice>
5148 </define>   5238 </define>
5149 6.7.2Fixed   5239 6.7.2Fixed
5150 The text:fixed attribute specifies whether or not the value of a field element is fixed. If the value of a field is fixed, the value of the field element to which this attribute is attached is preserved in all future edits of the document. If the value of the field is not fixed, the value of the field may be replaced by a new value when the document is edited.   5240 The text:fixed attribute specifies whether or not the value of a field element is fixed. If the value of a field is fixed, the value of the field element to which this attribute is attached is preserved in all future edits of the document. If the value of the field is not fixed, the value of the field may be replaced by a new value when the document is edited.
5151 This attribute can be used with:   5241 This attribute can be used with:
5152 Date fields   5242 Date fields
5153 Time fields   5243 Time fields
5154 Page number fields   5244 Page number fields
5155 All sender fields   5245 All sender fields
5156 All author fields   5246 All author fields
5157 <define name="common-field-fixed-attlist">   5247 <define name="common-field-fixed-attlist">
5158         <optional>   5248         <optional>
5159                 <attribute name="text:fixed">   5249                 <attribute name="text:fixed">
5160                         <ref name="boolean"/>   5250                         <ref name="boolean"/>
5161                 </attribute>   5251                 </attribute>
5162         </optional>   5252         </optional>
5163 </define>   5253 </define>
5164 6.7.3Variable Name   5254 6.7.3Variable Name
5165 Use the text:name attribute to specify the name of a variable when it is being declared, set, or displayed a variable. This attribute can be used with any of the following elements:   5255 Use the text:name attribute to specify the name of a variable when it is being declared, set, or displayed a variable. This attribute can be used with any of the following elements:
5166 <text:variable-del>   5256 <text:variable-del>
5167 <text:variable-set>   5257 <text:variable-set>
5168 <text:variable-get>   5258 <text:variable-get>
5169 <text:variable-input>   5259 <text:variable-input>
5170 <text:user-field-del>   5260 <text:user-field-del>
5171 <text:user-field-get>   5261 <text:user-field-get>
5172 <text:user-field-input>   5262 <text:user-field-input>
5173 <text:sequence-del>   5263 <text:sequence-del>
5174 <text:sequence>   5264 <text:sequence>
5175 When this attribute is being used to specify the name of a variable to display, a variable of the appropriate type with the same name must already have been declared.   5265 When this attribute is being used to specify the name of a variable to display, a variable of the appropriate type with the same name must already have been declared.
5176 <define name="common-field-name-attlist">   5266 <define name="common-field-name-attlist">
5177         <attribute name="text:name">   5267         <attribute name="text:name">
5178                 <ref name="variableName"/>   5268                 <ref name="variableName"/>
5179         </attribute>   5269         </attribute>
5180 </define>   5270 </define>
5181 6.7.4Description   5271 6.7.4Description
5182 The text:description attribute contains a brief message that is displayed when users are prompted for input. This attribute can be used with any of the following elements:   5272 The text:description attribute contains a brief message that is displayed when users are prompted for input. This attribute can be used with any of the following elements:
5183 <text:placeholder>   5273 <text:placeholder>
5184 <text:variable-input>   5274 <text:variable-input>
5185 <text:user-field-input>   5275 <text:user-field-input>
5186 <text:text-input>   5276 <text:text-input>
5187 <define name="common-field-description-attlist">   5277 <define name="common-field-description-attlist">
5188         <optional>   5278         <optional>
5189                 <attribute name="text:description">   5279                 <attribute name="text:description">
5190                         <text/>   5280                         <text/>
5191                 </attribute>   5281                 </attribute>
5192         </optional>   5282         </optional>
5193 </define>   5283 </define>
5194 6.7.5Display   5284 6.7.5Display
5195 The text:display attribute supports up to three values as follows:   5285 The text:display attribute supports up to three values as follows:
5196 value   5286 value
5197 This value displays the value of the field. Some fields do not support this value. In these cases, the text:display attribute only takes the values value or none, and value or formula, respectively.   5287 This value displays the value of the field. Some fields do not support this value. In these cases, the text:display attribute only takes the values value or none, and value or formula, respectively.
5198 formula   5288 formula
5199 This value allows the display of the formula rather than the value of the field. Some fields do not support this value. In these cases, the text:display attribute only takes the values value or none, and value or formula, respectively.   5289 This value allows the display of the formula rather than the value of the field. Some fields do not support this value. In these cases, the text:display attribute only takes the values value or none, and value or formula, respectively.
5200 none   5290 none
5201 Several variable fields support this value, which hides the field content. This allows variables to be set in one part of the document and displayed in another part of the document.   5291 Several variable fields support this value, which hides the field content. This allows variables to be set in one part of the document and displayed in another part of the document.
5202 This attribute can be used with any of the following elements:   5292 This attribute can be used with any of the following elements:
5203 <text:variable-set>   5293 <text:variable-set>
5204 <text:variable-get>   5294 <text:variable-get>
5205 <text:variable-input>   5295 <text:variable-input>
5206 <text:user-field-get>   5296 <text:user-field-get>
5207 <text:expression>   5297 <text:expression>
5208 <define name="common-field-display-value-none-attlist">   5298 <define name="common-field-display-value-none-attlist">
5209         <optional>   5299         <optional>
5210                 <attribute name="text:display">   5300                 <attribute name="text:display">
5211                         <choice>   5301                         <choice>
5212                                 <value>value</value>   5302                                 <value>value</value>
5213                                 <value>none</value>   5303                                 <value>none</value>
5214                         </choice>   5304                         </choice>
5215                 </attribute>   5305                 </attribute>
5216         </optional>   5306         </optional>
5217 </define>   5307 </define>
5218 <define name="common-field-display-value-formula-none-attlist">   5308 <define name="common-field-display-value-formula-none-attlist">
5219         <optional>   5309         <optional>
5220                 <attribute name="text:display">   5310                 <attribute name="text:display">
5221                         <choice>   5311                         <choice>
5222                                 <value>value</value>   5312                                 <value>value</value>
5223                                 <value>formula</value>   5313                                 <value>formula</value>
5224                                 <value>none</value>   5314                                 <value>none</value>
5225                         </choice>   5315                         </choice>
5226                 </attribute>   5316                 </attribute>
5227         </optional>   5317         </optional>
5228 </define>   5318 </define>
5229 <define name="common-field-display-value-formula-attlist">   5319 <define name="common-field-display-value-formula-attlist">
5230         <optional>   5320         <optional>
5231                 <attribute name="text:display">   5321                 <attribute name="text:display">
5232                         <choice>   5322                         <choice>
5233                                 <value>value</value>   5323                                 <value>value</value>
5234                                 <value>formula</value>   5324                                 <value>formula</value>
5235                         </choice>   5325                         </choice>
5236                 </attribute>   5326                 </attribute>
5237         </optional>   5327         </optional>
5238 </define>   5328 </define>
5239 6.7.6Formula   5329 6.7.6Formula
5240 The text:formula attribute contains the formula or expression used to compute the value of the field. This attribute can be used with any of the following elements:   5330 The text:formula attribute contains the formula or expression used to compute the value of the field. This attribute can be used with any of the following elements:
5241 <text:variable-set>   5331 <text:variable-set>
5242 <text:user-field-del>   5332 <text:user-field-del>
5243 <text:sequence>   5333 <text:sequence>
5244 <text:expression>   5334 <text:expression>
5245 The formula should start with a namespace prefix hat indicates the syntax and semantic used within the formula. <> 5335 The formula should start with a namespace prefix that indicates the syntax and semantic used within the formula.
5246 <define name="common-field-formula-attlist"> = 5336 <define name="common-field-formula-attlist">
5247         <optional>   5337         <optional>
5248                 <attribute name="text:formula">   5338                 <attribute name="text:formula">
5249                         <ref name="formula"/>   5339                         <ref name="formula"/>
5250                 </attribute>   5340                 </attribute>
5251         </optional>   5341         </optional>
5252 </define>   5342 </define>
5253 6.7.7Formatting Style   5343 6.7.7Formatting Style
5254 The style:data-style-name attribute refers to the data style used to format the numeric value. For general information about styles, see Chapter 14. For more information about data styles, see section 14.7.   5344 The style:data-style-name attribute refers to the data style used to format the numeric value. For general information about styles, see Chapter 14. For more information about data styles, see section 14.7.
5255 For string variables this attribute must be omitted. Otherwise, this attribute is required.   5345 For string variables this attribute must be omitted. Otherwise, this attribute is required.
5256 The name must match the name of a data style.   5346 The name must match the name of a data style.
5257 This attribute can be used with any of the following elements:   5347 This attribute can be used with any of the following elements:
5258 <text:date>   5348 <text:date>
5259 <text:time>   5349 <text:time>
5260 <text:page-number>   5350 <text:page-number>
5261 <text:variable-set>   5351 <text:variable-set>
5262 <text:variable-get>   5352 <text:variable-get>
5263 <text:variable-input>   5353 <text:variable-input>
5264 <text:user-field-get>   5354 <text:user-field-get>
5265 <text:user-field-input>   5355 <text:user-field-input>
5266 <text:expression>   5356 <text:expression>
5267 <define name="common-field-data-style-name-attlist">   5357 <define name="common-field-data-style-name-attlist">
5268         <optional>   5358         <optional>
5269                 <attribute name="style:data-style-name">   5359                 <attribute name="style:data-style-name">
5270                         <ref name="styleNameRef"/>   5360                         <ref name="styleNameRef"/>
5271                 </attribute>   5361                 </attribute>
5272         </optional>   5362         </optional>
5273 </define>   5363 </define>
5274 6.7.8Number Formatting Style   5364 6.7.8Number Formatting Style
5275 Numbers that are used for number sequences such as page numbers or sequence fields can be formatted according to the number styles described in section 12.2. The number styles supported are as follows:   5365 Numbers that are used for number sequences such as page numbers or sequence fields can be formatted according to the number styles described in section 12.2. The number styles supported are as follows:
5276 Numeric: 1, 2, 3, ...   5366 Numeric: 1, 2, 3, ...
5277 Alphabetic: a, b, c, ... or A, B, C, ...   5367 Alphabetic: a, b, c, ... or A, B, C, ...
5278 Roman: i, ii, iii, iv, ... or I, II, III, IV,...   5368 Roman: i, ii, iii, iv, ... or I, II, III, IV,...
5279 Note: The value of this attribute can be any of the [XSLT] number format keys 1, i, I, a, or A.   5369 Note: The value of this attribute can be any of the [XSLT] number format keys 1, i, I, a, or A.
5280 Alphabetic number styles need an additional attribute to determine how to display numbers that cannot be represented by a single letter. The OpenDocument format supports:   5370 Alphabetic number styles need an additional attribute to determine how to display numbers that cannot be represented by a single letter. The OpenDocument format supports:
5281 Synchronized letter numbering, where letters are used multiple times, for example aa, bb, cc, and so on.   5371 Synchronized letter numbering, where letters are used multiple times, for example aa, bb, cc, and so on.
5282 Non-synchronized letter numbering, for example aa, ab, ac, and so on.   5372 Non-synchronized letter numbering, for example aa, ab, ac, and so on.
5283 See section 12.2 for more information.   5373 See section 12.2 for more information.
5284 <define name="common-field-num-format-attlist">   5374 <define name="common-field-num-format-attlist">
5285         <optional>   5375         <optional>
5286                 <ref name="common-num-format-attlist"/>   5376                 <ref name="common-num-format-attlist"/>
5287         </optional>   5377         </optional>
5288 </define>   5378 </define>
5289 7Text Indices   5379 7Text Indices
5290 OpenDocument text documents may contain automatically generated indices. An index generally contains a sorted list of all items of a certain types, where the sorting (document position, alphabetical, etc.) and the type of items (chapter headings, tables, etc.) are determined by the specific type of index.   5380 OpenDocument text documents may contain automatically generated indices. An index generally contains a sorted list of all items of a certain types, where the sorting (document position, alphabetical, etc.) and the type of items (chapter headings, tables, etc.) are determined by the specific type of index.
5291 7.1Index Marks   5381 7.1Index Marks
5292 There are three types of index marks that correspond to the three types of index that make use of index marks. The three types of index marks are:   5382 There are three types of index marks that correspond to the three types of index that make use of index marks. The three types of index marks are:
5293 Table of content index marks   5383 Table of content index marks
5294 User-defined index marks   5384 User-defined index marks
5295 Alphabetical index marks   5385 Alphabetical index marks
5296 The XML code for index marks is similar to the code for Bookmarks and References. The following are some basic rules about index marks:   5386 The XML code for index marks is similar to the code for Bookmarks and References. The following are some basic rules about index marks:
5297 Each index mark is represented by a start and an end element.   5387 Each index mark is represented by a start and an end element.
5298 Both elements use an ID attribute to match the appropriate start and end elements.   5388 Both elements use an ID attribute to match the appropriate start and end elements.
5299 The start and end elements for an index mark must be contained in the same paragraph, with the start element occurring first.   5389 The start and end elements for an index mark must be contained in the same paragraph, with the start element occurring first.
5300 The attributes associated with the index mark are attached to the start element.   5390 The attributes associated with the index mark are attached to the start element.
5301 The text between the start and end elements is the text the index entry.   5391 The text between the start and end elements is the text the index entry.
5302 The formatting attributes for index marks can overlap.   5392 The formatting attributes for index marks can overlap.
5303 7.1.1Table of Content Index Marks   5393 7.1.1Table of Content Index Marks
5304 The <text:toc-mark-start> element marks the start of a table of content index entry. The ID specified by the text:id attribute must be unique except for the matching index mark end element. There must be an end element to match the start element located in the same paragraph, with the start element appearing first.   5394 The <text:toc-mark-start> element marks the start of a table of content index entry. The ID specified by the text:id attribute must be unique except for the matching index mark end element. There must be an end element to match the start element located in the same paragraph, with the start element appearing first.
5305 <define name="paragraph-content" combine="choice">   5395 <define name="paragraph-content" combine="choice">
5306         <element name="text:toc-mark-start">   5396         <element name="text:toc-mark-start">
5307                 <ref name="text-toc-mark-start-attrs"/>   5397                 <ref name="text-toc-mark-start-attrs"/>
5308         </element>   5398         </element>
5309 </define>   5399 </define>
5310 The attributes associated with the <text:toc-mark-start> element are:   5400 The attributes associated with the <text:toc-mark-start> element are:
5311 A text:id attribute to allow the start and end elements to be matched.   5401 A text:id attribute to allow the start and end elements to be matched.
5312 A text:outline-level attribute to specify the outline level of the resulting table of content index entry.   5402 A text:outline-level attribute to specify the outline level of the resulting table of content index entry.
5313 <define name="text-toc-mark-start-attrs">   5403 <define name="text-toc-mark-start-attrs">
5314         <ref name="text-id"/>   5404         <ref name="text-id"/>
5315         <ref name="text-outline-level"/>   5405         <ref name="text-outline-level"/>
5316 </define>   5406 </define>
5317 <define name="text-outline-level">   5407 <define name="text-outline-level">
5318         <optional>   5408         <optional>
5319                 <attribute name="text:outline-level">   5409                 <attribute name="text:outline-level">
5320                         <ref name="positiveInteger"/>   5410                         <ref name="positiveInteger"/>
5321                 </attribute>   5411                 </attribute>
5322         </optional>   5412         </optional>
5323 </define>   5413 </define>
5324 <define name="text-id">   5414 <define name="text-id">
5325         <attribute name="text:id">   5415         <attribute name="text:id">
5326                 <ref name="string"/>   5416                 <ref name="string"/>
5327         </attribute>   5417         </attribute>
5328 </define>   5418 </define>
5329 The <text:toc-mark-end> element marks the end of a table of contents index entry. There must be a start element with the same text:id value to match the end element located in the same paragraph, with the start element appearing first.   5419 The <text:toc-mark-end> element marks the end of a table of contents index entry. There must be a start element with the same text:id value to match the end element located in the same paragraph, with the start element appearing first.
5330 <define name="paragraph-content" combine="choice">   5420 <define name="paragraph-content" combine="choice">
5331         <element name="text:toc-mark-end">   5421         <element name="text:toc-mark-end">
5332                 <ref name="text-id"/>   5422                 <ref name="text-id"/>
5333         </element>   5423         </element>
5334 </define>   5424 </define>
5335 Table of content index marks also have a variant that does not enclose the text to be indexed. This is represented using the <text:toc-mark> element which contains a text:string-value attribute for the text of the index entry. In this situation, a text:id attribute is not necessary because there are no start and end elements to match.   5425 Table of content index marks also have a variant that does not enclose the text to be indexed. This is represented using the <text:toc-mark> element which contains a text:string-value attribute for the text of the index entry. In this situation, a text:id attribute is not necessary because there are no start and end elements to match.
5336 <define name="paragraph-content" combine="choice">   5426 <define name="paragraph-content" combine="choice">
5337         <element name="text:toc-mark">   5427         <element name="text:toc-mark">
5338                 <attribute name="text:string-value">   5428                 <attribute name="text:string-value">
5339                         <ref name="string"/>   5429                         <ref name="string"/>
5340                 </attribute>   5430                 </attribute>
5341                 <ref name="text-outline-level"/>   5431                 <ref name="text-outline-level"/>
5342         </element>   5432         </element>
5343 </define>   5433 </define>
5344 7.1.2User-Defined Index Marks   5434 7.1.2User-Defined Index Marks
5345 The <text:user-index-mark-start> element marks the start of a user-defined index entry. The ID specified by the text:id attribute must be unique except for the matching index mark end element. There must be an end element to match the start element located in the same paragraph, with the start element appearing first.   5435 The <text:user-index-mark-start> element marks the start of a user-defined index entry. The ID specified by the text:id attribute must be unique except for the matching index mark end element. There must be an end element to match the start element located in the same paragraph, with the start element appearing first.
5346 <define name="paragraph-content" combine="choice">   5436 <define name="paragraph-content" combine="choice">
5347         <element name="text:user-index-mark-start">   5437         <element name="text:user-index-mark-start">
5348                 <ref name="text-id"/>   5438                 <ref name="text-id"/>
5349                 <ref name="text-outline-level"/>   5439                 <ref name="text-outline-level"/>
5350                 <ref name="text-index-name"/>   5440                 <ref name="text-index-name"/>
5351         </element>   5441         </element>
5352 </define>   5442 </define>
5353 The <text:user-index-mark-end> element marks the end of the user-defined index entry. There must be a start element with the same text:id value to match the end element located in the same paragraph, with the start element appearing first.   5443 The <text:user-index-mark-end> element marks the end of the user-defined index entry. There must be a start element with the same text:id value to match the end element located in the same paragraph, with the start element appearing first.
5354 <define name="paragraph-content" combine="choice">   5444 <define name="paragraph-content" combine="choice">
5355         <element name="text:user-index-mark-end">   5445         <element name="text:user-index-mark-end">
5356                 <ref name="text-id"/>   5446                 <ref name="text-id"/>
5357                 <ref name="text-outline-level"/>   5447                 <ref name="text-outline-level"/>
5358         </element>   5448         </element>
5359 </define>   5449 </define>
5360 User index marks also have a variant that does not enclose the text to be indexed. This is represented by the <text:user-index-mark> element which contains a text:string-value attribute for the text of the index entry. In this situation, the text:id attribute is not necessary because there are no start and end elements to match.   5450 User index marks also have a variant that does not enclose the text to be indexed. This is represented by the <text:user-index-mark> element which contains a text:string-value attribute for the text of the index entry. In this situation, the text:id attribute is not necessary because there are no start and end elements to match.
5361 <define name="paragraph-content" combine="choice">   5451 <define name="paragraph-content" combine="choice">
5362         <element name="text:user-index-mark">   5452         <element name="text:user-index-mark">
5363                 <attribute name="text:string-value">   5453                 <attribute name="text:string-value">
5364                         <ref name="string"/>   5454                         <ref name="string"/>
5365                 </attribute>   5455                 </attribute>
5366                 <ref name="text-outline-level"/>   5456                 <ref name="text-outline-level"/>
5367                 <ref name="text-index-name"/>   5457                 <ref name="text-index-name"/>
5368         </element>   5458         </element>
5369 </define>   5459 </define>
5370 Name of User Index   5460 Name of User Index
5371 There can be more than one user-defined index. In this case, the user index must be named using the text:index-name attribute. This attribute determines to which user-defined index an index mark belongs. If no name is given, the default user-defined index is used.   5461 There can be more than one user-defined index. In this case, the user index must be named using the text:index-name attribute. This attribute determines to which user-defined index an index mark belongs. If no name is given, the default user-defined index is used.
5372 <define name="text-index-name">   5462 <define name="text-index-name">
5373         <attribute name="text:index-name">   5463         <attribute name="text:index-name">
5374                 <ref name="string"/>   5464                 <ref name="string"/>
5375         </attribute>   5465         </attribute>
5376 </define>   5466 </define>
5377 7.1.3Alphabetical Index Mark   5467 7.1.3Alphabetical Index Mark
5378 The <text:alpha-index-mark-start> element marks the start of an alphabetical index entry. There are two optional attributes that may contain keys for alphabetical entries, which allows structuring of entries. There is also a Boolean attribute that determines if this entry is intended to be the main entry, if there are several equal entries.   5468 The <text:alpha-index-mark-start> element marks the start of an alphabetical index entry. There are two optional attributes that may contain keys for alphabetical entries, which allows structuring of entries. There is also a Boolean attribute that determines if this entry is intended to be the main entry, if there are several equal entries.
5379 The ID specified by the text:id attribute must be unique except for the matching index mark end element. There must be an end element to match the start element located in the same paragraph, with the start element appearing first.   5469 The ID specified by the text:id attribute must be unique except for the matching index mark end element. There must be an end element to match the start element located in the same paragraph, with the start element appearing first.
5380 <define name="paragraph-content" combine="choice">   5470 <define name="paragraph-content" combine="choice">
5381         <element name="text:alphabetical-index-mark-start">   5471         <element name="text:alphabetical-index-mark-start">
5382                 <ref name="text-id"/>   5472                 <ref name="text-id"/>
5383                 <ref name="text-alphabetical-index-mark-attrs"/>   5473                 <ref name="text-alphabetical-index-mark-attrs"/>
5384         </element>   5474         </element>
5385 </define>   5475 </define>
5386 The attributes associated with the <text:toc-mark-start> element are:   5476 The attributes associated with the <text:toc-mark-start> element are:
5387 A text:id attribute to allow the start and end elements to be matched.   5477 A text:id attribute to allow the start and end elements to be matched.
5388 Additional keys   5478 Additional keys
5389 Main entry   5479 Main entry
5390 The <text:alpha-index-mark-end> element marks the end of an alphabetical index entry. There must be a start element with the same text:id value to match the end element located in the same paragraph, with the start element appearing first.   5480 The <text:alpha-index-mark-end> element marks the end of an alphabetical index entry. There must be a start element with the same text:id value to match the end element located in the same paragraph, with the start element appearing first.
5391 <define name="paragraph-content" combine="choice">   5481 <define name="paragraph-content" combine="choice">
5392         <element name="text:alphabetical-index-mark-end">   5482         <element name="text:alphabetical-index-mark-end">
5393                 <ref name="text-id"/>   5483                 <ref name="text-id"/>
5394         </element>   5484         </element>
5395 </define>   5485 </define>
5396 Alphabetical index marks also have a variant that does not enclose the text to be indexed. This is represented using the <text:alpha-index-mark> element which contains a text:string-value attribute for the text of the index entry. In this situation, a text:id attribute is not necessary because there are no start and end elements to match.   5486 Alphabetical index marks also have a variant that does not enclose the text to be indexed. This is represented using the <text:alpha-index-mark> element which contains a text:string-value attribute for the text of the index entry. In this situation, a text:id attribute is not necessary because there are no start and end elements to match.
5397 <define name="paragraph-content" combine="choice">   5487 <define name="paragraph-content" combine="choice">
5398         <element name="text:alphabetical-index-mark">   5488         <element name="text:alphabetical-index-mark">
5399                 <attribute name="text:string-value">   5489                 <attribute name="text:string-value">
5400                         <ref name="string"/>   5490                         <ref name="string"/>
5401                 </attribute>   5491                 </attribute>
5402                 <ref name="text-alphabetical-index-mark-attrs"/>   5492                 <ref name="text-alphabetical-index-mark-attrs"/>
5403         </element>   5493         </element>
5404 </define>   5494 </define>
5405 Additional Keys   5495 Additional Keys
5406 The text:key1 and text:key2 attributes specify additional keys for the alphabetical index mark. If only one key is used, it must be contained in the text:key1 attribute.   5496 The text:key1 and text:key2 attributes specify additional keys for the alphabetical index mark. If only one key is used, it must be contained in the text:key1 attribute.
5407 <define name="text-alphabetical-index-mark-attrs" combine="interleave">   5497 <define name="text-alphabetical-index-mark-attrs" combine="interleave">
5408         <optional>   5498         <optional>
5409                 <attribute name="text:key1">   5499                 <attribute name="text:key1">
5410                         <ref name="string"/>   5500                         <ref name="string"/>
5411                 </attribute>   5501                 </attribute>
5412         </optional>   5502         </optional>
5413         <optional>   5503         <optional>
5414                 <attribute name="text:key2">   5504                 <attribute name="text:key2">
5415                         <ref name="string"/>   5505                         <ref name="string"/>
5416                 </attribute>   5506                 </attribute>
5417         </optional>   5507         </optional>
5418 </define>   5508 </define>
5419 Phonetic Keys   5509 Phonetic Keys
5420 For ideographic languages, there sometimes is no obvious or common sorting of the language's characters. One common scheme to facilitate an alphabetical index in such languages is to sort according to a phonetic description of the search time. To achieve this in the OpenDocument file format, there are additional attributes for the string value and the two keys for phonetic descriptions. The original value and key attributes are for display, but if phonetic variants are present, they should be used for sorting the index.   5510 For ideographic languages, there sometimes is no obvious or common sorting of the language's characters. One common scheme to facilitate an alphabetical index in such languages is to sort according to a phonetic description of the search time. To achieve this in the OpenDocument file format, there are additional attributes for the string value and the two keys for phonetic descriptions. The original value and key attributes are for display, but if phonetic variants are present, they should be used for sorting the index.
5421 <define name="text-alphabetical-index-mark-attrs" combine="interleave">   5511 <define name="text-alphabetical-index-mark-attrs" combine="interleave">
5422         <optional>   5512         <optional>
5423                 <attribute name="text:string-value-phonetic">   5513                 <attribute name="text:string-value-phonetic">
5424                         <ref name="string"/>   5514                         <ref name="string"/>
5425                 </attribute>   5515                 </attribute>
5426         </optional>   5516         </optional>
5427         <optional>   5517         <optional>
5428                 <attribute name="text:key1-phonetic">   5518                 <attribute name="text:key1-phonetic">
5429                         <ref name="string"/>   5519                         <ref name="string"/>
5430                 </attribute>   5520                 </attribute>
5431         </optional>   5521         </optional>
5432         <optional>   5522         <optional>
5433                 <attribute name="text:key2-phonetic">   5523                 <attribute name="text:key2-phonetic">
5434                         <ref name="string"/>   5524                         <ref name="string"/>
5435                 </attribute>   5525                 </attribute>
5436         </optional>   5526         </optional>
5437 </define>   5527 </define>
5438 Main Entry   5528 Main Entry
5439 If there are several index marks for the same entry, one of these entries may be declared as the main entry using the text:main-entry attribute.   5529 If there are several index marks for the same entry, one of these entries may be declared as the main entry using the text:main-entry attribute.
5440 <define name="text-alphabetical-index-mark-attrs" combine="interleave">   5530 <define name="text-alphabetical-index-mark-attrs" combine="interleave">
5441         <optional>   5531         <optional>
5442                 <attribute name="text:main-entry" a:defaultValue="false">   5532                 <attribute name="text:main-entry" a:defaultValue="false">
5443                         <ref name="boolean"/>   5533                         <ref name="boolean"/>
5444                 </attribute>   5534                 </attribute>
5445         </optional>   5535         </optional>
5446 </define>   5536 </define>
5447 7.1.4Bibliography Index Mark   5537 7.1.4Bibliography Index Mark
5448 The <text:bibliography-mark> element contains the text and information for a bibliography index entry. It supports attributes for each type of bibliographical data that a bibliography index may contain.   5538 The <text:bibliography-mark> element contains the text and information for a bibliography index entry. It supports attributes for each type of bibliographical data that a bibliography index may contain.
5449 <define name="paragraph-content" combine="choice">   5539 <define name="paragraph-content" combine="choice">
5450         <element name="text:bibliography-mark">   5540         <element name="text:bibliography-mark">
5451                 <attribute name="text:bibliography-type">   5541                 <attribute name="text:bibliography-type">
5452                         <ref name="text-bibliography-types"/>   5542                         <ref name="text-bibliography-types"/>
5453                 </attribute>   5543                 </attribute>
5454                 <zeroOrMore>   5544                 <zeroOrMore>
5455                         <attribute>   5545                         <attribute>
5456                                 <choice>   5546                                 <choice>
5457                                         <name>text:identifier</name>   5547                                         <name>text:identifier</name>
5458                                         <name>text:address</name>   5548                                         <name>text:address</name>
5459                                         <name>text:annote</name>   5549                                         <name>text:annote</name>
5460                                         <name>text:author</name>   5550                                         <name>text:author</name>
5461                                         <name>text:booktitle</name>   5551                                         <name>text:booktitle</name>
5462                                         <name>text:chapter</name>   5552                                         <name>text:chapter</name>
5463                                         <name>text:edition</name>   5553                                         <name>text:edition</name>
5464                                         <name>text:editor</name>   5554                                         <name>text:editor</name>
5465                                         <name>text:howpublished</name>   5555                                         <name>text:howpublished</name>
5466                                         <name>text:institution</name>   5556                                         <name>text:institution</name>
5467                                         <name>text:journal</name>   5557                                         <name>text:journal</name>
5468                                         <name>text:month</name>   5558                                         <name>text:month</name>
5469                                         <name>text:note</name>   5559                                         <name>text:note</name>
5470                                         <name>text:number</name>   5560                                         <name>text:number</name>
5471                                         <name>text:organizations</name>   5561                                         <name>text:organizations</name>
5472                                         <name>text:pages</name>   5562                                         <name>text:pages</name>
5473                                         <name>text:publisher</name>   5563                                         <name>text:publisher</name>
5474                                         <name>text:school</name>   5564                                         <name>text:school</name>
5475                                         <name>text:series</name>   5565                                         <name>text:series</name>
5476                                         <name>text:title</name>   5566                                         <name>text:title</name>
5477                                         <name>text:report-type</name>   5567                                         <name>text:report-type</name>
5478                                         <name>text:volume</name>   5568                                         <name>text:volume</name>
5479                                         <name>text:year</name>   5569                                         <name>text:year</name>
5480                                         <name>text:url</name>   5570                                         <name>text:url</name>
5481                                         <name>text:custom1</name>   5571                                         <name>text:custom1</name>
5482                                         <name>text:custom2</name>   5572                                         <name>text:custom2</name>
5483                                         <name>text:custom3</name>   5573                                         <name>text:custom3</name>
5484                                         <name>text:custom4</name>   5574                                         <name>text:custom4</name>
5485                                         <name>text:custom5</name>   5575                                         <name>text:custom5</name>
5486                                         <name>text:isbn</name>   5576                                         <name>text:isbn</name>
5487                                         <name>text:issn</name>   5577                                         <name>text:issn</name>
5488                                 </choice>   5578                                 </choice>
5489                                 <ref name="string"/>   5579                                 <ref name="string"/>
5490                         </attribute>   5580                         </attribute>
5491                 </zeroOrMore>   5581                 </zeroOrMore>
5492                 <text/>   5582                 <text/>
5493         </element>   5583         </element>
5494 </define>   5584 </define>
5495 <define name="text-bibliography-types">   5585 <define name="text-bibliography-types">
5496         <choice>   5586         <choice>
5497                 <value>article</value>   5587                 <value>article</value>
5498                 <value>book</value>   5588                 <value>book</value>
5499                 <value>booklet</value>   5589                 <value>booklet</value>
5500                 <value>conference</value>   5590                 <value>conference</value>
5501                 <value>custom1</value>   5591                 <value>custom1</value>
5502                 <value>custom2</value>   5592                 <value>custom2</value>
5503                 <value>custom3</value>   5593                 <value>custom3</value>
5504                 <value>custom4</value>   5594                 <value>custom4</value>
5505                 <value>custom5</value>   5595                 <value>custom5</value>
5506                 <value>email</value>   5596                 <value>email</value>
5507                 <value>inbook</value>   5597                 <value>inbook</value>
5508                 <value>incollection</value>   5598                 <value>incollection</value>
5509                 <value>inproceedings</value>   5599                 <value>inproceedings</value>
5510                 <value>journal</value>   5600                 <value>journal</value>
5511                 <value>manual</value>   5601                 <value>manual</value>
5512                 <value>mastersthesis</value>   5602                 <value>mastersthesis</value>
5513                 <value>misc</value>   5603                 <value>misc</value>
5514                 <value>phdthesis</value>   5604                 <value>phdthesis</value>
5515                 <value>proceedings</value>   5605                 <value>proceedings</value>
5516                 <value>techreport</value>   5606                 <value>techreport</value>
5517                 <value>unpublished</value>   5607                 <value>unpublished</value>
5518                 <value>www</value>   5608                 <value>www</value>
5519         </choice>   5609         </choice>
5520 </define>   5610 </define>
5521 7.2Index Structure   5611 7.2Index Structure
5522 An index consists of two parts: The index source, and the index body. Both of these are contained in an element of their own, which in turn form the two child elements for the index element itself.   5612 An index consists of two parts: The index source, and the index body. Both of these are contained in an element of their own, which in turn form the two child elements for the index element itself.
5523 The index source is specific to the type of index it is being used for. It contains the information necessary to generate the index content. An index source has no graphical rendition.   5613 The index source is specific to the type of index it is being used for. It contains the information necessary to generate the index content. An index source has no graphical rendition.
5524 The index body is the same for all types of indices. It contains the text generated from the information in the index source. The text contained in an index body is in no way special or different from text used elsewhere in this specification.   5614 The index body is the same for all types of indices. It contains the text generated from the information in the index source. The text contained in an index body is in no way special or different from text used elsewhere in this specification.
5525 The content of the index body can be regenerated at any time from the information contained in the index source and the remainder of the document. One could say that the index source contains all the logical information about an index, while the index body contains the rendition of the index. A tool extracting structure information about a document might look only at the index source, while a rendering program might look only at an index body.   5615 The content of the index body can be regenerated at any time from the information contained in the index source and the remainder of the document. One could say that the index source contains all the logical information about an index, while the index body contains the rendition of the index. A tool extracting structure information about a document might look only at the index source, while a rendering program might look only at an index body.
5526 7.2.1Index Source   5616 7.2.1Index Source
5527 An index source element contains the information necessary to generate the index body. In addition to a set of flags that determine which information to include in an index, the index source contains a set of index templates. Such a template determines how an item to be contained in the index is to be rendered.   5617 An index source element contains the information necessary to generate the index body. In addition to a set of flags that determine which information to include in an index, the index source contains a set of index templates. Such a template determines how an item to be contained in the index is to be rendered.
5528 For example, a table of content might look as follows:   5618 For example, a table of content might look as follows:
5529 1 Introduction  7   5619 1 Introduction  7
5530 1.1 Namespaces  7   5620 1.1 Namespaces  7
5531 1.2 Relax-NG Schema Prefix      8   5621 1.2 Relax-NG Schema Prefix      8
5532 An index source for this index would contain flags indicating that chapter headers at least up to level 2 are to be included. The contained index templates would define that an entry consists of the chapter number, a space, the chapter name, a tab (with a '.' leader) and the page number.   5622 An index source for this index would contain flags indicating that chapter headers at least up to level 2 are to be included. The contained index templates would define that an entry consists of the chapter number, a space, the chapter name, a tab (with a '.' leader) and the page number.
5533 The various index templates are described together with their index elements. The index templates elements in use are described in section 7.12.   5623 The various index templates are described together with their index elements. The index templates elements in use are described in section 7.12.
5534 The different index source elements are described together with their corresponding index elements.   5624 The different index source elements are described together with their corresponding index elements.
5535 7.2.2Index Body Section   5625 7.2.2Index Body Section
5536 The index body contains the current textual rendition of the index. The format is the same as for regular text within this specification, e.g., text sections, except that it also allows index title sections.   5626 The index body contains the current textual rendition of the index. The format is the same as for regular text within this specification, e.g., text sections, except that it also allows index title sections.
5537 <define name="text-index-body">   5627 <define name="text-index-body">
5538         <element name="text:index-body">   5628         <element name="text:index-body">
5539                 <zeroOrMore>   5629                 <zeroOrMore>
5540                         <ref name="index-content-main"/>   5630                         <ref name="index-content-main"/>
5541                 </zeroOrMore>   5631                 </zeroOrMore>
5542         </element>   5632         </element>
5543 </define>   5633 </define>
5544 <define name="index-content-main">   5634 <define name="index-content-main">
5545         <choice>   5635         <choice>
5546                 <ref name="text-content"/>   5636                 <ref name="text-content"/>
5547                 <ref name="text-index-title"/>   5637                 <ref name="text-index-title"/>
5548         </choice>   5638         </choice>
5549 </define>   5639 </define>
5550 7.2.3Index Title Section   5640 7.2.3Index Title Section
5551 The index title is usually contained in a section of its own. The reason for this enclosure is to enable the popular layout of having an index title across the entire page, but having the index itself in a two column layout.   5641 The index title is usually contained in a section of its own. The reason for this enclosure is to enable the popular layout of having an index title across the entire page, but having the index itself in a two column layout.
5552 <define name="text-index-title">   5642 <define name="text-index-title">
5553         <element name="text:index-title">   5643         <element name="text:index-title">
5554                 <ref name="sectionAttr"/>   5644                 <ref name="sectionAttr"/>
5555                 <zeroOrMore>   5645                 <zeroOrMore>
5556                         <ref name="index-content-main"/>   5646                         <ref name="index-content-main"/>
5557                 </zeroOrMore>   5647                 </zeroOrMore>
5558         </element>   5648         </element>
5559 </define>   5649 </define>
5560 7.3Table Of Content   5650 7.3Table Of Content
5561 A table of contents provides the user with a guide through the content of the document. It is typically found at the beginning of a document, contains the chapter headings with their respective page numbers. An example for a table of content may be found at the beginning of this document.   5651 A table of contents provides the user with a guide through the content of the document. It is typically found at the beginning of a document, contains the chapter headings with their respective page numbers. An example for a table of content may be found at the beginning of this document.
5562 The items that can be listed in a table of content are:   5652 The items that can be listed in a table of content are:
5563 Headers (as defined by the outline structure of the document), up to a selectable level   5653 Headers (as defined by the outline structure of the document), up to a selectable level
5564 Table of content index marks   5654 Table of content index marks
5565 Paragraphs formatted with a set of selectable paragraph styles   5655 Paragraphs formatted with a set of selectable paragraph styles
5566 The table of contents is represented by the <text:table-of-content> element. The <text:table-of-content> element supports the same style (and class) attributes as a text section (see section 4.4).   5656 The table of contents is represented by the <text:table-of-content> element. The <text:table-of-content> element supports the same style (and class) attributes as a text section (see section 4.4).
5567 <define name="text-table-of-content">   5657 <define name="text-table-of-content">
5568         <element name="text:table-of-content">   5658         <element name="text:table-of-content">
5569                 <ref name="sectionAttr"/>   5659                 <ref name="sectionAttr"/>
5570                 <ref name="text-table-of-content-source"/>   5660                 <ref name="text-table-of-content-source"/>
5571                 <ref name="text-index-body"/>   5661                 <ref name="text-index-body"/>
5572         </element>   5662         </element>
5573 </define>   5663 </define>
5574 7.3.1Table of Content Source   5664 7.3.1Table of Content Source
5575 The <text:table-of-content-source> element specifies how the table of contents is generated. It specifies how the entries are gathered.   5665 The <text:table-of-content-source> element specifies how the table of contents is generated. It specifies how the entries are gathered.
5576 The <text:table-of-content-source> element contains   5666 The <text:table-of-content-source> element contains
5577 an optional template for the index title   5667 an optional template for the index title
5578 optional templates for index entries, one per level   5668 optional templates for index entries, one per level
5579 optionally a list of styles to be used for gathering index entries   5669 optionally a list of styles to be used for gathering index entries
5580 <define name="text-table-of-content-source">   5670 <define name="text-table-of-content-source">
5581         <element name="text:table-of-content-source">   5671         <element name="text:table-of-content-source">
5582                 <ref name="text-table-of-content-source-attlist"/>   5672                 <ref name="text-table-of-content-source-attlist"/>
5583                 <optional>   5673                 <optional>
5584                         <ref name="text-index-title-template"/>   5674                         <ref name="text-index-title-template"/>
5585                 </optional>   5675                 </optional>
5586                 <zeroOrMore>   5676                 <zeroOrMore>
5587                         <ref name="text-table-of-content-entry-template"/>   5677                         <ref name="text-table-of-content-entry-template"/>
5588                 </zeroOrMore>   5678                 </zeroOrMore>
5589                 <zeroOrMore>   5679                 <zeroOrMore>
5590                         <ref name="text-index-source-styles"/>   5680                         <ref name="text-index-source-styles"/>
5591                 </zeroOrMore>   5681                 </zeroOrMore>
5592         </element>   5682         </element>
5593 </define>   5683 </define>
5594 The attributes that may be associated with the <text:table-of-content-source> element are:   5684 The attributes that may be associated with the <text:table-of-content-source> element are:
5595 Outline level   5685 Outline level
5596 Use outline   5686 Use outline
5597 Use index marks   5687 Use index marks
5598 Use index source styles   5688 Use index source styles
5599 Index source   5689 Index source
5600 Relative tab stop position   5690 Relative tab stop position
5601 Outline Level   5691 Outline Level
5602 The text:outline-level attribute specifies which outline levels are used when generating the table of contents.   5692 The text:outline-level attribute specifies which outline levels are used when generating the table of contents.
5603 The value of this attribute must be an integer greater than zero. If this attribute is omitted, all outline levels are used by default.   5693 The value of this attribute must be an integer greater than zero. If this attribute is omitted, all outline levels are used by default.
5604 <define name="text-table-of-content-source-attlist" combine="interleave">   5694 <define name="text-table-of-content-source-attlist" combine="interleave">
5605         <optional>   5695         <optional>
5606                 <attribute name="text:outline-level">   5696                 <attribute name="text:outline-level">
5607                         <choice>   5697                         <choice>
5608                                 <ref name="positiveInteger"/>   5698                                 <ref name="positiveInteger"/>
5609                         </choice>   5699                         </choice>
5610                 </attribute>   5700                 </attribute>
5611         </optional>   5701         </optional>
5612 </define>   5702 </define>
5613 Use Outline   5703 Use Outline
5614 The text:use-outline-level attribute determines whether headings are used to generate index entries. If the value is true, the table of contents includes entries generated from headings. The text:outline-level attribute specifies up to which level headings are being included. See section 7.1 for more information on index marks.   5704 The text:use-outline-level attribute determines whether headings are used to generate index entries. If the value is true, the table of contents includes entries generated from headings. The text:outline-level attribute specifies up to which level headings are being included. See section 7.1 for more information on index marks.
5615 <define name="text-table-of-content-source-attlist" combine="interleave">   5705 <define name="text-table-of-content-source-attlist" combine="interleave">
5616         <optional>   5706         <optional>
5617                 <attribute name="text:use-outline-level" a:defaultValue="true">   5707                 <attribute name="text:use-outline-level" a:defaultValue="true">
5618                         <ref name="boolean"/>   5708                         <ref name="boolean"/>
5619                 </attribute>   5709                 </attribute>
5620         </optional>   5710         </optional>
5621 </define>   5711 </define>
5622 Use Index Marks   5712 Use Index Marks
5623 The text:use-index-marks attribute determines whether or not index marks are used to generate index entries. If the value is true, the table of contents includes entries generated from table of content index marks. The text:outline-level attribute specifies up to which level index marks are being included. See section 7.1 for more information on index marks.   5713 The text:use-index-marks attribute determines whether or not index marks are used to generate index entries. If the value is true, the table of contents includes entries generated from table of content index marks. The text:outline-level attribute specifies up to which level index marks are being included. See section 7.1 for more information on index marks.
5624 <define name="text-table-of-content-source-attlist" combine="interleave">   5714 <define name="text-table-of-content-source-attlist" combine="interleave">
5625         <optional>   5715         <optional>
5626                 <attribute name="text:use-index-marks">   5716                 <attribute name="text:use-index-marks">
5627                         <ref name="boolean"/>   5717                         <ref name="boolean"/>
5628                 </attribute>   5718                 </attribute>
5629         </optional>   5719         </optional>
5630 </define>   5720 </define>
5631 Use Index Source Styles   5721 Use Index Source Styles
5632 The text:use-index-source-styles attribute determines whether or not index entries are generated for paragraph formatted using certain paragraph styles. If the value is true, the table of contents includes an entry for every paragraph formatted with one of the styles specified in a <text:index-source-style> element. The text:outline-level attribute specifies up to which level index source styles are being included.   5722 The text:use-index-source-styles attribute determines whether or not index entries are generated for paragraph formatted using certain paragraph styles. If the value is true, the table of contents includes an entry for every paragraph formatted with one of the styles specified in a <text:index-source-style> element. The text:outline-level attribute specifies up to which level index source styles are being included.
5633 <define name="text-table-of-content-source-attlist" combine="interleave">   5723 <define name="text-table-of-content-source-attlist" combine="interleave">
5634         <optional>   5724         <optional>
5635                 <attribute name="text:use-index-source-styles">   5725                 <attribute name="text:use-index-source-styles">
5636                         <ref name="boolean"/>   5726                         <ref name="boolean"/>
5637                 </attribute>   5727                 </attribute>
5638         </optional>   5728         </optional>
5639 </define>   5729 </define>
5640 Index Scope   5730 Index Scope
5641 The text:index-scope attribute determines whether the table-of-content is generated for the whole document, or only for the current chapter.   5731 The text:index-scope attribute determines whether the table-of-content is generated for the whole document, or only for the current chapter.
5642 <define name="text-table-of-content-source-attlist" combine="interleave">   5732 <define name="text-table-of-content-source-attlist" combine="interleave">
5643         <optional>   5733         <optional>
5644                 <attribute name="text:index-scope">   5734                 <attribute name="text:index-scope">
5645                         <choice>   5735                         <choice>
5646                                 <value>document</value>   5736                                 <value>document</value>
5647                                 <value>chapter</value>   5737                                 <value>chapter</value>
5648                         </choice>   5738                         </choice>
5649                 </attribute>   5739                 </attribute>
5650         </optional>   5740         </optional>
5651 </define>   5741 </define>
5652 Relative Tab-Stop Position   5742 Relative Tab-Stop Position
5653 The text:relative-tab-stop-position attribute determines whether the position of tab stops is relative to the left margin or to the left indent as determined by the paragraph style. This is useful for copying the same entry configuration for all outline levels because with relative tab stop positions the tabs do not need to be adjusted to the respective paragraph format.   5743 The text:relative-tab-stop-position attribute determines whether the position of tab stops is relative to the left margin or to the left indent as determined by the paragraph style. This is useful for copying the same entry configuration for all outline levels because with relative tab stop positions the tabs do not need to be adjusted to the respective paragraph format.
5654 <define name="text-table-of-content-source-attlist" combine="interleave">   5744 <define name="text-table-of-content-source-attlist" combine="interleave">
5655         <optional>   5745         <optional>
5656                 <attribute name="text:relative-tab-stop-position">   5746                 <attribute name="text:relative-tab-stop-position">
5657                         <ref name="boolean"/>   5747                         <ref name="boolean"/>
5658                 </attribute>   5748                 </attribute>
5659         </optional>   5749         </optional>
5660 </define>   5750 </define>
5661 7.3.2Table of Content Entry Template   5751 7.3.2Table of Content Entry Template
5662 The <text:table-of-content-entry-template> element determines the format of an index entry for a particular outline level. For each table of content, there must not be more than one element for any outline level. (See below.)   5752 The <text:table-of-content-entry-template> element determines the format of an index entry for a particular outline level. For each table of content, there must not be more than one element for any outline level. (See below.)
5663 <define name="text-table-of-content-entry-template">   5753 <define name="text-table-of-content-entry-template">
5664         <element name="text:table-of-content-entry-template">   5754         <element name="text:table-of-content-entry-template">
5665                 <ref name="text-table-of-content-entry-template-attlist"/>   5755                 <ref name="text-table-of-content-entry-template-attlist"/>
5666                 <zeroOrMore>   5756                 <zeroOrMore>
5667                         <ref name="text-table-of-content-children"/>   5757                         <ref name="text-table-of-content-children"/>
5668     5758  
5669                 </zeroOrMore>   5759                 </zeroOrMore>
5670         </element>   5760         </element>
5671 </define>   5761 </define>
5672 A table of content entry template supports the following kinds of text elements:   5762 A table of content entry template supports the following kinds of text elements:
5673 Chapter and Page Number   5763 Chapter and Page Number
5674 Reference Text   5764 Reference Text
5675 Text Span   5765 Text Span
5676 Tab   5766 Tab
5677 Hyperlink start and end   5767 Hyperlink start and end
5678 <define name="text-table-of-content-children">   5768 <define name="text-table-of-content-children">
5679         <choice>   5769         <choice>
5680                 <ref name="text-index-entry-chapter"/>   5770                 <ref name="text-index-entry-chapter"/>
5681                 <ref name="text-index-entry-page-number"/>   5771                 <ref name="text-index-entry-page-number"/>
5682                 <ref name="text-index-entry-text"/>   5772                 <ref name="text-index-entry-text"/>
5683                 <ref name="text-index-entry-span"/>   5773                 <ref name="text-index-entry-span"/>
5684                 <ref name="text-index-entry-tab-stop"/>   5774                 <ref name="text-index-entry-tab-stop"/>
5685                 <ref name="text-index-entry-link-start"/>   5775                 <ref name="text-index-entry-link-start"/>
5686                 <ref name="text-index-entry-link-end"/>   5776                 <ref name="text-index-entry-link-end"/>
5687         </choice>   5777         </choice>
5688 </define>   5778 </define>
5689 The attributes that may be associated associate with the <text:table-of-content-entry-template> element are:   5779 The attributes that may be associated associate with the <text:table-of-content-entry-template> element are:
5690 Template outline level   5780 Template outline level
5691 Paragraph style   5781 Paragraph style
5692 Template Outline Level   5782 Template Outline Level
5693 This attribute specifies to which outline level the entry configuration applies. Outline levels must be unique for the template elements in one index source.   5783 This attribute specifies to which outline level the entry configuration applies. Outline levels must be unique for the template elements in one index source.
5694 <define name="text-table-of-content-entry-template-attlist"   5784 <define name="text-table-of-content-entry-template-attlist"
5695                 combine="interleave">   5785                 combine="interleave">
5696         <attribute name="text:outline-level">   5786         <attribute name="text:outline-level">
5697                 <ref name="positiveInteger"/>   5787                 <ref name="positiveInteger"/>
5698         </attribute>   5788         </attribute>
5699 </define>   5789 </define>
5700 Paragraph Style   5790 Paragraph Style
5701 The text:style-name attribute specifies the paragraph style to use for this template.   5791 The text:style-name attribute specifies the paragraph style to use for this template.
5702 <define name="text-table-of-content-entry-template-attlist"   5792 <define name="text-table-of-content-entry-template-attlist"
5703                 combine="interleave">   5793                 combine="interleave">
5704         <attribute name="text:style-name">   5794         <attribute name="text:style-name">
5705                 <ref name="styleNameRef"/>   5795                 <ref name="styleNameRef"/>
5706         </attribute>   5796         </attribute>
5707 </define>   5797 </define>
5708 7.4Index of Illustrations   5798 7.4Index of Illustrations
5709 The index of illustrations lists all images and graphics in the current document or chapter. The index entries can be derived from the caption of the illustration or the name of the illustration.   5799 The index of illustrations lists all images and graphics in the current document or chapter. The index entries can be derived from the caption of the illustration or the name of the illustration.
5710 The attribute that may be  attached to the <text:illustration-index> element is:   5800 The attribute that may be  attached to the <text:illustration-index> element is:
5711 text:style-name   5801 text:style-name
5712 This attribute specifies the section style to use for the index of illustrations.   5802 This attribute specifies the section style to use for the index of illustrations.
5713 <define name="text-illustration-index">   5803 <define name="text-illustration-index">
5714         <element name="text:illustration-index">   5804         <element name="text:illustration-index">
5715                 <ref name="sectionAttr"/>   5805                 <ref name="sectionAttr"/>
5716                 <ref name="text-illustration-index-source"/>   5806                 <ref name="text-illustration-index-source"/>
5717                 <ref name="text-index-body"/>   5807                 <ref name="text-index-body"/>
5718         </element>   5808         </element>
5719 </define>   5809 </define>
5720 7.4.1Index of Illustration Source   5810 7.4.1Index of Illustration Source
5721 The <text:illustration-index-source> element specifies how the index of illustrations is generated.   5811 The <text:illustration-index-source> element specifies how the index of illustrations is generated.
5722 <define name="text-illustration-index-source">   5812 <define name="text-illustration-index-source">
5723         <element name="text:illustration-index-source">   5813         <element name="text:illustration-index-source">
5724                 <ref name="text-illustration-index-source-attrs"/>   5814                 <ref name="text-illustration-index-source-attrs"/>
5725                 <optional>   5815                 <optional>
5726                         <ref name="text-index-title-template"/>   5816                         <ref name="text-index-title-template"/>
5727                 </optional>   5817                 </optional>
5728                 <optional>   5818                 <optional>
5729                         <ref name="text-illustration-index-entry-template"/>   5819                         <ref name="text-illustration-index-entry-template"/>
5730                 </optional>   5820                 </optional>
5731         </element>   5821         </element>
5732 </define>   5822 </define>
5733 The attributes that may be associated with a <text:illustration-index-source> element are:   5823 The attributes that may be associated with a <text:illustration-index-source> element are:
5734 Use caption   5824 Use caption
5735 Caption sequence name   5825 Caption sequence name
5736 Caption sequence format   5826 Caption sequence format
5737 Index scope   5827 Index scope
5738 This attribute specifies whether the index applies to the entire document or only the the current chapter.   5828 This attribute specifies whether the index applies to the entire document or only the the current chapter.
5739 text:relative-tab-stop-position   5829 text:relative-tab-stop-position
5740 This attribute specifies whether the position of tab stops are interpreted relative to the left margin or the left indent.   5830 This attribute specifies whether the position of tab stops are interpreted relative to the left margin or the left indent.
5741 <define name="text-illustration-index-source-attrs" combine="interleave">   5831 <define name="text-illustration-index-source-attrs" combine="interleave">
5742         <ref name="text-index-scope-attr"/>   5832         <ref name="text-index-scope-attr"/>
5743 </define>   5833 </define>
5744 <define name="text-index-scope-attr">   5834 <define name="text-index-scope-attr">
5745         <optional>   5835         <optional>
5746                 <attribute name="text:index-scope" a:defaultValue="document">   5836                 <attribute name="text:index-scope" a:defaultValue="document">
5747                         <choice>   5837                         <choice>
5748                                 <value>document</value>   5838                                 <value>document</value>
5749                                 <value>chapter</value>   5839                                 <value>chapter</value>
5750                         </choice>   5840                         </choice>
5751                 </attribute>   5841                 </attribute>
5752         </optional>   5842         </optional>
5753 </define>   5843 </define>
5754 <define name="text-illustration-index-source-attrs" combine="interleave">   5844 <define name="text-illustration-index-source-attrs" combine="interleave">
5755         <ref name="text-relative-tab-stop-position-attr"/>   5845         <ref name="text-relative-tab-stop-position-attr"/>
5756 </define>   5846 </define>
5757 <define name="text-relative-tab-stop-position-attr">   5847 <define name="text-relative-tab-stop-position-attr">
5758         <optional>   5848         <optional>
5759                 <attribute name="text:relative-tab-stop-position"   5849                 <attribute name="text:relative-tab-stop-position"
5760                            a:defaultValue="true">   5850                            a:defaultValue="true">
5761                         <ref name="boolean"/>   5851                         <ref name="boolean"/>
5762                 </attribute>   5852                 </attribute>
5763         </optional>   5853         </optional>
5764 </define>   5854 </define>
5765 Use Caption   5855 Use Caption
5766 Each object contained in a text document has a name. In addition, images also have a caption. The image caption or the image name can be gathered for the index of illustrations.   5856 Each object contained in a text document has a name. In addition, images also have a caption. The image caption or the image name can be gathered for the index of illustrations.
5767 <define name="text-illustration-index-source-attrs" combine="interleave">   5857 <define name="text-illustration-index-source-attrs" combine="interleave">
5768         <optional>   5858         <optional>
5769                 <attribute name="text:use-caption" a:defaultValue="true">   5859                 <attribute name="text:use-caption" a:defaultValue="true">
5770                         <ref name="boolean"/>   5860                         <ref name="boolean"/>
5771                 </attribute>   5861                 </attribute>
5772         </optional>   5862         </optional>
5773 </define>   5863 </define>
5774 Caption Sequence Name   5864 Caption Sequence Name
5775 Captions are associated with a sequence name. If the text:use-caption attribute is set to true, this attribute must be used to specify the sequence with which the captions are associated.   5865 Captions are associated with a sequence name. If the text:use-caption attribute is set to true, this attribute must be used to specify the sequence with which the captions are associated.
5776 If this attribute is omitted, the default sequence for the object type is used, for example the sequence “Illustration” is used for illustrations.   5866 If this attribute is omitted, the default sequence for the object type is used, for example the sequence “Illustration” is used for illustrations.
5777 <define name="text-illustration-index-source-attrs" combine="interleave">   5867 <define name="text-illustration-index-source-attrs" combine="interleave">
5778         <optional>   5868         <optional>
5779                 <attribute name="text:caption-sequence-name">   5869                 <attribute name="text:caption-sequence-name">
5780                         <ref name="string"/>   5870                         <ref name="string"/>
5781                 </attribute>   5871                 </attribute>
5782         </optional>   5872         </optional>
5783 </define>   5873 </define>
5784 Caption Sequence Format   5874 Caption Sequence Format
5785 If the entries for the index of illustrations are obtained from the image captions, this attribute must be used to specify the format for the entries.   5875 If the entries for the index of illustrations are obtained from the image captions, this attribute must be used to specify the format for the entries.
5786 <define name="text-illustration-index-source-attrs" combine="interleave">   5876 <define name="text-illustration-index-source-attrs" combine="interleave">
5787         <optional>   5877         <optional>
5788                 <attribute name="text:caption-sequence-format">   5878                 <attribute name="text:caption-sequence-format">
5789                         <choice>   5879                         <choice>
5790                                 <value>text</value>   5880                                 <value>text</value>
5791                                 <value>category-and-value</value>   5881                                 <value>category-and-value</value>
5792                                 <value>caption</value>   5882                                 <value>caption</value>
5793                         </choice>   5883                         </choice>
5794                 </attribute>   5884                 </attribute>
5795         </optional>   5885         </optional>
5796 </define>   5886 </define>
5797 7.4.2Illustration Index Entry Template   5887 7.4.2Illustration Index Entry Template
5798 The illustration index entry template element determines the format of an index entry for a particular outline level.   5888 The illustration index entry template element determines the format of an index entry for a particular outline level.
5799 <define name="text-illustration-index-entry-template">   5889 <define name="text-illustration-index-entry-template">
5800         <element name="text:illustration-index-entry-template">   5890         <element name="text:illustration-index-entry-template">
5801                 <ref name="text-illustration-index-entry-content"/>   5891                 <ref name="text-illustration-index-entry-content"/>
5802         </element>   5892         </element>
5803 </define>   5893 </define>
5804 <define name="text-illustration-index-entry-content">   5894 <define name="text-illustration-index-entry-content">
5805         <ref name="text-illustration-index-entry-template-attrs"/>   5895         <ref name="text-illustration-index-entry-template-attrs"/>
5806         <zeroOrMore>   5896         <zeroOrMore>
5807                 <choice>   5897                 <choice>
5808                         <ref name="text-index-entry-page-number"/>   5898                         <ref name="text-index-entry-page-number"/>
5809                         <ref name="text-index-entry-text"/>   5899                         <ref name="text-index-entry-text"/>
5810                         <ref name="text-index-entry-span"/>   5900                         <ref name="text-index-entry-span"/>
5811                         <ref name="text-index-entry-tab-stop"/>   5901                         <ref name="text-index-entry-tab-stop"/>
5812                 </choice>   5902                 </choice>
5813         </zeroOrMore>   5903         </zeroOrMore>
5814 </define>   5904 </define>
5815 The attribute that may be associated with the <text:illustration-index-entry-template> element is:   5905 The attribute that may be associated with the <text:illustration-index-entry-template> element is:
5816 Paragraph style   5906 Paragraph style
5817 Paragraph Style   5907 Paragraph Style
5818 This attribute identifies the paragraph style to use for this template.   5908 This attribute identifies the paragraph style to use for this template.
5819 <define name="text-illustration-index-entry-template-attrs">   5909 <define name="text-illustration-index-entry-template-attrs">
5820         <attribute name="text:style-name">   5910         <attribute name="text:style-name">
5821                 <ref name="styleNameRef"/>   5911                 <ref name="styleNameRef"/>
5822         </attribute>   5912         </attribute>
5823 </define>   5913 </define>
5824 7.5Index of Tables   5914 7.5Index of Tables
5825 The index of tables lists all of the tables in the current document or chapter. It works in exactly the same way as the index of illustrations.   5915 The index of tables lists all of the tables in the current document or chapter. It works in exactly the same way as the index of illustrations.
5826 <define name="text-table-index">   5916 <define name="text-table-index">
5827         <element name="text:table-index">   5917         <element name="text:table-index">
5828                 <ref name="sectionAttr"/>   5918                 <ref name="sectionAttr"/>
5829                 <ref name="text-table-index-source"/>   5919                 <ref name="text-table-index-source"/>
5830                 <ref name="text-index-body"/>   5920                 <ref name="text-index-body"/>
5831         </element>   5921         </element>
5832 </define>   5922 </define>
5833 7.5.1Table Index Source   5923 7.5.1Table Index Source
5834 The <text:table-index-source> element specifies how the index of tables is generated.   5924 The <text:table-index-source> element specifies how the index of tables is generated.
5835 The attributes that may be associated with this element are the same as those that can be associated with the <text:illustration-index-source> element. See section 7.4.1 for detailed information about these attributes.   5925 The attributes that may be associated with this element are the same as those that can be associated with the <text:illustration-index-source> element. See section 7.4.1 for detailed information about these attributes.
5836 <define name="text-table-index-source">   5926 <define name="text-table-index-source">
5837         <element name="text:table-index-source">   5927         <element name="text:table-index-source">
5838                 <ref name="text-illustration-index-source-attrs"/>   5928                 <ref name="text-illustration-index-source-attrs"/>
5839                 <optional>   5929                 <optional>
5840                         <ref name="text-index-title-template"/>   5930                         <ref name="text-index-title-template"/>
5841                 </optional>   5931                 </optional>
5842                 <optional>   5932                 <optional>
5843                         <ref name="text-table-index-entry-template"/>   5933                         <ref name="text-table-index-entry-template"/>
5844                 </optional>   5934                 </optional>
5845         </element>   5935         </element>
5846 </define>   5936 </define>
5847 7.5.2Table Index Entry Template   5937 7.5.2Table Index Entry Template
5848 The table index entry template element determines the format of an index entry for a particular outline level.   5938 The table index entry template element determines the format of an index entry for a particular outline level.
5849 The attributes that may be associated with this element are the same as those that can be associated with the <text:illustration-index-entry-template> element. See section 7.4.2 for detailed information about these attributes.   5939 The attributes that may be associated with this element are the same as those that can be associated with the <text:illustration-index-entry-template> element. See section 7.4.2 for detailed information about these attributes.
5850 <define name="text-table-index-entry-template">   5940 <define name="text-table-index-entry-template">
5851         <element name="text:table-index-entry-template">   5941         <element name="text:table-index-entry-template">
5852                 <ref name="text-illustration-index-entry-content"/>   5942                 <ref name="text-illustration-index-entry-content"/>
5853         </element>   5943         </element>
5854 </define>   5944 </define>
5855 7.6Index of Objects   5945 7.6Index of Objects
5856 The index of objects lists all of the objects in the current document or chapter. It gathers its entries from the known object types.   5946 The index of objects lists all of the objects in the current document or chapter. It gathers its entries from the known object types.
5857 <define name="text-object-index">   5947 <define name="text-object-index">
5858         <element name="text:object-index">   5948         <element name="text:object-index">
5859                 <ref name="sectionAttr"/>   5949                 <ref name="sectionAttr"/>
5860                 <ref name="text-object-index-source"/>   5950                 <ref name="text-object-index-source"/>
5861                 <ref name="text-index-body"/>   5951                 <ref name="text-index-body"/>
5862         </element>   5952         </element>
5863 </define>   5953 </define>
5864 7.6.1Object Index Source   5954 7.6.1Object Index Source
5865 The <text:object-index-source> element determines which object types to include in the index of objects. It also supports the standard index source attributes.   5955 The <text:object-index-source> element determines which object types to include in the index of objects. It also supports the standard index source attributes.
5866 <define name="text-object-index-source">   5956 <define name="text-object-index-source">
5867         <element name="text:object-index-source">   5957         <element name="text:object-index-source">
5868                 <ref name="text-object-index-source-attrs"/>   5958                 <ref name="text-object-index-source-attrs"/>
5869                 <optional>   5959                 <optional>
5870                         <ref name="text-index-title-template"/>   5960                         <ref name="text-index-title-template"/>
5871                 </optional>   5961                 </optional>
5872                 <optional>   5962                 <optional>
5873                         <ref name="text-object-index-entry-template"/>   5963                         <ref name="text-object-index-entry-template"/>
5874                 </optional>   5964                 </optional>
5875         </element>   5965         </element>
5876 </define>   5966 </define>
5877 The attributes that may be associated with the <text:object-index-source> element are:   5967 The attributes that may be associated with the <text:object-index-source> element are:
5878 Use attributes, text:use-*-objects   5968 Use attributes, text:use-*-objects
5879 Index scope (see section 7.4.1)   5969 Index scope (see section 7.4.1)
5880 This attribute specifies whether the index applies to the entire document or only the the current chapter.   5970 This attribute specifies whether the index applies to the entire document or only the the current chapter.
5881 Relative tab stop position (see section 7.4.1)   5971 Relative tab stop position (see section 7.4.1)
5882 This attribute specifies whether the position of tab stops are interpreted relative to the left margin or the left indent.   5972 This attribute specifies whether the position of tab stops are interpreted relative to the left margin or the left indent.
5883 <define name="text-object-index-source-attrs" combine="interleave">   5973 <define name="text-object-index-source-attrs" combine="interleave">
5884         <ref name="text-index-scope-attr"/>   5974         <ref name="text-index-scope-attr"/>
5885 </define>   5975 </define>
5886 <define name="text-object-index-source-attrs" combine="interleave">   5976 <define name="text-object-index-source-attrs" combine="interleave">
5887         <ref name="text-relative-tab-stop-position-attr"/>   5977         <ref name="text-relative-tab-stop-position-attr"/>
5888 </define>   5978 </define>
5889 Use Attributes   5979 Use Attributes
5890 The text:use-*-objects attributes specify which types of objects to include in the index of objects. There is an attribute for each type of object as follows:   5980 The text:use-*-objects attributes specify which types of objects to include in the index of objects. There is an attribute for each type of object as follows:
5891 text:use-spreadsheet-objects   5981 text:use-spreadsheet-objects
5892 text:use-draw-objects   5982 text:use-draw-objects
5893 text:use-chart-objects   5983 text:use-chart-objects
5894 text:use-math-objects   5984 text:use-math-objects
5895 Other objects are included or omitted using the following attribute:   5985 Other objects are included or omitted using the following attribute:
5896 text:use-other-objects   5986 text:use-other-objects
5897 <define name="text-object-index-source-attrs" combine="interleave">   5987 <define name="text-object-index-source-attrs" combine="interleave">
5898         <optional>   5988         <optional>
5899                 <attribute name="text:use-spreadsheet-objects" a:defaultValue="false">   5989                 <attribute name="text:use-spreadsheet-objects" a:defaultValue="false">
5900                         <ref name="boolean"/>   5990                         <ref name="boolean"/>
5901                 </attribute>   5991                 </attribute>
5902         </optional>   5992         </optional>
5903 </define>   5993 </define>
5904 <define name="text-object-index-source-attrs" combine="interleave">   5994 <define name="text-object-index-source-attrs" combine="interleave">
5905         <optional>   5995         <optional>
5906                 <attribute name="text:use-math-objects" a:defaultValue="false">   5996                 <attribute name="text:use-math-objects" a:defaultValue="false">
5907                         <ref name="boolean"/>   5997                         <ref name="boolean"/>
5908                 </attribute>   5998                 </attribute>
5909         </optional>   5999         </optional>
5910 </define>   6000 </define>
5911 <define name="text-object-index-source-attrs" combine="interleave">   6001 <define name="text-object-index-source-attrs" combine="interleave">
5912         <optional>   6002         <optional>
5913                 <attribute name="text:use-draw-objects" a:defaultValue="false">   6003                 <attribute name="text:use-draw-objects" a:defaultValue="false">
5914                         <ref name="boolean"/>   6004                         <ref name="boolean"/>
5915                 </attribute>   6005                 </attribute>
5916         </optional>   6006         </optional>
5917 </define>   6007 </define>
5918 <define name="text-object-index-source-attrs" combine="interleave">   6008 <define name="text-object-index-source-attrs" combine="interleave">
5919         <optional>   6009         <optional>
5920                 <attribute name="text:use-chart-objects" a:defaultValue="false">   6010                 <attribute name="text:use-chart-objects" a:defaultValue="false">
5921                         <ref name="boolean"/>   6011                         <ref name="boolean"/>
5922                 </attribute>   6012                 </attribute>
5923         </optional>   6013         </optional>
5924 </define>   6014 </define>
5925 <define name="text-object-index-source-attrs" combine="interleave">   6015 <define name="text-object-index-source-attrs" combine="interleave">
5926         <optional>   6016         <optional>
5927                 <attribute name="text:use-other-objects" a:defaultValue="false">   6017                 <attribute name="text:use-other-objects" a:defaultValue="false">
5928                         <ref name="boolean"/>   6018                         <ref name="boolean"/>
5929                 </attribute>   6019                 </attribute>
5930         </optional>   6020         </optional>
5931 </define>   6021 </define>
5932 7.6.2Object Index Entry Template   6022 7.6.2Object Index Entry Template
5933 The object index entry template element determines the format of an index entry for a particular outline level.   6023 The object index entry template element determines the format of an index entry for a particular outline level.
5934 <define name="text-object-index-entry-template">   6024 <define name="text-object-index-entry-template">
5935         <element name="text:object-index-entry-template">   6025         <element name="text:object-index-entry-template">
5936                 <ref name="text-illustration-index-entry-content"/>   6026                 <ref name="text-illustration-index-entry-content"/>
5937         </element>   6027         </element>
5938 </define>   6028 </define>
5939 The attributes that may be associated with this element are the same as those that can be associated with the <text:illustration-index-entry-template> element. See section 7.4.2 for detailed information about these attributes.   6029 The attributes that may be associated with this element are the same as those that can be associated with the <text:illustration-index-entry-template> element. See section 7.4.2 for detailed information about these attributes.
5940 7.7User-Defined Index   6030 7.7User-Defined Index
5941 A user-defined index combines the capabilities of the indexes discussed earlier in this chapter. A user-defined index can gather entries from the following sources:   6031 A user-defined index combines the capabilities of the indexes discussed earlier in this chapter. A user-defined index can gather entries from the following sources:
5942 Index marks   6032 Index marks
5943 Paragraphs formatted using particular paragraph styles   6033 Paragraphs formatted using particular paragraph styles
5944 Tables, images, or objects   6034 Tables, images, or objects
5945 Text frames   6035 Text frames
5946 The <text:user-index> element represents a user-defined index.   6036 The <text:user-index> element represents a user-defined index.
5947 <define name="text-user-index">   6037 <define name="text-user-index">
5948         <element name="text:user-index">   6038         <element name="text:user-index">
5949                 <ref name="sectionAttr"/>   6039                 <ref name="sectionAttr"/>
5950                 <ref name="text-user-index-source"/>   6040                 <ref name="text-user-index-source"/>
5951                 <ref name="text-index-body"/>   6041                 <ref name="text-index-body"/>
5952         </element>   6042         </element>
5953 </define>   6043 </define>
5954 7.7.1User-Defined Index Source   6044 7.7.1User-Defined Index Source
5955 The <text:user-index-source> element can contain several attributes that determine how the index entries are gathered. It also supports an attribute that determines how the outline levels of the index entries are gathered.   6045 The <text:user-index-source> element can contain several attributes that determine how the index entries are gathered. It also supports an attribute that determines how the outline levels of the index entries are gathered.
5956 The paragraph formats that are used as index marks are encoded in <text:index-source-styles> elements, just like in <text:table-of-content-source> elements.   6046 The paragraph formats that are used as index marks are encoded in <text:index-source-styles> elements, just like in <text:table-of-content-source> elements.
5957 <define name="text-user-index-source">   6047 <define name="text-user-index-source">
5958         <element name="text:user-index-source">   6048         <element name="text:user-index-source">
5959                 <ref name="text-user-index-source-attr"/>   6049                 <ref name="text-user-index-source-attr"/>
5960                 <optional>   6050                 <optional>
5961                         <ref name="text-index-title-template"/>   6051                         <ref name="text-index-title-template"/>
5962                 </optional>   6052                 </optional>
5963                 <zeroOrMore>   6053                 <zeroOrMore>
5964                         <ref name="text-user-index-entry-template"/>   6054                         <ref name="text-user-index-entry-template"/>
5965                 </zeroOrMore>   6055                 </zeroOrMore>
5966                 <zeroOrMore>   6056                 <zeroOrMore>
5967                         <ref name="text-index-source-styles"/>   6057                         <ref name="text-index-source-styles"/>
5968                 </zeroOrMore>   6058                 </zeroOrMore>
5969         </element>   6059         </element>
5970 </define>   6060 </define>
5971 The attributes that may be associated with <text:user-index-source> elements are:   6061 The attributes that may be associated with <text:user-index-source> elements are:
5972 Use attributes, text:use-*   6062 Use attributes, text:use-*
5973 Copy outline level   6063 Copy outline level
5974 Index scope (see section 7.4.1)   6064 Index scope (see section 7.4.1)
5975 This attribute specifies whether the index applies to the entire document or only to the current chapter.   6065 This attribute specifies whether the index applies to the entire document or only to the current chapter.
5976 Index name   6066 Index name
5977 In order to support several user-defined indexes with different contents, user index marks have a text:index-name attribute. The same attribute can be used with a <text:user-index-source> element to specify which index marks apply to the current index.   6067 In order to support several user-defined indexes with different contents, user index marks have a text:index-name attribute. The same attribute can be used with a <text:user-index-source> element to specify which index marks apply to the current index.
5978 Relative tab stop position (see section 7.4.1)   6068 Relative tab stop position (see section 7.4.1)
5979 This attribute specifies whether the position of tab stops are interpreted relative to the left margin or the left indent.   6069 This attribute specifies whether the position of tab stops are interpreted relative to the left margin or the left indent.
5980 <define name="text-user-index-source-attr" combine="interleave">   6070 <define name="text-user-index-source-attr" combine="interleave">
5981         <ref name="text-index-scope-attr"/>   6071         <ref name="text-index-scope-attr"/>
5982         <ref name="text-relative-tab-stop-position-attr"/>   6072         <ref name="text-relative-tab-stop-position-attr"/>
5983         <attribute name="text:index-name">   6073         <attribute name="text:index-name">
5984                 <ref name="string"/>   6074                 <ref name="string"/>
5985         </attribute>   6075         </attribute>
5986 </define>   6076 </define>
5987 Use Attributes   6077 Use Attributes
5988 The text:use-* attributes specify which entries to include in the user-defined index. The following attributes exist:   6078 The text:use-* attributes specify which entries to include in the user-defined index. The following attributes exist:
5989 text:use-index-marks   6079 text:use-index-marks
5990 text:use-graphics   6080 text:use-graphics
5991 text:use-tables   6081 text:use-tables
5992 text:use-floating-frames   6082 text:use-floating-frames
5993 text:use-objects   6083 text:use-objects
5994 <define name="text-user-index-source-attr" combine="interleave">   6084 <define name="text-user-index-source-attr" combine="interleave">
5995         <optional>   6085         <optional>
5996                 <attribute name="text:use-index-marks" a:defaultValue="false">   6086                 <attribute name="text:use-index-marks" a:defaultValue="false">
5997                         <ref name="boolean"/>   6087                         <ref name="boolean"/>
5998                 </attribute>   6088                 </attribute>
5999         </optional>   6089         </optional>
6000         <optional>   6090         <optional>
6001                 <attribute name="text:use-graphics" a:defaultValue="false">   6091                 <attribute name="text:use-graphics" a:defaultValue="false">
6002                         <ref name="boolean"/>   6092                         <ref name="boolean"/>
6003                 </attribute>   6093                 </attribute>
6004         </optional>   6094         </optional>
6005         <optional>   6095         <optional>
6006                 <attribute name="text:use-tables" a:defaultValue="false">   6096                 <attribute name="text:use-tables" a:defaultValue="false">
6007                         <ref name="boolean"/>   6097                         <ref name="boolean"/>
6008                 </attribute>   6098                 </attribute>
6009         </optional>   6099         </optional>
6010         <optional>   6100         <optional>
6011                 <attribute name="text:use-floating-frames"   6101                 <attribute name="text:use-floating-frames"
6012                                          a:defaultValue="false">   6102                                          a:defaultValue="false">
6013                         <ref name="boolean"/>   6103                         <ref name="boolean"/>
6014                 </attribute>   6104                 </attribute>
6015         </optional>   6105         </optional>
6016         <optional>   6106         <optional>
6017                 <attribute name="text:use-objects" a:defaultValue="false">   6107                 <attribute name="text:use-objects" a:defaultValue="false">
6018                         <ref name="boolean"/>   6108                         <ref name="boolean"/>
6019                 </attribute>   6109                 </attribute>
6020         </optional>   6110         </optional>
6021 </define>   6111 </define>
6022 Copy Outline Levels   6112 Copy Outline Levels
6023 This attribute can have a value of true or false.   6113 This attribute can have a value of true or false.
6024 If the value is true, the entries are gathered at the outline level of the source element to which they refer.   6114 If the value is true, the entries are gathered at the outline level of the source element to which they refer.
6025 If the value is false, all index entries gathered are at the top outline level. For example, if an image appears in section 1.2.3, the entry for the image is located at outline level 3.   6115 If the value is false, all index entries gathered are at the top outline level. For example, if an image appears in section 1.2.3, the entry for the image is located at outline level 3.
6026 <define name="text-user-index-source-attr" combine="interleave">   6116 <define name="text-user-index-source-attr" combine="interleave">
6027         <optional>   6117         <optional>
6028                 <attribute name="text:copy-outline-levels"   6118                 <attribute name="text:copy-outline-levels"
6029                                          a:defaultValue="false">   6119                                          a:defaultValue="false">
6030                         <ref name="boolean"/>   6120                         <ref name="boolean"/>
6031                 </attribute>   6121                 </attribute>
6032         </optional>   6122         </optional>
6033 </define>   6123 </define>
6034 7.7.2User-Defined Index Entry Template   6124 7.7.2User-Defined Index Entry Template
6035 User index entry templates support entry elements for chapter number, page number, entry text, text spans, and tab stops.   6125 User index entry templates support entry elements for chapter number, page number, entry text, text spans, and tab stops.
6036 <define name="text-user-index-entry-template">   6126 <define name="text-user-index-entry-template">
6037         <element name="text:user-index-entry-template">   6127         <element name="text:user-index-entry-template">
6038                 <ref name="text-user-index-entry-template-attrs"/>   6128                 <ref name="text-user-index-entry-template-attrs"/>
6039                 <zeroOrMore>   6129                 <zeroOrMore>
6040                         <choice>   6130                         <choice>
6041                                 <ref name="text-index-entry-chapter"/>   6131                                 <ref name="text-index-entry-chapter"/>
6042                                 <ref name="text-index-entry-page-number"/>   6132                                 <ref name="text-index-entry-page-number"/>
6043                                 <ref name="text-index-entry-text"/>   6133                                 <ref name="text-index-entry-text"/>
6044                                 <ref name="text-index-entry-span"/>   6134                                 <ref name="text-index-entry-span"/>
6045                                 <ref name="text-index-entry-tab-stop"/>   6135                                 <ref name="text-index-entry-tab-stop"/>
6046                         </choice>   6136                         </choice>
6047                 </zeroOrMore>   6137                 </zeroOrMore>
6048         </element>   6138         </element>
6049 </define>   6139 </define>
6050 The attributes that may be associated with the <text:user-index-entry-template> elements are:   6140 The attributes that may be associated with the <text:user-index-entry-template> elements are:
6051 Template outline level   6141 Template outline level
6052 Paragraph style   6142 Paragraph style
6053 Template Outline Level   6143 Template Outline Level
6054 The text:outline-level attribute specifies to which outline level this entry configuration applies.   6144 The text:outline-level attribute specifies to which outline level this entry configuration applies.
6055 All <text:outline-level> elements that are contained in the same parent element must specify different outline levels.   6145 All <text:outline-level> elements that are contained in the same parent element must specify different outline levels.
6056 <define name="text-user-index-entry-template-attrs" combine="interleave">   6146 <define name="text-user-index-entry-template-attrs" combine="interleave">
6057         <attribute name="text:outline-level">   6147         <attribute name="text:outline-level">
6058                 <ref name="positiveInteger"/>   6148                 <ref name="positiveInteger"/>
6059         </attribute>   6149         </attribute>
6060 </define>   6150 </define>
6061 Paragraph Style   6151 Paragraph Style
6062 The text:style-name attribute specifies the paragraph style to use for the template.   6152 The text:style-name attribute specifies the paragraph style to use for the template.
6063 <define name="text-user-index-entry-template-attrs" combine="interleave">   6153 <define name="text-user-index-entry-template-attrs" combine="interleave">
6064         <attribute name="text:style-name">   6154         <attribute name="text:style-name">
6065                 <ref name="styleNameRef"/>   6155                 <ref name="styleNameRef"/>
6066         </attribute>   6156         </attribute>
6067 </define>   6157 </define>
6068 7.8Alphabetical Index   6158 7.8Alphabetical Index
6069 An alphabetical index gathers its entries solely from index marks.   6159 An alphabetical index gathers its entries solely from index marks.
6070 <define name="text-alphabetical-index">   6160 <define name="text-alphabetical-index">
6071         <element name="text:alphabetical-index">   6161         <element name="text:alphabetical-index">
6072                 <ref name="sectionAttr"/>   6162                 <ref name="sectionAttr"/>
6073                 <ref name="text-alphabetical-index-source"/>   6163                 <ref name="text-alphabetical-index-source"/>
6074                 <ref name="text-index-body"/>   6164                 <ref name="text-index-body"/>
6075         </element>   6165         </element>
6076 </define>   6166 </define>
6077 7.8.1Alphabetical Index Source   6167 7.8.1Alphabetical Index Source
6078 The <text:alphabetical-index-source> element specifies how the alphabetical index is generated.   6168 The <text:alphabetical-index-source> element specifies how the alphabetical index is generated.
6079 <define name="text-alphabetical-index-source">   6169 <define name="text-alphabetical-index-source">
6080         <element name="text:alphabetical-index-source">   6170         <element name="text:alphabetical-index-source">
6081                 <ref name="text-alphabetical-index-source-attrs"/>   6171                 <ref name="text-alphabetical-index-source-attrs"/>
6082                 <optional>   6172                 <optional>
6083                         <ref name="text-index-title-template"/>   6173                         <ref name="text-index-title-template"/>
6084                 </optional>   6174                 </optional>
6085                 <zeroOrMore>   6175                 <zeroOrMore>
6086                         <ref name="text-alphabetical-index-entry-template"/>   6176                         <ref name="text-alphabetical-index-entry-template"/>
6087                 </zeroOrMore>   6177                 </zeroOrMore>
6088         </element>   6178         </element>
6089 </define>   6179 </define>
6090 The attributes that may be associated with <text:alphabetical-index-source> elements are:   6180 The attributes that may be associated with <text:alphabetical-index-source> elements are:
6091 Ignore case   6181 Ignore case
6092 Main entry style name   6182 Main entry style name
6093 Alphabetical separators   6183 Alphabetical separators
6094 Combine entries attributes   6184 Combine entries attributes
6095 Use keys as entries   6185 Use keys as entries
6096 Capitalize entries   6186 Capitalize entries
6097 Comma separated entries   6187 Comma separated entries
6098 Sort language, country and algorithm   6188 Sort language, country and algorithm
6099 Index scope (see section 7.4.1)   6189 Index scope (see section 7.4.1)
6100 This attribute specifies whether the index applies to the entire document or only to the current chapter.   6190 This attribute specifies whether the index applies to the entire document or only to the current chapter.
6101 Relative tab stop position (see section 7.4.1)   6191 Relative tab stop position (see section 7.4.1)
6102 This attribute specifies whether the position of tab stops are interpreted relative to the left margin or the left indent.   6192 This attribute specifies whether the position of tab stops are interpreted relative to the left margin or the left indent.
6103 <define name="text-alphabetical-index-source-attrs" combine="interleave">   6193 <define name="text-alphabetical-index-source-attrs" combine="interleave">
6104         <ref name="text-index-scope-attr"/>   6194         <ref name="text-index-scope-attr"/>
6105         <ref name="text-relative-tab-stop-position-attr"/>   6195         <ref name="text-relative-tab-stop-position-attr"/>
6106 </define>   6196 </define>
6107 Ignore Case   6197 Ignore Case
6108 The text:ignore-case attribute determines whether or not the capitalization of words is ignored. If the value is true, the capitalization is ignored and entries that are identical except for character case are listed as the same entries. If the value is false, the capitalization of words is not ignored.   6198 The text:ignore-case attribute determines whether or not the capitalization of words is ignored. If the value is true, the capitalization is ignored and entries that are identical except for character case are listed as the same entries. If the value is false, the capitalization of words is not ignored.
6109 <define name="text-alphabetical-index-source-attrs" combine="interleave">   6199 <define name="text-alphabetical-index-source-attrs" combine="interleave">
6110         <optional>   6200         <optional>
6111                 <attribute name="text:ignore-case" a:defaultValue="false">   6201                 <attribute name="text:ignore-case" a:defaultValue="false">
6112                         <ref name="boolean"/>   6202                         <ref name="boolean"/>
6113                 </attribute>   6203                 </attribute>
6114         </optional>   6204         </optional>
6115 </define>   6205 </define>
6116 Main Entry Style Name   6206 Main Entry Style Name
6117 The text:main-entry-style-name attribute determines the character style to use for main entries. Sub entries are formatted using the default character style determined by the paragraph style of the entries.   6207 The text:main-entry-style-name attribute determines the character style to use for main entries. Sub entries are formatted using the default character style determined by the paragraph style of the entries.
6118 <define name="text-alphabetical-index-source-attrs" combine="interleave">   6208 <define name="text-alphabetical-index-source-attrs" combine="interleave">
6119         <optional>   6209         <optional>
6120                 <attribute name="text:main-entry-style-name">   6210                 <attribute name="text:main-entry-style-name">
6121                         <ref name="styleNameRef"/>   6211                         <ref name="styleNameRef"/>
6122                 </attribute>   6212                 </attribute>
6123         </optional>   6213         </optional>
6124 </define>   6214 </define>
6125 Alphabetical Separators   6215 Alphabetical Separators
6126 The text:alphabetical-separators attribute determines whether or not entries beginning with the same letter are grouped and separated from the entries beginning with the next letter, and so on.   6216 The text:alphabetical-separators attribute determines whether or not entries beginning with the same letter are grouped and separated from the entries beginning with the next letter, and so on.
6127 The value of this attribute can be true or false.   6217 The value of this attribute can be true or false.
6128 If the value is true, all entries beginning with the same letter are grouped together. The index contains headings for each section, for example, A for all entries starting with the letter A, B for all entries starting with the letter B, and so on.   6218 If the value is true, all entries beginning with the same letter are grouped together. The index contains headings for each section, for example, A for all entries starting with the letter A, B for all entries starting with the letter B, and so on.
6129 <define name="text-alphabetical-index-source-attrs" combine="interleave">   6219 <define name="text-alphabetical-index-source-attrs" combine="interleave">
6130         <optional>   6220         <optional>
6131                 <attribute name="text:alphabetical-separators" a:defaultValue="false">   6221                 <attribute name="text:alphabetical-separators" a:defaultValue="false">
6132                         <ref name="boolean"/>   6222                         <ref name="boolean"/>
6133                 </attribute>   6223                 </attribute>
6134         </optional>   6224         </optional>
6135 </define>   6225 </define>
6136 Combining Entries   6226 Combining Entries
6137 There are several options for dealing with the common situation where there are multiple index entries for the same word or phrase, as follows:   6227 There are several options for dealing with the common situation where there are multiple index entries for the same word or phrase, as follows:
6138 Multiple entries for the same word can be combined into a single entry using the text:combine-entries attribute.   6228 Multiple entries for the same word can be combined into a single entry using the text:combine-entries attribute.
6139 The pages referenced by a combined entry can be formatted as:   6229 The pages referenced by a combined entry can be formatted as:
6140 As a range of numbers separated by a dash using the text:combine-entries-with-dash attribute   6230 As a range of numbers separated by a dash using the text:combine-entries-with-dash attribute
6141 As the start number with a pp label, or the appropriate label for the chosen language, using the text:combine-entries-with-pp attribute   6231 As the start number with a pp label, or the appropriate label for the chosen language, using the text:combine-entries-with-pp attribute
6142 <define name="text-alphabetical-index-source-attrs" combine="interleave">   6232 <define name="text-alphabetical-index-source-attrs" combine="interleave">
6143         <optional>   6233         <optional>
6144                 <attribute name="text:combine-entries" a:defaultValue="true">   6234                 <attribute name="text:combine-entries" a:defaultValue="true">
6145                         <ref name="boolean"/>   6235                         <ref name="boolean"/>
6146                 </attribute>   6236                 </attribute>
6147         </optional>   6237         </optional>
6148         <optional>   6238         <optional>
6149                 <attribute name="text:combine-entries-with-dash"   6239                 <attribute name="text:combine-entries-with-dash"
6150                            a:defaultValue="false">   6240                            a:defaultValue="false">
6151                         <ref name="boolean"/>   6241                         <ref name="boolean"/>
6152                 </attribute>   6242                 </attribute>
6153         </optional>   6243         </optional>
6154         <optional>   6244         <optional>
6155                 <attribute name="text:combine-entries-with-pp" a:defaultValue="true">   6245                 <attribute name="text:combine-entries-with-pp" a:defaultValue="true">
6156                         <ref name="boolean"/>   6246                         <ref name="boolean"/>
6157                 </attribute>   6247                 </attribute>
6158         </optional>   6248         </optional>
6159 </define>   6249 </define>
6160 Example: Combining index entries   6250 Example: Combining index entries
6161 An index mark for the word “XML” occurs on pages 45, 46, 47, and 48. The entries can be formatted as follows:   6251 An index mark for the word “XML” occurs on pages 45, 46, 47, and 48. The entries can be formatted as follows:
6162 Entry formatted as   6252 Entry formatted as
6163 Result   6253 Result
6164 Separate entries   6254 Separate entries
6165 XML 45   6255 XML 45
6166 XML 46   6256 XML 46
6167 etc.   6257 etc.
6168 Simple combined entries   6258 Simple combined entries
6169 XML 45, 46, 47, 48   6259 XML 45, 46, 47, 48
6170 Entries combined with dash   6260 Entries combined with dash
6171 XML 45-48   6261 XML 45-48
6172 Entries combined with pp   6262 Entries combined with pp
6173 XML 45pp   6263 XML 45pp
6174 Use Keys as Entries   6264 Use Keys as Entries
6175 In addition to a keyword, index marks can have up to two keys. If the value of this attribute is true, the keys are used as additional entries. If the value of this attribute is false, the keys are used as sub entries.   6265 In addition to a keyword, index marks can have up to two keys. If the value of this attribute is true, the keys are used as additional entries. If the value of this attribute is false, the keys are used as sub entries.
6176 <define name="text-alphabetical-index-source-attrs" combine="interleave">   6266 <define name="text-alphabetical-index-source-attrs" combine="interleave">
6177         <optional>   6267         <optional>
6178                 <attribute name="text:use-keys-as-entries" a:defaultValue="false">   6268                 <attribute name="text:use-keys-as-entries" a:defaultValue="false">
6179                         <ref name="boolean"/>   6269                         <ref name="boolean"/>
6180                 </attribute>   6270                 </attribute>
6181         </optional>   6271         </optional>
6182 </define>   6272 </define>
6183 Capitalize Entries   6273 Capitalize Entries
6184 The text:capitalize-entries attribute determines whether or not the entries in the index are to be capitalized.   6274 The text:capitalize-entries attribute determines whether or not the entries in the index are to be capitalized.
6185 <define name="text-alphabetical-index-source-attrs" combine="interleave">   6275 <define name="text-alphabetical-index-source-attrs" combine="interleave">
6186         <optional>   6276         <optional>
6187                 <attribute name="text:capitalize-entries" a:defaultValue="false">   6277                 <attribute name="text:capitalize-entries" a:defaultValue="false">
6188                         <ref name="boolean"/>   6278                         <ref name="boolean"/>
6189                 </attribute>   6279                 </attribute>
6190         </optional>   6280         </optional>
6191 </define>   6281 </define>
6192 Comma Separated Entries   6282 Comma Separated Entries
6193 The text:comma-separated attribute specifies how to treat multiple index entries. Instead of listing each index entry on a separate line, multiple entries can be listed on a single line separated by a comma. If the value of this attribute is true, multiple entries are listed on a single line separated by a comma. By default, the value of this attribute is false and each index entry is displayed on a separate line.   6283 The text:comma-separated attribute specifies how to treat multiple index entries. Instead of listing each index entry on a separate line, multiple entries can be listed on a single line separated by a comma. If the value of this attribute is true, multiple entries are listed on a single line separated by a comma. By default, the value of this attribute is false and each index entry is displayed on a separate line.
6194 <define name="text-alphabetical-index-source-attrs" combine="interleave">   6284 <define name="text-alphabetical-index-source-attrs" combine="interleave">
6195         <optional>   6285         <optional>
6196                 <attribute name="text:comma-separated" a:defaultValue="false">   6286                 <attribute name="text:comma-separated" a:defaultValue="false">
6197                         <ref name="boolean"/>   6287                         <ref name="boolean"/>
6198                 </attribute>   6288                 </attribute>
6199         </optional>   6289         </optional>
6200 </define>   6290 </define>
6201 Sort country, Language, and Algorithm   6291 Sort country, Language, and Algorithm
6202 If index entries are to be sorted, these attributes can be used to specify the sorting. The attributes country and language specify the sorting locale. For some locales, there are multiple sorting algorithms in use. In this case, the algorithm attribute can be used to specify an algorithm by name.   6292 If index entries are to be sorted, these attributes can be used to specify the sorting. The attributes country and language specify the sorting locale. For some locales, there are multiple sorting algorithms in use. In this case, the algorithm attribute can be used to specify an algorithm by name.
6203 <define name="text-alphabetical-index-source-attrs" combine="interleave">   6293 <define name="text-alphabetical-index-source-attrs" combine="interleave">
6204         <optional>   6294         <optional>
6205                 <attribute name="fo:language">   6295                 <attribute name="fo:language">
6206                         <ref name="languageCode"/>   6296                         <ref name="languageCode"/>
6207                 </attribute>   6297                 </attribute>
6208         </optional>   6298         </optional>
6209 </define>   6299 </define>
6210 <define name="text-alphabetical-index-source-attrs" combine="interleave">   6300 <define name="text-alphabetical-index-source-attrs" combine="interleave">
6211         <optional>   6301         <optional>
6212                 <attribute name="fo:country">   6302                 <attribute name="fo:country">
6213                         <ref name="countryCode"/>   6303                         <ref name="countryCode"/>
6214                 </attribute>   6304                 </attribute>
6215         </optional>   6305         </optional>
6216 </define>   6306 </define>
6217 <define name="text-alphabetical-index-source-attrs" combine="interleave">   6307 <define name="text-alphabetical-index-source-attrs" combine="interleave">
6218         <optional>   6308         <optional>
6219                 <attribute name="text:sort-algorithm">   6309                 <attribute name="text:sort-algorithm">
6220                         <ref name="string"/>   6310                         <ref name="string"/>
6221                 </attribute>   6311                 </attribute>
6222         </optional>   6312         </optional>
6223 </define>   6313 </define>
6224 7.8.2Auto Mark File   6314 7.8.2Auto Mark File
6225 The alphabetical index supports a so-called auto mark file. Such a file contains a list of terms, and each occurrence of such a term is to be included in the alphabetical index. The alphabetical index mark file is declared as part of the text declarations (see section 4.7). The declaration element in an XLink, which points to the resource containing the list of terms. <> 6315 The alphabetical index supports a so-called auto mark file. Such a file contains a list of terms, and each occurrence of such a term is to be included in the alphabetical index. The alphabetical index mark file is declared as part of the text declarations (see section 4.8). The declaration element in an XLink, which points to the resource containing the list of terms.
6226 <define name="text-alphabetical-index-auto-mark-file"> = 6316 <define name="text-alphabetical-index-auto-mark-file">
6227         <element name="text:alphabetical-index-auto-mark-file">   6317         <element name="text:alphabetical-index-auto-mark-file">
6228                 <attribute name="xlink:href">   6318                 <attribute name="xlink:href">
6229                         <ref name="anyURI"/>   6319                         <ref name="anyURI"/>
6230                 </attribute>   6320                 </attribute>
6231                 <optional>   6321                 <optional>
6232                         <attribute name="xlink:type" a:defaultValue="simple">   6322                         <attribute name="xlink:type" a:defaultValue="simple">
6233                                 <value>simple</value>   6323                                 <value>simple</value>
6234                         </attribute>   6324                         </attribute>
6235                 </optional>   6325                 </optional>
6236         </element>   6326         </element>
6237 </define>   6327 </define>
6238 7.8.3Alphabetical Index Entry Template   6328 7.8.3Alphabetical Index Entry Template
6239 Alphabetical indexes support three levels; one level for the main index entry, and up to two additional levels for keys associated with the index entries. Alphabetical indexes also use an entry template for the alphabetical separator.   6329 Alphabetical indexes support three levels; one level for the main index entry, and up to two additional levels for keys associated with the index entries. Alphabetical indexes also use an entry template for the alphabetical separator.
6240 <define name="text-alphabetical-index-entry-template">   6330 <define name="text-alphabetical-index-entry-template">
6241         <element name="text:alphabetical-index-entry-template">   6331         <element name="text:alphabetical-index-entry-template">
6242                 <ref name="text-alphabetical-index-entry-template-attrs"/>   6332                 <ref name="text-alphabetical-index-entry-template-attrs"/>
6243                 <zeroOrMore>   6333                 <zeroOrMore>
6244                         <choice>   6334                         <choice>
6245                                 <ref name="text-index-entry-chapter"/>   6335                                 <ref name="text-index-entry-chapter"/>
6246                                 <ref name="text-index-entry-page-number"/>   6336                                 <ref name="text-index-entry-page-number"/>
6247                                 <ref name="text-index-entry-text"/>   6337                                 <ref name="text-index-entry-text"/>
6248                                 <ref name="text-index-entry-span"/>   6338                                 <ref name="text-index-entry-span"/>
6249                                 <ref name="text-index-entry-tab-stop"/>   6339                                 <ref name="text-index-entry-tab-stop"/>
6250                         </choice>   6340                         </choice>
6251                 </zeroOrMore>   6341                 </zeroOrMore>
6252         </element>   6342         </element>
6253 </define>   6343 </define>
6254 The attributes that may be associated with the <text:alphabetical-index-entry-template> elements are:   6344 The attributes that may be associated with the <text:alphabetical-index-entry-template> elements are:
6255 Template outline level   6345 Template outline level
6256 Paragraph style   6346 Paragraph style
6257 Template Outline Level   6347 Template Outline Level
6258 This attribute specifies whether the template applies to:   6348 This attribute specifies whether the template applies to:
6259 One of the three levels 1,2,or 3   6349 One of the three levels 1,2,or 3
6260 or   6350 or
6261 The alphabetical separator   6351 The alphabetical separator
6262 <define name="text-alphabetical-index-entry-template-attrs"   6352 <define name="text-alphabetical-index-entry-template-attrs"
6263                 combine="interleave">   6353                 combine="interleave">
6264         <attribute name="text:outline-level">   6354         <attribute name="text:outline-level">
6265                 <choice>   6355                 <choice>
6266                         <value>1</value>   6356                         <value>1</value>
6267                         <value>2</value>   6357                         <value>2</value>
6268                         <value>3</value>   6358                         <value>3</value>
6269                         <value>separator</value>   6359                         <value>separator</value>
6270                 </choice>   6360                 </choice>
6271         </attribute>   6361         </attribute>
6272 </define>   6362 </define>
6273 Paragraph Style   6363 Paragraph Style
6274 The text:style-name attribute specifies the paragraph style to use for the template.   6364 The text:style-name attribute specifies the paragraph style to use for the template.
6275 <define name="text-alphabetical-index-entry-template-attrs"   6365 <define name="text-alphabetical-index-entry-template-attrs"
6276                 combine="interleave">   6366                 combine="interleave">
6277         <attribute name="text:style-name">   6367         <attribute name="text:style-name">
6278                 <ref name="styleNameRef"/>   6368                 <ref name="styleNameRef"/>
6279         </attribute>   6369         </attribute>
6280 </define>   6370 </define>
6281 7.9Bibliography   6371 7.9Bibliography
6282 A bibliography index gathers its entries from bibliography index marks. The <text:bibliography> element represents a bibliography.   6372 A bibliography index gathers its entries from bibliography index marks. The <text:bibliography> element represents a bibliography.
6283 <define name="text-bibliography">   6373 <define name="text-bibliography">
6284         <element name="text:bibliography">   6374         <element name="text:bibliography">
6285                 <ref name="sectionAttr"/>   6375                 <ref name="sectionAttr"/>
6286                 <ref name="text-bibliography-source"/>   6376                 <ref name="text-bibliography-source"/>
6287                 <ref name="text-index-body"/>   6377                 <ref name="text-index-body"/>
6288         </element>   6378         </element>
6289 </define>   6379 </define>
6290 7.9.1Bibliography Index Source   6380 7.9.1Bibliography Index Source
6291 The <text:bibliography-source> element specifies how the bibliography is generated.   6381 The <text:bibliography-source> element specifies how the bibliography is generated.
6292 <define name="text-bibliography-source">   6382 <define name="text-bibliography-source">
6293         <element name="text:bibliography-source">   6383         <element name="text:bibliography-source">
6294                 <optional>   6384                 <optional>
6295                         <ref name="text-index-title-template"/>   6385                         <ref name="text-index-title-template"/>
6296                 </optional>   6386                 </optional>
6297                 <zeroOrMore>   6387                 <zeroOrMore>
6298                         <ref name="text-bibliography-entry-template"/>   6388                         <ref name="text-bibliography-entry-template"/>
6299                 </zeroOrMore>   6389                 </zeroOrMore>
6300         </element>   6390         </element>
6301 </define>   6391 </define>
6302 7.9.2Bibliography Entry Template   6392 7.9.2Bibliography Entry Template
6303 Bibliography entry templates support entry elements for bibliography data, text spans, and tab stops. There is one entry template element for each type of entry.   6393 Bibliography entry templates support entry elements for bibliography data, text spans, and tab stops. There is one entry template element for each type of entry.
6304 <define name="text-bibliography-entry-template">   6394 <define name="text-bibliography-entry-template">
6305         <element name="text:bibliography-entry-template">   6395         <element name="text:bibliography-entry-template">
6306                 <ref name="text-bibliography-entry-template-attrs"/>   6396                 <ref name="text-bibliography-entry-template-attrs"/>
6307                 <zeroOrMore>   6397                 <zeroOrMore>
6308                         <choice>   6398                         <choice>
6309                                 <ref name="text-index-entry-span"/>   6399                                 <ref name="text-index-entry-span"/>
6310                                 <ref name="text-index-entry-tab-stop"/>   6400                                 <ref name="text-index-entry-tab-stop"/>
6311                                 <ref name="text-index-entry-bibliography"/>   6401                                 <ref name="text-index-entry-bibliography"/>
6312                         </choice>   6402                         </choice>
6313                 </zeroOrMore>   6403                 </zeroOrMore>
6314         </element>   6404         </element>
6315 </define>   6405 </define>
6316 The attributes that may be associated with the <text:bibliography-entry-template> elements are:   6406 The attributes that may be associated with the <text:bibliography-entry-template> elements are:
6317 Bibliography type   6407 Bibliography type
6318 Paragraph style   6408 Paragraph style
6319 Bibliography Type   6409 Bibliography Type
6320 This attribute specifies to which type of bibliographical entry the template applies. This attribute must be unique among all <text:bibliography-type> elements within the same parent element.   6410 This attribute specifies to which type of bibliographical entry the template applies. This attribute must be unique among all <text:bibliography-type> elements within the same parent element.
6321 <define name="text-bibliography-entry-template-attrs" combine="interleave">   6411 <define name="text-bibliography-entry-template-attrs" combine="interleave">
6322         <attribute name="text:bibliography-type">   6412         <attribute name="text:bibliography-type">
6323                 <ref name="text-bibliography-types"/>   6413                 <ref name="text-bibliography-types"/>
6324         </attribute>   6414         </attribute>
6325 </define>   6415 </define>
6326 Paragraph Style   6416 Paragraph Style
6327 The text:style-name attribute specifies the paragraph style to use for this template.   6417 The text:style-name attribute specifies the paragraph style to use for this template.
6328 <define name="text-bibliography-entry-template-attrs" combine="interleave">   6418 <define name="text-bibliography-entry-template-attrs" combine="interleave">
6329         <attribute name="text:style-name">   6419         <attribute name="text:style-name">
6330                 <ref name="styleNameRef"/>   6420                 <ref name="styleNameRef"/>
6331         </attribute>   6421         </attribute>
6332 </define>   6422 </define>
6333 7.10index source styles   6423 7.10index source styles
6334 Some indices can gather index entries from paragraphs formatted using certain paragraph styles. The <text:index-source-styles> element contains all of the <text:index-source-style> elements for a particular outline level. The text:outline-levels attribute determines at which outline level to list the index entries gathered from the respective paragraph styles. There can only be one <text:index-source-style> element for each outline level.   6424 Some indices can gather index entries from paragraphs formatted using certain paragraph styles. The <text:index-source-styles> element contains all of the <text:index-source-style> elements for a particular outline level. The text:outline-levels attribute determines at which outline level to list the index entries gathered from the respective paragraph styles. There can only be one <text:index-source-style> element for each outline level.
6335 <define name="text-index-source-styles">   6425 <define name="text-index-source-styles">
6336         <element name="text:index-source-styles">   6426         <element name="text:index-source-styles">
6337                 <attribute name="text:outline-level">   6427                 <attribute name="text:outline-level">
6338                         <ref name="positiveInteger"/>   6428                         <ref name="positiveInteger"/>
6339                 </attribute>   6429                 </attribute>
6340                 <zeroOrMore>   6430                 <zeroOrMore>
6341                         <ref name="text-index-source-style"/>   6431                         <ref name="text-index-source-style"/>
6342                 </zeroOrMore>   6432                 </zeroOrMore>
6343         </element>   6433         </element>
6344 </define>   6434 </define>
6345 7.10.1Index source style   6435 7.10.1Index source style
6346 All paragraphs formatted using the style or class specified in the <text:index-source-style> element are included in the index.   6436 All paragraphs formatted using the style or class specified in the <text:index-source-style> element are included in the index.
6347 <define name="text-index-source-style">   6437 <define name="text-index-source-style">
6348         <element name="text:index-source-style">   6438         <element name="text:index-source-style">
6349                 <attribute name="text:style-name">   6439                 <attribute name="text:style-name">
6350                         <ref name="styleName"/>   6440                         <ref name="styleName"/>
6351                 </attribute>   6441                 </attribute>
6352                 <empty/>   6442                 <empty/>
6353         </element>   6443         </element>
6354 </define>   6444 </define>
6355 7.11Index title template   6445 7.11Index title template
6356 The <text:index-title-template> element determines the style and content of the index title. There can only be one <text:index-title-template> element contained in a <text:table-of-content-source> element.   6446 The <text:index-title-template> element determines the style and content of the index title. There can only be one <text:index-title-template> element contained in a <text:table-of-content-source> element.
6357 <define name="text-index-title-template">   6447 <define name="text-index-title-template">
6358         <element name="text:index-title-template">   6448         <element name="text:index-title-template">
6359                 <optional>   6449                 <optional>
6360                         <attribute name="text:style-name">   6450                         <attribute name="text:style-name">
6361                                 <ref name="styleNameRef"/>   6451                                 <ref name="styleNameRef"/>
6362                         </attribute>   6452                         </attribute>
6363                 </optional>   6453                 </optional>
6364                 <text/>   6454                 <text/>
6365         </element>   6455         </element>
6366 </define>   6456 </define>
6367 7.12Index Template Entries   6457 7.12Index Template Entries
6368 There are eight types of index entries, as follows:   6458 There are eight types of index entries, as follows:
6369 Chapter information   6459 Chapter information
6370 Entry text   6460 Entry text
6371 Page number   6461 Page number
6372 Fixed string   6462 Fixed string
6373 Bibliography information   6463 Bibliography information
6374 Tab stop   6464 Tab stop
6375 Hyperlink start and end   6465 Hyperlink start and end
6376 7.12.1Chapter Information   6466 7.12.1Chapter Information
6377 The <text:index-entry-chapter> element displays the chapter number of the index entry. The character style for the chapter number can be included in the index entry element as a text:style-name attribute.   6467 The <text:index-entry-chapter> element displays the chapter number of the index entry. The character style for the chapter number can be included in the index entry element as a text:style-name attribute.
6378 <define name="text-index-entry-chapter">   6468 <define name="text-index-entry-chapter">
6379         <element name="text:index-entry-chapter">   6469         <element name="text:index-entry-chapter">
6380                 <optional>   6470                 <optional>
6381                         <attribute name="text:style-name">   6471                         <attribute name="text:style-name">
6382                                 <ref name="styleNameRef"/>   6472                                 <ref name="styleNameRef"/>
6383                         </attribute>   6473                         </attribute>
6384                 </optional>   6474                 </optional>
6385                 <ref name="text-index-entry-chapter-attrs"/>   6475                 <ref name="text-index-entry-chapter-attrs"/>
6386         </element>   6476         </element>
6387 </define>   6477 </define>
6388 Note: This element can only display the chapter number. To display the chapter name, the <text:index-entry-text> elements must be used.   6478 Note: This element can only display the chapter number. To display the chapter name, the <text:index-entry-text> elements must be used.
6389 Display Chapter Format   6479 Display Chapter Format
6390 The text:display attribute displays either the chapter number, the chapter name, or both.   6480 The text:display attribute displays either the chapter number, the chapter name, or both.
6391 <define name="text-index-entry-chapter-attrs">   6481 <define name="text-index-entry-chapter-attrs">
6392         <optional>   6482         <optional>
6393                 <attribute name="text:display" a:defaultValue="number">   6483                 <attribute name="text:display" a:defaultValue="number">
6394                         <choice>   6484                         <choice>
6395                                 <value>name</value>   6485                                 <value>name</value>
6396                                 <value>number</value>   6486                                 <value>number</value>
6397                                 <value>number-and-name</value>   6487                                 <value>number-and-name</value>
6398                         </choice>   6488                         </choice>
6399                 </attribute>   6489                 </attribute>
6400         </optional>   6490         </optional>
6401 </define>   6491 </define>
6402 7.12.2Entry Text   6492 7.12.2Entry Text
6403 The <text:index-entry-text> element displays the text of the index entry, for example, the chapter name if the entry is derived from a header or the phrase contained in the index mark if the entry is derived from an index mark. The character style for the entry text can be included in the index entry element as a text:style-name attribute.   6493 The <text:index-entry-text> element displays the text of the index entry, for example, the chapter name if the entry is derived from a header or the phrase contained in the index mark if the entry is derived from an index mark. The character style for the entry text can be included in the index entry element as a text:style-name attribute.
6404 <define name="text-index-entry-text">   6494 <define name="text-index-entry-text">
6405         <element name="text:index-entry-text">   6495         <element name="text:index-entry-text">
6406                 <optional>   6496                 <optional>
6407                         <attribute name="text:style-name">   6497                         <attribute name="text:style-name">
6408                                 <ref name="styleNameRef"/>   6498                                 <ref name="styleNameRef"/>
6409                         </attribute>   6499                         </attribute>
6410                 </optional>   6500                 </optional>
6411         </element>   6501         </element>
6412 </define>   6502 </define>
6413 7.12.3Page Number   6503 7.12.3Page Number
6414 The <text:index-entry-page-number> element displays the page number on which the index entry is located. The character style for the page number can be included in the index entry element as a text:style-name attribute.   6504 The <text:index-entry-page-number> element displays the page number on which the index entry is located. The character style for the page number can be included in the index entry element as a text:style-name attribute.
6415 <define name="text-index-entry-page-number">   6505 <define name="text-index-entry-page-number">
6416         <element name="text:index-entry-page-number">   6506         <element name="text:index-entry-page-number">
6417                 <optional>   6507                 <optional>
6418                         <attribute name="text:style-name">   6508                         <attribute name="text:style-name">
6419                                 <ref name="styleNameRef"/>   6509                                 <ref name="styleNameRef"/>
6420                         </attribute>   6510                         </attribute>
6421                 </optional>   6511                 </optional>
6422         </element>   6512         </element>
6423 </define>   6513 </define>
6424 7.12.4Fixed String   6514 7.12.4Fixed String
6425 The <text:index-entry-span> element represents a fixed string within an index entry. The character style for the entry text can be included in the index entry element as a text:style-name attribute. Unlike the <text:span> element, the <text:index-entry-span> element does not have any child elements.   6515 The <text:index-entry-span> element represents a fixed string within an index entry. The character style for the entry text can be included in the index entry element as a text:style-name attribute. Unlike the <text:span> element, the <text:index-entry-span> element does not have any child elements.
6426 <define name="text-index-entry-span">   6516 <define name="text-index-entry-span">
6427         <element name="text:index-entry-span">   6517         <element name="text:index-entry-span">
6428                 <optional>   6518                 <optional>
6429                         <attribute name="text:style-name">   6519                         <attribute name="text:style-name">
6430                                 <ref name="styleNameRef"/>   6520                                 <ref name="styleNameRef"/>
6431                         </attribute>   6521                         </attribute>
6432                 </optional>   6522                 </optional>
6433                 <text/>   6523                 <text/>
6434         </element>   6524         </element>
6435 </define>   6525 </define>
6436 7.12.5Bibliography Information   6526 7.12.5Bibliography Information
6437 The <text:index-entry-bibliography> element introduces bibliography data into index entry templates.   6527 The <text:index-entry-bibliography> element introduces bibliography data into index entry templates.
6438 <define name="text-index-entry-bibliography">   6528 <define name="text-index-entry-bibliography">
6439         <element name="text:index-entry-bibliography">   6529         <element name="text:index-entry-bibliography">
6440                 <ref name="text-index-entry-bibliography-attrs"/>   6530                 <ref name="text-index-entry-bibliography-attrs"/>
6441         </element>   6531         </element>
6442 </define>   6532 </define>
6443 The attributes that may be associated with the <text:index-entry-bibliography> element are:   6533 The attributes that may be associated with the <text:index-entry-bibliography> element are:
6444 text:style-name attribute   6534 text:style-name attribute
6445 text:bibliography-data-field attribute   6535 text:bibliography-data-field attribute
6446 Text Style Name   6536 Text Style Name
6447 The text:style-name attribute determines the style for display of the entry.   6537 The text:style-name attribute determines the style for display of the entry.
6448 <define name="text-index-entry-bibliography-attrs" combine="interleave">   6538 <define name="text-index-entry-bibliography-attrs" combine="interleave">
6449         <optional>   6539         <optional>
6450                 <attribute name="text:style-name">   6540                 <attribute name="text:style-name">
6451                         <ref name="styleNameRef"/>   6541                         <ref name="styleNameRef"/>
6452                 </attribute>   6542                 </attribute>
6453         </optional>   6543         </optional>
6454 </define>   6544 </define>
6455 Bibliography Data Field Identifier   6545 Bibliography Data Field Identifier
6456 The text:bibliography-data-field attribute determines which part of the bibliography data field will be displayed.   6546 The text:bibliography-data-field attribute determines which part of the bibliography data field will be displayed.
6457 <define name="text-index-entry-bibliography-attrs" combine="interleave">   6547 <define name="text-index-entry-bibliography-attrs" combine="interleave">
6458         <attribute name="text:bibliography-data-field">   6548         <attribute name="text:bibliography-data-field">
6459                 <choice>   6549                 <choice>
6460                         <value>address</value>   6550                         <value>address</value>
6461                         <value>annote</value>   6551                         <value>annote</value>
6462                         <value>author</value>   6552                         <value>author</value>
6463                         <value>bibliography-type</value>   6553                         <value>bibliography-type</value>
6464                         <value>booktitle</value>   6554                         <value>booktitle</value>
6465                         <value>chapter</value>   6555                         <value>chapter</value>
6466                         <value>custom1</value>   6556                         <value>custom1</value>
6467                         <value>custom2</value>   6557                         <value>custom2</value>
6468                         <value>custom3</value>   6558                         <value>custom3</value>
6469                         <value>custom4</value>   6559                         <value>custom4</value>
6470                         <value>custom5</value>   6560                         <value>custom5</value>
6471                         <value>edition</value>   6561                         <value>edition</value>
6472                         <value>editor</value>   6562                         <value>editor</value>
6473                         <value>howpublished</value>   6563                         <value>howpublished</value>
6474                         <value>identifier</value>   6564                         <value>identifier</value>
6475                         <value>institution</value>   6565                         <value>institution</value>
6476                         <value>isbn</value>   6566                         <value>isbn</value>
6477                         <value>issn</value>   6567                         <value>issn</value>
6478                         <value>journal</value>   6568                         <value>journal</value>
6479                         <value>month</value>   6569                         <value>month</value>
6480                         <value>note</value>   6570                         <value>note</value>
6481                         <value>number</value>   6571                         <value>number</value>
6482                         <value>organizations</value>   6572                         <value>organizations</value>
6483                         <value>pages</value>   6573                         <value>pages</value>
6484                         <value>publisher</value>   6574                         <value>publisher</value>
6485                         <value>report-type</value>   6575                         <value>report-type</value>
6486                         <value>school</value>   6576                         <value>school</value>
6487                         <value>series</value>   6577                         <value>series</value>
6488                         <value>title</value>   6578                         <value>title</value>
6489                         <value>url</value>   6579                         <value>url</value>
6490                         <value>volume</value>   6580                         <value>volume</value>
6491                         <value>year</value>   6581                         <value>year</value>
6492                 </choice>   6582                 </choice>
6493         </attribute>   6583         </attribute>
6494 </define>   6584 </define>
6495 7.12.6Tab Stop   6585 7.12.6Tab Stop
6496 The <text:index-entry-tab-stop> element represents a tab stop within an index entry. It also contains the position information for the tab stop.   6586 The <text:index-entry-tab-stop> element represents a tab stop within an index entry. It also contains the position information for the tab stop.
6497 <define name="text-index-entry-tab-stop">   6587 <define name="text-index-entry-tab-stop">
6498         <element name="text:index-entry-tab-stop">   6588         <element name="text:index-entry-tab-stop">
6499                 <optional>   6589                 <optional>
6500                         <attribute name="text:style-name">   6590                         <attribute name="text:style-name">
6501                                 <ref name="styleNameRef"/>   6591                                 <ref name="styleNameRef"/>
6502                         </attribute>   6592                         </attribute>
6503                 </optional>   6593                 </optional>
6504                 <ref name="text-index-entry-tab-stop-attrs"/>   6594                 <ref name="text-index-entry-tab-stop-attrs"/>
6505         </element>   6595         </element>
6506 </define>   6596 </define>
6507 The attributes that may be associated with the <text:index-entry-tab-stop> element are:   6597 The attributes that may be associated with the <text:index-entry-tab-stop> element are:
6508 style:leader-char   6598 style:leader-char
6509 style:type   6599 style:type
6510 style:position   6600 style:position
6511 Leader Char   6601 Leader Char
6512 The style:leader-char attribute specifies the leader character.   6602 The style:leader-char attribute specifies the leader character.
6513 <define name="text-index-entry-tab-stop-attrs" combine="interleave">   6603 <define name="text-index-entry-tab-stop-attrs" combine="interleave">
6514         <optional>   6604         <optional>
6515                 <attribute name="style:leader-char">   6605                 <attribute name="style:leader-char">
6516                         <ref name="character"/>   6606                         <ref name="character"/>
6517                 </attribute>   6607                 </attribute>
6518         </optional>   6608         </optional>
6519 </define>   6609 </define>
6520 Tab Type and Position   6610 Tab Type and Position
6521 The style:type attribute specifies the tab stop type. The <text:index-entry-tab-stop> element only supports two types of tab: left and right.   6611 The style:type attribute specifies the tab stop type. The <text:index-entry-tab-stop> element only supports two types of tab: left and right.
6522 If the value of this attribute is left, the style:position attribute must also be used. Otherwise, this attribute must be omitted. The style:position attribute specifies the position of the tab. Depending on the value of the text:relative-tab-stop-position attribute in the <text:index-entry-config> element, the position of the tab is interpreted as being relative to the left margin or the left indent.   6612 If the value of this attribute is left, the style:position attribute must also be used. Otherwise, this attribute must be omitted. The style:position attribute specifies the position of the tab. Depending on the value of the text:relative-tab-stop-position attribute in the <text:index-entry-config> element, the position of the tab is interpreted as being relative to the left margin or the left indent.
6523 <define name="text-index-entry-tab-stop-attrs" combine="interleave">   6613 <define name="text-index-entry-tab-stop-attrs" combine="interleave">
6524         <choice>   6614         <choice>
6525                 <attribute name="style:type">   6615                 <attribute name="style:type">
6526                         <value>right</value>   6616                         <value>right</value>
6527                 </attribute>   6617                 </attribute>
6528                 <group>   6618                 <group>
6529                         <attribute name="style:type">   6619                         <attribute name="style:type">
6530                                 <value>left</value>   6620                                 <value>left</value>
6531                         </attribute>   6621                         </attribute>
6532                         <attribute name="style:position">   6622                         <attribute name="style:position">
6533                                 <ref name="length"/>   6623                                 <ref name="length"/>
6534                         </attribute>   6624                         </attribute>
6535                 </group>   6625                 </group>
6536         </choice>   6626         </choice>
6537 </define>   6627 </define>
6538 7.12.7Hyperlink Start and End   6628 7.12.7Hyperlink Start and End
6539 The <text:index-entry-link-start> and <text:index-entry-link-end> elements mark the start and end of a hyperlink index entry. The character style for the hyperlink can be included in the index entry element as a text:style-name attribute.   6629 The <text:index-entry-link-start> and <text:index-entry-link-end> elements mark the start and end of a hyperlink index entry. The character style for the hyperlink can be included in the index entry element as a text:style-name attribute.
6540 <define name="text-index-entry-link-start">   6630 <define name="text-index-entry-link-start">
6541         <element name="text:index-entry-link-start">   6631         <element name="text:index-entry-link-start">
6542                 <optional>   6632                 <optional>
6543                         <attribute name="text:style-name">   6633                         <attribute name="text:style-name">
6544                                 <ref name="styleNameRef"/>   6634                                 <ref name="styleNameRef"/>
6545                         </attribute>   6635                         </attribute>
6546                 </optional>   6636                 </optional>
6547         </element>   6637         </element>
6548 </define>   6638 </define>
6549 <define name="text-index-entry-link-end">   6639 <define name="text-index-entry-link-end">
6550         <element name="text:index-entry-link-end">   6640         <element name="text:index-entry-link-end">
6551                 <optional>   6641                 <optional>
6552                         <attribute name="text:style-name">   6642                         <attribute name="text:style-name">
6553                                 <ref name="styleNameRef"/>   6643                                 <ref name="styleNameRef"/>
6554                         </attribute>   6644                         </attribute>
6555                 </optional>   6645                 </optional>
6556         </element>   6646         </element>
6557 </define>   6647 </define>
6558 7.12.8Example of an Index Entry Configuration   6648 7.12.8Example of an Index Entry Configuration
6559 The following is an example of the XML code for a table of contents called Table of Content with the following characteristics:   6649 The following is an example of the XML code for a table of contents called Table of Content with the following characteristics:
6560 It uses the top two outline levels.   6650 It uses the top two outline levels.
6561 Each entry consists of the chapter number, a closing parenthesis, the chapter title, a tab stop, and the page number.   6651 Each entry consists of the chapter number, a closing parenthesis, the chapter title, a tab stop, and the page number.
6562 For the top outline level, the page number is formatted using a style called Bold.   6652 For the top outline level, the page number is formatted using a style called Bold.
6563 For the second outline level, a bracket is used instead of a closing parenthesis.   6653 For the second outline level, a bracket is used instead of a closing parenthesis.
6564 Example: Table of Content   6654 Example: Table of Content
6565 <text:table-of-content>   6655 <text:table-of-content>
6566         <text:table-of-content-source   6656         <text:table-of-content-source
6567                 text:outline-level="2"   6657                 text:outline-level="2"
6568                 text:use-index-marks="false"   6658                 text:use-index-marks="false"
6569                 text:index-scope="document">   6659                 text:index-scope="document">
6570     6660  
6571                 <text:index-title-template text:style-name="Index 1">   6661                 <text:index-title-template text:style-name="Index 1">
6572                         Table of Content   6662                         Table of Content
6573                 </text:index-title-template>   6663                 </text:index-title-template>
6574     6664  
6575                 <text:index-entry-template   6665                 <text:index-entry-template
6576                         text:outline-level="1"   6666                         text:outline-level="1"
6577                         text:style-name="Contents 1">   6667                         text:style-name="Contents 1">
6578                         <text:index-entry-chapter text:display="number"/>   6668                         <text:index-entry-chapter text:display="number"/>
6579                         <text:index-entry-span>) </text:index-entry-span>   6669                         <text:index-entry-span>) </text:index-entry-span>
6580                         <text:index-entry-text/>   6670                         <text:index-entry-text/>
6581                         <text:index-entry-tab-stop style:type="right"/>   6671                         <text:index-entry-tab-stop style:type="right"/>
6582                         <text:index-entry-page-number text:style-name="bold"/>   6672                         <text:index-entry-page-number text:style-name="bold"/>
6583                 </text:index-entry-template>   6673                 </text:index-entry-template>
6584     6674  
6585                 <text:index-entry-template   6675                 <text:index-entry-template
6586                         text:outline-level="2"   6676                         text:outline-level="2"
6587                         text:style-name="Contents 2">   6677                         text:style-name="Contents 2">
6588                         <text:index-entry-chapter text:display="number"/>   6678                         <text:index-entry-chapter text:display="number"/>
6589                         <text:index-entry-span>] </text:index-entry-span>   6679                         <text:index-entry-span>] </text:index-entry-span>
6590                         <text:index-entry-text/>   6680                         <text:index-entry-text/>
6591                         <text:index-entry-tab-stop style:type="right"/>   6681                         <text:index-entry-tab-stop style:type="right"/>
6592                         <text:index-entry-page-number/>   6682                         <text:index-entry-page-number/>
6593                 </text:index-entry-template>   6683                 </text:index-entry-template>
6594           6684        
6595         </text:table-of-content-source>   6685         </text:table-of-content-source>
6596     6686  
6597         <text:table-of-content-body>   6687         <text:table-of-content-body>
6598                 [... header ...]   6688                 [... header ...]
6599                 <text:p text:style-name="[...]">1) Chapter   6689                 <text:p text:style-name="[...]">1) Chapter
6600                         <text:tab-stop/><text:span stylename="bold"> 1 </text:span>   6690                         <text:tab-stop/><text:span stylename="bold"> 1 </text:span>
6601                 </text:p>   6691                 </text:p>
6602                 <text:p text:style-name="[...]">1.1] Subchapter   6692                 <text:p text:style-name="[...]">1.1] Subchapter
6603                         <text:tab-stop/>1   6693                         <text:tab-stop/>1
6604                 </text:p>   6694                 </text:p>
6605                 [... more entries ...]   6695                 [... more entries ...]
6606         </text:table-of-content-body>   6696         </text:table-of-content-body>
6607     6697  
6608 </text:table-of-content>   6698 </text:table-of-content>
6609 8Tables   6699 8Tables
6610 This chapter describes the table structure that is used for tables that are embedded within text documents and for spreadsheets.   6700 This chapter describes the table structure that is used for tables that are embedded within text documents and for spreadsheets.
6611 8.1Basic Table Model   6701 8.1Basic Table Model
6612 The structure of OpenDocument tables is similar to the structure of [HTML4] or [XSL] tables, and like these tables, they can be nested.   6702 The structure of OpenDocument tables is similar to the structure of [HTML4] or [XSL] tables, and like these tables, they can be nested.
6613 The representation of tables is based on a grid of rows and columns. Rows take precedence over columns. The table is divided into rows and the rows are divided into cells. Each column includes a column description, but this description does not contain any cells.   6703 The representation of tables is based on a grid of rows and columns. Rows take precedence over columns. The table is divided into rows and the rows are divided into cells. Each column includes a column description, but this description does not contain any cells.
6614 Table rows may be empty, and different rows might contain a different number of table cells. This is not an error, but applications might resolve this in different ways. Spreadsheet applications typically operate on large tables that have a fixed application dependent row and column number, but may have an unused area. Only the used area of the table is saved in files. When loading a table with empty or incomplete rows into a spreadsheet application, empty rows typically introduce a default row (just as in an empty sheet), and incomplete rows are filled with empty cells (just like in an empty sheet). All other applications typically have fixed size tables. Incomplete rows are basically rendered as if they had the necessary number of empty cells, and the same applies to empty rows. Empty cells typically occupy the space of an empty paragraph. <> 6704 Table rows may be empty, and different rows might contain a different number of table cells. This is not an error, but applications might resolve this in different ways. Spreadsheet applications typically operate on large tables that have a fixed application dependent row and column number, but may have an unused area. Only the used area of the table is saved in files. When loading a table with empty or incomplete rows into a spreadsheet application, empty rows typically introduce a default row (just as in an empty sheet), and incomplete rows are filled with empty cells (just like in an empty sheet).
      6705 All other applications typically have fixed size tables. Incomplete rows are basically rendered as if they had the necessary number of empty cells, and the same applies to empty rows. Empty cells typically occupy the space of an empty paragraph.
6615 Rows and columns appear in row groups and column groups. These groups specify whether or not to repeat a row or column on the next page. = 6706 Rows and columns appear in row groups and column groups. These groups specify whether or not to repeat a row or column on the next page.
6616 8.1.1Table Element   6707 8.1.1Table Element
6617 The table element is the root element for tables.   6708 The table element is the root element for tables.
6618 <define name="table-table">   6709 <define name="table-table">
6619         <element name="table:table">   6710         <element name="table:table">
6620                 <ref name="table-table-attlist"/>   6711                 <ref name="table-table-attlist"/>
6621                 <optional>   6712                 <optional>
6622                         <ref name="table-table-source"/>   6713                         <ref name="table-table-source"/>
6623                 </optional>   6714                 </optional>
6624                 <optional>   6715                 <optional>
6625                         <ref name="office-dde-source"/>   6716                         <ref name="office-dde-source"/>
6626                 </optional>   6717                 </optional>
6627                 <optional>   6718                 <optional>
6628                         <ref name="table-scenario"/>   6719                         <ref name="table-scenario"/>
6629                 </optional>   6720                 </optional>
6630                 <optional>   6721                 <optional>
6631                         <ref name="office-forms"/>   6722                         <ref name="office-forms"/>
6632                 </optional>   6723                 </optional>
6633                 <optional>   6724                 <optional>
6634                         <ref name="table-shapes"/>   6725                         <ref name="table-shapes"/>
6635                 </optional>   6726                 </optional>
6636                 <ref name="table-columns-and-groups"/>   6727                 <ref name="table-columns-and-groups"/>
6637                 <ref name="table-rows-and-groups"/>   6728                 <ref name="table-rows-and-groups"/>
6638         </element>   6729         </element>
6639 </define>   6730 </define>
6640 The content models for tables is rather complex. The details are explained in the section 8.2. For the moment, it can be assumed that table element's content are columns and row elements.   6731 The content models for tables is rather complex. The details are explained in the section 8.2. For the moment, it can be assumed that table element's content are columns and row elements.
6641 <define name="table-columns-and-groups">   6732 <define name="table-columns-and-groups">
6642         <oneOrMore>   6733         <oneOrMore>
6643                 <choice>   6734                 <choice>
6644                         <ref name="table-table-column-group"/>   6735                         <ref name="table-table-column-group"/>
6645                         <ref name="table-columns-no-group"/>   6736                         <ref name="table-columns-no-group"/>
6646                 </choice>   6737                 </choice>
6647         </oneOrMore>   6738         </oneOrMore>
6648 </define>   6739 </define>
6649     6740  
6650 <define name="table-columns-no-group">   6741 <define name="table-columns-no-group">
6651         <choice>   6742         <choice>
6652                 <group>   6743                 <group>
6653                         <ref name="table-columns"/>   6744                         <ref name="table-columns"/>
6654                         <optional>   6745                         <optional>
6655                                 <ref name="table-table-header-columns"/>   6746                                 <ref name="table-table-header-columns"/>
6656                                 <optional>   6747                                 <optional>
6657                                         <ref name="table-columns"/>   6748                                         <ref name="table-columns"/>
6658                                 </optional>   6749                                 </optional>
6659                         </optional>   6750                         </optional>
6660                 </group>   6751                 </group>
6661                 <group>   6752                 <group>
6662                         <ref name="table-table-header-columns"/>   6753                         <ref name="table-table-header-columns"/>
6663                         <optional>   6754                         <optional>
6664                                 <ref name="table-columns"/>   6755                                 <ref name="table-columns"/>
6665                         </optional>   6756                         </optional>
6666                 </group>   6757                 </group>
6667         </choice>   6758         </choice>
6668 </define>   6759 </define>
6669     6760  
6670 <define name="table-columns">   6761 <define name="table-columns">
6671         <choice>   6762         <choice>
6672                 <ref name="table-table-columns"/>   6763                 <ref name="table-table-columns"/>
6673                 <oneOrMore>   6764                 <oneOrMore>
6674                                 <ref name="table-table-column"/>   6765                                 <ref name="table-table-column"/>
6675                 </oneOrMore>   6766                 </oneOrMore>
6676         </choice>   6767         </choice>
6677 </define>   6768 </define>
6678     6769  
6679 <define name="table-rows-and-groups">   6770 <define name="table-rows-and-groups">
6680         <oneOrMore>   6771         <oneOrMore>
6681                 <choice>   6772                 <choice>
6682                         <ref name="table-table-row-group"/>   6773                         <ref name="table-table-row-group"/>
6683                         <ref name="table-rows-no-group"/>   6774                         <ref name="table-rows-no-group"/>
6684                 </choice>   6775                 </choice>
6685         </oneOrMore>   6776         </oneOrMore>
6686 </define>   6777 </define>
6687     6778  
6688 <define name="table-rows-no-group">   6779 <define name="table-rows-no-group">
6689         <choice>   6780         <choice>
6690                 <group>   6781                 <group>
6691                         <ref name="table-rows"/>   6782                         <ref name="table-rows"/>
6692                         <optional>   6783                         <optional>
6693                                 <ref name="table-table-header-rows"/>   6784                                 <ref name="table-table-header-rows"/>
6694                                 <optional>   6785                                 <optional>
6695                                         <ref name="table-rows"/>   6786                                         <ref name="table-rows"/>
6696                                 </optional>   6787                                 </optional>
6697                         </optional>   6788                         </optional>
6698                 </group>   6789                 </group>
6699                 <group>   6790                 <group>
6700                         <ref name="table-table-header-rows"/>   6791                         <ref name="table-table-header-rows"/>
6701                         <optional>   6792                         <optional>
6702                                 <ref name="table-rows"/>   6793                                 <ref name="table-rows"/>
6703                         </optional>   6794                         </optional>
6704                 </group>   6795                 </group>
6705         </choice>   6796         </choice>
6706 </define>   6797 </define>
6707     6798  
6708 <define name="table-rows">   6799 <define name="table-rows">
6709         <choice>   6800         <choice>
6710                 <ref name="table-table-rows"/>   6801                 <ref name="table-table-rows"/>
6711                 <oneOrMore>   6802                 <oneOrMore>
    <> 6803                         <optional>
      6804                                 <ref name="text-soft-page-break"/>
      6805                         </optional>
6712                                 <ref name="table-table-row"/>   6806                         <ref name="table-table-row"/>
6713                 </oneOrMore> = 6807                 </oneOrMore>
6714         </choice>   6808         </choice>
6715 </define>   6809 </define>
6716 Table Name   6810 Table Name
6717 The table:name attribute specifies the name of a table.   6811 The table:name attribute specifies the name of a table.
6718 <define name="table-table-attlist" combine="interleave">   6812 <define name="table-table-attlist" combine="interleave">
6719         <optional>   6813         <optional>
6720                 <attribute name="table:name">   6814                 <attribute name="table:name">
6721                         <ref name="string"/>   6815                         <ref name="string"/>
6722                 </attribute>   6816                 </attribute>
6723         </optional>   6817         </optional>
6724 </define>   6818 </define>
6725 Table Style   6819 Table Style
6726 The table:style-name attribute references a table style, i.e., an <style:style> element of type “table”. The table style describes the formatting properties of the table, such as width and background color. The table style can be either an automatic or common style.   6820 The table:style-name attribute references a table style, i.e., an <style:style> element of type “table”. The table style describes the formatting properties of the table, such as width and background color. The table style can be either an automatic or common style.
6727 <define name="table-table-attlist" combine="interleave">   6821 <define name="table-table-attlist" combine="interleave">
6728         <optional>   6822         <optional>
6729                 <attribute name="table:style-name">   6823                 <attribute name="table:style-name">
6730                         <ref name="styleNameRef"/>   6824                         <ref name="styleNameRef"/>
6731                 </attribute>   6825                 </attribute>
6732         </optional>   6826         </optional>
6733 </define>   6827 </define>
6734 Example: Table Style   6828 Example: Table Style
6735 <style:style style:name="Table 1" style:family="table">   6829 <style:style style:name="Table 1" style:family="table">
6736         <style:table-properties style:width="12cm"   6830         <style:table-properties style:width="12cm"
6737          fo:background-color="light-grey"/>   6831          fo:background-color="light-grey"/>
6738 </style:style>   6832 </style:style>
6739     6833  
6740 <table:table table:name="Table 1" table:style-name="Table 1">   6834 <table:table table:name="Table 1" table:style-name="Table 1">
6741         ...   6835         ...
6742 </table:table>   6836 </table:table>
6743 Protected   6837 Protected
6744 The table:protected attribute specifies whether or not a table is protected from editing. If the table is protected, the table:protection-key attribute can specify a password to prevent a user from resetting the protection flag to enable editing. If a table is protected, all of the table elements and the cell elements with a style:cell-protect attribute set to true are protected.   6838 The table:protected attribute specifies whether or not a table is protected from editing. If the table is protected, the table:protection-key attribute can specify a password to prevent a user from resetting the protection flag to enable editing. If a table is protected, all of the table elements and the cell elements with a style:cell-protect attribute set to true are protected.
6745 To avoid saving the password directly into the XML file, only a hash value of the password is stored within the table:protection-key attribute.   6839 To avoid saving the password directly into the XML file, only a hash value of the password is stored within the table:protection-key attribute.
6746 <define name="table-table-attlist" combine="interleave">   6840 <define name="table-table-attlist" combine="interleave">
6747         <optional>   6841         <optional>
6748                 <attribute name="table:protected" a:defaultValue="false">   6842                 <attribute name="table:protected" a:defaultValue="false">
6749                         <ref name="boolean"/>   6843                         <ref name="boolean"/>
6750                 </attribute>   6844                 </attribute>
6751         </optional>   6845         </optional>
6752         <optional>   6846         <optional>
6753                 <attribute name="table:protection-key">   6847                 <attribute name="table:protection-key">
6754                         <text/>   6848                         <text/>
6755                 </attribute>   6849                 </attribute>
6756         </optional>   6850         </optional>
6757 </define>   6851 </define>
6758 Print   6852 Print
6759 The table:print attribute specifies if a table is printed. It takes a Boolean value. If its value is true, the table is printed, if its value is false, the table is not printed. The default value is true. The table:print attribute will be overwritten by the table:display attribute described in section 15.8.14. That is, if the table is not displayed, it also will not be printed.   6853 The table:print attribute specifies if a table is printed. It takes a Boolean value. If its value is true, the table is printed, if its value is false, the table is not printed. The default value is true. The table:print attribute will be overwritten by the table:display attribute described in section 15.8.14. That is, if the table is not displayed, it also will not be printed.
6760 If the table is printed, the table range that actually is printed can be specified by table:print-ranges attribute (see section 8.1.1:Print Ranges). If this attribute is not existing, the used area of the table will be printed.   6854 If the table is printed, the table range that actually is printed can be specified by table:print-ranges attribute (see section 8.1.1:Print Ranges). If this attribute is not existing, the used area of the table will be printed.
6761 <define name="table-table-attlist" combine="interleave">   6855 <define name="table-table-attlist" combine="interleave">
6762         <optional>   6856         <optional>
6763                 <attribute name="table:print" a:defaultValue="true">   6857                 <attribute name="table:print" a:defaultValue="true">
6764                         <ref name="boolean"/>   6858                         <ref name="boolean"/>
6765                 </attribute>   6859                 </attribute>
6766         </optional>   6860         </optional>
6767 </define>   6861 </define>
6768 Print Ranges   6862 Print Ranges
6769 The table:print-ranges attribute specifies the print ranges of the table, i.e., the cells that should be printed. It contains a list of cell addresses or cell range addresses as described in section 8.3.1.   6863 The table:print-ranges attribute specifies the print ranges of the table, i.e., the cells that should be printed. It contains a list of cell addresses or cell range addresses as described in section 8.3.1.
6770 <define name="table-table-attlist" combine="interleave">   6864 <define name="table-table-attlist" combine="interleave">
6771         <optional>   6865         <optional>
6772                 <attribute name="table:print-ranges">   6866                 <attribute name="table:print-ranges">
6773                         <ref name="cellRangeAddressList"/>   6867                         <ref name="cellRangeAddressList"/>
6774                 </attribute>   6868                 </attribute>
6775         </optional>   6869         </optional>
6776 </define>   6870 </define>
    -+ 6871 Soft Page Breaks
      6872 The <text:soft-page-break> element represents a soft page break between two table rows. It may appear in front of <table:table-row> elements.
      6873 See section 2.3.1:Use Soft Page BreaksUse Soft Page Breaks for details regarding soft page breaks.
6777 8.1.2Table Row = 6874 8.1.2Table Row
6778 The <table:table-row> element represents a row in a table. It content are elements that specify the cells of the table row.   6875 The <table:table-row> element represents a row in a table. It content are elements that specify the cells of the table row.
6779 The <table:table-row> element is similar to the [XSL] <fo:table-row> element.   6876 The <table:table-row> element is similar to the [XSL] <fo:table-row> element.
6780 <define name="table-table-row">   6877 <define name="table-table-row">
6781         <element name="table:table-row">   6878         <element name="table:table-row">
6782                 <ref name="table-table-row-attlist"/>   6879                 <ref name="table-table-row-attlist"/>
6783                 <oneOrMore>   6880                 <oneOrMore>
6784                         <choice>   6881                         <choice>
6785                                 <ref name="table-table-cell"/>   6882                                 <ref name="table-table-cell"/>
6786                                 <ref name="table-covered-table-cell"/>   6883                                 <ref name="table-covered-table-cell"/>
6787                         </choice>   6884                         </choice>
6788                 </oneOrMore>   6885                 </oneOrMore>
6789         </element>   6886         </element>
6790 </define>   6887 </define>
6791 Number of Rows Repeated   6888 Number of Rows Repeated
6792 The table:number-rows-repeated attribute specifies the number of rows to which a row element applies. If two or more rows are adjoining, and have the same content and properties, and do not contain vertically merged cells, they may be described by a  single <table:table-row> element that has a table:number-rows-repeated attribute with a value greater than 1.   6889 The table:number-rows-repeated attribute specifies the number of rows to which a row element applies. If two or more rows are adjoining, and have the same content and properties, and do not contain vertically merged cells, they may be described by a  single <table:table-row> element that has a table:number-rows-repeated attribute with a value greater than 1.
6793 <define name="table-table-row-attlist" combine="interleave">   6890 <define name="table-table-row-attlist" combine="interleave">
6794         <optional>   6891         <optional>
6795                 <attribute name="table:number-rows-repeated" a:defaultValue="1">   6892                 <attribute name="table:number-rows-repeated" a:defaultValue="1">
6796                         <ref name="positiveInteger"/>   6893                         <ref name="positiveInteger"/>
6797                 </attribute>   6894                 </attribute>
6798         </optional>   6895         </optional>
6799 </define>   6896 </define>
6800 Row Style   6897 Row Style
6801 A table row style stores the formatting properties of a table row, such as height and background color. A row style is defined by a <style:style> element with a family attribute value of table-row. The table row style can be either an automatic or a common style. It is referenced by the table row's table:style-name attribute.   6898 A table row style stores the formatting properties of a table row, such as height and background color. A row style is defined by a <style:style> element with a family attribute value of table-row. The table row style can be either an automatic or a common style. It is referenced by the table row's table:style-name attribute.
6802 <define name="table-table-row-attlist" combine="interleave">   6899 <define name="table-table-row-attlist" combine="interleave">
6803         <optional>   6900         <optional>
6804                 <attribute name="table:style-name">   6901                 <attribute name="table:style-name">
6805                         <ref name="styleNameRef"/>   6902                         <ref name="styleNameRef"/>
6806                 </attribute>   6903                 </attribute>
6807         </optional>   6904         </optional>
6808 </define>   6905 </define>
6809 Default Cell Style   6906 Default Cell Style
6810 The table:default-cell-style-name attribute specifies a default cell style. Cells contained in the row without an individual cell style use these default cell style. <> 6907 The table:default-cell-style-name attribute specifies a default cell style. Cells contained in the row that don't have a table:style-style name attribute use this default cell style.
      6908 The attribute is applied to cells that are defined by a <table:table-cell> element. It is typically not applied to table cells that spreadsheet application may display in addition to those defined in the document.
6811 <define name="table-table-row-attlist" combine="interleave"> = 6909 <define name="table-table-row-attlist" combine="interleave">
6812         <optional>   6910         <optional>
6813                 <attribute name="table:default-cell-style-name">   6911                 <attribute name="table:default-cell-style-name">
6814                         <ref name="styleNameRef"/>   6912                         <ref name="styleNameRef"/>
6815                 </attribute>   6913                 </attribute>
6816         </optional>   6914         </optional>
6817 </define>   6915 </define>
6818 Visibility   6916 Visibility
6819 The table:visibility attribute specifies whether the row is visible, filtered, or collapsed. Filtered and collapsed rows are not visible. Filtered rows are invisible, because a filter is applied to the table that does not select the table row. Collapsed rows have been made invisible by invisible in the UI directly.   6917 The table:visibility attribute specifies whether the row is visible, filtered, or collapsed. Filtered and collapsed rows are not visible. Filtered rows are invisible, because a filter is applied to the table that does not select the table row. Collapsed rows have been made invisible by invisible in the UI directly.
6820 <define name="table-table-row-attlist" combine="interleave">   6918 <define name="table-table-row-attlist" combine="interleave">
6821         <optional>   6919         <optional>
6822                 <attribute name="table:visibility" a:defaultValue="visible">   6920                 <attribute name="table:visibility" a:defaultValue="visible">
6823                         <ref name="table-visibility-value"/>   6921                         <ref name="table-visibility-value"/>
6824                 </attribute>   6922                 </attribute>
6825         </optional>   6923         </optional>
6826 </define>   6924 </define>
6827     6925  
6828 <define name="table-visibility-value">   6926 <define name="table-visibility-value">
6829         <choice>   6927         <choice>
6830                 <value>visible</value>   6928                 <value>visible</value>
6831                 <value>collapse</value>   6929                 <value>collapse</value>
6832                 <value>filter</value>   6930                 <value>filter</value>
6833         </choice>   6931         </choice>
6834 </define>   6932 </define>
6835 Example: Table with three rows and three columns   6933 Example: Table with three rows and three columns
6836 This example shows the OpenDocument code for a table with three rows and three columns. The first two rows of the table have a blue background.   6934 This example shows the OpenDocument code for a table with three rows and three columns. The first two rows of the table have a blue background.
6837 <style:style style:name="Table 1" style:family="table">   6935 <style:style style:name="Table 1" style:family="table">
6838         <style:table-properties style:width="12cm"   6936         <style:table-properties style:width="12cm"
6839                 fo:background-color="light-grey"/>   6937                 fo:background-color="light-grey"/>
6840 </style:style>   6938 </style:style>
6841 <style:style style:name="Col1" style:family="table-column">   6939 <style:style style:name="Col1" style:family="table-column">
6842         <style:table-column-properties style:column-width="2cm"/>   6940         <style:table-column-properties style:column-width="2cm"/>
6843 </style:style>   6941 </style:style>
6844 <style:style style:name="Col2" style:family="table-column">   6942 <style:style style:name="Col2" style:family="table-column">
6845         <style:table-column-properties style:column-width="4cm"/>   6943         <style:table-column-properties style:column-width="4cm"/>
6846 </style:style>   6944 </style:style>
6847 <style:style style:name="Col3" style:family="table-column">   6945 <style:style style:name="Col3" style:family="table-column">
6848         <style:table-column-properties style:column-width="6cm"/>   6946         <style:table-column-properties style:column-width="6cm"/>
6849 </style:style>   6947 </style:style>
6850 <style:style style:name="Row1" style:family="table-row">   6948 <style:style style:name="Row1" style:family="table-row">
6851         <style:table-row-properties fo:background-color="blue"/>   6949         <style:table-row-properties fo:background-color="blue"/>
6852 </style:style>   6950 </style:style>
6853     6951  
6854 <table:table table:name="Table 1" table:style-name="Table 1">   6952 <table:table table:name="Table 1" table:style-name="Table 1">
6855         <table:table-columns>   6953         <table:table-columns>
6856                 <table:table-column table:style-name="Col1"/>   6954                 <table:table-column table:style-name="Col1"/>
6857                 <table:table-column table:style-name="Col2"/>   6955                 <table:table-column table:style-name="Col2"/>
6858                 <table:table-column table:style-name="Col3"/>   6956                 <table:table-column table:style-name="Col3"/>
6859         </table:table-columns>   6957         </table:table-columns>
6860         <table:table-rows>   6958         <table:table-rows>
6861                 <table:table-row table:style-name="Row1">   6959                 <table:table-row table:style-name="Row1">
6862                         ...   6960                         ...
6863                 </table:table-row>   6961                 </table:table-row>
6864                 <table:table-row table:style-name="Row1">   6962                 <table:table-row table:style-name="Row1">
6865                         ...   6963                         ...
6866                 </table:table-row>   6964                 </table:table-row>
6867                 <table:table-row>   6965                 <table:table-row>
6868                         ...   6966                         ...
6869                 </table:table-row>   6967                 </table:table-row>
6870         <table:table-rows>   6968         <table:table-rows>
6871 </table:table>   6969 </table:table>
6872 8.1.3Table Cell   6970 8.1.3Table Cell
6873 The <table:table-cell> and <table:covered-table-cell> elements specify the content of a table cells. They are contained in table row elements. A table cell can contain paragraphs and other text content as well as sub tables. Table cells may be empty.   6971 The <table:table-cell> and <table:covered-table-cell> elements specify the content of a table cells. They are contained in table row elements. A table cell can contain paragraphs and other text content as well as sub tables. Table cells may be empty.
6874 The <table:table-cell> element is very similar to the table cell elements of [XSL] and [HTML4], and the rules regarding cells that span several columns or rows that exist in HTML and XSL apply to the OpenDocument specification as well. This means that there are no <table:table-cell> elements in the row/column grid for positions that are covered by a merged cell, that is, that are covered by a cell that spans several columns or rows. The <table:covered-table-cell> element exists to be able to specify cells for such positions . It has to appear wherever a position in the row/column grid is covered by a cell spans several rows or columns. Its position in the grid is calculated by a assuming a column and row span of 1 for all cells regardless whether they are specified by a <table:table-cell> or a <table:covered-table-cell> element. The <table:covered-table-cell> is especially used by spreadsheet applications, where it is a common use case that a covered cell contains content. <> 6972 The <table:table-cell> element is very similar to the table cell elements of [XSL] and [HTML4], and the rules regarding cells that span several columns or rows that exist in HTML and XSL apply to the OpenDocument specification as well. This means that there are no <table:table-cell> elements in the row/column grid for positions that are covered by a merged cell, that is, that are covered by a cell that spans several columns or rows. The <table:covered-table-cell> element exists to be able to specify cells for such positions . It has to appear wherever a position in the row/column grid is covered by a cell that spans several rows or columns. Its position in the grid is calculated by a assuming a column and row span of 1 for all cells regardless whether they are specified by a <table:table-cell> or a <table:covered-table-cell> element. The <table:covered-table-cell> is especially used by spreadsheet applications, where it is a common use case that a covered cell contains content.
6875 <define name="table-table-cell"> = 6973 <define name="table-table-cell">
6876         <element name="table:table-cell">   6974         <element name="table:table-cell">
6877                 <ref name="table-table-cell-attlist"/>   6975                 <ref name="table-table-cell-attlist"/>
6878                 <ref name="table-table-cell-attlist-extra"/>   6976                 <ref name="table-table-cell-attlist-extra"/>
6879                 <ref name="table-table-cell-content"/>   6977                 <ref name="table-table-cell-content"/>
6880         </element>   6978         </element>
6881 </define>   6979 </define>
6882     6980  
6883 <define name="table-covered-table-cell">   6981 <define name="table-covered-table-cell">
6884         <element name="table:covered-table-cell">   6982         <element name="table:covered-table-cell">
6885                 <ref name="table-table-cell-attlist"/>   6983                 <ref name="table-table-cell-attlist"/>
6886                 <ref name="table-table-cell-content"/>   6984                 <ref name="table-table-cell-content"/>
6887         </element>   6985         </element>
6888 </define>   6986 </define>
6889     6987  
6890 <define name="table-table-cell-content">   6988 <define name="table-table-cell-content">
6891         <optional>   6989         <optional>
6892                 <ref name="table-cell-range-source"/>   6990                 <ref name="table-cell-range-source"/>
6893         </optional>   6991         </optional>
6894         <optional>   6992         <optional>
6895                 <ref name="office-annotation"/>   6993                 <ref name="office-annotation"/>
6896         </optional>   6994         </optional>
6897         <optional>   6995         <optional>
6898                 <ref name="table-detective"/>   6996                 <ref name="table-detective"/>
6899         </optional>   6997         </optional>
6900         <zeroOrMore>   6998         <zeroOrMore>
6901                 <ref name="text-content"/>   6999                 <ref name="text-content"/>
6902         </zeroOrMore>   7000         </zeroOrMore>
6903 </define>   7001 </define>
6904 Number of Cells Repeated   7002 Number of Cells Repeated
6905 The table:number-columns-repeated attribute specifies the number of successive columns in which a cell is repeated. It can be used to describe two or more adjoining cells with a single cell element, if they meet the following conditions:   7003 The table:number-columns-repeated attribute specifies the number of successive columns in which a cell is repeated. It can be used to describe two or more adjoining cells with a single cell element, if they meet the following conditions:
6906 The cells contain the same content and properties.   7004 The cells contain the same content and properties.
6907 The cells are not merged horizontally or vertically.   7005 The cells are not merged horizontally or vertically.
6908 In this case, a table:number-columns-repeated attribute must be used to specify the number of successive columns in which the cell is repeated. This attribute is specified with either the <table:table-cell> element or the <table:covered-table-cell> element.   7006 In this case, a table:number-columns-repeated attribute must be used to specify the number of successive columns in which the cell is repeated. This attribute is specified with either the <table:table-cell> element or the <table:covered-table-cell> element.
6909 <define name="table-table-cell-attlist" combine="interleave">   7007 <define name="table-table-cell-attlist" combine="interleave">
6910         <optional>   7008         <optional>
6911                 <attribute name="table:number-columns-repeated" a:defaultValue="1">   7009                 <attribute name="table:number-columns-repeated" a:defaultValue="1">
6912                         <ref name="positiveInteger"/>   7010                         <ref name="positiveInteger"/>
6913                 </attribute>   7011                 </attribute>
6914         </optional>   7012         </optional>
6915 </define>   7013 </define>
6916 Number of Rows and Columns Spanned   7014 Number of Rows and Columns Spanned
6917 These attributes specify the number of rows and columns that a cell spans. These attributes can be used with the <table:table-cell> element only.   7015 These attributes specify the number of rows and columns that a cell spans. These attributes can be used with the <table:table-cell> element only.
6918 When a cell covers another cell because of a column or row span value greater than one, a <table:covered-table-cell> element must appear in the table to represent the covered cell.   7016 When a cell covers another cell because of a column or row span value greater than one, a <table:covered-table-cell> element must appear in the table to represent the covered cell.
6919 <define name="table-table-cell-attlist-extra" combine="interleave">   7017 <define name="table-table-cell-attlist-extra" combine="interleave">
6920         <optional>   7018         <optional>
6921                 <attribute name="table:number-columns-spanned" a:defaultValue="1">   7019                 <attribute name="table:number-columns-spanned" a:defaultValue="1">
6922                         <ref name="positiveInteger"/>   7020                         <ref name="positiveInteger"/>
6923                 </attribute>   7021                 </attribute>
6924         </optional>   7022         </optional>
6925         <optional>   7023         <optional>
6926                 <attribute name="table:number-rows-spanned" a:defaultValue="1">   7024                 <attribute name="table:number-rows-spanned" a:defaultValue="1">
6927                         <ref name="positiveInteger"/>   7025                         <ref name="positiveInteger"/>
6928                 </attribute>   7026                 </attribute>
6929         </optional>   7027         </optional>
6930 </define>   7028 </define>
6931 Cell Style   7029 Cell Style
6932 A table cell style stores the formatting properties of a cell, such as the following:   7030 A table cell style stores the formatting properties of a cell, such as the following:
6933 Background color   7031 Background color
6934 Number format   7032 Number format
6935 Vertical alignment   7033 Vertical alignment
6936 Borders   7034 Borders
6937 The table cell style can be either an automatic or a common style. The style is specified with a table:style-name attribute. If a cell does not have a cell style assigned, the application checks if a the current row has a default cell style assigned. If the current row does not have a default cell assigned style as well, the application checks if the current column has a default cell style assigned.   7035 The table cell style can be either an automatic or a common style. The style is specified with a table:style-name attribute. If a cell does not have a cell style assigned, the application checks if a the current row has a default cell style assigned. If the current row does not have a default cell assigned style as well, the application checks if the current column has a default cell style assigned.
6938 <define name="table-table-cell-attlist" combine="interleave">   7036 <define name="table-table-cell-attlist" combine="interleave">
6939         <optional>   7037         <optional>
6940                 <attribute name="table:style-name">   7038                 <attribute name="table:style-name">
6941                         <ref name="styleNameRef"/>   7039                         <ref name="styleNameRef"/>
6942                 </attribute>   7040                 </attribute>
6943         </optional>   7041         </optional>
6944 </define>   7042 </define>
6945 Cell Content Validation   7043 Cell Content Validation
6946 The table:content-validation-name attribute specifies if a cell contains a validity check. The value of this attribute is the name of a <table:cell-content-validation> element. If the attribute is not present, the cell may have arbitrary content. <> 7044 The table:content-validation-name attribute specifies if a cell contains a validity check. The value of this attribute is the name of a <table:content-validation> element. If the attribute is not present, the cell may have arbitrary content.
6947 <define name="table-table-cell-attlist" combine="interleave"> = 7045 <define name="table-table-cell-attlist" combine="interleave">
6948         <optional>   7046         <optional>
6949                 <attribute name="table:content-validation-name">   7047                 <attribute name="table:content-validation-name">
6950                         <ref name="string"/>   7048                         <ref name="string"/>
6951                 </attribute>   7049                 </attribute>
6952         </optional>   7050         </optional>
6953 </define>   7051 </define>
6954 See section 8.5.3 for more information on cell content validation and the <table:cell-content-validation> element.   7052 See section 8.5.3 for more information on cell content validation and the <table:cell-content-validation> element.
6955 Formula   7053 Formula
6956 Formulas allow calculations to be performed within table cells. Every formula should begin with a namespace prefix specifying the syntax and semantics used within the formula. Typically, the formula itself begins with an equal (=) sign and can include the following components:   7054 Formulas allow calculations to be performed within table cells. Every formula should begin with a namespace prefix specifying the syntax and semantics used within the formula. Typically, the formula itself begins with an equal (=) sign and can include the following components:
6957 Numbers.   7055 Numbers.
6958 Text.   7056 Text.
6959 Named ranges.   7057 Named ranges.
6960 Operators.   7058 Operators.
6961 Logical operators.   7059 Logical operators.
6962 Function calls.   7060 Function calls.
6963 Addresses of cells that contain numbers. The addresses can be relative or absolute, see section 8.3.1. Addresses in formulas start with a “[“ and end with a “]”. See sections 8.3.1 and 8.3.1 for information about how to address a cell or cell range.   7061 Addresses of cells that contain numbers. The addresses can be relative or absolute, see section 8.3.1. Addresses in formulas start with a “[“ and end with a “]”. See sections 8.3.1 and 8.3.1 for information about how to address a cell or cell range.
6964 The following is an example of a simple formula:   7062 The following is an example of a simple formula:
6965         =sum([.A1:.A5])   7063         =sum([.A1:.A5])
6966 This formula calculates the sum of the values of all cells in the range “.A1:.A5”. The function is “sum”. The parameters are marked by a “(“ at the start and a “)” at the end. If a function contains more than one parameter, the parameters are separated by a “;”.   7064 This formula calculates the sum of the values of all cells in the range “.A1:.A5”. The function is “sum”. The parameters are marked by a “(“ at the start and a “)” at the end. If a function contains more than one parameter, the parameters are separated by a “;”.
6967 The following is a variation of the formula shown above:   7065 The following is a variation of the formula shown above:
6968         =sum([.A1];[.A2];[.A3];[.A4];[.A5])   7066         =sum([.A1];[.A2];[.A3];[.A4];[.A5])
6969 The result of this formula is the same. The components used in the formula depend on the application being used.   7067 The result of this formula is the same. The components used in the formula depend on the application being used.
6970 The table:formula attribute contains a formula for a table cell.   7068 The table:formula attribute contains a formula for a table cell.
6971 <define name="table-table-cell-attlist" combine="interleave">   7069 <define name="table-table-cell-attlist" combine="interleave">
6972         <optional>   7070         <optional>
6973                 <attribute name="table:formula">   7071                 <attribute name="table:formula">
6974                         <ref name="string"/>   7072                         <ref name="string"/>
6975                 </attribute>   7073                 </attribute>
6976         </optional>   7074         </optional>
6977 </define>   7075 </define>
6978 In addition to this, the calculated value of the formula is available as well. One of the following attributes represents the current value of the cell:   7076 In addition to this, the calculated value of the formula is available as well. One of the following attributes represents the current value of the cell:
6979 office:value   7077 office:value
6980 office:date-value   7078 office:date-value
6981 office:time-value   7079 office:time-value
6982 office:boolean-value   7080 office:boolean-value
6983 office:string-value   7081 office:string-value
6984 Matrix   7082 Matrix
6985 When an application is performing spreadsheet calculations, a connected range of cells that contains values is called a matrix. If the cell range contains m rows and n columns, the matrix is called an m x n matrix. The smallest possible matrix is a 1 x 2 or 2 x 1 matrix with two adjacent cells. To use a matrix in a formula, include the cell range address of the matrix in the formula. In a matrix formula, only special matrix operations are possible.    7083 When an application is performing spreadsheet calculations, a connected range of cells that contains values is called a matrix. If the cell range contains m rows and n columns, the matrix is called an m x n matrix. The smallest possible matrix is a 1 x 2 or 2 x 1 matrix with two adjacent cells. To use a matrix in a formula, include the cell range address of the matrix in the formula. In a matrix formula, only special matrix operations are possible. 
6986 The number of rows and columns that a matrix spans are represented by the table:number-matrix-rows-spanned and table:number-matrix-columns-spanned attributes, which are attached to the cell elements.   7084 The number of rows and columns that a matrix spans are represented by the table:number-matrix-rows-spanned and table:number-matrix-columns-spanned attributes, which are attached to the cell elements.
6987 <define name="table-table-cell-attlist-extra" combine="interleave">   7085 <define name="table-table-cell-attlist-extra" combine="interleave">
6988         <optional>   7086         <optional>
6989                 <attribute name="table:number-matrix-columns-spanned">   7087                 <attribute name="table:number-matrix-columns-spanned">
6990                         <ref name="positiveInteger"/>   7088                         <ref name="positiveInteger"/>
6991                 </attribute>   7089                 </attribute>
6992         </optional>   7090         </optional>
6993         <optional>   7091         <optional>
6994                 <attribute name="table:number-matrix-rows-spanned">   7092                 <attribute name="table:number-matrix-rows-spanned">
6995                         <ref name="positiveInteger"/>   7093                         <ref name="positiveInteger"/>
6996                 </attribute>   7094                 </attribute>
6997         </optional>   7095         </optional>
6998 </define>   7096 </define>
6999 Value Type   7097 Value Type
7000 The table:value-type attribute specifies the type of value that can appear in a cell. It may contain one of the following values:   7098 The table:value-type attribute specifies the type of value that can appear in a cell. It may contain one of the following values:
7001 float, percentage or currency (numeric types)   7099 float, percentage or currency (numeric types)
7002 date   7100 date
7003 time   7101 time
7004 boolean   7102 boolean
7005 string   7103 string
7006 <define name="table-table-cell-attlist" combine="interleave">   7104 <define name="table-table-cell-attlist" combine="interleave">
7007         <optional>   7105         <optional>
7008                 <ref name="common-value-and-type-attlist"/>   7106                 <ref name="common-value-and-type-attlist"/>
7009         </optional>   7107         </optional>
7010 </define>   7108 </define>
7011 Cell Current Numeric Value   7109 Cell Current Numeric Value
7012 The office:value attribute specifies the current numeric value of a cell. This attribute is only evaluated for cells that contain the following data types:   7110 The office:value attribute specifies the current numeric value of a cell. This attribute is only evaluated for cells that contain the following data types:
7013 float   7111 float
7014 percentage   7112 percentage
7015 currency   7113 currency
7016 Cell Current Currency   7114 Cell Current Currency
7017 The tableoffice:currency attribute specifies the current currency value of a cell. The value of this attribute is usually currency information such as DEM or EUR. This attribute is only evaluated for cells whose data type is currency.   7115 The tableoffice:currency attribute specifies the current currency value of a cell. The value of this attribute is usually currency information such as DEM or EUR. This attribute is only evaluated for cells whose data type is currency.
7018 Cell Current Date Value   7116 Cell Current Date Value
7019 The office:date-value attribute specifies the current date value of a cell. This attribute is only evaluated for cells whose data type is date.   7117 The office:date-value attribute specifies the current date value of a cell. This attribute is only evaluated for cells whose data type is date.
7020 Some application support date and time values in addition to dates.   7118 Some application support date and time values in addition to dates.
7021 Cell Current Time Value   7119 Cell Current Time Value
7022 The office:time-value attribute specifies the current time value of a cell. This attribute is only evaluated for cells whose data type is time.   7120 The office:time-value attribute specifies the current time value of a cell. This attribute is only evaluated for cells whose data type is time.
7023 Cell Current Boolean Value   7121 Cell Current Boolean Value
7024 The office:boolean-value attribute specifies the current Boolean value of a cell. This attribute is only evaluated for cells whose data type is boolean.   7122 The office:boolean-value attribute specifies the current Boolean value of a cell. This attribute is only evaluated for cells whose data type is boolean.
7025 Cell Current String Value   7123 Cell Current String Value
7026 The office:string-value attribute specifies the current string value of a cell. This attribute is only evaluated for cells whose data type is string.   7124 The office:string-value attribute specifies the current string value of a cell. This attribute is only evaluated for cells whose data type is string.
7027 Table Cell Protection   7125 Table Cell Protection
7028 The table:protected attribute protects the table cells. Users can not edit the content of a cell that is marked as protected.   7126 The table:protected attribute protects the table cells. Users can not edit the content of a cell that is marked as protected.
7029 <define name="table-table-cell-attlist" combine="interleave">   7127 <define name="table-table-cell-attlist" combine="interleave">
7030         <optional>   7128         <optional>
7031                 <attribute name="table:protect" a:defaultValue="false">   7129                 <attribute name="table:protect" a:defaultValue="false">
7032                         <ref name="boolean"/>   7130                         <ref name="boolean"/>
7033                 </attribute>   7131                 </attribute>
7034         </optional>   7132         </optional>
7035 </define>   7133 </define>
7036 This attribute is not related to the table:protected attribute for table elements (see section 8.1.1) and the table:cell-protect attribute for table cell styles (see section 15.11.14).   7134 This attribute is not related to the table:protected attribute for table elements (see section 8.1.1) and the table:cell-protect attribute for table cell styles (see section 15.11.14).
7037 8.2Advanced Table Model   7135 8.2Advanced Table Model
7038 8.2.1Column Description   7136 8.2.1Column Description
7039 Every column in a table has a column description element <table:table-column>. It is similar to the [XSL] <fo:table-column> element, and its primary use is to reference a table column style that for instance specifies the table column's width.   7137 Every column in a table has a column description element <table:table-column>. It is similar to the [XSL] <fo:table-column> element, and its primary use is to reference a table column style that for instance specifies the table column's width.
7040 <define name="table-table-column">   7138 <define name="table-table-column">
7041         <element name="table:table-column">   7139         <element name="table:table-column">
7042                 <ref name="table-table-column-attlist"/>   7140                 <ref name="table-table-column-attlist"/>
7043                 <empty/>   7141                 <empty/>
7044         </element>   7142         </element>
7045 </define>   7143 </define>
7046 Number of Columns Repeated   7144 Number of Columns Repeated
7047 The table:number-columns-repeated attribute specifies the number of columns to which a column description applies. If two or more columns are adjoining, and have the same properties, this attribute allows to describe them with a single <table:table-column> element.   7145 The table:number-columns-repeated attribute specifies the number of columns to which a column description applies. If two or more columns are adjoining, and have the same properties, this attribute allows to describe them with a single <table:table-column> element.
7048 <define name="table-table-column-attlist" combine="interleave">   7146 <define name="table-table-column-attlist" combine="interleave">
7049         <optional>   7147         <optional>
7050                 <attribute name="table:number-columns-repeated" a:defaultValue="1">   7148                 <attribute name="table:number-columns-repeated" a:defaultValue="1">
7051                         <ref name="positiveInteger"/>   7149                         <ref name="positiveInteger"/>
7052                 </attribute>   7150                 </attribute>
7053         </optional>   7151         </optional>
7054 </define>   7152 </define>
7055 Column Style   7153 Column Style
7056 A table column style stores the formatting properties of a table column, such as width and background color. It is specified by a <style:style> element with a family attribute value of table-column and can be either an automatic or a common style. The style of a column is specified using a table:style-name attribute.   7154 A table column style stores the formatting properties of a table column, such as width and background color. It is specified by a <style:style> element with a family attribute value of table-column and can be either an automatic or a common style. The style of a column is specified using a table:style-name attribute.
7057 <define name="table-table-column-attlist" combine="interleave">   7155 <define name="table-table-column-attlist" combine="interleave">
7058         <optional>   7156         <optional>
7059                 <attribute name="table:style-name">   7157                 <attribute name="table:style-name">
7060                         <ref name="styleNameRef"/>   7158                         <ref name="styleNameRef"/>
7061                 </attribute>   7159                 </attribute>
7062         </optional>   7160         </optional>
7063 </define>   7161 </define>
7064 Visibility   7162 Visibility
7065 The table:visibility attribute specifies whether the column is visible, filtered, or collapsed. See section 8.1.2 for more details.   7163 The table:visibility attribute specifies whether the column is visible, filtered, or collapsed. See section 8.1.2 for more details.
7066 <define name="table-table-column-attlist" combine="interleave">   7164 <define name="table-table-column-attlist" combine="interleave">
7067         <optional>   7165         <optional>
7068                 <attribute name="table:visibility" a:defaultValue="visible">   7166                 <attribute name="table:visibility" a:defaultValue="visible">
7069                         <ref name="table-visibility-value"/>   7167                         <ref name="table-visibility-value"/>
7070                 </attribute>   7168                 </attribute>
7071         </optional>   7169         </optional>
7072 </define>   7170 </define>
7073 Default Cell Style   7171 Default Cell Style
7074 The table:default-cell-style-name attribute specifies the default cell style. Cells without a style use this style when there is no default cell style specified for the cell's row as well. <> 7172 The table:default-cell-style-name attribute specifies the default cell style. Cells that don't have a table:style-style name attribute use this style when there is no default cell style specified for the cell's row as well.
      7173 The attribute is applied to cells that are defined by a <table:table-cell> element. It is typically not applied to table cells that spreadsheet application may display in addition to those defined in the document.
7075 <define name="table-table-column-attlist" combine="interleave"> = 7174 <define name="table-table-column-attlist" combine="interleave">
7076         <optional>   7175         <optional>
7077                 <attribute name="table:default-cell-style-name">   7176                 <attribute name="table:default-cell-style-name">
7078                         <ref name="styleNameRef"/>   7177                         <ref name="styleNameRef"/>
7079                 </attribute>   7178                 </attribute>
7080         </optional>   7179         </optional>
7081 </define>   7180 </define>
7082 Example: Table with three columns   7181 Example: Table with three columns
7083 This example shows the OpenDocument code for a table with three columns.   7182 This example shows the OpenDocument code for a table with three columns.
7084 <style:style style:name="Table 1" style:family="table">   7183 <style:style style:name="Table 1" style:family="table">
7085         <style:table-properties style:width="12cm"   7184         <style:table-properties style:width="12cm"
7086                 fo:background-color="light-grey"/>   7185                 fo:background-color="light-grey"/>
7087 </style:style>   7186 </style:style>
7088 <style:style style:name="Col1" style:family="table-column">   7187 <style:style style:name="Col1" style:family="table-column">
7089         <style:table-column-properties style:column-width="2cm"/>   7188         <style:table-column-properties style:column-width="2cm"/>
7090 </style:style>   7189 </style:style>
7091 <style:style style:name="Col2" style:family="table-column">   7190 <style:style style:name="Col2" style:family="table-column">
7092         <style:table-column-properties style:column-width="4cm"/>   7191         <style:table-column-properties style:column-width="4cm"/>
7093 </style:style>   7192 </style:style>
7094 <style:style style:name="Col3" style:family="table-column">   7193 <style:style style:name="Col3" style:family="table-column">
7095         <style:table-column-properties style:column-width="6cm"/>   7194         <style:table-column-properties style:column-width="6cm"/>
7096 </style:style>   7195 </style:style>
7097     7196  
7098 <table:table table:name="Table 1" table:style-name="Table 1">   7197 <table:table table:name="Table 1" table:style-name="Table 1">
7099         <table:table-columns>   7198         <table:table-columns>
7100                 <table:table-column table:style-name="Col1"/>   7199                 <table:table-column table:style-name="Col1"/>
7101                 <table:table-column table:style-name="Col2"/>   7200                 <table:table-column table:style-name="Col2"/>
7102                 <table:table-column table:style-name="Col3"/>   7201                 <table:table-column table:style-name="Col3"/>
7103         </table:table-columns>   7202         </table:table-columns>
7104         ...   7203         ...
7105 </table:table>   7204 </table:table>
7106 8.2.2Header Columns   7205 8.2.2Header Columns
7107 If a table does not fit on a single page, a set of adjacent table columns can be automatically repeated on every page. To do so, their columns descriptions have to be included in a <table:table-header-columns> element. Descriptions of columns that shall not be repeated on every page can be included into a <table:table-columns> element, but don't have to. A table must not contain more than one <table:table-header-columns> element, and a <table:table-columns> must not follow another <table:table-columns> element. The only exception are tables that contain grouped columns (see 8.2.3). Such tables contain more than one <table:table-header-columns> element, provided that they are contained in different column groups and the columns contained in the elements are adjacent. <> 7206 For accessibility purposes, header information is needed. Therefore, any columns designated as headers by the author must be tagged as such by encapsulating them within a <table:table-header-columns> element. Using style information only to designate header columns is insufficient.
      7207 If a table does not fit on a single page, table columns that are included in a <table:table-header-columns> element are automatically repeated on every page. A table must not contain more than one <table:table-header-columns> element, and a <table:table-columns> must not follow another <table:table-columns> element, with the only exception of tables that contain grouped columns (see 8.2.3). Such tables may contain more than one <table:table-header-columns> element, provided that they are contained in different column groups and the columns contained in the elements are adjacent.
7108 Applications that do not support header columns have to process header column descriptions the same way as non header column descriptions. = 7208 Applications that do not support header columns have to process header column descriptions the same way as non header column descriptions.
7109 The <table:table-header-columns> and <table:table-columns> element are very similar to [HTML4]'s <THEAD> and <TBODY> elements for rows.   7209 The <table:table-header-columns> and <table:table-columns> element are very similar to [HTML4]'s <THEAD> and <TBODY> elements for rows.
7110 <define name="table-table-header-columns">   7210 <define name="table-table-header-columns">
7111         <element name="table:table-header-columns">   7211         <element name="table:table-header-columns">
7112                 <oneOrMore>   7212                 <oneOrMore>
7113                         <ref name="table-table-column"/>   7213                         <ref name="table-table-column"/>
7114                 </oneOrMore>   7214                 </oneOrMore>
7115         </element>   7215         </element>
7116 </define>   7216 </define>
7117     7217  
7118 <define name="table-table-columns">   7218 <define name="table-table-columns">
7119         <element name="table:table-columns">   7219         <element name="table:table-columns">
7120                 <oneOrMore>   7220                 <oneOrMore>
7121                         <ref name="table-table-column"/>   7221                         <ref name="table-table-column"/>
7122                 </oneOrMore>   7222                 </oneOrMore>
7123         </element>   7223         </element>
7124 </define>   7224 </define>
7125 8.2.3Column Groups   7225 8.2.3Column Groups
7126 Adjacent table columns can be grouped with the <table:table-column-group> element. Every group can contain a new group, columns, and column headers. A column group can be visible or hidden. Column groups can for instance used by spreadsheet applications to group columns that are summarized, so that the individual columns that contribute to the sum can be made invisible easily, but the sum remains visible.   7226 Adjacent table columns can be grouped with the <table:table-column-group> element. Every group can contain a new group, columns, and column headers. A column group can be visible or hidden. Column groups can for instance used by spreadsheet applications to group columns that are summarized, so that the individual columns that contribute to the sum can be made invisible easily, but the sum remains visible.
7127 If a set of header columns and a column group overlap, the header column group breaks the column header set. That is, the <table:table-column-group> may contain <table:table-header-columns> elements, but not vice versa.   7227 If a set of header columns and a column group overlap, the header column group breaks the column header set. That is, the <table:table-column-group> may contain <table:table-header-columns> elements, but not vice versa.
7128 <define name="table-table-column-group">   7228 <define name="table-table-column-group">
7129         <element name="table:table-column-group">   7229         <element name="table:table-column-group">
7130                 <ref name="table-table-column-group-attlist"/>   7230                 <ref name="table-table-column-group-attlist"/>
7131                 <ref name="table-columns-and-groups"/>   7231                 <ref name="table-columns-and-groups"/>
7132         </element>   7232         </element>
7133 </define>   7233 </define>
7134 Display   7234 Display
7135 The table:display attribute specifies whether or not the group is visible.   7235 The table:display attribute specifies whether or not the group is visible.
7136 <define name="table-table-column-group-attlist" combine="interleave">   7236 <define name="table-table-column-group-attlist" combine="interleave">
7137         <optional>   7237         <optional>
7138                 <attribute name="table:display" a:defaultValue="true">   7238                 <attribute name="table:display" a:defaultValue="true">
7139                         <ref name="boolean"/>   7239                         <ref name="boolean"/>
7140                 </attribute>   7240                 </attribute>
7141         </optional>   7241         </optional>
7142 </define>   7242 </define>
7143 8.2.4Header Rows   7243 8.2.4Header Rows
7144 If a table does not fit on a single page, a set of adjacent table rows can be automatically repeated on every page. To do so, their row elements have to be included in a <table:table-header-rows> element. Rows that shall not be repeated on every page can be included into a <table:table-rows> element, but don't have to. A table must not contain more than one <table:table-header-rows> element, and a <table:table-rows> must not follow another <table:table-rows> element. The only exception are tables that contain grouped rows (see 8.2.5). Such tables contain more than one <table:table-header-rows> element, provided that they are contained in different row groups and the rows contained in the elements are adjacent. <> 7244 For accessibility purposes, header information is needed. Therefore, any rows designated as headers by the author must be tagged as such by encapsulating them within a <table:table-header-rows> element. Using style information only to designate header rows is insufficient.
      7245 If a table does not fit on a single page, table rows that are included in a <table:table-header-rows> element are automatically repeated on every page. A table must not contain more than one <table:table-header-rows> element. The one exception to this is a table that contains grouped rows (see 8.2.5). Such a table may contain more than one <table:table-header-rows> element, provided that they are contained in different row groups and the rows contained in the elements are adjacent.
7145 Applications that do not support header rows have to process header rows the same way as non header rows. = 7246 Applications that do not support header rows have to process header rows the same way as non header rows.
7146 The <table:table-header-rows> and <table:table-rows> element are very similar to [HTML4]'s <THEAD> and <TBODY> elements.   7247 The <table:table-header-rows> and <table:table-rows> element are very similar to [HTML4]'s <THEAD> and <TBODY> elements.
7147 <define name="table-table-header-rows">   7248 <define name="table-table-header-rows">
7148         <element name="table:table-header-rows">   7249         <element name="table:table-header-rows">
7149                 <oneOrMore>   7250                 <oneOrMore>
    -+ 7251                         <optional>
      7252                                 <ref name="text-soft-page-break"/>
      7253                         </optional>
7150                         <ref name="table-table-row"/> = 7254                         <ref name="table-table-row"/>
7151                 </oneOrMore>   7255                 </oneOrMore>
7152         </element>   7256         </element>
7153 </define>   7257 </define>
7154     7258  
7155 <define name="table-table-rows">   7259 <define name="table-table-rows">
7156         <element name="table:table-rows">   7260         <element name="table:table-rows">
7157                 <oneOrMore>   7261                 <oneOrMore>
    -+ 7262                         <optional>
      7263                                 <ref name="text-soft-page-break"/>
      7264                         </optional>
7158                         <ref name="table-table-row"/> = 7265                         <ref name="table-table-row"/>
7159                 </oneOrMore>   7266                 </oneOrMore>
7160         </element>   7267         </element>
7161 </define>   7268 </define>
7162 8.2.5Row Groups   7269 8.2.5Row Groups
7163 Adjacent table rows can be grouped with the <table:table-row-group> element. Every group can contain a new group, rows, and row headers. A row group can be visible or hidden. Row groups can for instance used by spreadsheet applications to group rows that are summarized, so that the individual rows that contribute to the sum can be made invisible easily, but the sum remains visible.   7270 Adjacent table rows can be grouped with the <table:table-row-group> element. Every group can contain a new group, rows, and row headers. A row group can be visible or hidden. Row groups can for instance used by spreadsheet applications to group rows that are summarized, so that the individual rows that contribute to the sum can be made invisible easily, but the sum remains visible.
7164 If a set of header rows and a row group overlap, the header row group breaks the row header set. That is, the <table:table-row-group> may contain <table:table-header-rows> elements, but not vice versa.   7271 If a set of header rows and a row group overlap, the header row group breaks the row header set. That is, the <table:table-row-group> may contain <table:table-header-rows> elements, but not vice versa.
7165 <define name="table-table-row-group">   7272 <define name="table-table-row-group">
7166         <element name="table:table-row-group">   7273         <element name="table:table-row-group">
7167                 <ref name="table-table-row-group-attlist"/>   7274                 <ref name="table-table-row-group-attlist"/>
7168                 <ref name="table-rows-and-groups"/>   7275                 <ref name="table-rows-and-groups"/>
7169         </element>   7276         </element>
7170 </define>   7277 </define>
7171 Display   7278 Display
7172 The table:display attribute specifies whether or not the group is visible.   7279 The table:display attribute specifies whether or not the group is visible.
7173 <define name="table-table-row-group-attlist" combine="interleave">   7280 <define name="table-table-row-group-attlist" combine="interleave">
7174         <optional>   7281         <optional>
7175                 <attribute name="table:display" a:defaultValue="true">   7282                 <attribute name="table:display" a:defaultValue="true">
7176                         <ref name="boolean"/>   7283                         <ref name="boolean"/>
7177                 </attribute>   7284                 </attribute>
7178         </optional>   7285         </optional>
7179 </define>   7286 </define>
7180 8.2.6Subtables   7287 8.2.6Subtables
7181 If a table cell only contains a single table but no paragraphs or other content, this table can be specified as subtable. It then occupies the whole cell and no other content can appear in this cell.   7288 If a table cell only contains a single table but no paragraphs or other content, this table can be specified as subtable. It then occupies the whole cell and no other content can appear in this cell.
7182 The borders of a subtable merge with the borders of the cell that it resides in. A subtable does not contain any formatting properties. A subtable is essentially a container for some additional table rows that integrate seamlessly with the parent table.   7289 The borders of a subtable merge with the borders of the cell that it resides in. A subtable does not contain any formatting properties. A subtable is essentially a container for some additional table rows that integrate seamlessly with the parent table.
7183 A nested table is turned into a subtable with the attribute table:is-subtable that is attached to the table element. A nested table that is not a specified to be a subtable appears as a table within a table, that is, it has borders distinct from those of the parent cell and respects the padding of the parent cell.   7290 A nested table is turned into a subtable with the attribute table:is-subtable that is attached to the table element. A nested table that is not a specified to be a subtable appears as a table within a table, that is, it has borders distinct from those of the parent cell and respects the padding of the parent cell.
7184 <define name="table-table-attlist" combine="interleave">   7291 <define name="table-table-attlist" combine="interleave">
7185         <optional>   7292         <optional>
7186                 <attribute name="table:is-sub-table" a:defaultValue="false">   7293                 <attribute name="table:is-sub-table" a:defaultValue="false">
7187                         <ref name="boolean"/>   7294                         <ref name="boolean"/>
7188                 </attribute>   7295                 </attribute>
7189         </optional>   7296         </optional>
7190 </define>   7297 </define>
7191 Example of Representation of subtable   7298 Example of Representation of subtable
7192 In the OpenDocument schema, this table can be represented in either of the ways detailed in Sample 1 and Sample 2.   7299 In the OpenDocument schema, this table can be represented in either of the ways detailed in Sample 1 and Sample 2.
7193 A1   7300 A1
7194 B1   7301 B1
7195 C1   7302 C1
7196 A2   7303 A2
7197 B2.1.1 <> 7304 .B2.A1
7198 B2.2.1   7305 .B2.B1
7199 B2.1.2   7306 .B2.A2
7200 Sample 1 = 7307 Sample 1
7201 Using cells that span several rows, the table is specified as follows:   7308 Using cells that span several rows, the table is specified as follows:
7202 <style:style style:name="Table 1" style:family="table">   7309 <style:style style:name="Table 1" style:family="table">
7203         <style:table-properties style:width="12cm"   7310         <style:table-properties style:width="12cm"
7204                                           fo:background-color="light-grey"/>   7311                                           fo:background-color="light-grey"/>
7205 </style:style>   7312 </style:style>
7206 <style:style style:name="Col1" style:family="table-column">   7313 <style:style style:name="Col1" style:family="table-column">
7207         <style:table-column-properties style:column-width="2cm"/>   7314         <style:table-column-properties style:column-width="2cm"/>
7208 </style:style>   7315 </style:style>
7209 <style:style style:name="Col2" style:family="table-column">   7316 <style:style style:name="Col2" style:family="table-column">
7210         <style:table-column-properties style:column-width="4cm"/>   7317         <style:table-column-properties style:column-width="4cm"/>
7211 </style:style>   7318 </style:style>
7212 <style:style style:name="Col3" style:family="table-column">   7319 <style:style style:name="Col3" style:family="table-column">
7213         <style:table-column-properties style:column-width="6cm"/>   7320         <style:table-column-properties style:column-width="6cm"/>
7214 </style:style>   7321 </style:style>
7215 <style:style style:name="Row1" style:family="table-row">   7322 <style:style style:name="Row1" style:family="table-row">
7216         <style:table-row-properties fo:background-color="grey"/>   7323         <style:table-row-properties fo:background-color="grey"/>
7217 </style:style>   7324 </style:style>
7218 <style:style style:name="Cell1" style:family="table-cell">   7325 <style:style style:name="Cell1" style:family="table-cell">
7219         <style:table-cell-properties fo:background-color="grey"/>   7326         <style:table-cell-properties fo:background-color="grey"/>
7220 </style:style>   7327 </style:style>
7221 <table:table table:name="Table 1" table:style-name="Table 1">   7328 <table:table table:name="Table 1" table:style-name="Table 1">
7222         <table:table-columns>   7329         <table:table-columns>
7223                 <table:table-column table:style-name="Col1"/>   7330                 <table:table-column table:style-name="Col1"/>
7224                 <table:table-column table:style-name="Col2"/>   7331                 <table:table-column table:style-name="Col2"/>
7225                 <table:table-column table:style-name="Col3"/>   7332                 <table:table-column table:style-name="Col3"/>
7226         </table:table-columns>   7333         </table:table-columns>
7227         <table:table-header-rows>   7334         <table:table-header-rows>
7228                 <table:table-row table:style-name="Row1">   7335                 <table:table-row table:style-name="Row1">
7229                         <table:table-cell>   7336                         <table:table-cell>
7230                                 <text:p text:style="Table Caption">   7337                                 <text:p text:style="Table Caption">
7231                                         A1   7338                                         A1
7232                                 </text:p>   7339                                 </text:p>
7233                         </table:table-cell>   7340                         </table:table-cell>
7234                         <table:table-cell>   7341                         <table:table-cell>
7235                                 <text:p text:style="Table Caption">   7342                                 <text:p text:style="Table Caption">
7236                                         B1   7343                                         B1
7237                                 </text:p>   7344                                 </text:p>
7238                         </table:table-cell>   7345                         </table:table-cell>
7239                         <table:table-cell>   7346                         <table:table-cell>
7240                                 <text:p text:style="Table Caption">   7347                                 <text:p text:style="Table Caption">
7241                                         C1   7348                                         C1
7242                                 </text:p>   7349                                 </text:p>
7243                         </table:table-cell>   7350                         </table:table-cell>
7244                 </table:table-row>   7351                 </table:table-row>
7245         </table:table-header-rows>   7352         </table:table-header-rows>
7246         <table:table-rows>   7353         <table:table-rows>
7247                 <table:table-row>   7354                 <table:table-row>
7248                         <table:table-cell table:number-rows-spanned="2"   7355                         <table:table-cell table:number-rows-spanned="2"
7249                                 table:style-name="Cell1">   7356                                 table:style-name="Cell1">
7250                                 <text:p text:style="Table Body">   7357                                 <text:p text:style="Table Body">
7251                                         A2   7358                                         A2
7252                                 </text:p>   7359                                 </text:p>
7253                         </table:table-cell>   7360                         </table:table-cell>
7254                         <table:table-cell>   7361                         <table:table-cell>
7255                                 <text:p text:style="Table Body">   7362                                 <text:p text:style="Table Body">
7256                                         B2.1.1 <> 7363                                         .B2.A1
7257                                 </text:p> = 7364                                 </text:p>
7258                         </table:table-cell>   7365                         </table:table-cell>
7259                         <table:table-cell>   7366                         <table:table-cell>
7260                                 <text:p text:style="Table Body">   7367                                 <text:p text:style="Table Body">
7261                                         B2.2.1 <> 7368                                         .B2.B1
7262                                 </text:p> = 7369                                 </text:p>
7263                         </table:table-cell>   7370                         </table:table-cell>
7264                 </table:table-row>   7371                 </table:table-row>
7265                 <table:table-row>   7372                 <table:table-row>
7266                         <table:covered-table-cell/>   7373                         <table:covered-table-cell/>
7267                         <table:table-cell table:number-columns-spanned="2">   7374                         <table:table-cell table:number-columns-spanned="2">
7268                                 <text:p text:style="Table Body">   7375                                 <text:p text:style="Table Body">
7269                                 B2.1.2 <> 7376                                 .B2.A2
7270                         </text:p> = 7377                         </text:p>
7271                         </table:table-cell>   7378                         </table:table-cell>
7272                         <table:covered-table-cell/>   7379                         <table:covered-table-cell/>
7273                 </table:table-row>   7380                 </table:table-row>
7274         </table:table-rows>   7381         </table:table-rows>
7275 </table:table>   7382 </table:table>
7276 Sample 2   7383 Sample 2
7277 Using sub tables, the table is specified as follows:   7384 Using sub tables, the table is specified as follows:
7278 <style:style style:name="Table 1" style:family="table">   7385 <style:style style:name="Table 1" style:family="table">
7279         <style:table-properties fo:width="12cm" fo:background-color="light-grey"/>   7386         <style:table-properties fo:width="12cm" fo:background-color="light-grey"/>
7280 </style:style>   7387 </style:style>
7281 <style:style style:name="Col1" style:family="table-column">   7388 <style:style style:name="Col1" style:family="table-column">
7282         <style:table-column-properties style:column-width="2cm"/>   7389         <style:table-column-properties style:column-width="2cm"/>
7283 </style:style>   7390 </style:style>
7284 <style:style style:name="Col2" style:family="table-column">   7391 <style:style style:name="Col2" style:family="table-column">
7285         <style:table-column-properties style:column-width="4cm"/>   7392         <style:table-column-properties style:column-width="4cm"/>
7286 </style:style>   7393 </style:style>
7287 <style:style style:name="Col3" style:family="table-column">   7394 <style:style style:name="Col3" style:family="table-column">
7288         <style:table-column-properties style:column-width="6cm"/>   7395         <style:table-column-properties style:column-width="6cm"/>
7289 </style:style>   7396 </style:style>
7290 <style:style style:name="Row1" style:family="table-row">   7397 <style:style style:name="Row1" style:family="table-row">
7291         <style:table-row-properties fo:background-color="grey"/>   7398         <style:table-row-properties fo:background-color="grey"/>
7292 </style:style>   7399 </style:style>
7293 <style:style style:name="Cell1" style:family="table-cell">   7400 <style:style style:name="Cell1" style:family="table-cell">
7294         <style:table-cell-properties fo:background-color="grey"/>   7401         <style:table-cell-properties fo:background-color="grey"/>
7295 </style:style>   7402 </style:style>
7296     7403  
7297 <table:table table:name="Table 1" table:style-name="Table 1">   7404 <table:table table:name="Table 1" table:style-name="Table 1">
7298         <table:table-columns>   7405         <table:table-columns>
7299                 <table:table-column table:style-name="Col1"/>   7406                 <table:table-column table:style-name="Col1"/>
7300                 <table:table-column table:style-name="Col2"/>   7407                 <table:table-column table:style-name="Col2"/>
7301                 <table:table-column table:style-name="Col3"/>   7408                 <table:table-column table:style-name="Col3"/>
7302         </table:table-columns>   7409         </table:table-columns>
7303         <table:table-header-rows>   7410         <table:table-header-rows>
7304                 <table:table-row table:style-name="Row1">   7411                 <table:table-row table:style-name="Row1">
7305                         <table:table-cell>   7412                         <table:table-cell>
7306                                 <text:p text:style="Table Caption">   7413                                 <text:p text:style="Table Caption">
7307                                         A1   7414                                         A1
7308                                 </text:p>   7415                                 </text:p>
7309                         </table:table.cell>   7416                         </table:table.cell>
7310                         <table:table-cell>   7417                         <table:table-cell>
7311                                 <text:p text:style="Table Caption">   7418                                 <text:p text:style="Table Caption">
7312                                         B1   7419                                         B1
7313                                 </text:p>   7420                                 </text:p>
7314                         </table:table-cell>   7421                         </table:table-cell>
7315                         <table:table-cell>   7422                         <table:table-cell>
7316                                 <text:p text:style="Table Caption">   7423                                 <text:p text:style="Table Caption">
7317                                         C1   7424                                         C1
7318                                 </text:p>   7425                                 </text:p>
7319                         </table:table-cell>   7426                         </table:table-cell>
7320                 </table:table-row>   7427                 </table:table-row>
7321         </table:table-header-rows>   7428         </table:table-header-rows>
7322         <table:table-rows>   7429         <table:table-rows>
7323                 <table:table-row>   7430                 <table:table-row>
7324                         <table:table-cell table:style-name="Cell1">   7431                         <table:table-cell table:style-name="Cell1">
7325                                 <text:p text:style="Table Body">   7432                                 <text:p text:style="Table Body">
7326                                         A2   7433                                         A2
7327                                 </text:p>   7434                                 </text:p>
7328                         </table:table-cell>   7435                         </table:table-cell>
7329                         <table:table-cell table:number-columns-spanned="2">   7436                         <table:table-cell table:number-columns-spanned="2">
7330                                 <table:table is-subtable="true">   7437                                 <table:table is-subtable="true">
7331                                         <table:table-columns>   7438                                         <table:table-columns>
7332                                                 <table:table-column table:style-name="Col2"/>   7439                                                 <table:table-column table:style-name="Col2"/>
7333                                                 <table:table-column table:style-name="Col3"/>   7440                                                 <table:table-column table:style-name="Col3"/>
7334                                         </table:table-columns>   7441                                         </table:table-columns>
7335                                         <table:rows>   7442                                         <table:rows>
7336                                                 <table:row>   7443                                                 <table:row>
7337                                                         <table:table-cell>   7444                                                         <table:table-cell>
7338                                                                 <text:p text:style="Table Body">   7445                                                                 <text:p text:style="Table Body">
7339                                                                         B2.1.1 <> 7446                                                                         .B2.A1
7340                                                                 </text:p> = 7447                                                                 </text:p>
7341                                                         </table:table-cell>   7448                                                         </table:table-cell>
7342                                                         <table:table-cell>   7449                                                         <table:table-cell>
7343                                                                 <text:p text:style="Table Body">   7450                                                                 <text:p text:style="Table Body">
7344                                                                         B2.2.1 <> 7451                                                                         .B2.B1
7345                                                                 </text:p> = 7452                                                                 </text:p>
7346                                                         </table:table-cell>   7453                                                         </table:table-cell>
7347                                                 </table:table-row>   7454                                                 </table:table-row>
7348                                                 <table:table-row>   7455                                                 <table:table-row>
7349                                                         <table:table-cell   7456                                                         <table:table-cell
7350                                                                 table:number-columns-spanned="2">   7457                                                                 table:number-columns-spanned="2">
7351                                                                 <text:p text:style="Table Body">   7458                                                                 <text:p text:style="Table Body">
7352                                                                         B2.1.2 <> 7459                                                                         .B2.A2
7353                                                                 </text:p> = 7460                                                                 </text:p>
7354                                                         </table:table-cell>   7461                                                         </table:table-cell>
7355                                                         <table:covered-table-cell/>   7462                                                         <table:covered-table-cell/>
7356                                                 </table:table-row>   7463                                                 </table:table-row>
7357                                         </table:table-rows>   7464                                         </table:table-rows>
7358                                 </table:table>   7465                                 </table:table>
7359                         </table:table-cell>   7466                         </table:table-cell>
7360                         <table:covered-table-cell/>   7467                         <table:covered-table-cell/>
7361                 </table:table-row>   7468                 </table:table-row>
7362         </table:table-rows>   7469         </table:table-rows>
7363 </table:table>   7470 </table:table>
7364 8.3Advanced Tables   7471 8.3Advanced Tables
7365 8.3.1Referencing Table Cells   7472 8.3.1Referencing Table Cells
7366 To reference table cells so called cell addresses are used. The structure of a cell address is as follows:   7473 To reference table cells so called cell addresses are used. The structure of a cell address is as follows:
7367 1.The name of the table.   7474 1.The name of the table.
7368 2.A dot (.).   7475 2.A dot (.).
7369 3.An alphabetic value representing the column. The letter A represents column 1, B represents column 2, and so on. AA represents column 27, AB represents column 28, and so on.   7476 3.An alphabetic value representing the column. The letter A represents column 1, B represents column 2, and so on. AA represents column 27, AB represents column 28, and so on.
7370 4.A numeric value representing the row. The number 1 represents the first row, the number 2 represents the second row, and so on.   7477 4.A numeric value representing the row. The number 1 represents the first row, the number 2 represents the second row, and so on.
7371 This means that A1 represents the cell in column 1 and row 1. B1 represents the cell in column 2 and row 1. A2 represents the cell in column 1 and row 2.   7478 This means that A1 represents the cell in column 1 and row 1. B1 represents the cell in column 2 and row 1. A2 represents the cell in column 1 and row 2.
7372 For example, in a table with the name SampleTable the cell in column 34 and row 16 is referenced by the cell address SampleTable.AH16. In some cases it is not necessary to provide the name of the table. However, the dot must be present. When the table name is not required, the address in the previous example is .AH16.   7479 For example, in a table with the name SampleTable the cell in column 34 and row 16 is referenced by the cell address SampleTable.AH16. In some cases it is not necessary to provide the name of the table. However, the dot must be present. When the table name is not required, the address in the previous example is .AH16.
7373 The structure of the address of a cell in a subtable is as follows:   7480 The structure of the address of a cell in a subtable is as follows:
7374 1.The address of the cell that contains the subtable.   7481 1.The address of the cell that contains the subtable.
7375 2.A dot (.).   7482 2.A dot (.).
7376 3.The address of the cell in the subtable.   7483 3.The address of the cell in the subtable.
7377 For example, to reference the cell in column 1 and row 1 in a subtable that is called Subtable, and that is in column 34 and row 16 of the table SampleTable, the address is SampleTable.AH16.A1. If the name of the table contains blanks, the name should be quoted with apostrophes ('). <> 7484 For example, to reference the cell in column 1 and row 1 in a subtable that is called Subtable, and that is in column 34 and row 16 of the table SampleTable, the address is SampleTable.AH16.A1.
      7485 If the name of the table contains blanks, dots (.) or apostrophes ('), the name must be quoted with apostrophes ('). Any apostrophes in the name must be escaped by doubling ('').
      7486 E.g. 'Tom''s Table'.A1 for the cell A1 in the table named Tom's Table.
7378 Absolute and relative cell addressing = 7487 Absolute and relative cell addressing
7379 Cells can be referenced by using either absolute addresses or relative addresses. When an operation is performed on a table cell, for example when a formula is copied, absolute cell references do not change; In contrast to this, relative cell references are adapted to the address of target cell of the copy operation. The previous example uses relative addressing.   7488 Cells can be referenced by using either absolute addresses or relative addresses. When an operation is performed on a table cell, for example when a formula is copied, absolute cell references do not change; In contrast to this, relative cell references are adapted to the address of target cell of the copy operation. The previous example uses relative addressing.
7380 To create an absolute address, a dollar sign ($) has to be placed before each table name, column reference, and row reference. For example, the absolute address of the previous example is $SampleTable.$AH$16. Absolute and relative references can be mixed within a single cell address. For example, SampleTable.AH$16 refers to a relative table and column, but to an absolute row. Absolute addresses must contain a table name. The differentiation between absolute and relative addressing is only necessary in some situations. Where a differentiation is not required, a cell reference without the dollar signs is used.   7489 To create an absolute address, a dollar sign ($) has to be placed before each table name, column reference, and row reference. For example, the absolute address of the previous example is $SampleTable.$AH$16. Absolute and relative references can be mixed within a single cell address. For example, SampleTable.AH$16 refers to a relative table and column, but to an absolute row. Absolute addresses must contain a table name. The differentiation between absolute and relative addressing is only necessary in some situations. Where a differentiation is not required, a cell reference without the dollar signs is used.
7381 <define name="cellAddress">   7490 <define name="cellAddress">
7382         <data type="string">   7491         <data type="string">
7383                 <param name="pattern">($?([^\. ']+|'[^']+'))?\.$?[A-Z]+$?[0-9]+</param> <> 7492                 <param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+$?[0-9]+</param>
      7493  
7384         </data> = 7494         </data>
7385 </define>   7495 </define>
7386 Cell Range Address   7496 Cell Range Address
7387 A cell range is a number of adjacent cells forming a rectangular shape. The rectangle stretches from the cell on the top left to the cell on the bottom right.   7497 A cell range is a number of adjacent cells forming a rectangular shape. The rectangle stretches from the cell on the top left to the cell on the bottom right.
7388 A cell range address references a cell range. It is constructed as follow:   7498 A cell range address references a cell range. It is constructed as follow:
7389 1.The address of the cell at the top left of the range.   7499 1.The address of the cell at the top left of the range.
7390 2.A colon (:).   7500 2.A colon (:).
7391 3.The address of the cell at the bottom right of the range.   7501 3.The address of the cell at the bottom right of the range.
7392 For example, the address .A1:.B2 references the cell range of cells from column 1 and row 1 to column 2 and row 2. The smallest range one can specify is a single cell. In this case, the range address is the same as the cell address.   7502 For example, the address .A1:.B2 references the cell range of cells from column 1 and row 1 to column 2 and row 2. The smallest range one can specify is a single cell. In this case, the range address is the same as the cell address.
7393 <define name="cellRangeAddress">   7503 <define name="cellRangeAddress">
7394         <data type="string">   7504         <data type="string">
7395                 <param name="pattern">($?([^\. ']+|'[^']+'))?\.$?[A-Z]+$?[0-9]+(:($?([^\. ']+|'[^']+'))?\.$?[A-Z]+$?[0-9]+)?</param> <> 7505                 <param name="pattern">($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+$?[0-9]+(:($?([^\. ']+|'([^']|'')+'))?\.$?[A-Z]+$?[0-9]+)?</param>
7396   = 7506  
7397         </data>   7507         </data>
7398 </define>   7508 </define>
7399 Cell Range Address List   7509 Cell Range Address List
7400 A cell range address list is a list of cell ranges and cell addresses. Each item in the list is separated by a space. If table names used in the list contain a blank character, the table name has to be quoted within apostrophes (').   7510 A cell range address list is a list of cell ranges and cell addresses. Each item in the list is separated by a space. If table names used in the list contain a blank character, the table name has to be quoted within apostrophes (').
7401 <define name="cellRangeAddressList">   7511 <define name="cellRangeAddressList">
7402         <!-- Value is a space separated list of "cellRangeAddress" patterns -->   7512         <!-- Value is a space separated list of "cellRangeAddress" patterns -->
7403         <data type="string"/>   7513         <data type="string"/>
7404 </define>   7514 </define>
7405 8.3.2Linked Tables   7515 8.3.2Linked Tables
7406 If a table is linked to an original table, the information about the source table is contained in a <table:table-source> element. The attributes that may be associated with the <table:table-source> element are:   7516 If a table is linked to an original table, the information about the source table is contained in a <table:table-source> element. The attributes that may be associated with the <table:table-source> element are:
7407 Mode   7517 Mode
7408 Table name   7518 Table name
7409 URL   7519 URL
7410 Filter name   7520 Filter name
7411 Filter options   7521 Filter options
7412 Refresh delay   7522 Refresh delay
7413 <define name="table-table-source">   7523 <define name="table-table-source">
7414         <element name="table:table-source">   7524         <element name="table:table-source">
7415                 <ref name="table-table-source-attlist"/>   7525                 <ref name="table-table-source-attlist"/>
7416                 <ref name="table-linked-source-attlist"/>   7526                 <ref name="table-linked-source-attlist"/>
7417                 <empty/>   7527                 <empty/>
7418         </element>   7528         </element>
7419 </define>   7529 </define>
7420 Mode   7530 Mode
7421 The table:mode attribute specifies what data should be copied from the source table to the destination table. If the attribute's value is “copy-all” formulas and styles are copied. If the attribute's value is “copy-results-only”, only formula results and non calculated cell content will be copied.   7531 The table:mode attribute specifies what data should be copied from the source table to the destination table. If the attribute's value is “copy-all” formulas and styles are copied. If the attribute's value is “copy-results-only”, only formula results and non calculated cell content will be copied.
7422 <define name="table-table-source-attlist" combine="interleave">   7532 <define name="table-table-source-attlist" combine="interleave">
7423         <optional>   7533         <optional>
7424                 <attribute name="table:mode" a:defaultValue="copy-all">   7534                 <attribute name="table:mode" a:defaultValue="copy-all">
7425                         <choice>   7535                         <choice>
7426                                 <value>copy-all</value>   7536                                 <value>copy-all</value>
7427                                 <value>copy-results-only</value>   7537                                 <value>copy-results-only</value>
7428                         </choice>   7538                         </choice>
7429                 </attribute>   7539                 </attribute>
7430         </optional>   7540         </optional>
7431 </define>   7541 </define>
7432 Table Name   7542 Table Name
7433 The table:table-name attribute specifies the name of the table in the original document. If the table name is not specified, the first table in the document is used.   7543 The table:table-name attribute specifies the name of the table in the original document. If the table name is not specified, the first table in the document is used.
7434 <define name="table-table-source-attlist" combine="interleave">   7544 <define name="table-table-source-attlist" combine="interleave">
7435         <optional>   7545         <optional>
7436                 <attribute name="table:table-name">   7546                 <attribute name="table:table-name">
7437                         <ref name="string"/>   7547                         <ref name="string"/>
7438                 </attribute>   7548                 </attribute>
7439         </optional>   7549         </optional>
7440 </define>   7550 </define>
7441 URL   7551 URL
7442 The original table is specified by a an XLink, where the xlink:href attribute specifies the URL of the document containing the original table.   7552 The original table is specified by a an XLink, where the xlink:href attribute specifies the URL of the document containing the original table.
7443 <define name="table-linked-source-attlist" combine="interleave">   7553 <define name="table-linked-source-attlist" combine="interleave">
7444         <optional>   7554         <optional>
7445                 <attribute name="xlink:type" a:defaultValue="simple">   7555                 <attribute name="xlink:type" a:defaultValue="simple">
7446                         <value>simple</value>   7556                         <value>simple</value>
7447                 </attribute>   7557                 </attribute>
7448         </optional>   7558         </optional>
7449         <optional>   7559         <optional>
7450                 <attribute name="xlink:actuate" a:defaultValue="onRequest">   7560                 <attribute name="xlink:actuate" a:defaultValue="onRequest">
7451                         <value>onRequest</value>   7561                         <value>onRequest</value>
7452                 </attribute>   7562                 </attribute>
7453         </optional>   7563         </optional>
7454         <attribute name="xlink:href">   7564         <attribute name="xlink:href">
7455                 <ref name="anyURI"/>   7565                 <ref name="anyURI"/>
7456         </attribute>   7566         </attribute>
7457 </define>   7567 </define>
7458 Filter Name   7568 Filter Name
7459 The table:filter-name attribute specifies the file type of the document containing the original table. The value of this attribute is application-specific.   7569 The table:filter-name attribute specifies the file type of the document containing the original table. The value of this attribute is application-specific.
7460 <define name="table-linked-source-attlist" combine="interleave">   7570 <define name="table-linked-source-attlist" combine="interleave">
7461         <optional>   7571         <optional>
7462                 <attribute name="table:filter-name">   7572                 <attribute name="table:filter-name">
7463                         <ref name="string"/>   7573                         <ref name="string"/>
7464                 </attribute>   7574                 </attribute>
7465         </optional>   7575         </optional>
7466 </define>   7576 </define>
7467 Filter Options   7577 Filter Options
7468 The table:filter-options attribute specifies optional settings about the file type. The value of this attribute is application-specific.   7578 The table:filter-options attribute specifies optional settings about the file type. The value of this attribute is application-specific.
7469 <define name="table-linked-source-attlist" combine="interleave">   7579 <define name="table-linked-source-attlist" combine="interleave">
7470         <optional>   7580         <optional>
7471                 <attribute name="table:filter-options">   7581                 <attribute name="table:filter-options">
7472                         <ref name="string"/>   7582                         <ref name="string"/>
7473                 </attribute>   7583                 </attribute>
7474         </optional>   7584         </optional>
7475 </define>   7585 </define>
7476 Refresh Delay   7586 Refresh Delay
7477 The table:refresh-delay attribute specifies the time delay between refresh actions for the linked table.   7587 The table:refresh-delay attribute specifies the time delay between refresh actions for the linked table.
7478 <define name="table-linked-source-attlist" combine="interleave">   7588 <define name="table-linked-source-attlist" combine="interleave">
7479         <optional>   7589         <optional>
7480                 <attribute name="table:refresh-delay">   7590                 <attribute name="table:refresh-delay">
7481                         <ref name="duration"/>   7591                         <ref name="duration"/>
7482                 </attribute>   7592                 </attribute>
7483         </optional>   7593         </optional>
7484 </define>   7594 </define>
7485 8.3.3Scenario Tables   7595 8.3.3Scenario Tables
7486 A scenario is an area of a table where data from other, so called scenario tables, is linked to temporarily. If several scenarios are defined for the same area, an user might choose between the scenarios. Whether a scenario table is visible itself is controlled by table's style. Only one scenario table can be active per table.   7596 A scenario is an area of a table where data from other, so called scenario tables, is linked to temporarily. If several scenarios are defined for the same area, an user might choose between the scenarios. Whether a scenario table is visible itself is controlled by table's style. Only one scenario table can be active per table.
7487 A table that contains a <table:scenario> represents a scenario table. The name of the table and the name of the scenario are the same. The scenario is displayed in the regular table preceding the scenario table. If a scenario table is existing for a table, a scenario is displayed on that table automatically. These means the the existence of a scenario table implies the existence of a scenario.   7597 A table that contains a <table:scenario> represents a scenario table. The name of the table and the name of the scenario are the same. The scenario is displayed in the regular table preceding the scenario table. If a scenario table is existing for a table, a scenario is displayed on that table automatically. These means the the existence of a scenario table implies the existence of a scenario.
7488 The attributes that may be associated with this element are:   7598 The attributes that may be associated with this element are:
7489 Scenario Ranges   7599 Scenario Ranges
7490 Is Active   7600 Is Active
7491 Display Border   7601 Display Border
7492 Border Color   7602 Border Color
7493 Copy Back   7603 Copy Back
7494 Copy Styles   7604 Copy Styles
7495 Copy Formulas   7605 Copy Formulas
7496 Comment   7606 Comment
7497 Protected   7607 Protected
7498 <define name="table-scenario">   7608 <define name="table-scenario">
7499         <element name="table:scenario">   7609         <element name="table:scenario">
7500                 <ref name="table-scenario-attlist"/>   7610                 <ref name="table-scenario-attlist"/>
7501                 <empty/>   7611                 <empty/>
7502         </element>   7612         </element>
7503 </define>   7613 </define>
7504 Scenario Ranges   7614 Scenario Ranges
7505 The table:scenario-ranges attribute specifies the table range that is displayed as a scenario. The value of this attribute is a list of cell range addresses.   7615 The table:scenario-ranges attribute specifies the table range that is displayed as a scenario. The value of this attribute is a list of cell range addresses.
7506 <define name="table-scenario-attlist" combine="interleave">   7616 <define name="table-scenario-attlist" combine="interleave">
7507         <attribute name="table:scenario-ranges">   7617         <attribute name="table:scenario-ranges">
7508                 <ref name="cellRangeAddressList"/>   7618                 <ref name="cellRangeAddressList"/>
7509         </attribute>   7619         </attribute>
7510 </define>   7620 </define>
7511 Is Active   7621 Is Active
7512 The table:is-active attribute specifies whether or not the scenario that belongs to the scenario table is active.   7622 The table:is-active attribute specifies whether or not the scenario that belongs to the scenario table is active.
7513 <define name="table-scenario-attlist" combine="interleave">   7623 <define name="table-scenario-attlist" combine="interleave">
7514         <attribute name="table:is-active">   7624         <attribute name="table:is-active">
7515                 <ref name="boolean"/>   7625                 <ref name="boolean"/>
7516         </attribute>   7626         </attribute>
7517 </define>   7627 </define>
7518 Display Border   7628 Display Border
7519 The table:display-border attribute specifies whether or not to display a border around the scenario that belongs to the scenario table.   7629 The table:display-border attribute specifies whether or not to display a border around the scenario that belongs to the scenario table.
7520 <define name="table-scenario-attlist" combine="interleave">   7630 <define name="table-scenario-attlist" combine="interleave">
7521         <optional>   7631         <optional>
7522                 <attribute name="table:display-border" a:defaultValue="true">   7632                 <attribute name="table:display-border" a:defaultValue="true">
7523                         <ref name="boolean"/>   7633                         <ref name="boolean"/>
7524                 </attribute>   7634                 </attribute>
7525         </optional>   7635         </optional>
7526 </define>   7636 </define>
7527 Border Color   7637 Border Color
7528 The table:border-color attribute specifies the color of the border that is displayed around the scenario that belongs to the scenario table.   7638 The table:border-color attribute specifies the color of the border that is displayed around the scenario that belongs to the scenario table.
7529 <define name="table-scenario-attlist" combine="interleave">   7639 <define name="table-scenario-attlist" combine="interleave">
7530         <optional>   7640         <optional>
7531                 <attribute name="table:border-color">   7641                 <attribute name="table:border-color">
7532                         <ref name="color"/>   7642                         <ref name="color"/>
7533                 </attribute>   7643                 </attribute>
7534         </optional>   7644         </optional>
7535 </define>   7645 </define>
7536 Copy Back   7646 Copy Back
7537 The table:copy-back attribute specifies whether or not data is copied back into the scenario table if another scenario is activated.   7647 The table:copy-back attribute specifies whether or not data is copied back into the scenario table if another scenario is activated.
7538 <define name="table-scenario-attlist" combine="interleave">   7648 <define name="table-scenario-attlist" combine="interleave">
7539         <optional>   7649         <optional>
7540                 <attribute name="table:copy-back" a:defaultValue="true">   7650                 <attribute name="table:copy-back" a:defaultValue="true">
7541                         <ref name="boolean"/>   7651                         <ref name="boolean"/>
7542                 </attribute>   7652                 </attribute>
7543         </optional>   7653         </optional>
7544 </define>   7654 </define>
7545 Copy Styles   7655 Copy Styles
7546 The table:copy-styles attribute specifies whether or not styles are copied from the scenario table to the destination table together with the data.   7656 The table:copy-styles attribute specifies whether or not styles are copied from the scenario table to the destination table together with the data.
7547 <define name="table-scenario-attlist" combine="interleave">   7657 <define name="table-scenario-attlist" combine="interleave">
7548         <optional>   7658         <optional>
7549                 <attribute name="table:copy-styles" a:defaultValue="true">   7659                 <attribute name="table:copy-styles" a:defaultValue="true">
7550                         <ref name="boolean"/>   7660                         <ref name="boolean"/>
7551                 </attribute>   7661                 </attribute>
7552         </optional>   7662         </optional>
7553 </define>   7663 </define>
7554 Copy Formulas   7664 Copy Formulas
7555 The table:copy-formulas attribute specifies whether or not formulas are copied from the scenario table to the destination table. The value of this attribute can be true or false. If the value is true, the formulas are copied. If the value is false, only the values resulting from the formulas are copied.   7665 The table:copy-formulas attribute specifies whether or not formulas are copied from the scenario table to the destination table. The value of this attribute can be true or false. If the value is true, the formulas are copied. If the value is false, only the values resulting from the formulas are copied.
7556 <define name="table-scenario-attlist" combine="interleave">   7666 <define name="table-scenario-attlist" combine="interleave">
7557         <optional>   7667         <optional>
7558                 <attribute name="table:copy-formulas" a:defaultValue="true">   7668                 <attribute name="table:copy-formulas" a:defaultValue="true">
7559                         <ref name="boolean"/>   7669                         <ref name="boolean"/>
7560                 </attribute>   7670                 </attribute>
7561         </optional>   7671         </optional>
7562 </define>   7672 </define>
7563 Comment   7673 Comment
7564 The table:comment attribute contains a comment about the scenario.   7674 The table:comment attribute contains a comment about the scenario.
7565 <define name="table-scenario-attlist" combine="interleave">   7675 <define name="table-scenario-attlist" combine="interleave">
7566         <optional>   7676         <optional>
7567                 <attribute name="table:comment">   7677                 <attribute name="table:comment">
7568                         <ref name="string"/>   7678                         <ref name="string"/>
7569                 </attribute>   7679                 </attribute>
7570         </optional>   7680         </optional>
7571 </define>   7681 </define>
7572 Protected   7682 Protected
7573 The table:protected attribute specifies whether or not the data that is displayed within the scenario is protected from being edited. The attribute is only evaluated if the table on which the scenario displayed is also protected (see section 8.1.1).   7683 The table:protected attribute specifies whether or not the data that is displayed within the scenario is protected from being edited. The attribute is only evaluated if the table on which the scenario displayed is also protected (see section 8.1.1).
7574 <define name="table-scenario-attlist" combine="interleave">   7684 <define name="table-scenario-attlist" combine="interleave">
7575         <optional>   7685         <optional>
7576                 <attribute name="table:protected">   7686                 <attribute name="table:protected">
7577                         <ref name="boolean"/>   7687                         <ref name="boolean"/>
7578                 </attribute>   7688                 </attribute>
7579         </optional>   7689         </optional>
7580 </define>   7690 </define>
7581 8.3.4Shapes   7691 8.3.4Shapes
7582 The <table:shapes> element contains all graphic shapes with an anchor on the table this element is a child of. It is a container element and does not have any associated attributes.   7692 The <table:shapes> element contains all graphic shapes with an anchor on the table this element is a child of. It is a container element and does not have any associated attributes.
7583 <define name="table-shapes">   7693 <define name="table-shapes">
7584         <element name="table:shapes">   7694         <element name="table:shapes">
7585                 <oneOrMore>   7695                 <oneOrMore>
7586                         <ref name="shape"/>   7696                         <ref name="shape"/>
7587                 </oneOrMore>   7697                 </oneOrMore>
7588         </element>   7698         </element>
7589 </define>   7699 </define>
7590 8.4Advanced Table Cells   7700 8.4Advanced Table Cells
7591 8.4.1Linked Table Cells   7701 8.4.1Linked Table Cells
7592 A cell range can be linked to a database range or named range of another file. In this case the information about the original database range or named range is contained in a <table:cell-range-source> element that is contained in the element of the first cell of the range. The attributes that may be associated with this element are:   7702 A cell range can be linked to a database range or named range of another file. In this case the information about the original database range or named range is contained in a <table:cell-range-source> element that is contained in the element of the first cell of the range. The attributes that may be associated with this element are:
7593 Name   7703 Name
7594 Last size   7704 Last size
7595 URL   7705 URL
7596 Filter name   7706 Filter name
7597 Filter options   7707 Filter options
7598 Refresh delay   7708 Refresh delay
7599 <define name="table-cell-range-source">   7709 <define name="table-cell-range-source">
7600         <element name="table:cell-range-source">   7710         <element name="table:cell-range-source">
7601                 <ref name="table-table-cell-range-source-attlist"/>   7711                 <ref name="table-table-cell-range-source-attlist"/>
7602                 <ref name="table-linked-source-attlist"/>   7712                 <ref name="table-linked-source-attlist"/>
7603                 <empty/>   7713                 <empty/>
7604         </element>   7714         </element>
7605 </define>   7715 </define>
7606 Name   7716 Name
7607 The table:name attribute specifies the name of the source database range or named range.   7717 The table:name attribute specifies the name of the source database range or named range.
7608 <define name="table-table-cell-range-source-attlist" combine="interleave">   7718 <define name="table-table-cell-range-source-attlist" combine="interleave">
7609         <attribute name="table:name">   7719         <attribute name="table:name">
7610                 <ref name="string"/>   7720                 <ref name="string"/>
7611         </attribute>   7721         </attribute>
7612 </define>   7722 </define>
7613 Last Size   7723 Last Size
7614 The table:last-column-spanned and table:last-row-spanned attributes specify the last known size of the range. If the size of the range is changed since the last operation, the values of these attributes are incorrect.   7724 The table:last-column-spanned and table:last-row-spanned attributes specify the last known size of the range. If the size of the range is changed since the last operation, the values of these attributes are incorrect.
7615 <define name="table-table-cell-range-source-attlist" combine="interleave">   7725 <define name="table-table-cell-range-source-attlist" combine="interleave">
7616         <attribute name="table:last-column-spanned">   7726         <attribute name="table:last-column-spanned">
7617                 <ref name="positiveInteger"/>   7727                 <ref name="positiveInteger"/>
7618         </attribute>   7728         </attribute>
7619         <attribute name="table:last-row-spanned">   7729         <attribute name="table:last-row-spanned">
7620                 <ref name="positiveInteger"/>   7730                 <ref name="positiveInteger"/>
7621         </attribute>   7731         </attribute>
7622 </define>   7732 </define>
7623 URL, Filter Name, Filter Options and Refresh Delay   7733 URL, Filter Name, Filter Options and Refresh Delay
7624 The attributes xlink:href, xlink:type, xlink:actuate, table:filter-name and table:filter-options are the same as for linked tables. See section 8.3.2 for details.   7734 The attributes xlink:href, xlink:type, xlink:actuate, table:filter-name and table:filter-options are the same as for linked tables. See section 8.3.2 for details.
7625 8.4.2Cell Annotation   7735 8.4.2Cell Annotation
7626 The OpenDocument format allows annotation to appear within table cells. See section 12.1 for details on annotations.   7736 The OpenDocument format allows annotation to appear within table cells. See section 12.1 for details on annotations.
7627 8.4.3Detective   7737 8.4.3Detective
7628 The <table:detective> element has two purposes. One the one hand, it contains information about relations that exist between table cells because of formulas and that should be highlighted in the UI. On the other hand, the element contains information about cells that are highlighted currently in the UI either because of the relations mentioned above or because of error conditions.   7738 The <table:detective> element has two purposes. One the one hand, it contains information about relations that exist between table cells because of formulas and that should be highlighted in the UI. On the other hand, the element contains information about cells that are highlighted currently in the UI either because of the relations mentioned above or because of error conditions.
7629 <define name="table-detective">   7739 <define name="table-detective">
7630         <element name="table:detective">   7740         <element name="table:detective">
7631                 <zeroOrMore>   7741                 <zeroOrMore>
7632                         <ref name="table-highlighted-range"/>   7742                         <ref name="table-highlighted-range"/>
7633                 </zeroOrMore>   7743                 </zeroOrMore>
7634                 <zeroOrMore>   7744                 <zeroOrMore>
7635                         <ref name="table-operation"/>   7745                         <ref name="table-operation"/>
7636                 </zeroOrMore>   7746                 </zeroOrMore>
7637         </element>   7747         </element>
7638 </define>   7748 </define>
7639 The elements that can be contained in the <table:detective> element are:   7749 The elements that can be contained in the <table:detective> element are:
7640 Detective Operation   7750 Detective Operation
7641 Highlighted range   7751 Highlighted range
7642 8.4.4Detective Operation   7752 8.4.4Detective Operation
7643 The <table:operation> element specifies that certain relations that exist between the cell the element is a child of and other cells should be made visible or invisible in the UI. One and the same detective operation can be applied multiple times to the same cell. In this case, the second operation is applied to the resulting cells of the first operation and so on. This means that an operation not necessarily is applied to the cell the operation is defined in, but also to other cells, and that it therefor can interact with operations defined in other cells. This especially applies to operations that make relations invisible. To get a determinate behavior, operations have an index and are applied in the order of that index. The attributes associated with the <table:operation> element are:   7753 The <table:operation> element specifies that certain relations that exist between the cell the element is a child of and other cells should be made visible or invisible in the UI. One and the same detective operation can be applied multiple times to the same cell. In this case, the second operation is applied to the resulting cells of the first operation and so on. This means that an operation not necessarily is applied to the cell the operation is defined in, but also to other cells, and that it therefor can interact with operations defined in other cells. This especially applies to operations that make relations invisible. To get a determinate behavior, operations have an index and are applied in the order of that index. The attributes associated with the <table:operation> element are:
7644 Name   7754 Name
7645 Index   7755 Index
7646 <define name="table-operation">   7756 <define name="table-operation">
7647         <element name="table:operation">   7757         <element name="table:operation">
7648                 <ref name="table-operation-attlist"/>   7758                 <ref name="table-operation-attlist"/>
7649                 <empty/>   7759                 <empty/>
7650         </element>   7760         </element>
7651 </define>   7761 </define>
7652 Name   7762 Name
7653 The table:name attribute specifies the name of the detective operation. Possible names are trace-dependents , remove-dependents, trace-precedents, remove-precedents and trace-errors. trace-dependents and remove-dependents displays or hides cells that use the value of the current cell in their formula. Trace-precedents and remove-precedents displays or hides cells whose value is used in the formula of the current cell. Trace-errors displays cells that cause an error while calculating the result of the current cell's formula.   7763 The table:name attribute specifies the name of the detective operation. Possible names are trace-dependents , remove-dependents, trace-precedents, remove-precedents and trace-errors. trace-dependents and remove-dependents displays or hides cells that use the value of the current cell in their formula. Trace-precedents and remove-precedents displays or hides cells whose value is used in the formula of the current cell. Trace-errors displays cells that cause an error while calculating the result of the current cell's formula.
7654 <define name="table-operation-attlist" combine="interleave">   7764 <define name="table-operation-attlist" combine="interleave">
7655         <attribute name="table:name">   7765         <attribute name="table:name">
7656                 <choice>   7766                 <choice>
7657                         <value>trace-dependents</value>   7767                         <value>trace-dependents</value>
7658                         <value>remove-dependents</value>   7768                         <value>remove-dependents</value>
7659                         <value>trace-precedents</value>   7769                         <value>trace-precedents</value>
7660                         <value>remove-precedents</value>   7770                         <value>remove-precedents</value>
7661                         <value>trace-errors</value>   7771                         <value>trace-errors</value>
7662                 </choice>   7772                 </choice>
7663         </attribute>   7773         </attribute>
7664 </define>   7774 </define>
7665 Index   7775 Index
7666 The table:index attribute specifies the the order in which detective operations are applied.   7776 The table:index attribute specifies the the order in which detective operations are applied.
7667 <define name="table-operation-attlist" combine="interleave">   7777 <define name="table-operation-attlist" combine="interleave">
7668         <attribute name="table:index">   7778         <attribute name="table:index">
7669                 <ref name="nonNegativeInteger"/>   7779                 <ref name="nonNegativeInteger"/>
7670         </attribute>   7780         </attribute>
7671 </define>   7781 </define>
7672 8.4.5Highlighted Range   7782 8.4.5Highlighted Range
7673 The <table:highlighted-range> element specifies a cell range that is highlighted in the UI either because of detective operations described above or because it contains an error or invalid data.   7783 The <table:highlighted-range> element specifies a cell range that is highlighted in the UI either because of detective operations described above or because it contains an error or invalid data.
7674 The information contained in this element is not guaranteed to be up to date but reflects the state that at the time the detective operations or error conditions have been calculated.   7784 The information contained in this element is not guaranteed to be up to date but reflects the state that at the time the detective operations or error conditions have been calculated.
7675 The attributes that can be associated with the <table:highlighted-range> element are:   7785 The attributes that can be associated with the <table:highlighted-range> element are:
7676 Cell Range Address   7786 Cell Range Address
7677 Direction   7787 Direction
7678 Contains Error   7788 Contains Error
7679 Marked Invalid   7789 Marked Invalid
7680 <define name="table-highlighted-range">   7790 <define name="table-highlighted-range">
7681         <element name="table:highlighted-range">   7791         <element name="table:highlighted-range">
7682                 <choice>   7792                 <choice>
7683                         <group>   7793                         <group>
7684                                 <ref name="table-highlighted-range-attlist"/>   7794                                 <ref name="table-highlighted-range-attlist"/>
7685                         </group>   7795                         </group>
7686                         <group>   7796                         <group>
7687                                 <ref name="table-highlighted-range-attlist-invalid"/>   7797                                 <ref name="table-highlighted-range-attlist-invalid"/>
7688                         </group>   7798                         </group>
7689                 </choice>   7799                 </choice>
7690                 <empty/>   7800                 <empty/>
7691         </element>   7801         </element>
7692 </define>   7802 </define>
7693 Cell Range Address   7803 Cell Range Address
7694 The table:cell-range-address attribute contains the address of a range that is highlighted currently.   7804 The table:cell-range-address attribute contains the address of a range that is highlighted currently.
7695 <define name="table-highlighted-range-attlist" combine="interleave">   7805 <define name="table-highlighted-range-attlist" combine="interleave">
7696         <optional>   7806         <optional>
7697                 <attribute name="table:cell-range-address">   7807                 <attribute name="table:cell-range-address">
7698                         <ref name="cellRangeAddress"/>   7808                         <ref name="cellRangeAddress"/>
7699                 </attribute>   7809                 </attribute>
7700         </optional>   7810         </optional>
7701 </define>   7811 </define>
7702 Direction   7812 Direction
7703 The table:direction attribute specifies the direction of the relation between this cell and the highlighted range. The direction for instance might be visualized by an arrow.   7813 The table:direction attribute specifies the direction of the relation between this cell and the highlighted range. The direction for instance might be visualized by an arrow.
7704 <define name="table-highlighted-range-attlist" combine="interleave">   7814 <define name="table-highlighted-range-attlist" combine="interleave">
7705         <attribute name="table:direction">   7815         <attribute name="table:direction">
7706                 <choice>   7816                 <choice>
7707                         <value>from-another-table</value>   7817                         <value>from-another-table</value>
7708                         <value>to-another-table</value>   7818                         <value>to-another-table</value>
7709                         <value>from-same-table</value>   7819                         <value>from-same-table</value>
7710                 </choice>   7820                 </choice>
7711         </attribute>   7821         </attribute>
7712 </define>   7822 </define>
7713 Contains Error   7823 Contains Error
7714 The table:contains-error attribute specifies whether or not the cell range contains an error.   7824 The table:contains-error attribute specifies whether or not the cell range contains an error.
7715 <define name="table-highlighted-range-attlist" combine="interleave">   7825 <define name="table-highlighted-range-attlist" combine="interleave">
7716         <optional>   7826         <optional>
7717                 <attribute name="table:contains-error" a:defaultValue="false">   7827                 <attribute name="table:contains-error" a:defaultValue="false">
7718                         <ref name="boolean"/>   7828                         <ref name="boolean"/>
7719                 </attribute>   7829                 </attribute>
7720         </optional>   7830         </optional>
7721 </define>   7831 </define>
7722 Marked Invalid   7832 Marked Invalid
7723 The table:marked-invalid attribute specifies whether or not the current cell is marked invalid. This attribute cannot be used together with any other attributes.   7833 The table:marked-invalid attribute specifies whether or not the current cell is marked invalid. This attribute cannot be used together with any other attributes.
7724 <define name="table-highlighted-range-attlist-invalid" combine="interleave">   7834 <define name="table-highlighted-range-attlist-invalid" combine="interleave">
7725         <attribute name="table:marked-invalid">   7835         <attribute name="table:marked-invalid">
7726                 <ref name="boolean"/>   7836                 <ref name="boolean"/>
7727         </attribute>   7837         </attribute>
7728 </define>   7838 </define>
7729 8.5Spreadsheet Document Content   7839 8.5Spreadsheet Document Content
7730 8.5.1Document Protection   7840 8.5.1Document Protection
7731 The structure of a spreadsheet document may be protected by using the table:structure-protected attribute, so that users can not insert, delete, move or rename the tables in the document. The optional table:protection-key attribute may be used to specify a password that prevents users from resetting the table protection flag to allow editing. To avoid saving the password directly into the XML file, only a hash value of the password is stored.   7841 The structure of a spreadsheet document may be protected by using the table:structure-protected attribute, so that users can not insert, delete, move or rename the tables in the document. The optional table:protection-key attribute may be used to specify a password that prevents users from resetting the table protection flag to allow editing. To avoid saving the password directly into the XML file, only a hash value of the password is stored.
7732 <define name="office-spreadsheet-attlist" combine="interleave">   7842 <define name="office-spreadsheet-attlist" combine="interleave">
7733         <optional>   7843         <optional>
7734                 <attribute name="table:structure-protected" a:defaultValue="false">   7844                 <attribute name="table:structure-protected" a:defaultValue="false">
7735                         <ref name="boolean"/>   7845                         <ref name="boolean"/>
7736                 </attribute>   7846                 </attribute>
7737         </optional>   7847         </optional>
7738         <optional>   7848         <optional>
7739                 <attribute name="table:protection-key">   7849                 <attribute name="table:protection-key">
7740                         <ref name="string"/>   7850                         <ref name="string"/>
7741                 </attribute>   7851                 </attribute>
7742         </optional>   7852         </optional>
7743 </define>   7853 </define>
7744 8.5.2Calculation Settings   7854 8.5.2Calculation Settings
7745 Spreadsheet documents contain settings that affect the calculation of formulas, for example the null date or iteration settings. These settings must be saved in the document in the <table:calculation-settings> element.   7855 Spreadsheet documents contain settings that affect the calculation of formulas, for example the null date or iteration settings. These settings must be saved in the document in the <table:calculation-settings> element.
7746 <define name="table-calculation-settings">   7856 <define name="table-calculation-settings">
7747         <element name="table:calculation-settings">   7857         <element name="table:calculation-settings">
7748                 <ref name="table-calculation-setting-attlist"/>   7858                 <ref name="table-calculation-setting-attlist"/>
7749                 <optional>   7859                 <optional>
7750                         <ref name="table-null-date"/>   7860                         <ref name="table-null-date"/>
7751                 </optional>   7861                 </optional>
7752                 <optional>   7862                 <optional>
7753                         <ref name="table-iteration"/>   7863                         <ref name="table-iteration"/>
7754                 </optional>   7864                 </optional>
7755         </element>   7865         </element>
7756 </define>   7866 </define>
7757 The attributes that may be associated with the <table:calculation-settings> element are:   7867 The attributes that may be associated with the <table:calculation-settings> element are:
7758 Case sensitive   7868 Case sensitive
7759 Precision as shown   7869 Precision as shown
7760 Search criteria must apply to whole cell   7870 Search criteria must apply to whole cell
7761 Automatic find labels   7871 Automatic find labels
7762 Use regular expression   7872 Use regular expression
7763 Null year   7873 Null year
7764 Null date   7874 Null date
7765 Iteration   7875 Iteration
7766 Case Sensitive   7876 Case Sensitive
7767 The table:case-sensitive attribute specifies whether or not to distinguish between upper and lower case when comparison operators are applied to cell content.   7877 The table:case-sensitive attribute specifies whether or not to distinguish between upper and lower case when comparison operators are applied to cell content.
7768 <define name="table-calculation-setting-attlist" combine="interleave">   7878 <define name="table-calculation-setting-attlist" combine="interleave">
7769         <optional>   7879         <optional>
7770                 <attribute name="table:case-sensitive" a:defaultValue="true">   7880                 <attribute name="table:case-sensitive" a:defaultValue="true">
7771                         <ref name="boolean"/>   7881                         <ref name="boolean"/>
7772                 </attribute>   7882                 </attribute>
7773         </optional>   7883         </optional>
7774 </define>   7884 </define>
7775 Precision as Shown   7885 Precision as Shown
7776 The table:precision-as-shown attribute specifies whether to perform a calculation using the rounded values displayed in the spreadsheet or using all of the digits in a number. If the value of this attribute is true, calculation are performed using the rounded values displayed in the spreadsheet. If the value of this attribute is false, calculations are performed using all of the digits in the number, but the result is still displayed as a rounded number.   7886 The table:precision-as-shown attribute specifies whether to perform a calculation using the rounded values displayed in the spreadsheet or using all of the digits in a number. If the value of this attribute is true, calculation are performed using the rounded values displayed in the spreadsheet. If the value of this attribute is false, calculations are performed using all of the digits in the number, but the result is still displayed as a rounded number.
7777 <define name="table-calculation-setting-attlist" combine="interleave">   7887 <define name="table-calculation-setting-attlist" combine="interleave">
7778         <optional>   7888         <optional>
7779                 <attribute name="table:precision-as-shown" a:defaultValue="false">   7889                 <attribute name="table:precision-as-shown" a:defaultValue="false">
7780                         <ref name="boolean"/>   7890                         <ref name="boolean"/>
7781                 </attribute>   7891                 </attribute>
7782         </optional>   7892         </optional>
7783 </define>   7893 </define>
7784 Search Criteria Must Apply to Whole Cell   7894 Search Criteria Must Apply to Whole Cell
7785 The table:search-criteria-must-apply-to-whole-cell attribute specifies whether or not the specified search criteria, according to the regular expression used, must apply to the entire cell contents.   7895 The table:search-criteria-must-apply-to-whole-cell attribute specifies whether or not the specified search criteria, according to the regular expression used, must apply to the entire cell contents.
7786 <define name="table-calculation-setting-attlist" combine="interleave">   7896 <define name="table-calculation-setting-attlist" combine="interleave">
7787         <optional>   7897         <optional>
7788                 <attribute name="table:search-criteria-must-apply-to-whole-cell"   7898                 <attribute name="table:search-criteria-must-apply-to-whole-cell"
7789                                          a:defaultValue="true">   7899                                          a:defaultValue="true">
7790                         <ref name="boolean"/>   7900                         <ref name="boolean"/>
7791                 </attribute>   7901                 </attribute>
7792         </optional>   7902         </optional>
7793 </define>   7903 </define>
7794 Automatic Find Labels   7904 Automatic Find Labels
7795 The table:automatic-find-labels attribute specifies whether or not to automatically find the labels of rows and columns.   7905 The table:automatic-find-labels attribute specifies whether or not to automatically find the labels of rows and columns.
7796 <define name="table-calculation-setting-attlist" combine="interleave">   7906 <define name="table-calculation-setting-attlist" combine="interleave">
7797         <optional>   7907         <optional>
7798                 <attribute name="table:automatic-find-labels" a:defaultValue="true">   7908                 <attribute name="table:automatic-find-labels" a:defaultValue="true">
7799                         <ref name="boolean"/>   7909                         <ref name="boolean"/>
7800                 </attribute>   7910                 </attribute>
7801         </optional>   7911         </optional>
7802 </define>   7912 </define>
7803 Use Regular Expressions   7913 Use Regular Expressions
7804 The table:use-regular-expressions attribute specifies whether regular expressions are enabled for character string comparisons and when searching.   7914 The table:use-regular-expressions attribute specifies whether regular expressions are enabled for character string comparisons and when searching.
7805 <define name="table-calculation-setting-attlist" combine="interleave">   7915 <define name="table-calculation-setting-attlist" combine="interleave">
7806         <optional>   7916         <optional>
7807                 <attribute name="table:use-regular-expressions"   7917                 <attribute name="table:use-regular-expressions"
7808                                          a:defaultValue="true">   7918                                          a:defaultValue="true">
7809                         <ref name="boolean"/>   7919                         <ref name="boolean"/>
7810                 </attribute>   7920                 </attribute>
7811         </optional>   7921         </optional>
7812 </define>   7922 </define>
7813 Null Year   7923 Null Year
7814 The table:null-year attribute specifies the start year for year values that contain only two digits. All two digit year values are interpreted as a year that equals or follows the start year.   7924 The table:null-year attribute specifies the start year for year values that contain only two digits. All two digit year values are interpreted as a year that equals or follows the start year.
7815 <define name="table-calculation-setting-attlist" combine="interleave">   7925 <define name="table-calculation-setting-attlist" combine="interleave">
7816         <optional>   7926         <optional>
7817                 <attribute name="table:null-year" a:defaultValue="1930">   7927                 <attribute name="table:null-year" a:defaultValue="1930">
7818                         <ref name="positiveInteger"/>   7928                         <ref name="positiveInteger"/>
7819                 </attribute>   7929                 </attribute>
7820         </optional>   7930         </optional>
7821 </define>   7931 </define>
7822 Null Date   7932 Null Date
7823 The <table:null-date> element specifies the null date. The null date is the date that results in the value “0” if a date value is converted into a numeric value. The null date is specified in the element's table:date-value attribute. Commonly used values are 12/30/1899, 01/01/1900, and 01/01/1904   7933 The <table:null-date> element specifies the null date. The null date is the date that results in the value “0” if a date value is converted into a numeric value. The null date is specified in the element's table:date-value attribute. Commonly used values are 12/30/1899, 01/01/1900, and 01/01/1904
7824 <define name="table-null-date">   7934 <define name="table-null-date">
7825         <element name="table:null-date">   7935         <element name="table:null-date">
7826                 <optional>   7936                 <optional>
7827                         <attribute name="table:value-type" a:defaultValue="date">   7937                         <attribute name="table:value-type" a:defaultValue="date">
7828                                 <ref name="valueType"/>   7938                                 <ref name="valueType"/>
7829                         </attribute>   7939                         </attribute>
7830                 </optional>   7940                 </optional>
7831                 <optional>   7941                 <optional>
7832                         <attribute name="table:date-value-type" <> 7942                         <attribute name="table:date-value"
7833                                                  a:defaultValue="1899-12-30"> = 7943                                                  a:defaultValue="1899-12-30">
7834                                 <ref name="date"/>   7944                                 <ref name="date"/>
7835                         </attribute>   7945                         </attribute>
7836                 </optional>   7946                 </optional>
7837                 <empty/>   7947                 <empty/>
7838         </element>   7948         </element>
7839 </define>   7949 </define>
7840 Iteration   7950 Iteration
7841 The <table:iteration> element enables formulas with iterative (or cyclic) references to be calculated after a specific number of iterations. Formulas with iterative references are repeated until the problem is solved. If this iterative calculations are not enabled, a formula with an iterative reference in a table causes an error message.   7951 The <table:iteration> element enables formulas with iterative (or cyclic) references to be calculated after a specific number of iterations. Formulas with iterative references are repeated until the problem is solved. If this iterative calculations are not enabled, a formula with an iterative reference in a table causes an error message.
7842 Iterative calculations are enabled and disabled with the table:status attribute. If iterative calculations are enabled, the table:steps attribute specifies the maximum number of iterations allowed. The table:maximum-difference attribute specifies the maximum difference allowed between two calculation results. The iteration is stopped if the result is less than the value of this attribute.   7952 Iterative calculations are enabled and disabled with the table:status attribute. If iterative calculations are enabled, the table:steps attribute specifies the maximum number of iterations allowed. The table:maximum-difference attribute specifies the maximum difference allowed between two calculation results. The iteration is stopped if the result is less than the value of this attribute.
7843 <define name="table-iteration">   7953 <define name="table-iteration">
7844         <element name="table:iteration">   7954         <element name="table:iteration">
7845                 <optional>   7955                 <optional>
7846                         <attribute name="table:status" a:defaultValue="disable">   7956                         <attribute name="table:status" a:defaultValue="disable">
7847                                 <choice>   7957                                 <choice>
7848                                         <value>enable</value>   7958                                         <value>enable</value>
7849                                         <value>disable</value>   7959                                         <value>disable</value>
7850                                 </choice>   7960                                 </choice>
7851                         </attribute>   7961                         </attribute>
7852                 </optional>   7962                 </optional>
7853                 <optional>   7963                 <optional>
7854                         <attribute name="table:steps" a:defaultValue="100">   7964                         <attribute name="table:steps" a:defaultValue="100">
7855                                 <ref name="positiveInteger"/>   7965                                 <ref name="positiveInteger"/>
7856                         </attribute>   7966                         </attribute>
7857                 </optional>   7967                 </optional>
7858                 <optional>   7968                 <optional>
7859                         <attribute name="table:maximum-difference"   7969                         <attribute name="table:maximum-difference"
7860                                                  a:defaultValue="0.001">   7970                                                  a:defaultValue="0.001">
7861                                 <ref name="double"/>   7971                                 <ref name="double"/>
7862                         </attribute>   7972                         </attribute>
7863                 </optional>   7973                 </optional>
7864                 <empty/>   7974                 <empty/>
7865         </element>   7975         </element>
7866 </define>   7976 </define>
7867 8.5.3Table Cell Content Validations   7977 8.5.3Table Cell Content Validations
7868 Table cell content validations specify validation rules for the content of table cells. The <table:content-validation> element specifies such a validation rule. All validation rules that exist in a document are contained <table:content-validations> element. The validation rules themselves are named and referenced from the table cell by its name.   7978 Table cell content validations specify validation rules for the content of table cells. The <table:content-validation> element specifies such a validation rule. All validation rules that exist in a document are contained <table:content-validations> element. The validation rules themselves are named and referenced from the table cell by its name.
7869 <define name="table-content-validations">   7979 <define name="table-content-validations">
7870         <element name="table:content-validations">   7980         <element name="table:content-validations">
7871                 <oneOrMore>   7981                 <oneOrMore>
7872                         <ref name="table-content-validation"/>   7982                         <ref name="table-content-validation"/>
7873                 </oneOrMore>   7983                 </oneOrMore>
7874         </element>   7984         </element>
7875 </define>   7985 </define>
7876     7986  
7877 <define name="table-content-validation">   7987 <define name="table-content-validation">
7878         <element name="table:content-validation">   7988         <element name="table:content-validation">
7879                 <ref name="table-validation-attlist"/>   7989                 <ref name="table-validation-attlist"/>
7880                 <optional>   7990                 <optional>
7881                         <ref name="table-help-message"/>   7991                         <ref name="table-help-message"/>
7882                 </optional>   7992                 </optional>
7883                 <optional>   7993                 <optional>
7884                         <choice>   7994                         <choice>
7885                                 <ref name="table-error-message"/>   7995                                 <ref name="table-error-message"/>
7886                                 <group>   7996                                 <group>
7887                                         <ref name="table-error-macro"/>   7997                                         <ref name="table-error-macro"/>
7888                                         <optional>   7998                                         <optional>
7889                                                 <ref name="office-event-listeners"/>   7999                                                 <ref name="office-event-listeners"/>
7890                                         </optional>   8000                                         </optional>
7891                                 </group>   8001                                 </group>
7892                         </choice>   8002                         </choice>
7893                 </optional>   8003                 </optional>
7894         </element>   8004         </element>
7895 </define>   8005 </define>
7896 The attributes that may be associated with the <table:content-validation> element are:   8006 The attributes that may be associated with the <table:content-validation> element are:
7897 Name   8007 Name
7898 Condition   8008 Condition
7899 Base cell address   8009 Base cell address
7900 Allow empty cell   8010 Allow empty cell
7901 Display list   8011 Display list
7902 Name   8012 Name
7903 The table:name attribute specifies the name of the content validation. It is used to reference the validation rule from the cell the rule should applied to. The name is created automatically by the application.   8013 The table:name attribute specifies the name of the content validation. It is used to reference the validation rule from the cell the rule should applied to. The name is created automatically by the application.
7904 <define name="table-validation-attlist" combine="interleave">   8014 <define name="table-validation-attlist" combine="interleave">
7905         <attribute name="table:name">   8015         <attribute name="table:name">
7906                 <ref name="string"/>   8016                 <ref name="string"/>
7907         </attribute>   8017         </attribute>
7908 </define>   8018 </define>
7909 Condition   8019 Condition
7910 The table:condition attribute specifies the condition that must evaluate to “true” for all cells the validation rule is applied to. The value of this attribute should be a namespace prefix, followed by a Boolean expression.   8020 The table:condition attribute specifies the condition that must evaluate to “true” for all cells the validation rule is applied to. The value of this attribute should be a namespace prefix, followed by a Boolean expression.
7911 A typical syntax of the expression may be similar to the XPath syntax. The following are valid conditions:   8021 A typical syntax of the expression may be similar to the XPath syntax. The following are valid conditions:
7912 Condition ::= ExtendedTrueCondition | TrueFunction 'and' TrueCondition   8022 Condition ::= ExtendedTrueCondition | TrueFunction 'and' TrueCondition
7913 TrueFunction ::= cell-content-is-whole-number() | cell-content-is-decimal-number() | cell-content-is-date() | cell-content-is-time() | cell-content-is-text()   8023 TrueFunction ::= cell-content-is-whole-number() | cell-content-is-decimal-number() | cell-content-is-date() | cell-content-is-time() | cell-content-is-text()
7914 ExtendedTrueCondition ::= ExtendedGetFunction | cell-content-text-length() Operator Value   8024 ExtendedTrueCondition ::= ExtendedGetFunction | cell-content-text-length() Operator Value
7915 TrueCondition ::= GetFunction | cell-content() Operator Value   8025 TrueCondition ::= GetFunction | cell-content() Operator Value
7916 GetFunction ::= cell-content-is-between(Value, Value) | cell-content-is-not-between(Value, Value)   8026 GetFunction ::= cell-content-is-between(Value, Value) | cell-content-is-not-between(Value, Value)
7917 ExtendedGetFunction ::= cell-content-text-length-is-between(Value, Value) | cell-content-text-length-is-not-between(Value, Value) | cell-content-is-in-list( StringList )   8027 ExtendedGetFunction ::= cell-content-text-length-is-between(Value, Value) | cell-content-text-length-is-not-between(Value, Value) | cell-content-is-in-list( StringList )
7918 Operator ::= '<' | '>' | '<=' | '>=' | '=' | '!='   8028 Operator ::= '<' | '>' | '<=' | '>=' | '=' | '!='
7919 Value ::= NumberValue | String | Formula   8029 Value ::= NumberValue | String | Formula
7920 StringList ::= StringList ';' String | String   8030 StringList ::= StringList ';' String | String
7921 A Formula is a formula without an equals (=) sign at the beginning. See section 8.1.3 for more information.   8031 A Formula is a formula without an equals (=) sign at the beginning. See section 8.1.3 for more information.
7922 A String comprises one or more characters surrounded by quotation marks.   8032 A String comprises one or more characters surrounded by quotation marks.
7923 A NumberValue is a whole or decimal number. It must not contain comma separators for numbers of 1000 or greater.   8033 A NumberValue is a whole or decimal number. It must not contain comma separators for numbers of 1000 or greater.
7924 <define name="table-validation-attlist" combine="interleave">   8034 <define name="table-validation-attlist" combine="interleave">
7925         <optional>   8035         <optional>
7926                 <attribute name="table:condition">   8036                 <attribute name="table:condition">
7927                         <ref name="string"/>   8037                         <ref name="string"/>
7928                 </attribute>   8038                 </attribute>
7929         </optional>   8039         </optional>
7930 </define>   8040 </define>
7931 Base Cell Address   8041 Base Cell Address
7932 The table:base-cell-address attribute specifies the address of the base cell for relative addresses in formulas that occur within a condition. This attribute is only necessary when the condition contains a formula. The value of this attribute must be an absolute cell address that contains a table name.   8042 The table:base-cell-address attribute specifies the address of the base cell for relative addresses in formulas that occur within a condition. This attribute is only necessary when the condition contains a formula. The value of this attribute must be an absolute cell address that contains a table name.
7933 <define name="table-validation-attlist" combine="interleave">   8043 <define name="table-validation-attlist" combine="interleave">
7934         <optional>   8044         <optional>
7935                 <attribute name="table:base-cell-address">   8045                 <attribute name="table:base-cell-address">
7936                         <ref name="cellAddress"/>   8046                         <ref name="cellAddress"/>
7937                 </attribute>   8047                 </attribute>
7938         </optional>   8048         </optional>
7939 </define>   8049 </define>
7940 Allow Empty Cell   8050 Allow Empty Cell
7941 The table:allow-empty-cell attribute specifies whether or not a cell can be empty.   8051 The table:allow-empty-cell attribute specifies whether or not a cell can be empty.
7942 <define name="table-validation-attlist" combine="interleave">   8052 <define name="table-validation-attlist" combine="interleave">
7943         <optional>   8053         <optional>
7944                 <attribute name="table:allow-empty-cell" a:defaultValue="true">   8054                 <attribute name="table:allow-empty-cell" a:defaultValue="true">
7945                         <ref name="boolean"/>   8055                         <ref name="boolean"/>
7946                 </attribute>   8056                 </attribute>
7947         </optional>   8057         </optional>
7948 </define>   8058 </define>
7949 Display List   8059 Display List
7950 The table:display-list attribute specifies whether a list of values that occurs within a condition is displayed in the UI wile entering a cell value. The value of this attribute can be none, unsorted or sort-ascending.   8060 The table:display-list attribute specifies whether a list of values that occurs within a condition is displayed in the UI wile entering a cell value. The value of this attribute can be none, unsorted or sort-ascending.
7951 none: the list values are not displayed.   8061 none: the list values are not displayed.
7952 unsorted: the list values are displayed in the order they occur in the condition.   8062 unsorted: the list values are displayed in the order they occur in the condition.
7953 sort-ascending: the list values are displayed in ascending order.   8063 sort-ascending: the list values are displayed in ascending order.
7954 <define name="table-validation-attlist" combine="interleave">   8064 <define name="table-validation-attlist" combine="interleave">
7955         <optional>   8065         <optional>
7956                 <attribute name="table:display-list" a:defaultValue="unsorted">   8066                 <attribute name="table:display-list" a:defaultValue="unsorted">
7957                         <choice>   8067                         <choice>
7958                                 <value>none</value>   8068                                 <value>none</value>
7959                                 <value>unsorted</value>   8069                                 <value>unsorted</value>
7960                                 <value>sort-ascending</value>   8070                                 <value>sort-ascending</value>
7961                         </choice>   8071                         </choice>
7962                 </attribute>   8072                 </attribute>
7963         </optional>   8073         </optional>
7964 </define>   8074 </define>
7965 Help Message   8075 Help Message
7966 The <table:help-message> element specifies a message to display if a user selects the cell. The element has an optional table:title attribute that specifies a title of the help message. It further has an optional table:display attribute that can be used to suppress the display of the message.   8076 The <table:help-message> element specifies a message to display if a user selects the cell. The element has an optional table:title attribute that specifies a title of the help message. It further has an optional table:display attribute that can be used to suppress the display of the message.
7967 <define name="table-help-message">   8077 <define name="table-help-message">
7968         <element name="table:help-message">   8078         <element name="table:help-message">
7969                 <optional>   8079                 <optional>
7970                         <attribute name="table:title">   8080                         <attribute name="table:title">
7971                                 <ref name="string"/>   8081                                 <ref name="string"/>
7972                         </attribute>   8082                         </attribute>
7973                 </optional>   8083                 </optional>
7974                 <optional>   8084                 <optional>
7975                         <attribute name="table:display" a:defaultValue="false">   8085                         <attribute name="table:display" a:defaultValue="false">
7976                                 <ref name="boolean"/>   8086                                 <ref name="boolean"/>
7977                         </attribute>   8087                         </attribute>
7978                 </optional>   8088                 </optional>
7979                 <zeroOrMore>   8089                 <zeroOrMore>
7980                         <ref name="text-p"/>   8090                         <ref name="text-p"/>
7981                 </zeroOrMore>   8091                 </zeroOrMore>
7982         </element>   8092         </element>
7983 </define>   8093 </define>
7984 Error Message   8094 Error Message
7985 The <table:error-message> element specifies a message to display if a user tries to enter invalid content into a cell i.e., content where the validation rule's condition evaluates to “false”. The element has an optional table:title attribute that specifies a title of the help message. It further has an optional table:display attribute that can be used to suppress the display of the message. The table:message-type attribute, that can take the values stop, warning, or information, specifies whether the message should be displayed as error (stop), warning (warning) or information only (information). In case the message is displayed as error, the operation that caused the validation check (for instance a cursor travel to leave the cell) is stopped.   8095 The <table:error-message> element specifies a message to display if a user tries to enter invalid content into a cell i.e., content where the validation rule's condition evaluates to “false”. The element has an optional table:title attribute that specifies a title of the help message. It further has an optional table:display attribute that can be used to suppress the display of the message. The table:message-type attribute, that can take the values stop, warning, or information, specifies whether the message should be displayed as error (stop), warning (warning) or information only (information). In case the message is displayed as error, the operation that caused the validation check (for instance a cursor travel to leave the cell) is stopped.
7986 <define name="table-error-message">   8096 <define name="table-error-message">
7987         <element name="table:error-message">   8097         <element name="table:error-message">
7988                 <optional>   8098                 <optional>
7989                         <attribute name="table:title">   8099                         <attribute name="table:title">
7990                                 <ref name="string"/>   8100                                 <ref name="string"/>
7991                         </attribute>   8101                         </attribute>
7992                 </optional>   8102                 </optional>
7993                 <optional>   8103                 <optional>
7994                         <attribute name="table:display" a:defaultValue="false">   8104                         <attribute name="table:display" a:defaultValue="false">
7995                                 <ref name="boolean"/>   8105                                 <ref name="boolean"/>
7996                         </attribute>   8106                         </attribute>
7997                 </optional>   8107                 </optional>
7998                 <optional>   8108                 <optional>
7999                         <attribute name="table:message-type" a:defaultValue="stop">   8109                         <attribute name="table:message-type" a:defaultValue="stop">
8000                                 <choice>   8110                                 <choice>
8001                                         <value>stop</value>   8111                                         <value>stop</value>
8002                                         <value>warning</value>   8112                                         <value>warning</value>
8003                                         <value>information</value>   8113                                         <value>information</value>
8004                                 </choice>   8114                                 </choice>
8005                         </attribute>   8115                         </attribute>
8006                 </optional>   8116                 </optional>
8007                 <zeroOrMore>   8117                 <zeroOrMore>
8008                         <ref name="text-p"/>   8118                         <ref name="text-p"/>
8009                 </zeroOrMore>   8119                 </zeroOrMore>
8010         </element>   8120         </element>
8011 </define>   8121 </define>
8012 Error Macro   8122 Error Macro
8013 As an alternative to displaying a message, a macro might be called if a cell contains invalid content. The macro in this case is specified by an <office:event-listeners> element as specified in section 12.4. The event name must be one that specifies an event that is called on invalid user input.   8123 As an alternative to displaying a message, a macro might be called if a cell contains invalid content. The macro in this case is specified by an <office:event-listeners> element as specified in section 12.4. The event name must be one that specifies an event that is called on invalid user input.
8014 In addition to the <office:event-listeners> element, the <table:error-macro> element specifies whether the macro should be executed or not.   8124 In addition to the <office:event-listeners> element, the <table:error-macro> element specifies whether the macro should be executed or not.
8015 <define name="table-error-macro">   8125 <define name="table-error-macro">
8016         <element name="table:error-macro">   8126         <element name="table:error-macro">
8017                 <optional>   8127                 <optional>
8018                         <attribute name="table:execute" a:defaultValue="true">   8128                         <attribute name="table:execute" a:defaultValue="true">
8019                                 <ref name="boolean"/>   8129                                 <ref name="boolean"/>
8020                         </attribute>   8130                         </attribute>
8021                 </optional>   8131                 </optional>
8022         </element>   8132         </element>
8023 </define>   8133 </define>
8024 8.5.4Label Ranges   8134 8.5.4Label Ranges
8025 Label ranges can be used to assign names to rows and columns, or to parts of rows and columns, where the names themselves are specified as the content of table cells. More precisely, the label range element <table:label-range> specifies a label cell range which contain the labels, and data cell range which specifies the rows or columns whose content is referenced by the labels.   8135 Label ranges can be used to assign names to rows and columns, or to parts of rows and columns, where the names themselves are specified as the content of table cells. More precisely, the label range element <table:label-range> specifies a label cell range which contain the labels, and data cell range which specifies the rows or columns whose content is referenced by the labels.
8026 There are two types of label ranges.   8136 There are two types of label ranges.
8027 Label ranges for columns   8137 Label ranges for columns
8028 Label ranges for rows.   8138 Label ranges for rows.
8029 The data cell range should have the same height and vertical position like the label cell range if row labels are specified, or should have the same width and horizontal position like the label range if column labels are specified. For information on defining a cell range, see section 8.3.1.   8139 The data cell range should have the same height and vertical position like the label cell range if row labels are specified, or should have the same width and horizontal position like the label range if column labels are specified. For information on defining a cell range, see section 8.3.1.
8030 Labels can be used within formula like any other name. All label ranges that exist in a document are contained within a single <table:label-ranges> element.   8140 Labels can be used within formula like any other name. All label ranges that exist in a document are contained within a single <table:label-ranges> element.
8031 <define name="table-label-ranges">   8141 <define name="table-label-ranges">
8032         <element name="table:label-ranges">   8142         <element name="table:label-ranges">
8033                 <zeroOrMore>   8143                 <zeroOrMore>
8034                         <ref name="table-label-range"/>   8144                         <ref name="table-label-range"/>
8035                 </zeroOrMore>   8145                 </zeroOrMore>
8036         </element>   8146         </element>
8037 </define>   8147 </define>
8038     8148  
8039 <define name="table-label-range">   8149 <define name="table-label-range">
8040         <element name="table:label-range">   8150         <element name="table:label-range">
8041                 <ref name="table-label-range-attlist"/>   8151                 <ref name="table-label-range-attlist"/>
8042                 <empty/>   8152                 <empty/>
8043         </element>   8153         </element>
8044 </define>   8154 </define>
8045 Label Cell Range Address   8155 Label Cell Range Address
8046 The table:label-cell-range-address attribute specifies the cell range address of the labels.   8156 The table:label-cell-range-address attribute specifies the cell range address of the labels.
8047 <define name="table-label-range-attlist" combine="interleave">   8157 <define name="table-label-range-attlist" combine="interleave">
8048         <attribute name="table:label-cell-range-address">   8158         <attribute name="table:label-cell-range-address">
8049                 <ref name="cellRangeAddress"/>   8159                 <ref name="cellRangeAddress"/>
8050         </attribute>   8160         </attribute>
8051 </define>   8161 </define>
8052 Data Cell Range Address   8162 Data Cell Range Address
8053 The table:data-cell-range-address attribute specifies the cell range address of the data.   8163 The table:data-cell-range-address attribute specifies the cell range address of the data.
8054 <define name="table-label-range-attlist" combine="interleave">   8164 <define name="table-label-range-attlist" combine="interleave">
8055         <attribute name="table:data-cell-range-address">   8165         <attribute name="table:data-cell-range-address">
8056                 <ref name="cellRangeAddress"/>   8166                 <ref name="cellRangeAddress"/>
8057         </attribute>   8167         </attribute>
8058 </define>   8168 </define>
8059 Orientation   8169 Orientation
8060 The table:orientation attribute specifies the orientation of the label range. This attribute can have a value of column or row.   8170 The table:orientation attribute specifies the orientation of the label range. This attribute can have a value of column or row.
8061 <define name="table-label-range-attlist" combine="interleave">   8171 <define name="table-label-range-attlist" combine="interleave">
8062         <attribute name="table:orientation">   8172         <attribute name="table:orientation">
8063                 <choice>   8173                 <choice>
8064                         <value>column</value>   8174                         <value>column</value>
8065                         <value>row</value>   8175                         <value>row</value>
8066                 </choice>   8176                 </choice>
8067         </attribute>   8177         </attribute>
8068 </define>   8178 </define>
8069 8.5.5Named Expressions   8179 8.5.5Named Expressions
8070 The named expressions element <table:named-expressions> contains a collection of assignments of names to expressions, so that the names can be use to refer to the expression.   8180 The named expressions element <table:named-expressions> contains a collection of assignments of names to expressions, so that the names can be use to refer to the expression.
8071 The following expression can get names:   8181 The following expression can get names:
8072 cell ranges.   8182 cell ranges.
8073 Other expressions, for example, parts of a formula.   8183 Other expressions, for example, parts of a formula.
8074 <define name="table-named-expressions">   8184 <define name="table-named-expressions">
8075         <element name="table:named-expressions">   8185         <element name="table:named-expressions">
8076                 <zeroOrMore>   8186                 <zeroOrMore>
8077                         <choice>   8187                         <choice>
8078                                 <ref name="table-named-range"/>   8188                                 <ref name="table-named-range"/>
8079                                 <ref name="table-named-expression"/>   8189                                 <ref name="table-named-expression"/>
8080                         </choice>   8190                         </choice>
8081                 </zeroOrMore>   8191                 </zeroOrMore>
8082         </element>   8192         </element>
8083 </define>   8193 </define>
8084     8194  
8085 Named Range   8195 Named Range
8086 The named range element <table:named-range> specifies a cell range that has a name assigned. For information on defining a cell range, see section 8.3.1.   8196 The named range element <table:named-range> specifies a cell range that has a name assigned. For information on defining a cell range, see section 8.3.1.
8087 The table:name attribute specifies the name of the range, and the table:cell-range-address attribute its address. The address can be either absolute or relative. If the cell range address is relative, the table:base-cell-address attribute must exist additionally. It specifies the base cell address for the cell range. This address must be absolute. Therefore a table name in the address is required, but the dollar signs that indicate an absolute address can be omitted.   8197 The table:name attribute specifies the name of the range, and the table:cell-range-address attribute its address. The address can be either absolute or relative. If the cell range address is relative, the table:base-cell-address attribute must exist additionally. It specifies the base cell address for the cell range. This address must be absolute. Therefore a table name in the address is required, but the dollar signs that indicate an absolute address can be omitted.
8088 An additional table:range-usable-as attribute specifies whether the name of the range can be used within the specification of a print range, a filter, a repeating row, or a repeat column. The value of this attribute can be either:   8198 An additional table:range-usable-as attribute specifies whether the name of the range can be used within the specification of a print range, a filter, a repeating row, or a repeat column. The value of this attribute can be either:
8089 none, or   8199 none, or
8090 a space-separated list that consists of any of the values print-range, filter, repeat-row or repeat-column.   8200 a space-separated list that consists of any of the values print-range, filter, repeat-row or repeat-column.
8091 <define name="table-named-range">   8201 <define name="table-named-range">
8092         <element name="table:named-range">   8202         <element name="table:named-range">
8093                 <ref name="table-named-range-attlist"/>   8203                 <ref name="table-named-range-attlist"/>
8094                 <empty/>   8204                 <empty/>
8095         </element>   8205         </element>
8096 </define>   8206 </define>
8097     8207  
8098 <define name="table-named-range-attlist" combine="interleave">   8208 <define name="table-named-range-attlist" combine="interleave">
8099         <attribute name="table:name">   8209         <attribute name="table:name">
8100                 <ref name="string"/>   8210                 <ref name="string"/>
8101         </attribute>   8211         </attribute>
8102         <attribute name="table:cell-range-address">   8212         <attribute name="table:cell-range-address">
8103                 <ref name="cellRangeAddress"/>   8213                 <ref name="cellRangeAddress"/>
8104         </attribute>   8214         </attribute>
8105         <optional>   8215         <optional>
8106                 <attribute name="table:base-cell-address">   8216                 <attribute name="table:base-cell-address">
8107                         <ref name="cellAddress"/>   8217                         <ref name="cellAddress"/>
8108                 </attribute>   8218                 </attribute>
8109         </optional>   8219         </optional>
8110         <optional>   8220         <optional>
8111                 <attribute name="table:range-usable-as" a:defaultValue="none">   8221                 <attribute name="table:range-usable-as" a:defaultValue="none">
8112                         <choice>   8222                         <choice>
8113                                 <value>none</value>   8223                                 <value>none</value>
8114                                 <list>   8224                                 <list>
8115                                         <oneOrMore>   8225                                         <oneOrMore>
8116                                                 <choice>   8226                                                 <choice>
8117                                                         <value>print-range</value>   8227                                                         <value>print-range</value>
8118                                                         <value>filter</value>   8228                                                         <value>filter</value>
8119                                                         <value>repeat-row</value>   8229                                                         <value>repeat-row</value>
8120                                                         <value>repeat-column</value>   8230                                                         <value>repeat-column</value>
8121                                                 </choice>   8231                                                 </choice>
8122                                         </oneOrMore>   8232                                         </oneOrMore>
8123                                 </list>   8233                                 </list>
8124                         </choice>   8234                         </choice>
8125                 </attribute>   8235                 </attribute>
8126         </optional>   8236         </optional>
8127 </define>   8237 </define>
8128 Named Expression   8238 Named Expression
8129 The named expression element <table:named-expression> contains an expression with a name, for example, a part of a formula.   8239 The named expression element <table:named-expression> contains an expression with a name, for example, a part of a formula.
8130 The table:name attribute specifies the name of the expression, and the table:expression attribute the expression itself. The expressions do not support the equal (=) sign as the first character. If the expression contains a named range or another named expression, the named range or named expression must be specified first, before the containing expression. If the expression contains a relative cell range address, the table:base-cell-address attribute must exist additionally. It specifies the base cell address for the cell range. This address must be absolute. Therefore a table name in the address is required, but the dollar signs that indicate an absolute address can be omitted.   8240 The table:name attribute specifies the name of the expression, and the table:expression attribute the expression itself. The expressions do not support the equal (=) sign as the first character. If the expression contains a named range or another named expression, the named range or named expression must be specified first, before the containing expression. If the expression contains a relative cell range address, the table:base-cell-address attribute must exist additionally. It specifies the base cell address for the cell range. This address must be absolute. Therefore a table name in the address is required, but the dollar signs that indicate an absolute address can be omitted.
8131 <define name="table-named-expression">   8241 <define name="table-named-expression">
8132         <element name="table:named-expression">   8242         <element name="table:named-expression">
8133                 <ref name="table-named-expression-attlist"/>   8243                 <ref name="table-named-expression-attlist"/>
8134                 <empty/>   8244                 <empty/>
8135         </element>   8245         </element>
8136 </define>   8246 </define>
8137     8247  
8138 <define name="table-named-expression-attlist" combine="interleave">   8248 <define name="table-named-expression-attlist" combine="interleave">
8139         <attribute name="table:name">   8249         <attribute name="table:name">
8140                 <ref name="string"/>   8250                 <ref name="string"/>
8141         </attribute>   8251         </attribute>
8142         <attribute name="table:expression">   8252         <attribute name="table:expression">
8143                 <ref name="string"/>   8253                 <ref name="string"/>
8144         </attribute>   8254         </attribute>
8145         <optional>   8255         <optional>
8146                 <attribute name="table:base-cell-address">   8256                 <attribute name="table:base-cell-address">
8147                         <ref name="cellAddress"/>   8257                         <ref name="cellAddress"/>
8148                 </attribute>   8258                 </attribute>
8149         </optional>   8259         </optional>
8150 </define>   8260 </define>
8151 Example: Named expressions element with a named range and a named expression   8261 Example: Named expressions element with a named range and a named expression
8152 <table:named-expressions>   8262 <table:named-expressions>
8153         <table:named-range table:name="sample1" table:cell-range-address=".C4"   8263         <table:named-range table:name="sample1" table:cell-range-address=".C4"
8154                 table:base-cell-address="sampletable.F1" table:area-type="none"/>   8264                 table:base-cell-address="sampletable.F1" table:area-type="none"/>
8155         <table:named-range table:name="sample2"   8265         <table:named-range table:name="sample2"
8156                 table:cell-range-address=".$D$3:.$K$8"   8266                 table:cell-range-address=".$D$3:.$K$8"
8157                 table:area-type="print-range filter"/>   8267                 table:area-type="print-range filter"/>
8158         <table:named-expression table:name="sample3"   8268         <table:named-expression table:name="sample3"
8159                 table:expression="sum([.A1:.B3])"/>   8269                 table:expression="sum([.A1:.B3])"/>
8160 </table:named-expressions>   8270 </table:named-expressions>
8161 8.6Database Ranges   8271 8.6Database Ranges
8162 A database range is a named area in a table where database operations, but also some other kind of operations like filtering and sorting, can be performed. The Database Ranges element <table:database-ranges> contains a collection of all database ranges defined in a document.   8272 A database range is a named area in a table where database operations, but also some other kind of operations like filtering and sorting, can be performed. The Database Ranges element <table:database-ranges> contains a collection of all database ranges defined in a document.
8163 <define name="table-database-ranges">   8273 <define name="table-database-ranges">
8164         <element name="table:database-ranges">   8274         <element name="table:database-ranges">
8165                 <zeroOrMore>   8275                 <zeroOrMore>
8166                         <ref name="table-database-range"/>   8276                         <ref name="table-database-range"/>
8167                 </zeroOrMore>   8277                 </zeroOrMore>
8168         </element>   8278         </element>
8169 </define>   8279 </define>
8170 8.6.1Database Range   8280 8.6.1Database Range
8171 The <table:database-range> defines a single database range.   8281 The <table:database-range> defines a single database range.
8172 <define name="table-database-range">   8282 <define name="table-database-range">
8173         <element name="table:database-range">   8283         <element name="table:database-range">
8174                 <ref name="table-database-range-attlist"/>   8284                 <ref name="table-database-range-attlist"/>
8175                 <optional>   8285                 <optional>
8176                         <choice>   8286                         <choice>
8177                                 <ref name="table-database-source-sql"/>   8287                                 <ref name="table-database-source-sql"/>
8178                                 <ref name="table-database-source-table"/>   8288                                 <ref name="table-database-source-table"/>
8179                                 <ref name="table-database-source-query"/>   8289                                 <ref name="table-database-source-query"/>
8180                         </choice>   8290                         </choice>
8181                 </optional>   8291                 </optional>
8182                 <optional>   8292                 <optional>
8183                         <ref name="table-filter"/>   8293                         <ref name="table-filter"/>
8184                 </optional>   8294                 </optional>
8185                 <optional>   8295                 <optional>
8186                         <ref name="table-sort"/>   8296                         <ref name="table-sort"/>
8187                 </optional>   8297                 </optional>
8188                 <optional>   8298                 <optional>
8189                         <ref name="table-subtotal-rules"/>   8299                         <ref name="table-subtotal-rules"/>
8190                 </optional>   8300                 </optional>
8191         </element>   8301         </element>
8192 </define>   8302 </define>
8193 Database Range Name   8303 Database Range Name
8194 The table:name attribute specifies the name of the database range on which to perform operations. Within a single document, only one database range is allowed to have no name. This database range is usually automatically created by the application and is used to filter or sort data in a cell ranges without the user explicitly creating a database range.   8304 The table:name attribute specifies the name of the database range on which to perform operations. Within a single document, only one database range is allowed to have no name. This database range is usually automatically created by the application and is used to filter or sort data in a cell ranges without the user explicitly creating a database range.
8195 <define name="table-database-range-attlist" combine="interleave">   8305 <define name="table-database-range-attlist" combine="interleave">
8196         <optional>   8306         <optional>
8197                 <attribute name="table:name">   8307                 <attribute name="table:name">
8198                         <ref name="string"/>   8308                         <ref name="string"/>
8199                 </attribute>   8309                 </attribute>
8200         </optional>   8310         </optional>
8201 </define>   8311 </define>
8202 Is Selection   8312 Is Selection
8203 The table:is-selection attribute specifies whether the database range includes a complete database, or a selection of records from a database only.   8313 The table:is-selection attribute specifies whether the database range includes a complete database, or a selection of records from a database only.
8204 <define name="table-database-range-attlist" combine="interleave">   8314 <define name="table-database-range-attlist" combine="interleave">
8205         <optional>   8315         <optional>
8206                 <attribute name="table:is-selection" a:defaultValue="false">   8316                 <attribute name="table:is-selection" a:defaultValue="false">
8207                         <ref name="boolean"/>   8317                         <ref name="boolean"/>
8208                 </attribute>   8318                 </attribute>
8209         </optional>   8319         </optional>
8210 </define>   8320 </define>
8211 On Update Keep Styles   8321 On Update Keep Styles
8212 The table:on-update-keep-styles attribute specifies the behavior if the database range is updated. If the attribute value is “true”, the cell styles that are assigned to the cells in the first non-label row of the database range are used for all rows with in the database range. If the attribute value is “false”, all cells in the database range get the default cell style of the document assigned.   8322 The table:on-update-keep-styles attribute specifies the behavior if the database range is updated. If the attribute value is “true”, the cell styles that are assigned to the cells in the first non-label row of the database range are used for all rows with in the database range. If the attribute value is “false”, all cells in the database range get the default cell style of the document assigned.
8213 <define name="table-database-range-attlist" combine="interleave">   8323 <define name="table-database-range-attlist" combine="interleave">
8214         <optional>   8324         <optional>
8215                 <attribute name="table:on-update-keep-styles" a:defaultValue="false">   8325                 <attribute name="table:on-update-keep-styles" a:defaultValue="false">
8216                         <ref name="boolean"/>   8326                         <ref name="boolean"/>
8217                 </attribute>   8327                 </attribute>
8218         </optional>   8328         </optional>
8219 </define>   8329 </define>
8220 On Update Keep Size   8330 On Update Keep Size
8221 The table:on-update-keep-size attribute specifies the behavior of the database range if the size of the data in the data source changes. If the attribute value is true, the range retains its size. If the attribute value is false, the range does not retain its size.   8331 The table:on-update-keep-size attribute specifies the behavior of the database range if the size of the data in the data source changes. If the attribute value is true, the range retains its size. If the attribute value is false, the range does not retain its size.
8222 <define name="table-database-range-attlist" combine="interleave">   8332 <define name="table-database-range-attlist" combine="interleave">
8223         <optional>   8333         <optional>
8224                 <attribute name="table:on-update-keep-size" a:defaultValue="true">   8334                 <attribute name="table:on-update-keep-size" a:defaultValue="true">
8225                         <ref name="boolean"/>   8335                         <ref name="boolean"/>
8226                 </attribute>   8336                 </attribute>
8227         </optional>   8337         </optional>
8228 </define>   8338 </define>
8229 Has Persistent Data   8339 Has Persistent Data
8230 The table:has-persistent-data attribute specifies whether the current data in a database range is saved when the document itself is saved.   8340 The table:has-persistent-data attribute specifies whether the current data in a database range is saved when the document itself is saved.
8231 <define name="table-database-range-attlist" combine="interleave">   8341 <define name="table-database-range-attlist" combine="interleave">
8232         <optional>   8342         <optional>
8233                 <attribute name="table:has-persistent-data" a:defaultValue="true">   8343                 <attribute name="table:has-persistent-data" a:defaultValue="true">
8234                         <ref name="boolean"/>   8344                         <ref name="boolean"/>
8235                 </attribute>   8345                 </attribute>
8236         </optional>   8346         </optional>
8237 </define>   8347 </define>
8238 Orientation   8348 Orientation
8239 The table:orientation attribute specifies the orientation of the database range. The values of this attribute are row and column. The orientation is for instance used when sorting database ranges (see 8.6.5). If the orientation is row, the sorting takes places for rows, otherwise for columns.   8349 The table:orientation attribute specifies the orientation of the database range. The values of this attribute are row and column. The orientation is for instance used when sorting database ranges (see 8.6.5). If the orientation is row, the sorting takes places for rows, otherwise for columns.
8240 <define name="table-database-range-attlist" combine="interleave">   8350 <define name="table-database-range-attlist" combine="interleave">
8241         <optional>   8351         <optional>
8242                 <attribute name="table:orientation" a:defaultValue="row">   8352                 <attribute name="table:orientation" a:defaultValue="row">
8243                         <choice>   8353                         <choice>
8244                                 <value>column</value>   8354                                 <value>column</value>
8245                                 <value>row</value>   8355                                 <value>row</value>
8246                         </choice>   8356                         </choice>
8247                 </attribute>   8357                 </attribute>
8248         </optional>   8358         </optional>
8249 </define>   8359 </define>
8250 Contains Header   8360 Contains Header
8251 The table:contains-header attribute specifies whether or not the the content of the database range's first row or column should be used to specify labels. If the attribute's value is true, the content of the first cell within a row or column can be used to reference the whole row or column within many spreadsheet operations, for instance from within data pilots.   8361 The table:contains-header attribute specifies whether or not the the content of the database range's first row or column should be used to specify labels. If the attribute's value is true, the content of the first cell within a row or column can be used to reference the whole row or column within many spreadsheet operations, for instance from within data pilots.
8252 <define name="table-database-range-attlist" combine="interleave">   8362 <define name="table-database-range-attlist" combine="interleave">
8253         <optional>   8363         <optional>
8254                 <attribute name="table:contains-header" a:defaultValue="true">   8364                 <attribute name="table:contains-header" a:defaultValue="true">
8255                         <ref name="boolean"/>   8365                         <ref name="boolean"/>
8256                 </attribute>   8366                 </attribute>
8257         </optional>   8367         </optional>
8258 </define>   8368 </define>
8259 Display Filter Buttons   8369 Display Filter Buttons
8260 The table:display-filter-buttons buttons attribute specifies whether or not to display filter buttons. Filter buttons are list box controls displayed in the label cells whose list entries are the values that exist in the labeled row or column. Selecting one of these entries equals applying a filter to the database range that selects all row or columns where the cells in the labeled row or column have the selected value.   8370 The table:display-filter-buttons buttons attribute specifies whether or not to display filter buttons. Filter buttons are list box controls displayed in the label cells whose list entries are the values that exist in the labeled row or column. Selecting one of these entries equals applying a filter to the database range that selects all row or columns where the cells in the labeled row or column have the selected value.
8261 <define name="table-database-range-attlist" combine="interleave">   8371 <define name="table-database-range-attlist" combine="interleave">
8262         <optional>   8372         <optional>
8263                 <attribute name="table:display-filter-buttons"   8373                 <attribute name="table:display-filter-buttons"
8264                                    a:defaultValue="false">   8374                                    a:defaultValue="false">
8265                         <ref name="boolean"/>   8375                         <ref name="boolean"/>
8266                 </attribute>   8376                 </attribute>
8267         </optional>   8377         </optional>
8268 </define>   8378 </define>
8269 Target Range Address   8379 Target Range Address
8270 The table:target-range-address attribute specifies the cell range address of the database range. A differentiation between absolute and relative addresses is not possible. Therefore, a table name must be specified in the address and dollar signs are ignored.   8380 The table:target-range-address attribute specifies the cell range address of the database range. A differentiation between absolute and relative addresses is not possible. Therefore, a table name must be specified in the address and dollar signs are ignored.
8271 <define name="table-database-range-attlist" combine="interleave">   8381 <define name="table-database-range-attlist" combine="interleave">
8272         <attribute name="table:target-range-address">   8382         <attribute name="table:target-range-address">
8273                 <ref name="cellRangeAddress"/>   8383                 <ref name="cellRangeAddress"/>
8274         </attribute>   8384         </attribute>
8275 </define>   8385 </define>
8276 Refresh Delay   8386 Refresh Delay
8277 The table:refresh-delay attribute specifies a time delay between automatic refresh actions.   8387 The table:refresh-delay attribute specifies a time delay between automatic refresh actions.
8278 <define name="table-database-range-attlist" combine="interleave">   8388 <define name="table-database-range-attlist" combine="interleave">
8279         <optional>   8389         <optional>
8280                 <attribute name="table:refresh-delay">   8390                 <attribute name="table:refresh-delay">
8281                         <ref name="boolean"/>   8391                         <ref name="boolean"/>
8282                 </attribute>   8392                 </attribute>
8283         </optional>   8393         </optional>
8284 </define>   8394 </define>
8285 8.6.2Database Source SQL   8395 8.6.2Database Source SQL
8286 The <table:database-source-sql> element describes an SQL database that contains the source data of the database range.   8396 The <table:database-source-sql> element describes an SQL database that contains the source data of the database range.
8287 <define name="table-database-source-sql">   8397 <define name="table-database-source-sql">
8288         <element name="table:database-source-sql">   8398         <element name="table:database-source-sql">
8289                 <ref name="table-database-source-sql-attlist"/>   8399                 <ref name="table-database-source-sql-attlist"/>
8290                 <empty/>   8400                 <empty/>
8291         </element>   8401         </element>
8292 </define>   8402 </define>
8293 Database Name   8403 Database Name
8294 A table:database-name attribute specifies the name of the SQL database where the data is imported from.   8404 A table:database-name attribute specifies the name of the SQL database where the data is imported from.
8295 <define name="table-database-source-sql-attlist" combine="interleave">   8405 <define name="table-database-source-sql-attlist" combine="interleave">
8296         <attribute name="table:database-name">   8406         <attribute name="table:database-name">
8297                 <ref name="string"/>   8407                 <ref name="string"/>
8298         </attribute>   8408         </attribute>
8299 </define>   8409 </define>
8300 SQL Statement   8410 SQL Statement
8301 An table:sql-statement attribute specifies the SQL statement to use when importing data from an SQL database.   8411 An table:sql-statement attribute specifies the SQL statement to use when importing data from an SQL database.
8302 <define name="table-database-source-sql-attlist" combine="interleave">   8412 <define name="table-database-source-sql-attlist" combine="interleave">
8303         <attribute name="table:sql-statement">   8413         <attribute name="table:sql-statement">
8304                 <ref name="string"/>   8414                 <ref name="string"/>
8305         </attribute>   8415         </attribute>
8306 </define>   8416 </define>
8307 Parse SQL Statement   8417 Parse SQL Statement
8308 A table:parse-sql-statement attribute specifies whether or not the application will parse SQL statements.   8418 A table:parse-sql-statement attribute specifies whether or not the application will parse SQL statements.
8309 <define name="table-database-source-sql-attlist" combine="interleave">   8419 <define name="table-database-source-sql-attlist" combine="interleave">
8310         <optional>   8420         <optional>
8311                 <attribute name="table:parse-sql-statement" a:defaultValue="false">   8421                 <attribute name="table:parse-sql-statement" a:defaultValue="false">
8312                         <ref name="boolean"/>   8422                         <ref name="boolean"/>
8313                 </attribute>   8423                 </attribute>
8314         </optional>   8424         </optional>
8315 </define>   8425 </define>
8316 8.6.3Database Source Table   8426 8.6.3Database Source Table
8317 The database source table element <table:database-source-table> specifies that the source data of the database range is stored in a database table.   8427 The database source table element <table:database-source-table> specifies that the source data of the database range is stored in a database table.
8318 <define name="table-database-source-query">   8428 <define name="table-database-source-query">
8319         <element name="table:database-source-table">   8429         <element name="table:database-source-table">
8320                 <ref name="table-database-source-table-attlist"/>   8430                 <ref name="table-database-source-table-attlist"/>
8321                 <empty/>   8431                 <empty/>
8322         </element>   8432         </element>
8323 </define>   8433 </define>
8324 Database Name   8434 Database Name
8325 The table:database-name name attribute specifies the name of the database where the data is imported from.   8435 The table:database-name name attribute specifies the name of the database where the data is imported from.
8326 <define name="table-database-source-table-attlist" combine="interleave">   8436 <define name="table-database-source-table-attlist" combine="interleave">
8327         <attribute name="table:database-name">   8437         <attribute name="table:database-name">
8328                 <ref name="string"/>   8438                 <ref name="string"/>
8329         </attribute>   8439         </attribute>
8330 </define>   8440 </define>
8331 Table Name   8441 Table Name
8332 A table:database-table-name attribute specifies the database table that data is imported from.   8442 A table:database-table-name attribute specifies the database table that data is imported from.
8333 <define name="table-database-source-table-attlist" combine="interleave">   8443 <define name="table-database-source-table-attlist" combine="interleave">
8334         <attribute name="table:database-table-name">   8444         <attribute name="table:database-table-name">
8335                 <ref name="string"/>   8445                 <ref name="string"/>
8336         </attribute>   8446         </attribute>
8337 </define>   8447 </define>
8338 8.6.4Database Source Query   8448 8.6.4Database Source Query
8339 The database source query element <table:database-source-query> specifies that the source data of the database range is is the result of a database query.   8449 The database source query element <table:database-source-query> specifies that the source data of the database range is is the result of a database query.
8340 <define name="table-database-source-table">   8450 <define name="table-database-source-table">
8341         <element name="table:database-source-query">   8451         <element name="table:database-source-query">
8342                 <ref name="table-database-source-query-attlist"/>   8452                 <ref name="table-database-source-query-attlist"/>
8343                 <empty/>   8453                 <empty/>
8344         </element>   8454         </element>
8345 </define>   8455 </define>
8346 Database Name   8456 Database Name
8347 A table:database-name attribute specifies the name of the database that data is imported from.   8457 A table:database-name attribute specifies the name of the database that data is imported from.
8348 <define name="table-database-source-query-attlist" combine="interleave">   8458 <define name="table-database-source-query-attlist" combine="interleave">
8349         <attribute name="table:database-name">   8459         <attribute name="table:database-name">
8350                 <ref name="string"/>   8460                 <ref name="string"/>
8351         </attribute>   8461         </attribute>
8352 </define>   8462 </define>
8353 Query Name   8463 Query Name
8354 A table:query-name attribute specifies the query to perform on the database whose data is being imported.   8464 A table:query-name attribute specifies the query to perform on the database whose data is being imported.
8355 <define name="table-database-source-query-attlist" combine="interleave">   8465 <define name="table-database-source-query-attlist" combine="interleave">
8356         <attribute name="table:query-name">   8466         <attribute name="table:query-name">
8357                 <ref name="string"/>   8467                 <ref name="string"/>
8358         </attribute>   8468         </attribute>
8359 </define>   8469 </define>
8360 8.6.5Sort   8470 8.6.5Sort
8361 The sort element <table:sort> describes the sort keys that should be applied to a database range.   8471 The sort element <table:sort> describes the sort keys that should be applied to a database range.
8362 <define name="table-sort">   8472 <define name="table-sort">
8363         <element name="table:sort">   8473         <element name="table:sort">
8364                 <ref name="table-sort-attlist"/>   8474                 <ref name="table-sort-attlist"/>
8365                 <oneOrMore>   8475                 <oneOrMore>
8366                         <ref name="table-sort-by"/>   8476                         <ref name="table-sort-by"/>
8367                 </oneOrMore>   8477                 </oneOrMore>
8368         </element>   8478         </element>
8369 </define>   8479 </define>
8370 Bind Styles to Content   8480 Bind Styles to Content
8371 The table:bind-styles-to-content attribute specifies whether or not cells retain their style attributes after a sort operation.   8481 The table:bind-styles-to-content attribute specifies whether or not cells retain their style attributes after a sort operation.
8372 <define name="table-sort-attlist" combine="interleave">   8482 <define name="table-sort-attlist" combine="interleave">
8373         <optional>   8483         <optional>
8374                 <attribute name="table:bind-styles-to-content" a:defaultValue="true">   8484                 <attribute name="table:bind-styles-to-content" a:defaultValue="true">
8375                         <ref name="boolean"/>   8485                         <ref name="boolean"/>
8376                 </attribute>   8486                 </attribute>
8377         </optional>   8487         </optional>
8378 </define>   8488 </define>
8379 Target Range Address   8489 Target Range Address
8380 If the optional table:target-range-address attribute is present, the result of the sort is copied into the specified cell range rather than in the source cell range specified by the database range. A differentiation between absolute and relative addresses is not possible. Therefore, a table name has to exist in the address and dollar signs are ignored.   8490 If the optional table:target-range-address attribute is present, the result of the sort is copied into the specified cell range rather than in the source cell range specified by the database range. A differentiation between absolute and relative addresses is not possible. Therefore, a table name has to exist in the address and dollar signs are ignored.
8381 <define name="table-sort-attlist" combine="interleave">   8491 <define name="table-sort-attlist" combine="interleave">
8382         <optional>   8492         <optional>
8383                 <attribute name="table:target-range-address">   8493                 <attribute name="table:target-range-address">
8384                         <ref name="cellRangeAddress"/>   8494                         <ref name="cellRangeAddress"/>
8385                 </attribute>   8495                 </attribute>
8386         </optional>   8496         </optional>
8387 </define>   8497 </define>
8388 Case Sensitive   8498 Case Sensitive
8389 The table:case-sensitive attribute specifies whether or not the sort operation is case sensitive.   8499 The table:case-sensitive attribute specifies whether or not the sort operation is case sensitive.
8390 <define name="table-sort-attlist" combine="interleave">   8500 <define name="table-sort-attlist" combine="interleave">
8391         <optional>   8501         <optional>
8392                 <attribute name="table:case-sensitive" a:defaultValue="false">   8502                 <attribute name="table:case-sensitive" a:defaultValue="false">
8393                         <ref name="boolean"/>   8503                         <ref name="boolean"/>
8394                 </attribute>   8504                 </attribute>
8395         </optional>   8505         </optional>
8396 </define>   8506 </define>
8397 Language   8507 Language
8398 The table:language attribute specifies the natural language in which the comparison will occur.   8508 The table:language attribute specifies the natural language in which the comparison will occur.
8399 <define name="table-sort-attlist" combine="interleave">   8509 <define name="table-sort-attlist" combine="interleave">
8400         <optional>   8510         <optional>
8401                 <attribute name="table:language">   8511                 <attribute name="table:language">
8402                         <ref name="languageCode"/>   8512                         <ref name="languageCode"/>
8403                 </attribute>   8513                 </attribute>
8404         </optional>   8514         </optional>
8405 </define>   8515 </define>
8406 Country   8516 Country
8407 The table:country attribute specifies the country specific rules to be used in string comparisons for a particular natural language.   8517 The table:country attribute specifies the country specific rules to be used in string comparisons for a particular natural language.
8408     8518  
8409 <define name="table-sort-attlist" combine="interleave">   8519 <define name="table-sort-attlist" combine="interleave">
8410         <optional>   8520         <optional>
8411                 <attribute name="table:country">   8521                 <attribute name="table:country">
8412                         <ref name="countryCode"/>   8522                         <ref name="countryCode"/>
8413                 </attribute>   8523                 </attribute>
8414         </optional>   8524         </optional>
8415 </define>   8525 </define>
8416 Algorithm   8526 Algorithm
8417 The table:algorithm attribute specifies the algorithm used to compare sort keys. The attribute's value is a an application but also language and country specific sort algorithm name like “phonetic (alphanumeric first)”. To avoid name clashed between different applications, the name should start with a namespace prefix   8527 The table:algorithm attribute specifies the algorithm used to compare sort keys. The attribute's value is a an application but also language and country specific sort algorithm name like “phonetic (alphanumeric first)”. To avoid name clashed between different applications, the name should start with a namespace prefix
8418 <define name="table-sort-attlist" combine="interleave">   8528 <define name="table-sort-attlist" combine="interleave">
8419         <optional>   8529         <optional>
8420                 <attribute name="table:algorithm">   8530                 <attribute name="table:algorithm">
8421                         <ref name="string"/>   8531                         <ref name="string"/>
8422                 </attribute>   8532                 </attribute>
8423         </optional>   8533         </optional>
8424 </define>   8534 </define>
8425 8.6.6Sort By   8535 8.6.6Sort By
8426 The sort by element <table:sort-by> specifies a key or field to sort, the data type of this field, and how to sort it.   8536 The sort by element <table:sort-by> specifies a key or field to sort, the data type of this field, and how to sort it.
8427 <define name="table-sort-by">   8537 <define name="table-sort-by">
8428         <element name="table:sort-by">   8538         <element name="table:sort-by">
8429                 <ref name="table-sort-by-attlist"/>   8539                 <ref name="table-sort-by-attlist"/>
8430                 <empty/>   8540                 <empty/>
8431         </element>   8541         </element>
8432 </define>   8542 </define>
8433 Field Number   8543 Field Number
8434 The table:field-number number attribute specifies the row or column number to sort by. It is the number of a row or column within the database range.   8544 The table:field-number number attribute specifies the row or column number to sort by. It is the number of a row or column within the database range.
8435 <define name="table-sort-by-attlist" combine="interleave">   8545 <define name="table-sort-by-attlist" combine="interleave">
8436         <attribute name="table:field-number">   8546         <attribute name="table:field-number">
8437                 <ref name="nonNegativeInteger"/>   8547                 <ref name="nonNegativeInteger"/>
8438         </attribute>   8548         </attribute>
8439 </define>   8549 </define>
8440 Data Type   8550 Data Type
8441 The table:data-type attribute specifies the data type of the field to be sorted. Its value can be text, number, automatic or the name of user defined sort order. If the attribute value is automatic, the application must determine what type of data is in the field. User defined sort orders are for instance lists of names of months. Specifying user defined sort orders is application specific.   8551 The table:data-type attribute specifies the data type of the field to be sorted. Its value can be text, number, automatic or the name of user defined sort order. If the attribute value is automatic, the application must determine what type of data is in the field. User defined sort orders are for instance lists of names of months. Specifying user defined sort orders is application specific.
8442 <define name="table-sort-by-attlist" combine="interleave">   8552 <define name="table-sort-by-attlist" combine="interleave">
8443         <optional>   8553         <optional>
8444                 <attribute name="table:data-type" a:defaultValue="automatic">   8554                 <attribute name="table:data-type" a:defaultValue="automatic">
8445                         <choice>   8555                         <choice>
8446                                 <value>text</value>   8556                                 <value>text</value>
8447                                 <value>number</value>   8557                                 <value>number</value>
8448                                 <value>automatic</value>   8558                                 <value>automatic</value>
8449                                 <ref name="string"/>   8559                                 <ref name="string"/>
8450                         </choice>   8560                         </choice>
8451                 </attribute>   8561                 </attribute>
8452         </optional>   8562         </optional>
8453 </define>   8563 </define>
8454 Order   8564 Order
8455 The table:order attribute specifies whether to sort the data in ascending or descending order.   8565 The table:order attribute specifies whether to sort the data in ascending or descending order.
8456 <define name="table-sort-by-attlist" combine="interleave">   8566 <define name="table-sort-by-attlist" combine="interleave">
8457         <optional>   8567         <optional>
8458                 <attribute name="table:order" a:defaultValue="ascending">   8568                 <attribute name="table:order" a:defaultValue="ascending">
8459                         <choice>   8569                         <choice>
8460                                 <value>ascending</value>   8570                                 <value>ascending</value>
8461                                 <value>descending</value>   8571                                 <value>descending</value>
8462                         </choice>   8572                         </choice>
8463                 </attribute>   8573                 </attribute>
8464         </optional>   8574         </optional>
8465 </define>   8575 </define>
8466 8.6.7Subtotal Rules   8576 8.6.7Subtotal Rules
8467 The subtotal rules element <table:subtotal-rules> specifies that provisional results (called subtotals) should be calculated for a database range. It contains information about the row or column provisional results should be calculated for, and also how these results are calculated. To calculate provisional results, the cell values of a row or column a grouped by their value, that is, all cells with the same content in the same field form a group. A provisional result is calculated and displayed at the end of each group.   8577 The subtotal rules element <table:subtotal-rules> specifies that provisional results (called subtotals) should be calculated for a database range. It contains information about the row or column provisional results should be calculated for, and also how these results are calculated. To calculate provisional results, the cell values of a row or column a grouped by their value, that is, all cells with the same content in the same field form a group. A provisional result is calculated and displayed at the end of each group.
8468 <define name="table-subtotal-rules">   8578 <define name="table-subtotal-rules">
8469         <element name="table:subtotal-rules">   8579         <element name="table:subtotal-rules">
8470                 <ref name="table-subtotal-rules-attlist"/>   8580                 <ref name="table-subtotal-rules-attlist"/>
8471                 <optional>   8581                 <optional>
8472                         <ref name="table-sort-groups"/>   8582                         <ref name="table-sort-groups"/>
8473                 </optional>   8583                 </optional>
8474                 <zeroOrMore>   8584                 <zeroOrMore>
8475                         <ref name="table-subtotal-rule"/>   8585                         <ref name="table-subtotal-rule"/>
8476                 </zeroOrMore>   8586                 </zeroOrMore>
8477         </element>   8587         </element>
8478 </define>   8588 </define>
8479 Bind Styles To Content   8589 Bind Styles To Content
8480 The table:bind-styles-to-content attribute specifies whether or not cells retain their style after a subtotal calculation. This attribute is only evaluated if the table:sort-groups element is present.   8590 The table:bind-styles-to-content attribute specifies whether or not cells retain their style after a subtotal calculation. This attribute is only evaluated if the table:sort-groups element is present.
8481 <define name="table-subtotal-rules-attlist" combine="interleave">   8591 <define name="table-subtotal-rules-attlist" combine="interleave">
8482         <optional>   8592         <optional>
8483                 <attribute name="table:bind-styles-to-content" a:defaultValue="true">   8593                 <attribute name="table:bind-styles-to-content" a:defaultValue="true">
8484                         <ref name="boolean"/>   8594                         <ref name="boolean"/>
8485                 </attribute>   8595                 </attribute>
8486         </optional>   8596         </optional>
8487 </define>   8597 </define>
8488 Case Sensitive   8598 Case Sensitive
8489 The table:case-sensitive attribute specifies whether or not the case of characters is important when comparing entries, for example, when sorting groups.   8599 The table:case-sensitive attribute specifies whether or not the case of characters is important when comparing entries, for example, when sorting groups.
8490 <define name="table-subtotal-rules-attlist" combine="interleave">   8600 <define name="table-subtotal-rules-attlist" combine="interleave">
8491         <optional>   8601         <optional>
8492                 <attribute name="table:case-sensitive" a:defaultValue="false">   8602                 <attribute name="table:case-sensitive" a:defaultValue="false">
8493                         <ref name="boolean"/>   8603                         <ref name="boolean"/>
8494                 </attribute>   8604                 </attribute>
8495         </optional>   8605         </optional>
8496 </define>   8606 </define>
8497 Page Breaks On Group Change   8607 Page Breaks On Group Change
8498 The table:page-breaks-on-group-change on group change attribute specifies whether or not to insert a page break after the subtotal for each group.   8608 The table:page-breaks-on-group-change on group change attribute specifies whether or not to insert a page break after the subtotal for each group.
8499 <define name="table-subtotal-rules-attlist" combine="interleave">   8609 <define name="table-subtotal-rules-attlist" combine="interleave">
8500         <optional>   8610         <optional>
8501                 <attribute name="table:page-breaks-on-group-change"   8611                 <attribute name="table:page-breaks-on-group-change"
8502                                    a:defaultValue="false">   8612                                    a:defaultValue="false">
8503                         <ref name="boolean"/>   8613                         <ref name="boolean"/>
8504                 </attribute>   8614                 </attribute>
8505         </optional>   8615         </optional>
8506 </define>   8616 </define>
8507 8.6.8Subtotal Sort Groups   8617 8.6.8Subtotal Sort Groups
8508 The optional sort groups element <table:sort-groups> specifies that columns or rows are sorted before grouping them, and how to sort them. It belongs to the subtotal rules element, see section 8.6.7.   8618 The optional sort groups element <table:sort-groups> specifies that columns or rows are sorted before grouping them, and how to sort them. It belongs to the subtotal rules element, see section 8.6.7.
8509 <define name="table-sort-groups">   8619 <define name="table-sort-groups">
8510         <element name="table:sort-groups">   8620         <element name="table:sort-groups">
8511                 <ref name="table-sort-groups-attlist"/>   8621                 <ref name="table-sort-groups-attlist"/>
8512                 <empty/>   8622                 <empty/>
8513         </element>   8623         </element>
8514 </define>   8624 </define>
8515 Data Type   8625 Data Type
8516 The table:data-type attribute specifies the data type of the column or row group to sort. See section 8.6.6 for details.   8626 The table:data-type attribute specifies the data type of the column or row group to sort. See section 8.6.6 for details.
8517 <define name="table-sort-groups-attlist" combine="interleave">   8627 <define name="table-sort-groups-attlist" combine="interleave">
8518         <optional>   8628         <optional>
8519                 <attribute name="table:data-type" a:defaultValue="automatic">   8629                 <attribute name="table:data-type" a:defaultValue="automatic">
8520                         <choice>   8630                         <choice>
8521                                 <value>text</value>   8631                                 <value>text</value>
8522                                 <value>number</value>   8632                                 <value>number</value>
8523                                 <value>automatic</value>   8633                                 <value>automatic</value>
8524                                 <ref name="string"/>   8634                                 <ref name="string"/>
8525                         </choice>   8635                         </choice>
8526                 </attribute>   8636                 </attribute>
8527         </optional>   8637         </optional>
8528 </define>   8638 </define>
8529 Order   8639 Order
8530 The table:order attribute specifies whether to sort the group data in ascending or descending order. See section 8.6.6 for details.   8640 The table:order attribute specifies whether to sort the group data in ascending or descending order. See section 8.6.6 for details.
8531 <define name="table-sort-groups-attlist" combine="interleave">   8641 <define name="table-sort-groups-attlist" combine="interleave">
8532         <optional>   8642         <optional>
8533                 <attribute name="table:order" a:defaultValue="ascending">   8643                 <attribute name="table:order" a:defaultValue="ascending">
8534                         <choice>   8644                         <choice>
8535                                 <value>ascending</value>   8645                                 <value>ascending</value>
8536                                 <value>descending</value>   8646                                 <value>descending</value>
8537                         </choice>   8647                         </choice>
8538                 </attribute>   8648                 </attribute>
8539         </optional>   8649         </optional>
8540 </define>   8650 </define>
8541 8.6.9Subtotal Rule   8651 8.6.9Subtotal Rule
8542 The subtotal rule element <table:subtotal-rule> describes how to calculate the subtotals for a certain row or column. The rule contains the group field number, which specifies the column group for which the rule is used, and one or more subtotal fields, which specify a row a column where subtotals should be calculated as well as the function to use for the calculation.   8652 The subtotal rule element <table:subtotal-rule> describes how to calculate the subtotals for a certain row or column. The rule contains the group field number, which specifies the column group for which the rule is used, and one or more subtotal fields, which specify a row a column where subtotals should be calculated as well as the function to use for the calculation.
8543 <define name="table-subtotal-rule">   8653 <define name="table-subtotal-rule">
8544         <element name="table:subtotal-rule">   8654         <element name="table:subtotal-rule">
8545                 <ref name="table-subtotal-rule-attlist"/>   8655                 <ref name="table-subtotal-rule-attlist"/>
8546                 <zeroOrMore>   8656                 <zeroOrMore>
8547                         <ref name="table-subtotal-field"/>   8657                         <ref name="table-subtotal-field"/>
8548                 </zeroOrMore>   8658                 </zeroOrMore>
8549         </element>   8659         </element>
8550 </define>   8660 </define>
8551 Group By Field Number   8661 Group By Field Number
8552 The table:group-by-field-number attribute specifies the field, for example, a column, that is to be grouped. It is the number of a row or column within the database range.   8662 The table:group-by-field-number attribute specifies the field, for example, a column, that is to be grouped. It is the number of a row or column within the database range.
8553 <define name="table-subtotal-rule-attlist" combine="interleave">   8663 <define name="table-subtotal-rule-attlist" combine="interleave">
8554         <attribute name="table:group-by-field-number">   8664         <attribute name="table:group-by-field-number">
8555                 <ref name="nonNegativeInteger"/>   8665                 <ref name="nonNegativeInteger"/>
8556         </attribute>   8666         </attribute>
8557 </define>   8667 </define>
8558 8.6.10Subtotal Field   8668 8.6.10Subtotal Field
8559 The subtotal field element <table:subtotal-field> contains the field number and the function that is used to calculate a provisional result.   8669 The subtotal field element <table:subtotal-field> contains the field number and the function that is used to calculate a provisional result.
8560 <define name="table-subtotal-field">   8670 <define name="table-subtotal-field">
8561         <element name="table:subtotal-field">   8671         <element name="table:subtotal-field">
8562                 <ref name="table-subtotal-field-attlist"/>   8672                 <ref name="table-subtotal-field-attlist"/>
8563                 <empty/>   8673                 <empty/>
8564         </element>   8674         </element>
8565 </define>   8675 </define>
8566 Field Number   8676 Field Number
8567 The table:field-number attribute specifies the row or column a subtotal should be calculated for. It is the number of a row or column within the database range.   8677 The table:field-number attribute specifies the row or column a subtotal should be calculated for. It is the number of a row or column within the database range.
8568 <define name="table-subtotal-field-attlist" combine="interleave">   8678 <define name="table-subtotal-field-attlist" combine="interleave">
8569         <attribute name="table:field-number">   8679         <attribute name="table:field-number">
8570                 <ref name="nonNegativeInteger"/>   8680                 <ref name="nonNegativeInteger"/>
8571         </attribute>   8681         </attribute>
8572 </define>   8682 </define>
8573 Function   8683 Function
8574 The table:function attribute specifies what kind of subtotals to calculate. The following are possible values for this attribute: auto, average, count, countnums, max, min, product, stdev, stdevp, sum, var and varp.   8684 The table:function attribute specifies what kind of subtotals to calculate. The following are possible values for this attribute: auto, average, count, countnums, max, min, product, stdev, stdevp, sum, var and varp.
8575 <define name="table-subtotal-field-attlist" combine="interleave">   8685 <define name="table-subtotal-field-attlist" combine="interleave">
8576         <attribute name="table:function">   8686         <attribute name="table:function">
8577                 <choice>   8687                 <choice>
8578                         <value>auto</value>   8688                         <value>auto</value>
8579                         <value>average</value>   8689                         <value>average</value>
8580                         <value>count</value>   8690                         <value>count</value>
8581                         <value>countnums</value>   8691                         <value>countnums</value>
8582                         <value>max</value>   8692                         <value>max</value>
8583                         <value>min</value>   8693                         <value>min</value>
8584                         <value>product</value>   8694                         <value>product</value>
8585                         <value>stdev</value>   8695                         <value>stdev</value>
8586                         <value>stdevp</value>   8696                         <value>stdevp</value>
8587                         <value>sum</value>   8697                         <value>sum</value>
8588                         <value>var</value>   8698                         <value>var</value>
8589                         <value>varp</value>   8699                         <value>varp</value>
8590                         <ref name="string"/>   8700                         <ref name="string"/>
8591                 </choice>   8701                 </choice>
8592         </attribute>   8702         </attribute>
8593 </define>   8703 </define>
8594 Example: Subtotal field   8704 Example: Subtotal field
8595 <table:database-range table:range-position="sampletable.A1:sampletable.G20" table:name="sample">   8705 <table:database-range table:range-position="sampletable.A1:sampletable.G20" table:name="sample">
8596         <table:database-source-table table:database-name="sampleDB" table:table-name="sampleTable"/>   8706         <table:database-source-table table:database-name="sampleDB" table:table-name="sampleTable"/>
8597         <table:filter ...>   8707         <table:filter ...>
8598                 ...   8708                 ...
8599         </table:filter>   8709         </table:filter>
8600         <table:sort>   8710         <table:sort>
8601                 <table:sort-by table:field-number=1/>   8711                 <table:sort-by table:field-number=1/>
8602         </table:sort>   8712         </table:sort>
8603         <table:subtotal-rules>   8713         <table:subtotal-rules>
8604                 <table:sort-groups/>   8714                 <table:sort-groups/>
8605                 <table:subtotal-rule table:column-group "3">   8715                 <table:subtotal-rule table:column-group "3">
8606                         <table:subtotal-field table:field-number="1"   8716                         <table:subtotal-field table:field-number="1"
8607                                                                          table:function="sum"/>   8717                                                                          table:function="sum"/>
8608                 </table:subtotal-rule>   8718                 </table:subtotal-rule>
8609         </table:subtotal-rules>   8719         </table:subtotal-rules>
8610 </table:database-range>   8720 </table:database-range>
8611 8.7Filters   8721 8.7Filters
8612 Filters specify that only rows that match certain conditions should be visible   8722 Filters specify that only rows that match certain conditions should be visible
8613 8.7.1Table Filter   8723 8.7.1Table Filter
8614 The table filter element <table:filter> describes how the data contained in a database range or data pilot tables is filtered. The condition specified in the element are applied to all rows specified in the database range or the data pilot table. Rows where the condition does not evaluate to true are made invisible.   8724 The table filter element <table:filter> describes how the data contained in a database range or data pilot tables is filtered. The condition specified in the element are applied to all rows specified in the database range or the data pilot table. Rows where the condition does not evaluate to true are made invisible.
8615 <define name="table-filter">   8725 <define name="table-filter">
8616         <element name="table:filter">   8726         <element name="table:filter">
8617                 <ref name="table-filter-attlist"/>   8727                 <ref name="table-filter-attlist"/>
8618                 <choice>   8728                 <choice>
8619                         <ref name="table-filter-condition"/>   8729                         <ref name="table-filter-condition"/>
8620                         <ref name="table-filter-and"/>   8730                         <ref name="table-filter-and"/>
8621                         <ref name="table-filter-or"/>   8731                         <ref name="table-filter-or"/>
8622                 </choice>   8732                 </choice>
8623         </element>   8733         </element>
8624 </define>   8734 </define>
8625 Target Range Address   8735 Target Range Address
8626 If the optional table:target-range-address attribute is present, the result of the filter is copied into the specified cell range but all table rows remain visible. If the attribute is not present, the rows that do not match the filter conditions are not displayed. A differentiation between absolute and relative addresses is not possible. Therefore, a table name has to exist in the address and dollar signs are ignored.   8736 If the optional table:target-range-address attribute is present, the result of the filter is copied into the specified cell range but all table rows remain visible. If the attribute is not present, the rows that do not match the filter conditions are not displayed. A differentiation between absolute and relative addresses is not possible. Therefore, a table name has to exist in the address and dollar signs are ignored.
8627 <define name="table-filter-attlist" combine="interleave">   8737 <define name="table-filter-attlist" combine="interleave">
8628         <optional>   8738         <optional>
8629                 <attribute name="table:target-range-address">   8739                 <attribute name="table:target-range-address">
8630                         <ref name="cellRangeAddress"/>   8740                         <ref name="cellRangeAddress"/>
8631                 </attribute>   8741                 </attribute>
8632         </optional>   8742         </optional>
8633 </define>   8743 </define>
8634 Condition Source   8744 Condition Source
8635 The table:condition-source attribute specifies whether the condition is contained in the filter or encoded in a table range. If the value is self the condition is specified by the <table:filter> element's child elements. If the value is cell-range the condition is encoded into the cell range specified by the table:condition-source-range-address attribute.   8745 The table:condition-source attribute specifies whether the condition is contained in the filter or encoded in a table range. If the value is self the condition is specified by the <table:filter> element's child elements. If the value is cell-range the condition is encoded into the cell range specified by the table:condition-source-range-address attribute.
8636 <define name="table-filter-attlist" combine="interleave">   8746 <define name="table-filter-attlist" combine="interleave">
8637         <optional>   8747         <optional>
8638                 <attribute name="table:condition-source" a:defaultValue="self">   8748                 <attribute name="table:condition-source" a:defaultValue="self">
8639                         <choice>   8749                         <choice>
8640                                 <value>self</value>   8750                                 <value>self</value>
8641                                 <value>cell-range</value>   8751                                 <value>cell-range</value>
8642                         </choice>   8752                         </choice>
8643                 </attribute>   8753                 </attribute>
8644         </optional>   8754         </optional>
8645 </define>   8755 </define>
8646 Condition Source Range Address   8756 Condition Source Range Address
8647 The table:condition-source-range-address attribute specifies a cell range that contains encoded conditions. The first row of the cell range has to contain the labels of the columns whose content should be filtered. The following rows contain conditions that have to evaluate to true for the cells contained in the columns. The conditions in each row are connected by an “and” operation, while the rows are connected by an “or” operation. This means that a row is of the source table is displayed if there is at least one row in the condition range where all conditions evaluate to true if they are applied to the columns specified in the first row of the condition range.   8757 The table:condition-source-range-address attribute specifies a cell range that contains encoded conditions. The first row of the cell range has to contain the labels of the columns whose content should be filtered. The following rows contain conditions that have to evaluate to true for the cells contained in the columns. The conditions in each row are connected by an “and” operation, while the rows are connected by an “or” operation. This means that a row is of the source table is displayed if there is at least one row in the condition range where all conditions evaluate to true if they are applied to the columns specified in the first row of the condition range.
8648 Example: If the condition source range is E1:F3 (shown yellow) and the source range is A1:C3 (shown green), only rows 2 and 3 are displayed.   8758 Example: If the condition source range is E1:F3 (shown yellow) and the source range is A1:C3 (shown green), only rows 2 and 3 are displayed.
8649     8759  
8650 A   8760 A
8651 B   8761 B
8652 C   8762 C
8653 D   8763 D
8654 E   8764 E
8655 F   8765 F
8656 G   8766 G
8657 G   8767 G
8658 I   8768 I
8659 1   8769 1
8660 1   8770 1
8661 3   8771 3
8662 4   8772 4
8663     8773  
8664 A   8774 A
8665 B   8775 B
8666     8776  
8667     8777  
8668     8778  
8669 2   8779 2
8670 1   8780 1
8671 5   8781 5
8672 6   8782 6
8673     8783  
8674 =1   8784 =1
8675 =5   8785 =5
8676     8786  
8677     8787  
8678     8788  
8679 3   8789 3
8680 2   8790 2
8681 8   8791 8
8682 9   8792 9
8683     8793  
8684 >=2   8794 >=2
8685     8795  
8686     8796  
8687     8797  
8688     8798  
8689 Row 2 is displayed because the cell in column A has the value 1 and the cell in column B the value 5, so all conditions of the 2nd row of the condition range evaluate to true. Row 3 is displayed because the cell in column A is larger or equal than 2, and therefor the only condition in the the 3rd row of the condition range evaluates to true.   8799 Row 2 is displayed because the cell in column A has the value 1 and the cell in column B the value 5, so all conditions of the 2nd row of the condition range evaluate to true. Row 3 is displayed because the cell in column A is larger or equal than 2, and therefor the only condition in the the 3rd row of the condition range evaluates to true.
8690 <define name="table-filter-attlist" combine="interleave">   8800 <define name="table-filter-attlist" combine="interleave">
8691         <optional>   8801         <optional>
8692                 <attribute name="table:condition-source-range-address">   8802                 <attribute name="table:condition-source-range-address">
8693                         <ref name="cellRangeAddress"/>   8803                         <ref name="cellRangeAddress"/>
8694                 </attribute>   8804                 </attribute>
8695         </optional>   8805         </optional>
8696 </define>   8806 </define>
8697 Display Duplicates   8807 Display Duplicates
8698 The table:display-duplicates attribute specifies whether or not to display duplicate matches in the result.   8808 The table:display-duplicates attribute specifies whether or not to display duplicate matches in the result.
8699 <define name="table-filter-attlist" combine="interleave">   8809 <define name="table-filter-attlist" combine="interleave">
8700         <optional>   8810         <optional>
8701                 <attribute name="table:display-duplicates" a:defaultValue="true">   8811                 <attribute name="table:display-duplicates" a:defaultValue="true">
8702                         <ref name="boolean"/>   8812                         <ref name="boolean"/>
8703                 </attribute>   8813                 </attribute>
8704         </optional>   8814         </optional>
8705 </define>   8815 </define>
8706 8.7.2Filter And   8816 8.7.2Filter And
8707 The <table:filter-and> element specifies that the logical operator AND is applied to the conditions specified by the element's child elements.   8817 The <table:filter-and> element specifies that the logical operator AND is applied to the conditions specified by the element's child elements.
8708 <define name="table-filter-and">   8818 <define name="table-filter-and">
8709         <element name="table:filter-and">   8819         <element name="table:filter-and">
8710                 <oneOrMore>   8820                 <oneOrMore>
8711                         <choice>   8821                         <choice>
8712                                 <ref name="table-filter-or"/>   8822                                 <ref name="table-filter-or"/>
8713                                 <ref name="table-filter-condition"/>   8823                                 <ref name="table-filter-condition"/>
8714                         </choice>   8824                         </choice>
8715                 </oneOrMore>   8825                 </oneOrMore>
8716         </element>   8826         </element>
8717 </define>   8827 </define>
8718 8.7.3Filter Or   8828 8.7.3Filter Or
8719 The <table:filter-or> element specifies that the logical operator OR is applied to the conditions specified by the element's child elements.   8829 The <table:filter-or> element specifies that the logical operator OR is applied to the conditions specified by the element's child elements.
8720 <define name="table-filter-or">   8830 <define name="table-filter-or">
8721         <element name="table:filter-or">   8831         <element name="table:filter-or">
8722                 <oneOrMore>   8832                 <oneOrMore>
8723                         <choice>   8833                         <choice>
8724                                 <ref name="table-filter-and"/>   8834                                 <ref name="table-filter-and"/>
8725                                 <ref name="table-filter-condition"/>   8835                                 <ref name="table-filter-condition"/>
8726                         </choice>   8836                         </choice>
8727                 </oneOrMore>   8837                 </oneOrMore>
8728         </element>   8838         </element>
8729 </define>   8839 </define>
8730 8.7.4Filter Condition   8840 8.7.4Filter Condition
8731 The table <table:filter-condition> element describes a single condition to apply in a filter operation.   8841 The table <table:filter-condition> element describes a single condition to apply in a filter operation.
8732 <define name="table-filter-condition">   8842 <define name="table-filter-condition">
8733         <element name="table:filter-condition">   8843         <element name="table:filter-condition">
8734                 <ref name="table-filter-condition-attlist"/>   8844                 <ref name="table-filter-condition-attlist"/>
8735                 <empty/>   8845                 <empty/>
8736         </element>   8846         </element>
8737 </define>   8847 </define>
8738 Field Number   8848 Field Number
8739 The field number attribute table:field-number specifies which field to use for the condition. A field number is the number of a row or column in the source range of the filter.   8849 The field number attribute table:field-number specifies which field to use for the condition. A field number is the number of a row or column in the source range of the filter.
8740 <define name="table-filter-condition-attlist" combine="interleave">   8850 <define name="table-filter-condition-attlist" combine="interleave">
8741         <attribute name="table:field-number">     8851         <attribute name="table:field-number">  
8742                 <ref name="nonNegativeInteger"/>   8852                 <ref name="nonNegativeInteger"/>
8743         </attribute>   8853         </attribute>
8744 </define>   8854 </define>
8745 Value   8855 Value
8746 The table:value attribute specifies a value for the filter condition.   8856 The table:value attribute specifies a value for the filter condition.
8747 <define name="table-filter-condition-attlist" combine="interleave">   8857 <define name="table-filter-condition-attlist" combine="interleave">
8748         <attribute name="table:value">    8858         <attribute name="table:value"> 
8749                 <ref name="string"/>   8859                 <ref name="string"/>
8750         </attribute>   8860         </attribute>
8751 </define>   8861 </define>
8752 Operator   8862 Operator
8753 The operator attribute table:operator specifies what operator to use in the filter condition. This means that each cell contained in the columns specified by the field number (i.e., the table:field-number attribute) is compared with the value (i.e., the table:value attribute) using the given operator. The result of this comparison is the result of the filter sub-conditions specified by the <table:filter-condition> element.   8863 The operator attribute table:operator specifies what operator to use in the filter condition. This means that each cell contained in the columns specified by the field number (i.e., the table:field-number attribute) is compared with the value (i.e., the table:value attribute) using the given operator. The result of this comparison is the result of the filter sub-conditions specified by the <table:filter-condition> element.
8754 The operators may or may not make use of regular expressions. The operators that use regular expressions are the following:   8864 The operators may or may not make use of regular expressions. The operators that use regular expressions are the following:
8755 match (matches)   8865 match (matches)
8756 !match (does not match)   8866 !match (does not match)
8757 In both case, the table:value attribute contains the regular expression that the table cells have to match or must not match.   8867 In both case, the table:value attribute contains the regular expression that the table cells have to match or must not match.
8758 The relational operators that do not use regular expressions are:   8868 The relational operators that do not use regular expressions are:
8759 = (Equal to)   8869 = (Equal to)
8760 != (Not equal to)   8870 != (Not equal to)
8761 < (Less than)   8871 < (Less than)
8762 > (Greater than)   8872 > (Greater than)
8763 <= (Less than or equal to)   8873 <= (Less than or equal to)
8764 >= (Greater than or equal to)   8874 >= (Greater than or equal to)
8765 In addition, operators “empty”, “!empty”, “bottom values”, “top values”, “bottom percent”, and “top percent” can be used. To filter for example the lowest and highest percentage values, the latter two operators can be used.   8875 In addition, operators “empty”, “!empty”, “bottom values”, “top values”, “bottom percent”, and “top percent” can be used. To filter for example the lowest and highest percentage values, the latter two operators can be used.
8766 <define name="table-filter-condition-attlist" combine="interleave">   8876 <define name="table-filter-condition-attlist" combine="interleave">
8767         <attribute name="table:operator">         8877         <attribute name="table:operator">      
8768                 <ref name="string"/>   8878                 <ref name="string"/>
8769         </attribute>   8879         </attribute>
8770 </define>   8880 </define>
8771 Case Sensitive   8881 Case Sensitive
8772 The table:case-sensitive case sensitive attribute determines whether a filter condition is case sensitive.   8882 The table:case-sensitive case sensitive attribute determines whether a filter condition is case sensitive.
8773 <define name="table-filter-condition-attlist" combine="interleave">   8883 <define name="table-filter-condition-attlist" combine="interleave">
8774         <optional>   8884         <optional>
8775                 <attribute name="table:case-sensitive" a:defaultValue="false">    8885                 <attribute name="table:case-sensitive" a:defaultValue="false"> 
8776                         <ref name="string"/>   8886                         <ref name="string"/>
8777                 </attribute>   8887                 </attribute>
8778         </optional>   8888         </optional>
8779 </define>   8889 </define>
8780 Data Type   8890 Data Type
8781 The table:data-type attribute specifies whether comparison shall take place as text or as numeric values.   8891 The table:data-type attribute specifies whether comparison shall take place as text or as numeric values.
8782 <define name="table-filter-condition-attlist" combine="interleave">   8892 <define name="table-filter-condition-attlist" combine="interleave">
8783         <optional>   8893         <optional>
8784                 <attribute name="table:data-type" a:defaultValue="text">   8894                 <attribute name="table:data-type" a:defaultValue="text">
8785                         <choice>   8895                         <choice>
8786                                 <value>text</value>   8896                                 <value>text</value>
8787                                 <value>number</value>   8897                                 <value>number</value>
8788                         </choice>   8898                         </choice>
8789                 </attribute>   8899                 </attribute>
8790         </optional>   8900         </optional>
8791 </define>   8901 </define>
8792 Example:Representation of a filter   8902 Example:Representation of a filter
8793 <filter>   8903 <filter>
8794         <filter-or>   8904         <filter-or>
8795                 <filter-and>   8905                 <filter-and>
8796                         <filter-condition table:field-number=1 table:operator="="   8906                         <filter-condition table:field-number=1 table:operator="="
8797                                                                 table:value="Doe"/>   8907                                                                 table:value="Doe"/>
8798                         <filter-condition table:field-number=2 table:operator="="   8908                         <filter-condition table:field-number=2 table:operator="="
8799                                                                 table:value="John"/>   8909                                                                 table:value="John"/>
8800                 </filter-and>   8910                 </filter-and>
8801                 <filter-and>   8911                 <filter-and>
8802                         <filter-condition table:field-number=1 table:operator="="   8912                         <filter-condition table:field-number=1 table:operator="="
8803                                                                 table:value="Burns"/>   8913                                                                 table:value="Burns"/>
8804                         <filter-condition table:field-number=2 table:operator="="   8914                         <filter-condition table:field-number=2 table:operator="="
8805                                                                 table:value="Michael"/>   8915                                                                 table:value="Michael"/>
8806                 </filter-and>   8916                 </filter-and>
8807         </filter-or>   8917         </filter-or>
8808 </filter>   8918 </filter>
8809 8.8Data Pilot Tables   8919 8.8Data Pilot Tables
8810 Data pilot tables allow it to analyze and evaluate data contained in spreadsheet tables. The data pilot tables element <table:data-pilot-tables> contains the collection of all data pilot tables within a document.   8920 Data pilot tables allow it to analyze and evaluate data contained in spreadsheet tables. The data pilot tables element <table:data-pilot-tables> contains the collection of all data pilot tables within a document.
8811 <define name="table-data-pilot-tables">   8921 <define name="table-data-pilot-tables">
8812         <element name="table:data-pilot-tables">   8922         <element name="table:data-pilot-tables">
8813                 <zeroOrMore>   8923                 <zeroOrMore>
8814                         <ref name="table-data-pilot-table"/>   8924                         <ref name="table-data-pilot-table"/>
8815                 </zeroOrMore>   8925                 </zeroOrMore>
8816         </element>   8926         </element>
8817 </define>   8927 </define>
8818 8.8.1Data Pilot Table   8928 8.8.1Data Pilot Table
8819 The <table:data-pilot-table> specifies a single data pilot table. Within data pilot tables, all combinations of values that exist in selected columns are collected, and for each of these combinations a formula is applied to the cells of other columns.   8929 The <table:data-pilot-table> specifies a single data pilot table. Within data pilot tables, all combinations of values that exist in selected columns are collected, and for each of these combinations a formula is applied to the cells of other columns.
8820 Example: Given is the following source table   8930 Example: Given is the following source table
8821     8931  
8822 A   8932 A
8823 B   8933 B
8824 C   8934 C
8825 D   8935 D
8826     8936  
8827 1   8937 1
8828 Article   8938 Article
8829 City   8939 City
8830 Country   8940 Country
8831 Amount   8941 Amount
8832 Price   8942 Price
8833 2   8943 2
8834 Main Unit   8944 Main Unit
8835 Hamburg   8945 Hamburg
8836 Germany   8946 Germany
8837 1   8947 1
8838 12   8948 12
8839 3   8949 3
8840 Monitor   8950 Monitor
8841 Hamburg   8951 Hamburg
8842 Germany   8952 Germany
8843 2   8953 2
8844 15   8954 15
8845 4   8955 4
8846 Printer   8956 Printer
8847 Paris   8957 Paris
8848 France   8958 France
8849 4   8959 4
8850 13   8960 13
8851 5   8961 5
8852 Monitor   8962 Monitor
8853 Paris   8963 Paris
8854 France   8964 France
8855 2   8965 2
8856 14   8966 14
8857 6   8967 6
8858 Main Unit   8968 Main Unit
8859 Paris   8969 Paris
8860 France   8970 France
8861 1   8971 1
8862 12   8972 12
8863 7   8973 7
8864 Monitor   8974 Monitor
8865 Hamburg   8975 Hamburg
8866 Germany   8976 Germany
8867 2   8977 2
8868 10   8978 10
8869 8   8979 8
8870 Printer   8980 Printer
8871 Paris   8981 Paris
8872 France   8982 France
8873 2   8983 2
8874 16   8984 16
8875 The following data pilot table groups the source table by the columns “County”, “City” and “Article” and calculates the sum of the “Amount” as well as of the “Price” columns for each combinations of values of these three columns. The values of the Country and City columns are shown in columns, while the ones of the Article columns are shown in rows.   8985 The following data pilot table groups the source table by the columns “County”, “City” and “Article” and calculates the sum of the “Amount” as well as of the “Price” columns for each combinations of values of these three columns. The values of the Country and City columns are shown in columns, while the ones of the Article columns are shown in rows.
8876     8986  
8877     8987  
8878     8988  
8879 Article   8989 Article
8880     8990  
8881     8991  
8882     8992  
8883 Country   8993 Country
8884 City   8994 City
8885 Data   8995 Data
8886 Main Unit   8996 Main Unit
8887 Monitor   8997 Monitor
8888 Printer   8998 Printer
8889 Total   8999 Total
8890 France   9000 France
8891 Paris   9001 Paris
8892 Sum - Amount   9002 Sum - Amount
8893 1   9003 1
8894 2   9004 2
8895 6   9005 6
8896 9   9006 9
8897     9007  
8898     9008  
8899 Sum - Price   9009 Sum - Price
8900 12   9010 12
8901 14   9011 14
8902 29   9012 29
8903 55   9013 55
8904 Germany   9014 Germany
8905 Hamburg   9015 Hamburg
8906 Sum - Amount   9016 Sum - Amount
8907 1   9017 1
8908 4   9018 4
8909     9019  
8910 5   9020 5
8911     9021  
8912     9022  
8913 Sum - Price   9023 Sum - Price
8914 12   9024 12
8915 25   9025 25
8916     9026  
8917 37   9027 37
8918 Total sum - Amount   9028 Total sum - Amount
8919     9029  
8920     9030  
8921 2   9031 2
8922 6   9032 6
8923 6   9033 6
8924 14   9034 14
8925 Total sum - Price   9035 Total sum - Price
8926     9036  
8927     9037  
8928 24   9038 24
8929 39   9039 39
8930 29   9040 29
8931 92   9041 92
8932 The columns that are used for grouping (here “County”, “City” and “Article”) are called category columns. The columns for which a formula is calculated based on the value combinations of the category columns (here “Amount” and “Price”) are called data columns. The individual values that exists within a category column are called members.   9042 The columns that are used for grouping (here “County”, “City” and “Article”) are called category columns. The columns for which a formula is calculated based on the value combinations of the category columns (here “Amount” and “Price”) are called data columns. The individual values that exists within a category column are called members.
8933 In general, the behavior of a data pilot is specified by fields, where each field has a name and a so called orientation. The category columns are specified by fields with the orientation “row” or “column” and the data columns are specified by fields that have the orientation “data”. In the above example, “Article” is a field with the orientation column, while “Country” and “City” are fields with the orientation row. “Amount” and “Price” are fields with “data” orientation.   9043 In general, the behavior of a data pilot is specified by fields, where each field has a name and a so called orientation. The category columns are specified by fields with the orientation “row” or “column” and the data columns are specified by fields that have the orientation “data”. In the above example, “Article” is a field with the orientation column, while “Country” and “City” are fields with the orientation row. “Amount” and “Price” are fields with “data” orientation.
8934 A third kind of fields are data layout fields. Data layout fields are not connected to a column in the source table, but have the only the purpose to change the layout of the data pilot table. In the example, “Data” is a data layout field.   9044 A third kind of fields are data layout fields. Data layout fields are not connected to a column in the source table, but have the only the purpose to change the layout of the data pilot table. In the example, “Data” is a data layout field.
8935 The order in which fields are specified is of relevance. It specified the order in which the data of category columns is grouped and results are displayed. The data pilot table below displays how the data pilot table changes if for instance the data layout field is specified before the category column fields.   9045 The order in which fields are specified is of relevance. It specified the order in which the data of category columns is grouped and results are displayed. The data pilot table below displays how the data pilot table changes if for instance the data layout field is specified before the category column fields.
8936 Example: A data pilot with a modified layout   9046 Example: A data pilot with a modified layout
8937     9047  
8938     9048  
8939     9049  
8940 Article   9050 Article
8941     9051  
8942     9052  
8943     9053  
8944 Data   9054 Data
8945 Country   9055 Country
8946 City   9056 City
8947 Main Unit   9057 Main Unit
8948 Monitor   9058 Monitor
8949 Printer   9059 Printer
8950 Total   9060 Total
8951 Sum - Amount   9061 Sum - Amount
8952 France   9062 France
8953 Paris   9063 Paris
8954 1   9064 1
8955 2   9065 2
8956 6   9066 6
8957 9   9067 9
8958     9068  
8959 Germany   9069 Germany
8960 Hamburg   9070 Hamburg
8961 1   9071 1
8962 4   9072 4
8963     9073  
8964 5   9074 5
8965 Sum - Price   9075 Sum - Price
8966 France   9076 France
8967 Paris   9077 Paris
8968 12   9078 12
8969 14   9079 14
8970 29   9080 29
8971 55   9081 55
8972     9082  
8973 Germany   9083 Germany
8974 Hamburg   9084 Hamburg
8975 12   9085 12
8976 25   9086 25
8977     9087  
8978 37   9088 37
8979 Total sum - Amount   9089 Total sum - Amount
8980     9090  
8981     9091  
8982 2   9092 2
8983 6   9093 6
8984 6   9094 6
8985 14   9095 14
8986 Total sum - Price   9096 Total sum - Price
8987     9097  
8988     9098  
8989 24   9099 24
8990 39   9100 39
8991 29   9101 29
8992 92   9102 92
8993 The attributes associated with the data pilot table element are:   9103 The attributes associated with the data pilot table element are:
8994 Data pilot table name   9104 Data pilot table name
8995 Application data   9105 Application data
8996 Grand total   9106 Grand total
8997 Ignore empty rows   9107 Ignore empty rows
8998 Identify categories   9108 Identify categories
8999 Target range address   9109 Target range address
9000 Show Filter Button   9110 Show Filter Button
9001 Drill Down On Double Click   9111 Drill Down On Double Click
9002 <define name="table-data-pilot-table">   9112 <define name="table-data-pilot-table">
9003         <element name="table:data-pilot-table">   9113         <element name="table:data-pilot-table">
9004                 <ref name="table-data-pilot-table-attlist"/>   9114                 <ref name="table-data-pilot-table-attlist"/>
9005                 <optional>   9115                 <optional>
9006                         <choice>   9116                         <choice>
9007                                 <ref name="table-database-source-sql"/>   9117                                 <ref name="table-database-source-sql"/>
9008                                 <ref name="table-database-source-table"/>   9118                                 <ref name="table-database-source-table"/>
9009                                 <ref name="table-database-source-query"/>   9119                                 <ref name="table-database-source-query"/>
9010                                 <ref name="table-source-service"/>   9120                                 <ref name="table-source-service"/>
9011                                 <ref name="table-source-cell-range"/>   9121                                 <ref name="table-source-cell-range"/>
9012                         </choice>   9122                         </choice>
9013                 </optional>   9123                 </optional>
9014                 <oneOrMore>   9124                 <oneOrMore>
9015                         <ref name="table-data-pilot-field"/>   9125                         <ref name="table-data-pilot-field"/>
9016                 </oneOrMore>   9126                 </oneOrMore>
9017         </element>   9127         </element>
9018 </define>   9128 </define>
9019 Data Pilot Table Source   9129 Data Pilot Table Source
9020 The source of the data pilot table is either stored in a database, that is, a database table itself, a SQL query or a named query, or it is a cell range located within the same document. It can also be provided by an external component in an implementation dependent way.   9130 The source of the data pilot table is either stored in a database, that is, a database table itself, a SQL query or a named query, or it is a cell range located within the same document. It can also be provided by an external component in an implementation dependent way.
9021 The source of the data pilot table is specified by one of the following elements that are contained in the <table:data-pilot-table> element:   9131 The source of the data pilot table is specified by one of the following elements that are contained in the <table:data-pilot-table> element:
9022 <table:database-source-sql> (see section 8.6.2)   9132 <table:database-source-sql> (see section 8.6.2)
9023 <table:database-source-table> (see section 8.6.3)   9133 <table:database-source-table> (see section 8.6.3)
9024 <table:database-source-query> (see section 8.6.4)   9134 <table:database-source-query> (see section 8.6.4)
9025 <table:source-cell-range> (see section 8.8.2)   9135 <table:source-cell-range> (see section 8.8.2)
9026 <table:source-service> (see section 8.8.3)   9136 <table:source-service> (see section 8.8.3)
9027 Data Pilot Table Name   9137 Data Pilot Table Name
9028 The table:name attribute specifies the name of the data pilot table.   9138 The table:name attribute specifies the name of the data pilot table.
9029 <define name="table-data-pilot-table-attlist" combine="interleave">   9139 <define name="table-data-pilot-table-attlist" combine="interleave">
9030         <attribute name="table:name">   9140         <attribute name="table:name">
9031                 <ref name="string"/>   9141                 <ref name="string"/>
9032         </attribute>   9142         </attribute>
9033 </define>   9143 </define>
9034 Application Data   9144 Application Data
9035 The table:application-data attribute specifies extra information about the data pilot table, which can be used by the application, for instance within macros. This data does not influence the behavior of the data pilot.   9145 The table:application-data attribute specifies extra information about the data pilot table, which can be used by the application, for instance within macros. This data does not influence the behavior of the data pilot.
9036 <define name="table-data-pilot-table-attlist" combine="interleave">   9146 <define name="table-data-pilot-table-attlist" combine="interleave">
9037         <optional>   9147         <optional>
9038                 <attribute name="table:application-data">   9148                 <attribute name="table:application-data">
9039                         <ref name="string"/>   9149                         <ref name="string"/>
9040                 </attribute>   9150                 </attribute>
9041         </optional>   9151         </optional>
9042 </define>   9152 </define>
9043 Grand Total   9153 Grand Total
9044 The table:grand-total attribute specifies whether a grand total column, row, or both should be displayed in addition to values calculated for each combination of values in the category columns. In the above example, grand totals are enabled. They are displayed in the row and column labeled “Total”.   9154 The table:grand-total attribute specifies whether a grand total column, row, or both should be displayed in addition to values calculated for each combination of values in the category columns. In the above example, grand totals are enabled. They are displayed in the row and column labeled “Total”.
9045 <define name="table-data-pilot-table-attlist" combine="interleave">   9155 <define name="table-data-pilot-table-attlist" combine="interleave">
9046         <optional>   9156         <optional>
9047                 <attribute name="table:grand-total" a:defaultValue="both">   9157                 <attribute name="table:grand-total" a:defaultValue="both">
9048                         <choice>   9158                         <choice>
9049                                 <value>none</value>   9159                                 <value>none</value>
9050                                 <value>row</value>   9160                                 <value>row</value>
9051                                 <value>column</value>   9161                                 <value>column</value>
9052                                 <value>both</value>   9162                                 <value>both</value>
9053                         </choice>   9163                         </choice>
9054                 </attribute>   9164                 </attribute>
9055         </optional>   9165         </optional>
9056 </define>   9166 </define>
9057 Ignore Empty Rows   9167 Ignore Empty Rows
9058 The table:ignore-empty-rows attribute specifies whether or not empty rows in the source range should be ignored.   9168 The table:ignore-empty-rows attribute specifies whether or not empty rows in the source range should be ignored.
9059 <define name="table-data-pilot-table-attlist" combine="interleave">   9169 <define name="table-data-pilot-table-attlist" combine="interleave">
9060         <optional>   9170         <optional>
9061                 <attribute name="table:ignore-empty-rows" a:defaultValue="false">         9171                 <attribute name="table:ignore-empty-rows" a:defaultValue="false">      
9062                         <ref name="boolean"/>   9172                         <ref name="boolean"/>
9063                 </attribute>   9173                 </attribute>
9064         </optional>   9174         </optional>
9065 </define>   9175 </define>
9066 Identify Categories   9176 Identify Categories
9067 The table:identify-categories attribute specifies whether rows that do not contain a value in one of the category columns should use the value of the nearest ancestor row that has a value, or whether such rows should be moved into a group (or category) of its own. If the attribute's value is false, empty values form a category of its own.   9177 The table:identify-categories attribute specifies whether rows that do not contain a value in one of the category columns should use the value of the nearest ancestor row that has a value, or whether such rows should be moved into a group (or category) of its own. If the attribute's value is false, empty values form a category of its own.
9068 <define name="table-data-pilot-table-attlist" combine="interleave">   9178 <define name="table-data-pilot-table-attlist" combine="interleave">
9069         <optional>   9179         <optional>
9070                 <attribute name="table:identify-categories" a:defaultValue="false">       9180                 <attribute name="table:identify-categories" a:defaultValue="false">    
9071                         <ref name="boolean"/>   9181                         <ref name="boolean"/>
9072                 </attribute>   9182                 </attribute>
9073         </optional>   9183         </optional>
9074 </define>   9184 </define>
9075 Target Range Address   9185 Target Range Address
9076 The table:target-range-address attribute specifies where the target range of the data pilot table output, that is, where the data pilot table is displayed. A differentiation between absolute and relative addresses is not possible, that is, the address is interpreted as an absolute address even if it contains dollar signs. The range address must contain a table name.   9186 The table:target-range-address attribute specifies where the target range of the data pilot table output, that is, where the data pilot table is displayed. A differentiation between absolute and relative addresses is not possible, that is, the address is interpreted as an absolute address even if it contains dollar signs. The range address must contain a table name.
9077 <define name="table-data-pilot-table-attlist" combine="interleave">   9187 <define name="table-data-pilot-table-attlist" combine="interleave">
9078         <attribute name="table:target-range-address">     9188         <attribute name="table:target-range-address">  
9079                 <ref name="cellRangeAddress"/>   9189                 <ref name="cellRangeAddress"/>
9080         </attribute>   9190         </attribute>
9081 </define>   9191 </define>
9082 Buttons   9192 Buttons
9083 Within a data pilot table, some cells might be displayed as buttons to allow interactive operations on the table like changing the order of columns. The table:buttons attribute specifies all cells which should be displayed this way. Its value is a list of cell-addresses. A differentiation between absolute and relative addresses is not possible, that is, the addresses are interpreted as absolute addresses even if they contain dollar signs. All addresses must contain a table name.   9193 Within a data pilot table, some cells might be displayed as buttons to allow interactive operations on the table like changing the order of columns. The table:buttons attribute specifies all cells which should be displayed this way. Its value is a list of cell-addresses. A differentiation between absolute and relative addresses is not possible, that is, the addresses are interpreted as absolute addresses even if they contain dollar signs. All addresses must contain a table name.
9084 In the examples above, button cells are displayed with a gray background.   9194 In the examples above, button cells are displayed with a gray background.
9085 <define name="table-data-pilot-table-attlist" combine="interleave">   9195 <define name="table-data-pilot-table-attlist" combine="interleave">
9086         <optional>   9196         <optional>
9087                 <attribute name="table:buttons">          9197                 <attribute name="table:buttons">       
9088                         <ref name="cellRangeAddressList"/>   9198                         <ref name="cellRangeAddressList"/>
9089                 </attribute>   9199                 </attribute>
9090         </optional>   9200         </optional>
9091 </define>   9201 </define>
9092 Show Filter Button   9202 Show Filter Button
9093 The table:show-filter-button attribute specifies whether a filter button is shown in the UI within the Data Pilot. A filter button displays a filter dialog if pushed.   9203 The table:show-filter-button attribute specifies whether a filter button is shown in the UI within the Data Pilot. A filter button displays a filter dialog if pushed.
9094 <define name="table-data-pilot-table-attlist" combine="interleave">   9204 <define name="table-data-pilot-table-attlist" combine="interleave">
9095         <optional>   9205         <optional>
9096                 <attribute name="table:show-filter-button" a:defaultValue="true">         9206                 <attribute name="table:show-filter-button" a:defaultValue="true">      
9097                         <ref name="boolean"/>   9207                         <ref name="boolean"/>
9098                 </attribute>   9208                 </attribute>
9099         </optional>   9209         </optional>
9100 </define>   9210 </define>
9101 Drill Down On Double Click   9211 Drill Down On Double Click
9102 The table:drill-down-on-double-click attribute specifies how the data pilot table reacts on a double click into the data pilot table. If the attribute's value is false, a double click on a member label or the empty area next to it starts the edit mode of the table cell, like for cells outside of the data pilot table. This can then be used to rename group fields or members. If the attribute's value is true, a double click on a member label or the empty area next to it shows or hides details for that member. A double click elsewhere in a data pilot table has no effect.   9212 The table:drill-down-on-double-click attribute specifies how the data pilot table reacts on a double click into the data pilot table. If the attribute's value is false, a double click on a member label or the empty area next to it starts the edit mode of the table cell, like for cells outside of the data pilot table. This can then be used to rename group fields or members. If the attribute's value is true, a double click on a member label or the empty area next to it shows or hides details for that member. A double click elsewhere in a data pilot table has no effect.
9103 <define name="table-data-pilot-table-attlist" combine="interleave">   9213 <define name="table-data-pilot-table-attlist" combine="interleave">
9104         <optional>   9214         <optional>
9105                 <attribute name="table:drill-down-on-double-click"   9215                 <attribute name="table:drill-down-on-double-click"
9106                            a:defaultValue="true">         9216                            a:defaultValue="true">      
9107                         <ref name="boolean"/>   9217                         <ref name="boolean"/>
9108                 </attribute>   9218                 </attribute>
9109         </optional>   9219         </optional>
9110 </define>   9220 </define>
9111 8.8.2Source Cell Range   9221 8.8.2Source Cell Range
9112 If the source of a data pilot table is a cell range, the <table:source-cell-range> element contains information about the cell range and how the data pilot table gets the data from the range. Before the source data is processed by the data pilot data, a filter may be applied to it. This filter has to be specified by a <table:filter> child element.   9222 If the source of a data pilot table is a cell range, the <table:source-cell-range> element contains information about the cell range and how the data pilot table gets the data from the range. Before the source data is processed by the data pilot data, a filter may be applied to it. This filter has to be specified by a <table:filter> child element.
9113 <define name="table-source-cell-range">   9223 <define name="table-source-cell-range">
9114         <element name="table:source-cell-range">   9224         <element name="table:source-cell-range">
9115                 <ref name="table-source-cell-range-attlist"/>   9225                 <ref name="table-source-cell-range-attlist"/>
9116                 <optional>   9226                 <optional>
9117                         <ref name="table-filter"/>   9227                         <ref name="table-filter"/>
9118                 </optional>   9228                 </optional>
9119         </element>   9229         </element>
9120 </define>   9230 </define>
9121 The only attribute that may be associated with the source cell range element is:   9231 The only attribute that may be associated with the source cell range element is:
9122 Cell range address   9232 Cell range address
9123 Cell Range Address   9233 Cell Range Address
9124 The table:cell-range-address attribute specifies the cell range containing the source data. The source cell range's address must be absolute. Therefore, the cell range address must contain a table name and dollar signs are ignored.   9234 The table:cell-range-address attribute specifies the cell range containing the source data. The source cell range's address must be absolute. Therefore, the cell range address must contain a table name and dollar signs are ignored.
9125 <define name="table-source-cell-range-attlist" combine="interleave">   9235 <define name="table-source-cell-range-attlist" combine="interleave">
9126         <attribute name="table:cell-range-address">       9236         <attribute name="table:cell-range-address">    
9127                 <ref name="cellRangeAddress"/>   9237                 <ref name="cellRangeAddress"/>
9128         </attribute>   9238         </attribute>
9129 </define>   9239 </define>
9130 8.8.3Source Service   9240 8.8.3Source Service
9131 The source of a data pilot table can be “service”, that is, it can be provided by an external component. The source service element <table:source-service> contains information about the service which is used to create the data pilot table.   9241 The source of a data pilot table can be “service”, that is, it can be provided by an external component. The source service element <table:source-service> contains information about the service which is used to create the data pilot table.
9132 <define name="table-source-service">   9242 <define name="table-source-service">
9133         <element name="table:source-service">   9243         <element name="table:source-service">
9134                 <ref name="table-source-service-attlist"/>   9244                 <ref name="table-source-service-attlist"/>
9135                 <empty/>   9245                 <empty/>
9136         </element>   9246         </element>
9137 </define>   9247 </define>
9138 The attributes that may be associated with this element are:   9248 The attributes that may be associated with this element are:
9139 Service name   9249 Service name
9140 Source name   9250 Source name
9141 Object name   9251 Object name
9142 Source user name   9252 Source user name
9143 Source password   9253 Source password
9144 Service Name   9254 Service Name
9145 The table:name attribute specifies the name of the service. The value of this attribute is implementation specific.   9255 The table:name attribute specifies the name of the service. The value of this attribute is implementation specific.
9146 <define name="table-source-service-attlist" combine="interleave">   9256 <define name="table-source-service-attlist" combine="interleave">
9147         <attribute name="table:name">     9257         <attribute name="table:name">  
9148                 <ref name="string"/>   9258                 <ref name="string"/>
9149         </attribute>   9259         </attribute>
9150 </define>   9260 </define>
9151 Source Name   9261 Source Name
9152 The table:source-name attribute specifies a source name that is passed to the service implementation. Its value is application and service specific.   9262 The table:source-name attribute specifies a source name that is passed to the service implementation. Its value is application and service specific.
9153 <define name="table-source-service-attlist" combine="interleave">   9263 <define name="table-source-service-attlist" combine="interleave">
9154         <attribute name="table:source-name">   9264         <attribute name="table:source-name">
9155                 <ref name="string"/>   9265                 <ref name="string"/>
9156         </attribute>   9266         </attribute>
9157 </define>   9267 </define>
9158 Object Name   9268 Object Name
9159 The table:object-name attribute specifies the name of the object in the source which contains the data and is passed to the service implementation. Its value is application and service specific.   9269 The table:object-name attribute specifies the name of the object in the source which contains the data and is passed to the service implementation. Its value is application and service specific.
9160 <define name="table-source-service-attlist" combine="interleave">   9270 <define name="table-source-service-attlist" combine="interleave">
9161         <attribute name="table:object-name">   9271         <attribute name="table:object-name">
9162                 <ref name="string"/>   9272                 <ref name="string"/>
9163         </attribute>   9273         </attribute>
9164 </define>   9274 </define>
9165 Source User Name   9275 Source User Name
9166 The table:user-name attribute specifies the user name required to access the source. It is passed to the service implementation. Its value is application and service specific.   9276 The table:user-name attribute specifies the user name required to access the source. It is passed to the service implementation. Its value is application and service specific.
9167 <define name="table-source-service-attlist" combine="interleave">   9277 <define name="table-source-service-attlist" combine="interleave">
9168         <optional>   9278         <optional>
9169                 <attribute name="table:user-name">   9279                 <attribute name="table:user-name">
9170                         <ref name="string"/>   9280                         <ref name="string"/>
9171                 </attribute>   9281                 </attribute>
9172         </optional>   9282         </optional>
9173 </define>   9283 </define>
9174 Source Password   9284 Source Password
9175 The table:password attribute specifies the password required to access the source. It is passed to the service implementation. Its value is application and service specific.   9285 The table:password attribute specifies the password required to access the source. It is passed to the service implementation. Its value is application and service specific.
9176 <define name="table-source-service-attlist" combine="interleave">   9286 <define name="table-source-service-attlist" combine="interleave">
9177         <optional>   9287         <optional>
9178                 <attribute name="table:password">   9288                 <attribute name="table:password">
9179                         <ref name="string"/>   9289                         <ref name="string"/>
9180                 </attribute>   9290                 </attribute>
9181         </optional>   9291         </optional>
9182 </define>   9292 </define>
9183 8.8.4Data Pilot Field   9293 8.8.4Data Pilot Field
9184 A data pilot table's fields are specified by <table:data-pilot-field> elements.   9294 A data pilot table's fields are specified by <table:data-pilot-field> elements.
9185 <define name="table-data-pilot-field">   9295 <define name="table-data-pilot-field">
9186         <element name="table:data-pilot-field">   9296         <element name="table:data-pilot-field">
9187                 <ref name="table-data-pilot-field-attlist"/>   9297                 <ref name="table-data-pilot-field-attlist"/>
9188                 <optional>   9298                 <optional>
9189                         <ref name="table-data-pilot-level"/>   9299                         <ref name="table-data-pilot-level"/>
9190                 </optional>   9300                 </optional>
9191                 <optional>   9301                 <optional>
9192                         <ref name="table-data-pilot-field-reference"/>   9302                         <ref name="table-data-pilot-field-reference"/>
9193                 </optional>   9303                 </optional>
9194                 <optional>   9304                 <optional>
9195                         <ref name="table-data-pilot-groups"/>   9305                         <ref name="table-data-pilot-groups"/>
9196                 </optional>   9306                 </optional>
9197         </element>   9307         </element>
9198 </define>   9308 </define>
9199 The attributes that may be associated with the data pilot field element are:   9309 The attributes that may be associated with the data pilot field element are:
9200 Source field name   9310 Source field name
9201 Orientation   9311 Orientation
9202 Is data layout field   9312 Is data layout field
9203 Function   9313 Function
9204 Used hierarchy   9314 Used hierarchy
9205 Source Field Name   9315 Source Field Name
9206 For fields that specify category or data columns, the table:source-field-name attribute specifies the name or label of the column the field is connected to. If the source of the data pilot table is for instance a cell range, then the attribute's value has to be the column's label.   9316 For fields that specify category or data columns, the table:source-field-name attribute specifies the name or label of the column the field is connected to. If the source of the data pilot table is for instance a cell range, then the attribute's value has to be the column's label.
9207 There can be multiple <table:data-pilot-field> elements with the same value for this attribute.   9317 There can be multiple <table:data-pilot-field> elements with the same value for this attribute.
9208 <define name="table-data-pilot-field-attlist" combine="interleave">   9318 <define name="table-data-pilot-field-attlist" combine="interleave">
9209         <attribute name="table:source-field-name">        9319         <attribute name="table:source-field-name">     
9210                 <ref name="string"/>   9320                 <ref name="string"/>
9211         </attribute>   9321         </attribute>
9212 </define>   9322 </define>
9213 Orientation   9323 Orientation
9214 The table:orientation attribute specifies the orientation of the source field. If the value is data, then the field specifies a data column. If the value is row or column, then the field specifies a category column. The value hidden is used for fields that have a corresponding column in the data pilot's source, but are not visible within the data pilot table. The value page indicates that an automatic filter (i.e., one that allows to choose one of the values that are contained in the column) should be generated for the corresponding column. In this case, an additional field with row, column or data orientation has to exist for the column.   9324 The table:orientation attribute specifies the orientation of the source field. If the value is data, then the field specifies a data column. If the value is row or column, then the field specifies a category column. The value hidden is used for fields that have a corresponding column in the data pilot's source, but are not visible within the data pilot table. The value page indicates that an automatic filter (i.e., one that allows to choose one of the values that are contained in the column) should be generated for the corresponding column. In this case, an additional field with row, column or data orientation has to exist for the column.
9215 If the attribute value is page, the table:selected-page attribute can be used to specify which value is selected for the filter.   9325 If the attribute value is page, the table:selected-page attribute can be used to specify which value is selected for the filter.
9216 <define name="table-data-pilot-field-attlist" combine="interleave">   9326 <define name="table-data-pilot-field-attlist" combine="interleave">
9217         <choice>   9327         <choice>
9218                 <attribute name="table:orientation">      9328                 <attribute name="table:orientation">   
9219                         <choice>   9329                         <choice>
9220                                 <value>row</value>   9330                                 <value>row</value>
9221                                 <value>column</value>   9331                                 <value>column</value>
9222                                 <value>data</value>   9332                                 <value>data</value>
9223                                 <value>hidden</value>   9333                                 <value>hidden</value>
9224                         </choice>   9334                         </choice>
9225                 </attribute>   9335                 </attribute>
9226                 <group>   9336                 <group>
9227                         <attribute name="table:orientation">   9337                         <attribute name="table:orientation">
9228                                 <value>page</value>   9338                                 <value>page</value>
9229                         </attribute>   9339                         </attribute>
9230                         <attribute name="table:selected-page">   9340                         <attribute name="table:selected-page">
9231                                 <ref name="string"/>   9341                                 <ref name="string"/>
9232                         </attribute>   9342                         </attribute>
9233                 </group>   9343                 </group>
9234         </choice>   9344         </choice>
9235 </define>   9345 </define>
9236 Is Data Layout Field   9346 Is Data Layout Field
9237 The table:is-data-layout-field attribute specifies whether a field is a data layout field (see section 8.8.1). Data layout fields usually don't have a name.   9347 The table:is-data-layout-field attribute specifies whether a field is a data layout field (see section 8.8.1). Data layout fields usually don't have a name.
9238 <define name="table-data-pilot-field-attlist" combine="interleave">   9348 <define name="table-data-pilot-field-attlist" combine="interleave">
9239         <optional>   9349         <optional>
9240                 <attribute name="table:is-data-layout-field" a:defaultValue="false">      9350                 <attribute name="table:is-data-layout-field" a:defaultValue="false">   
9241                         <ref name="string"/>   9351                         <ref name="string"/>
9242                 </attribute>   9352                 </attribute>
9243         </optional>   9353         </optional>
9244 </define>   9354 </define>
9245 Function   9355 Function
9246 The table:function attribute specifies the function which is applied to the cell values of data columns. It is only evaluated if the value of the table:orientation attribute is data. Possible values for this attribute are: auto, average, count, countnums, max, min, product, stdev, stdevp, sum, var and varp. For category columns the attribute's value auto can be used that specifies that no function is applied at all.   9356 The table:function attribute specifies the function which is applied to the cell values of data columns. It is only evaluated if the value of the table:orientation attribute is data. Possible values for this attribute are: auto, average, count, countnums, max, min, product, stdev, stdevp, sum, var and varp. For category columns the attribute's value auto can be used that specifies that no function is applied at all.
9247 <define name="table-data-pilot-field-attlist" combine="interleave">   9357 <define name="table-data-pilot-field-attlist" combine="interleave">
9248         <optional>   9358         <optional>
9249                 <attribute name="table:function">   9359                 <attribute name="table:function">
9250                         <choice>   9360                         <choice>
9251                                 <value>auto</value>   9361                                 <value>auto</value>
9252                                 <value>average</value>   9362                                 <value>average</value>
9253                                 <value>count</value>   9363                                 <value>count</value>
9254                                 <value>countnums</value>   9364                                 <value>countnums</value>
9255                                 <value>max</value>   9365                                 <value>max</value>
9256                                 <value>min</value>   9366                                 <value>min</value>
9257                                 <value>product</value>   9367                                 <value>product</value>
9258                                 <value>stdev</value>   9368                                 <value>stdev</value>
9259                                 <value>stdevp</value>   9369                                 <value>stdevp</value>
9260                                 <value>sum</value>   9370                                 <value>sum</value>
9261                                 <value>var</value>   9371                                 <value>var</value>
9262                                 <value>varp</value>   9372                                 <value>varp</value>
9263                                 <ref name="string"/>   9373                                 <ref name="string"/>
9264                         </choice>   9374                         </choice>
9265                 </attribute>   9375                 </attribute>
9266         </optional>   9376         </optional>
9267 </define>   9377 </define>
9268 Used Hierarchy   9378 Used Hierarchy
9269 If the data pilot source is provided by an external component or service, the data contained within category columns may not only grouped by its value, but it may be further divided into sub-groups or hierarchies. A date value for instance might be grouped by   9379 If the data pilot source is provided by an external component or service, the data contained within category columns may not only grouped by its value, but it may be further divided into sub-groups or hierarchies. A date value for instance might be grouped by
9270 “year”, “month” and “day of month”, or   9380 “year”, “month” and “day of month”, or
9271 “year”, “week” and “day of week”   9381 “year”, “week” and “day of week”
9272 If an external components supports hierarchies, it has to assign unique numbers to it. These numbers can be used in the table:used-hierarchy attribute to select the hierarchy that should be applied to the source field. The value means that no hierarchy should be applied at all.   9382 If an external components supports hierarchies, it has to assign unique numbers to it. These numbers can be used in the table:used-hierarchy attribute to select the hierarchy that should be applied to the source field. The value means that no hierarchy should be applied at all.
9273 <define name="table-data-pilot-field-attlist" combine="interleave">   9383 <define name="table-data-pilot-field-attlist" combine="interleave">
9274         <optional>   9384         <optional>
9275                 <attribute name="table:used-hierarchy" a:defaultValue="-1">       9385                 <attribute name="table:used-hierarchy" a:defaultValue="-1">    
9276                         <ref name="integer"/>   9386                         <ref name="integer"/>
9277                 </attribute>   9387                 </attribute>
9278         </optional>   9388         </optional>
9279 </define>   9389 </define>
9280 8.8.5Data Pilot Level   9390 8.8.5Data Pilot Level
9281 The data pilot level element <table:data-pilot-level> contains additional information about a data pilot field.   9391 The data pilot level element <table:data-pilot-level> contains additional information about a data pilot field.
9282 <define name="table-data-pilot-level">   9392 <define name="table-data-pilot-level">
9283         <element name="table:data-pilot-level">   9393         <element name="table:data-pilot-level">
9284                 <ref name="table-data-pilot-level-attlist"/>   9394                 <ref name="table-data-pilot-level-attlist"/>
9285                 <optional>   9395                 <optional>
9286                         <ref name="table-data-pilot-subtotals"/>   9396                         <ref name="table-data-pilot-subtotals"/>
9287                 </optional>   9397                 </optional>
9288                 <optional>   9398                 <optional>
9289                         <ref name="table-data-pilot-members"/>   9399                         <ref name="table-data-pilot-members"/>
9290                 </optional>   9400                 </optional>
9291                 <optional>   9401                 <optional>
9292                         <ref name="table-data-pilot-display-info"/>   9402                         <ref name="table-data-pilot-display-info"/>
9293                 </optional>   9403                 </optional>
9294                 <optional>   9404                 <optional>
9295                         <ref name="table-data-pilot-sort-info"/>   9405                         <ref name="table-data-pilot-sort-info"/>
9296                 </optional>   9406                 </optional>
9297                 <optional>   9407                 <optional>
9298                         <ref name="table-data-pilot-layout-info"/>   9408                         <ref name="table-data-pilot-layout-info"/>
9299                 </optional>   9409                 </optional>
9300         </element>   9410         </element>
9301 </define>   9411 </define>
9302 The attribute that may be associated associate with the data pilot level element is:   9412 The attribute that may be associated associate with the data pilot level element is:
9303 Show empty   9413 Show empty
9304 Show Empty   9414 Show Empty
9305 The table:show-empty attribute specifies whether or not fields that don't have any members should be displayed. If this attribute is not present, the application might or might not display such fields.   9415 The table:show-empty attribute specifies whether or not fields that don't have any members should be displayed. If this attribute is not present, the application might or might not display such fields.
9306 <define name="table-data-pilot-level-attlist" combine="interleave">   9416 <define name="table-data-pilot-level-attlist" combine="interleave">
9307         <optional>   9417         <optional>
9308                 <attribute name="table:show-empty">       9418                 <attribute name="table:show-empty">    
9309                         <ref name="boolean"/>   9419                         <ref name="boolean"/>
9310                 </attribute>   9420                 </attribute>
9311         </optional>   9421         </optional>
9312 </define>   9422 </define>
9313 8.8.6Data Pilot Subtotals   9423 8.8.6Data Pilot Subtotals
9314 The data pilot subtotals element <table:data-pilot-subtotals> contains information about the provisional results that are displayed for every member of a field and the function used to calculate the result. Several provisional results can be calculated simultaneously. If the element is not present, the application might or might not display provisional results.   9424 The data pilot subtotals element <table:data-pilot-subtotals> contains information about the provisional results that are displayed for every member of a field and the function used to calculate the result. Several provisional results can be calculated simultaneously. If the element is not present, the application might or might not display provisional results.
9315 <define name="table-data-pilot-subtotals">   9425 <define name="table-data-pilot-subtotals">
9316         <element name="table:data-pilot-subtotals">   9426         <element name="table:data-pilot-subtotals">
9317                 <zeroOrMore>   9427                 <zeroOrMore>
9318                         <ref name="table-data-pilot-subtotal"/>   9428                         <ref name="table-data-pilot-subtotal"/>
9319                 </zeroOrMore>   9429                 </zeroOrMore>
9320         </element>   9430         </element>
9321 </define>   9431 </define>
9322 8.8.7Data Pilot Subtotal   9432 8.8.7Data Pilot Subtotal
9323 The data pilot subtotal element <table:data-pilot-subtotal> contains information about a single provision result calculation.   9433 The data pilot subtotal element <table:data-pilot-subtotal> contains information about a single provision result calculation.
9324 <define name="table-data-pilot-subtotal">   9434 <define name="table-data-pilot-subtotal">
9325         <element name="table:data-pilot-subtotal">   9435         <element name="table:data-pilot-subtotal">
9326                 <ref name="table-data-pilot-subtotal-attlist"/>   9436                 <ref name="table-data-pilot-subtotal-attlist"/>
9327                 <empty/>   9437                 <empty/>
9328         </element>   9438         </element>
9329 </define>   9439 </define>
9330 The attribute that may be associated associate with the data pilot subtotal element is:   9440 The attribute that may be associated associate with the data pilot subtotal element is:
9331 Function   9441 Function
9332 Function   9442 Function
9333 The table:function attribute specifies the function used for the subtotal. Possible functions are auto, average, count, countnums, max, min, product, stdev, stdevp, sum, var and varp.   9443 The table:function attribute specifies the function used for the subtotal. Possible functions are auto, average, count, countnums, max, min, product, stdev, stdevp, sum, var and varp.
9334 <define name="table-data-pilot-subtotal-attlist" combine="interleave">   9444 <define name="table-data-pilot-subtotal-attlist" combine="interleave">
9335         <attribute name="table:function">   9445         <attribute name="table:function">
9336                 <choice>   9446                 <choice>
9337                         <value>auto</value>   9447                         <value>auto</value>
9338                         <value>average</value>   9448                         <value>average</value>
9339                         <value>count</value>   9449                         <value>count</value>
9340                         <value>countnums</value>   9450                         <value>countnums</value>
9341                         <value>max</value>   9451                         <value>max</value>
9342                         <value>min</value>   9452                         <value>min</value>
9343                         <value>product</value>   9453                         <value>product</value>
9344                         <value>stdev</value>   9454                         <value>stdev</value>
9345                         <value>stdevp</value>   9455                         <value>stdevp</value>
9346                         <value>sum</value>   9456                         <value>sum</value>
9347                         <value>var</value>   9457                         <value>var</value>
9348                         <value>varp</value>   9458                         <value>varp</value>
9349                         <ref name="string"/>   9459                         <ref name="string"/>
9350                 </choice>   9460                 </choice>
9351         </attribute>   9461         </attribute>
9352 </define>   9462 </define>
9353 8.8.8Data Pilot Members   9463 8.8.8Data Pilot Members
9354 For category columns, it can be controlled whether certain members themselves or the information displayed for a certain member actually is displayed or not. The <table:data-pilot-members> element contains such information.   9464 For category columns, it can be controlled whether certain members themselves or the information displayed for a certain member actually is displayed or not. The <table:data-pilot-members> element contains such information.
9355 <define name="table-data-pilot-members">   9465 <define name="table-data-pilot-members">
9356         <element name="table:data-pilot-members">   9466         <element name="table:data-pilot-members">
9357                 <zeroOrMore>   9467                 <zeroOrMore>
9358                         <ref name="table-data-pilot-member"/>   9468                         <ref name="table-data-pilot-member"/>
9359                 </zeroOrMore>   9469                 </zeroOrMore>
9360         </element>   9470         </element>
9361 </define>   9471 </define>
9362 8.8.9Data Pilot Member   9472 8.8.9Data Pilot Member
9363 The data pilot member element <table:data-pilot-member> specifies which information is displayed for a certain member.   9473 The data pilot member element <table:data-pilot-member> specifies which information is displayed for a certain member.
9364 <define name="table-data-pilot-member">   9474 <define name="table-data-pilot-member">
9365         <element name="table:data-pilot-member">   9475         <element name="table:data-pilot-member">
9366                 <ref name="table-data-pilot-member-attlist"/>   9476                 <ref name="table-data-pilot-member-attlist"/>
9367                 <empty/>   9477                 <empty/>
9368         </element>   9478         </element>
9369 </define>   9479 </define>
9370 The attributes that may be associated with the data pilot member element are:   9480 The attributes that may be associated with the data pilot member element are:
9371 Member name   9481 Member name
9372 Display   9482 Display
9373 Show details   9483 Show details
9374 Member Name   9484 Member Name
9375 The table:name attribute specifies the value for which display information is specified.   9485 The table:name attribute specifies the value for which display information is specified.
9376 <define name="table-data-pilot-member-attlist" combine="interleave">   9486 <define name="table-data-pilot-member-attlist" combine="interleave">
9377         <attribute name="table:name">   9487         <attribute name="table:name">
9378                 <ref name="string"/>   9488                 <ref name="string"/>
9379         </attribute>   9489         </attribute>
9380 </define>   9490 </define>
9381 Display   9491 Display
9382 The table:display attribute specifies whether or not a data pilot member is visible at all. If this attribute is not present, the application might or might not display the member.   9492 The table:display attribute specifies whether or not a data pilot member is visible at all. If this attribute is not present, the application might or might not display the member.
9383 <define name="table-data-pilot-member-attlist" combine="interleave">   9493 <define name="table-data-pilot-member-attlist" combine="interleave">
9384         <optional>   9494         <optional>
9385                 <attribute name="table:display">   9495                 <attribute name="table:display">
9386                         <ref name="boolean"/>   9496                         <ref name="boolean"/>
9387                 </attribute>   9497                 </attribute>
9388         </optional>   9498         </optional>
9389 </define>   9499 </define>
9390 Show Details   9500 Show Details
9391 The table:show-details attribute specifies whether additional fields are displayed for a member. This attribute changes the behavior of a data pilot only if there are several fields with the orientation row or column. If this is the case, and if the attribute's value is false for a field with row or column orientation that is not the last field with this orientation, then no members are displayed for all following fields with the same orientation. Instead of this, the data displayed for these fields will be summarized.   9501 The table:show-details attribute specifies whether additional fields are displayed for a member. This attribute changes the behavior of a data pilot only if there are several fields with the orientation row or column. If this is the case, and if the attribute's value is false for a field with row or column orientation that is not the last field with this orientation, then no members are displayed for all following fields with the same orientation. Instead of this, the data displayed for these fields will be summarized.
9392 <define name="table-data-pilot-member-attlist" combine="interleave">   9502 <define name="table-data-pilot-member-attlist" combine="interleave">
9393         <optional>   9503         <optional>
9394                 <attribute name="table:show-details">   9504                 <attribute name="table:show-details">
9395                         <ref name="boolean"/>   9505                         <ref name="boolean"/>
9396                 </attribute>   9506                 </attribute>
9397         </optional>   9507         </optional>
9398 </define>   9508 </define>
9399 8.8.10Data Pilot Display Info   9509 8.8.10Data Pilot Display Info
9400 The <table:data-pilot-display-info> element restricts the number rows that are displayed for a category field to a specific number of values of a data field.   9510 The <table:data-pilot-display-info> element restricts the number rows that are displayed for a category field to a specific number of values of a data field.
9401 <define name="table-data-pilot-display-info">   9511 <define name="table-data-pilot-display-info">
9402         <element name="table:data-pilot-display-info">   9512         <element name="table:data-pilot-display-info">
9403                 <ref name="table-data-pilot-display-info-attlist"/>   9513                 <ref name="table-data-pilot-display-info-attlist"/>
9404                 <empty/>   9514                 <empty/>
9405         </element>   9515         </element>
9406 </define>   9516 </define>
9407 Enabled   9517 Enabled
9408 The table:enabled attribute specifies whether the <table:data-pilot-display-info> element is evaluated or not.   9518 The table:enabled attribute specifies whether the <table:data-pilot-display-info> element is evaluated or not.
9409 <define name="table-data-pilot-display-info-attlist" combine="interleave">   9519 <define name="table-data-pilot-display-info-attlist" combine="interleave">
9410         <attribute name="table:enabled">   9520         <attribute name="table:enabled">
9411                 <ref name="boolean"/>   9521                 <ref name="boolean"/>
9412         </attribute>   9522         </attribute>
9413 </define>   9523 </define>
9414 Data Field   9524 Data Field
9415 The table:data-field attribute specifies the data field whose values are taken into account.   9525 The table:data-field attribute specifies the data field whose values are taken into account.
9416 <define name="table-data-pilot-display-info-attlist" combine="interleave">   9526 <define name="table-data-pilot-display-info-attlist" combine="interleave">
9417         <attribute name="table:data-field">   9527         <attribute name="table:data-field">
9418                 <ref name="string"/>   9528                 <ref name="string"/>
9419         </attribute>   9529         </attribute>
9420 </define>   9530 </define>
9421 Member Count   9531 Member Count
9422 The table:member-count attribute specifies how many values from the top or from the bottom of data field's column are shown.   9532 The table:member-count attribute specifies how many values from the top or from the bottom of data field's column are shown.
9423 <define name="table-data-pilot-display-info-attlist" combine="interleave">   9533 <define name="table-data-pilot-display-info-attlist" combine="interleave">
9424         <attribute name="table:member-count">   9534         <attribute name="table:member-count">
9425                 <ref name="nonNegativeInteger"/>   9535                 <ref name="nonNegativeInteger"/>
9426         </attribute>   9536         </attribute>
9427 </define>   9537 </define>
9428 Display Member Mode   9538 Display Member Mode
9429 The table:display-member-mode attribute specifies whether the values specified by table:member-count should be taken from the top or from the bottom of a data field's column.   9539 The table:display-member-mode attribute specifies whether the values specified by table:member-count should be taken from the top or from the bottom of a data field's column.
9430 <define name="table-data-pilot-display-info-attlist" combine="interleave">   9540 <define name="table-data-pilot-display-info-attlist" combine="interleave">
9431         <attribute name="table:display-member-mode">   9541         <attribute name="table:display-member-mode">
9432                 <choice>   9542                 <choice>
9433                         <value>from-top</value>   9543                         <value>from-top</value>
9434                         <value>from-bottom</value>   9544                         <value>from-bottom</value>
9435                 </choice>   9545                 </choice>
9436         </attribute>   9546         </attribute>
9437 </define>   9547 </define>
9438 8.8.11Data Pilot Sort Info   9548 8.8.11Data Pilot Sort Info
9439 The <table:data-pilot-sort-info> element specifies how the members of a category field are sorted.   9549 The <table:data-pilot-sort-info> element specifies how the members of a category field are sorted.
9440 <define name="table-data-pilot-sort-info">   9550 <define name="table-data-pilot-sort-info">
9441         <element name="table:data-pilot-sort-info">   9551         <element name="table:data-pilot-sort-info">
9442                 <ref name="table-data-pilot-sort-info-attlist"/>   9552                 <ref name="table-data-pilot-sort-info-attlist"/>
9443                 <empty/>   9553                 <empty/>
9444         </element>   9554         </element>
9445 </define>   9555 </define>
9446 Sort Mode   9556 Sort Mode
9447 The table:sort-mode attribute describes how to sort the members of a single data pilot field. If the mode is data, then the members of the current category field a sorted according to their values in the data field specified by the table:data-field attribute. If the mode is manual, the user can sort the members in the field manually. If the mode is name, the members in the field are sorted by their name.   9557 The table:sort-mode attribute describes how to sort the members of a single data pilot field. If the mode is data, then the members of the current category field a sorted according to their values in the data field specified by the table:data-field attribute. If the mode is manual, the user can sort the members in the field manually. If the mode is name, the members in the field are sorted by their name.
9448 <define name="table-data-pilot-sort-info-attlist" combine="interleave">   9558 <define name="table-data-pilot-sort-info-attlist" combine="interleave">
9449         <choice>   9559         <choice>
9450                 <group>   9560                 <group>
9451                         <attribute name="table:sort-mode">   9561                         <attribute name="table:sort-mode">
9452                                 <value>data</value>   9562                                 <value>data</value>
9453                         </attribute>   9563                         </attribute>
9454                         <attribute name="table:data-field">   9564                         <attribute name="table:data-field">
9455                                 <ref name="string"/>   9565                                 <ref name="string"/>
9456                         </attribute>   9566                         </attribute>
9457                 </group>   9567                 </group>
9458                 <attribute name="table:sort-mode">   9568                 <attribute name="table:sort-mode">
9459                         <choice>   9569                         <choice>
9460                                 <value>none</value>   9570                                 <value>none</value>
9461                                 <value>manual</value>   9571                                 <value>manual</value>
9462                                 <value>name</value>   9572                                 <value>name</value>
9463                         </choice>   9573                         </choice>
9464                 </attribute>   9574                 </attribute>
9465         </choice>   9575         </choice>
9466 </define>   9576 </define>
9467 Sort Order   9577 Sort Order
9468 The table:sort-order attribute specifies whether to sort the members ascending or descending.   9578 The table:sort-order attribute specifies whether to sort the members ascending or descending.
9469 <define name="table-data-pilot-sort-info-attlist" combine="interleave">   9579 <define name="table-data-pilot-sort-info-attlist" combine="interleave">
9470         <attribute name="table:order">   9580         <attribute name="table:order">
9471                 <choice>   9581                 <choice>
9472                         <value>ascending</value>   9582                         <value>ascending</value>
9473                         <value>descending</value>   9583                         <value>descending</value>
9474                 </choice>   9584                 </choice>
9475         </attribute>   9585         </attribute>
9476 </define>   9586 </define>
9477 8.8.12Data Pilot Layout Info   9587 8.8.12Data Pilot Layout Info
9478 The <table:data-pilot-layout-info> element describes how to layout the field.   9588 The <table:data-pilot-layout-info> element describes how to layout the field.
9479 <define name="table-data-pilot-layout-info">   9589 <define name="table-data-pilot-layout-info">
9480         <element name="table:data-pilot-layout-info">   9590         <element name="table:data-pilot-layout-info">
9481                 <ref name="table-data-pilot-layout-info-attlist"/>   9591                 <ref name="table-data-pilot-layout-info-attlist"/>
9482                 <empty/>   9592                 <empty/>
9483         </element>   9593         </element>
9484 </define>   9594 </define>
9485 Layout Mode   9595 Layout Mode
9486 The table:layout-mode attribute describes how to layout the field. It may have the following values:   9596 The table:layout-mode attribute describes how to layout the field. It may have the following values:
9487 tabular-layout: Tabular layout mode is the layout, where each member's name is on the same row as the first member from the following field. Subtotals are always shown below a member's data in this mode.   9597 tabular-layout: Tabular layout mode is the layout, where each member's name is on the same row as the first member from the following field. Subtotals are always shown below a member's data in this mode.
9488 outline-subtotals-top: In outline layout mode, the members from the following field start in the row below a member's name, like in traditional database reports. Subtotals are shown at the top (in the same row as the member's name). When the subtotals take up more than one row (manually selected, or because there are several data fields), they are always shown below the member's data, regardless of the setting.   9598 outline-subtotals-top: In outline layout mode, the members from the following field start in the row below a member's name, like in traditional database reports. Subtotals are shown at the top (in the same row as the member's name). When the subtotals take up more than one row (manually selected, or because there are several data fields), they are always shown below the member's data, regardless of the setting.
9489 outline-subtotals-bottom: Like outline-subtotals-top, except that subtotals are shown at the bottom (below the member's data, as in tabular layout mode).   9599 outline-subtotals-bottom: Like outline-subtotals-top, except that subtotals are shown at the bottom (below the member's data, as in tabular layout mode).
9490 <define name="table-data-pilot-layout-info-attlist" combine="interleave">   9600 <define name="table-data-pilot-layout-info-attlist" combine="interleave">
9491         <attribute name="table:layout-mode">   9601         <attribute name="table:layout-mode">
9492                 <choice>   9602                 <choice>
9493                         <value>tabular-layout</value>   9603                         <value>tabular-layout</value>
9494                         <value>outline-subtotals-top</value>   9604                         <value>outline-subtotals-top</value>
9495                         <value>outline-subtotals-bottom</value>   9605                         <value>outline-subtotals-bottom</value>
9496                 </choice>   9606                 </choice>
9497         </attribute>   9607         </attribute>
9498 </define>   9608 </define>
9499 Add empty lines   9609 Add empty lines
9500 If the attribute table:add-empty-lines has the value true, an empty row is inserted in the data pilot table after the data (including the subtotals) for each member of the field.   9610 If the attribute table:add-empty-lines has the value true, an empty row is inserted in the data pilot table after the data (including the subtotals) for each member of the field.
9501 <define name="table-data-pilot-layout-info-attlist" combine="interleave">   9611 <define name="table-data-pilot-layout-info-attlist" combine="interleave">
9502         <attribute name="table:add-empty-lines">   9612         <attribute name="table:add-empty-lines">
9503                 <ref name="boolean"/>   9613                 <ref name="boolean"/>
9504         </attribute>   9614         </attribute>
9505 </define>   9615 </define>
9506 8.8.13Data Pilot Field Reference   9616 8.8.13Data Pilot Field Reference
9507 The <table:data-pilot-field-reference> element describes data which can be used to modify the displayed values of data fields.   9617 The <table:data-pilot-field-reference> element describes data which can be used to modify the displayed values of data fields.
9508 <define name="table-data-pilot-field-reference">   9618 <define name="table-data-pilot-field-reference">
9509         <element name="table:data-pilot-field-reference">   9619         <element name="table:data-pilot-field-reference">
9510                 <ref name="table-data-pilot-field-reference-attlist"/>   9620                 <ref name="table-data-pilot-field-reference-attlist"/>
9511         </element>   9621         </element>
9512 </define>   9622 </define>
9513 Reference Field   9623 Reference Field
9514 The table:field-name attribute references a category field whose members influence the displayed values of the data field the <table:data-pilot-field-reference> is part of.   9624 The table:field-name attribute references a category field whose members influence the displayed values of the data field the <table:data-pilot-field-reference> is part of.
9515 <define name="table-data-pilot-field-reference-attlist" combine="interleave">   9625 <define name="table-data-pilot-field-reference-attlist" combine="interleave">
9516         <attribute name="table:field-name">   9626         <attribute name="table:field-name">
9517                 <ref name="string"/>   9627                 <ref name="string"/>
9518         </attribute>   9628         </attribute>
9519 </define>   9629 </define>
9520 Reference Member Type   9630 Reference Member Type
9521 The table:member-type attribute specifies the member of the referenced category field, whose value within the current data field has to be taken into account. If its value is next (previous) then the value of the data field for the next (previous) visible member of the referenced category field will be taken into account. If its value is named, then the table:member-name specifies the member whose value within the data field is taken into account.   9631 The table:member-type attribute specifies the member of the referenced category field, whose value within the current data field has to be taken into account. If its value is next (previous) then the value of the data field for the next (previous) visible member of the referenced category field will be taken into account. If its value is named, then the table:member-name specifies the member whose value within the data field is taken into account.
9522 For previous and next, empty members are skipped.   9632 For previous and next, empty members are skipped.
9523 <define name="table-data-pilot-field-reference-attlist" combine="interleave">   9633 <define name="table-data-pilot-field-reference-attlist" combine="interleave">
9524         <choice>   9634         <choice>
9525                 <group>   9635                 <group>
9526                         <attribute name="table:member-type">   9636                         <attribute name="table:member-type">
9527                                 <value>named</value>   9637                                 <value>named</value>
9528                         </attribute>   9638                         </attribute>
9529                         <attribute name="table:member-name">   9639                         <attribute name="table:member-name">
9530                                 <ref name="string"/>   9640                                 <ref name="string"/>
9531                         </attribute>   9641                         </attribute>
9532                 </group>   9642                 </group>
9533                 <attribute name="table:member-type">   9643                 <attribute name="table:member-type">
9534                         <choice>   9644                         <choice>
9535                                 <value>previous</value>   9645                                 <value>previous</value>
9536                                 <value>next</value>   9646                                 <value>next</value>
9537                         </choice>   9647                         </choice>
9538                 </attribute>   9648                 </attribute>
9539         </choice>   9649         </choice>
9540 </define>   9650 </define>
9541 Reference Type   9651 Reference Type
9542 The table:type attribute specifies the how the referenced category field influences the displayed values of the data field. It may have one of the following values:   9652 The table:type attribute specifies the how the referenced category field influences the displayed values of the data field. It may have one of the following values:
9543 none: This value means that the results in the data fields are displayed unmodified.   9653 none: This value means that the results in the data fields are displayed unmodified.
9544 member-difference: From each result, the value calculated for the category field member specified by the table:member-type and table:member-name attributes is subtracted.   9654 member-difference: From each result, the value calculated for the category field member specified by the table:member-type and table:member-name attributes is subtracted.
9545 member-percentage: Each result is divided by the value calculated for the category field member specified by the table:member-type and table:member-name attributes. Division by zero results in an error. Empty results are shown as “0”. If the table:member-type attribute has the value previous, “1” is displayed as first value. If the table:member-type attribute has the value next, “1” is displayed as last value.   9655 member-percentage: Each result is divided by the value calculated for the category field member specified by the table:member-type and table:member-name attributes. Division by zero results in an error. Empty results are shown as “0”. If the table:member-type attribute has the value previous, “1” is displayed as first value. If the table:member-type attribute has the value next, “1” is displayed as last value.
9546 member-percentage-difference: From each result, the value calculated for the category field member specified by the table:member-type and table:member-name attributes is subtracted, and the result is divided by this value again. Division by zero results in an error. Otherwise, the rules for member-difference apply.   9656 member-percentage-difference: From each result, the value calculated for the category field member specified by the table:member-type and table:member-name attributes is subtracted, and the result is divided by this value again. Division by zero results in an error. Otherwise, the rules for member-difference apply.
9547 running-total: Each result is added to the sum of the results for preceding members in the referenced category field, in the reference field's sort order, and the total sum is shown.   9657 running-total: Each result is added to the sum of the results for preceding members in the referenced category field, in the reference field's sort order, and the total sum is shown.
9548 row-percentage: Each result is divided by the total result for its row in the data pilot table. If there are several data fields, the total for the result's data field is used. If there are subtotals with manually selected summary functions, the total is calculated with the data field's summary function. Division by zero results in an error.   9658 row-percentage: Each result is divided by the total result for its row in the data pilot table. If there are several data fields, the total for the result's data field is used. If there are subtotals with manually selected summary functions, the total is calculated with the data field's summary function. Division by zero results in an error.
9549 column-percentage: Same as row-percentage, but the total for the result's column is used.   9659 column-percentage: Same as row-percentage, but the total for the result's column is used.
9550 total-percentage: Same as row-percentage, but the grand total for the result's data field is used.   9660 total-percentage: Same as row-percentage, but the grand total for the result's data field is used.
9551 index: The row and column totals and the grand total are calculated as described above, and then are used to calculate the following expression: (original result * grand total ) / ( row total * column total ).Division by zero results in an error.   9661 index: The row and column totals and the grand total are calculated as described above, and then are used to calculate the following expression: (original result * grand total ) / ( row total * column total ).Division by zero results in an error.
9552 <define name="table-data-pilot-field-reference-attlist" combine="interleave">   9662 <define name="table-data-pilot-field-reference-attlist" combine="interleave">
9553         <attribute name="table:type">   9663         <attribute name="table:type">
9554                 <choice>   9664                 <choice>
9555                         <value>none</value>   9665                         <value>none</value>
9556                         <value>member-difference</value>   9666                         <value>member-difference</value>
9557                         <value>member-percentage</value>   9667                         <value>member-percentage</value>
9558                         <value>member-percentage-difference</value>   9668                         <value>member-percentage-difference</value>
9559                         <value>running-total</value>   9669                         <value>running-total</value>
9560                         <value>row-percentage</value>   9670                         <value>row-percentage</value>
9561                         <value>column-percentage</value>   9671                         <value>column-percentage</value>
9562                         <value>total-percentage</value>   9672                         <value>total-percentage</value>
9563                         <value>index</value>   9673                         <value>index</value>
9564                 </choice>   9674                 </choice>
9565         </attribute>   9675         </attribute>
9566 </define>   9676 </define>
9567 8.8.14Data Pilot Groups   9677 8.8.14Data Pilot Groups
9568 The <table:data-pilot-groups> element specifies that a data pilot field is a group field. A group field allows grouping of other fields. For  example, if a data pilot table contains a column field with the name “city” which has the members “Berlin”, “Munich”, “Frankfurt”, “Hamburg”, “London”, “Manchester”, “Hastings” and “Liverpool”, then one may want to group the cities by their countries. To do so, a group field with name “city2” could be added to the data pilot table, that contains two groups called “England” and “Germany”. Each group here contains a list of the names of its members. In this example, the group “England” would contain “London”, “Manchester”, “Hastings” and “Liverpool”. The group “Germany” would contain “Berlin”, “Munich”, “Frankfurt” and “Hamburg”.   9678 The <table:data-pilot-groups> element specifies that a data pilot field is a group field. A group field allows grouping of other fields. For  example, if a data pilot table contains a column field with the name “city” which has the members “Berlin”, “Munich”, “Frankfurt”, “Hamburg”, “London”, “Manchester”, “Hastings” and “Liverpool”, then one may want to group the cities by their countries. To do so, a group field with name “city2” could be added to the data pilot table, that contains two groups called “England” and “Germany”. Each group here contains a list of the names of its members. In this example, the group “England” would contain “London”, “Manchester”, “Hastings” and “Liverpool”. The group “Germany” would contain “Berlin”, “Munich”, “Frankfurt” and “Hamburg”.
9569 Grouping may also take place for numeric or date values.   9679 Grouping may also take place for numeric or date values.
9570 <define name="table-data-pilot-groups">   9680 <define name="table-data-pilot-groups">
9571         <element name="table:data-pilot-groups">   9681         <element name="table:data-pilot-groups">
9572                 <ref name="table-data-pilot-groups-attlist"/>   9682                 <ref name="table-data-pilot-groups-attlist"/>
9573                 <oneOrMore>   9683                 <oneOrMore>
9574                         <ref name="table-data-pilot-group"/>   9684                         <ref name="table-data-pilot-group"/>
9575                 </oneOrMore>   9685                 </oneOrMore>
9576         </element>   9686         </element>
9577 </define>   9687 </define>
9578 Source Field Name   9688 Source Field Name
9579 The table:source-field-name attribute references the field containing the data that is grouped, if this data differs from the data that is referenced by the field itself.   9689 The table:source-field-name attribute references the field containing the data that is grouped, if this data differs from the data that is referenced by the field itself.
9580 <define name="table-data-pilot-groups-attlist" combine="interleave">   9690 <define name="table-data-pilot-groups-attlist" combine="interleave">
9581         <attribute name="table:source-field-name">   9691         <attribute name="table:source-field-name">
9582                 <ref name="string"/>   9692                 <ref name="string"/>
9583         </attribute>   9693         </attribute>
9584 </define>   9694 </define>
9585 Start   9695 Start
9586 If numeric or date values are grouped, the table:date-start and table:start attributes specify the start value for the grouping. All values that are lower than the start value are contained in a single group, while values that are equal to or higher than the start value are grouped as specified by the table:grouped-by and table:step attributes.   9696 If numeric or date values are grouped, the table:date-start and table:start attributes specify the start value for the grouping. All values that are lower than the start value are contained in a single group, while values that are equal to or higher than the start value are grouped as specified by the table:grouped-by and table:step attributes.
9587 If the attribute's value is auto, the lowest value of the field is taken as start value.   9697 If the attribute's value is auto, the lowest value of the field is taken as start value.
9588 <define name="table-data-pilot-groups-attlist" combine="interleave">   9698 <define name="table-data-pilot-groups-attlist" combine="interleave">
9589         <choice>   9699         <choice>
9590                 <attribute name="table:date-start">   9700                 <attribute name="table:date-start">
9591                         <choice>   9701                         <choice>
9592                                 <ref name="dateOrDateTime"/>   9702                                 <ref name="dateOrDateTime"/>
9593                                 <value>auto</value>   9703                                 <value>auto</value>
9594                         </choice>   9704                         </choice>
9595                 </attribute>   9705                 </attribute>
9596                 <attribute name="table:start">   9706                 <attribute name="table:start">
9597                         <choice>   9707                         <choice>
9598                                 <ref name="double"/>   9708                                 <ref name="double"/>
9599                                 <value>auto</value>   9709                                 <value>auto</value>
9600                         </choice>   9710                         </choice>
9601                 </attribute>   9711                 </attribute>
9602         </choice>   9712         </choice>
9603 </define>   9713 </define>
9604 End   9714 End
9605 If numeric or date values are grouped, the table:date-end and table:end attributes specify the end value for the grouping. All values that are higher than the end value are contained in a single group, while values that are equal to or lower than the end value are grouped as specified by the table:grouped-by and table:step attributes.   9715 If numeric or date values are grouped, the table:date-end and table:end attributes specify the end value for the grouping. All values that are higher than the end value are contained in a single group, while values that are equal to or lower than the end value are grouped as specified by the table:grouped-by and table:step attributes.
9606 If the attribute's value is auto, the highest value of the field is taken as end value.   9716 If the attribute's value is auto, the highest value of the field is taken as end value.
9607 <define name="table-data-pilot-groups-attlist" combine="interleave">   9717 <define name="table-data-pilot-groups-attlist" combine="interleave">
9608         <choice>   9718         <choice>
9609                 <attribute name="table:date-end">   9719                 <attribute name="table:date-end">
9610                         <choice>   9720                         <choice>
9611                                 <ref name="dateOrDateTime"/>   9721                                 <ref name="dateOrDateTime"/>
9612                                 <value>auto</value>   9722                                 <value>auto</value>
9613                         </choice>   9723                         </choice>
9614                 </attribute>   9724                 </attribute>
9615                 <attribute name="table:end">   9725                 <attribute name="table:end">
9616                         <choice>   9726                         <choice>
9617                                 <ref name="double"/>   9727                                 <ref name="double"/>
9618                                 <value>auto</value>   9728                                 <value>auto</value>
9619                         </choice>   9729                         </choice>
9620                 </attribute>   9730                 </attribute>
9621         </choice>   9731         </choice>
9622 </define>   9732 </define>
9623 Step   9733 Step
9624 The table:step attribute specifies the grouping of numeric values, by specifying the distance between the groups. For example, if the table:start attribute for the grouping has the value 5, and the table:step attribute has the value 2, all values that are equal to or higher than 5, but also lower than 7 are in one group. All values that are equal to or higher than 7, but also lower than 9 are in next group, and so on, until the end value is reached.   9734 The table:step attribute specifies the grouping of numeric values, by specifying the distance between the groups. For example, if the table:start attribute for the grouping has the value 5, and the table:step attribute has the value 2, all values that are equal to or higher than 5, but also lower than 7 are in one group. All values that are equal to or higher than 7, but also lower than 9 are in next group, and so on, until the end value is reached.
9625 <define name="table-data-pilot-groups-attlist" combine="interleave">   9735 <define name="table-data-pilot-groups-attlist" combine="interleave">
9626         <attribute name="table:step">   9736         <attribute name="table:step">
9627                 <ref name="double"/>   9737                 <ref name="double"/>
9628         </attribute>   9738         </attribute>
9629 </define>   9739 </define>
9630 Grouped By   9740 Grouped By
9631 The table:grouped-by attribute specifies the grouping of the date values. Date values can be grouped by seconds, minutes, hours, days, months, quarters or years. It date values are for instance grouped by minutes,  all dates or times that are within the same minute are within one group. That, is if the dates 2004-08-27T12:34:46, 2004-08-27T12:34:56 and 2004-08-27T12:35:46 are given, the first two would be within one group, while the last date would be a group of its own.   9741 The table:grouped-by attribute specifies the grouping of the date values. Date values can be grouped by seconds, minutes, hours, days, months, quarters or years. It date values are for instance grouped by minutes,  all dates or times that are within the same minute are within one group. That, is if the dates 2004-08-27T12:34:46, 2004-08-27T12:34:56 and 2004-08-27T12:35:46 are given, the first two would be within one group, while the last date would be a group of its own.
9632 <define name="table-data-pilot-groups-attlist" combine="interleave">   9742 <define name="table-data-pilot-groups-attlist" combine="interleave">
9633         <attribute name="table:grouped-by">   9743         <attribute name="table:grouped-by">
9634                 <choice>   9744                 <choice>
9635                         <value>seconds</value>   9745                         <value>seconds</value>
9636                         <value>minutes</value>   9746                         <value>minutes</value>
9637                         <value>hours</value>   9747                         <value>hours</value>
9638                         <value>days</value>   9748                         <value>days</value>
9639                         <value>months</value>   9749                         <value>months</value>
9640                         <value>quarters</value>   9750                         <value>quarters</value>
9641                         <value>years</value>   9751                         <value>years</value>
9642                 </choice>   9752                 </choice>
9643         </attribute>   9753         </attribute>
9644 </define>   9754 </define>
9645 8.8.15Data Pilot Group   9755 8.8.15Data Pilot Group
9646 If grouping takes place by specifying the member names, then the <table:data-pilot-group> element specifies the member names of a single group.   9756 If grouping takes place by specifying the member names, then the <table:data-pilot-group> element specifies the member names of a single group.
9647 <define name="table-data-pilot-group">   9757 <define name="table-data-pilot-group">
9648         <element name="table:data-pilot-group">   9758         <element name="table:data-pilot-group">
9649                 <ref name="table-data-pilot-group-attlist"/>   9759                 <ref name="table-data-pilot-group-attlist"/>
9650                 <oneOrMore>   9760                 <oneOrMore>
9651                         <ref name="table-data-pilot-group-member"/>   9761                         <ref name="table-data-pilot-group-member"/>
9652                 </oneOrMore>   9762                 </oneOrMore>
9653         </element>   9763         </element>
9654 </define>   9764 </define>
9655 Name   9765 Name
9656 The table:name attribute specifies the name of the group.   9766 The table:name attribute specifies the name of the group.
9657 <define name="table-data-pilot-group-attlist" combine="interleave">   9767 <define name="table-data-pilot-group-attlist" combine="interleave">
9658         <attribute name="table:name">   9768         <attribute name="table:name">
9659                 <ref name="string"/>   9769                 <ref name="string"/>
9660         </attribute>   9770         </attribute>
9661 </define>   9771 </define>
9662 8.8.16Data Pilot Group Member   9772 8.8.16Data Pilot Group Member
9663 The <table:data-pilot-group-member> element specifies the name of a single group member.   9773 The <table:data-pilot-group-member> element specifies the name of a single group member.
9664 <define name="table-data-pilot-group-member">   9774 <define name="table-data-pilot-group-member">
9665         <element name="table:data-pilot-group-member">   9775         <element name="table:data-pilot-group-member">
9666                 <ref name="table-data-pilot-group-member-attlist"/>   9776                 <ref name="table-data-pilot-group-member-attlist"/>
9667         </element>   9777         </element>
9668 </define>   9778 </define>
9669 Name   9779 Name
9670 The table:name attribute specifies the name of the member.   9780 The table:name attribute specifies the name of the member.
9671 <define name="table-data-pilot-group-member-attlist" combine="interleave">   9781 <define name="table-data-pilot-group-member-attlist" combine="interleave">
9672         <attribute name="table:name">   9782         <attribute name="table:name">
9673                 <ref name="string"/>   9783                 <ref name="string"/>
9674         </attribute>   9784         </attribute>
9675 </define>   9785 </define>
9676 8.9Consolidation   9786 8.9Consolidation
9677 A consolidation combines data from several independent table ranges. A new table range is calculated by applying a mathematical function to all cells in the source table ranges that have the same relative address within these ranges. A consolidation is defined by the <table:consolidation> element.   9787 A consolidation combines data from several independent table ranges. A new table range is calculated by applying a mathematical function to all cells in the source table ranges that have the same relative address within these ranges. A consolidation is defined by the <table:consolidation> element.
9678 <define name="table-consolidation">   9788 <define name="table-consolidation">
9679         <element name="table:consolidation">   9789         <element name="table:consolidation">
9680                 <ref name="table-consolidation-attlist"/>   9790                 <ref name="table-consolidation-attlist"/>
9681                 <empty/>   9791                 <empty/>
9682         </element>   9792         </element>
9683 </define>   9793 </define>
9684 The attributes that may be associated with this element are:   9794 The attributes that may be associated with this element are:
9685 Function   9795 Function
9686 Source cell range addresses   9796 Source cell range addresses
9687 Target cell address   9797 Target cell address
9688 Use label   9798 Use label
9689 Link to source data   9799 Link to source data
9690 Function   9800 Function
9691 The table:function attribute contains the function which is used to consolidate the data. Possible functions are auto, average, count, countnums, max, min, product, stdev, stdevp, sum, var and varp.   9801 The table:function attribute contains the function which is used to consolidate the data. Possible functions are auto, average, count, countnums, max, min, product, stdev, stdevp, sum, var and varp.
9692 <define name="table-consolidation-attlist" combine="interleave">   9802 <define name="table-consolidation-attlist" combine="interleave">
9693         <attribute name="table:function">         9803         <attribute name="table:function">      
9694                 <choice>   9804                 <choice>
9695                         <value>auto</value>   9805                         <value>auto</value>
9696                         <value>average</value>   9806                         <value>average</value>
9697                         <value>count</value>   9807                         <value>count</value>
9698                         <value>countnums</value>   9808                         <value>countnums</value>
9699                         <value>max</value>   9809                         <value>max</value>
9700                         <value>min</value>   9810                         <value>min</value>
9701                         <value>product</value>   9811                         <value>product</value>
9702                         <value>stdev</value>   9812                         <value>stdev</value>
9703                         <value>stdevp</value>   9813                         <value>stdevp</value>
9704                         <value>sum</value>   9814                         <value>sum</value>
9705                         <value>var</value>   9815                         <value>var</value>
9706                         <value>varp</value>   9816                         <value>varp</value>
9707                         <ref name="string"/>   9817                         <ref name="string"/>
9708                 </choice>   9818                 </choice>
9709         </attribute>   9819         </attribute>
9710 </define>   9820 </define>
9711 Source Cell Range Addresses   9821 Source Cell Range Addresses
9712 The table:source-cell-range-addresses attribute contains a list of cell range addresses that specify the source cell ranges.   9822 The table:source-cell-range-addresses attribute contains a list of cell range addresses that specify the source cell ranges.
9713 <define name="table-consolidation-attlist" combine="interleave">   9823 <define name="table-consolidation-attlist" combine="interleave">
9714         <attribute name="table:source-cell-range-addresses">      9824         <attribute name="table:source-cell-range-addresses">   
9715                 <ref name="cellRangeAddressList"/>   9825                 <ref name="cellRangeAddressList"/>
9716         </attribute>   9826         </attribute>
9717 </define>   9827 </define>
9718 Target Cell Address   9828 Target Cell Address
9719 The table:target-cell-address attribute contains the target cell address.   9829 The table:target-cell-address attribute contains the target cell address.
9720 <define name="table-consolidation-attlist" combine="interleave">   9830 <define name="table-consolidation-attlist" combine="interleave">
9721         <attribute name="table:target-cell-address">      9831         <attribute name="table:target-cell-address">   
9722                 <ref name="cellAddress"/>   9832                 <ref name="cellAddress"/>
9723         </attribute>   9833         </attribute>
9724 </define>   9834 </define>
9725 Use Label   9835 Use Label
9726 The table:use-label attribute specifies whether or not labels should be used by the consolidation for rows, columns or both. Possible values are none, column, row and both. If labels are used for rows or columns, the mathematical functions is applied to cells with equally labeled rows or columns rather than to cells with the same relative cell address.   9836 The table:use-label attribute specifies whether or not labels should be used by the consolidation for rows, columns or both. Possible values are none, column, row and both. If labels are used for rows or columns, the mathematical functions is applied to cells with equally labeled rows or columns rather than to cells with the same relative cell address.
9727 <define name="table-consolidation-attlist" combine="interleave">   9837 <define name="table-consolidation-attlist" combine="interleave">
9728         <optional>   9838         <optional>
9729                 <attribute name="table:use-labels" a:defaultValue="none">   9839                 <attribute name="table:use-labels" a:defaultValue="none">
9730                         <choice>   9840                         <choice>
9731                                 <value>none</value>   9841                                 <value>none</value>
9732                                 <value>row</value>   9842                                 <value>row</value>
9733                                 <value>column</value>   9843                                 <value>column</value>
9734                                 <value>both</value>   9844                                 <value>both</value>
9735                         </choice>   9845                         </choice>
9736                 </attribute>   9846                 </attribute>
9737         </optional>   9847         </optional>
9738 </define>   9848 </define>
9739 Link to Source Data   9849 Link to Source Data
9740 The table:link-to-source-data attribute specifies whether the data in the consolidation table range should be linked to the source data, so that it is automatically updated if any changes are made to the source data.   9850 The table:link-to-source-data attribute specifies whether the data in the consolidation table range should be linked to the source data, so that it is automatically updated if any changes are made to the source data.
9741 <define name="table-consolidation-attlist" combine="interleave">   9851 <define name="table-consolidation-attlist" combine="interleave">
9742         <optional>   9852         <optional>
9743                 <attribute name="table:link-to-source-data" a:defaultValue="false">   9853                 <attribute name="table:link-to-source-data" a:defaultValue="false">
9744                         <ref name="boolean"/>   9854                         <ref name="boolean"/>
9745                 </attribute>   9855                 </attribute>
9746         </optional>   9856         </optional>
9747 </define>   9857 </define>
9748 8.10DDE Links   9858 8.10DDE Links
9749 The <table:dde-links> container element stores all DDE links within a spreadsheet document. Every link contains the DDE Source and the data of the last connection. See section 12.6.3 for details.   9859 The <table:dde-links> container element stores all DDE links within a spreadsheet document. Every link contains the DDE Source and the data of the last connection. See section 12.6.3 for details.
    -+ 9860 See section 12.6 for the use of DDE connections.
9750 <define name="table-dde-links"> = 9861 <define name="table-dde-links">
9751         <element name="table:dde-links">   9862         <element name="table:dde-links">
9752                 <oneOrMore>   9863                 <oneOrMore>
9753                         <ref name="table-dde-link"/>   9864                         <ref name="table-dde-link"/>
9754                 </oneOrMore>   9865                 </oneOrMore>
9755         </element>   9866         </element>
9756 </define>   9867 </define>
9757 8.11Change Tracking in Spreadsheets   9868 8.11Change Tracking in Spreadsheets
9758 Within spreadsheet documents, changes to tables can be tracked. This section describes how this change tracking information is represented.   9869 Within spreadsheet documents, changes to tables can be tracked. This section describes how this change tracking information is represented.
9759 Change tracking of tables is not supported for text documents.   9870 Change tracking of tables is not supported for text documents.
9760 8.11.1Tracked Changes   9871 8.11.1Tracked Changes
9761 All changes that have been applied to a spreadsheet document are stored in a list. The list contains an element for each change made to the document. To track the changes to a spreadsheet document, the <table:tracked-changes> element must be present.   9872 All changes that have been applied to a spreadsheet document are stored in a list. The list contains an element for each change made to the document. To track the changes to a spreadsheet document, the <table:tracked-changes> element must be present.
9762 <define name="table-tracked-changes">   9873 <define name="table-tracked-changes">
9763         <element name="table:tracked-changes">   9874         <element name="table:tracked-changes">
9764                 <ref name="table-tracked-changes-attlist"/>   9875                 <ref name="table-tracked-changes-attlist"/>
9765                 <zeroOrMore>   9876                 <zeroOrMore>
9766                         <choice>   9877                         <choice>
9767                                 <ref name="table-cell-content-change"/>   9878                                 <ref name="table-cell-content-change"/>
9768                                 <ref name="table-insertion"/>   9879                                 <ref name="table-insertion"/>
9769                                 <ref name="table-deletion"/>   9880                                 <ref name="table-deletion"/>
9770                                 <ref name="table-movement"/>   9881                                 <ref name="table-movement"/>
9771                         </choice>   9882                         </choice>
9772                 </zeroOrMore>   9883                 </zeroOrMore>
9773         </element>   9884         </element>
9774 </define>   9885 </define>
9775 Track Changes   9886 Track Changes
9776 The table:track-changes attribute specifies whether or not the change tracking is enabled.   9887 The table:track-changes attribute specifies whether or not the change tracking is enabled.
9777 <define name="table-tracked-changes-attlist" combine="interleave">   9888 <define name="table-tracked-changes-attlist" combine="interleave">
9778         <optional>   9889         <optional>
9779                 <attribute name="table:track-changes" a:defaultValue="false">   9890                 <attribute name="table:track-changes" a:defaultValue="false">
9780                         <ref name="boolean"/>   9891                         <ref name="boolean"/>
9781                 </attribute>   9892                 </attribute>
9782         </optional>   9893         </optional>
9783 </define>   9894 </define>
9784 8.11.2Insertion   9895 8.11.2Insertion
9785 The <table:insertion> element contains the information that is required to identify any insertion of content. This content can be one or more rows, one or more columns, or a table.   9896 The <table:insertion> element contains the information that is required to identify any insertion of content. This content can be one or more rows, one or more columns, or a table.
9786 <define name="table-insertion">   9897 <define name="table-insertion">
9787         <element name="table:insertion">   9898         <element name="table:insertion">
9788                 <ref name="table-insertion-attlist"/>   9899                 <ref name="table-insertion-attlist"/>
9789                 <ref name="common-table-change-attlist"/>   9900                 <ref name="common-table-change-attlist"/>
9790                 <ref name="office-change-info"/>   9901                 <ref name="office-change-info"/>
9791                 <optional>   9902                 <optional>
9792                         <ref name="table-dependencies"/>   9903                         <ref name="table-dependencies"/>
9793                 </optional>   9904                 </optional>
9794                 <optional>   9905                 <optional>
9795                         <ref name="table-deletions"/>   9906                         <ref name="table-deletions"/>
9796                 </optional>   9907                 </optional>
9797         </element>   9908         </element>
9798 </define>   9909 </define>
9799 The attributes that may be associated with this element are:   9910 The attributes that may be associated with this element are:
9800 ID (see section 8.11.18)   9911 ID (see section 8.11.18)
9801 Acceptance State (see section 8.11.18)   9912 Acceptance State (see section 8.11.18)
9802 Rejecting Change ID (see section 8.11.18)   9913 Rejecting Change ID (see section 8.11.18)
9803 Type   9914 Type
9804 Position   9915 Position
9805 Count   9916 Count
9806 Table   9917 Table
9807 Type   9918 Type
9808 The table:type attribute specifies the type of the insertion. It can be row, column or table.   9919 The table:type attribute specifies the type of the insertion. It can be row, column or table.
9809 <define name="table-insertion-attlist" combine="interleave">   9920 <define name="table-insertion-attlist" combine="interleave">
9810         <attribute name="table:type">   9921         <attribute name="table:type">
9811                 <choice>   9922                 <choice>
9812                         <value>row</value>   9923                         <value>row</value>
9813                         <value>column</value>   9924                         <value>column</value>
9814                         <value>table</value>   9925                         <value>table</value>
9815                 </choice>   9926                 </choice>
9816         </attribute>   9927         </attribute>
9817 </define>   9928 </define>
9818 Position   9929 Position
9819 The table:position attribute specifies the position where the insertion was made in the table. Depending on the insertion type, It is either the number of a row, a column or a table.   9930 The table:position attribute specifies the position where the insertion was made in the table. Depending on the insertion type, It is either the number of a row, a column or a table.
9820 <define name="table-insertion-attlist" combine="interleave">   9931 <define name="table-insertion-attlist" combine="interleave">
9821         <attribute name="table:position">   9932         <attribute name="table:position">
9822                 <ref name="integer"/>   9933                 <ref name="integer"/>
9823         </attribute>   9934         </attribute>
9824 </define>   9935 </define>
9825 Count   9936 Count
9826 The table:count attribute specifies the count of inserted rows, columns or tables.   9937 The table:count attribute specifies the count of inserted rows, columns or tables.
9827 <define name="table-insertion-attlist" combine="interleave">   9938 <define name="table-insertion-attlist" combine="interleave">
9828         <optional>   9939         <optional>
9829                 <attribute name="table:count" a:defaultValue="1">   9940                 <attribute name="table:count" a:defaultValue="1">
9830                         <ref name="positiveInteger"/>   9941                         <ref name="positiveInteger"/>
9831                 </attribute>   9942                 </attribute>
9832         </optional>   9943         </optional>
9833 </define>   9944 </define>
9834 Table   9945 Table
9835 The table:table attribute specifies the number of the table where the insertion took place. This attribute only exists for column and row insertions.   9946 The table:table attribute specifies the number of the table where the insertion took place. This attribute only exists for column and row insertions.
9836 <define name="table-insertion-attlist" combine="interleave">   9947 <define name="table-insertion-attlist" combine="interleave">
9837         <optional>   9948         <optional>
9838                 <attribute name="table:table">   9949                 <attribute name="table:table">
9839                         <ref name="integer"/>   9950                         <ref name="integer"/>
9840                 </attribute>   9951                 </attribute>
9841         </optional>   9952         </optional>
9842 </define>   9953 </define>
9843 Example: Insertion of text in a cell   9954 Example: Insertion of text in a cell
9844 <table:tracked-changes>   9955 <table:tracked-changes>
9845         <table:insertion table:id="c001" table:acceptance-state="pending"   9956         <table:insertion table:id="c001" table:acceptance-state="pending"
9846                          table:type="column" table:position="5">   9957                          table:type="column" table:position="5">
9847                 <office:change-info>   9958                 <office:change-info>
9848                         <dc:creator>Sascha Ballach</dc:creator>   9959                         <dc:creator>Sascha Ballach</dc:creator>
9849                         <dc:date>1999-55-18T12:56:04</dc:date>   9960                         <dc:date>1999-55-18T12:56:04</dc:date>
9850                 </office:change-info>   9961                 </office:change-info>
9851         </table:insertion>   9962         </table:insertion>
9852 </table:tracked-changes>   9963 </table:tracked-changes>
9853 8.11.3Dependencies   9964 8.11.3Dependencies
9854 The <table:dependencies> element contains the information on which other tracked changes a tracked change depends. Every element of the tracked-changes can contain a <table:dependencies> element.   9965 The <table:dependencies> element contains the information on which other tracked changes a tracked change depends. Every element of the tracked-changes can contain a <table:dependencies> element.
9855 <define name="table-dependencies">   9966 <define name="table-dependencies">
9856         <element name="table:dependencies">   9967         <element name="table:dependencies">
9857                 <oneOrMore>   9968                 <oneOrMore>
9858                         <ref name="table-dependency"/>   9969                         <ref name="table-dependency"/>
9859                 </oneOrMore>   9970                 </oneOrMore>
9860         </element>   9971         </element>
9861 </define>   9972 </define>
9862 8.11.4Dependence   9973 8.11.4Dependence
9863 The <table:dependency> element contains the information about one change action on which the parent element depends. The change action on which the current depends is referenced by an id.   9974 The <table:dependency> element contains the information about one change action on which the parent element depends. The change action on which the current depends is referenced by an id.
9864 <define name="table-dependency">   9975 <define name="table-dependency">
9865         <element name="table:dependency">   9976         <element name="table:dependency">
9866                 <attribute name="table:id">   9977                 <attribute name="table:id">
9867                         <ref name="string"/>   9978                         <ref name="string"/>
9868                 </attribute>   9979                 </attribute>
9869                 <empty/>   9980                 <empty/>
9870         </element>   9981         </element>
9871 </define>   9982 </define>
9872 8.11.5Deletions   9983 8.11.5Deletions
9873 The <table:deletions> element contains all deletions which are performed while tracking a single change to a table.   9984 The <table:deletions> element contains all deletions which are performed while tracking a single change to a table.
9874 <define name="table-deletions">   9985 <define name="table-deletions">
9875         <element name="table:deletions">   9986         <element name="table:deletions">
9876                 <oneOrMore>   9987                 <oneOrMore>
9877                         <choice>   9988                         <choice>
9878                                 <ref name="table-cell-content-deletion"/>   9989                                 <ref name="table-cell-content-deletion"/>
9879                                 <ref name="table-change-deletion"/>   9990                                 <ref name="table-change-deletion"/>
9880                         </choice>   9991                         </choice>
9881                 </oneOrMore>   9992                 </oneOrMore>
9882         </element>   9993         </element>
9883 </define>   9994 </define>
9884 8.11.6Cell Content Deletion   9995 8.11.6Cell Content Deletion
9885 The <table:cell-content-deletion> element specifies that a cell content has been deleted. It contains the address of the effected cell and its former content. If a text:id attribute is present, it specifies the id of a previously tracked change for the cell that gets deleted by the current change.   9996 The <table:cell-content-deletion> element specifies that a cell content has been deleted. It contains the address of the effected cell and its former content. If a text:id attribute is present, it specifies the id of a previously tracked change for the cell that gets deleted by the current change.
9886 <define name="table-cell-content-deletion">   9997 <define name="table-cell-content-deletion">
9887         <element name="table:cell-content-deletion">   9998         <element name="table:cell-content-deletion">
9888                 <optional>   9999                 <optional>
9889                         <attribute name="table:id">   10000                         <attribute name="table:id">
9890                                 <ref name="string"/>   10001                                 <ref name="string"/>
9891                         </attribute>   10002                         </attribute>
9892                 </optional>   10003                 </optional>
9893                 <optional>   10004                 <optional>
9894                         <ref name="table-cell-address"/>   10005                         <ref name="table-cell-address"/>
9895                 </optional>   10006                 </optional>
9896                 <optional>   10007                 <optional>
9897                         <ref name="table-change-track-table-cell"/>   10008                         <ref name="table-change-track-table-cell"/>
9898                 </optional>   10009                 </optional>
9899         </element>   10010         </element>
9900 </define>   10011 </define>
9901 8.11.7Change Deletion   10012 8.11.7Change Deletion
9902 The <table:change-deletion> element specified the id of a previously tracked change that gets deleted by the current change.   10013 The <table:change-deletion> element specified the id of a previously tracked change that gets deleted by the current change.
9903 <define name="table-change-deletion">   10014 <define name="table-change-deletion">
9904         <element name="table:change-deletion">   10015         <element name="table:change-deletion">
9905                 <optional>   10016                 <optional>
9906                         <attribute name="table:id">   10017                         <attribute name="table:id">
9907                                 <ref name="string"/>   10018                                 <ref name="string"/>
9908                         </attribute>   10019                         </attribute>
9909                 </optional>   10020                 </optional>
9910                 <empty/>   10021                 <empty/>
9911         </element>   10022         </element>
9912 </define>   10023 </define>
9913 8.11.8Deletion   10024 8.11.8Deletion
9914 A <table:deletion> element contains content that was deleted while change tracking was enabled. The content of a cell that was deleted is either contained in the <table:dependencies>, or in the <table:deletions> element.   10025 A <table:deletion> element contains content that was deleted while change tracking was enabled. The content of a cell that was deleted is either contained in the <table:dependencies>, or in the <table:deletions> element.
9915 <define name="table-deletion">   10026 <define name="table-deletion">
9916         <element name="table:deletion">   10027         <element name="table:deletion">
9917                 <ref name="table-deletion-attlist"/>   10028                 <ref name="table-deletion-attlist"/>
9918                 <ref name="common-table-change-attlist"/>   10029                 <ref name="common-table-change-attlist"/>
9919                 <ref name="office-change-info"/>   10030                 <ref name="office-change-info"/>
9920                 <optional>   10031                 <optional>
9921                         <ref name="table-dependencies"/>   10032                         <ref name="table-dependencies"/>
9922                 </optional>   10033                 </optional>
9923                 <optional>   10034                 <optional>
9924                         <ref name="table-deletions"/>   10035                         <ref name="table-deletions"/>
9925                 </optional>   10036                 </optional>
9926                 <optional>   10037                 <optional>
9927                         <ref name="table-cut-offs"/>   10038                         <ref name="table-cut-offs"/>
9928                 </optional>   10039                 </optional>
9929         </element>   10040         </element>
9930 </define>   10041 </define>
9931 The attributes that may be associated with this element are:   10042 The attributes that may be associated with this element are:
9932 ID (see section 8.11.18)   10043 ID (see section 8.11.18)
9933 Acceptance State (see section 8.11.18)   10044 Acceptance State (see section 8.11.18)
9934 Rejecting Change ID (see section 8.11.18)   10045 Rejecting Change ID (see section 8.11.18)
9935 Type   10046 Type
9936 Position   10047 Position
9937 Table   10048 Table
9938 Multi Deletion Spanned   10049 Multi Deletion Spanned
9939 Type   10050 Type
9940 The table:type attribute specifies the type of the deletion. It can be row, column or table.   10051 The table:type attribute specifies the type of the deletion. It can be row, column or table.
9941 <define name="table-deletion-attlist" combine="interleave">   10052 <define name="table-deletion-attlist" combine="interleave">
9942         <attribute name="table:type">   10053         <attribute name="table:type">
9943                 <choice>   10054                 <choice>
9944                         <value>row</value>   10055                         <value>row</value>
9945                         <value>column</value>   10056                         <value>column</value>
9946                         <value>table</value>   10057                         <value>table</value>
9947                 </choice>   10058                 </choice>
9948         </attribute>   10059         </attribute>
9949 </define>   10060 </define>
9950 Position   10061 Position
9951 The table:position attribute specifies the position where the deletion was made in the table. Depending on the deletion type, It is either the number of a row, a column or a table.   10062 The table:position attribute specifies the position where the deletion was made in the table. Depending on the deletion type, It is either the number of a row, a column or a table.
9952 <define name="table-deletion-attlist" combine="interleave">   10063 <define name="table-deletion-attlist" combine="interleave">
9953         <attribute name="table:position">   10064         <attribute name="table:position">
9954                 <ref name="integer"/>   10065                 <ref name="integer"/>
9955         </attribute>   10066         </attribute>
9956 </define>   10067 </define>
9957 Table   10068 Table
9958 The table:table attribute specifies the number of the table where the deletion took place. This attribute only exists for column and row deletions.   10069 The table:table attribute specifies the number of the table where the deletion took place. This attribute only exists for column and row deletions.
9959 <define name="table-deletion-attlist" combine="interleave">   10070 <define name="table-deletion-attlist" combine="interleave">
9960         <optional>   10071         <optional>
9961                 <attribute name="table:table">   10072                 <attribute name="table:table">
9962                         <ref name="integer"/>   10073                         <ref name="integer"/>
9963                 </attribute>   10074                 </attribute>
9964         </optional>   10075         </optional>
9965 </define>   10076 </define>
9966 Multi Deletion Spanned   10077 Multi Deletion Spanned
9967 If multiple columns or rows were deleted simultaneously, each deleted row or column gets its own <table:deletion> element. The element of the first deleted row or column in this case has to carry a table:multi-deletion-spanned attribute that specifies the total number of deleted rows or columns.   10078 If multiple columns or rows were deleted simultaneously, each deleted row or column gets its own <table:deletion> element. The element of the first deleted row or column in this case has to carry a table:multi-deletion-spanned attribute that specifies the total number of deleted rows or columns.
9968 <define name="table-deletion-attlist" combine="interleave">   10079 <define name="table-deletion-attlist" combine="interleave">
9969         <optional>   10080         <optional>
9970                 <attribute name="table:multi-deletion-spanned">   10081                 <attribute name="table:multi-deletion-spanned">
9971                         <ref name="integer"/>   10082                         <ref name="integer"/>
9972                 </attribute>   10083                 </attribute>
9973         </optional>   10084         </optional>
9974 </define>   10085 </define>
9975 8.11.9Cut Offs   10086 8.11.9Cut Offs
9976 A <table:cut-offs> element contains information about previously tracked insertions or movements where parts of the new content created by this operation now gets deleted. An example for this might be a cell range that has previously been moved and that now overlaps with a row that gets deleted.   10087 A <table:cut-offs> element contains information about previously tracked insertions or movements where parts of the new content created by this operation now gets deleted. An example for this might be a cell range that has previously been moved and that now overlaps with a row that gets deleted.
9977 <define name="table-cut-offs">   10088 <define name="table-cut-offs">
9978         <element name="table:cut-offs">   10089         <element name="table:cut-offs">
9979                 <choice>   10090                 <choice>
9980                         <oneOrMore>   10091                         <oneOrMore>
9981                                 <ref name="table-movement-cut-off"/>   10092                                 <ref name="table-movement-cut-off"/>
9982                         </oneOrMore>   10093                         </oneOrMore>
9983                         <group>   10094                         <group>
9984                                 <ref name="table-insertion-cut-off"/>   10095                                 <ref name="table-insertion-cut-off"/>
9985                                 <zeroOrMore>   10096                                 <zeroOrMore>
9986                                         <ref name="table-movement-cut-off"/>   10097                                         <ref name="table-movement-cut-off"/>
9987                                 </zeroOrMore>   10098                                 </zeroOrMore>
9988                         </group>   10099                         </group>
9989                 </choice>   10100                 </choice>
9990         </element>   10101         </element>
9991 </define>   10102 </define>
9992 8.11.10Insertion Cut Off   10103 8.11.10Insertion Cut Off
9993 The <table:insertion-cut-off> element contains the information where a insertion was deleted and which.   10104 The <table:insertion-cut-off> element contains the information where a insertion was deleted and which.
9994 <define name="table-insertion-cut-off">   10105 <define name="table-insertion-cut-off">
9995         <element name="table:insertion-cut-off">   10106         <element name="table:insertion-cut-off">
9996                 <ref name="table-insertion-cut-off-attlist"/>   10107                 <ref name="table-insertion-cut-off-attlist"/>
9997                 <empty/>   10108                 <empty/>
9998         </element>   10109         </element>
9999 </define>   10110 </define>
10000 The attributes that may be associated with this element are:   10111 The attributes that may be associated with this element are:
10001 ID (see section 8.11.18)   10112 ID (see section 8.11.18)
10002 position   10113 position
10003 Id   10114 Id
10004 The table:id attribute contains the id of the insertion where parts of now get deleted.   10115 The table:id attribute contains the id of the insertion where parts of now get deleted.
10005 <define name="table-insertion-cut-off-attlist" combine="interleave">   10116 <define name="table-insertion-cut-off-attlist" combine="interleave">
10006         <attribute name="table:id">   10117         <attribute name="table:id">
10007                 <ref name="string"/>   10118                 <ref name="string"/>
10008         </attribute>   10119         </attribute>
10009 </define>   10120 </define>
10010 Position   10121 Position
10011 The table:position attribute specifies the number of the row or column within the insertion that gets deleted.   10122 The table:position attribute specifies the number of the row or column within the insertion that gets deleted.
10012 <define name="table-insertion-cut-off-attlist" combine="interleave">   10123 <define name="table-insertion-cut-off-attlist" combine="interleave">
10013         <attribute name="table:position">   10124         <attribute name="table:position">
10014                 <ref name="integer"/>   10125                 <ref name="integer"/>
10015         </attribute>   10126         </attribute>
10016 </define>   10127 </define>
10017 8.11.11Movement Cut Off   10128 8.11.11Movement Cut Off
10018 The <table:movement-cut-off> element contains the information where a movement was deleted and which.   10129 The <table:movement-cut-off> element contains the information where a movement was deleted and which.
10019 <define name="table-movement-cut-off">   10130 <define name="table-movement-cut-off">
10020         <element name="table:movement-cut-off">   10131         <element name="table:movement-cut-off">
10021                 <ref name="table-movement-cut-off-attlist"/>   10132                 <ref name="table-movement-cut-off-attlist"/>
10022                 <empty/>   10133                 <empty/>
10023         </element>   10134         </element>
10024 </define>   10135 </define>
10025 The attributes that may be associated with this element are:   10136 The attributes that may be associated with this element are:
10026 ID (see section 8.11.18)   10137 ID (see section 8.11.18)
10027 start position, end position, position   10138 start position, end position, position
10028 Start Position, End Position, Position   10139 Start Position, End Position, Position
10029 The table:start-position, table:end-position and table:position attributes specify the position within the movement that gets deleted. If a single row or column gets deleted, the table:position attribute contains its number. If multiple rows or columns get deleted, the table:start-position and table:end-position attributes contain the number of the first (inclusive) and last (exclusive) deleted rows or columns.   10140 The table:start-position, table:end-position and table:position attributes specify the position within the movement that gets deleted. If a single row or column gets deleted, the table:position attribute contains its number. If multiple rows or columns get deleted, the table:start-position and table:end-position attributes contain the number of the first (inclusive) and last (exclusive) deleted rows or columns.
10030 <define name="table-movement-cut-off-attlist" combine="interleave">   10141 <define name="table-movement-cut-off-attlist" combine="interleave">
10031         <choice>   10142         <choice>
10032                 <attribute name="table:position">   10143                 <attribute name="table:position">
10033                         <ref name="integer"/>   10144                         <ref name="integer"/>
10034                 </attribute>   10145                 </attribute>
10035                 <group>   10146                 <group>
10036                         <attribute name="table:start-position">   10147                         <attribute name="table:start-position">
10037                                 <ref name="integer"/>   10148                                 <ref name="integer"/>
10038                         </attribute>   10149                         </attribute>
10039                         <attribute name="table:end-position">   10150                         <attribute name="table:end-position">
10040                                 <ref name="integer"/>   10151                                 <ref name="integer"/>
10041                         </attribute>   10152                         </attribute>
10042                 </group>   10153                 </group>
10043         </choice>   10154         </choice>
10044 </define>   10155 </define>
10045 Example: Deletion of a column which do not contain content   10156 Example: Deletion of a column which do not contain content
10046 <table:tracked-changes>   10157 <table:tracked-changes>
10047         <table:deletion table:id="c002" table:acceptance-state="pending"   10158         <table:deletion table:id="c002" table:acceptance-state="pending"
10048                                          table:type="column" table:position="9">   10159                                          table:type="column" table:position="9">
10049                 <office:change-info>   10160                 <office:change-info>
10050                         <dc:creator>Sascha Ballach</dc:creator>   10161                         <dc:creator>Sascha Ballach</dc:creator>
10051                         <dc:date>1999-05-18T12:56:04</dc:creator>   10162                         <dc:date>1999-05-18T12:56:04</dc:creator>
10052                 </office:change-info>   10163                 </office:change-info>
10053         </table:deletion>   10164         </table:deletion>
10054 </table:tracked-changes>   10165 </table:tracked-changes>
10055     10166  
10056 8.11.12Movement   10167 8.11.12Movement
10057 A <table:movement> element contains the information that is required to identify any movement of content. This content can be a cell content or a cell range content.   10168 A <table:movement> element contains the information that is required to identify any movement of content. This content can be a cell content or a cell range content.
10058 <define name="table-movement">   10169 <define name="table-movement">
10059         <element name="table:movement">   10170         <element name="table:movement">
10060                 <ref name="common-table-change-attlist"/>   10171                 <ref name="common-table-change-attlist"/>
10061                 <ref name="table-source-range-address"/>   10172                 <ref name="table-source-range-address"/>
10062                 <ref name="table-target-range-address"/>   10173                 <ref name="table-target-range-address"/>
10063                 <ref name="office-change-info"/>   10174                 <ref name="office-change-info"/>
10064                 <optional>   10175                 <optional>
10065                         <ref name="table-dependencies"/>   10176                         <ref name="table-dependencies"/>
10066                 </optional>   10177                 </optional>
10067                 <optional>   10178                 <optional>
10068                         <ref name="table-deletions"/>   10179                         <ref name="table-deletions"/>
10069                 </optional>   10180                 </optional>
10070         </element>   10181         </element>
10071 </define>   10182 </define>
10072 The attributes that may be associated with this element are:   10183 The attributes that may be associated with this element are:
10073 ID (see section 8.11.18)   10184 ID (see section 8.11.18)
10074 Acceptance State (see section 8.11.18)   10185 Acceptance State (see section 8.11.18)
10075 Rejecting Change ID (see section 8.11.18)   10186 Rejecting Change ID (see section 8.11.18)
10076 8.11.13Target Range Address, Source Range Address   10187 8.11.13Target Range Address, Source Range Address
10077 The <table:source-range-address> and <table:target-range-address> specify the source and target cell address or cell range address of a movement.   10188 The <table:source-range-address> and <table:target-range-address> specify the source and target cell address or cell range address of a movement.
10078 <define name="table-source-range-address">   10189 <define name="table-source-range-address">
10079         <element name="table:source-range-address">   10190         <element name="table:source-range-address">
10080                 <ref name="common-table-range-attlist"/>   10191                 <ref name="common-table-range-attlist"/>
10081                 <empty/>   10192                 <empty/>
10082         </element>   10193         </element>
10083 </define>   10194 </define>
10084     10195  
10085 <define name="table-target-range-address">   10196 <define name="table-target-range-address">
10086         <element name="table:target-range-address">   10197         <element name="table:target-range-address">
10087                 <ref name="common-table-range-attlist"/>   10198                 <ref name="common-table-range-attlist"/>
10088                 <empty/>   10199                 <empty/>
10089         </element>   10200         </element>
10090 </define>   10201 </define>
10091     10202  
10092     10203  
10093 <define name="common-table-range-attlist" combine="interleave">   10204 <define name="common-table-range-attlist" combine="interleave">
10094         <choice>   10205         <choice>
10095                 <group>   10206                 <group>
10096                         <ref name="common-table-cell-address-attlist"/>   10207                         <ref name="common-table-cell-address-attlist"/>
10097                 </group>   10208                 </group>
10098                 <group>   10209                 <group>
10099                         <ref name="common-table-cell-range-address-attlist"/>   10210                         <ref name="common-table-cell-range-address-attlist"/>
10100                 </group>   10211                 </group>
10101         </choice>   10212         </choice>
10102 </define>   10213 </define>
10103 The attributes that may be associated with these elements are either   10214 The attributes that may be associated with these elements are either
10104 Column, Row, and Table, or   10215 Column, Row, and Table, or
10105 Start column, End column, Start row, End row, Start table, and End table   10216 Start column, End column, Start row, End row, Start table, and End table
10106 Column, Row, and Table   10217 Column, Row, and Table
10107 If the range address is a cell address then the three attributes table:column, table:row and   10218 If the range address is a cell address then the three attributes table:column, table:row and
10108 table:table specify the column, row and table number of the cell.   10219 table:table specify the column, row and table number of the cell.
10109 <define name="common-table-cell-address-attlist" combine="interleave">   10220 <define name="common-table-cell-address-attlist" combine="interleave">
10110         <attribute name="table:column">   10221         <attribute name="table:column">
10111                 <ref name="integer"/>   10222                 <ref name="integer"/>
10112         </attribute>   10223         </attribute>
10113         <attribute name="table:row">   10224         <attribute name="table:row">
10114                 <ref name="integer"/>   10225                 <ref name="integer"/>
10115         </attribute>   10226         </attribute>
10116         <attribute name="table:table">   10227         <attribute name="table:table">
10117                 <ref name="integer"/>   10228                 <ref name="integer"/>
10118         </attribute>   10229         </attribute>
10119 </define>   10230 </define>
10120 Start Column, End Column, Start Row, End Row, Start Table, and End Table   10231 Start Column, End Column, Start Row, End Row, Start Table, and End Table
10121 If the range address is a cell range address instead of a cell address, the attributes table:start-column, table:end-column, table:start-row, table:end-row, table:start-table and table:end-table specify the start and end columns, rows and tables of the range. Start and end numbers both are inclusive.   10232 If the range address is a cell range address instead of a cell address, the attributes table:start-column, table:end-column, table:start-row, table:end-row, table:start-table and table:end-table specify the start and end columns, rows and tables of the range. Start and end numbers both are inclusive.
10122 <define name="common-table-cell-range-address-attlist" combine="interleave">   10233 <define name="common-table-cell-range-address-attlist" combine="interleave">
10123         <attribute name="table:start-column">   10234         <attribute name="table:start-column">
10124                 <ref name="integer"/>   10235                 <ref name="integer"/>
10125         </attribute>   10236         </attribute>
10126         <attribute name="table:start-row">   10237         <attribute name="table:start-row">
10127                 <ref name="integer"/>   10238                 <ref name="integer"/>
10128         </attribute>   10239         </attribute>
10129         <attribute name="table:start-table">   10240         <attribute name="table:start-table">
10130                 <ref name="integer"/>   10241                 <ref name="integer"/>
10131         </attribute>   10242         </attribute>
10132         <attribute name="table:end-column">   10243         <attribute name="table:end-column">
10133                 <ref name="integer"/>   10244                 <ref name="integer"/>
10134         </attribute>   10245         </attribute>
10135         <attribute name="table:end-row">   10246         <attribute name="table:end-row">
10136                 <ref name="integer"/>   10247                 <ref name="integer"/>
10137         </attribute>   10248         </attribute>
10138         <attribute name="table:end-table">   10249         <attribute name="table:end-table">
10139                 <ref name="integer"/>   10250                 <ref name="integer"/>
10140         </attribute>   10251         </attribute>
10141 </define>   10252 </define>
10142 Example: Moving a cell   10253 Example: Moving a cell
10143 <table:tracked-changes>   10254 <table:tracked-changes>
10144         <table:movement table:id="ct1">   10255         <table:movement table:id="ct1">
10145                 <table:source-range-address table:column="0" table:row="0"   10256                 <table:source-range-address table:column="0" table:row="0"
10146                                                                          table:table="0"/>   10257                                                                          table:table="0"/>
10147                 <table:target-range-address table:column="1" table:row="1"   10258                 <table:target-range-address table:column="1" table:row="1"
10148                                                                         table:table="0"/>   10259                                                                         table:table="0"/>
10149                 <office:change-info>   10260                 <office:change-info>
10150                         <dc:creator>Michael Brauer</dc:creator>   10261                         <dc:creator>Michael Brauer</dc:creator>
10151                         <dc:date>2003-12-29T11:46:13,21"</dc:date>   10262                         <dc:date>2003-12-29T11:46:13,21"</dc:date>
10152                 </office:change-info>   10263                 </office:change-info>
10153         </table:movement>   10264         </table:movement>
10154 </table:tracked-changes>   10265 </table:tracked-changes>
10155 8.11.14Change Track Cell   10266 8.11.14Change Track Cell
10156 The <table:change-track-table-cell> element contains all information of a table cell which are needed inside the change tracking elements. The element is very similar to a <table:table-cell> element, but contains some additional information.   10267 The <table:change-track-table-cell> element contains all information of a table cell which are needed inside the change tracking elements. The element is very similar to a <table:table-cell> element, but contains some additional information.
10157 <define name="table-change-track-table-cell" combine="interleave">   10268 <define name="table-change-track-table-cell" combine="interleave">
10158         <element name="table:change-track-table-cell">   10269         <element name="table:change-track-table-cell">
10159                 <ref name="table-change-track-table-cell-attlist"/>   10270                 <ref name="table-change-track-table-cell-attlist"/>
10160                 <zeroOrMore>   10271                 <zeroOrMore>
10161                         <ref name="text-p"/>   10272                         <ref name="text-p"/>
10162                 </zeroOrMore>   10273                 </zeroOrMore>
10163         </element>   10274         </element>
10164 </define>   10275 </define>
10165 Cell Address   10276 Cell Address
10166 If the cell is a formula cell, the table:cell-address attribute is required and specifies the original address of the cell used in calculations.   10277 If the cell is a formula cell, the table:cell-address attribute is required and specifies the original address of the cell used in calculations.
10167 <define name="table-change-track-table-cell-attlist" combine="interleave">   10278 <define name="table-change-track-table-cell-attlist" combine="interleave">
10168         <optional>   10279         <optional>
10169                 <attribute name="table:cell-address">   10280                 <attribute name="table:cell-address">
10170                         <ref name="cellAddress"/>   10281                         <ref name="cellAddress"/>
10171                 </attribute>   10282                 </attribute>
10172         </optional>   10283         </optional>
10173 </define>   10284 </define>
10174 Matrix Covered   10285 Matrix Covered
10175 If the cell is a matrix cell and not the base of the matrix the, table:matrix-covered attribute is necessary and its value has to be true to indicate that the cell is contained in a matrix.   10286 If the cell is a matrix cell and not the base of the matrix the, table:matrix-covered attribute is necessary and its value has to be true to indicate that the cell is contained in a matrix.
10176 <define name="table-change-track-table-cell-attlist" combine="interleave">   10287 <define name="table-change-track-table-cell-attlist" combine="interleave">
10177         <optional>   10288         <optional>
10178                 <attribute name="table:matrix-covered" a:defaultValue="false">   10289                 <attribute name="table:matrix-covered" a:defaultValue="false">
10179                         <ref name="boolean"/>   10290                         <ref name="boolean"/>
10180                 </attribute>   10291                 </attribute>
10181         </optional>   10292         </optional>
10182 </define>   10293 </define>
10183 Formulas and Values   10294 Formulas and Values
10184 The change track table cells additionally supports the attributes table:formula, table:number-matrix-rows-spanned, table:number-matrix-columns-spanned, office:value-type, office:value, office:date-value, office:time-value and office:string-value as described in section 8.1.3.   10295 The change track table cells additionally supports the attributes table:formula, table:number-matrix-rows-spanned, table:number-matrix-columns-spanned, office:value-type, office:value, office:date-value, office:time-value and office:string-value as described in section 8.1.3.
10185 <define name="table-change-track-table-cell-attlist" combine="interleave">   10296 <define name="table-change-track-table-cell-attlist" combine="interleave">
10186         <optional>   10297         <optional>
10187                 <attribute name="table:formula">   10298                 <attribute name="table:formula">
10188                         <ref name="string"/>   10299                         <ref name="string"/>
10189                 </attribute>   10300                 </attribute>
10190         </optional>   10301         </optional>
10191         <optional>   10302         <optional>
10192                 <attribute name="table:number-matrix-columns-spanned">   10303                 <attribute name="table:number-matrix-columns-spanned">
10193                         <ref name="positiveInteger"/>   10304                         <ref name="positiveInteger"/>
10194                 </attribute>   10305                 </attribute>
10195         </optional>   10306         </optional>
10196         <optional>   10307         <optional>
10197                 <attribute name="table:number-matrix-rows-spanned">   10308                 <attribute name="table:number-matrix-rows-spanned">
10198                         <ref name="positiveInteger"/>   10309                         <ref name="positiveInteger"/>
10199                 </attribute>   10310                 </attribute>
10200         </optional>   10311         </optional>
10201         <optional>   10312         <optional>
10202                 <ref name="common-value-and-type-attlist"/>   10313                 <ref name="common-value-and-type-attlist"/>
10203         </optional>   10314         </optional>
10204 </define>   10315 </define>
10205 8.11.15Cell Content Change   10316 8.11.15Cell Content Change
10206 A <table:cell-content-change> element contains the information that is required to identify changes of the cell content.   10317 A <table:cell-content-change> element contains the information that is required to identify changes of the cell content.
10207 <define name="table-cell-content-change">   10318 <define name="table-cell-content-change">
10208         <element name="table:cell-content-change">   10319         <element name="table:cell-content-change">
10209                 <ref name="common-table-change-attlist"/>   10320                 <ref name="common-table-change-attlist"/>
10210                 <ref name="table-cell-address"/>   10321                 <ref name="table-cell-address"/>
10211                 <ref name="office-change-info"/>   10322                 <ref name="office-change-info"/>
10212                 <optional>   10323                 <optional>
10213                         <ref name="table-dependencies"/>   10324                         <ref name="table-dependencies"/>
10214                 </optional>   10325                 </optional>
10215                 <optional>   10326                 <optional>
10216                         <ref name="table-deletions"/>   10327                         <ref name="table-deletions"/>
10217                 </optional>   10328                 </optional>
10218                 <ref name="table-previous"/>   10329                 <ref name="table-previous"/>
10219         </element>   10330         </element>
10220 </define>   10331 </define>
10221 The attributes that may be associated with this element are:   10332 The attributes that may be associated with this element are:
10222 ID (see section 8.11.18)   10333 ID (see section 8.11.18)
10223 Acceptance State (see section 8.11.18)   10334 Acceptance State (see section 8.11.18)
10224 Rejecting Change ID (see section 8.11.18)   10335 Rejecting Change ID (see section 8.11.18)
10225 8.11.16Cell Address   10336 8.11.16Cell Address
10226 The <table:cell-address> element contains the address of cell that is changed. Unlike other cell addresses, the address consists of the row, column and table number of the cell. This allows specifying addresses that are outside the valid cell address range, for instance have a negative column number.   10337 The <table:cell-address> element contains the address of cell that is changed. Unlike other cell addresses, the address consists of the row, column and table number of the cell. This allows specifying addresses that are outside the valid cell address range, for instance have a negative column number.
10227 <define name="table-cell-address">   10338 <define name="table-cell-address">
10228         <element name="table:cell-address">   10339         <element name="table:cell-address">
10229                 <ref name="common-table-cell-address-attlist"/>   10340                 <ref name="common-table-cell-address-attlist"/>
10230                 <empty/>   10341                 <empty/>
10231         </element>   10342         </element>
10232 </define>   10343 </define>
10233 The attributes that may be associated with this element are:   10344 The attributes that may be associated with this element are:
10234 Column, Row, and Table number (see section 8.11.13)   10345 Column, Row, and Table number (see section 8.11.13)
10235 8.11.17Previous   10346 8.11.17Previous
10236 The table:previous element contains the previous cell content which is overwritten by the current change. If a text:id attribute is present, it specifies the id of a previously tracked change for the cell that gets changed again by the current change.   10347 The table:previous element contains the previous cell content which is overwritten by the current change. If a text:id attribute is present, it specifies the id of a previously tracked change for the cell that gets changed again by the current change.
10237 <define name="table-previous">   10348 <define name="table-previous">
10238         <element name="table:previous">   10349         <element name="table:previous">
10239                 <optional>   10350                 <optional>
10240                         <attribute name="table:id">   10351                         <attribute name="table:id">
10241                                 <ref name="string"/>   10352                                 <ref name="string"/>
10242                         </attribute>   10353                         </attribute>
10243                 </optional>   10354                 </optional>
10244                 <ref name="table-change-track-table-cell"/>   10355                 <ref name="table-change-track-table-cell"/>
10245         </element>   10356         </element>
10246 </define>   10357 </define>
10247 8.11.18Common Change Tracking Attributes   10358 8.11.18Common Change Tracking Attributes
10248 Id   10359 Id
10249 The table:id attribute specifies the id of the tracked change.   10360 The table:id attribute specifies the id of the tracked change.
10250 <define name="common-table-change-attlist" combine="interleave">   10361 <define name="common-table-change-attlist" combine="interleave">
10251         <attribute name="table:id">   10362         <attribute name="table:id">
10252                 <ref name="string"/>   10363                 <ref name="string"/>
10253         </attribute>   10364         </attribute>
10254 </define>   10365 </define>
10255 Acceptance state   10366 Acceptance state
10256 The table:acceptance-state attribute specifies whether the tracked change has been accepted or rejected already, or whether an acceptance or rejection is still pending.   10367 The table:acceptance-state attribute specifies whether the tracked change has been accepted or rejected already, or whether an acceptance or rejection is still pending.
10257 <define name="common-table-change-attlist" combine="interleave">   10368 <define name="common-table-change-attlist" combine="interleave">
10258         <optional>   10369         <optional>
10259                 <attribute name="table:acceptance-state" a:defaultValue="pending">   10370                 <attribute name="table:acceptance-state" a:defaultValue="pending">
10260                         <choice>   10371                         <choice>
10261                                 <value>accepted</value>   10372                                 <value>accepted</value>
10262                                 <value>rejected</value>   10373                                 <value>rejected</value>
10263                                 <value>pending</value>   10374                                 <value>pending</value>
10264                         </choice>   10375                         </choice>
10265                 </attribute>   10376                 </attribute>
10266         </optional>   10377         </optional>
10267 </define>   10378 </define>
10268 Rejecting Change Id   10379 Rejecting Change Id
10269 If the table:rejecting-change-id attribute is present, then the current change has been made to the table to implement the rejection of another previously tracked change. The attribute's value is the id of this previously tracked change that has been rejected.   10380 If the table:rejecting-change-id attribute is present, then the current change has been made to the table to implement the rejection of another previously tracked change. The attribute's value is the id of this previously tracked change that has been rejected.
10270 <define name="common-table-change-attlist" combine="interleave">   10381 <define name="common-table-change-attlist" combine="interleave">
10271         <optional>   10382         <optional>
10272                 <attribute name="table:rejecting-change-id">   10383                 <attribute name="table:rejecting-change-id">
10273                         <ref name="string"/>   10384                         <ref name="string"/>
10274                 </attribute>   10385                 </attribute>
10275         </optional>   10386         </optional>
10276 </define>   10387 </define>
10277 9Graphic Content   10388 9Graphic Content
10278 This chapter provides the specification for the core elements of graphic applications like drawing or presentation applications, and for graphical objects contained in non-graphical applications, like word processor or spreadsheet applications.   10389 This chapter provides the specification for the core elements of graphic applications like drawing or presentation applications, and for graphical objects contained in non-graphical applications, like word processor or spreadsheet applications.
10279 9.1Enhanced Page Features for Graphical Applications   10390 9.1Enhanced Page Features for Graphical Applications
10280 9.1.1Handout Master   10391 9.1.1Handout Master
10281 For applications that support printing handout pages, this element is a template for automatically generating the handout pages. The element <style:handout-master> can contain any types of shapes. The most useful shape is the <draw:page-thumbnail>, which is replaced by actual pages from the document. The <style:handout-master> element is contained in the <office:master-styles> element. The <office:master-styles> must not contain more than one <style:handout-master> element.   10392 For applications that support printing handout pages, this element is a template for automatically generating the handout pages. The element <style:handout-master> can contain any types of shapes. The most useful shape is the <draw:page-thumbnail>, which is replaced by actual pages from the document. The <style:handout-master> element is contained in the <office:master-styles> element. The <office:master-styles> must not contain more than one <style:handout-master> element.
10282 <define name="style-handout-master">   10393 <define name="style-handout-master">
10283         <element name="style:handout-master">   10394         <element name="style:handout-master">
10284                 <ref name="common-presentation-header-footer-attlist"/>   10395                 <ref name="common-presentation-header-footer-attlist"/>
10285                 <ref name="style-handout-master-attlist"/>   10396                 <ref name="style-handout-master-attlist"/>
10286                 <zeroOrMore>   10397                 <zeroOrMore>
10287                         <ref name="shape"/>   10398                         <ref name="shape"/>
10288                 </zeroOrMore>   10399                 </zeroOrMore>
10289         </element>   10400         </element>
10290 </define>   10401 </define>
10291 The attributes that may be associated with the <style:handout-master> element are:   10402 The attributes that may be associated with the <style:handout-master> element are:
10292 Presentation Page Layout (placeholder objects)   10403 Presentation Page Layout (placeholder objects)
10293 Page Layout (page size, margins etc.)   10404 Page Layout (page size, margins etc.)
10294 Page Style   10405 Page Style
10295 Header Declaration   10406 Header Declaration
10296 Footer Declaration   10407 Footer Declaration
10297 Date and Time Declaration   10408 Date and Time Declaration
10298 Presentation Page Layout   10409 Presentation Page Layout
10299 The attribute presentation:presentation-page-layout-name links to a <style:presentation-page-layout> element. See section 14.15 for information on the presentation page layout element. This attribute is optional.   10410 The attribute presentation:presentation-page-layout-name links to a <style:presentation-page-layout> element. See section 14.15 for information on the presentation page layout element. This attribute is optional.
10300 <define name="style-handout-master-attlist" combine="interleave">   10411 <define name="style-handout-master-attlist" combine="interleave">
10301         <optional>   10412         <optional>
10302                 <attribute name="presentation:presentation-page-layout-name">   10413                 <attribute name="presentation:presentation-page-layout-name">
10303                         <ref name="styleNameRef"/>   10414                         <ref name="styleNameRef"/>
10304                 </attribute>   10415                 </attribute>
10305         </optional>   10416         </optional>
10306 </define>   10417 </define>
10307 Page Layout   10418 Page Layout
10308 The style:page-layout-name attribute specifies a page layout which contains the sizes, border and orientation of the handout master page. See section 14.3 for details on page layouts.   10419 The style:page-layout-name attribute specifies a page layout which contains the sizes, border and orientation of the handout master page. See section 14.3 for details on page layouts.
10309 <define name="style-handout-master-attlist" combine="interleave">   10420 <define name="style-handout-master-attlist" combine="interleave">
10310         <attribute name="style:page-layout-name">   10421         <attribute name="style:page-layout-name">
10311                 <ref name="styleNameRef"/>   10422                 <ref name="styleNameRef"/>
10312         </attribute>   10423         </attribute>
10313 </define>   10424 </define>
10314 Page Style   10425 Page Style
10315 The attribute draw:style-name assigns an additional formatting attributes to a handout master page by assigning a drawing page style. This attribute is optional. The fixed family for page styles is drawing-page.   10426 The attribute draw:style-name assigns an additional formatting attributes to a handout master page by assigning a drawing page style. This attribute is optional. The fixed family for page styles is drawing-page.
10316 <define name="style-handout-master-attlist" combine="interleave">   10427 <define name="style-handout-master-attlist" combine="interleave">
10317         <optional>   10428         <optional>
10318                 <attribute name="draw:style-name">   10429                 <attribute name="draw:style-name">
10319                         <ref name="styleNameRef"/>   10430                         <ref name="styleNameRef"/>
10320                 </attribute>   10431                 </attribute>
10321         </optional>   10432         </optional>
10322 </define>   10433 </define>
10323 Header Declaration   10434 Header Declaration
10324 The presentation:use-header-name attribute specifies the name of the header field declaration (see section 9.11.2) that is used for all header fields (see section 9.10.1) that are displayed on the handout master page. See also section 9.1.4.   10435 The presentation:use-header-name attribute specifies the name of the header field declaration (see section 9.11.2) that is used for all header fields (see section 9.10.1) that are displayed on the handout master page. See also section 9.1.4.
10325 Footer Declaration   10436 Footer Declaration
10326 The presentation:use-footer-name attribute specifies the name of the footer field declaration (see section 9.11.3) that is used for all footer fields (see section 9.10.2) that are displayed on the handout master page. See also section 9.1.4.   10437 The presentation:use-footer-name attribute specifies the name of the footer field declaration (see section 9.11.3) that is used for all footer fields (see section 9.10.2) that are displayed on the handout master page. See also section 9.1.4.
10327 Date and Time Declaration   10438 Date and Time Declaration
10328 The presentation:use-date-time-name attribute specifies the name of the date-time field declaration (see section 9.11.4) that is used for all date-time fields (see section 9.10.3) that are displayed on the handout master page. See also section 9.1.4.   10439 The presentation:use-date-time-name attribute specifies the name of the date-time field declaration (see section 9.11.4) that is used for all date-time fields (see section 9.10.3) that are displayed on the handout master page. See also section 9.1.4.
10329 9.1.2Layer Sets   10440 9.1.2Layer Sets
10330 The element <draw:layer-set> may be contained in the master styles of graphical applications. It defines a set of layers. Layers group drawing objects. Drawing objects may be assigned to these layers with the help of their draw:layer-name attribute.   10441 The element <draw:layer-set> may be contained in the master styles of graphical applications. It defines a set of layers. Layers group drawing objects. Drawing objects may be assigned to these layers with the help of their draw:layer-name attribute.
10331 <define name="draw-layer-set">   10442 <define name="draw-layer-set">
10332         <element name="draw:layer-set">   10443         <element name="draw:layer-set">
10333                 <zeroOrMore>   10444                 <zeroOrMore>
10334                         <ref name="draw-layer"/>   10445                         <ref name="draw-layer"/>
10335                 </zeroOrMore>   10446                 </zeroOrMore>
10336         </element>   10447         </element>
10337 </define>   10448 </define>
10338 9.1.3Layer   10449 9.1.3Layer
10339 The <draw:layer> element defines a single layer.   10450 The <draw:layer> element defines a single layer.
10340 <define name="draw-layer">   10451 <define name="draw-layer">
10341         <element name="draw:layer">   10452         <element name="draw:layer">
10342                 <ref name="draw-layer-attlist"/>   10453                 <ref name="draw-layer-attlist"/>
    <> 10454                 <optional>
      10455                         <ref name="svg-title"/>
10343                 <empty/>   10456                 </optional>
      10457                 <optional>
      10458                         <ref name="svg-desc"/>
      10459                 </optional>
10344         </element> = 10460         </element>
10345 </define>   10461 </define>
    -+ 10462 The <draw:layer element> may contain the following elements:
      10463 Title (short accessible name). Use the <svg:title> child element as described in section 9.2.20.
      10464 Long description (in support of accessibility). Use the <svg:desc> child element as described in section 9.2.20.
10346 Name = 10465 Name
10347 Each element <draw:layer> is defined and referenced by its name that is contained in the draw:name attribute . Each drawing object inside a drawing or presentation document can be assigned to a layer. Layers virtually group the object. Each object that is assigned to a layer inherits the settings of the layer.   10466 Each element <draw:layer> is defined and referenced by its name that is contained in the draw:name attribute . Each drawing object inside a drawing or presentation document can be assigned to a layer. Layers virtually group the object. Each object that is assigned to a layer inherits the settings of the layer.
10348 <define name="draw-layer-attlist" combine="interleave">   10467 <define name="draw-layer-attlist" combine="interleave">
10349         <attribute name="draw:name">   10468         <attribute name="draw:name">
10350                 <ref name="string"/>   10469                 <ref name="string"/>
10351         </attribute>   10470         </attribute>
10352 </define>   10471 </define>
10353 Protection   10472 Protection
10354 The draw:protected attribute specifies whether the drawing objects contain in the layer are protected from being modified.   10473 The draw:protected attribute specifies whether the drawing objects contain in the layer are protected from being modified.
10355 <define name="draw-layer-attlist" combine="interleave">   10474 <define name="draw-layer-attlist" combine="interleave">
10356         <optional>   10475         <optional>
10357                 <attribute name="draw:protected" a:defaultValue="false">   10476                 <attribute name="draw:protected" a:defaultValue="false">
10358                         <ref name="boolean"/>   10477                         <ref name="boolean"/>
10359                 </attribute>   10478                 </attribute>
10360         </optional>   10479         </optional>
10361 </define>   10480 </define>
10362 Display   10481 Display
10363 The draw:display attribute specifies whether the drawing objects contain in the layer are visible on the screen and/or printed.   10482 The draw:display attribute specifies whether the drawing objects contain in the layer are visible on the screen and/or printed.
10364 <define name="draw-layer-attlist" combine="interleave">   10483 <define name="draw-layer-attlist" combine="interleave">
10365         <optional>   10484         <optional>
10366                 <attribute name="draw:display" a:defaultValue="always">   10485                 <attribute name="draw:display" a:defaultValue="always">
10367                         <choice>   10486                         <choice>
10368                                 <value>always</value>   10487                                 <value>always</value>
10369                                 <value>screen</value>   10488                                 <value>screen</value>
10370                                 <value>printer</value>   10489                                 <value>printer</value>
10371                                 <value>none</value>   10490                                 <value>none</value>
10372                         </choice>   10491                         </choice>
10373                 </attribute>   10492                 </attribute>
10374         </optional>   10493         </optional>
10375 </define>   10494 </define>
10376 9.1.4Drawing Pages   10495 9.1.4Drawing Pages
10377 The element <draw:page> is a container for content in a drawing or presentation document. Drawing pages are used for the following:   10496 The element <draw:page> is a container for content in a drawing or presentation document. Drawing pages are used for the following:
10378 Forms (see section 11.1)   10497 Forms (see section 11.1)
10379 Drawings (see section 9.2)   10498 Drawings (see section 9.2)
10380 Frames (see section 9.3)   10499 Frames (see section 9.3)
10381 Presentation Animations (see section 9.7)   10500 Presentation Animations (see section 9.7)
10382 Presentation Notes (see section 9.1.5)   10501 Presentation Notes (see section 9.1.5)
10383 A master page must be assigned to each drawing page.   10502 A master page must be assigned to each drawing page.
10384 <define name="draw-page">   10503 <define name="draw-page">
10385         <element name="draw:page">   10504         <element name="draw:page">
10386                 <ref name="common-presentation-header-footer-attlist"/>   10505                 <ref name="common-presentation-header-footer-attlist"/>
10387                 <ref name="draw-page-attlist"/>   10506                 <ref name="draw-page-attlist"/>
10388                 <optional>   10507                 <optional>
10389                         <ref name="office-forms"/>   10508                         <ref name="office-forms"/>
10390                 </optional>   10509                 </optional>
10391                 <zeroOrMore>   10510                 <zeroOrMore>
10392                         <ref name="shape"/>   10511                         <ref name="shape"/>
10393                 </zeroOrMore>   10512                 </zeroOrMore>
10394                 <optional>   10513                 <optional>
10395                         <choice>   10514                         <choice>
10396                                 <ref name="presentation-animations"/>   10515                                 <ref name="presentation-animations"/>
10397                                 <ref name="animation-element"/>   10516                                 <ref name="animation-element"/>
10398                         </choice>   10517                         </choice>
10399                 </optional>   10518                 </optional>
10400                 <optional>   10519                 <optional>
10401                         <ref name="presentation-notes"/>   10520                         <ref name="presentation-notes"/>
10402                 </optional>   10521                 </optional>
10403         </element>   10522         </element>
10404 </define>   10523 </define>
10405 The attributes that may be associated with the <draw:page> element are:   10524 The attributes that may be associated with the <draw:page> element are:
10406 Page name   10525 Page name
10407 Page style   10526 Page style
10408 Master page   10527 Master page
10409 Presentation page layout   10528 Presentation page layout
10410 Header declaration   10529 Header declaration
10411 Footer declaration   10530 Footer declaration
10412 Date and time declaration   10531 Date and time declaration
10413 ID   10532 ID
10414 The elements that my be included in the <draw:page> element are:   10533 The elements that my be included in the <draw:page> element are:
10415 Forms   10534 Forms
10416 Shapes   10535 Shapes
10417 Animations   10536 Animations
10418 Presentation notes   10537 Presentation notes
10419 Page Name   10538 Page Name
10420 The draw:name attribute specifies the name of a drawing page. This attribute is optional; if it is used, the name must be unique. If it is not used, the application may generate a unique name.   10539 The draw:name attribute specifies the name of a drawing page. This attribute is optional; if it is used, the name must be unique. If it is not used, the application may generate a unique name.
10421 <define name="draw-page-attlist" combine="interleave">   10540 <define name="draw-page-attlist" combine="interleave">
10422         <optional>   10541         <optional>
10423                 <attribute name="draw:name">   10542                 <attribute name="draw:name">
10424                         <ref name="string"/>   10543                         <ref name="string"/>
10425                 </attribute>   10544                 </attribute>
10426         </optional>   10545         </optional>
10427 </define>   10546 </define>
10428 Page Style   10547 Page Style
10429 The attribute draw:style-name assigns an additional formatting attributes to a drawing page by assigning a drawing page style. This attribute is optional. The fixed family for page styles is drawing-page.   10548 The attribute draw:style-name assigns an additional formatting attributes to a drawing page by assigning a drawing page style. This attribute is optional. The fixed family for page styles is drawing-page.
10430 For pages inside a presentation document, attributes from Presentation Page Attributes can also be used.   10549 For pages inside a presentation document, attributes from Presentation Page Attributes can also be used.
10431 <define name="draw-page-attlist" combine="interleave">   10550 <define name="draw-page-attlist" combine="interleave">
10432         <optional>   10551         <optional>
10433                 <attribute name="draw:style-name">   10552                 <attribute name="draw:style-name">
10434                         <ref name="styleNameRef"/>   10553                         <ref name="styleNameRef"/>
10435                 </attribute>   10554                 </attribute>
10436         </optional>   10555         </optional>
10437 </define>   10556 </define>
10438 Master Page   10557 Master Page
10439 Each drawing page must have one master page assigned to it. The master page:   10558 Each drawing page must have one master page assigned to it. The master page:
10440 Defines properties such as the size and borders of the drawing page   10559 Defines properties such as the size and borders of the drawing page
10441 Serves as a container for shapes that are used as a common background   10560 Serves as a container for shapes that are used as a common background
10442 The draw:master-page-name attribute specifies the name of the master page assigned to the drawing page. This attribute is required.   10561 The draw:master-page-name attribute specifies the name of the master page assigned to the drawing page. This attribute is required.
10443 <define name="draw-page-attlist" combine="interleave">   10562 <define name="draw-page-attlist" combine="interleave">
10444         <attribute name="draw:master-page-name">   10563         <attribute name="draw:master-page-name">
10445                 <ref name="styleNameRef"/>   10564                 <ref name="styleNameRef"/>
10446         </attribute>   10565         </attribute>
10447 </define>   10566 </define>
10448 Presentation Page Layout   10567 Presentation Page Layout
10449 If the drawing page was created using a presentation page layout, the attribute presentation:presentation-page-layout-name links to the corresponding <style:presentation-page-layout> element. See section 14.15 for information on the presentation page layout element. This attribute is optional.   10568 If the drawing page was created using a presentation page layout, the attribute presentation:presentation-page-layout-name links to the corresponding <style:presentation-page-layout> element. See section 14.15 for information on the presentation page layout element. This attribute is optional.
10450 <define name="draw-page-attlist" combine="interleave">   10569 <define name="draw-page-attlist" combine="interleave">
10451         <optional>   10570         <optional>
10452                 <attribute name="presentation:presentation-page-layout-name">   10571                 <attribute name="presentation:presentation-page-layout-name">
10453                         <ref name="styleNameRef"/>   10572                         <ref name="styleNameRef"/>
10454                 </attribute>   10573                 </attribute>
10455         </optional>   10574         </optional>
10456 </define>   10575 </define>
10457 Header Declaration   10576 Header Declaration
10458 The presentation:use-header-name attribute specifies the name of the header field declaration (see section 9.11.2) that is used for all header fields (see section 9.10.1) that are displayed on the page.   10577 The presentation:use-header-name attribute specifies the name of the header field declaration (see section 9.11.2) that is used for all header fields (see section 9.10.1) that are displayed on the page.
10459 <define name="common-presentation-header-footer-attlist" combine="interleave">   10578 <define name="common-presentation-header-footer-attlist" combine="interleave">
10460         <optional>   10579         <optional>
10461                 <attribute name="presentation:use-header-name">   10580                 <attribute name="presentation:use-header-name">
10462                         <ref name="string"/>   10581                         <ref name="string"/>
10463                 </attribute>   10582                 </attribute>
10464         </optional>   10583         </optional>
10465 </define>   10584 </define>
10466 Footer Declaration   10585 Footer Declaration
10467 The presentation:use-footer-name attribute specifies the name of the footer field declaration (see section 9.11.3) that is used for all footer fields (see section 9.10.2) that are displayed on the page.   10586 The presentation:use-footer-name attribute specifies the name of the footer field declaration (see section 9.11.3) that is used for all footer fields (see section 9.10.2) that are displayed on the page.
10468 <define name="common-presentation-header-footer-attlist" combine="interleave">   10587 <define name="common-presentation-header-footer-attlist" combine="interleave">
10469         <optional>   10588         <optional>
10470                 <attribute name="presentation:use-footer-name">   10589                 <attribute name="presentation:use-footer-name">
10471                         <ref name="string"/>   10590                         <ref name="string"/>
10472                 </attribute>   10591                 </attribute>
10473         </optional>   10592         </optional>
10474 </define>   10593 </define>
10475 Date and Time Declaration   10594 Date and Time Declaration
10476 The presentation:use-date-time-name attribute specifies the name of the date-time field declaration (see section 9.11.4) that is used for all date-time fields (see section 9.10.3) that are displayed on the page.   10595 The presentation:use-date-time-name attribute specifies the name of the date-time field declaration (see section 9.11.4) that is used for all date-time fields (see section 9.10.3) that are displayed on the page.
10477 <define name="common-presentation-header-footer-attlist" combine="interleave">   10596 <define name="common-presentation-header-footer-attlist" combine="interleave">
10478         <optional>   10597         <optional>
10479                 <attribute name="presentation:use-date-time-name">   10598                 <attribute name="presentation:use-date-time-name">
10480                         <ref name="string"/>   10599                         <ref name="string"/>
10481                 </attribute>   10600                 </attribute>
10482         </optional>   10601         </optional>
10483 </define>   10602 </define>
10484 ID   10603 ID
10485 The draw:id attribute assigns a unique ID to a drawing page.   10604 The draw:id attribute assigns a unique ID to a drawing page.
10486 <define name="draw-page-attlist"> <> 10605 <define name="draw-page-attlist" combine="interleave">
10487         <optional> = 10606         <optional>
10488                 <attribute name="draw:id">   10607                 <attribute name="draw:id">
10489                         <ref name="ID"/>   10608                         <ref name="ID"/>
    -+ 10609                 </attribute>
      10610         </optional>
      10611 </define>
      10612 Navigation Order
      10613 The draw:nav-order attribute defines a logical navigation sequence for the graphical elements included in the page. Its value is a sequence of unique IDREFs. If this optional attribute is present, it must include all graphic elements not contained within a <draw:g> element. This attribute should reflect the intentional ordering of graphics as set by the document author.
      10614 <define name="draw-page-attlist" combine="interleave">
      10615         <optional>
      10616                 <attribute name="draw:nav-order">
      10617                         <ref name="IDREFS"/>
10490                 </attribute> = 10618                 </attribute>
10491         </optional>   10619         </optional>
10492 </define>   10620 </define>
10493 9.1.5Presentation Notes   10621 9.1.5Presentation Notes
10494 Each drawing page element in a presentation can have an additional presentation notes page, which contains a preview of the corresponding drawing page and additional graphic shapes. A notes page is described by the <presentation:notes> element, that may be contained in the <draw:page> element. See section 14.4.2 for more information about this element.   10622 Each drawing page element in a presentation can have an additional presentation notes page, which contains a preview of the corresponding drawing page and additional graphic shapes. A notes page is described by the <presentation:notes> element, that may be contained in the <draw:page> element. See section 14.4.2 for more information about this element.
10495 Example: Drawing page   10623 Example: Drawing page
10496 <office:automatic-styles>   10624 <office:automatic-styles>
10497         <style:style style:name="gg3434" style:family="drawing-page">   10625         <style:style style:name="gg3434" style:family="drawing-page">
10498                 <style:drawing-page-properties presentation:page-duration="5s">   10626                 <style:drawing-page-properties presentation:page-duration="5s">
10499         </style:style>   10627         </style:style>
10500         <style:style style:name="titledia"   10628         <style:style style:name="titledia"
10501                                 style:family="presentation-page-layout">   10629                                 style:family="presentation-page-layout">
10502                 <presentation:placeholder presentation:object="title"   10630                 <presentation:placeholder presentation:object="title"
10503                                         svg:x="20%" svg:y="10%"   10631                                         svg:x="20%" svg:y="10%"
10504                                         svg:width="80%" svg:height="10%"/>   10632                                         svg:width="80%" svg:height="10%"/>
10505                 <presentation:placeholder presentation:object="subtitle"   10633                 <presentation:placeholder presentation:object="subtitle"
10506                                         svg:x="20%" svg:y="30%"   10634                                         svg:x="20%" svg:y="30%"
10507                                         svg:width="80%" svg:height="60%"        />   10635                                         svg:width="80%" svg:height="60%"        />
10508         </style:style>   10636         </style:style>
10509 </office:automatic-styles>   10637 </office:automatic-styles>
10510 ...   10638 ...
10511 <office:body>   10639 <office:body>
10512         <draw:page office:name="Page 1"         draw:style-name="gg3434"   10640         <draw:page office:name="Page 1"         draw:style-name="gg3434"
10513                         draw:master-page-name="home"   10641                         draw:master-page-name="home"
10514                         presentation:page-layout-name="titledia">   10642                         presentation:page-layout-name="titledia">
10515                 <draw:rect .../>   10643                 <draw:rect .../>
10516                 presentation:notes>   10644                 presentation:notes>
10517                         <draw:text ...>this     is a note</draw:text>   10645                         <draw:text ...>this     is a note</draw:text>
10518                 </presentation:notes>   10646                 </presentation:notes>
10519         </draw:page>   10647         </draw:page>
10520 </office:body>   10648 </office:body>
10521 9.2Drawing Shapes   10649 9.2Drawing Shapes
10522 This section describes drawing shapes that might occur within all kind of applications.   10650 This section describes drawing shapes that might occur within all kind of applications.
10523 <define name="shape">   10651 <define name="shape">
10524         <choice>   10652         <choice>
10525                 <ref name="draw-rect"/>   10653                 <ref name="draw-rect"/>
10526                 <ref name="draw-line"/>   10654                 <ref name="draw-line"/>
10527                 <ref name="draw-polyline"/>   10655                 <ref name="draw-polyline"/>
10528                 <ref name="draw-polygon"/>   10656                 <ref name="draw-polygon"/>
10529                 <ref name="draw-regular-polygon"/>   10657                 <ref name="draw-regular-polygon"/>
10530                 <ref name="draw-path"/>   10658                 <ref name="draw-path"/>
10531                 <ref name="draw-circle"/>   10659                 <ref name="draw-circle"/>
10532                 <ref name="draw-ellipse"/>   10660                 <ref name="draw-ellipse"/>
10533                 <ref name="draw-g"/>   10661                 <ref name="draw-g"/>
10534                 <ref name="draw-page-thumbnail"/>   10662                 <ref name="draw-page-thumbnail"/>
10535                 <ref name="draw-frame"/>   10663                 <ref name="draw-frame"/>
10536                 <ref name="draw-measure"/>   10664                 <ref name="draw-measure"/>
10537                 <ref name="draw-caption"/>   10665                 <ref name="draw-caption"/>
10538                 <ref name="draw-connector"/>   10666                 <ref name="draw-connector"/>
10539                 <ref name="draw-control"/>   10667                 <ref name="draw-control"/>
10540                 <ref name="dr3d-scene"/>   10668                 <ref name="dr3d-scene"/>
10541                 <ref name="draw-custom-shape"/>   10669                 <ref name="draw-custom-shape"/>
10542         </choice>   10670         </choice>
10543 </define>   10671 </define>
10544 9.2.1Rectangle   10672 9.2.1Rectangle
10545 The <draw:rect> element represents a rectangular drawing shape.   10673 The <draw:rect> element represents a rectangular drawing shape.
10546 <define name="draw-rect">   10674 <define name="draw-rect">
10547         <element name="draw:rect">   10675         <element name="draw:rect">
10548                 <ref name="draw-rect-attlist"/>   10676                 <ref name="draw-rect-attlist"/>
10549                 <ref name="common-draw-position-attlist"/>   10677                 <ref name="common-draw-position-attlist"/>
10550                 <ref name="common-draw-size-attlist"/>   10678                 <ref name="common-draw-size-attlist"/>
10551                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>   10679                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
    -+ 10680                 <ref name="common-draw-caption-id-attlist"/>
      10681                 <optional>
      10682                         <ref name="svg-title"/>
      10683                 </optional>
      10684                 <optional>
      10685                         <ref name="svg-desc"/>
      10686                 </optional>
10552                 <optional> = 10687                 <optional>
10553                         <ref name="office-event-listeners"/>   10688                         <ref name="office-event-listeners"/>
10554                 </optional>   10689                 </optional>
10555                 <zeroOrMore>   10690                 <zeroOrMore>
10556                         <ref name="draw-glue-point"/>   10691                         <ref name="draw-glue-point"/>
10557                 </zeroOrMore>   10692                 </zeroOrMore>
10558                 <ref name="draw-text"/>   10693                 <ref name="draw-text"/>
10559         </element>   10694         </element>
10560 </define>   10695 </define>
10561 The attributes that may be associated with the <draw:rect> element are:   10696 The attributes that may be associated with the <draw:rect> element are:
10562 Position, Size, Style, Layer, Z-Index, ID, and Transformation – see section 9.2.15. <> 10697 Position, Size, Style, Layer, Z-Index, ID, Caption ID and Transformation – see section 9.2.15.
10563 Text anchor, table background, draw end position – see section 9.2.16. = 10698 Text anchor, table background, draw end position – see section 9.2.16.
10564 Round corners   10699 Round corners
    -+ 10700 The elements that may be contained in the <draw:rect> element are:
      10701 Title (short accessible name) – see section 9.2.20.
      10702 Long description (in support of accessibility) – see section 9.2.20.
      10703 Event listeners – see section 9.2.21.
      10704 Glue points – see section 9.2.19.
      10705 Text – see section 9.2.17.
10565 Round Corners = 10706 Round Corners
10566 The attribute draw:corner-radius specifies the radius of the circle used to round off the corners of the rectangle.   10707 The attribute draw:corner-radius specifies the radius of the circle used to round off the corners of the rectangle.
10567 <define name="draw-rect-attlist" combine="interleave">   10708 <define name="draw-rect-attlist" combine="interleave">
10568         <optional>   10709         <optional>
10569                 <attribute name="draw:corner-radius">   10710                 <attribute name="draw:corner-radius">
10570                         <ref name="nonNegativeLength"/>   10711                         <ref name="nonNegativeLength"/>
10571                 </attribute>   10712                 </attribute>
10572         </optional>   10713         </optional>
10573 </define>   10714 </define>
10574 Example: Rectangular drawing shape   10715 Example: Rectangular drawing shape
10575 <draw:rect svg:x="2cm" svg:y="3cm" svg:width="10cm" svg:height="20cm" svg:transform="rotate(45)" draw:style-name="object-with-shadow">   10716 <draw:rect svg:x="2cm" svg:y="3cm" svg:width="10cm" svg:height="20cm" svg:transform="rotate(45)" draw:style-name="object-with-shadow">
10576 9.2.2Line   10717 9.2.2Line
10577 The <draw:line> element represents a line.   10718 The <draw:line> element represents a line.
10578 <define name="draw-line">   10719 <define name="draw-line">
10579         <element name="draw:line">   10720         <element name="draw:line">
10580                 <ref name="draw-line-attlist"/>   10721                 <ref name="draw-line-attlist"/>
10581                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>   10722                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
    -+ 10723                 <ref name="common-draw-caption-id-attlist"/>
      10724                 <optional>
      10725                         <ref name="svg-title"/>
      10726                 </optional>
      10727                 <optional>
      10728                         <ref name="svg-desc"/>
      10729                 </optional>
10582                 <optional> = 10730                 <optional>
10583                         <ref name="office-event-listeners"/>   10731                         <ref name="office-event-listeners"/>
10584                 </optional>   10732                 </optional>
10585                 <zeroOrMore>   10733                 <zeroOrMore>
10586                         <ref name="draw-glue-point"/>   10734                         <ref name="draw-glue-point"/>
10587                 </zeroOrMore>   10735                 </zeroOrMore>
10588                 <ref name="draw-text"/>   10736                 <ref name="draw-text"/>
10589         </element>   10737         </element>
10590 </define>   10738 </define>
10591 The attributes that may be associated with the <draw:line> element are:   10739 The attributes that may be associated with the <draw:line> element are:
10592 Style, Layer, Z-Index, ID, and Transformation – see section 9.2.15. <> 10740 Style, Layer, Z-Index, ID, Caption ID and Transformation – see section 9.2.15.
10593 Text anchor, table background, draw end position– see section 9.2.16. = 10741 Text anchor, table background, draw end position– see section 9.2.16.
10594 Start point   10742 Start point
10595 End point   10743 End point
    -+ 10744 The elements that may be contained in the <draw:line> element are:
      10745 Title (short accessible name) – see section 9.2.20.
      10746 Long description (in support of accessibility) – see section 9.2.20.
      10747 Event listeners – see section 9.2.21.
      10748 Glue points – see section 9.2.19.
      10749 Text – see section 9.2.17.
10596 Start Point = 10750 Start Point
10597 The start point attributes svg:x1 and svg:y1 specify the start coordinates of the line.   10751 The start point attributes svg:x1 and svg:y1 specify the start coordinates of the line.
10598 <define name="draw-line-attlist" combine="interleave">   10752 <define name="draw-line-attlist" combine="interleave">
10599         <attribute name="svg:x1">   10753         <attribute name="svg:x1">
10600                 <ref name="coordinate"/>   10754                 <ref name="coordinate"/>
10601         </attribute>   10755         </attribute>
10602         <attribute name="svg:y1">   10756         <attribute name="svg:y1">
10603                 <ref name="coordinate"/>   10757                 <ref name="coordinate"/>
10604         </attribute>   10758         </attribute>
10605 </define>   10759 </define>
10606 End Point   10760 End Point
10607 The end point attributes svg:x2 and svg:y2 specify the end coordinates of the line.   10761 The end point attributes svg:x2 and svg:y2 specify the end coordinates of the line.
10608 <define name="draw-line-attlist" combine="interleave">   10762 <define name="draw-line-attlist" combine="interleave">
10609         <attribute name="svg:x2">   10763         <attribute name="svg:x2">
10610                 <ref name="coordinate"/>   10764                 <ref name="coordinate"/>
10611         </attribute>   10765         </attribute>
10612         <attribute name="svg:y2">   10766         <attribute name="svg:y2">
10613                 <ref name="coordinate"/>   10767                 <ref name="coordinate"/>
10614         </attribute>   10768         </attribute>
10615 </define>   10769 </define>
10616 9.2.3Polyline   10770 9.2.3Polyline
10617 The <draw:polyline> element represents a polyline drawing shape.   10771 The <draw:polyline> element represents a polyline drawing shape.
10618 Some implementations may ignore the size attribute, and instead determine the size of a shape exclusively from the shape data (i.e., polygon vertices).   10772 Some implementations may ignore the size attribute, and instead determine the size of a shape exclusively from the shape data (i.e., polygon vertices).
10619 <define name="draw-polyline">   10773 <define name="draw-polyline">
10620         <element name="draw:polyline">   10774         <element name="draw:polyline">
10621                 <ref name="common-draw-points-attlist"/>   10775                 <ref name="common-draw-points-attlist"/>
10622                 <ref name="common-draw-position-attlist"/>   10776                 <ref name="common-draw-position-attlist"/>
10623                 <ref name="common-draw-size-attlist"/>   10777                 <ref name="common-draw-size-attlist"/>
10624                 <ref name="common-draw-viewbox-attlist"/>   10778                 <ref name="common-draw-viewbox-attlist"/>
10625                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>   10779                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
    -+ 10780                 <ref name="common-draw-caption-id-attlist"/>
      10781                 <optional>
      10782                         <ref name="svg-title"/>
      10783                 </optional>
      10784                 <optional>
      10785                         <ref name="svg-desc"/>
      10786                 </optional>
10626                 <optional> = 10787                 <optional>
10627                         <ref name="office-event-listeners"/>   10788                         <ref name="office-event-listeners"/>
10628                 </optional>   10789                 </optional>
10629                 <zeroOrMore>   10790                 <zeroOrMore>
10630                         <ref name="draw-glue-point"/>   10791                         <ref name="draw-glue-point"/>
10631                 </zeroOrMore>   10792                 </zeroOrMore>
10632                 <ref name="draw-text"/>   10793                 <ref name="draw-text"/>
10633         </element>   10794         </element>
10634 </define>   10795 </define>
10635 The attributes that may be associated with the <draw:polyline> element are:   10796 The attributes that may be associated with the <draw:polyline> element are:
10636 Position, Size, View box, Style, Layer, Z-Index, ID, and Transformation – see section 9.2.15 <> 10797 Position, Size, View box, Style, Layer, Z-Index, ID, Caption ID and Transformation – see section 9.2.15
10637 Text anchor, table background, draw end position – see section 9.2.16 = 10798 Text anchor, table background, draw end position – see section 9.2.16
10638 Points   10799 Points
    -+ 10800 The elements that may be contained in the <draw:polyline> element are:
      10801 Title (short accessible name) – see section 9.2.20.
      10802 Long description (in support of accessibility) – see section 9.2.20.
      10803 Event listeners – see section 9.2.21.
      10804 Glue points – see section 9.2.19.
      10805 Text – see section 9.2.17.
10639 Points = 10806 Points
10640 The svg:points attribute stores a sequence of points, which are connected by straight lines. Each point consists of two coordinates. The coordinates are separated by a comma and the points are separated by white spaces. <> 10807 The draw:points attribute stores a sequence of points, which are connected by straight lines. Each point consists of two coordinates. The coordinates are separated by a comma and the points are separated by white spaces.
10641 <define name="common-draw-points-attlist"> = 10808 <define name="common-draw-points-attlist">
10642         <attribute name="draw:points">   10809         <attribute name="draw:points">
10643                 <ref name="points"/>   10810                 <ref name="points"/>
10644         </attribute>   10811         </attribute>
10645 </define>   10812 </define>
10646 9.2.4Polygon   10813 9.2.4Polygon
10647 The <draw:polygon> element represents a polygon. A polygon is a closed set of straight lines.   10814 The <draw:polygon> element represents a polygon. A polygon is a closed set of straight lines.
10648 Some implementations may ignore the size attribute, and instead determine the size of a shape exclusively from the shape data (i.e., polygon vertices).   10815 Some implementations may ignore the size attribute, and instead determine the size of a shape exclusively from the shape data (i.e., polygon vertices).
10649 <define name="draw-polygon">   10816 <define name="draw-polygon">
10650         <element name="draw:polygon">   10817         <element name="draw:polygon">
10651                 <ref name="common-draw-points-attlist"/>   10818                 <ref name="common-draw-points-attlist"/>
10652                 <ref name="common-draw-position-attlist"/>   10819                 <ref name="common-draw-position-attlist"/>
10653                 <ref name="common-draw-size-attlist"/>   10820                 <ref name="common-draw-size-attlist"/>
10654                 <ref name="common-draw-viewbox-attlist"/>   10821                 <ref name="common-draw-viewbox-attlist"/>
10655                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>   10822                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
    -+ 10823                 <ref name="common-draw-caption-id-attlist"/>
      10824                 <optional>
      10825                         <ref name="svg-title"/>
      10826                 </optional>
      10827                 <optional>
      10828                         <ref name="svg-desc"/>
      10829                 </optional>
10656                 <optional> = 10830                 <optional>
10657                         <ref name="office-event-listeners"/>   10831                         <ref name="office-event-listeners"/>
10658                 </optional>   10832                 </optional>
10659                 <zeroOrMore>   10833                 <zeroOrMore>
10660                         <ref name="draw-glue-point"/>   10834                         <ref name="draw-glue-point"/>
10661                 </zeroOrMore>   10835                 </zeroOrMore>
10662                 <ref name="draw-text"/>   10836                 <ref name="draw-text"/>
10663         </element>   10837         </element>
10664 </define>   10838 </define>
10665 The attributes that may be associated with the <draw:polygon> element are:   10839 The attributes that may be associated with the <draw:polygon> element are:
10666 Position, Size, View box, Style, Layer, Z-Index, ID, and Transformation – see section 9.2.15 <> 10840 Position, Size, View box, Style, Layer, Z-Index, ID, Caption ID and Transformation – see section 9.2.15
10667 Text anchor, table background, draw end position – see section 9.2.16 = 10841 Text anchor, table background, draw end position – see section 9.2.16
10668 Points – see section 9.2.3   10842 Points – see section 9.2.3
    -+ 10843 The elements that may be contained in the <draw:polygon> element are:
      10844 Title (short accessible name) – see section 9.2.20.
      10845 Long description (in support of accessibility) – see section 9.2.20.
      10846 Event listeners – see section 9.2.21.
      10847 Glue points – see section 9.2.19.
      10848 Text – see section 9.2.17.
10669 9.2.5Regular Polygon = 10849 9.2.5Regular Polygon
10670 The <draw:regular-polygon> element represents a regular polygon. A regular polygon is a polygon that is specified by its number of edges (that is equal to the number of its corners), rather than by arbitrary points.   10850 The <draw:regular-polygon> element represents a regular polygon. A regular polygon is a polygon that is specified by its number of edges (that is equal to the number of its corners), rather than by arbitrary points.
10671 <define name="draw-regular-polygon">   10851 <define name="draw-regular-polygon">
10672         <element name="draw:regular-polygon">   10852         <element name="draw:regular-polygon">
10673                 <ref name="draw-regular-polygon-attlist"/>   10853                 <ref name="draw-regular-polygon-attlist"/>
10674                 <ref name="common-draw-position-attlist"/>   10854                 <ref name="common-draw-position-attlist"/>
10675                 <ref name="common-draw-size-attlist"/>   10855                 <ref name="common-draw-size-attlist"/>
10676                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>   10856                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
    -+ 10857                 <ref name="common-draw-caption-id-attlist"/>
      10858                 <optional>
      10859                         <ref name="svg-title"/>
      10860                 </optional>
      10861                 <optional>
      10862                         <ref name="svg-desc"/>
      10863                 </optional>
10677                 <optional> = 10864                 <optional>
10678                         <ref name="office-event-listeners"/>   10865                         <ref name="office-event-listeners"/>
10679                 </optional>   10866                 </optional>
10680                 <zeroOrMore>   10867                 <zeroOrMore>
10681                         <ref name="draw-glue-point"/>   10868                         <ref name="draw-glue-point"/>
10682                 </zeroOrMore>   10869                 </zeroOrMore>
10683                 <ref name="draw-text"/>   10870                 <ref name="draw-text"/>
10684         </element>   10871         </element>
10685 </define>   10872 </define>
10686 The attributes that may be associated with the <draw:polygon> element are:   10873 The attributes that may be associated with the <draw:polygon> element are:
10687 Position, Size, Style, Layer, Z-Index, ID, and Transformation – see section 9.2.15 <> 10874 Position, Size, Style, Layer, Z-Index, ID, Caption ID and Transformation – see section 9.2.15
10688 Text anchor, table background, draw end position – see section 9.2.16 = 10875 Text anchor, table background, draw end position – see section 9.2.16
10689 Concave   10876 Concave
10690 Corners   10877 Corners
10691 Sharpness   10878 Sharpness
    -+ 10879 The elements that may be contained in the <draw:regular-polygon> element are:
      10880 Title (short accessible name) – see section 9.2.20.
      10881 Long description (in support of accessibility) – see section 9.2.20.
      10882 Event listeners – see section 9.2.21.
      10883 Glue points – see section 9.2.19.
      10884 Text – see section 9.2.17.
10692 Concave = 10885 Concave
10693 The draw:concave attribute specifies whether the polygon is convex or concave. For a convex polygon, the polygon corners are located on a single ellipse which has its center in the center of the polygon. In a concave polygon, two such ellipses are required, and corners that are located next to each other are located on different ellipses. An example for a convex polygon is a hexagon. An example for a concave polygon is a star. For concave polygons, an additional draw:sharpness attribute is required.   10886 The draw:concave attribute specifies whether the polygon is convex or concave. For a convex polygon, the polygon corners are located on a single ellipse which has its center in the center of the polygon. In a concave polygon, two such ellipses are required, and corners that are located next to each other are located on different ellipses. An example for a convex polygon is a hexagon. An example for a concave polygon is a star. For concave polygons, an additional draw:sharpness attribute is required.
10694 <define name="draw-regular-polygon-attlist" combine="interleave">   10887 <define name="draw-regular-polygon-attlist" combine="interleave">
10695         <choice>   10888         <choice>
10696                 <attribute name="draw:concave">   10889                 <attribute name="draw:concave">
10697                         <value>false</value>   10890                         <value>false</value>
10698                 </attribute>   10891                 </attribute>
10699                 <group>   10892                 <group>
10700                         <attribute name="draw:concave">   10893                         <attribute name="draw:concave">
10701                                 <value>true</value>   10894                                 <value>true</value>
10702                         </attribute>   10895                         </attribute>
10703                         <ref name="draw-regular-polygon-sharpness-attlist"/>   10896                         <ref name="draw-regular-polygon-sharpness-attlist"/>
10704                 </group>   10897                 </group>
10705         </choice>   10898         </choice>
10706 </define>   10899 </define>
10707 Corners   10900 Corners
10708 The draw:corners attribute specifies the number of polygon corners.   10901 The draw:corners attribute specifies the number of polygon corners.
10709 <define name="draw-regular-polygon-attlist" combine="interleave">   10902 <define name="draw-regular-polygon-attlist" combine="interleave">
10710         <attribute name="draw:corners">   10903         <attribute name="draw:corners">
10711                 <ref name="positiveInteger"/>   10904                 <ref name="positiveInteger"/>
10712         </attribute>   10905         </attribute>
10713 </define>   10906 </define>
10714 Sharpness   10907 Sharpness
10715 For concave attributes, the draw:sharpness attribute specifies the radius of the ellipse on which the inner polygon corners are located. The value is a percentage, where 0% means that all corners are located on a single ellipse, while 100% means that the inner corners are located at the center point of the polygon. In general, if r is the radius of the polygon, and s is the sharpness, the inner corners a located on a ellipse that's radius is r(100-s)/100.   10908 For concave attributes, the draw:sharpness attribute specifies the radius of the ellipse on which the inner polygon corners are located. The value is a percentage, where 0% means that all corners are located on a single ellipse, while 100% means that the inner corners are located at the center point of the polygon. In general, if r is the radius of the polygon, and s is the sharpness, the inner corners a located on a ellipse that's radius is r(100-s)/100.
10716 <define name="draw-regular-polygon-sharpness-attlist">   10909 <define name="draw-regular-polygon-sharpness-attlist">
10717         <attribute name="draw:sharpness">   10910         <attribute name="draw:sharpness">
10718                 <ref name="percent"/>   10911                 <ref name="percent"/>
10719         </attribute>   10912         </attribute>
10720 </define>   10913 </define>
10721 9.2.6Path   10914 9.2.6Path
10722 The <draw:path> element represents a path. A path is a shape with a user-defined outline. The shape is built using multiple drawing actions such as:   10915 The <draw:path> element represents a path. A path is a shape with a user-defined outline. The shape is built using multiple drawing actions such as:
10723 moveto – set a new current point   10916 moveto – set a new current point
10724 lineto – draw a straight line   10917 lineto – draw a straight line
10725 curveto – draw a curve using a cubic Bézier   10918 curveto – draw a curve using a cubic Bézier
10726 arc – draw an elliptical or circular arc   10919 arc – draw an elliptical or circular arc
10727 closepath – close the current shape by drawing a line to the last moveto   10920 closepath – close the current shape by drawing a line to the last moveto
10728 Compound paths are paths with subpaths, each subpath consisting of a single moveto followed by one or more line or curve operations. Compound paths can be used for effects such as holes in objects.   10921 Compound paths are paths with subpaths, each subpath consisting of a single moveto followed by one or more line or curve operations. Compound paths can be used for effects such as holes in objects.
10729 Some implementations may ignore the size attribute, and instead determine the size of a shape exclusively from the shape data (i.e., polygon vertices).   10922 Some implementations may ignore the size attribute, and instead determine the size of a shape exclusively from the shape data (i.e., polygon vertices).
10730 <define name="draw-path">   10923 <define name="draw-path">
10731         <element name="draw:path">   10924         <element name="draw:path">
10732                 <ref name="common-draw-path-data-attlist"/>   10925                 <ref name="common-draw-path-data-attlist"/>
10733                 <ref name="common-draw-position-attlist"/>   10926                 <ref name="common-draw-position-attlist"/>
10734                 <ref name="common-draw-size-attlist"/>   10927                 <ref name="common-draw-size-attlist"/>
10735                 <ref name="common-draw-viewbox-attlist"/>   10928                 <ref name="common-draw-viewbox-attlist"/>
10736                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>   10929                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
    -+ 10930                 <ref name="common-draw-caption-id-attlist"/>
      10931                 <optional>
      10932                         <ref name="svg-title"/>
      10933                 </optional>
      10934                 <optional>
      10935                         <ref name="svg-desc"/>
      10936                 </optional>
10737                 <optional> = 10937                 <optional>
10738                         <ref name="office-event-listeners"/>   10938                         <ref name="office-event-listeners"/>
10739                 </optional>   10939                 </optional>
10740                 <zeroOrMore>   10940                 <zeroOrMore>
10741                         <ref name="draw-glue-point"/>   10941                         <ref name="draw-glue-point"/>
10742                 </zeroOrMore>   10942                 </zeroOrMore>
10743                 <ref name="draw-text"/>   10943                 <ref name="draw-text"/>
10744         </element>   10944         </element>
10745 </define>   10945 </define>
10746 The attributes that may be associated with the <draw:path> element are:   10946 The attributes that may be associated with the <draw:path> element are:
10747 Position, Size, View box, Style, Layer, Z-Index, ID, and Transformation – see section 9.2.15 <> 10947 Position, Size, View box, Style, Layer, Z-Index, ID, Caption ID and Transformation – see section 9.2.15
10748 Text anchor, table background, draw end position – see section 9.2.16 = 10948 Text anchor, table background, draw end position – see section 9.2.16
10749 Path data   10949 Path data
    -+ 10950 The elements that may be contained in the <draw:path> element are:
      10951 Title (short accessible name) – see section 9.2.20.
      10952 Long description (in support of accessibility) – see section 9.2.20.
      10953 Event listeners – see section 9.2.21.
      10954 Glue points – see section 9.2.19.
      10955 Text – see section 9.2.17.
10750 Path Data = 10956 Path Data
10751 The syntax for the attribute svg:d is described in §8 of the Scalable Vector Graphics (SVG) 1.1 Specification [SVG].   10957 The syntax for the attribute svg:d is described in §8 of the Scalable Vector Graphics (SVG) 1.1 Specification [SVG].
10752 Some implementations may only supports a subset of the SVG path specification, for instance no mixtures of open and closed curves for one shape, or no elliptical arc command.   10958 Some implementations may only supports a subset of the SVG path specification, for instance no mixtures of open and closed curves for one shape, or no elliptical arc command.
10753 <define name="common-draw-path-data-attlist">   10959 <define name="common-draw-path-data-attlist">
10754         <attribute name="svg:d">   10960         <attribute name="svg:d">
10755                 <ref name="pathData"/>   10961                 <ref name="pathData"/>
10756         </attribute>   10962         </attribute>
10757 </define>   10963 </define>
10758 9.2.7Circle   10964 9.2.7Circle
10759 The <draw:circle> element represents a circular drawing shape.   10965 The <draw:circle> element represents a circular drawing shape.
10760 <define name="draw-circle">   10966 <define name="draw-circle">
10761         <element name="draw:circle">   10967         <element name="draw:circle">
10762                 <ref name="draw-circle-attlist"/>   10968                 <ref name="draw-circle-attlist"/>
10763                 <ref name="common-draw-circle-ellipse-attlist"/>   10969                 <ref name="common-draw-circle-ellipse-attlist"/>
10764                 <ref name="common-draw-position-attlist"/>   10970                 <ref name="common-draw-position-attlist"/>
10765                 <ref name="common-draw-size-attlist"/>   10971                 <ref name="common-draw-size-attlist"/>
10766                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>   10972                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
    -+ 10973                 <ref name="common-draw-caption-id-attlist"/>
      10974                 <optional>
      10975                         <ref name="svg-title"/>
      10976                 </optional>
      10977                 <optional>
      10978                         <ref name="svg-desc"/>
      10979                 </optional>
10767                 <optional> = 10980                 <optional>
10768                         <ref name="office-event-listeners"/>   10981                         <ref name="office-event-listeners"/>
10769                 </optional>   10982                 </optional>
10770                 <zeroOrMore>   10983                 <zeroOrMore>
10771                         <ref name="draw-glue-point"/>   10984                         <ref name="draw-glue-point"/>
10772                 </zeroOrMore>   10985                 </zeroOrMore>
10773                 <ref name="draw-text"/>   10986                 <ref name="draw-text"/>
10774         </element>   10987         </element>
10775 </define>   10988 </define>
10776 The attributes that may be associated with the <draw:circle> element are:   10989 The attributes that may be associated with the <draw:circle> element are:
10777 Position, Size, Style, Layer, Z-Index, ID, and Transformation – see section 9.2.15 <> 10990 Position, Size, Style, Layer, Z-Index, ID, Caption ID and Transformation – see section 9.2.15
10778 Text anchor, table background, draw end position – see section 9.2.16 = 10991 Text anchor, table background, draw end position – see section 9.2.16
10779 Center point   10992 Center point
10780 Radius   10993 Radius
10781 Kind   10994 Kind
10782 Start angle   10995 Start angle
10783 End angle   10996 End angle
    -+ 10997 The elements that may be contained in the <draw:circle> element are:
      10998 Title (short accessible name) – see section 9.2.20.
      10999 Long description (in support of accessibility) – see section 9.2.20.
      11000 Event listeners – see section 9.2.21.
      11001 Glue points – see section 9.2.19.
      11002 Text – see section 9.2.17.
10784 Center Point = 11003 Center Point
10785 The center point attributes svg:cx and svg:cy specify the coordinates of the center point of the circle. If these optional attributes are not set, the position and size attributes are used to create them.   11004 The center point attributes svg:cx and svg:cy specify the coordinates of the center point of the circle. If these optional attributes are not set, the position and size attributes are used to create them.
10786 <define name="common-draw-circle-ellipse-attlist" combine="interleave">   11005 <define name="common-draw-circle-ellipse-attlist" combine="interleave">
10787         <optional>   11006         <optional>
10788                 <attribute name="svg:cx">   11007                 <attribute name="svg:cx">
10789                         <ref name="coordinate"/>   11008                         <ref name="coordinate"/>
10790                 </attribute>   11009                 </attribute>
10791                 <attribute name="svg:cy">   11010                 <attribute name="svg:cy">
10792                         <ref name="coordinate"/>   11011                         <ref name="coordinate"/>
10793                 </attribute>   11012                 </attribute>
10794         </optional>   11013         </optional>
10795 </define>   11014 </define>
10796 Radius   11015 Radius
10797 The svg:r attribute specifies the radius of the circle. If this optional attribute are not set, the position and size attributes are used to create circle.   11016 The svg:r attribute specifies the radius of the circle. If this optional attribute are not set, the position and size attributes are used to create circle.
10798 <define name="draw-circle-attlist" combine="interleave">   11017 <define name="draw-circle-attlist" combine="interleave">
10799         <optional>   11018         <optional>
10800                 <attribute name="svg:r">   11019                 <attribute name="svg:r">
10801                         <ref name="length"/>   11020                         <ref name="length"/>
10802                 </attribute>   11021                 </attribute>
10803         </optional>   11022         </optional>
10804 </define>   11023 </define>
10805 Kind   11024 Kind
10806 The draw:kind attribute specifies the appearance of the circle.   11025 The draw:kind attribute specifies the appearance of the circle.
10807 full specifies a full circle or ellipse, like .   11026 full specifies a full circle or ellipse, like .
10808 section specifies a section of a circle or ellipse, like .   11027 section specifies a section of a circle or ellipse, like .
10809 cut specifies a circle or ellipse with a cut, like .   11028 cut specifies a circle or ellipse with a cut, like .
10810 arc specifies a circle or ellipse arc, like .   11029 arc specifies a circle or ellipse arc, like .
10811 <define name="common-draw-circle-ellipse-attlist" combine="interleave">   11030 <define name="common-draw-circle-ellipse-attlist" combine="interleave">
10812         <optional>   11031         <optional>
10813                 <attribute name="draw:kind" a:defaultValue="full">   11032                 <attribute name="draw:kind" a:defaultValue="full">
10814                         <choice>   11033                         <choice>
10815                                 <value>full</value>   11034                                 <value>full</value>
10816                                 <value>section</value>   11035                                 <value>section</value>
10817                                 <value>cut</value>   11036                                 <value>cut</value>
10818                                 <value>arc</value>   11037                                 <value>arc</value>
10819                         </choice>   11038                         </choice>
10820                 </attribute>   11039                 </attribute>
10821         </optional>   11040         </optional>
10822 </define>   11041 </define>
10823 Start Angle   11042 Start Angle
10824 For circles where the draw:kind attribute value is section, cut or arc, the svg:start-angle attribute specifies the start angle of the section, cut, or arc.   11043 For circles where the draw:kind attribute value is section, cut or arc, the svg:start-angle attribute specifies the start angle of the section, cut, or arc.
10825 <define name="common-draw-circle-ellipse-attlist" combine="interleave">   11044 <define name="common-draw-circle-ellipse-attlist" combine="interleave">
10826         <optional>   11045         <optional>
10827                 <attribute name="draw:start-angle">   11046                 <attribute name="draw:start-angle">
10828                         <ref name="double"/>   11047                         <ref name="double"/>
10829                 </attribute>   11048                 </attribute>
10830         </optional>   11049         </optional>
10831 </define>   11050 </define>
10832 End Angle   11051 End Angle
10833 For circles where the draw:kind attribute value is section, cut or arc, the svg:end-angle attribute specifies the end angle of the section, cut, or arc.   11052 For circles where the draw:kind attribute value is section, cut or arc, the svg:end-angle attribute specifies the end angle of the section, cut, or arc.
10834 <define name="common-draw-circle-ellipse-attlist" combine="interleave">   11053 <define name="common-draw-circle-ellipse-attlist" combine="interleave">
10835         <optional>   11054         <optional>
10836                 <attribute name="draw:end-angle">   11055                 <attribute name="draw:end-angle">
10837                         <ref name="double"/>   11056                         <ref name="double"/>
10838                 </attribute>   11057                 </attribute>
10839         </optional>   11058         </optional>
10840 </define>   11059 </define>
10841 9.2.8Ellipse   11060 9.2.8Ellipse
10842 The <draw:ellipse> element represents an ellipse.   11061 The <draw:ellipse> element represents an ellipse.
10843 <define name="draw-ellipse">   11062 <define name="draw-ellipse">
10844         <element name="draw:ellipse">   11063         <element name="draw:ellipse">
10845                 <ref name="common-draw-circle-ellipse-attlist"/>   11064                 <ref name="common-draw-circle-ellipse-attlist"/>
10846                 <ref name="draw-ellipse-attlist"/>   11065                 <ref name="draw-ellipse-attlist"/>
10847                 <ref name="common-draw-position-attlist"/>   11066                 <ref name="common-draw-position-attlist"/>
10848                 <ref name="common-draw-size-attlist"/>   11067                 <ref name="common-draw-size-attlist"/>
10849                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>   11068                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
    -+ 11069                 <ref name="common-draw-caption-id-attlist"/>
      11070                 <optional>
      11071                         <ref name="svg-title"/>
      11072                 </optional>
      11073                 <optional>
      11074                         <ref name="svg-desc"/>
      11075                 </optional>
10850                 <optional> = 11076                 <optional>
10851                         <ref name="office-event-listeners"/>   11077                         <ref name="office-event-listeners"/>
10852                 </optional>   11078                 </optional>
10853                 <zeroOrMore>   11079                 <zeroOrMore>
10854                         <ref name="draw-glue-point"/>   11080                         <ref name="draw-glue-point"/>
10855                 </zeroOrMore>   11081                 </zeroOrMore>
10856                 <ref name="draw-text"/>   11082                 <ref name="draw-text"/>
10857         </element>   11083         </element>
10858 </define>   11084 </define>
10859 The attributes that may be associated with the <draw:ellipse> element are:   11085 The attributes that may be associated with the <draw:ellipse> element are:
10860 Position, Size, Style, Layer, Z-Index, ID, and Transformation – see section 9.2.15 <> 11086 Position, Size, Style, Layer, Z-Index, ID, Caption ID and Transformation – see section 9.2.15
10861 Text anchor, table background, draw end position – see section 9.2.16 = 11087 Text anchor, table background, draw end position – see section 9.2.16
10862 Center point, Kind, Start angle, End angle – see section 9.2.7   11088 Center point, Kind, Start angle, End angle – see section 9.2.7
10863 Radius   11089 Radius
    -+ 11090 The elements that may be contained in the <draw:ellipse> element are:
      11091 Title (short accessible name) – see section 9.2.20.
      11092 Long description (in support of accessibility) – see section 9.2.20.
      11093 Event listeners – see section 9.2.21.
      11094 Glue points – see section 9.2.19.
      11095 Text – see section 9.2.17.
10864 Radius = 11096 Radius
10865 The svg:rx and svg:rx attribute specify the horizontal and vertical radius of the ellipse. If these optional attributes are not set, the position and size attributes are used to create the ellipse.   11097 The svg:rx and svg:rx attribute specify the horizontal and vertical radius of the ellipse. If these optional attributes are not set, the position and size attributes are used to create the ellipse.
10866 <define name="draw-ellipse-attlist" combine="interleave">   11098 <define name="draw-ellipse-attlist" combine="interleave">
10867         <optional>   11099         <optional>
10868                 <attribute name="svg:rx">   11100                 <attribute name="svg:rx">
10869                         <ref name="length"/>   11101                         <ref name="length"/>
10870                 </attribute>   11102                 </attribute>
10871                 <attribute name="svg:ry">   11103                 <attribute name="svg:ry">
10872                         <ref name="length"/>   11104                         <ref name="length"/>
10873                 </attribute>   11105                 </attribute>
10874         </optional>   11106         </optional>
10875 </define>   11107 </define>
10876 9.2.9Connector   11108 9.2.9Connector
10877 The <draw:connector> element represents a series of lines that are connected to the glue points of two other shapes.   11109 The <draw:connector> element represents a series of lines that are connected to the glue points of two other shapes.
10878 <define name="draw-connector">   11110 <define name="draw-connector">
10879         <element name="draw:connector">   11111         <element name="draw:connector">
10880                 <ref name="draw-connector-attlist"/>   11112                 <ref name="draw-connector-attlist"/>
10881                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>   11113                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
    -+ 11114                 <ref name="common-draw-caption-id-attlist"/>
      11115                 <optional>
      11116                         <ref name="svg-title"/>
      11117                 </optional>
      11118                 <optional>
      11119                         <ref name="svg-desc"/>
      11120                 </optional>
10882                 <optional> = 11121                 <optional>
10883                         <ref name="office-event-listeners"/>   11122                         <ref name="office-event-listeners"/>
10884                 </optional>   11123                 </optional>
10885                 <zeroOrMore>   11124                 <zeroOrMore>
10886                         <ref name="draw-glue-point"/>   11125                         <ref name="draw-glue-point"/>
10887                 </zeroOrMore>   11126                 </zeroOrMore>
10888                 <ref name="draw-text"/>   11127                 <ref name="draw-text"/>
10889         </element>   11128         </element>
10890 </define>   11129 </define>
10891 The attributes that may be associated with the <draw:connector> element are:   11130 The attributes that may be associated with the <draw:connector> element are:
10892 Style, Layer, Z-Index and ID – see section 9.2.15 <> 11131 Style, Layer, Z-Index, ID and Caption ID – see section 9.2.15
10893 Text anchor, table background, draw end position – see section 9.2.16 = 11132 Text anchor, table background, draw end position – see section 9.2.16
10894 Type   11133 Type
10895 Start position   11134 Start position
10896 Start shape   11135 Start shape
10897 Start glue point   11136 Start glue point
10898 End position   11137 End position
10899 End shape   11138 End shape
10900 End glue point   11139 End glue point
10901 Line skew   11140 Line skew
    -+ 11141 The elements that may be contained in the <draw:connector> element are:
      11142 Title (short accessible name) – see section 9.2.20.
      11143 Long description (in support of accessibility) – see section 9.2.20.
      11144 Event listeners – see section 9.2.21.
      11145 Glue points – see section 9.2.19.
      11146 Text – see section 9.2.17.
10902 Type = 11147 Type
10903 The draw:type attribute specifies how the connection between two points is rendered. The value of this attribute can be standard, lines, line, or curve.   11148 The draw:type attribute specifies how the connection between two points is rendered. The value of this attribute can be standard, lines, line, or curve.
10904 standard: a standard connector escapes the two connecting objects with straight lines and connects them with a straight perpendicular line.   11149 standard: a standard connector escapes the two connecting objects with straight lines and connects them with a straight perpendicular line.
10905 lines: a lines connector escapes the two connecting objects with straight lines and connects them with a straight (not necessarily perpendicular) line.   11150 lines: a lines connector escapes the two connecting objects with straight lines and connects them with a straight (not necessarily perpendicular) line.
10906 line: a line connector draws one straight line between the two escape points of the connected objects.   11151 line: a line connector draws one straight line between the two escape points of the connected objects.
10907 curve: a curve connector draws a single curved line between the two escape points of the connected objects.   11152 curve: a curve connector draws a single curved line between the two escape points of the connected objects.
10908 <define name="draw-connector-attlist" combine="interleave">   11153 <define name="draw-connector-attlist" combine="interleave">
10909         <optional>   11154         <optional>
10910                 <attribute name="draw:type" a:defaultValue="standard">   11155                 <attribute name="draw:type" a:defaultValue="standard">
10911                         <choice>   11156                         <choice>
10912                                 <value>standard</value>   11157                                 <value>standard</value>
10913                                 <value>lines</value>   11158                                 <value>lines</value>
10914                                 <value>line</value>   11159                                 <value>line</value>
10915                                 <value>curve</value>   11160                                 <value>curve</value>
10916                         </choice>   11161                         </choice>
10917                 </attribute>   11162                 </attribute>
10918         </optional>   11163         </optional>
10919 </define>   11164 </define>
10920 Start Position   11165 Start Position
10921 The start position attributes svg:x1 and svg:y1 specify the start position of a connector.   11166 The start position attributes svg:x1 and svg:y1 specify the start position of a connector.
10922 If the start position is connected to a shape, these attributes are optional because the start position defaults to the corresponding glue point on the target shape.   11167 If the start position is connected to a shape, these attributes are optional because the start position defaults to the corresponding glue point on the target shape.
10923 <define name="draw-connector-attlist" combine="interleave">   11168 <define name="draw-connector-attlist" combine="interleave">
10924         <optional>   11169         <optional>
10925                 <attribute name="svg:x1">   11170                 <attribute name="svg:x1">
10926                         <ref name="coordinate"/>   11171                         <ref name="coordinate"/>
10927                 </attribute>   11172                 </attribute>
10928                 <attribute name="svg:y1">   11173                 <attribute name="svg:y1">
10929                         <ref name="coordinate"/>   11174                         <ref name="coordinate"/>
10930                 </attribute>   11175                 </attribute>
10931         </optional>   11176         </optional>
10932 </define>   11177 </define>
10933 Start Shape   11178 Start Shape
10934 The draw:start-shape attribute identifies the drawing shape to which the start of this connector is connected by its name.   11179 The draw:start-shape attribute identifies the drawing shape to which the start of this connector is connected by its name.
10935 If a shape is connected to the start of a connector, the start position defaults to the corresponding glue point on the target shape.   11180 If a shape is connected to the start of a connector, the start position defaults to the corresponding glue point on the target shape.
10936 <define name="draw-connector-attlist" combine="interleave">   11181 <define name="draw-connector-attlist" combine="interleave">
10937         <optional>   11182         <optional>
10938                 <attribute name="draw:start-shape">   11183                 <attribute name="draw:start-shape">
10939                         <ref name="IDREF"/>   11184                         <ref name="IDREF"/>
10940                 </attribute>   11185                 </attribute>
10941         </optional>   11186         </optional>
10942 </define>   11187 </define>
10943 Start Glue Point   11188 Start Glue Point
10944 The draw:start-glue-point attribute identifies the glue point in the start shape of the connector by its number. See section 9.2.19 for details on glue points.   11189 The draw:start-glue-point attribute identifies the glue point in the start shape of the connector by its number. See section 9.2.19 for details on glue points.
10945 If this attribute is not set and the start of the connector is connected to a shape, the application may choose the glue point. If the start of the connector is not connected to a shape, this attribute is ignored.   11190 If this attribute is not set and the start of the connector is connected to a shape, the application may choose the glue point. If the start of the connector is not connected to a shape, this attribute is ignored.
10946 <define name="draw-connector-attlist" combine="interleave">   11191 <define name="draw-connector-attlist" combine="interleave">
10947         <optional>   11192         <optional>
10948                 <attribute name="draw:start-glue-point">   11193                 <attribute name="draw:start-glue-point">
10949                         <ref name="nonNegativeInteger"/>   11194                         <ref name="nonNegativeInteger"/>
10950                 </attribute>   11195                 </attribute>
10951         </optional>   11196         </optional>
10952 </define>   11197 </define>
10953 End Position   11198 End Position
10954 The end position attributes svg:x2 and svg:y2 specify the end position of a connector.   11199 The end position attributes svg:x2 and svg:y2 specify the end position of a connector.
10955 If the end position is connected to a shape, these attributes are optional because the end position defaults to the corresponding glue point on the target shape.   11200 If the end position is connected to a shape, these attributes are optional because the end position defaults to the corresponding glue point on the target shape.
10956 <define name="draw-connector-attlist" combine="interleave">   11201 <define name="draw-connector-attlist" combine="interleave">
10957         <optional>   11202         <optional>
10958                 <attribute name="svg:x2">   11203                 <attribute name="svg:x2">
10959                         <ref name="coordinate"/>   11204                         <ref name="coordinate"/>
10960                 </attribute>   11205                 </attribute>
10961                 <attribute name="svg:y2">   11206                 <attribute name="svg:y2">
10962                         <ref name="coordinate"/>   11207                         <ref name="coordinate"/>
10963                 </attribute>   11208                 </attribute>
10964         </optional>   11209         </optional>
10965 </define>   11210 </define>
10966 End Shape   11211 End Shape
10967 The draw:end-shape attribute identifies the drawing shape to which the end of the connector is connected by its name.   11212 The draw:end-shape attribute identifies the drawing shape to which the end of the connector is connected by its name.
10968 If a shape is connected to the end of a connector, the end position defaults to the corresponding glue point on the target shape.   11213 If a shape is connected to the end of a connector, the end position defaults to the corresponding glue point on the target shape.
10969 <define name="draw-connector-attlist" combine="interleave">   11214 <define name="draw-connector-attlist" combine="interleave">
10970         <optional>   11215         <optional>
10971                 <attribute name="draw:end-shape">   11216                 <attribute name="draw:end-shape">
10972                         <ref name="IDREF"/>   11217                         <ref name="IDREF"/>
10973                 </attribute>   11218                 </attribute>
10974         </optional>   11219         </optional>
10975 </define>   11220 </define>
10976 End Glue Point   11221 End Glue Point
10977 The draw:end-glue-point attribute identifies the glue point in the end shape of the connector by its number. See section 9.2.19 for details on glue points.   11222 The draw:end-glue-point attribute identifies the glue point in the end shape of the connector by its number. See section 9.2.19 for details on glue points.
10978 If this attribute is not set and the end of the connector is connected to a shape, the application may choose the glue point. If the end of the connector is not connected to a shape, this attribute is ignored.   11223 If this attribute is not set and the end of the connector is connected to a shape, the application may choose the glue point. If the end of the connector is not connected to a shape, this attribute is ignored.
10979 <define name="draw-connector-attlist" combine="interleave">   11224 <define name="draw-connector-attlist" combine="interleave">
10980         <optional>   11225         <optional>
10981                 <attribute name="draw:end-glue-point">   11226                 <attribute name="draw:end-glue-point">
10982                         <ref name="nonNegativeInteger"/>   11227                         <ref name="nonNegativeInteger"/>
10983                 </attribute>   11228                 </attribute>
10984         </optional>   11229         </optional>
10985 </define>   11230 </define>
10986 Line Skew   11231 Line Skew
10987 The draw:line-skew attribute controls the generation of the lines that connect the start and end points. Depending on the type of connector, this can vary from one to three distances that move the connector lines relative to their normal position.   11232 The draw:line-skew attribute controls the generation of the lines that connect the start and end points. Depending on the type of connector, this can vary from one to three distances that move the connector lines relative to their normal position.
10988 <define name="draw-connector-attlist" combine="interleave">   11233 <define name="draw-connector-attlist" combine="interleave">
10989         <optional>   11234         <optional>
10990                 <attribute name="draw:line-skew">   11235                 <attribute name="draw:line-skew">
10991                         <list>   11236                         <list>
10992                                 <ref name="length"/>   11237                                 <ref name="length"/>
10993                                 <optional>   11238                                 <optional>
10994                                         <ref name="length"/>   11239                                         <ref name="length"/>
10995                                         <optional>   11240                                         <optional>
10996                                                 <ref name="length"/>   11241                                                 <ref name="length"/>
10997                                         </optional>   11242                                         </optional>
10998                                 </optional>   11243                                 </optional>
10999                         </list>   11244                         </list>
11000                 </attribute>   11245                 </attribute>
11001         </optional>   11246         </optional>
11002 </define>   11247 </define>
11003 9.2.10Caption   11248 9.2.10Caption
11004 The <draw:caption> element represents a rectangular drawing shape with an additional set of lines. It can be used as a description for a fixed point inside a drawing.   11249 The <draw:caption> element represents a rectangular drawing shape with an additional set of lines. It can be used as a description for a fixed point inside a drawing.
11005 <define name="draw-caption">   11250 <define name="draw-caption">
11006         <element name="draw:caption">   11251         <element name="draw:caption">
11007                 <ref name="draw-caption-attlist"/>   11252                 <ref name="draw-caption-attlist"/>
11008                 <ref name="common-draw-position-attlist"/>   11253                 <ref name="common-draw-position-attlist"/>
11009                 <ref name="common-draw-size-attlist"/>   11254                 <ref name="common-draw-size-attlist"/>
11010                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>    <> 11255                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
      11256                 <ref name="common-draw-caption-id-attlist"/>
      11257                 <optional>
      11258                         <ref name="svg-title"/>
      11259                 </optional>
      11260                 <optional>
      11261                         <ref name="svg-desc"/>
      11262                 </optional>
11011                 <optional> = 11263                 <optional>
11012                         <ref name="office-event-listeners"/>   11264                         <ref name="office-event-listeners"/>
11013                 </optional>   11265                 </optional>
11014                 <zeroOrMore>   11266                 <zeroOrMore>
11015                         <ref name="draw-glue-point"/>   11267                         <ref name="draw-glue-point"/>
11016                 </zeroOrMore>   11268                 </zeroOrMore>
11017                 <ref name="draw-text"/>   11269                 <ref name="draw-text"/>
11018         </element>   11270         </element>
11019 </define>   11271 </define>
11020 The attributes that may be associated with the <draw:caption> element are:   11272 The attributes that may be associated with the <draw:caption> element are:
11021 Position, Size, Style, Layer, Z-Index, ID, and Transformation – see section 9.2.15 <> 11273 Position, Size, Style, Layer, Z-Index, ID, Caption ID and Transformation – see section 9.2.15
11022 Text anchor, table background, draw end position – see section 9.2.16 = 11274 Text anchor, table background, draw end position – see section 9.2.16
11023 Caption point   11275 Caption point
11024 Round corners   11276 Round corners
    -+ 11277 The elements that may be contained in the <draw:caption> element are:
      11278 Title (short accessible name) – see section 9.2.20.
      11279 Long description (in support of accessibility) – see section 9.2.20.
      11280 Event listeners – see section 9.2.21.
      11281 Glue points – see section 9.2.19.
      11282 Text – see section 9.2.17.
11025 Caption Point = 11283 Caption Point
11026 The caption point attributes draw:caption-point-x and draw:caption-point-y specify the position of the point that is captioned. A set of lines are rendered from the caption area.   11284 The caption point attributes draw:caption-point-x and draw:caption-point-y specify the position of the point that is captioned. A set of lines are rendered from the caption area.
11027 <define name="draw-caption-attlist" combine="interleave">   11285 <define name="draw-caption-attlist" combine="interleave">
11028         <optional>   11286         <optional>
11029                 <attribute name="draw:caption-point-x">   11287                 <attribute name="draw:caption-point-x">
11030                         <ref name="coordinate"/>   11288                         <ref name="coordinate"/>
11031                 </attribute>   11289                 </attribute>
11032                 <attribute name="draw:caption-point-y">   11290                 <attribute name="draw:caption-point-y">
11033                         <ref name="coordinate"/>   11291                         <ref name="coordinate"/>
11034                 </attribute>   11292                 </attribute>
11035         </optional>   11293         </optional>
11036 </define>   11294 </define>
11037 Round Corners   11295 Round Corners
11038 The draw:corner-radius attribute specifies the radius of the circle used to round off the corners of the caption.   11296 The draw:corner-radius attribute specifies the radius of the circle used to round off the corners of the caption.
11039 <define name="draw-caption-attlist" combine="interleave">   11297 <define name="draw-caption-attlist" combine="interleave">
11040         <optional>   11298         <optional>
11041                 <attribute name="draw:corner-radius">   11299                 <attribute name="draw:corner-radius">
11042                         <ref name="nonNegativeLength"/>   11300                         <ref name="nonNegativeLength"/>
11043                 </attribute>   11301                 </attribute>
11044         </optional>   11302         </optional>
11045 </define>   11303 </define>
11046 9.2.11Measure   11304 9.2.11Measure
11047 The <draw:measure> element represents a shape that is used to measure distances in drawings.   11305 The <draw:measure> element represents a shape that is used to measure distances in drawings.
11048 <define name="draw-measure">   11306 <define name="draw-measure">
11049         <element name="draw:measure">   11307         <element name="draw:measure">
11050                 <ref name="draw-measure-attlist"/>   11308                 <ref name="draw-measure-attlist"/>
11051                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>   11309                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
    -+ 11310                 <ref name="common-draw-caption-id-attlist"/>
      11311                 <optional>
      11312                         <ref name="svg-title"/>
      11313                 </optional>
      11314                 <optional>
      11315                         <ref name="svg-desc"/>
      11316                 </optional>
11052                 <optional> = 11317                 <optional>
11053                         <ref name="office-event-listeners"/>   11318                         <ref name="office-event-listeners"/>
11054                 </optional>   11319                 </optional>
11055                 <zeroOrMore>   11320                 <zeroOrMore>
11056                         <ref name="draw-glue-point"/>   11321                         <ref name="draw-glue-point"/>
11057                 </zeroOrMore>   11322                 </zeroOrMore>
11058                 <ref name="draw-text"/>   11323                 <ref name="draw-text"/>
11059         </element>   11324         </element>
11060 </define>   11325 </define>
11061 The attributes that may be associated with the <draw:measure> element are:   11326 The attributes that may be associated with the <draw:measure> element are:
11062 Style, Layer, Z-Index, ID, and Transformation – see section 9.2.15 <> 11327 Style, Layer, Z-Index, ID, Caption ID and Transformation – see section 9.2.15
11063 Text anchor, table background, draw end position – see section 9.2.16 = 11328 Text anchor, table background, draw end position – see section 9.2.16
11064 Start position   11329 Start position
11065 End position   11330 End position
    -+ 11331 The elements that may be contained in the <draw:measure> element are:
      11332 Title (short accessible name) – see section 9.2.20.
      11333 Long description (in support of accessibility) – see section 9.2.20.
      11334 Event listeners – see section 9.2.21.
      11335 Glue points – see section 9.2.19.
      11336 Text – see section 9.2.17.
11066 Start Position = 11337 Start Position
11067 The attributes svg:x1 and svg:y1 specify the start point of the measured distance.   11338 The attributes svg:x1 and svg:y1 specify the start point of the measured distance.
11068 <define name="draw-measure-attlist" combine="interleave">   11339 <define name="draw-measure-attlist" combine="interleave">
11069         <attribute name="svg:x1">   11340         <attribute name="svg:x1">
11070                 <ref name="coordinate"/>   11341                 <ref name="coordinate"/>
11071         </attribute>   11342         </attribute>
11072         <attribute name="svg:y1">   11343         <attribute name="svg:y1">
11073                 <ref name="coordinate"/>   11344                 <ref name="coordinate"/>
11074         </attribute>   11345         </attribute>
11075 </define>   11346 </define>
11076 Draw End Position   11347 Draw End Position
11077 The attributes svg:x2 and svg:y2 specify the end point of the measured distance.   11348 The attributes svg:x2 and svg:y2 specify the end point of the measured distance.
11078 <define name="draw-measure-attlist" combine="interleave">   11349 <define name="draw-measure-attlist" combine="interleave">
11079         <attribute name="svg:x2">   11350         <attribute name="svg:x2">
11080                 <ref name="coordinate"/>   11351                 <ref name="coordinate"/>
11081         </attribute>   11352         </attribute>
11082         <attribute name="svg:y2">   11353         <attribute name="svg:y2">
11083                 <ref name="coordinate"/>   11354                 <ref name="coordinate"/>
11084         </attribute>   11355         </attribute>
11085 </define>   11356 </define>
11086 9.2.12Control   11357 9.2.12Control
11087 The <draw:control> element represents a shape that is linked to a control inside an <office:forms> element (see section 11.1).   11358 The <draw:control> element represents a shape that is linked to a control inside an <office:forms> element (see section 11.1).
11088 <define name="draw-control">   11359 <define name="draw-control">
11089         <element name="draw:control">   11360         <element name="draw:control">
11090                 <ref name="draw-control-attlist"/>   11361                 <ref name="draw-control-attlist"/>
11091                 <ref name="common-draw-position-attlist"/>   11362                 <ref name="common-draw-position-attlist"/>
11092                 <ref name="common-draw-size-attlist"/>   11363                 <ref name="common-draw-size-attlist"/>
11093                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>      11364                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>   
    -+ 11365                 <ref name="common-draw-caption-id-attlist"/>
      11366                 <optional>
      11367                         <ref name="svg-title"/>
      11368                 </optional>
      11369                 <optional>
      11370                         <ref name="svg-desc"/>
      11371                 </optional>
11094                 <zeroOrMore> = 11372                 <zeroOrMore>
11095                         <ref name="draw-glue-point"/>   11373                         <ref name="draw-glue-point"/>
11096                 </zeroOrMore>   11374                 </zeroOrMore>
11097         </element>   11375         </element>
11098 </define>   11376 </define>
11099 The attributes that may be associated with the <draw:control> element are:   11377 The attributes that may be associated with the <draw:control> element are:
11100 Position, Size, Style, Layer, Z-Index, ID, and Transformation – see section 9.2.15. <> 11378 Position, Size, Style, Layer, Z-Index, ID, Caption ID and Transformation – see section 9.2.15.
11101 Text anchor, table background, draw end position – see section 9.2.16 = 11379 Text anchor, table background, draw end position – see section 9.2.16
11102 Control   11380 Control
    -+ 11381 The elements that may be contained in the <draw:control> element are:
      11382 Title (short accessible name) – see section 9.2.20.
      11383 Long description (in support of accessibility) – see section 9.2.20.
      11384 Glue points – see section 9.2.19.
11103 Control = 11385 Control
11104 The attributes draw:control attribute specifies the control within a form (see section 11.5.2) that is linked to the control shape.   11386 The attributes draw:control attribute specifies the control within a form (see section 11.5.2) that is linked to the control shape.
11105 <define name="draw-control-attlist" combine="interleave">   11387 <define name="draw-control-attlist" combine="interleave">
11106         <attribute name="draw:control">   11388         <attribute name="draw:control">
11107                 <ref name="IDREF"/>   11389                 <ref name="IDREF"/>
11108         </attribute>   11390         </attribute>
11109 </define>   11391 </define>
11110 9.2.13Page Thumbnail   11392 9.2.13Page Thumbnail
11111 The <draw:page-thumbnail> element represents a rectangular area that displays the thumbnail of a drawing page.   11393 The <draw:page-thumbnail> element represents a rectangular area that displays the thumbnail of a drawing page.
11112 <define name="draw-page-thumbnail">   11394 <define name="draw-page-thumbnail">
11113         <element name="draw:page-thumbnail">   11395         <element name="draw:page-thumbnail">
11114                 <ref name="draw-page-thumbnail-attlist"/>   11396                 <ref name="draw-page-thumbnail-attlist"/>
11115                 <ref name="common-draw-position-attlist"/>   11397                 <ref name="common-draw-position-attlist"/>
11116                 <ref name="common-draw-size-attlist"/>   11398                 <ref name="common-draw-size-attlist"/>
11117                 <ref name="presentation-shape-attlist"/>   11399                 <ref name="presentation-shape-attlist"/>
11118                 <ref name="common-draw-shape-with-styles-attlist"/>   11400                 <ref name="common-draw-shape-with-styles-attlist"/>
    <> 11401                 <ref name="common-draw-caption-id-attlist"/>
      11402                 <optional>
      11403                         <ref name="svg-title"/>
11119                 <empty/>   11404                 </optional>
      11405                 <optional>
      11406                         <ref name="svg-desc"/>
      11407                 </optional>
11120         </element> = 11408         </element>
11121 </define>   11409 </define>
11122 The attributes that may be associated with the <draw:page-thumbnail> element are:   11410 The attributes that may be associated with the <draw:page-thumbnail> element are:
11123 Position, Size, Style, Layer, Z-Index, ID, and Transformation – see section 9.2.15. <> 11411 Position, Size, Style, Layer, Z-Index, ID, Caption ID and Transformation – see section 9.2.15.
11124 Text anchor, table background, draw end position – see section 9.2.16 = 11412 Text anchor, table background, draw end position – see section 9.2.16
11125 Presentation class – see section  9.6.1   11413 Presentation class – see section  9.6.1
11126 Page number   11414 Page number
    -+ 11415 The elements that may be contained in the <draw:page-thumbnail> element are:
      11416 Title (short accessible name) – see section 9.2.20.
      11417 Long description (in support of accessibility) – see section 9.2.20.
11127 Page Number = 11418 Page Number
11128 The draw:page-number attribute specifies the number of the page that is displayed as a thumbnail. For thumbnails on notes pages, the value of this attribute is fixed to the drawing page of the notes page. For thumbnails on handout master pages, the value of this attribute is the order in which the pages are previewed on the handout. For example, on a handout page with 4 thumbnails, the thumbnail with the lowest page number displays the first page when printing the first handout page and the fifth page when printing the second handout page and so on.   11419 The draw:page-number attribute specifies the number of the page that is displayed as a thumbnail. For thumbnails on notes pages, the value of this attribute is fixed to the drawing page of the notes page. For thumbnails on handout master pages, the value of this attribute is the order in which the pages are previewed on the handout. For example, on a handout page with 4 thumbnails, the thumbnail with the lowest page number displays the first page when printing the first handout page and the fifth page when printing the second handout page and so on.
11129 <define name="draw-page-thumbnail-attlist">   11420 <define name="draw-page-thumbnail-attlist">
11130         <optional>   11421         <optional>
11131                 <attribute name="draw:page-number">   11422                 <attribute name="draw:page-number">
11132                         <ref name="positiveInteger"/>   11423                         <ref name="positiveInteger"/>
11133                 </attribute>   11424                 </attribute>
11134         </optional>   11425         </optional>
11135 </define>   11426 </define>
11136 9.2.14Grouping   11427 9.2.14Grouping
11137 The <draw:g> element represents a group of drawing shapes.   11428 The <draw:g> element represents a group of drawing shapes.
11138 <define name="draw-g">   11429 <define name="draw-g">
11139         <element name="draw:g">   11430         <element name="draw:g">
11140                 <ref name="draw-g-attlist"/>   11431                 <ref name="draw-g-attlist"/>
11141                 <ref name="common-draw-z-index-attlist"/>   11432                 <ref name="common-draw-z-index-attlist"/>
11142                 <ref name="common-draw-name-attlist"/>   11433                 <ref name="common-draw-name-attlist"/>
11143                 <ref name="common-draw-id-attlist"/>   11434                 <ref name="common-draw-id-attlist"/>
11144                 <ref name="common-draw-style-name-attlist"/>   11435                 <ref name="common-draw-style-name-attlist"/>
11145                 <ref name="common-text-spreadsheet-shape-attlist"/>   11436                 <ref name="common-text-spreadsheet-shape-attlist"/>
    -+ 11437                 <ref name="common-draw-caption-id-attlist"/>
      11438                 <optional>
      11439                         <ref name="svg-title"/>
      11440                 </optional>
      11441                 <optional>
      11442                         <ref name="svg-desc"/>
      11443                 </optional>
11146                 <optional> = 11444                 <optional>
11147                         <ref name="office-event-listeners"/>   11445                         <ref name="office-event-listeners"/>
11148                 </optional>   11446                 </optional>
11149                 <zeroOrMore>   11447                 <zeroOrMore>
11150                         <ref name="draw-glue-point"/>   11448                         <ref name="draw-glue-point"/>
11151                 </zeroOrMore>   11449                 </zeroOrMore>
11152                 <zeroOrMore>   11450                 <zeroOrMore>
11153                         <ref name="shape"/>   11451                         <ref name="shape"/>
11154                 </zeroOrMore>   11452                 </zeroOrMore>
11155         </element>   11453         </element>
11156 </define>   11454 </define>
11157 The attributes that may be associated with the <draw:g> element are:   11455 The attributes that may be associated with the <draw:g> element are:
11158 Style, Z-Index and ID – see section 9.2.15. <> 11456 Style, Z-Index, ID and Caption ID – see section 9.2.15.
11159 Text anchor, table background, draw end position – see section 9.2.16 = 11457 Text anchor, table background, draw end position – see section 9.2.16
11160 Position   11458 Position
    -+ 11459 The elements that may be contained in the <draw:g> element are:
      11460 Title (short accessible name) – see section 9.2.20.
      11461 Long description (in support of accessibility) – see section 9.2.20.
      11462 Event listeners – see section 9.2.21.
      11463 Glue points – see section 9.2.19.
      11464 Drawing shapes.
11161 Position = 11465 Position
11162 For group shapes that are contained in text documents and anchored as character, the svg:y attribute specifies the vertical position of the shape.   11466 For group shapes that are contained in text documents and anchored as character, the svg:y attribute specifies the vertical position of the shape.
11163 <define name="draw-g-attlist" combine="interleave">   11467 <define name="draw-g-attlist" combine="interleave">
11164         <optional>   11468         <optional>
11165                 <attribute name="svg:y">   11469                 <attribute name="svg:y">
11166                         <ref name="coordinate"/>   11470                         <ref name="coordinate"/>
11167                 </attribute>   11471                 </attribute>
11168         </optional>   11472         </optional>
11169 </define>   11473 </define>
11170 9.2.15Common Drawing Shape Attributes   11474 9.2.15Common Drawing Shape Attributes
11171 The attributes described in this section are common to all drawing shapes.   11475 The attributes described in this section are common to all drawing shapes.
11172 Name   11476 Name
11173 The attribute draw:name assigns a name to the drawing shape.   11477 The attribute draw:name assigns a name to the drawing shape.
11174 <define name="common-draw-name-attlist" combine="interleave">   11478 <define name="common-draw-name-attlist" combine="interleave">
11175         <optional>   11479         <optional>
11176                 <attribute name="draw:name">   11480                 <attribute name="draw:name">
11177                         <ref name="string"/>   11481                         <ref name="string"/>
    -+ 11482                 </attribute>
      11483         </optional>
      11484 </define>
      11485 Caption-ID
      11486 The draw:caption-id attribute establishes a relationship between a drawing objects and its caption. It takes a value of type IDREF. The value for draw:caption-id attribute is the target ID assigned to the <draw:text-box> (see section 9.3.1) used to represent the corresponding caption.
      11487 When a caption is assigned by a user agent, an id must be assigned to the element containing the text used to caption a drawing element. The drawing element being captioned must then be assigned the draw:caption-id attribute with an IDREF equivalent to the id <draw:text-box> containing the captioning text, thus establishing a relationship between the captioned text and the object captioned as needed for accessibility. Removing the caption should result in removing the draw:caption-id attribute of the object that was being captioned.
      11488 If the user agent supports a platform which provides a draw:caption-id relationship in its accessibility API, this relationship for captions should be used to fulfill the relationship.
      11489 See appendix E for guidelines how to use this attribute.
      11490 <define name="common-draw-caption-id-attlist" combine="interleave">
      11491         <optional>
      11492                 <attribute name="draw:caption-id">
      11493                         <ref name="IDREF"/>
11178                 </attribute> = 11494                 </attribute>
11179         </optional>   11495         </optional>
11180 </define>   11496 </define>
11181 Position   11497 Position
11182 The position attributes svg:x and svg:y specify the x and y coordinates of the start position of the drawing shape.   11498 The position attributes svg:x and svg:y specify the x and y coordinates of the start position of the drawing shape.
11183 <define name="common-draw-position-attlist">   11499 <define name="common-draw-position-attlist">
11184         <optional>   11500         <optional>
11185                 <attribute name="svg:x">   11501                 <attribute name="svg:x">
11186                         <ref name="coordinate"/>   11502                         <ref name="coordinate"/>
11187                 </attribute>   11503                 </attribute>
11188         </optional>   11504         </optional>
11189         <optional>   11505         <optional>
11190                 <attribute name="svg:y">   11506                 <attribute name="svg:y">
11191                         <ref name="coordinate"/>   11507                         <ref name="coordinate"/>
11192                 </attribute>   11508                 </attribute>
11193         </optional>   11509         </optional>
11194 </define>   11510 </define>
11195 Size   11511 Size
11196 The attributes svg:width and svg:height specify the width and height of the drawing shape.   11512 The attributes svg:width and svg:height specify the width and height of the drawing shape.
11197 <define name="common-draw-size-attlist">   11513 <define name="common-draw-size-attlist">
11198         <optional>   11514         <optional>
11199                 <attribute name="svg:width">   11515                 <attribute name="svg:width">
11200                         <ref name="length"/>   11516                         <ref name="length"/>
11201                 </attribute>   11517                 </attribute>
11202         </optional>   11518         </optional>
11203         <optional>   11519         <optional>
11204                 <attribute name="svg:height">   11520                 <attribute name="svg:height">
11205                         <ref name="length"/>   11521                         <ref name="length"/>
11206                 </attribute>   11522                 </attribute>
11207         </optional>   11523         </optional>
11208 </define>   11524 </define>
11209 Transformation   11525 Transformation
11210 The draw:transform attribute specifies a list of transformations that can be applied to a drawing shape.   11526 The draw:transform attribute specifies a list of transformations that can be applied to a drawing shape.
11211 The value of this attribute is a list of transform definitions, which are applied to the drawing shape in the order in which they are listed. The transform definitions in the list must be separated by a white space and/or a comma. The types of transform definitions available include:   11527 The value of this attribute is a list of transform definitions, which are applied to the drawing shape in the order in which they are listed. The transform definitions in the list must be separated by a white space and/or a comma. The types of transform definitions available include:
11212 matrix(<a> <b> <c> <d> <e> <f>), which specifies a transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is the equivalent of applying the transformation matrix [a b c d e f].   11528 matrix(<a> <b> <c> <d> <e> <f>), which specifies a transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is the equivalent of applying the transformation matrix [a b c d e f].
11213 translate(<tx> [<ty>]), which specifies a translation by tx and ty.   11529 translate(<tx> [<ty>]), which specifies a translation by tx and ty.
11214 scale(<sx> [<sy>]), which specifies a scale operation by sx and sy. If <sy> is not provided, it is assumed to be equal to <sx>.   11530 scale(<sx> [<sy>]), which specifies a scale operation by sx and sy. If <sy> is not provided, it is assumed to be equal to <sx>.
11215 rotate(<rotate-angle>), which specifies a rotation by <rotate-angle> about the origin of the shapes coordinate system.   11531 rotate(<rotate-angle>), which specifies a rotation by <rotate-angle> about the origin of the shapes coordinate system.
11216 skewX(<skew-angle>), which specifies a skew transformation along the X axis.   11532 skewX(<skew-angle>), which specifies a skew transformation along the X axis.
11217 skewY(<skew-angle>), which specifies a skew transformation along the Y axis.   11533 skewY(<skew-angle>), which specifies a skew transformation along the Y axis.
11218 <define name="common-draw-transform-attlist">   11534 <define name="common-draw-transform-attlist">
11219         <optional>   11535         <optional>
11220                 <attribute name="draw:transform">   11536                 <attribute name="draw:transform">
11221                         <ref name="string"/>   11537                         <ref name="string"/>
11222                 </attribute>   11538                 </attribute>
11223         </optional>   11539         </optional>
11224 </define>   11540 </define>
11225 View Box   11541 View Box
11226 The svg:viewBox attribute establishes a user coordinate system inside the physical coordinate system of the shape specified by the position and size attributes. This user coordinate system is used by the svg:points attribute and the <draw:path> element.   11542 The svg:viewBox attribute establishes a user coordinate system inside the physical coordinate system of the shape specified by the position and size attributes. This user coordinate system is used by the svg:points attribute and the <draw:path> element.
11227 The syntax for using this attribute is the same as the [SVG] syntax. The value of the attribute are four numbers separated by white spaces, which define the left, top, right, and bottom dimensions of the user coordinate system.   11543 The syntax for using this attribute is the same as the [SVG] syntax. The value of the attribute are four numbers separated by white spaces, which define the left, top, right, and bottom dimensions of the user coordinate system.
11228 Some implementations may ignore the view box attribute. The implied coordinate system then has its origin at the left, top corner of the shape, without any scaling relative to the shape.   11544 Some implementations may ignore the view box attribute. The implied coordinate system then has its origin at the left, top corner of the shape, without any scaling relative to the shape.
11229 <define name="common-draw-viewbox-attlist">   11545 <define name="common-draw-viewbox-attlist">
11230         <attribute name="svg:viewBox">   11546         <attribute name="svg:viewBox">
11231                 <list>   11547                 <list>
11232                         <ref name="integer"/>   11548                         <ref name="integer"/>
11233                         <ref name="integer"/>   11549                         <ref name="integer"/>
11234                         <ref name="integer"/>   11550                         <ref name="integer"/>
11235                         <ref name="integer"/>   11551                         <ref name="integer"/>
11236                 </list>   11552                 </list>
11237         </attribute>   11553         </attribute>
11238 </define>   11554 </define>
11239 Style   11555 Style
11240 The draw:style-name and presentation:style-name attributes specify a style for the drawing shape. If draw:style-name is used, the shape is a regular graphic shape. If presentation:style-name is used, the shape is a presentation shape as described in section 9.6.   11556 The draw:style-name and presentation:style-name attributes specify a style for the drawing shape. If draw:style-name is used, the shape is a regular graphic shape. If presentation:style-name is used, the shape is a presentation shape as described in section 9.6.
11241 The value of both attributes is the name of a <style:style> element. If the draw:style-name attribute is used, the style must have a family value of graphic. If the presentation:style-name is used, the style must have a family value of presentation. The formatting properties of the specified style and its optional parent styles are used to format the shape. See also section 14.13.1.   11557 The value of both attributes is the name of a <style:style> element. If the draw:style-name attribute is used, the style must have a family value of graphic. If the presentation:style-name is used, the style must have a family value of presentation. The formatting properties of the specified style and its optional parent styles are used to format the shape. See also section 14.13.1.
11242 The draw:class-names and presentation:class-names attributes take a whitespace separated list of either graphic or presentation style names. The referenced styles are applied in the order they are contained in the list. If both, draw:style-name and draw:class-names, or both presentation:style-name and presentation:class-names are present, the style referenced by the style-name attribute is treated as the first style in the list in the class-names attribute. Conforming application should support the class-names attribute and also should preserve it while editing.   11558 The draw:class-names and presentation:class-names attributes take a whitespace separated list of either graphic or presentation style names. The referenced styles are applied in the order they are contained in the list. If both, draw:style-name and draw:class-names, or both presentation:style-name and presentation:class-names are present, the style referenced by the style-name attribute is treated as the first style in the list in the class-names attribute. Conforming application should support the class-names attribute and also should preserve it while editing.
11243 <define name="common-draw-style-name-attlist">   11559 <define name="common-draw-style-name-attlist">
11244         <choice>   11560         <choice>
11245                 <group>   11561                 <group>
11246                         <optional>   11562                         <optional>
11247                                 <attribute name="draw:style-name">   11563                                 <attribute name="draw:style-name">
11248                                         <ref name="styleNameRef"/>   11564                                         <ref name="styleNameRef"/>
11249                                 </attribute>   11565                                 </attribute>
11250                         </optional>   11566                         </optional>
11251                         <optional>   11567                         <optional>
11252                                 <attribute name="draw:class-names">   11568                                 <attribute name="draw:class-names">
11253                                         <ref name="styleNameRefs"/>   11569                                         <ref name="styleNameRefs"/>
11254                                 </attribute>   11570                                 </attribute>
11255                         </optional>   11571                         </optional>
11256                 </group>   11572                 </group>
11257                 <group>   11573                 <group>
11258                         <optional>   11574                         <optional>
11259                                 <attribute name="presentation:style-name">   11575                                 <attribute name="presentation:style-name">
11260                                         <ref name="styleNameRef"/>   11576                                         <ref name="styleNameRef"/>
11261                                 </attribute>   11577                                 </attribute>
11262                         </optional>   11578                         </optional>
11263                         <optional>   11579                         <optional>
11264                                 <attribute name="presentation:class-names">   11580                                 <attribute name="presentation:class-names">
11265                                         <ref name="styleNameRefs"/>   11581                                         <ref name="styleNameRefs"/>
11266                                 </attribute>   11582                                 </attribute>
11267                         </optional>   11583                         </optional>
11268                 </group>   11584                 </group>
11269         </choice>   11585         </choice>
11270 </define>   11586 </define>
11271 Text Style   11587 Text Style
11272 The draw:text-style-name attribute specifies a style for the drawing shape that is used to format the text that can be added to this shape.   11588 The draw:text-style-name attribute specifies a style for the drawing shape that is used to format the text that can be added to this shape.
11273 The value of this attribute is the name of a <style:style> element with a family value of paragraph.   11589 The value of this attribute is the name of a <style:style> element with a family value of paragraph.
11274 <define name="common-draw-text-style-name-attlist">   11590 <define name="common-draw-text-style-name-attlist">
11275         <optional>   11591         <optional>
11276                 <attribute name="draw:text-style-name">   11592                 <attribute name="draw:text-style-name">
11277                         <ref name="styleNameRef"/>   11593                         <ref name="styleNameRef"/>
11278                 </attribute>   11594                 </attribute>
11279         </optional>   11595         </optional>
11280 </define>   11596 </define>
11281 Layer   11597 Layer
11282 The attribute draw:layer can assign each shape to a layer. The value of this attribute must be the name of a layer inside the layer-set of the document.   11598 The attribute draw:layer can assign each shape to a layer. The value of this attribute must be the name of a layer inside the layer-set of the document.
11283 <define name="common-draw-layer-name-attlist">   11599 <define name="common-draw-layer-name-attlist">
11284         <optional>   11600         <optional>
11285                 <attribute name="draw:layer">   11601                 <attribute name="draw:layer">
11286                         <data type="string"/>   11602                         <data type="string"/>
11287                 </attribute>   11603                 </attribute>
11288         </optional>   11604         </optional>
11289 </define>   11605 </define>
11290 ID   11606 ID
11291 The draw:id attribute assigns an unique ID to a drawing shape that can be used to reference the shape.   11607 The draw:id attribute assigns an unique ID to a drawing shape that can be used to reference the shape.
11292 <define name="common-draw-id-attlist">   11608 <define name="common-draw-id-attlist">
11293         <optional>   11609         <optional>
11294                 <attribute name="draw:id">   11610                 <attribute name="draw:id">
11295                         <ref name="ID"/>   11611                         <ref name="ID"/>
11296                 </attribute>   11612                 </attribute>
11297         </optional>   11613         </optional>
11298 </define>   11614 </define>
11299 Z-Index   11615 Z-Index
11300 Drawing shapes are rendered in a specific order. In general, the shapes are rendered in the order in which they appear in the XML document. To change the order, use the svg:z-index attribute.   11616 Drawing shapes are rendered in a specific order. In general, the shapes are rendered in the order in which they appear in the XML document. To change the order, use the svg:z-index attribute.
11301 This attribute is optional.   11617 This attribute is optional.
11302 <define name="common-draw-z-index-attlist">   11618 <define name="common-draw-z-index-attlist">
11303         <optional>   11619         <optional>
11304                 <attribute name="draw:z-index">   11620                 <attribute name="draw:z-index">
11305                         <ref name="nonNegativeInteger"/>   11621                         <ref name="nonNegativeInteger"/>
11306                 </attribute>   11622                 </attribute>
11307         </optional>   11623         </optional>
11308 </define>   11624 </define>
11309 9.2.16Common Shape Attributes for Text and Spreadsheet Documents   11625 9.2.16Common Shape Attributes for Text and Spreadsheet Documents
11310 The attributes described in this section are common to all drawing shapes contained in text and spreadsheet documents.   11626 The attributes described in this section are common to all drawing shapes contained in text and spreadsheet documents.
11311 End Position   11627 End Position
11312 If a drawing shape is included in a spreadsheet document and if the anchor of the shape is in a cell, then the attributes table:end-cell-address, table:end-x and table:end-y specify the end position of the shape and the size attributes are ignored. The end position is specified using the cell address of the cell in which the end position is located, and the x and y coordinates of the end position relative to the top left edge of the cell.   11628 If a drawing shape is included in a spreadsheet document and if the anchor of the shape is in a cell, then the attributes table:end-cell-address, table:end-x and table:end-y specify the end position of the shape and the size attributes are ignored. The end position is specified using the cell address of the cell in which the end position is located, and the x and y coordinates of the end position relative to the top left edge of the cell.
11313 <define name="common-text-spreadsheet-shape-attlist" combine="interleave">   11629 <define name="common-text-spreadsheet-shape-attlist" combine="interleave">
11314         <optional>   11630         <optional>
11315                 <attribute name="table:end-cell-address">   11631                 <attribute name="table:end-cell-address">
11316                         <ref name="cellAddress"/>   11632                         <ref name="cellAddress"/>
11317                 </attribute>   11633                 </attribute>
11318         </optional>   11634         </optional>
11319         <optional>   11635         <optional>
11320                 <attribute name="table:end-x">   11636                 <attribute name="table:end-x">
11321                         <ref name="coordinate"/>   11637                         <ref name="coordinate"/>
11322                 </attribute>   11638                 </attribute>
11323         </optional>   11639         </optional>
11324         <optional>   11640         <optional>
11325                 <attribute name="table:end-y">   11641                 <attribute name="table:end-y">
11326                         <ref name="coordinate"/>   11642                         <ref name="coordinate"/>
11327                 </attribute>   11643                 </attribute>
11328         </optional>   11644         </optional>
11329 </define>   11645 </define>
11330 Table Background   11646 Table Background
11331 If a drawing shape is included in a spreadsheet document, then the table:table-background attribute specifies whether or not the shape is in the table background. If the attribute is not existing, the shape is included in the foreground of the table.   11647 If a drawing shape is included in a spreadsheet document, then the table:table-background attribute specifies whether or not the shape is in the table background. If the attribute is not existing, the shape is included in the foreground of the table.
11332 <define name="common-text-spreadsheet-shape-attlist" combine="interleave">   11648 <define name="common-text-spreadsheet-shape-attlist" combine="interleave">
11333         <optional>   11649         <optional>
11334                 <attribute name="table:table-background">   11650                 <attribute name="table:table-background">
11335                         <ref name="boolean"/>   11651                         <ref name="boolean"/>
11336                 </attribute>   11652                 </attribute>
11337         </optional>   11653         </optional>
11338 </define>   11654 </define>
11339 Text Anchor   11655 Text Anchor
11340 Within text documents, the anchor type attribute text:anchor-type specifies how a frame is bound to the text document. The anchor position is the point at which a frame is bound to a text document. The anchor position depends on the anchor type as explained in the following table.   11656 Within text documents, the anchor type attribute text:anchor-type specifies how a frame is bound to the text document. The anchor position is the point at which a frame is bound to a text document. The anchor position depends on the anchor type as explained in the following table.
11341 If the value of the text:anchor-type attribute is ...   11657 If the value of the text:anchor-type attribute is ...
11342 The anchor position is...   11658 The anchor position is...
11343 The drawing shape element appears ...   11659 The drawing shape element appears ...
11344 Notes   11660 Notes
11345 page   11661 page
11346 The page that has the same physical page number as the value of the text:anchor-page-number attribute that is attached to the drawing shape element. If no text:anchor-page-number attribute is given, the anchor position is the page at which the character behind the drawing object element appears.   11662 The page that has the same physical page number as the value of the text:anchor-page-number attribute that is attached to the drawing shape element. If no text:anchor-page-number attribute is given, the anchor position is the page at which the character behind the drawing object element appears.
11347 Either   11663 Either
11348 At the start of the document body, outside any paragraph or frame, provided a text:anchor-page-number attribute is given.   11664 At the start of the document body, outside any paragraph or frame, provided a text:anchor-page-number attribute is given.
11349 Or   11665 Or
11350 Inside any paragraph element that is not contained in a header, footer, footnote, or text box, if a text:anchor-page-number attribute is not given.   11666 Inside any paragraph element that is not contained in a header, footer, footnote, or text box, if a text:anchor-page-number attribute is not given.
11351 The physical page number is the number assigned to the page if all pages in the document are counted starting with page 1.   11667 The physical page number is the number assigned to the page if all pages in the document are counted starting with page 1.
11352 frame   11668 frame
11353 The parent text box that the current drawing shape element is contained in.   11669 The parent text box that the current drawing shape element is contained in.
11354 In the element representing the text box to which the drawing object is bound. For example, if an image is bound to a text box, the image element is located in the text box element.   11670 In the element representing the text box to which the drawing object is bound. For example, if an image is bound to a text box, the image element is located in the text box element.
11355     11671  
11356 paragraph   11672 paragraph
11357 The paragraph that the current drawing shape element is contained in.   11673 The paragraph that the current drawing shape element is contained in.
11358 At the start of the paragraph element.   11674 At the start of the paragraph element.
11359     11675  
11360 char   11676 char
11361 The character after the drawing shape element.   11677 The character after the drawing shape element.
11362 Just before the character.   11678 Just before the character.
11363     11679  
11364 as-char   11680 as-char
11365 There is no anchor position. The drawing shape behaves like a character.   11681 There is no anchor position. The drawing shape behaves like a character.
11366 At the position where the character appears in the document.   11682 At the position where the character appears in the document.
11367     11683  
11368     11684  
11369 <define name="common-text-spreadsheet-shape-attlist" combine="interleave">   11685 <define name="common-text-spreadsheet-shape-attlist" combine="interleave">
11370         <ref name="common-text-anchor-attlist"/>   11686         <ref name="common-text-anchor-attlist"/>
11371 </define>   11687 </define>
11372     11688  
11373 <define name="common-text-anchor-attlist" combine="interleave">   11689 <define name="common-text-anchor-attlist" combine="interleave">
11374         <optional>   11690         <optional>
11375                 <attribute name="text:anchor-type">   11691                 <attribute name="text:anchor-type">
11376                         <choice>   11692                         <choice>
11377                                 <value>page</value>   11693                                 <value>page</value>
11378                                 <value>frame</value>   11694                                 <value>frame</value>
11379                                 <value>paragraph</value>   11695                                 <value>paragraph</value>
11380                                 <value>char</value>   11696                                 <value>char</value>
11381                                 <value>as-char</value>   11697                                 <value>as-char</value>
11382                         </choice>   11698                         </choice>
11383                 </attribute>   11699                 </attribute>
11384         </optional>   11700         </optional>
11385 </define>   11701 </define>
11386 Anchor Page Number   11702 Anchor Page Number
11387 Within text documents, the text:anchor-page-number attribute specifies the physical page number of an anchor if the drawing object is bound to a page.   11703 Within text documents, the text:anchor-page-number attribute specifies the physical page number of an anchor if the drawing object is bound to a page.
11388 <define name="common-text-anchor-attlist" combine="interleave">   11704 <define name="common-text-anchor-attlist" combine="interleave">
11389         <optional>   11705         <optional>
11390                 <attribute name="text:anchor-page-number">   11706                 <attribute name="text:anchor-page-number">
11391                         <ref name="positiveInteger"/>   11707                         <ref name="positiveInteger"/>
11392                 </attribute>   11708                 </attribute>
11393         </optional>   11709         </optional>
11394 </define>   11710 </define>
11395 9.2.17Common Drawing Shape Content   11711 9.2.17Common Drawing Shape Content
11396 Most drawing shapes may contain text content. The text content may contain paragraphs (see section 4.1.2) as well as lists (see section 4.3).   11712 Most drawing shapes may contain text content. The text content may contain paragraphs (see section 4.1.2) as well as lists (see section 4.3).
11397 <define name="draw-text">   11713 <define name="draw-text">
11398         <zeroOrMore>   11714         <zeroOrMore>
11399                 <choice>   11715                 <choice>
11400                         <ref name="text-p"/>   11716                         <ref name="text-p"/>
11401                         <ref name="text-list"/>   11717                         <ref name="text-list"/>
11402                 </choice>   11718                 </choice>
11403         </zeroOrMore>   11719         </zeroOrMore>
11404 </define>   11720 </define>
11405 9.2.18Common Shape Attribute Groups   11721 9.2.18Common Shape Attribute Groups
11406 The following defined attributes are common for all shapes that supports styles and no text.   11722 The following defined attributes are common for all shapes that supports styles and no text.
11407 <define name="common-draw-shape-with-styles-attlist">   11723 <define name="common-draw-shape-with-styles-attlist">
11408         <ref name="common-draw-z-index-attlist"/>   11724         <ref name="common-draw-z-index-attlist"/>
11409         <ref name="common-draw-id-attlist"/>   11725         <ref name="common-draw-id-attlist"/>
11410         <ref name="common-draw-layer-name-attlist"/>   11726         <ref name="common-draw-layer-name-attlist"/>
11411         <ref name="common-draw-style-name-attlist"/>   11727         <ref name="common-draw-style-name-attlist"/>
11412         <ref name="common-draw-transform-attlist"/>   11728         <ref name="common-draw-transform-attlist"/>
11413         <ref name="common-draw-name-attlist"/>   11729         <ref name="common-draw-name-attlist"/>
11414         <ref name="common-text-spreadsheet-shape-attlist"/>   11730         <ref name="common-text-spreadsheet-shape-attlist"/>
11415 </define>   11731 </define>
11416 The following defined attributes are common for all shapes that supports styles and text.   11732 The following defined attributes are common for all shapes that supports styles and text.
11417 <define name="common-draw-shape-with-text-and-styles-attlist">   11733 <define name="common-draw-shape-with-text-and-styles-attlist">
11418         <ref name="common-draw-shape-with-styles-attlist"/>   11734         <ref name="common-draw-shape-with-styles-attlist"/>
11419         <ref name="common-draw-text-style-name-attlist"/>   11735         <ref name="common-draw-text-style-name-attlist"/>
11420 </define>   11736 </define>
11421 9.2.19Glue Points   11737 9.2.19Glue Points
11422 Glue points are designated points on the area of a drawing object to which a connector shape can connect. Most drawing objects have four standard glue points at the four edges of the object. Additional glue points may be added to a drawing object by inserting one or more <draw:glue-point> elements into a drawing object element. A <draw:glue-point> element creates a single user-defined glue point if placed inside a drawing object element, for example, a <draw:rectangle> element.   11738 Glue points are designated points on the area of a drawing object to which a connector shape can connect. Most drawing objects have four standard glue points at the four edges of the object. Additional glue points may be added to a drawing object by inserting one or more <draw:glue-point> elements into a drawing object element. A <draw:glue-point> element creates a single user-defined glue point if placed inside a drawing object element, for example, a <draw:rectangle> element.
11423 <define name="draw-glue-point">   11739 <define name="draw-glue-point">
11424         <element name="draw:glue-point">   11740         <element name="draw:glue-point">
11425                 <ref name="draw-glue-point-attlist"/>   11741                 <ref name="draw-glue-point-attlist"/>
11426                 <empty/>   11742                 <empty/>
11427         </element>   11743         </element>
11428 </define>   11744 </define>
11429 ID   11745 ID
11430 The draw:id attribute contains the id of the glue point. The id a number and is used inside the draw:start-glue-point and draw:end-glue-point attributes of a <draw:connector> element. The Ids 0 to 3 are reserved for the 4 standard glue points that most drawing objects have. The glue points are numbered clockwise, starting at the top left corner of the shape.   11746 The draw:id attribute contains the id of the glue point. The id a number and is used inside the draw:start-glue-point and draw:end-glue-point attributes of a <draw:connector> element. The Ids 0 to 3 are reserved for the 4 standard glue points that most drawing objects have. The glue points are numbered clockwise, starting at the top left corner of the shape.
11431 <define name="draw-glue-point-attlist" combine="interleave">   11747 <define name="draw-glue-point-attlist" combine="interleave">
11432         <attribute name="draw:id">   11748         <attribute name="draw:id">
11433                 <ref name="nonNegativeInteger"/>   11749                 <ref name="nonNegativeInteger"/>
11434         </attribute>   11750         </attribute>
11435 </define>   11751 </define>
11436 Position   11752 Position
11437 The svg:x and svg:y attributes specifies the position of the glue point. The coordinates are either percentage values relative to the drawing objects center or, if the draw:align attribute is also specified, absolute distance values relative to the edge specified with the draw:align attribute.   11753 The svg:x and svg:y attributes specifies the position of the glue point. The coordinates are either percentage values relative to the drawing objects center or, if the draw:align attribute is also specified, absolute distance values relative to the edge specified with the draw:align attribute.
11438 <define name="draw-glue-point-attlist" combine="interleave">   11754 <define name="draw-glue-point-attlist" combine="interleave">
11439         <attribute name="svg:x">   11755         <attribute name="svg:x">
11440                 <choice>   11756                 <choice>
11441                         <ref name="distance"/>   11757                         <ref name="distance"/>
11442                         <ref name="percent"/>   11758                         <ref name="percent"/>
11443                 </choice>   11759                 </choice>
11444         </attribute>   11760         </attribute>
11445         <attribute name="svg:y">   11761         <attribute name="svg:y">
11446                 <choice>   11762                 <choice>
11447                         <ref name="distance"/>   11763                         <ref name="distance"/>
11448                         <ref name="percent"/>   11764                         <ref name="percent"/>
11449                 </choice>   11765                 </choice>
11450         </attribute>   11766         </attribute>
11451 </define>   11767 </define>
11452 Align   11768 Align
11453 The attribute draw:align specifies the alignment behavior of the glue point if the drawing object is resized and the shape edge to which the glue point's position relates. A missing vertical or horizontal position in the attribute's value means that the glue point is horizontally or vertically centered.   11769 The attribute draw:align specifies the alignment behavior of the glue point if the drawing object is resized and the shape edge to which the glue point's position relates. A missing vertical or horizontal position in the attribute's value means that the glue point is horizontally or vertically centered.
11454 <define name="draw-glue-point-attlist" combine="interleave">   11770 <define name="draw-glue-point-attlist" combine="interleave">
    <> 11771         <optional>
11455         <attribute name="draw:align">   11772                 <attribute name="draw:align">
11456                 <choice>   11773                         <choice>
11457                         <value>top-left</value>   11774                                 <value>top-left</value>
11458                         <value>top</value>   11775                                 <value>top</value>
11459                         <value>top-right</value>   11776                                 <value>top-right</value>
11460                         <value>left</value>   11777                                 <value>left</value>
11461                         <value>center</value>   11778                                 <value>center</value>
11462                         <value>right</value>   11779                                 <value>right</value>
11463                         <value>bottom-left</value>   11780                                 <value>bottom-left</value>
11464                         <value>bottom-right</value>   11781                                 <value>bottom-right</value>
11465                 </choice>   11782                         </choice>
11466         </attribute>   11783                 </attribute>
      11784         </optional>
11467 </define> = 11785 </define>
11468 Escape Direction   11786 Escape Direction
11469 The attribute draw:escape-direction specifies the direction in which the connection line escapes from the drawing object if a connector connects to the glue point. The value horizontal means the the connection line may escape to the left or to the right, the value vertical means that the connection line may escape up or down. The value auto means that the connection line may escape in all four directions.   11787 The attribute draw:escape-direction specifies the direction in which the connection line escapes from the drawing object if a connector connects to the glue point. The value horizontal means the the connection line may escape to the left or to the right, the value vertical means that the connection line may escape up or down. The value auto means that the connection line may escape in all four directions.
11470 <define name="draw-glue-points-attlist" combine="interleave">   11788 <define name="draw-glue-points-attlist" combine="interleave">
11471         <attribute name="draw:escape-direction">   11789         <attribute name="draw:escape-direction">
11472                 <choice>   11790                 <choice>
11473                         <value>auto</value>   11791                         <value>auto</value>
11474                         <value>left</value>   11792                         <value>left</value>
11475                         <value>right</value>   11793                         <value>right</value>
11476                         <value>up</value>   11794                         <value>up</value>
11477                         <value>down</value>   11795                         <value>down</value>
11478                         <value>horizontal</value>   11796                         <value>horizontal</value>
11479                         <value>vertical</value>   11797                         <value>vertical</value>
11480                 </choice>   11798                 </choice>
11481         </attribute>   11799         </attribute>
11482 </define>   11800 </define>
    <> 11801 9.2.20Title and Description
      11802 The <svg:title> and <svg:desc> elements specify text-only description strings for graphical objects as specified in §5.4 of [SVG].
      11803 The <svg:title> element is used as a short accessible name.
      11804 <define name="svg-title">
      11805         <element name="svg:title">
      11806                 <text/>
      11807         </element>
      11808 </define>
      11809 The <svg:desc> element is used for the long description in support of accessibility.
      11810 <define name="svg-desc">
      11811         <element name="svg:desc">
      11812                 <text/>
      11813         </element>
      11814 </define>
      11815 See appendix E for guidelines how to use these elements.
      11816 The <svg:title> and <svg:desc> elements can be used with the following drawing shape elements:
      11817 <draw:rect>
      11818 <draw:line>
      11819 <draw:polyline>
      11820 <draw:polygon>
      11821 <draw:regular-polygon>
      11822 <draw:path>
      11823 <draw:circle>
      11824 <draw:ellipse>
      11825 <draw:g>
      11826 <draw:page-thumbnail>
      11827 <draw:frame>
      11828 <draw:measure>
      11829 <draw:caption>
      11830 <draw:connector>
      11831 <draw:control>
      11832 <dr3d:scene>
      11833 <draw:custom-shape>
      11834 It is further supported by layers (see section 9.1.3) and client side image maps (see section 9.3.10).
11483 9.2.20Event Listeners   11835 9.2.21Event Listeners
11484 Drawing shapes may have event listeners attached. The event listeners that are attached to, for example, a text box or an image, are represented by an event element as described in section 12.4. This element is contained within the drawing object element, for example, the <draw:text-box> element or the <draw:image> element.   11836 Drawing shapes may have event listeners attached. The event listeners that are attached to, for example, a text box or an image, are represented by an event listener element as described in section 12.4. This element is contained within the drawing object element, for example, the <draw:text-box> element or the <draw:image> element.
11485 9.3Frames = 11837 9.3Frames
11486 A frame is a rectangular container where that contains enhanced content like text boxes, images or objects. Frames are very similar to regular drawing shapes, but support some features that are not available for regular drawing shapes, like contours, image maps and hyperlinks. In particular, a frame allows to have multiple renditions of an object. That is, a frame may for instance contain an object as well as an image. In this case, the application may choose the content that it supports best. If the application supports the object type contained in the frame, it probably will render the object. If it does not support the object, it will render the image.   11838 A frame is a rectangular container where that contains enhanced content like text boxes, images or objects. Frames are very similar to regular drawing shapes, but support some features that are not available for regular drawing shapes, like contours, image maps and hyperlinks. In particular, a frame allows to have multiple renditions of an object. That is, a frame may for instance contain an object as well as an image. In this case, the application may choose the content that it supports best. If the application supports the object type contained in the frame, it probably will render the object. If it does not support the object, it will render the image.
11487 In general, an application must not render more than one of the content elements contained in a frame. The order of content elements dictates the document author's preference for rendering, with the first child being the most preferred. This means that applications should render the first child element that it supports. A frame must contain at least one content element. The inclusion of multiple content elements is optional. Application may preserve the content elements they don't render, but don't have to.   11839 In general, an application must not render more than one of the content elements contained in a frame. The order of content elements dictates the document author's preference for rendering, with the first child being the most preferred. This means that applications should render the first child element that it supports. A frame must contain at least one content element. The inclusion of multiple content elements is optional. Application may preserve the content elements they don't render, but don't have to.
11488 Within text documents, frames are also used to position content outside the default text flow of a document.   11840 Within text documents, frames are also used to position content outside the default text flow of a document.
11489 Frames can contain:   11841 Frames can contain:
11490 Text boxes   11842 Text boxes
11491 Objects represented either in the OpenDocument format or in a object specific binary format   11843 Objects represented either in the OpenDocument format or in a object specific binary format
11492 Images   11844 Images
11493 Applets   11845 Applets
11494 Plug-ins   11846 Plug-ins
11495 Floating frames   11847 Floating frames
11496 Like the formatting properties of drawing shapes, frame formatting properties are stored in styles belonging to the graphic family. The way a frame is contained in a document also is the same as for drawing shapes.   11848 Like the formatting properties of drawing shapes, frame formatting properties are stored in styles belonging to the graphic family. The way a frame is contained in a document also is the same as for drawing shapes.
11497 <define name="draw-frame">   11849 <define name="draw-frame">
11498         <element name="draw:frame">   11850         <element name="draw:frame">
11499                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>   11851                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
11500                 <ref name="common-draw-position-attlist"/>   11852                 <ref name="common-draw-position-attlist"/>
11501                 <ref name="common-draw-rel-size-attlist"/>   11853                 <ref name="common-draw-rel-size-attlist"/>
    -+ 11854                 <ref name="common-draw-caption-id-attlist"/>
11502                 <ref name="presentation-shape-attlist"/> = 11855                 <ref name="presentation-shape-attlist"/>
11503                 <ref name="draw-frame-attlist"/>   11856                 <ref name="draw-frame-attlist"/>
11504                 <zeroOrMore>   11857                 <zeroOrMore>
11505                         <choice>   11858                         <choice>
11506                                 <ref name="draw-text-box"/>   11859                                 <ref name="draw-text-box"/>
11507                                 <ref name="draw-image"/>   11860                                 <ref name="draw-image"/>
11508                                 <ref name="draw-object"/>   11861                                 <ref name="draw-object"/>
11509                                 <ref name="draw-object-ole"/>   11862                                 <ref name="draw-object-ole"/>
11510                                 <ref name="draw-applet"/>   11863                                 <ref name="draw-applet"/>
11511                                 <ref name="draw-floating-frame"/>   11864                                 <ref name="draw-floating-frame"/>
11512                                 <ref name="draw-plugin"/>   11865                                 <ref name="draw-plugin"/>
11513                         </choice>   11866                         </choice>
11514                 </zeroOrMore>   11867                 </zeroOrMore>
11515                 <optional>   11868                 <optional>
11516                         <ref name="office-event-listeners"/>   11869                         <ref name="office-event-listeners"/>
11517                 </optional>   11870                 </optional>
11518                 <zeroOrMore>   11871                 <zeroOrMore>
11519                         <ref name="draw-glue-point"/>   11872                         <ref name="draw-glue-point"/>
11520                 </zeroOrMore>   11873                 </zeroOrMore>
11521                 <optional>   11874                 <optional>
11522                         <ref name="draw-image-map"/>   11875                         <ref name="draw-image-map"/>
11523                 </optional>   11876                 </optional>
11524                 <optional>   11877                 <optional>
    -+ 11878                         <ref name="svg-title"/>
      11879                 </optional>
      11880                 <optional>
11525                         <ref name="svg-desc"/> = 11881                         <ref name="svg-desc"/>
11526                 </optional>   11882                 </optional>
11527                 <optional>   11883                 <optional>
11528                         <choice>   11884                         <choice>
11529                                 <ref name="draw-contour-polygon"/>   11885                                 <ref name="draw-contour-polygon"/>
11530                                 <ref name="draw-contour-path"/>   11886                                 <ref name="draw-contour-path"/>
11531                         </choice>   11887                         </choice>
11532                 </optional>   11888                 </optional>
11533         </element>   11889         </element>
11534 </define>   11890 </define>
11535 The attributes that may be associated with the <draw:frame> element are:   11891 The attributes that may be associated with the <draw:frame> element are:
11536 Position, Size (relative sizes, see below), Style, Layer, Z-Index, ID, and Transformation – see section 9.2.15. <> 11892 Position, Size (relative sizes, see below), Style, Layer, Z-Index, ID, Caption ID and Transformation – see section 9.2.15.
11537 Text anchor, table background, draw end position – see section 9.2.16 = 11893 Text anchor, table background, draw end position – see section 9.2.16
11538 Presentation class – see section 9.6.1   11894 Presentation class – see section 9.6.1
11539 Copy frames   11895 Copy frames
11540 The following elements may be contained in the image element:   11896 The following elements may be contained in the image element:
11541 Event Listeners – see section 12.4.   11897 Event Listeners – see section 12.4.
11542 Glue Points – see section 9.2.19.   11898 Glue Points – see section 9.2.19.
11543 Image Map – see section 9.3.11. <> 11899 Image Map – see section 9.3.10.
11544 Alternative Text – see section 9.3.9.   11900 Title (short accessible name) – see section 9.2.20.
      11901 Long description (in support of accessibility) – see section 9.2.20.
11545 Contour – see section 9.3.8. = 11902 Contour – see section 9.3.8.
11546 Relative Sizes   11903 Relative Sizes
11547 For frames, the width and height of the drawing object may be specified as a relative value using the style:rel-width and style:rel-height attributes. The relative value either is a percentage value, the special value scale, or the special value scale-min.   11904 For frames, the width and height of the drawing object may be specified as a relative value using the style:rel-width and style:rel-height attributes. The relative value either is a percentage value, the special value scale, or the special value scale-min.
11548 The interpretation of relative values depends on the anchor of the drawing object. If the anchor for the drawing object is in a table cell, the percentage value relates to the surrounding table box. If the anchor for the drawing object is in a text box, the percentage value relates to the surrounding text box. In other cases, the percentage values relate to the width of the page or window.   11905 The interpretation of relative values depends on the anchor of the drawing object. If the anchor for the drawing object is in a table cell, the percentage value relates to the surrounding table box. If the anchor for the drawing object is in a text box, the percentage value relates to the surrounding text box. In other cases, the percentage values relate to the width of the page or window.
11549 The value scale for the width means that the width should be calculated depending on the height, so that the ratio of with and height of the original image or object size is preserved.   11906 The value scale for the width means that the width should be calculated depending on the height, so that the ratio of with and height of the original image or object size is preserved.
11550 The value scale for the height means that the height should be calculated depending on the width, so that the ratio of with and height of the original image or object size is preserved.   11907 The value scale for the height means that the height should be calculated depending on the width, so that the ratio of with and height of the original image or object size is preserved.
11551 The value scale-min equals the value scale, except that the calculated width or height is a minimum height rather than an absolute one.   11908 The value scale-min equals the value scale, except that the calculated width or height is a minimum height rather than an absolute one.
11552 To support application that don't support relative with and heights, applications that save the attributes style:rel-width or style:rel-height should also provide the real width and heights in the svg:width and svg:height/fo:min-height attributes.   11909 To support application that don't support relative with and heights, applications that save the attributes style:rel-width or style:rel-height should also provide the real width and heights in the svg:width and svg:height/fo:min-height attributes.
11553 <define name="common-draw-rel-size-attlist">   11910 <define name="common-draw-rel-size-attlist">
11554         <ref name="common-draw-size-attlist"/>   11911         <ref name="common-draw-size-attlist"/>
11555         <optional>   11912         <optional>
11556                 <attribute name="style:rel-width">   11913                 <attribute name="style:rel-width">
11557                         <choice>   11914                         <choice>
11558                                 <ref name="percent"/>   11915                                 <ref name="percent"/>
11559                                 <value>scale</value>   11916                                 <value>scale</value>
11560                                 <value>scale-min</value>   11917                                 <value>scale-min</value>
11561                         </choice>   11918                         </choice>
11562                 </attribute>   11919                 </attribute>
11563         </optional>   11920         </optional>
11564         <optional>   11921         <optional>
11565                 <attribute name="style:rel-height">   11922                 <attribute name="style:rel-height">
11566                         <choice>   11923                         <choice>
11567                                 <ref name="percent"/>   11924                                 <ref name="percent"/>
11568                                 <value>scale</value>   11925                                 <value>scale</value>
11569                                 <value>scale-min</value>   11926                                 <value>scale-min</value>
11570                         </choice>   11927                         </choice>
11571                 </attribute>   11928                 </attribute>
11572         </optional>   11929         </optional>
11573 </define>   11930 </define>
11574 Copy Frames   11931 Copy Frames
11575 Multiple frames can be set to display the exact same underlying data: for instance for a company logo, that must appear somewhere on every page, without being part of a header or footer.   11932 Multiple frames can be set to display the exact same underlying data: for instance for a company logo, that must appear somewhere on every page, without being part of a header or footer.
11576 A frame can be set to display the contents of another frame, referenced by the draw:copy-of attribute. This does not effect style and position information. This is, the frame that has the draw:copy-of attribute has its own style and position information and does not use the one of the referenced frame.   11933 A frame can be set to display the contents of another frame, referenced by the draw:copy-of attribute. This does not effect style and position information. This is, the frame that has the draw:copy-of attribute has its own style and position information and does not use the one of the referenced frame.
11577 <define name="draw-frame-attlist" combine="interleave">   11934 <define name="draw-frame-attlist" combine="interleave">
11578         <optional>   11935         <optional>
11579                 <attribute name="draw:copy-of">   11936                 <attribute name="draw:copy-of">
11580                         <ref name="string"/>   11937                         <ref name="string"/>
11581                 </attribute>   11938                 </attribute>
11582         </optional>   11939         </optional>
11583 </define>   11940 </define>
11584 9.3.1Text Box   11941 9.3.1Text Box
11585 The <draw:text-box>element represents a text box.  A text box may be used to place text in a container that is outside of the normal flow of the document.   11942 The <draw:text-box>element represents a text box.  A text box may be used to place text in a container that is outside of the normal flow of the document.
11586 <define name="draw-text-box">   11943 <define name="draw-text-box">
11587         <element name="draw:text-box">   11944         <element name="draw:text-box">
11588                 <ref name="draw-text-box-attlist"/>   11945                 <ref name="draw-text-box-attlist"/>
11589                 <zeroOrMore>   11946                 <zeroOrMore>
11590                         <ref name="text-content"/>   11947                         <ref name="text-content"/>
11591                 </zeroOrMore>   11948                 </zeroOrMore>
11592         </element>   11949         </element>
11593 </define>   11950 </define>
11594 The attributes that may be associated with the <draw:text-box> element are:   11951 The attributes that may be associated with the <draw:text-box> element are:
11595 Chain   11952 Chain
11596 Round Corners   11953 Round Corners
11597 Minimum Height and Width   11954 Minimum Height and Width
11598 Maximum Height and Width   11955 Maximum Height and Width
11599 Text boxes don't support contours as described in section 9.3.8 and alternative texts as described in section 9.3.9. <> 11956 Text boxes don't support contours as described in section 9.3.8 and alternative texts as described in section 9.2.20.
11600 Chain = 11957 Chain
11601 Text boxes can be chained, in other words, if the content of a text box exceeds its capacity, the content flows into the next text box in the chain. To chain text boxes, the attribute draw:chain-next-name is used, The value of this attribute is the name of the next text box in the chain. Chained text boxes usually are supported by text documents only.   11958 Text boxes can be chained, in other words, if the content of a text box exceeds its capacity, the content flows into the next text box in the chain. To chain text boxes, the attribute draw:chain-next-name is used, The value of this attribute is the name of the next text box in the chain. Chained text boxes usually are supported by text documents only.
11602 <define name="draw-text-box-attlist" combine="interleave">   11959 <define name="draw-text-box-attlist" combine="interleave">
11603         <optional>   11960         <optional>
11604                 <attribute name="draw:chain-next-name">   11961                 <attribute name="draw:chain-next-name">
11605                         <ref name="string"/>   11962                         <ref name="string"/>
11606                 </attribute>   11963                 </attribute>
11607         </optional>   11964         </optional>
11608 </define>   11965 </define>
11609 Round Corners   11966 Round Corners
11610 The attribute draw:corner-radius specifies the radius of the circle used to round off the corners of the text-box.   11967 The attribute draw:corner-radius specifies the radius of the circle used to round off the corners of the text-box.
11611 <define name="draw-text-box-attlist" combine="interleave">   11968 <define name="draw-text-box-attlist" combine="interleave">
11612         <optional>   11969         <optional>
11613                 <attribute name="draw:corner-radius">   11970                 <attribute name="draw:corner-radius">
11614                         <ref name="nonNegativeLength"/>   11971                         <ref name="nonNegativeLength"/>
11615                 </attribute>   11972                 </attribute>
11616         </optional>   11973         </optional>
11617 </define>   11974 </define>
11618 Minimum Height and Width   11975 Minimum Height and Width
11619 The fo:min-height and fo:min-width attributes specify a minimum height or width for a text box. If they are existing, they overwrite the height or width of a text box specified by the svg:height and svg:width attributes of the surrounding <draw:frame> element. Their value can be either a length or a percentage. If the anchor for the text box is in a table cell, the percentage value relates to the surrounding table box. If the anchor for the text box is in a text box, the percentage value relates to the surrounding text box. In other cases, the percentage values relate to the height of the page or window.   11976 The fo:min-height and fo:min-width attributes specify a minimum height or width for a text box. If they are existing, they overwrite the height or width of a text box specified by the svg:height and svg:width attributes of the surrounding <draw:frame> element. Their value can be either a length or a percentage. If the anchor for the text box is in a table cell, the percentage value relates to the surrounding table box. If the anchor for the text box is in a text box, the percentage value relates to the surrounding text box. In other cases, the percentage values relate to the height of the page or window.
11620 <define name="draw-text-box-attlist" combine="interleave">   11977 <define name="draw-text-box-attlist" combine="interleave">
11621         <optional>   11978         <optional>
11622                 <attribute name="fo:min-height">   11979                 <attribute name="fo:min-height">
11623                         <choice>   11980                         <choice>
11624                                 <ref name="length"/>   11981                                 <ref name="length"/>
11625                                 <ref name="percent"/>   11982                                 <ref name="percent"/>
11626                         </choice>   11983                         </choice>
11627                 </attribute>   11984                 </attribute>
11628         </optional>   11985         </optional>
11629         <optional>   11986         <optional>
11630                 <attribute name="fo:min-width">   11987                 <attribute name="fo:min-width">
11631                         <choice>   11988                         <choice>
11632                                 <ref name="length"/>   11989                                 <ref name="length"/>
11633                                 <ref name="percent"/>   11990                                 <ref name="percent"/>
11634                         </choice>   11991                         </choice>
11635                 </attribute>   11992                 </attribute>
11636         </optional>   11993         </optional>
11637 </define>   11994 </define>
11638 Maximum Height and Width   11995 Maximum Height and Width
11639 If the width or height of a text box is specified as a minimum width or height (using the fo:min-width or fo:min-height attributes), then the fo:max-width and fo:max-height attributes specify a maximum width and height for the text box. When these maximum values are reached, the text box stops increasing in size. The attributes' value can be either a length or a percentage. If the anchor for the text box is in a table cell, the percentage value relates to the size of the surrounding table cell. If the anchor for the text box is in a text box, the percentage value relates to the size of the surrounding text box. In other cases, the percentage values relate to the width or height of the page or window.   11996 If the width or height of a text box is specified as a minimum width or height (using the fo:min-width or fo:min-height attributes), then the fo:max-width and fo:max-height attributes specify a maximum width and height for the text box. When these maximum values are reached, the text box stops increasing in size. The attributes' value can be either a length or a percentage. If the anchor for the text box is in a table cell, the percentage value relates to the size of the surrounding table cell. If the anchor for the text box is in a text box, the percentage value relates to the size of the surrounding text box. In other cases, the percentage values relate to the width or height of the page or window.
11640 <define name="draw-text-box-attlist" combine="interleave">   11997 <define name="draw-text-box-attlist" combine="interleave">
11641         <optional>   11998         <optional>
11642                 <attribute name="fo:max-height">   11999                 <attribute name="fo:max-height">
11643                         <choice>   12000                         <choice>
11644                                 <ref name="length"/>   12001                                 <ref name="length"/>
11645                                 <ref name="percent"/>   12002                                 <ref name="percent"/>
11646                         </choice>   12003                         </choice>
11647                 </attribute>   12004                 </attribute>
11648         </optional>   12005         </optional>
11649         <optional>   12006         <optional>
11650                 <attribute name="fo:max-width">   12007                 <attribute name="fo:max-width">
11651                         <choice>   12008                         <choice>
11652                                 <ref name="length"/>   12009                                 <ref name="length"/>
11653                                 <ref name="percent"/>   12010                                 <ref name="percent"/>
11654                         </choice>   12011                         </choice>
11655                 </attribute>   12012                 </attribute>
    -+ 12013         </optional>
      12014 </define>
      12015 ID
      12016 A text box may have an ID. This ID can be used to reference the text box from other elements.
      12017 <define name="draw-text-box-attlist" combine="interleave">
      12018         <optional>
      12019                 <ref name="text-id"/>
11656         </optional> = 12020         </optional>
11657 </define>   12021 </define>
11658 9.3.2Image   12022 9.3.2Image
11659 The <draw:image> element represents an image. An image can be either:   12023 The <draw:image> element represents an image. An image can be either:
11660 Contained in a document as a link to an external resource   12024 Contained in a document as a link to an external resource
11661 or   12025 or
11662 Embedded in a document   12026 Embedded in a document
11663 This element can be an [XLink], in which case the element contains some attributes with fixed values that describe the link semantics.   12027 This element can be an [XLink], in which case the element contains some attributes with fixed values that describe the link semantics.
11664 While the image data may have an arbitrary format, it is recommended that vector graphics are stored in the [SVG] format and bitmap graphics in the [PNG] format.   12028 While the image data may have an arbitrary format, it is recommended that vector graphics are stored in the [SVG] format and bitmap graphics in the [PNG] format.
11665 <define name="draw-image">   12029 <define name="draw-image">
11666         <element name="draw:image">   12030         <element name="draw:image">
11667                 <ref name="draw-image-attlist"/>   12031                 <ref name="draw-image-attlist"/>
11668                 <choice>   12032                 <choice>
11669                         <ref name="common-draw-data-attlist"/>   12033                         <ref name="common-draw-data-attlist"/>
11670                         <ref name="office-binary-data"/>   12034                         <ref name="office-binary-data"/>
11671                 </choice>   12035                 </choice>
11672                 <ref name="draw-text"/>   12036                 <ref name="draw-text"/>
11673         </element>   12037         </element>
11674 </define>   12038 </define>
11675 The attributes that may be associated with the <draw:image> element are:   12039 The attributes that may be associated with the <draw:image> element are:
11676 Image data   12040 Image data
11677 Filter name   12041 Filter name
11678 Like most other drawing shapes, image drawing shapes may have text content. It is displayed in addition to the image data.   12042 Like most other drawing shapes, image drawing shapes may have text content. It is displayed in addition to the image data.
11679 Image Data   12043 Image Data
11680 The image data can be stored in one of the following ways:   12044 The image data can be stored in one of the following ways:
11681 The image data is contained in an external file. Use the xlink:href and associated attributes described below to link to the external file.   12045 The image data is contained in an external file. Use the xlink:href and associated attributes described below to link to the external file.
11682 The image data is contained in the <draw:image> element. The <draw:image> then element contains an <office:binary-data> element that contains the image data in BASE64 encoding (as defined in [RFC2045]). In this situation the xlink:href attribute is not required.   12046 The image data is contained in the <draw:image> element. The <draw:image> then element contains an <office:binary-data> element that contains the image data in BASE64 encoding (as defined in [RFC2045]). In this situation the xlink:href attribute is not required.
11683 <define name="common-draw-data-attlist" combine="interleave">   12047 <define name="common-draw-data-attlist" combine="interleave">
11684         <group>   12048         <group>
11685                 <attribute name="xlink:href">   12049                 <attribute name="xlink:href">
11686                         <ref name="anyURI"/>   12050                         <ref name="anyURI"/>
11687                 </attribute>   12051                 </attribute>
11688                 <optional>   12052                 <optional>
11689                         <attribute name="xlink:type" a:defaultValue="simple">   12053                         <attribute name="xlink:type" a:defaultValue="simple">
11690                                 <choice>   12054                                 <choice>
11691                                         <value>simple</value>   12055                                         <value>simple</value>
11692                                 </choice>   12056                                 </choice>
11693                         </attribute>   12057                         </attribute>
11694                 </optional>   12058                 </optional>
11695                 <optional>   12059                 <optional>
11696                         <attribute name="xlink:show" a:defaultValue="embed">   12060                         <attribute name="xlink:show" a:defaultValue="embed">
11697                                 <choice>   12061                                 <choice>
11698                                         <value>embed</value>   12062                                         <value>embed</value>
11699                                 </choice>   12063                                 </choice>
11700                         </attribute>   12064                         </attribute>
11701                 </optional>   12065                 </optional>
11702                 <optional>   12066                 <optional>
11703                         <attribute name="xlink:actuate" a:defaultValue="onLoad">   12067                         <attribute name="xlink:actuate" a:defaultValue="onLoad">
11704                                 <choice>   12068                                 <choice>
11705                                         <value>onLoad</value>   12069                                         <value>onLoad</value>
11706                                 </choice>   12070                                 </choice>
11707                         </attribute>   12071                         </attribute>
11708                 </optional>   12072                 </optional>
11709         </group>   12073         </group>
11710 </define>   12074 </define>
11711     12075  
11712 <define name="office-binary-data">   12076 <define name="office-binary-data">
11713         <element name="office:binary-data">   12077         <element name="office:binary-data">
11714                 <ref name="base64Binary"/>   12078                 <ref name="base64Binary"/>
11715         </element>   12079         </element>
11716 </define>   12080 </define>
11717 Filter Name   12081 Filter Name
11718 If required, the draw:filter-name attribute can represent the filter name of the image. This attribute contains the internal filter name that the office application software used to load the graphic.   12082 If required, the draw:filter-name attribute can represent the filter name of the image. This attribute contains the internal filter name that the office application software used to load the graphic.
11719 <define name="draw-image-attlist" combine="interleave">   12083 <define name="draw-image-attlist" combine="interleave">
11720         <optional>   12084         <optional>
11721                 <attribute name="draw:filter-name">   12085                 <attribute name="draw:filter-name">
11722                         <ref name="string"/>   12086                         <ref name="string"/>
11723                 </attribute>   12087                 </attribute>
11724         </optional>   12088         </optional>
11725 </define>   12089 </define>
11726 9.3.3Objects   12090 9.3.3Objects
11727 A document in OpenDocument format can contain two types of objects, as follows:   12091 A document in OpenDocument format can contain two types of objects, as follows:
11728 Objects that have an OpenDocument representation. These objects are: <> 12092 Objects that have an OpenDocument or other XML representation. Objects that have an OpenDocument representation are:
11729 Formulas (represented as [MathML]) = 12093 Formulas (represented as [MathML])
11730 Charts   12094 Charts
11731 Spreadsheets   12095 Spreadsheets
11732 Text documents   12096 Text documents
11733 Drawings   12097 Drawings
11734 Presentations   12098 Presentations
11735 Objects that do not have an XML representation. These objects only have a binary representation, An example for this kind of objects OLE objects (see [OLE]).   12099 Objects that do not have an XML representation. These objects only have a binary representation, An example for this kind of objects OLE objects (see [OLE]).
11736 The <draw:object> element represents objects that have a XML representation. The <draw:object-ole> element represents objects that only have a binary representation.   12100 The <draw:object> element represents objects that have a XML representation. The <draw:object-ole> element represents objects that only have a binary representation.
11737 <define name="draw-object">   12101 <define name="draw-object">
11738         <element name="draw:object">   12102         <element name="draw:object">
11739                 <ref name="draw-object-attlist"/>   12103                 <ref name="draw-object-attlist"/>
11740                 <choice>   12104                 <choice>
11741                         <ref name="common-draw-data-attlist"/>   12105                         <ref name="common-draw-data-attlist"/>
11742                         <ref name="office-document"/>   12106                         <ref name="office-document"/>
11743                         <ref name="math-math"/>   12107                         <ref name="math-math"/>
11744                 </choice>   12108                 </choice>
11745         </element>   12109         </element>
11746 </define>   12110 </define>
11747     12111  
11748 <define name="draw-object-ole">   12112 <define name="draw-object-ole">
11749         <element name="draw:object-ole">   12113         <element name="draw:object-ole">
11750                 <ref name="draw-object-ole-attlist"/>   12114                 <ref name="draw-object-ole-attlist"/>
11751                 <choice>   12115                 <choice>
11752                         <ref name="common-draw-data-attlist"/>   12116                         <ref name="common-draw-data-attlist"/>
11753                         <ref name="office-binary-data"/>   12117                         <ref name="office-binary-data"/>
11754                 </choice>   12118                 </choice>
11755         </element>   12119         </element>
11756 </define>   12120 </define>
11757 The attributes that may be associated with the <draw:object> and <draw:object-ole> elements are:   12121 The attributes that may be associated with the <draw:object> and <draw:object-ole> elements are:
11758 Object data   12122 Object data
11759 Table Change Notifications   12123 Table Change Notifications
11760 Class Id   12124 Class Id
11761 Objects do not support transformations as described in section 9.2.15.   12125 Objects do not support transformations as described in section 9.2.15.
11762 Object Data   12126 Object Data
11763 The object data can be called in one of the following ways:   12127 The object data can be called in one of the following ways:
11764 The xlink:href attribute links to the object representation, as follows:   12128 The xlink:href attribute links to the object representation, as follows:
11765 For objects that have an XML representation, the link references the sub package of the object. The object is contained within this sub page exactly as it would as it is a document of its own.   12129 For objects that have an XML representation, the link references the sub package of the object. The object is contained within this sub page exactly as it would as it is a document of its own.
11766 For objects that do not have an XML representation, the link references a sub stream of the package that contains the binary representation of the object.   12130 For objects that do not have an XML representation, the link references a sub stream of the package that contains the binary representation of the object.
11767 Application that support objects should support linking to objects that are contained within the same package. They may also support linking to object located outside the package.   12131 Application that support objects should support linking to objects that are contained within the same package. They may also support linking to object located outside the package.
11768 The object data is contained in the <draw:object> or <draw:object-ole> element, as follows:   12132 The object data is contained in the <draw:object> or <draw:object-ole> element, as follows:
11769 The <draw:object> element contains the XML representation of the object, for example, an <office:document> or a <math:math> element.   12133 The <draw:object> element contains the XML representation of the object, for example, an <office:document> or a <math:math> element.
11770 The <draw:object-ole> element contains an <office:binary-data> element, which contains the binary data for the object in BASE64 encoding.   12134 The <draw:object-ole> element contains an <office:binary-data> element, which contains the binary data for the object in BASE64 encoding.
11771 In these situations, the xlink:href attributes are not required.   12135 In these situations, the xlink:href attributes are not required.
11772 The xlink:href attribute is described in section 9.3.2.   12136 The xlink:href attribute is described in section 9.3.2.
11773 It is recommended to include an image representation of the object into the frame in addition to the object itself.   12137 It is recommended to include an image representation of the object into the frame in addition to the object itself.
11774 Notification on Table Change   12138 Notification on Table Change
11775 Some objects, especially charts, may require a notification when a table in the document changes. To enable this notification, use the draw:notify-on-change-of-table attribute, which contains the name of the table. This attribute can be associated with the <draw:object> element.   12139 Some objects, especially charts, may require a notification when a table in the document changes. To enable this notification, use the draw:notify-on-change-of-table attribute, which contains the name of the table. This attribute can be associated with the <draw:object> element.
11776 <define name="draw-object-attlist" combine="interleave">   12140 <define name="draw-object-attlist" combine="interleave">
11777         <optional>   12141         <optional>
11778                 <attribute name="draw:notify-on-update-of-ranges">   12142                 <attribute name="draw:notify-on-update-of-ranges">
11779                         <ref name="string"/>   12143                         <ref name="string"/>
11780                 </attribute>   12144                 </attribute>
11781         </optional>   12145         </optional>
11782 </define>   12146 </define>
11783 Class Id   12147 Class Id
11784 The draw:class-id optionally contains the OLE class id of the object (see also [OLE]). <> 12148 If the embedded object is an OLE object, the draw:class-id attribute optionally contains the OLE class id of the object (see also [OLE]).
11785 <define name="draw-object-ole-attlist" combine="interleave"> = 12149 <define name="draw-object-ole-attlist" combine="interleave">
11786         <optional>   12150         <optional>
11787                 <attribute name="draw:class-id"/>   12151                 <attribute name="draw:class-id"/>
11788         </optional>   12152         </optional>
11789 </define>   12153 </define>
11790 9.3.4Applet   12154 9.3.4Applet
11791 An applet is a small Java-based program that is embedded in a document. The <draw:applet> element is based on the <applet> tag in [HTML4]. This element must contain either the draw:code or draw:object attribute.   12155 An applet is a small Java-based program that is embedded in a document. The <draw:applet> element is based on the <applet> tag in [HTML4]. This element must contain either the draw:code or draw:object attribute.
11792 <define name="draw-applet">   12156 <define name="draw-applet">
11793         <element name="draw:applet">   12157         <element name="draw:applet">
11794                 <ref name="draw-applet-attlist"/>   12158                 <ref name="draw-applet-attlist"/>
11795                 <optional>   12159                 <optional>
11796                         <ref name="common-draw-data-attlist"/>   12160                         <ref name="common-draw-data-attlist"/>
11797                 </optional>   12161                 </optional>
11798                 <zeroOrMore>   12162                 <zeroOrMore>
11799                         <ref name="draw-param"/>   12163                         <ref name="draw-param"/>
11800                 </zeroOrMore>   12164                 </zeroOrMore>
11801         </element>   12165         </element>
11802 </define>   12166 </define>
11803 The attributes that may be associated with the <draw:applet> element are:   12167 The attributes that may be associated with the <draw:applet> element are:
11804 Codebase   12168 Codebase
11805 Code   12169 Code
11806 Object   12170 Object
11807 Archive   12171 Archive
11808 Mayscript   12172 Mayscript
11809 The only element that may be contained in the <draw:applet> element is:   12173 The only element that may be contained in the <draw:applet> element is:
11810 Parameter (see section 9.3.6)   12174 Parameter (see section 9.3.6)
11811 Applets do not support transformations as described in section 9.2.15.   12175 Applets do not support transformations as described in section 9.2.15.
11812 Codebase   12176 Codebase
11813 The codebase specifies the base IRI for the applet. If this attribute is not specified, then it defaults the same base IRI as for the current document. The codebase is represented be the  [XLink] attributes xlink:href, xlink:type, xlink:show, and xlink:actuate. The xlink:href attribute is described in section 9.3.2.   12177 The codebase specifies the base IRI for the applet. If this attribute is not specified, then it defaults the same base IRI as for the current document. The codebase is represented be the  [XLink] attributes xlink:href, xlink:type, xlink:show, and xlink:actuate. The xlink:href attribute is described in section 9.3.2.
11814 Code   12178 Code
11815 The draw:code attribute specifies one of the following:   12179 The draw:code attribute specifies one of the following:
11816 The name of the class file that contains the compiled applet subclass.   12180 The name of the class file that contains the compiled applet subclass.
11817 The path to the class, including the class file itself.   12181 The path to the class, including the class file itself.
11818 Either this attribute or the draw:object attribute is required. The value of this attribute is interpreted in relation to the codebase for the applet.   12182 Either this attribute or the draw:object attribute is required. The value of this attribute is interpreted in relation to the codebase for the applet.
11819 <define name="draw-applet-attlist" combine="interleave">   12183 <define name="draw-applet-attlist" combine="interleave">
11820         <optional>   12184         <optional>
11821                 <attribute name="draw:code"/>   12185                 <attribute name="draw:code"/>
11822         </optional>   12186         </optional>
11823 </define>   12187 </define>
11824 Object   12188 Object
11825 The draw:object attribute specifies a resource that contains a serialized representation of the state of the applet. The serialized data contains the class name of the applet but not the implementation. The value of this attribute is interpreted in relation to the codebase for the applet.   12189 The draw:object attribute specifies a resource that contains a serialized representation of the state of the applet. The serialized data contains the class name of the applet but not the implementation. The value of this attribute is interpreted in relation to the codebase for the applet.
11826 <define name="draw-applet-attlist" combine="interleave">   12190 <define name="draw-applet-attlist" combine="interleave">
11827         <optional>   12191         <optional>
11828                 <attribute name="draw:object"/>   12192                 <attribute name="draw:object"/>
11829         </optional>   12193         </optional>
11830 </define>   12194 </define>
11831 Archive   12195 Archive
11832 The draw:archive attribute specifies a comma-separated list of URLs for archives that contain classes and other resources that are preloaded.   12196 The draw:archive attribute specifies a comma-separated list of URLs for archives that contain classes and other resources that are preloaded.
11833 <define name="draw-applet-attlist" combine="interleave">   12197 <define name="draw-applet-attlist" combine="interleave">
11834         <optional>   12198         <optional>
11835                 <attribute name="draw:archive"/>   12199                 <attribute name="draw:archive"/>
11836         </optional>   12200         </optional>
11837 </define>   12201 </define>
11838 Mayscript   12202 Mayscript
11839 The draw:mayscript attribute specifies whether or not the applet can be scripted.   12203 The draw:mayscript attribute specifies whether or not the applet can be scripted.
11840 <define name="draw-applet-attlist" combine="interleave">   12204 <define name="draw-applet-attlist" combine="interleave">
11841         <optional>   12205         <optional>
11842                 <attribute name="draw:may-script" a:defaultValue="false">   12206                 <attribute name="draw:may-script" a:defaultValue="false">
11843                         <ref name="boolean"/>   12207                         <ref name="boolean"/>
11844                 </attribute>   12208                 </attribute>
11845         </optional>   12209         </optional>
11846 </define>   12210 </define>
11847 9.3.5Plugins   12211 9.3.5Plugins
11848 A plugin is a binary object that is plugged into a document to represent a media-type that usually is not handled natively by office application software. Plugins are represented by the <draw:plugin> element   12212 A plugin is a binary object that is plugged into a document to represent a media-type that usually is not handled natively by office application software. Plugins are represented by the <draw:plugin> element
11849 <define name="draw-plugin">   12213 <define name="draw-plugin">
11850         <element name="draw:plugin">   12214         <element name="draw:plugin">
11851                 <ref name="draw-plugin-attlist"/>   12215                 <ref name="draw-plugin-attlist"/>
11852                 <ref name="common-draw-data-attlist"/>   12216                 <ref name="common-draw-data-attlist"/>
11853                 <zeroOrMore>   12217                 <zeroOrMore>
11854                         <ref name="draw-param"/>   12218                         <ref name="draw-param"/>
11855                 </zeroOrMore>   12219                 </zeroOrMore>
11856         </element>   12220         </element>
11857 </define>   12221 </define>
11858 The attributes that may be associated with the <draw:plugin> element are:   12222 The attributes that may be associated with the <draw:plugin> element are:
11859 Mime type   12223 Mime type
11860 Source   12224 Source
11861 The only element that may be contained in the <draw:plugin> element is:   12225 The only element that may be contained in the <draw:plugin> element is:
11862 Parameter (see section 9.3.6)   12226 Parameter (see section 9.3.6)
11863 Plugins do not support transformations as described in section 9.2.15.   12227 Plugins do not support transformations as described in section 9.2.15.
11864 Mime type   12228 Mime type
11865 The draw:mimetype attribute specifies the MIME type to which this plugin should be registered.   12229 The draw:mimetype attribute specifies the MIME type to which this plugin should be registered.
11866 <define name="draw-plugin-attlist" combine="interleave">   12230 <define name="draw-plugin-attlist" combine="interleave">
11867         <optional>   12231         <optional>
11868                 <attribute name="draw:mime-type"/>   12232                 <attribute name="draw:mime-type"/>
11869         </optional>   12233         </optional>
11870 </define>   12234 </define>
11871 Source   12235 Source
11872 The [XLink] attributes xlink:href, xlink:type, xlink:show, and xlink:actuate specify the source of the plugin. The xlink:href attribute is described in section 9.3.2.   12236 The [XLink] attributes xlink:href, xlink:type, xlink:show, and xlink:actuate specify the source of the plugin. The xlink:href attribute is described in section 9.3.2.
11873 9.3.6Parameters   12237 9.3.6Parameters
11874 The <draw:param> element contains parameters that are passed to an applet or plugin when they are initialized.   12238 The <draw:param> element contains parameters that are passed to an applet or plugin when they are initialized.
11875 <define name="draw-param">   12239 <define name="draw-param">
11876         <element name="draw:param">   12240         <element name="draw:param">
11877                 <ref name="draw-param-attlist"/>   12241                 <ref name="draw-param-attlist"/>
11878                 <empty/>   12242                 <empty/>
11879         </element>   12243         </element>
11880 </define>   12244 </define>
11881 The attributes that may be associated with the <draw:param> element are:   12245 The attributes that may be associated with the <draw:param> element are:
11882 Name   12246 Name
11883 Value   12247 Value
11884 Name   12248 Name
11885 The draw:name attribute specifies the name of a runtime parameter.   12249 The draw:name attribute specifies the name of a runtime parameter.
11886 <define name="draw-param-attlist" combine="interleave">   12250 <define name="draw-param-attlist" combine="interleave">
11887         <optional>   12251         <optional>
11888                 <attribute name="draw:name"/>   12252                 <attribute name="draw:name"/>
11889         </optional>   12253         </optional>
11890 </define>   12254 </define>
11891 Value   12255 Value
11892 The draw:value attribute specifies the value of the runtime parameter specified by the name.   12256 The draw:value attribute specifies the value of the runtime parameter specified by the name.
11893 <define name="draw-param-attlist" combine="interleave">   12257 <define name="draw-param-attlist" combine="interleave">
11894         <optional>   12258         <optional>
11895                 <attribute name="draw:value"/>   12259                 <attribute name="draw:value"/>
11896         </optional>   12260         </optional>
11897 </define>   12261 </define>
11898 9.3.7Floating Frame   12262 9.3.7Floating Frame
11899 A floating frame is a frame embedded in a document, which may contain, for example, a text document or spreadsheet. A floating frame is represented by the <draw:floating-frame> element.   12263 A floating frame is a frame embedded in a document, which may contain, for example, a text document or spreadsheet. A floating frame is represented by the <draw:floating-frame> element.
11900 <define name="draw-floating-frame">   12264 <define name="draw-floating-frame">
11901         <element name="draw:floating-frame">   12265         <element name="draw:floating-frame">
11902                 <ref name="draw-floating-frame-attlist"/>   12266                 <ref name="draw-floating-frame-attlist"/>
11903                 <ref name="common-draw-data-attlist"/>   12267                 <ref name="common-draw-data-attlist"/>
11904         </element>   12268         </element>
11905 </define>   12269 </define>
11906 The attributes that may be associated with the <draw:floating-frame> element are:   12270 The attributes that may be associated with the <draw:floating-frame> element are:
11907 Source   12271 Source
11908 Frame Name   12272 Frame Name
11909 Floating frames do not support transformations as described in section 9.2.15.   12273 Floating frames do not support transformations as described in section 9.2.15.
11910 Source   12274 Source
11911 The [XLink] attributes xlink:href, xlink:type, xlink:show, and xlink:actuate specify the source of the floating frame. The xlink:href attribute is described in section 9.3.2.   12275 The [XLink] attributes xlink:href, xlink:type, xlink:show, and xlink:actuate specify the source of the floating frame. The xlink:href attribute is described in section 9.3.2.
11912 Frame Name   12276 Frame Name
11913 The draw:frame-name specifies the name of the frame. This name can be used as target from within hyperlinks.   12277 The draw:frame-name specifies the name of the frame. This name can be used as target from within hyperlinks.
11914 <define name="draw-floating-frame-attlist" combine="interleave">   12278 <define name="draw-floating-frame-attlist" combine="interleave">
11915         <optional>   12279         <optional>
11916                 <attribute name="draw:frame-name">   12280                 <attribute name="draw:frame-name">
11917                         <ref name="string"/>   12281                         <ref name="string"/>
11918                 </attribute>   12282                 </attribute>
11919         </optional>   12283         </optional>
11920 </define>   12284 </define>
11921 9.3.8Contour   12285 9.3.8Contour
11922 The <draw:contour-polygon> and  <draw:contour-path> elements may be contained in the following elements:   12286 The <draw:contour-polygon> and  <draw:contour-path> elements may be contained in the following elements:
11923 <draw:image>   12287 <draw:image>
11924 <draw:object>   12288 <draw:object>
11925 <draw:object-ole>   12289 <draw:object-ole>
11926 <draw:applet>   12290 <draw:applet>
11927 <draw:plugin>   12291 <draw:plugin>
11928 <draw:floating-frame>   12292 <draw:floating-frame>
11929 These elements describe the contour of an image or object.   12293 These elements describe the contour of an image or object.
11930 <define name="draw-contour-polygon">   12294 <define name="draw-contour-polygon">
11931         <element name="draw:contour-polygon">   12295         <element name="draw:contour-polygon">
11932                 <ref name="common-contour-attlist"/>   12296                 <ref name="common-contour-attlist"/>
11933                 <ref name="common-draw-size-attlist"/>   12297                 <ref name="common-draw-size-attlist"/>
11934                 <ref name="common-draw-viewbox-attlist"/>   12298                 <ref name="common-draw-viewbox-attlist"/>
11935                 <ref name="common-draw-points-attlist"/>   12299                 <ref name="common-draw-points-attlist"/>
11936                 <empty/>   12300                 <empty/>
11937         </element>   12301         </element>
11938 </define>   12302 </define>
11939     12303  
11940 <define name="draw-contour-path">   12304 <define name="draw-contour-path">
11941         <element name="draw:contour-path">   12305         <element name="draw:contour-path">
11942                 <ref name="common-contour-attlist"/>   12306                 <ref name="common-contour-attlist"/>
11943                 <ref name="common-draw-size-attlist"/>   12307                 <ref name="common-draw-size-attlist"/>
11944                 <ref name="common-draw-viewbox-attlist"/>   12308                 <ref name="common-draw-viewbox-attlist"/>
11945                 <ref name="common-draw-path-data-attlist"/>   12309                 <ref name="common-draw-path-data-attlist"/>
11946                 <empty/>   12310                 <empty/>
11947         </element>   12311         </element>
11948 </define>   12312 </define>
11949 The elements are similar to the <draw:polygon> (see section 9.2.4) and <draw:path> (see section 9.2.6) elements, except that they specify a contour rather than a drawing shape. The attributes they support are the ones for the size, the viewbox, the points (contour polygon only) and the path (contour path only).   12313 The elements are similar to the <draw:polygon> (see section 9.2.4) and <draw:path> (see section 9.2.6) elements, except that they specify a contour rather than a drawing shape. The attributes they support are the ones for the size, the viewbox, the points (contour polygon only) and the path (contour path only).
11950 In contrast to any other element the svg:width and svg:height attributes may have a pixel length (i.e., 20px) as value (as well as traditional lengths like 2cm). <> 12314 For the svg:width and svg:height attributes of the <draw:contour-polygon> and <draw:contour-path> elements, applications should support pixel lengths (i.e., 20px) in addition to traditional lengths like 2cm.
11951 Recreate on Edit = 12315 Recreate on Edit
11952 The draw:recreate-on-edit attribute specifies if the contour of the image or object should be recreated automatically when the image or object is edited.   12316 The draw:recreate-on-edit attribute specifies if the contour of the image or object should be recreated automatically when the image or object is edited.
11953 <define name="common-contour-attlist" combine="interleave">   12317 <define name="common-contour-attlist" combine="interleave">
11954         <attribute name="draw:recreate-on-edit">   12318         <attribute name="draw:recreate-on-edit">
11955                 <ref name="boolean"/>   12319                 <ref name="boolean"/>
11956         </attribute>   12320         </attribute>
11957 </define>   12321 </define>
11958 9.3.9Alternative Text <>    
11959 The <svg:desc> element specifies an alternative text as specified in §5.4 of [SVG]. It can be used with the following elements:      
11960 <draw:image>      
11961 <draw:object>      
11962 <draw:object-ole>      
11963 <draw:applet>      
11964 <draw:floating-frame>      
11965 <draw:plugin>      
11966 <draw:object-ole>      
11967 <define name="svg-desc">      
11968         <element name="svg:desc">      
11969                 <text/>      
11970         </element>      
11971 </define>      
11972 9.3.10Hyperlinks   12322 9.3.9Hyperlinks
11973 Frames may behave like hyperlinks. Such hyperlinks are represented by the <draw:a> element, where. the element's content is the frame that should be the source of the link. = 12323 Frames may behave like hyperlinks. Such hyperlinks are represented by the <draw:a> element, where. the element's content is the frame that should be the source of the link.
11974 This element is an [XLink] and has some attributes with fixed values and describe the semantics of the link.   12324 This element is an [XLink] and has some attributes with fixed values and describe the semantics of the link.
11975 <define name="draw-a">   12325 <define name="draw-a">
11976         <element name="draw:a">   12326         <element name="draw:a">
11977                 <ref name="draw-a-attlist"/>   12327                 <ref name="draw-a-attlist"/>
11978                 <ref name="draw-frame"/>   12328                 <ref name="draw-frame"/>
11979         </element>   12329         </element>
11980 </define>   12330 </define>
11981 The attributes that may be associated with the <draw:a> element are:   12331 The attributes that may be associated with the <draw:a> element are:
11982 Link location   12332 Link location
11983 Link target frame   12333 Link target frame
11984 Name   12334 Name
    -+ 12335 Title
11985 Server side image map = 12336 Server side image map
11986 Link Location   12337 Link Location
11987 The xlink:href attribute specifies the target location of the link.   12338 The xlink:href attribute specifies the target location of the link.
11988 <define name="draw-a-attlist" combine="interleave">   12339 <define name="draw-a-attlist" combine="interleave">
11989         <attribute name="xlink:href">   12340         <attribute name="xlink:href">
11990                 <ref name="anyURI"/>   12341                 <ref name="anyURI"/>
11991         </attribute>   12342         </attribute>
11992         <optional>   12343         <optional>
11993                 <attribute name="xlink:type" a:defaultValue="simple">   12344                 <attribute name="xlink:type" a:defaultValue="simple">
11994                         <value>simple</value>   12345                         <value>simple</value>
11995                 </attribute>   12346                 </attribute>
11996         </optional>   12347         </optional>
11997         <optional>   12348         <optional>
11998                 <attribute name="xlink:actuate" a:defaultValue="onRequest">   12349                 <attribute name="xlink:actuate" a:defaultValue="onRequest">
11999                         <choice>   12350                         <choice>
12000                                 <value>onRequest</value>   12351                                 <value>onRequest</value>
12001                         </choice>   12352                         </choice>
12002                 </attribute>   12353                 </attribute>
12003         </optional>   12354         </optional>
12004 </define>   12355 </define>
12005 Link Target Frame   12356 Link Target Frame
12006 The office:target-frame attribute specifies the target frame of the link.   12357 The office:target-frame attribute specifies the target frame of the link.
12007 This attribute can have one of the following values:   12358 This attribute can have one of the following values:
12008 _self : The referenced document replaces the content of the current frame.   12359 _self : The referenced document replaces the content of the current frame.
12009 _blank : The referenced document is displayed in a new frame.   12360 _blank : The referenced document is displayed in a new frame.
12010 _parent : The referenced document is displayed in the parent frame of the current frame.   12361 _parent : The referenced document is displayed in the parent frame of the current frame.
12011 _top : The referenced document is displayed in the topmost frame, that is the frame that contains the current frame as a child or descendent but is not contained within another frame.   12362 _top : The referenced document is displayed in the topmost frame, that is the frame that contains the current frame as a child or descendent but is not contained within another frame.
12012 A frame name : The referenced document is displayed in the named frame. If the named frame does not exist, a new frame with that name is created.   12363 A frame name : The referenced document is displayed in the named frame. If the named frame does not exist, a new frame with that name is created.
12013 To conform with the [XLink] specification, an additional xlink:show attribute is attached to the <draw:a> element. If the value of the this attribute is _blank, the xlink:show attribute value is new. If the value of the this attribute is any of the other value options, the value of the xlink:show attribute is replace.   12364 To conform with the [XLink] specification, an additional xlink:show attribute is attached to the <draw:a> element. If the value of the this attribute is _blank, the xlink:show attribute value is new. If the value of the this attribute is any of the other value options, the value of the xlink:show attribute is replace.
12014 <define name="draw-a-attlist" combine="interleave">   12365 <define name="draw-a-attlist" combine="interleave">
12015         <optional>   12366         <optional>
12016                 <attribute name="office:target-frame-name">   12367                 <attribute name="office:target-frame-name">
12017                         <ref name="targetFrameName"/>   12368                         <ref name="targetFrameName"/>
12018                 </attribute>   12369                 </attribute>
12019         </optional>   12370         </optional>
12020         <optional>   12371         <optional>
12021                 <attribute name="xlink:show">   12372                 <attribute name="xlink:show">
12022                         <choice>   12373                         <choice>
12023                                 <value>new</value>   12374                                 <value>new</value>
12024                                 <value>replace</value>   12375                                 <value>replace</value>
12025                         </choice>   12376                         </choice>
12026                 </attribute>   12377                 </attribute>
12027         </optional>   12378         </optional>
12028 </define>   12379 </define>
12029 Name   12380 Name
12030 A hyperlink can have a name, but it is not essential. The office:name attribute specifies the name of the link. The name can serve as a target for other hyperlinks. The name does not have to be unique.   12381 A hyperlink can have a name, but it is not essential. The office:name attribute specifies the name of the link. The name can serve as a target for other hyperlinks. The name does not have to be unique.
12031 This attribute is specified for compatibility with [HTML4] only, where an <a> element may serve as a link source and target simultaneously. We strongly recommend that this attribute not be used for any purpose other than to represent links that originally came from a HTML document.   12382 This attribute is specified for compatibility with [HTML4] only, where an <a> element may serve as a link source and target simultaneously. We strongly recommend that this attribute not be used for any purpose other than to represent links that originally came from a HTML document.
12032 <define name="draw-a-attlist" combine="interleave">   12383 <define name="draw-a-attlist" combine="interleave">
12033         <optional>   12384         <optional>
12034                 <attribute name="office:name">   12385                 <attribute name="office:name">
12035                         <ref name="string"/>   12386                         <ref name="string"/>
12036                 </attribute>   12387                 </attribute>
12037         </optional>   12388         </optional>
12038 </define>   12389 </define>
    -+ 12390 Title
      12391 The office:title attribute specifies a short accessible description for hint text.
      12392 See appendix E for guidelines how to use this attribute.
      12393 <define name="draw-a-attlist" combine="interleave">
      12394         <optional>
      12395                 <attribute name="office:title">
      12396                         <ref name="string"/>
      12397                 </attribute>
      12398         </optional>
      12399 </define>
12039 Server Side Image Map = 12400 Server Side Image Map
12040 A link can be a server side image map. If the office:server-map attribute is present, the mouse coordinates of the click position of the graphic shape are appended to the IRI of the link. The coordinates may be used by the server to determine which link to activate within the image map.   12401 A link can be a server side image map. If the office:server-map attribute is present, the mouse coordinates of the click position of the graphic shape are appended to the IRI of the link. The coordinates may be used by the server to determine which link to activate within the image map.
12041 <define name="draw-a-attlist" combine="interleave">   12402 <define name="draw-a-attlist" combine="interleave">
12042         <optional>   12403         <optional>
12043                 <attribute name="office:server-map" a:defaultValue="false">   12404                 <attribute name="office:server-map" a:defaultValue="false">
12044                         <ref name="boolean"/>   12405                         <ref name="boolean"/>
12045                 </attribute>   12406                 </attribute>
12046         </optional>   12407         </optional>
12047 </define>   12408 </define>
12048 9.3.11Client Side Image Maps <> 12409 9.3.10Client Side Image Maps
12049 An client side image map is a collection of hyperlinks that are associated with graphic elements. The image map is a sequence of image map elements. Each image map element associates a hyperlink with an area. The area can be one of the following shapes: = 12410 An client side image map is a collection of hyperlinks that are associated with graphic elements. The image map is a sequence of image map elements. Each image map element associates a hyperlink with an area. The area can be one of the following shapes:
12050 Rectangular   12411 Rectangular
12051 Circular   12412 Circular
12052 Polygonal   12413 Polygonal
12053 The <draw:image-map> element represents an image map.   12414 The <draw:image-map> element represents an image map.
12054 <define name="draw-image-map">   12415 <define name="draw-image-map">
12055         <element name="draw:image-map">   12416         <element name="draw:image-map">
12056                 <zeroOrMore>   12417                 <zeroOrMore>
12057                         <choice>   12418                         <choice>
12058                                 <ref name="draw-area-rectangle"/>   12419                                 <ref name="draw-area-rectangle"/>
12059                                 <ref name="draw-area-circle"/>   12420                                 <ref name="draw-area-circle"/>
12060                                 <ref name="draw-area-polygon"/>   12421                                 <ref name="draw-area-polygon"/>
12061                         </choice>   12422                         </choice>
12062                 </zeroOrMore>   12423                 </zeroOrMore>
12063         </element>   12424         </element>
12064 </define>   12425 </define>
12065 The <draw:image-map> element can contain three types of image map elements, which represent the three types of image map areas as follows:   12426 The <draw:image-map> element can contain three types of image map elements, which represent the three types of image map areas as follows:
12066 Rectangular image map elements   12427 Rectangular image map elements
12067 Circular image map elements   12428 Circular image map elements
12068 Polygonal image map elements   12429 Polygonal image map elements
12069 Image map elements are described in terms of absolute positions. When loading the XML file, the office application must map the image map onto its associated graphical element, for example an image, in its original size. The application then must scale the image map to match the current size of the image, but in the file format the image is always saved in its unscaled version, matching the dimensions of the unscaled image.   12430 Image map elements are described in terms of absolute positions. When loading the XML file, the office application must map the image map onto its associated graphical element, for example an image, in its original size. The application then must scale the image map to match the current size of the image, but in the file format the image is always saved in its unscaled version, matching the dimensions of the unscaled image.
12070 Rectangular Image Map Areas   12431 Rectangular Image Map Areas
12071 The <draw:area-rectangle> element describes a rectangular image map area by an x, y position (svg:x and svg:y attributes) as well as a width and the height (svg:width and svg:height attributes). These attributes are required. In addition to this, the attributes described in the Common Image Map Attributes and Elements section below are optionally supported. <> 12432 The <draw:area-rectangle> element describes a rectangular image map area by an x, y position (svg:x and svg:y attributes) as well as a width and the height (svg:width and svg:height attributes). These attributes are required. In addition to this, the attributes described in section 9.3.10:Common Image Map Attributes and Elements are optionally supported.
12072 <define name="draw-area-rectangle"> = 12433 <define name="draw-area-rectangle">
12073         <element name="draw:area-rectangle">   12434         <element name="draw:area-rectangle">
12074                 <ref name="common-draw-area-attlist"/>   12435                 <ref name="common-draw-area-attlist"/>
12075                 <attribute name="svg:x">   12436                 <attribute name="svg:x">
12076                         <ref name="coordinate"/>   12437                         <ref name="coordinate"/>
12077                 </attribute>   12438                 </attribute>
12078                 <attribute name="svg:y">   12439                 <attribute name="svg:y">
12079                         <ref name="coordinate"/>   12440                         <ref name="coordinate"/>
12080                 </attribute>   12441                 </attribute>
12081                 <attribute name="svg:width">   12442                 <attribute name="svg:width">
12082                         <ref name="length"/>   12443                         <ref name="length"/>
12083                 </attribute>   12444                 </attribute>
12084                 <attribute name="svg:height">   12445                 <attribute name="svg:height">
12085                         <ref name="length"/>   12446                         <ref name="length"/>
12086                 </attribute>   12447                 </attribute>
12087                 <optional>   12448                 <optional>
    -+ 12449                         <ref name="svg-title"/>
      12450                 </optional>
      12451                 <optional>
12088                         <ref name="svg-desc"/> = 12452                         <ref name="svg-desc"/>
12089                 </optional>   12453                 </optional>
12090                 <optional>   12454                 <optional>
12091                         <ref name="office-event-listeners"/>   12455                         <ref name="office-event-listeners"/>
12092                 </optional>   12456                 </optional>
12093         </element>   12457         </element>
12094 </define>   12458 </define>
12095 Circular Image Map Areas   12459 Circular Image Map Areas
12096 The <draw:area-circle> element describes a circular image map area. The additional attributes for circular image maps are described below in the common attributes section.   12460 The <draw:area-circle> element describes a circular image map area. The additional attributes for circular image maps are described below in the common attributes section.
12097 The required attributes svg:cx and svg:cy specify the center point of the circle. The required svg:r attribute specifies the radius of the circle.   12461 The required attributes svg:cx and svg:cy specify the center point of the circle. The required svg:r attribute specifies the radius of the circle.
12098 The attributes described in the Common Image Map Attributes and Elements section are optional. <> 12462 The attributes described in section 9.3.10:Common Image Map Attributes and Elements are optional.
12099 <define name="draw-area-circle"> = 12463 <define name="draw-area-circle">
12100         <element name="draw:area-circle">   12464         <element name="draw:area-circle">
12101                 <ref name="common-draw-area-attlist"/>   12465                 <ref name="common-draw-area-attlist"/>
12102                 <attribute name="svg:cx">   12466                 <attribute name="svg:cx">
12103                         <ref name="coordinate"/>   12467                         <ref name="coordinate"/>
12104                 </attribute>   12468                 </attribute>
12105                 <attribute name="svg:cy">   12469                 <attribute name="svg:cy">
12106                         <ref name="coordinate"/>   12470                         <ref name="coordinate"/>
12107                 </attribute>   12471                 </attribute>
12108                 <attribute name="svg:r">   12472                 <attribute name="svg:r">
12109                         <ref name="length"/>   12473                         <ref name="length"/>
12110                 </attribute>   12474                 </attribute>
    -+ 12475                 <optional>
      12476                         <ref name="svg-title"/>
      12477                 </optional>
12111                 <optional> = 12478                 <optional>
12112                         <ref name="svg-desc"/>   12479                         <ref name="svg-desc"/>
12113                 </optional>   12480                 </optional>
12114                 <optional>   12481                 <optional>
12115                         <ref name="office-event-listeners"/>   12482                         <ref name="office-event-listeners"/>
12116                 </optional>   12483                 </optional>
12117         </element>   12484         </element>
12118 </define>   12485 </define>
12119 Polygonal Image Map Areas   12486 Polygonal Image Map Areas
12120 The <draw:area-polygon> element describes a polygonal image map area. A polygonal image map area is  comprised of the following components:   12487 The <draw:area-polygon> element describes a polygonal image map area. A polygonal image map area is  comprised of the following components:
12121 A bounding box.   12488 A bounding box.
12122 The bounding box, which is represented in the same way as a rectangular image map area using the svg:x, svg:y, svg:width, and svg:height attributes, establishes the reference frame for the view box and the polygon point sequence. The reference frame enables the coordinates to be translated into absolute coordinates.   12489 The bounding box, which is represented in the same way as a rectangular image map area using the svg:x, svg:y, svg:width, and svg:height attributes, establishes the reference frame for the view box and the polygon point sequence. The reference frame enables the coordinates to be translated into absolute coordinates.
12123 A view box.   12490 A view box.
12124 The view box attribute svg:viewBox establishes a coordinate system for the point sequence. The view box obviates the need to record every point of the point sequence as absolute coordinates with length and unit of measurement.   12491 The view box attribute svg:viewBox establishes a coordinate system for the point sequence. The view box obviates the need to record every point of the point sequence as absolute coordinates with length and unit of measurement.
12125 A sequence of points in view box coordinates in the svg:points attribute.   12492 A sequence of points in view box coordinates in the svg:points attribute.
12126 For more information about how to represent polygons, see section 9.2.4.   12493 For more information about how to represent polygons, see section 9.2.4.
12127 The attributes above are required. The attributes described in the Common Image Map Attributes and Elements section are optional. <> 12494 The attributes above are required. The attributes described in section 9.3.10:Common Image Map Attributes and Elements are optional.
12128 <define name="draw-area-polygon"> = 12495 <define name="draw-area-polygon">
12129         <element name="draw:area-polygon">   12496         <element name="draw:area-polygon">
12130                 <ref name="common-draw-area-attlist"/>   12497                 <ref name="common-draw-area-attlist"/>
12131                 <attribute name="svg:x">   12498                 <attribute name="svg:x">
12132                         <ref name="coordinate"/>   12499                         <ref name="coordinate"/>
12133                 </attribute>   12500                 </attribute>
12134                 <attribute name="svg:y">   12501                 <attribute name="svg:y">
12135                         <ref name="coordinate"/>   12502                         <ref name="coordinate"/>
12136                 </attribute>   12503                 </attribute>
12137                 <attribute name="svg:width">   12504                 <attribute name="svg:width">
12138                         <ref name="length"/>   12505                         <ref name="length"/>
12139                 </attribute>   12506                 </attribute>
12140                 <attribute name="svg:height">   12507                 <attribute name="svg:height">
12141                         <ref name="length"/>   12508                         <ref name="length"/>
12142                 </attribute>   12509                 </attribute>
12143                 <ref name="common-draw-viewbox-attlist"/>   12510                 <ref name="common-draw-viewbox-attlist"/>
12144                 <ref name="common-draw-points-attlist"/>   12511                 <ref name="common-draw-points-attlist"/>
    -+ 12512                 <optional>
      12513                         <ref name="svg-title"/>
      12514                 </optional>
12145                 <optional> = 12515                 <optional>
12146                         <ref name="svg-desc"/>   12516                         <ref name="svg-desc"/>
12147                 </optional>   12517                 </optional>
12148                 <optional>   12518                 <optional>
12149                         <ref name="office-event-listeners"/>   12519                         <ref name="office-event-listeners"/>
12150                 </optional>   12520                 </optional>
12151         </element>   12521         </element>
12152 </define>   12522 </define>
12153 Example: Polygonal image map area   12523 Example: Polygonal image map area
12154 The element shown in the following example defines a triangle that is located in the middle of a 2cm by 2cm image. The bounding box covers an area of 2cm by 1.5cm. One view box unit corresponds to 0.01mm.   12524 The element shown in the following example defines a triangle that is located in the middle of a 2cm by 2cm image. The bounding box covers an area of 2cm by 1.5cm. One view box unit corresponds to 0.01mm.
12155 <draw:area-polygon ...   12525 <draw:area-polygon ...
12156         svg:x="0" svg:y="0" svg:width="2.0cm" svg:height="2.0cm"   12526         svg:x="0" svg:y="0" svg:width="2.0cm" svg:height="2.0cm"
12157         svg:viewBox="0 0 2000 2000"   12527         svg:viewBox="0 0 2000 2000"
12158         svg:points="400,1500 1600,1500 1000,400"/>   12528         svg:points="400,1500 1600,1500 1000,400"/>
12159 Common Image Map Attributes and Elements   12529 Common Image Map Attributes and Elements
12160 In addition to the shape attributes, each image map element can contain the following information:   12530 In addition to the shape attributes, each image map element can contain the following information:
12161 Link, including a IRI and link target frame.   12531 Link, including a IRI and link target frame.
12162 Name.   12532 Name.
12163 Inactive flag.   12533 Inactive flag.
12164 Description. Use the <svg:desc> child element as described in section 9.3.9. <> 12534 Title (short accessible name). Use the <svg:title> child element as described in section 9.2.20.
      12535 Long description (in support of accessibility). Use the <svg:desc> child element as described in section 9.2.20.
12165 Events associated with the area. Use the <office:event-listeners> child element as described in section 12.4. = 12536 Events associated with the area. Use the <office:event-listeners> child element as described in section 12.4.
12166 Other attributes of the image maps are taken from the HTML image map representation.   12537 Other attributes of the image maps are taken from the HTML image map representation.
12167 Each image map element identifies a hyperlink and uses the [XLink] href, type, and show attributes, and the office:target-frame-name attribute to describe the link.   12538 Each image map element identifies a hyperlink and uses the [XLink] href, type, and show attributes, and the office:target-frame-name attribute to describe the link.
12168 <define name="common-draw-area-attlist" combine="interleave">   12539 <define name="common-draw-area-attlist" combine="interleave">
12169         <optional>   12540         <optional>
12170                 <attribute name="xlink:href">   12541                 <attribute name="xlink:href">
12171                         <ref name="anyURI"/>   12542                         <ref name="anyURI"/>
12172                 </attribute>   12543                 </attribute>
12173         </optional>   12544         </optional>
12174         <optional>   12545         <optional>
12175                 <attribute name="xlink:type" a:defaultValue="simple">   12546                 <attribute name="xlink:type" a:defaultValue="simple">
12176                         <choice>   12547                         <choice>
12177                                 <value>simple</value>   12548                                 <value>simple</value>
12178                         </choice>   12549                         </choice>
12179                 </attribute>   12550                 </attribute>
12180         </optional>   12551         </optional>
12181         <optional>   12552         <optional>
12182                 <attribute name="office:target-frame-name">   12553                 <attribute name="office:target-frame-name">
12183                         <ref name="targetFrameName"/>   12554                         <ref name="targetFrameName"/>
12184                 </attribute>   12555                 </attribute>
12185         </optional>   12556         </optional>
12186         <optional>   12557         <optional>
12187                 <attribute name="xlink:show">   12558                 <attribute name="xlink:show">
12188                         <choice>   12559                         <choice>
12189                                 <value>new</value>   12560                                 <value>new</value>
12190                                 <value>replace</value>   12561                                 <value>replace</value>
12191                         </choice>   12562                         </choice>
12192                         </attribute>   12563                         </attribute>
12193         </optional>   12564         </optional>
12194 </define>   12565 </define>
12195 The office:name attribute assigns a name to each image map element.   12566 The office:name attribute assigns a name to each image map element.
12196 <define name="common-draw-area-attlist" combine="interleave">   12567 <define name="common-draw-area-attlist" combine="interleave">
12197         <optional>   12568         <optional>
12198                 <attribute name="office:name">   12569                 <attribute name="office:name">
12199                         <ref name="string"/>   12570                         <ref name="string"/>
12200                 </attribute>   12571                 </attribute>
12201         </optional>   12572         </optional>
12202 </define>   12573 </define>
12203 The draw:nohref attribute declares that the image map element and the associated area is inactive. The IRI that is contained in the image map element is not used.   12574 The draw:nohref attribute declares that the image map element and the associated area is inactive. The IRI that is contained in the image map element is not used.
12204 <define name="common-draw-area-attlist" combine="interleave">   12575 <define name="common-draw-area-attlist" combine="interleave">
12205         <optional>   12576         <optional>
12206                 <attribute name="draw:nohref">   12577                 <attribute name="draw:nohref">
12207                         <choice>   12578                         <choice>
12208                                 <value>nohref</value>   12579                                 <value>nohref</value>
12209                         </choice>   12580                         </choice>
12210                 </attribute>   12581                 </attribute>
12211         </optional>   12582         </optional>
12212 </define>   12583 </define>
12213 9.43D Shapes   12584 9.43D Shapes
12214 9.4.1Scene   12585 9.4.1Scene
12215 The <dr3d:scene> element is the only element that can contain three-dimensional shapes. A scene is like a group, but it also defines the projection, lighting, and other render details for the shapes inside the scene.   12586 The <dr3d:scene> element is the only element that can contain three-dimensional shapes. A scene is like a group, but it also defines the projection, lighting, and other render details for the shapes inside the scene.
12216 <define name="dr3d-scene">   12587 <define name="dr3d-scene">
12217         <element name="dr3d:scene">   12588         <element name="dr3d:scene">
12218                 <ref name="dr3d-scene-attlist"/>   12589                 <ref name="dr3d-scene-attlist"/>
12219                 <ref name="common-draw-position-attlist"/>   12590                 <ref name="common-draw-position-attlist"/>
12220                 <ref name="common-draw-size-attlist"/>   12591                 <ref name="common-draw-size-attlist"/>
12221                 <ref name="common-draw-style-name-attlist"/>   12592                 <ref name="common-draw-style-name-attlist"/>
12222                 <ref name="common-draw-z-index-attlist"/>   12593                 <ref name="common-draw-z-index-attlist"/>
12223                 <ref name="common-draw-id-attlist"/>   12594                 <ref name="common-draw-id-attlist"/>
12224                 <ref name="common-draw-layer-name-attlist"/>   12595                 <ref name="common-draw-layer-name-attlist"/>
12225                 <ref name="common-text-spreadsheet-shape-attlist"/>   12596                 <ref name="common-text-spreadsheet-shape-attlist"/>
12226                 <ref name="common-dr3d-transform-attlist"/>   12597                 <ref name="common-dr3d-transform-attlist"/>
    -+ 12598                 <ref name="common-draw-caption-id-attlist"/>
      12599                 <optional>
      12600                         <ref name="svg-title"/>
      12601                 </optional>
      12602                 <optional>
      12603                         <ref name="svg-desc"/>
      12604                 </optional>
12227                 <zeroOrMore> = 12605                 <zeroOrMore>
12228                         <ref name="dr3d-light"/>   12606                         <ref name="dr3d-light"/>
12229                 </zeroOrMore>   12607                 </zeroOrMore>
12230                 <zeroOrMore>   12608                 <zeroOrMore>
12231                         <ref name="shapes3d"/>   12609                         <ref name="shapes3d"/>
12232                 </zeroOrMore>   12610                 </zeroOrMore>
12233         </element>   12611         </element>
12234 </define>   12612 </define>
12235     12613  
12236 <define name="shapes3d">   12614 <define name="shapes3d">
12237         <choice>   12615         <choice>
12238                 <ref name="dr3d-scene"/>   12616                 <ref name="dr3d-scene"/>
12239                 <ref name="dr3d-extrude"/>   12617                 <ref name="dr3d-extrude"/>
12240                 <ref name="dr3d-sphere"/>   12618                 <ref name="dr3d-sphere"/>
12241                 <ref name="dr3d-rotate"/>   12619                 <ref name="dr3d-rotate"/>
12242                 <ref name="dr3d-cube"/>   12620                 <ref name="dr3d-cube"/>
12243         </choice>   12621         </choice>
12244 </define>   12622 </define>
    <> 12623 The attributes that may be associated with the <dr3d:scene> element are:
12245 Position, Size, Style, Layer, Z-Index, and ID  – see section 9.2.15   12624 Position, Size, Style, Layer, Z-Index, ID and Caption ID – see section 9.2.15
12246 Text anchor, table background, draw end position – see section 9.2.16 = 12625 Text anchor, table background, draw end position – see section 9.2.16
12247 Camera vectors   12626 Camera vectors
12248 Projection   12627 Projection
12249 Distance   12628 Distance
12250 Focal length   12629 Focal length
12251 Shadow slant   12630 Shadow slant
12252 Shade mode   12631 Shade mode
12253 Ambient color   12632 Ambient color
12254 Lighting mode   12633 Lighting mode
    -+ 12634 The elements that may be contained in the <dr3d:scene> element are:
      12635 Title (short accessible name) – see section 9.2.20.
      12636 Long description (in support of accessibility) – see section 9.2.20.
      12637 Light – see section 9.4.2.
      12638 Scene – see section 9.4.1.
      12639 Extrude – see section 9.4.5.
      12640 Sphere – see section 9.4.4.
      12641 Rotate – see section 9.4.6.
      12642 Cube – see section 9.4.3.
12255 Camera Vectors = 12643 Camera Vectors
12256 The camera vectors define a viewing volume. The dr3d:vrp attribute specifies the origin, the dr3d:vpn attribute points towards the projected objects, and the dr3d:vup attribute defines the up vector.   12644 The camera vectors define a viewing volume. The dr3d:vrp attribute specifies the origin, the dr3d:vpn attribute points towards the projected objects, and the dr3d:vup attribute defines the up vector.
12257 <define name="dr3d-scene-attlist" combine="interleave">   12645 <define name="dr3d-scene-attlist" combine="interleave">
12258         <optional>   12646         <optional>
12259                 <attribute name="dr3d:vrp">   12647                 <attribute name="dr3d:vrp">
12260                         <ref name="vector3D"/>   12648                         <ref name="vector3D"/>
12261                 </attribute>   12649                 </attribute>
12262         </optional>   12650         </optional>
12263         <optional>   12651         <optional>
12264                 <attribute name="dr3d:vpn">   12652                 <attribute name="dr3d:vpn">
12265                         <ref name="vector3D"/>   12653                         <ref name="vector3D"/>
12266                 </attribute>   12654                 </attribute>
12267         </optional>   12655         </optional>
12268         <optional>   12656         <optional>
12269                 <attribute name="dr3d:vup">   12657                 <attribute name="dr3d:vup">
12270                         <ref name="vector3D"/>   12658                         <ref name="vector3D"/>
12271                 </attribute>   12659                 </attribute>
12272         </optional>   12660         </optional>
12273 </define>   12661 </define>
12274 Projection   12662 Projection
12275 The dr3d:projection attribute specifies the projection. The projection can be perspective or parallel. In perspective mode, objects become smaller in the distance.   12663 The dr3d:projection attribute specifies the projection. The projection can be perspective or parallel. In perspective mode, objects become smaller in the distance.
12276 <define name="dr3d-scene-attlist" combine="interleave">   12664 <define name="dr3d-scene-attlist" combine="interleave">
12277         <optional>   12665         <optional>
12278                 <attribute name="dr3d:projection">   12666                 <attribute name="dr3d:projection">
12279                         <choice>   12667                         <choice>
12280                                 <value>parallel</value>   12668                                 <value>parallel</value>
12281                                 <value>perspective</value>   12669                                 <value>perspective</value>
12282                         </choice>   12670                         </choice>
12283                 </attribute>   12671                 </attribute>
12284         </optional>   12672         </optional>
12285 </define>   12673 </define>
12286 Distance   12674 Distance
12287 The dr3d:distance attribute specifies the distance between the camera and the object.   12675 The dr3d:distance attribute specifies the distance between the camera and the object.
12288 <define name="dr3d-scene-attlist" combine="interleave">   12676 <define name="dr3d-scene-attlist" combine="interleave">
12289         <optional>   12677         <optional>
12290                 <attribute name="dr3d:distance">   12678                 <attribute name="dr3d:distance">
12291                         <ref name="length"/>   12679                         <ref name="length"/>
12292                 </attribute>   12680                 </attribute>
12293         </optional>   12681         </optional>
12294 </define>   12682 </define>
12295 Focal Length   12683 Focal Length
12296 The dr3d:focal-length attribute specifies the length of the focus for the virtual camera of this scene.   12684 The dr3d:focal-length attribute specifies the length of the focus for the virtual camera of this scene.
12297 <define name="dr3d-scene-attlist" combine="interleave">   12685 <define name="dr3d-scene-attlist" combine="interleave">
12298         <optional>   12686         <optional>
12299                 <attribute name="dr3d:focal-length">   12687                 <attribute name="dr3d:focal-length">
12300                         <ref name="length"/>   12688                         <ref name="length"/>
12301                 </attribute>   12689                 </attribute>
12302         </optional>   12690         </optional>
12303 </define>   12691 </define>
12304 Shadow Slant   12692 Shadow Slant
12305 The dr3d:shadow-slant attribute defines the angle from the three-dimensional scene to a virtual paper on which the shadow is cast.   12693 The dr3d:shadow-slant attribute defines the angle from the three-dimensional scene to a virtual paper on which the shadow is cast.
12306 <define name="dr3d-scene-attlist" combine="interleave">   12694 <define name="dr3d-scene-attlist" combine="interleave">
12307         <optional>   12695         <optional>
12308                 <attribute name="dr3d:shadow-slant">   12696                 <attribute name="dr3d:shadow-slant">
12309                         <ref name="nonNegativeInteger"/>   12697                         <ref name="nonNegativeInteger"/>
12310                 </attribute>   12698                 </attribute>
12311         </optional>   12699         </optional>
12312 </define>   12700 </define>
12313 Shade Mode   12701 Shade Mode
12314 The shade mode defines how the lighting is calculated for rendered surfaces   12702 The shade mode defines how the lighting is calculated for rendered surfaces
12315 flat: lighting is calculated by one surface normal.   12703 flat: lighting is calculated by one surface normal.
12316 phong: lighting is calculated by interpolating the surface normals over the surface.   12704 phong: lighting is calculated by interpolating the surface normals over the surface.
12317 gouraud: lighting is calculated by interpolating the color calculated with the surface normals at each edge.   12705 gouraud: lighting is calculated by interpolating the color calculated with the surface normals at each edge.
12318 draft: surfaces are not lit and drawn as wireframe only.   12706 draft: surfaces are not lit and drawn as wireframe only.
12319 <define name="dr3d-scene-attlist" combine="interleave">   12707 <define name="dr3d-scene-attlist" combine="interleave">
12320         <optional>   12708         <optional>
12321                 <attribute name="dr3d:shade-mode">   12709                 <attribute name="dr3d:shade-mode">
12322                         <choice>   12710                         <choice>
12323                                 <value>flat</value>   12711                                 <value>flat</value>
12324                                 <value>phong</value>   12712                                 <value>phong</value>
12325                                 <value>gouraud</value>   12713                                 <value>gouraud</value>
12326                                 <value>draft</value>   12714                                 <value>draft</value>
12327                         </choice>   12715                         </choice>
12328                 </attribute>   12716                 </attribute>
12329         </optional>   12717         </optional>
12330 </define>   12718 </define>
12331 Ambient Color   12719 Ambient Color
12332 The dr3d:ambient-color attribute specifies the color for ambient light. Ambient light is that light that seems to come from all directions.   12720 The dr3d:ambient-color attribute specifies the color for ambient light. Ambient light is that light that seems to come from all directions.
12333 <define name="dr3d-scene-attlist" combine="interleave">   12721 <define name="dr3d-scene-attlist" combine="interleave">
12334         <optional>   12722         <optional>
12335                 <attribute name="dr3d:ambient-color">   12723                 <attribute name="dr3d:ambient-color">
12336                         <ref name="color"/>   12724                         <ref name="color"/>
12337                 </attribute>   12725                 </attribute>
12338         </optional>   12726         </optional>
12339 </define>   12727 </define>
12340 Lighting Mode   12728 Lighting Mode
12341 The attribute dr3d:lighting-mode enables or disables the use of lighting in the three-dimensional scene.   12729 The attribute dr3d:lighting-mode enables or disables the use of lighting in the three-dimensional scene.
12342 <define name="dr3d-scene-attlist" combine="interleave">   12730 <define name="dr3d-scene-attlist" combine="interleave">
12343         <optional>   12731         <optional>
12344                 <attribute name="dr3d:lighting-mode">   12732                 <attribute name="dr3d:lighting-mode">
12345                         <ref name="boolean"/>   12733                         <ref name="boolean"/>
12346                 </attribute>   12734                 </attribute>
12347         </optional>   12735         </optional>
12348 </define>   12736 </define>
12349 3D Transformation   12737 3D Transformation
12350 The value of the dr3d:transform attribute is a list of transform definitions, which are applied in the order provided. The individual transform definitions are separated by whitespace. The available types of transform definitions include:   12738 The value of the dr3d:transform attribute is a list of transform definitions, which are applied in the order provided. The individual transform definitions are separated by whitespace. The available types of transform definitions include:
12351 matrix (<a> <b> <c> <d> <e> <f> <g> <h> <i> <j> <k> <l>), which specifies a transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f,g,h,i,j,k,l) is equivalent to applying the transformation matrix [a b c d e f g h i j k l].   12739 matrix (<a> <b> <c> <d> <e> <f> <g> <h> <i> <j> <k> <l>), which specifies a transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f,g,h,i,j,k,l) is equivalent to applying the transformation matrix [a b c d e f g h i j k l].
12352 translate (<tx> <ty> <tz>), which specifies a translation by tx, ty and tz.   12740 translate (<tx> <ty> <tz>), which specifies a translation by tx, ty and tz.
12353 scale (<sx> <sy> <sz>), which specifies a scale operation by sx, sy and sz.   12741 scale (<sx> <sy> <sz>), which specifies a scale operation by sx, sy and sz.
12354 rotatex (<rotate-angle> ), which specifies a rotation by <rotate-angle> degrees along the x-axis.   12742 rotatex (<rotate-angle> ), which specifies a rotation by <rotate-angle> degrees along the x-axis.
12355 rotatey (<rotate-angle> ), which specifies a rotation by <rotate-angle> degrees along the y-axis.   12743 rotatey (<rotate-angle> ), which specifies a rotation by <rotate-angle> degrees along the y-axis.
12356 rotatez (<rotate-angle> ), which specifies a rotation by <rotate-angle> degrees along the y-axis.   12744 rotatez (<rotate-angle> ), which specifies a rotation by <rotate-angle> degrees along the y-axis.
12357 <define name="common-dr3d-transform-attlist">   12745 <define name="common-dr3d-transform-attlist">
12358         <optional>   12746         <optional>
12359                 <attribute name="dr3d:transform"/>   12747                 <attribute name="dr3d:transform"/>
12360         </optional>   12748         </optional>
12361 </define>   12749 </define>
12362 9.4.2Light   12750 9.4.2Light
12363 The <dr3d:light> element represents a light inside a scene.   12751 The <dr3d:light> element represents a light inside a scene.
12364 This element must be the first element contained in a <dr3d:scene> element. There may be several lights, but applications may only support a limited number per scene. A typical limitation are 8 lights per scene.   12752 This element must be the first element contained in a <dr3d:scene> element. There may be several lights, but applications may only support a limited number per scene. A typical limitation are 8 lights per scene.
12365 <define name="dr3d-light">   12753 <define name="dr3d-light">
12366         <element name="dr3d:light">   12754         <element name="dr3d:light">
12367                 <ref name="dr3d-light-attlist"/>   12755                 <ref name="dr3d-light-attlist"/>
12368                 <empty/>   12756                 <empty/>
12369         </element>   12757         </element>
12370 </define>   12758 </define>
12371 The attributes that may be associated with the <dr3d:light> element are:   12759 The attributes that may be associated with the <dr3d:light> element are:
12372 Diffuse color   12760 Diffuse color
12373 Direction   12761 Direction
12374 Enabled   12762 Enabled
12375 Specular   12763 Specular
12376 Diffuse Color   12764 Diffuse Color
12377 The dr3d:diffuse-color attribute specifies the base color that the light is emitting.   12765 The dr3d:diffuse-color attribute specifies the base color that the light is emitting.
12378 <define name="dr3d-light-attlist" combine="interleave">   12766 <define name="dr3d-light-attlist" combine="interleave">
12379         <optional>   12767         <optional>
12380                 <attribute name="dr3d:diffuse-color">   12768                 <attribute name="dr3d:diffuse-color">
12381                         <ref name="color"/>   12769                         <ref name="color"/>
12382                 </attribute>   12770                 </attribute>
12383         </optional>   12771         </optional>
12384 </define>   12772 </define>
12385 Direction   12773 Direction
12386 The dr3d:direction attribute specifies the direction in which the light is emitted.   12774 The dr3d:direction attribute specifies the direction in which the light is emitted.
12387 <define name="dr3d-light-attlist" combine="interleave">   12775 <define name="dr3d-light-attlist" combine="interleave">
12388         <attribute name="dr3d:direction">   12776         <attribute name="dr3d:direction">
12389                 <ref name="vector3D"/>   12777                 <ref name="vector3D"/>
12390         </attribute>   12778         </attribute>
12391 </define>   12779 </define>
12392 Enabled   12780 Enabled
12393 The dr3d:enabled attribute specifies whether or not the light is enabled. If a light is not enabled, it does not emit any light.   12781 The dr3d:enabled attribute specifies whether or not the light is enabled. If a light is not enabled, it does not emit any light.
12394 <define name="dr3d-light-attlist" combine="interleave">   12782 <define name="dr3d-light-attlist" combine="interleave">
12395         <optional>   12783         <optional>
12396                 <attribute name="dr3d:enabled">   12784                 <attribute name="dr3d:enabled">
12397                         <ref name="boolean"/>   12785                         <ref name="boolean"/>
12398                 </attribute>   12786                 </attribute>
12399         </optional>   12787         </optional>
12400 </define>   12788 </define>
12401 Specular   12789 Specular
12402 The dr3d:specular attribute specifies whether or not the light causes a specular reflection on the objects. Applications may evaluate this attribute only for  the first light in a scene.   12790 The dr3d:specular attribute specifies whether or not the light causes a specular reflection on the objects. Applications may evaluate this attribute only for  the first light in a scene.
12403 <define name="dr3d-light-attlist" combine="interleave">   12791 <define name="dr3d-light-attlist" combine="interleave">
12404         <optional>   12792         <optional>
12405                 <attribute name="dr3d:specular">   12793                 <attribute name="dr3d:specular">
12406                         <ref name="boolean"/>   12794                         <ref name="boolean"/>
12407                 </attribute>   12795                 </attribute>
12408         </optional>   12796         </optional>
12409 </define>   12797 </define>
12410 9.4.3Cube   12798 9.4.3Cube
12411 The <dr3d:cube> element represents a three-dimensional cube shape.   12799 The <dr3d:cube> element represents a three-dimensional cube shape.
12412 <define name="dr3d-cube">   12800 <define name="dr3d-cube">
12413         <element name="dr3d:cube">   12801         <element name="dr3d:cube">
12414                 <ref name="dr3d-cube-attlist"/>   12802                 <ref name="dr3d-cube-attlist"/>
12415                 <ref name="common-draw-z-index-attlist"/>   12803                 <ref name="common-draw-z-index-attlist"/>
12416                 <ref name="common-draw-id-attlist"/>   12804                 <ref name="common-draw-id-attlist"/>
12417                 <ref name="common-draw-layer-name-attlist"/>   12805                 <ref name="common-draw-layer-name-attlist"/>
12418                 <ref name="common-draw-style-name-attlist"/>   12806                 <ref name="common-draw-style-name-attlist"/>
12419                 <ref name="common-dr3d-transform-attlist"/>   12807                 <ref name="common-dr3d-transform-attlist"/>
12420                 <empty/>   12808                 <empty/>
12421         </element>   12809         </element>
12422 </define>   12810 </define>
12423 The attributes that may be associated with the <dr3d:cube> element are:   12811 The attributes that may be associated with the <dr3d:cube> element are:
12424 Style, Layer, Z-Index and ID – see section 9.2.15   12812 Style, Layer, Z-Index and ID – see section 9.2.15
12425 Minimum and Maximum Edge   12813 Minimum and Maximum Edge
12426 Minimum and Maximum Edge   12814 Minimum and Maximum Edge
12427 The attributes dr3d:min-edge and dr3d:max-edge specify the minimum and maximum edge of the cube in a 3D space.   12815 The attributes dr3d:min-edge and dr3d:max-edge specify the minimum and maximum edge of the cube in a 3D space.
12428 <define name="dr3d-cube-attlist" combine="interleave">   12816 <define name="dr3d-cube-attlist" combine="interleave">
12429         <optional>   12817         <optional>
12430                 <attribute name="dr3d:min-edge">   12818                 <attribute name="dr3d:min-edge">
12431                         <ref name="vector3D"/>   12819                         <ref name="vector3D"/>
12432                 </attribute>   12820                 </attribute>
12433         </optional>   12821         </optional>
12434         <optional>   12822         <optional>
12435                 <attribute name="dr3d:max-edge">   12823                 <attribute name="dr3d:max-edge">
12436                         <ref name="vector3D"/>   12824                         <ref name="vector3D"/>
12437                 </attribute>   12825                 </attribute>
12438         </optional>   12826         </optional>
12439 </define>   12827 </define>
12440 9.4.4Sphere   12828 9.4.4Sphere
12441 The <dr3d:sphere> element represents a three-dimensional sphere shape.   12829 The <dr3d:sphere> element represents a three-dimensional sphere shape.
12442 <define name="dr3d-sphere">   12830 <define name="dr3d-sphere">
12443         <element name="dr3d:sphere">   12831         <element name="dr3d:sphere">
12444                 <ref name="dr3d-sphere-attlist"/>   12832                 <ref name="dr3d-sphere-attlist"/>
12445                 <ref name="common-draw-z-index-attlist"/>   12833                 <ref name="common-draw-z-index-attlist"/>
12446                 <ref name="common-draw-id-attlist"/>   12834                 <ref name="common-draw-id-attlist"/>
12447                 <ref name="common-draw-layer-name-attlist"/>   12835                 <ref name="common-draw-layer-name-attlist"/>
12448                 <ref name="common-draw-style-name-attlist"/>   12836                 <ref name="common-draw-style-name-attlist"/>
12449                 <ref name="common-dr3d-transform-attlist"/>   12837                 <ref name="common-dr3d-transform-attlist"/>
12450                 <empty/>   12838                 <empty/>
12451         </element>   12839         </element>
12452 </define>   12840 </define>
12453 The attributes that may be associated with the <dr3d:sphere> element are:   12841 The attributes that may be associated with the <dr3d:sphere> element are:
12454 Style, Layer, Z-Index, and ID  – see section 9.2.15   12842 Style, Layer, Z-Index, and ID  – see section 9.2.15
12455 Center   12843 Center
12456 Size   12844 Size
12457 Center   12845 Center
12458 The dr3d:center attribute defines the center of the sphere in a three-dimensional space.   12846 The dr3d:center attribute defines the center of the sphere in a three-dimensional space.
12459 <define name="dr3d-sphere-attlist" combine="interleave">   12847 <define name="dr3d-sphere-attlist" combine="interleave">
12460         <optional>   12848         <optional>
12461                 <attribute name="dr3d:center">   12849                 <attribute name="dr3d:center">
12462                         <ref name="vector3D"/>   12850                         <ref name="vector3D"/>
12463                 </attribute>   12851                 </attribute>
12464         </optional>   12852         </optional>
12465 </define>   12853 </define>
12466 Size   12854 Size
12467 The dr3d:size attribute defines the size of the sphere in a three-dimensional space.   12855 The dr3d:size attribute defines the size of the sphere in a three-dimensional space.
12468 <define name="dr3d-sphere-attlist" combine="interleave">   12856 <define name="dr3d-sphere-attlist" combine="interleave">
12469         <optional>   12857         <optional>
12470                 <attribute name="dr3d:size">   12858                 <attribute name="dr3d:size">
12471                         <ref name="vector3D"/>   12859                         <ref name="vector3D"/>
12472                 </attribute>   12860                 </attribute>
12473         </optional>   12861         </optional>
12474 </define>   12862 </define>
12475 9.4.5Extrude   12863 9.4.5Extrude
12476 The <dr3d:extrude> element represents a three-dimensional extrude based on a polygon.   12864 The <dr3d:extrude> element represents a three-dimensional extrude based on a polygon.
12477 <define name="dr3d-extrude">   12865 <define name="dr3d-extrude">
12478         <element name="dr3d:extrude">   12866         <element name="dr3d:extrude">
12479                 <ref name="common-draw-path-data-attlist"/>   12867                 <ref name="common-draw-path-data-attlist"/>
12480                 <ref name="common-draw-viewbox-attlist"/>   12868                 <ref name="common-draw-viewbox-attlist"/>
12481                 <ref name="common-draw-id-attlist"/>   12869                 <ref name="common-draw-id-attlist"/>
12482                 <ref name="common-draw-z-index-attlist"/>   12870                 <ref name="common-draw-z-index-attlist"/>
12483                 <ref name="common-draw-layer-name-attlist"/>   12871                 <ref name="common-draw-layer-name-attlist"/>
12484                 <ref name="common-draw-style-name-attlist"/>   12872                 <ref name="common-draw-style-name-attlist"/>
12485                 <ref name="common-dr3d-transform-attlist"/>   12873                 <ref name="common-dr3d-transform-attlist"/>
12486                 <empty/>   12874                 <empty/>
12487         </element>   12875         </element>
12488 </define>   12876 </define>
12489 The attributes that may be associated with the <dr3d:extrude> element are:   12877 The attributes that may be associated with the <dr3d:extrude> element are:
12490 Viewbox, Style, Layer, Z-Index, and ID  – see section 9.2.15   12878 Viewbox, Style, Layer, Z-Index, and ID  – see section 9.2.15
12491 Path Data – see section 9.2.6   12879 Path Data – see section 9.2.6
12492 9.4.6Rotate   12880 9.4.6Rotate
12493 The <dr3d:rotate> element represents a three-dimensional rotation shape based on a polygon.   12881 The <dr3d:rotate> element represents a three-dimensional rotation shape based on a polygon.
12494 <define name="dr3d-rotate">   12882 <define name="dr3d-rotate">
12495         <element name="dr3d:rotate">   12883         <element name="dr3d:rotate">
12496                 <ref name="common-draw-viewbox-attlist"/>   12884                 <ref name="common-draw-viewbox-attlist"/>
12497                 <ref name="common-draw-path-data-attlist"/>   12885                 <ref name="common-draw-path-data-attlist"/>
12498                 <ref name="common-draw-z-index-attlist"/>   12886                 <ref name="common-draw-z-index-attlist"/>
12499                 <ref name="common-draw-id-attlist"/>   12887                 <ref name="common-draw-id-attlist"/>
12500                 <ref name="common-draw-layer-name-attlist"/>   12888                 <ref name="common-draw-layer-name-attlist"/>
12501                 <ref name="common-draw-style-name-attlist"/>   12889                 <ref name="common-draw-style-name-attlist"/>
12502                 <ref name="common-dr3d-transform-attlist"/>   12890                 <ref name="common-dr3d-transform-attlist"/>
12503                 <empty/>   12891                 <empty/>
12504         </element>   12892         </element>
12505 </define>   12893 </define>
12506 The attributes that may be associated with the <dr3d:rotate> element are:   12894 The attributes that may be associated with the <dr3d:rotate> element are:
12507 Viewbox, Style, Layer, Z-Index, and ID  – see section 9.2.15   12895 Viewbox, Style, Layer, Z-Index, and ID  – see section 9.2.15
12508 Path Data – see section 9.2.6   12896 Path Data – see section 9.2.6
12509 9.5Custom Shape   12897 9.5Custom Shape
12510 A <draw:custom-shape> represents a shape that is capable of rendering complex figures. It is offering font work and extrusion functionality. A custom shape may have a geometry that influences its shape. This geometry may be visualized in office application user interfaces, for instance by displaying interaction handles, that provide a simple way to modify the the geometry.   12898 A <draw:custom-shape> represents a shape that is capable of rendering complex figures. It is offering font work and extrusion functionality. A custom shape may have a geometry that influences its shape. This geometry may be visualized in office application user interfaces, for instance by displaying interaction handles, that provide a simple way to modify the the geometry.
12511 <define name="draw-custom-shape">   12899 <define name="draw-custom-shape">
12512         <element name="draw:custom-shape">   12900         <element name="draw:custom-shape">
12513                 <ref name="draw-custom-shape-attlist"/>   12901                 <ref name="draw-custom-shape-attlist"/>
12514                 <ref name="common-draw-position-attlist"/>   12902                 <ref name="common-draw-position-attlist"/>
12515                 <ref name="common-draw-size-attlist"/>   12903                 <ref name="common-draw-size-attlist"/>
12516                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>   12904                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
    -+ 12905                 <ref name="common-draw-caption-id-attlist"/>
      12906                 <optional>
      12907                         <ref name="svg-title"/>
      12908                 </optional>
      12909                 <optional>
      12910                         <ref name="svg-desc"/>
      12911                 </optional>
12517                 <optional> = 12912                 <optional>
12518                         <ref name="office-event-listeners"/>   12913                         <ref name="office-event-listeners"/>
12519                 </optional>   12914                 </optional>
12520                 <zeroOrMore>   12915                 <zeroOrMore>
12521                         <ref name="draw-glue-point"/>   12916                         <ref name="draw-glue-point"/>
12522                 </zeroOrMore>   12917                 </zeroOrMore>
12523                 <ref name="draw-text"/>   12918                 <ref name="draw-text"/>
12524                 <optional>   12919                 <optional>
12525                         <ref name="draw-enhanced-geometry"/>   12920                         <ref name="draw-enhanced-geometry"/>
12526                 </optional>   12921                 </optional>
12527         </element>   12922         </element>
12528 </define>   12923 </define>
12529 The attributes that may be associated with the <draw:custom shape> element are:   12924 The attributes that may be associated with the <draw:custom shape> element are:
12530 Position, Size, Style, Layer, Z-Index, ID, and Transformation – see section 9.2.15. <> 12925 Position, Size, Style, Layer, Z-Index, ID, Caption ID and Transformation – see section 9.2.15.
12531 Text anchor, table background, draw end position – see section 9.2.16. = 12926 Text anchor, table background, draw end position – see section 9.2.16.
12532 Draw engine   12927 Draw engine
12533 Draw data   12928 Draw data
    -+ 12929 The elements that may be contained in the <draw:custom-shape> element are:
      12930 Title (short accessible name) – see section 9.2.20.
      12931 Long description (in support of accessibility) – see section 9.2.20.
      12932 Event listeners – see section 9.2.21.
      12933 Glue points – see section 9.2.19.
      12934 Text – see section 9.2.17.
      12935 Enhanced geometry – see section 9.5.1,
12534 Draw Engine = 12936 Draw Engine
12535 The optional draw:engine attribute specifies the name of a rendering engine that can be used to render the custom shape. The attribute's value is a namespaced token, meaning an identifier prefixed by an XML namespace prefix, just like any attribute or element name in this specification. The drawing engine may get its data either from the draw:data attribute, or it may evaluate the <draw:enhanced-geometry> child element.   12937 The optional draw:engine attribute specifies the name of a rendering engine that can be used to render the custom shape. The attribute's value is a namespaced token, meaning an identifier prefixed by an XML namespace prefix, just like any attribute or element name in this specification. The drawing engine may get its data either from the draw:data attribute, or it may evaluate the <draw:enhanced-geometry> child element.
12536 If the draw:engine attribute is omitted, the office application's default enhanced custom shape rendering engine will be used. This engine gets its geometry data from the <draw:enhanced-geometry> element only.   12938 If the draw:engine attribute is omitted, the office application's default enhanced custom shape rendering engine will be used. This engine gets its geometry data from the <draw:enhanced-geometry> element only.
12537 <define name="draw-custom-shape-attlist" combine="interleave">   12939 <define name="draw-custom-shape-attlist" combine="interleave">
12538         <optional>   12940         <optional>
12539                 <attribute name="draw:engine">   12941                 <attribute name="draw:engine">
12540                         <ref name="namespacedToken"/>   12942                         <ref name="namespacedToken"/>
12541                 </attribute>   12943                 </attribute>
12542         </optional>   12944         </optional>
12543 </define>   12945 </define>
12544 Draw Data   12946 Draw Data
12545 The draw:data attribute contains rendering engine specific data that describes the geometry of the custom shape. This attribute is only evaluated if  a non default rendering engine is specified by the draw:engine attribute.   12947 The draw:data attribute contains rendering engine specific data that describes the geometry of the custom shape. This attribute is only evaluated if  a non default rendering engine is specified by the draw:engine attribute.
12546 <define name="draw-custom-shape-attlist" combine="interleave">   12948 <define name="draw-custom-shape-attlist" combine="interleave">
12547         <optional>   12949         <optional>
12548                 <attribute name="draw:data">   12950                 <attribute name="draw:data">
12549                         <ref name="string"/>   12951                         <ref name="string"/>
12550                 </attribute>   12952                 </attribute>
12551         </optional>   12953         </optional>
12552 </define>   12954 </define>
12553 9.5.1Enhanced Geometry   12955 9.5.1Enhanced Geometry
12554 The <draw:enhanced-geometry> element contains the geometry for a  <draw:custom-shape> element if its draw:engine attribute has been omitted.   12956 The <draw:enhanced-geometry> element contains the geometry for a  <draw:custom-shape> element if its draw:engine attribute has been omitted.
12555 <define name="draw-enhanced-geometry">   12957 <define name="draw-enhanced-geometry">
12556         <element name="draw:enhanced-geometry">   12958         <element name="draw:enhanced-geometry">
12557                 <ref name="draw-enhanced-geometry-attlist"/>   12959                 <ref name="draw-enhanced-geometry-attlist"/>
12558                 <zeroOrMore>   12960                 <zeroOrMore>
12559                         <ref name="draw-equation"/>   12961                         <ref name="draw-equation"/>
12560                 </zeroOrMore>   12962                 </zeroOrMore>
12561                 <zeroOrMore>   12963                 <zeroOrMore>
12562                         <ref name="draw-handle"/>   12964                         <ref name="draw-handle"/>
12563                 </zeroOrMore>   12965                 </zeroOrMore>
12564         </element>   12966         </element>
12565 </define>   12967 </define>
12566 The attributes that may be associated with the <draw:enhanced-geometry> element are   12968 The attributes that may be associated with the <draw:enhanced-geometry> element are
12567 Type   12969 Type
12568 View Box   12970 View Box
12569 Mirror   12971 Mirror
12570 Text Rotate Angle   12972 Text Rotate Angle
12571 Extrusion Allowed   12973 Extrusion Allowed
12572 Text Path Allowed   12974 Text Path Allowed
12573 Concentric Gradient Fill Allowed   12975 Concentric Gradient Fill Allowed
12574 Enhanced Geometry - Extrusion Attributes (see section 9.5.2)   12976 Enhanced Geometry - Extrusion Attributes (see section 9.5.2)
12575 Enhanced Geometry - Path Attributes (see section 9.5.3)   12977 Enhanced Geometry - Path Attributes (see section 9.5.3)
12576 Enhanced Geometry - Text Path Attributes (see section 9.5.4)   12978 Enhanced Geometry - Text Path Attributes (see section 9.5.4)
12577 Enhanced Geometry - Equation (see section 9.5.5)   12979 Enhanced Geometry - Equation (see section 9.5.5)
12578 Enhanced Geometry - Handle Attributes (see section 9.5.6)   12980 Enhanced Geometry - Handle Attributes (see section 9.5.6)
12579 Type   12981 Type
12580 The draw:type attribute contains the name of a shape type. This name can be used to offer specialized user interfaces for certain classes of shapes, like for arrows, smileys, etc.   12982 The draw:type attribute contains the name of a shape type. This name can be used to offer specialized user interfaces for certain classes of shapes, like for arrows, smileys, etc.
12581 The shape type is rendering engine dependent and does not influence the geometry of the shape. If the value of the draw:type attribute is non-primitive, then no shape type is available.   12983 The shape type is rendering engine dependent and does not influence the geometry of the shape. If the value of the draw:type attribute is non-primitive, then no shape type is available.
12582 <define name="draw-enhanced-geometry-attlist" combine="interleave">   12984 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12583         <optional>   12985         <optional>
12584                 <attribute name="draw:type" a:defaultValue="non-primitive">   12986                 <attribute name="draw:type" a:defaultValue="non-primitive">
12585                         <ref name="custom-shape-type"/>   12987                         <ref name="custom-shape-type"/>
12586                 </attribute>   12988                 </attribute>
12587         </optional>   12989         </optional>
12588 </define>   12990 </define>
12589     12991  
12590 <define name="custom-shape-type">   12992 <define name="custom-shape-type">
12591         <choice>   12993         <choice>
12592                 <value>non-primitive</value>   12994                 <value>non-primitive</value>
12593                 <ref name="string"/>   12995                 <ref name="string"/>
12594         </choice>   12996         </choice>
12595 </define>   12997 </define>
12596 View Box   12998 View Box
12597 The svg:viewBox attribute establishes a user coordinate system inside the physical coordinate system of the shape specified by the position and size attributes. This user coordinate system is used by the <draw:enhanced-path> element.   12999 The svg:viewBox attribute establishes a user coordinate system inside the physical coordinate system of the shape specified by the position and size attributes. This user coordinate system is used by the <draw:enhanced-path> element.
12598 The syntax for using this attribute is the same as the [SVG] syntax. The value of the attribute are four numbers separated by white spaces, which define the left, top, right, and bottom dimensions of the user coordinate system.   13000 The syntax for using this attribute is the same as the [SVG] syntax. The value of the attribute are four numbers separated by white spaces, which define the left, top, right, and bottom dimensions of the user coordinate system.
12599 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13001 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12600         <optional>   13002         <optional>
12601                 <attribute name="svg:viewBox">   13003                 <attribute name="svg:viewBox">
12602                         <list>   13004                         <list>
12603                                 <ref name="integer"/>   13005                                 <ref name="integer"/>
12604                                 <ref name="integer"/>   13006                                 <ref name="integer"/>
12605                                 <ref name="integer"/>   13007                                 <ref name="integer"/>
12606                                 <ref name="integer"/>   13008                                 <ref name="integer"/>
12607                         </list>   13009                         </list>
12608                 </attribute>   13010                 </attribute>
12609         </optional>   13011         </optional>
12610 </define>   13012 </define>
12611 Mirror   13013 Mirror
12612 The draw:mirror-vertical and draw:mirror-horizontal attributes specify if the geometry of the shape is to be mirrored.   13014 The draw:mirror-vertical and draw:mirror-horizontal attributes specify if the geometry of the shape is to be mirrored.
12613 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13015 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12614         <optional>   13016         <optional>
12615                 <attribute name="draw:mirror-vertical" a:defaultValue="false">   13017                 <attribute name="draw:mirror-vertical" a:defaultValue="false">
12616                         <ref name="boolean"/>   13018                         <ref name="boolean"/>
12617                 </attribute>   13019                 </attribute>
12618         </optional>   13020         </optional>
12619         <optional>   13021         <optional>
12620                 <attribute name="draw:mirror-horizontal" a:defaultValue="false">   13022                 <attribute name="draw:mirror-horizontal" a:defaultValue="false">
12621                         <ref name="boolean"/>   13023                         <ref name="boolean"/>
12622                 </attribute>   13024                 </attribute>
12623         </optional>   13025         </optional>
12624 </define>   13026 </define>
12625 Text Rotate Angle   13027 Text Rotate Angle
12626 The draw:text-rotate-angle attribute specifies the angle by which the text within the custom shape is rotated in addition to the rotation included in the shape's draw:transform attribute.   13028 The draw:text-rotate-angle attribute specifies the angle by which the text within the custom shape is rotated in addition to the rotation included in the shape's draw:transform attribute.
12627 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13029 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12628         <optional>   13030         <optional>
12629                 <attribute name="draw:text-rotate-angle" a:defaultValue="0">   13031                 <attribute name="draw:text-rotate-angle" a:defaultValue="0">
12630                         <ref name="double"/>   13032                         <ref name="double"/>
12631                 </attribute>   13033                 </attribute>
12632         </optional>   13034         </optional>
12633 </define>   13035 </define>
12634 Extrusion Allowed   13036 Extrusion Allowed
12635 The draw:extrusion-allowed attribute specifies whether the shape is capable to be rendered as extrusion object.   13037 The draw:extrusion-allowed attribute specifies whether the shape is capable to be rendered as extrusion object.
12636 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13038 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12637         <optional>   13039         <optional>
12638                 <attribute name="draw:extrusion-allowed" a:defaultValue="false">   13040                 <attribute name="draw:extrusion-allowed" a:defaultValue="false">
12639                         <ref name="boolean"/>   13041                         <ref name="boolean"/>
12640                 </attribute>   13042                 </attribute>
12641         </optional>   13043         </optional>
12642 </define>   13044 </define>
12643 Text Path Allowed   13045 Text Path Allowed
12644 The draw:text-path-allowed attribute specifies if the shape is capable of being rendered as Fontwork object. The text of a Fontwork object is distinguished from normal text objects by being able to render text along or between lines that are specified by the  draw:enhanced-path attribute. Fontwork objects are capable to support standard graphic attributes such as fill, shadow and or line styles.   13046 The draw:text-path-allowed attribute specifies if the shape is capable of being rendered as Fontwork object. The text of a Fontwork object is distinguished from normal text objects by being able to render text along or between lines that are specified by the  draw:enhanced-path attribute. Fontwork objects are capable to support standard graphic attributes such as fill, shadow and or line styles.
12645 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13047 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12646         <optional>   13048         <optional>
12647                 <attribute name="draw:text-path-allowed" a:defaultValue="false">   13049                 <attribute name="draw:text-path-allowed" a:defaultValue="false">
12648                         <ref name="boolean"/>   13050                         <ref name="boolean"/>
12649                 </attribute>   13051                 </attribute>
12650         </optional>   13052         </optional>
12651 </define>   13053 </define>
12652 Concentric Gradient Fill Allowed   13054 Concentric Gradient Fill Allowed
12653 The draw:concentric-gradient-fill-allowed attribute specifies if the shape is capable being rendered with a concentric gradient that uses the custom shape path.   13055 The draw:concentric-gradient-fill-allowed attribute specifies if the shape is capable being rendered with a concentric gradient that uses the custom shape path.
12654 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13056 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12655         <optional>   13057         <optional>
12656                 <attribute name="draw:concentric-gradient-fill-allowed"   13058                 <attribute name="draw:concentric-gradient-fill-allowed"
12657                                         a:defaultValue="false">   13059                                         a:defaultValue="false">
12658                         <ref name="boolean"/>   13060                         <ref name="boolean"/>
12659                 </attribute>   13061                 </attribute>
12660         </optional>   13062         </optional>
12661 </define>   13063 </define>
12662 9.5.2Enhanced Geometry - Extrusion Attributes   13064 9.5.2Enhanced Geometry - Extrusion Attributes
12663 Extrusion   13065 Extrusion
12664 The draw:extrusion attribute determines if an extrusion is displayed.   13066 The draw:extrusion attribute determines if an extrusion is displayed.
12665 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13067 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12666         <optional>   13068         <optional>
12667                 <attribute name="draw:extrusion" a:defaultValue="false">   13069                 <attribute name="draw:extrusion" a:defaultValue="false">
12668                         <ref name="boolean"/>   13070                         <ref name="boolean"/>
12669                 </attribute>   13071                 </attribute>
12670         </optional>   13072         </optional>
12671 </define>   13073 </define>
12672 Extrusion Brightness   13074 Extrusion Brightness
12673 The draw:extrusion-brightness attribute specifies the brightness of a scene.   13075 The draw:extrusion-brightness attribute specifies the brightness of a scene.
12674 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13076 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12675         <optional>   13077         <optional>
12676                 <attribute name="draw:extrusion-brightness" a:defaultValue="33%">   13078                 <attribute name="draw:extrusion-brightness" a:defaultValue="33%">
12677                         <ref name="percent"/>   13079                         <ref name="percent"/>
12678                 </attribute>   13080                 </attribute>
12679         </optional>   13081         </optional>
12680 </define>   13082 </define>
12681 Extrusion Depth   13083 Extrusion Depth
12682 The draw:extrusion-depth attribute specifies the depth of the extrusion. It takes two space separated values. The first value specifies the depth of the extrusion, the second value specifies the fraction of the extrusion that lies before the shape. It must be in the range [0,1]. A value of 0 is default.   13084 The draw:extrusion-depth attribute specifies the depth of the extrusion. It takes two space separated values. The first value specifies the depth of the extrusion, the second value specifies the fraction of the extrusion that lies before the shape. It must be in the range [0,1]. A value of 0 is default.
12683 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13085 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12684         <optional>   13086         <optional>
12685                 <attribute name="draw:extrusion-depth" a:defaultValue="36pt 0">   13087                 <attribute name="draw:extrusion-depth" a:defaultValue="36pt 0">
12686                         <list>   13088                         <list>
12687                                 <ref name="length"/>   13089                                 <ref name="length"/>
12688                                 <ref name="double"/>   13090                                 <ref name="double"/>
12689                         </list>   13091                         </list>
12690                 </attribute>   13092                 </attribute>
12691         </optional>   13093         </optional>
12692 </define>   13094 </define>
12693 Extrusion Diffusion   13095 Extrusion Diffusion
12694 The amount of diffusion reflected by the shape is specified by the draw:extrusion-diffusion attribute.   13096 The amount of diffusion reflected by the shape is specified by the draw:extrusion-diffusion attribute.
12695 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13097 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12696         <optional>   13098         <optional>
12697                 <attribute name="draw:extrusion-diffusion" a:defaultValue="0%">   13099                 <attribute name="draw:extrusion-diffusion" a:defaultValue="0%">
12698                         <ref name="percent"/>   13100                         <ref name="percent"/>
12699                 </attribute>   13101                 </attribute>
12700         </optional>   13102         </optional>
12701 </define>   13103 </define>
12702 Extrusion Number Of Line Segments   13104 Extrusion Number Of Line Segments
12703 The draw:extrusion-number-of-line-segments attribute specifies the number of line segments that should be used to display curved surfaces. The higher the number the more line segments are used.   13105 The draw:extrusion-number-of-line-segments attribute specifies the number of line segments that should be used to display curved surfaces. The higher the number the more line segments are used.
12704 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13106 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12705         <optional>   13107         <optional>
12706                 <attribute name="draw:extrusion-number-of-line-segments"   13108                 <attribute name="draw:extrusion-number-of-line-segments"
12707                            a:defaultValue="30">   13109                            a:defaultValue="30">
12708                         <ref name="integer"/>   13110                         <ref name="integer"/>
12709                 </attribute>   13111                 </attribute>
12710         </optional>   13112         </optional>
12711 </define>   13113 </define>
12712 Extrusion Light Face   13114 Extrusion Light Face
12713 The draw:extrusion-light-face attribute specifies if the front face of the extrusion responds to lightning changes.   13115 The draw:extrusion-light-face attribute specifies if the front face of the extrusion responds to lightning changes.
12714 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13116 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12715         <optional>   13117         <optional>
12716                 <attribute name="draw:extrusion-light-face" a:defaultValue="true">   13118                 <attribute name="draw:extrusion-light-face" a:defaultValue="true">
12717                         <ref name="boolean"/>   13119                         <ref name="boolean"/>
12718                 </attribute>   13120                 </attribute>
12719         </optional>   13121         </optional>
12720 </define>   13122 </define>
12721 Extrusion First Light Harsh   13123 Extrusion First Light Harsh
12722 The draw:extrusion-first-light-harsh attribute specifies if the primary light is harsh.   13124 The draw:extrusion-first-light-harsh attribute specifies if the primary light is harsh.
12723 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13125 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12724         <optional>   13126         <optional>
12725                 <attribute name="draw:extrusion-first-light-harsh"   13127                 <attribute name="draw:extrusion-first-light-harsh"
12726                            a:defaultValue="true">   13128                            a:defaultValue="true">
12727                         <ref name="boolean"/>   13129                         <ref name="boolean"/>
12728                 </attribute>   13130                 </attribute>
12729         </optional>   13131         </optional>
12730 </define>   13132 </define>
12731 Extrusion Second Light Harsh   13133 Extrusion Second Light Harsh
12732 The draw:extrusion-second-light-harsh attribute specifies if the secondary light is harsh.   13134 The draw:extrusion-second-light-harsh attribute specifies if the secondary light is harsh.
12733 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13135 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12734         <optional>   13136         <optional>
12735                 <attribute name="draw:extrusion-second-light-harsh"   13137                 <attribute name="draw:extrusion-second-light-harsh"
12736                            a:defaultValue="true">   13138                            a:defaultValue="true">
12737                         <ref name="boolean"/>   13139                         <ref name="boolean"/>
12738                 </attribute>   13140                 </attribute>
12739         </optional>   13141         </optional>
12740 </define>   13142 </define>
12741 Extrusion First Light Level   13143 Extrusion First Light Level
12742 The draw:extrusion-first-light-level attribute specifies the intensity for the first light.   13144 The draw:extrusion-first-light-level attribute specifies the intensity for the first light.
12743 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13145 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12744         <optional>   13146         <optional>
12745                 <attribute name="draw:extrusion-first-light-level"   13147                 <attribute name="draw:extrusion-first-light-level"
12746                            a:defaultValue="66%">   13148                            a:defaultValue="66%">
12747                         <ref name="percent"/>   13149                         <ref name="percent"/>
12748                 </attribute>   13150                 </attribute>
12749         </optional>   13151         </optional>
12750 </define>   13152 </define>
12751 Extrusion Second Light Level   13153 Extrusion Second Light Level
12752 The draw:extrusion-second-light-level attribute specifies the intensity for the second light.   13154 The draw:extrusion-second-light-level attribute specifies the intensity for the second light.
12753 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13155 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12754         <optional>   13156         <optional>
12755                 <attribute name="draw:extrusion-second-light-level"   13157                 <attribute name="draw:extrusion-second-light-level"
12756                            a:defaultValue="66%">   13158                            a:defaultValue="66%">
12757                         <ref name="percent"/>   13159                         <ref name="percent"/>
12758                 </attribute>   13160                 </attribute>
12759         </optional>   13161         </optional>
12760 </define>   13162 </define>
12761 Extrusion First Light Direction   13163 Extrusion First Light Direction
12762 The draw:extrusion-first-light-direction attribute specifies the direction of the first light.   13164 The draw:extrusion-first-light-direction attribute specifies the direction of the first light.
12763 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13165 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12764         <optional>   13166         <optional>
12765                 <attribute name="draw:extrusion-first-light-direction"   13167                 <attribute name="draw:extrusion-first-light-direction"
12766                            a:defaultValue="(5 0 1)">   13168                            a:defaultValue="(5 0 1)">
12767                         <ref name="vector3D"/>   13169                         <ref name="vector3D"/>
12768                 </attribute>   13170                 </attribute>
12769         </optional>   13171         </optional>
12770 </define>   13172 </define>
12771 Extrusion Second Light Direction   13173 Extrusion Second Light Direction
12772 The draw:extrusion-second-light-direction attribute specifies the direction of the second light.   13174 The draw:extrusion-second-light-direction attribute specifies the direction of the second light.
12773 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13175 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12774         <optional>   13176         <optional>
12775                 <attribute name="draw:extrusion-second-light-direction"   13177                 <attribute name="draw:extrusion-second-light-direction"
12776                            a:defaultValue="(-5 0 1)">   13178                            a:defaultValue="(-5 0 1)">
12777                         <ref name="vector3D"/>   13179                         <ref name="vector3D"/>
12778                 </attribute>   13180                 </attribute>
12779         </optional>   13181         </optional>
12780 </define>   13182 </define>
12781 Extrusion Metal   13183 Extrusion Metal
12782 The draw:extrusion-metal attribute specifies if the surface of the extrusion object looks like metal.   13184 The draw:extrusion-metal attribute specifies if the surface of the extrusion object looks like metal.
12783 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13185 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12784         <optional>   13186         <optional>
12785                 <attribute name="draw:extrusion-metal" a:defaultValue="false">   13187                 <attribute name="draw:extrusion-metal" a:defaultValue="false">
12786                         <ref name="boolean"/>   13188                         <ref name="boolean"/>
12787                 </attribute>   13189                 </attribute>
12788         </optional>   13190         </optional>
12789 </define>   13191 </define>
12790 Extrusion Shade Mode   13192 Extrusion Shade Mode
12791 The dr3d:shade-mode attribute defines how the lighting is calculated for rendered surfaces   13193 The dr3d:shade-mode attribute defines how the lighting is calculated for rendered surfaces
12792 flat: lighting is calculated by one surface normal.   13194 flat: lighting is calculated by one surface normal.
12793 phong: lighting is calculated by interpolating the surface normals over the surface.   13195 phong: lighting is calculated by interpolating the surface normals over the surface.
12794 gouraud: lighting is calculated by interpolating the color calculated with the surface normals at each edge.   13196 gouraud: lighting is calculated by interpolating the color calculated with the surface normals at each edge.
12795 draft: surfaces are not lit and drawn as wireframe only.   13197 draft: surfaces are not lit and drawn as wireframe only.
12796 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13198 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12797         <optional>   13199         <optional>
12798                 <attribute name="dr3d:shade-mode" a:defaultValue="flat">   13200                 <attribute name="dr3d:shade-mode" a:defaultValue="flat">
12799                         <choice>   13201                         <choice>
12800                                 <value>flat</value>   13202                                 <value>flat</value>
12801                                 <value>phong</value>   13203                                 <value>phong</value>
12802                                 <value>gouraud</value>   13204                                 <value>gouraud</value>
12803                                 <value>draft</value>   13205                                 <value>draft</value>
12804                         </choice>   13206                         </choice>
12805                 </attribute>   13207                 </attribute>
12806         </optional>   13208         </optional>
12807 </define>   13209 </define>
12808 Extrusion Rotation Angle   13210 Extrusion Rotation Angle
12809 The first value of the draw:extrusion-rotation-angle specifies the rotation about the x-axis. The second value of the  draw:extrusion-rotation-angle specifies the rotation about the y-axis. The rotation about the z-axis is specified by the rotate angle of the draw:transform attribute.   13211 The first value of the draw:extrusion-rotation-angle specifies the rotation about the x-axis. The second value of the  draw:extrusion-rotation-angle specifies the rotation about the y-axis. The rotation about the z-axis is specified by the rotate angle of the draw:transform attribute.
12810 The order of the rotation is: z-axis, y-axis and then x-axis.   13212 The order of the rotation is: z-axis, y-axis and then x-axis.
12811 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13213 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12812         <optional>   13214         <optional>
12813                 <attribute name="draw:extrusion-rotation-angle" a:defaultValue="0 0">   13215                 <attribute name="draw:extrusion-rotation-angle" a:defaultValue="0 0">
12814                         <list>   13216                         <list>
12815                                 <ref name="double"/>   13217                                 <ref name="double"/>
12816                                 <ref name="double"/>   13218                                 <ref name="double"/>
12817                         </list>   13219                         </list>
12818                 </attribute>   13220                 </attribute>
12819         </optional>   13221         </optional>
12820 </define>   13222 </define>
12821 Extrusion Rotation Center   13223 Extrusion Rotation Center
12822 The draw:extrusion-rotation-center attribute specifies the position of the rotation center in terms of shape size fractions, if it is omitted then the geometrical center of the shape is used.   13224 The draw:extrusion-rotation-center attribute specifies the position of the rotation center in terms of shape size fractions, if it is omitted then the geometrical center of the shape is used.
12823 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13225 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12824         <optional>   13226         <optional>
12825                 <attribute name="draw:extrusion-rotation-center">   13227                 <attribute name="draw:extrusion-rotation-center">
12826                         <ref name="vector3D"/>   13228                         <ref name="vector3D"/>
12827                 </attribute>   13229                 </attribute>
12828         </optional>   13230         </optional>
12829 </define>   13231 </define>
12830 Extrusion Shininess   13232 Extrusion Shininess
12831 The draw:extrusion-shininess attribute specifies the shininess of a mirror.   13233 The draw:extrusion-shininess attribute specifies the shininess of a mirror.
12832 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13234 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12833         <optional>   13235         <optional>
12834                 <attribute name="draw:extrusion-shininess" a:defaultValue="50%">   13236                 <attribute name="draw:extrusion-shininess" a:defaultValue="50%">
12835                         <ref name="percent"/>   13237                         <ref name="percent"/>
12836                 </attribute>   13238                 </attribute>
12837         </optional>   13239         </optional>
12838 </define>   13240 </define>
12839 Extrusion Skew   13241 Extrusion Skew
12840 The draw:extrusion-skew attribute specifies the skew amount and skew angle of an extrusion. Skew settings are only applied if the attribute dr3d:projection has the value parallel.   13242 The draw:extrusion-skew attribute specifies the skew amount and skew angle of an extrusion. Skew settings are only applied if the attribute dr3d:projection has the value parallel.
12841 The first parameter represents the skew amount in percent, the second parameter specifies the skew angle.   13243 The first parameter represents the skew amount in percent, the second parameter specifies the skew angle.
12842 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13244 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12843         <optional>   13245         <optional>
12844                 <attribute name="draw:extrusion-skew" a:defaultValue="50 45">   13246                 <attribute name="draw:extrusion-skew" a:defaultValue="50 45">
12845                         <list>   13247                         <list>
12846                                 <ref name="double"/>   13248                                 <ref name="double"/>
12847                                 <ref name="double"/>   13249                                 <ref name="double"/>
12848                         </list>   13250                         </list>
12849                 </attribute>   13251                 </attribute>
12850         </optional>   13252         </optional>
12851 </define>   13253 </define>
12852 Extrusion Specularity   13254 Extrusion Specularity
12853 The draw:extrusion-specularity attribute specifies the specularity of an extrusion object.   13255 The draw:extrusion-specularity attribute specifies the specularity of an extrusion object.
12854 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13256 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12855         <optional>   13257         <optional>
12856                 <attribute name="draw:extrusion-specularity" a:defaultValue="0%">   13258                 <attribute name="draw:extrusion-specularity" a:defaultValue="0%">
12857                         <ref name="percent"/>   13259                         <ref name="percent"/>
12858                 </attribute>   13260                 </attribute>
12859         </optional>   13261         </optional>
12860 </define>   13262 </define>
12861 Extrusion Projection Mode   13263 Extrusion Projection Mode
12862 The dr3d:projection attribute specifies if the projection mode is perspective or parallel.   13264 The dr3d:projection attribute specifies if the projection mode is perspective or parallel.
12863 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13265 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12864         <optional>   13266         <optional>
12865                 <attribute name="dr3d:projection" a:defaultValue="parallel">   13267                 <attribute name="dr3d:projection" a:defaultValue="parallel">
12866                         <choice>   13268                         <choice>
12867                                 <value>parallel</value>   13269                                 <value>parallel</value>
12868                                 <value>perspective</value>   13270                                 <value>perspective</value>
12869                         </choice>   13271                         </choice>
12870                 </attribute>   13272                 </attribute>
12871         </optional>   13273         </optional>
12872 </define>   13274 </define>
12873 Extrusion Viewpoint   13275 Extrusion Viewpoint
12874 The draw:extrusion-viewpoint attribute specifies the viewpoint of the observer as an 3D point. The attribute's value syntax is similar to vector3D, solely a unit is following each parameter. An example for a 3D point is: “(1cm 1cm 0m)”.   13276 The draw:extrusion-viewpoint attribute specifies the viewpoint of the observer as an 3D point. The attribute's value syntax is similar to vector3D, solely a unit is following each parameter. An example for a 3D point is: “(1cm 1cm 0m)”.
12875 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13277 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12876         <optional>   13278         <optional>
12877                 <attribute name="draw:extrusion-viewpoint"   13279                 <attribute name="draw:extrusion-viewpoint"
12878                            a:defaultValue="3.5cm -3.5cm 25cm">   13280                            a:defaultValue="3.5cm -3.5cm 25cm">
12879                         <ref name="point3D"/>   13281                         <ref name="point3D"/>
12880                 </attribute>   13282                 </attribute>
12881         </optional>   13283         </optional>
12882 </define>   13284 </define>
12883     13285  
12884 <define name="point3D">   13286 <define name="point3D">
12885         <data type="string"/>   13287         <data type="string"/>
12886 </define>   13288 </define>
12887 Extrusion Origin   13289 Extrusion Origin
12888 The draw:extrusion-origin attributes specifies the origin within the bounding box of the shape in terms of the shape size fractions.   13290 The draw:extrusion-origin attributes specifies the origin within the bounding box of the shape in terms of the shape size fractions.
12889 The first parameter represents the horizontal origin, a value of -0.5 represents the left side of the shape, a value of 0 represents the center of the shape, a value of 0.5 represents the right side of the shape.   13291 The first parameter represents the horizontal origin, a value of -0.5 represents the left side of the shape, a value of 0 represents the center of the shape, a value of 0.5 represents the right side of the shape.
12890 The second parameter represents the vertical origin, a value of -0.5 represents the top side of the shape, a value of 0 represents the center of the shape, a value of 0.5 represents the bottom side of the shape.   13292 The second parameter represents the vertical origin, a value of -0.5 represents the top side of the shape, a value of 0 represents the center of the shape, a value of 0.5 represents the bottom side of the shape.
12891 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13293 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12892         <optional>   13294         <optional>
12893                 <attribute name="draw:extrusion-origin" a:defaultValue="0.5 -0.5">   13295                 <attribute name="draw:extrusion-origin" a:defaultValue="0.5 -0.5">
12894                         <list>   13296                         <list>
12895                                 <ref name="double"/>   13297                                 <ref name="double"/>
12896                                 <ref name="double"/>   13298                                 <ref name="double"/>
12897                         </list>   13299                         </list>
12898                 </attribute>   13300                 </attribute>
12899         </optional>   13301         </optional>
12900 </define>   13302 </define>
12901 Extrusion Color   13303 Extrusion Color
12902 The draw:extrusion-color attribute specifies if an extrusion color is used. The extrusion color is then defined by the draw:secondary-fill-color attribute specified in the custom shape's graphic style.   13304 The draw:extrusion-color attribute specifies if an extrusion color is used. The extrusion color is then defined by the draw:secondary-fill-color attribute specified in the custom shape's graphic style.
12903 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13305 <define name="draw-enhanced-geometry-attlist" combine="interleave">
12904         <optional>   13306         <optional>
12905                 <attribute name="draw:extrusion-color" a:defaultValue="false">   13307                 <attribute name="draw:extrusion-color" a:defaultValue="false">
12906                         <ref name="boolean"/>   13308                         <ref name="boolean"/>
12907                 </attribute>   13309                 </attribute>
12908         </optional>   13310         </optional>
12909 </define>   13311 </define>
12910 9.5.3Enhanced Geometry - Path Attributes   13312 9.5.3Enhanced Geometry - Path Attributes
12911 Enhanced Path   13313 Enhanced Path
12912 The draw:enhanced-path attribute specifies a path similar to the svg:d attribute of the <svg:path> element. Instructions such as moveto, lineto, arcto and other instructions together with its parameter are describing the geometry of a shape which can be filled and or stroked. Relative commands are not supported.   13314 The draw:enhanced-path attribute specifies a path similar to the svg:d attribute of the <svg:path> element. Instructions such as moveto, lineto, arcto and other instructions together with its parameter are describing the geometry of a shape which can be filled and or stroked. Relative commands are not supported.
12913 The syntax of draw:enhanced-path attribute is as follows:   13315 The syntax of draw:enhanced-path attribute is as follows:
12914 Instructions are expressed as one character (e.g., a moveto is expressed as an M).   13316 Instructions are expressed as one character (e.g., a moveto is expressed as an M).
12915 A prefix notation is being used, that means that each command is followed by its parameter.   13317 A prefix notation is being used, that means that each command is followed by its parameter.
12916 Superfluous white space and separators such as commas can be eliminated. (e.g., “M 10 10 L 20 20 L 30 20” can also be written: “M10 10L20 20L30 20”   13318 Superfluous white space and separators such as commas can be eliminated. (e.g., “M 10 10 L 20 20 L 30 20” can also be written: “M10 10L20 20L30 20”
12917 If the command is repeated multiple times, only the first command is required. (e.g., “M 10 10 L 20 20 L 30 20” can also be expressed as followed “M 10 10 L 20 20 30 20”   13319 If the command is repeated multiple times, only the first command is required. (e.g., “M 10 10 L 20 20 L 30 20” can also be expressed as followed “M 10 10 L 20 20 30 20”
12918 Floats can be used, therefore the only allowable decimal point is a dot (“.”)   13320 Floats can be used, therefore the only allowable decimal point is a dot (“.”)
12919 The above mentioned rules are the same as specified for the <svg:path> element.   13321 The above mentioned rules are the same as specified for the <svg:path> element.
12920 A parameter can also have one of the following enhancements:   13322 A parameter can also have one of the following enhancements:
12921 A “?” is used to mark the beginning of a formula name. The result of the element's draw:formula attribute is used as parameter value in this case.   13323 A “?” is used to mark the beginning of a formula name. The result of the element's draw:formula attribute is used as parameter value in this case.
12922 If “$” is preceding a integer value, the value is a indexing a draw:modifiers attribute. The corresponding modifier value is used as parameter value then. <> 13324 If “$” is preceding a integer value, the value is indexing a draw:modifiers attribute. The corresponding modifier value is used as parameter value then.
12923 Following notation is used in the table below: = 13325 Following notation is used in the table below:
12924 (): grouping of parameters   13326 (): grouping of parameters
12925 +: 1 or more of the given parameter(s) is required   13327 +: 1 or more of the given parameter(s) is required
12926 Example for a custom-shape that uses the draw:enhanced-path to describe a pie-chart whose top right quarter segment is taken out:   13328 Example for a custom-shape that uses the draw:enhanced-path to describe a pie-chart whose top right quarter segment is taken out:
12927 <draw:custom-shape   13329 <draw:custom-shape
12928         svg:width="10cm" svg:height="10cm" svg:x="0cm" svg:y="0cm">   13330         svg:width="10cm" svg:height="10cm" svg:x="0cm" svg:y="0cm">
12929         <draw:enhanced-geometry svg:viewBox="0 0 10 10"   13331         <draw:enhanced-geometry svg:viewBox="0 0 10 10"
12930                 draw:enhanced-path="V 0 0 10 10 10 5 5 0 L 5 5 Z N">   13332                 draw:enhanced-path="V 0 0 10 10 10 5 5 0 L 5 5 Z N">
12931         </draw:enhanced-geometry>   13333         </draw:enhanced-geometry>
12932 </draw:custom-shape>   13334 </draw:custom-shape>
12933 The following commands are supported:   13335 The following commands are supported:
12934 Command   13336 Command
12935 Name   13337 Name
12936 Parameters   13338 Parameters
12937 Description   13339 Description
12938 M   13340 M
12939 moveto   13341 moveto
12940 (x y) +   13342 (x y) +
12941 Start a new sub-path at the given (x,y) coordinate. If a moveto is followed by multiple pairs of coordinates, they are treated as lineto.   13343 Start a new sub-path at the given (x,y) coordinate. If a moveto is followed by multiple pairs of coordinates, they are treated as lineto.
12942 L   13344 L
12943 lineto   13345 lineto
12944 (x y) +   13346 (x y) +
12945 Draws a line from the current point to (x, y). If multiple coordinate pairs are following, they are all interpreted as lineto.   13347 Draws a line from the current point to (x, y). If multiple coordinate pairs are following, they are all interpreted as lineto.
12946 C   13348 C
12947 curveto   13349 curveto
12948 (x1 y1 x2 y2 x y) +   13350 (x1 y1 x2 y2 x y) +
12949 Draws a cubic Bézier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve.   13351 Draws a cubic Bézier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve.
12950 Z   13352 Z
12951 closepath   13353 closepath
12952 (none)   13354 (none)
12953 Close the current sub-path by drawing a straight line from the current point to current sub-path's initial point.   13355 Close the current sub-path by drawing a straight line from the current point to current sub-path's initial point.
12954 N   13356 N
12955 endpath   13357 endpath
12956 (none)   13358 (none)
12957 Ends the current set of sub-paths. The sub-paths will be filled by using the “even-odd” filling rule. Other following subpaths will be filled independently.   13359 Ends the current set of sub-paths. The sub-paths will be filled by using the “even-odd” filling rule. Other following subpaths will be filled independently.
12958 F   13360 F
12959 nofill   13361 nofill
12960 (none)   13362 (none)
12961 Specifies that the current set of sub-paths won't be filled.   13363 Specifies that the current set of sub-paths won't be filled.
12962 S   13364 S
12963 nostroke   13365 nostroke
12964 (none)   13366 (none)
12965 Specifies that the current set of sub-paths won't be stroked.   13367 Specifies that the current set of sub-paths won't be stroked.
12966 T   13368 T
12967 angleellipseto   13369 angleellipseto
12968 (x y w h t0 t1) +   13370 (x y w h t0 t1) +
12969 Draws a segment of an ellipse. The ellipse is specified by the center(x, y), the size(w, h) and the start-angle t0 and end-angle t1.   13371 Draws a segment of an ellipse. The ellipse is specified by the center(x, y), the size(w, h) and the start-angle t0 and end-angle t1.
12970 U   13372 U
12971 angleellipse   13373 angleellipse
12972 (x y w h t0 t1) +   13374 (x y w h t0 t1) +
12973 The same as the “T” command, except that a implied moveto to the starting point is done.   13375 The same as the “T” command, except that a implied moveto to the starting point is done.
12974 A   13376 A
12975 arcto   13377 arcto
12976 (x1 y1 x2 y2 x3 y3 x y) +   13378 (x1 y1 x2 y2 x3 y3 x y) +
12977 (x1, y1) and (x2, y2) is defining the bounding box of a ellipse. A line is then drawn from the current point to the start angle of the arc that is specified by the radial vector of point (x3, y3) and then counter clockwise to the end-angle that is specified by point (x4, y4).   13379 (x1, y1) and (x2, y2) is defining the bounding box of a ellipse. A line is then drawn from the current point to the start angle of the arc that is specified by the radial vector of point (x3, y3) and then counter clockwise to the end-angle that is specified by point (x4, y4).
12978 B   13380 B
12979 arc   13381 arc
12980 (x1 y1 x2 y2 x3 y3 x y) +   13382 (x1 y1 x2 y2 x3 y3 x y) +
12981 The same as the “A” command, except that a implied moveto to the starting point is done.   13383 The same as the “A” command, except that a implied moveto to the starting point is done.
12982 W   13384 W
12983 clockwisearcto   13385 clockwisearcto
12984 (x1 y1 x2 y2 x3 y3 x y) +   13386 (x1 y1 x2 y2 x3 y3 x y) +
12985 The same as the “A” command except, that the arc is drawn clockwise.   13387 The same as the “A” command except, that the arc is drawn clockwise.
12986 V   13388 V
12987 clockwisearc   13389 clockwisearc
12988 (x1 y1 x2 y2 x3 y3 x y)+   13390 (x1 y1 x2 y2 x3 y3 x y)+
12989 The same as the “A” command, except that a implied moveto to the starting point is done and the arc is drawn clockwise.   13391 The same as the “A” command, except that a implied moveto to the starting point is done and the arc is drawn clockwise.
12990 X   13392 X
12991 ellipticalquatrantx   13393 ellipticalquatrantx
12992 (x y) +   13394 (x y) +
12993 Draws a quarter ellipse, whose initial segment is tangential to the x-axis, is drawn from the current point to (x, y).   13395 Draws a quarter ellipse, whose initial segment is tangential to the x-axis, is drawn from the current point to (x, y).
12994 Y   13396 Y
12995 ellipticalquadranty   13397 ellipticalquadranty
12996 (x y) +   13398 (x y) +
12997 Draws a quarter ellipse, whose initial segment is tangential to the y-axis, is drawn from the current point to (x, y).   13399 Draws a quarter ellipse, whose initial segment is tangential to the y-axis, is drawn from the current point to (x, y).
12998 Q   13400 Q
12999 quadraticcurveto   13401 quadraticcurveto
13000 (x1 y1 x y)+   13402 (x1 y1 x y)+
13001 Draws a quadratic Bézier curve from the current point to (x, y) using (x1, y1) as the control point. (x, y) becomes the new current point at the end of the command.   13403 Draws a quadratic Bézier curve from the current point to (x, y) using (x1, y1) as the control point. (x, y) becomes the new current point at the end of the command.
13002 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13404 <define name="draw-enhanced-geometry-attlist" combine="interleave">
13003         <optional>   13405         <optional>
13004                 <attribute name="draw:enhanced-path">   13406                 <attribute name="draw:enhanced-path">
13005                         <ref name="string"/>   13407                         <ref name="string"/>
13006                 </attribute>   13408                 </attribute>
13007         </optional>   13409         </optional>
13008 </define>   13410 </define>
13009 Path Stretchpoint   13411 Path Stretchpoint
13010 The draw:path-stretchpoint-x and draw:path-stretchpoint-y attributes specifies the stretchpoint of a shape.   13412 The draw:path-stretchpoint-x and draw:path-stretchpoint-y attributes specifies the stretchpoint of a shape.
13011 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13413 <define name="draw-enhanced-geometry-attlist" combine="interleave">
13012         <optional>   13414         <optional>
13013                 <attribute name="draw:path-stretchpoint-x" a:defaultValue="0">   13415                 <attribute name="draw:path-stretchpoint-x" a:defaultValue="0">
13014                         <ref name="double"/>   13416                         <ref name="double"/>
13015                 </attribute>   13417                 </attribute>
13016         </optional>   13418         </optional>
13017         <optional>   13419         <optional>
13018                 <attribute name="draw:path-stretchpoint-y" a:defaultValue="0">   13420                 <attribute name="draw:path-stretchpoint-y" a:defaultValue="0">
13019                         <ref name="double"/>   13421                         <ref name="double"/>
13020                 </attribute>   13422                 </attribute>
13021         </optional>   13423         </optional>
13022 </define>   13424 </define>
13023 Text Areas   13425 Text Areas
13024 The draw:text-areas attribute specifies a list of text areas. The text area is used to position and align the text. If no text area is omitted, the area of the shape itself is used. If a second text area is available it is used for vertical text.   13426 The draw:text-areas attribute specifies a list of text areas. The text area is used to position and align the text. If no text area is omitted, the area of the shape itself is used. If a second text area is available it is used for vertical text.
13025 An area consists of four parameters:   13427 An area consists of four parameters:
13026 The first parameter specifies the left side of the text area.   13428 The first parameter specifies the left side of the text area.
13027 The second parameter specifies the top side of the text area.   13429 The second parameter specifies the top side of the text area.
13028 The third parameter specifies the right side of the text area.   13430 The third parameter specifies the right side of the text area.
13029 The fourth parameter specifies the bottom side of the text area.   13431 The fourth parameter specifies the bottom side of the text area.
13030 A parameter can also have one of the following enhancements:   13432 A parameter can also have one of the following enhancements:
13031 A “?” is used to mark the beginning of a formula name. The result of the element's draw:formula attribute is used as parameter value in this case.   13433 A “?” is used to mark the beginning of a formula name. The result of the element's draw:formula attribute is used as parameter value in this case.
13032 If “$” is preceding a integer value, the value is a indexing a draw:modifiers attribute. The corresponding modifier value is used as parameter value then.   13434 If “$” is preceding a integer value, the value is a indexing a draw:modifiers attribute. The corresponding modifier value is used as parameter value then.
13033 A example of the draw:text-areas attribute that defines two text areas, including modifier and equation usage, would be: draw:text-areas=”0 0 100 100 ?Formula1 $1 200 200”   13435 A example of the draw:text-areas attribute that defines two text areas, including modifier and equation usage, would be: draw:text-areas=”0 0 100 100 ?Formula1 $1 200 200”
13034 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13436 <define name="draw-enhanced-geometry-attlist" combine="interleave">
13035         <optional>   13437         <optional>
13036                 <attribute name="draw:text-areas">   13438                 <attribute name="draw:text-areas">
13037                         <ref name="string"/>   13439                         <ref name="string"/>
13038                 </attribute>   13440                 </attribute>
13039         </optional>   13441         </optional>
13040 </define>   13442 </define>
13041 Glue Points   13443 Glue Points
13042 The draw:glue-points attribute specifies a list of object defined glue points. In contradiction to the user defined glue points which are defined by the <draw:glue-point> sub-element, the object defined glue point can make use of equations and modifiers.   13444 The draw:glue-points attribute specifies a list of object defined glue points. In contradiction to the user defined glue points which are defined by the <draw:glue-point> sub-element, the object defined glue point can make use of equations and modifiers.
13043 The first parameter specifies the horizontal position of the glue point.   13445 The first parameter specifies the horizontal position of the glue point.
13044 The second parameter specifies the vertical position of the glue point.   13446 The second parameter specifies the vertical position of the glue point.
13045 Each parameter can be a float, or it can also have one of the following enhancements:   13447 Each parameter can be a float, or it can also have one of the following enhancements:
13046 A “?” is used to mark the beginning of a formula name. The result of the element's draw:formula attribute is used as parameter value in this case.   13448 A “?” is used to mark the beginning of a formula name. The result of the element's draw:formula attribute is used as parameter value in this case.
13047 If “$” is preceding a integer value, the value is a indexing a draw:modifiers attribute. The corresponding modifier value is used as parameter value then.   13449 If “$” is preceding a integer value, the value is a indexing a draw:modifiers attribute. The corresponding modifier value is used as parameter value then.
13048 A example of the draw:glue-points attribute that defines two glue points, including modifier and equation usage, would be: draw:glue-points=”0 ?Formula1 100 $1”   13450 A example of the draw:glue-points attribute that defines two glue points, including modifier and equation usage, would be: draw:glue-points=”0 ?Formula1 100 $1”
13049 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13451 <define name="draw-enhanced-geometry-attlist" combine="interleave">
13050         <optional>   13452         <optional>
13051                 <attribute name="draw:glue-points">   13453                 <attribute name="draw:glue-points">
13052                         <ref name="string"/>   13454                         <ref name="string"/>
13053                 </attribute>   13455                 </attribute>
13054         </optional>   13456         </optional>
13055 </define>   13457 </define>
13056 Glue Point Type   13458 Glue Point Type
13057 The draw:glue-point-type attribute specifies the glue-point type. If the draw:glue-points attribute is also available this attribute is ignored.   13459 The draw:glue-point-type attribute specifies the glue-point type. If the draw:glue-points attribute is also available this attribute is ignored.
13058 none: there are no special object glue points.   13460 none: there are no special object glue points.
13059 segments: a connector will connect with each point of the draw:enhanced-path attribute   13461 segments: a connector will connect with each point of the draw:enhanced-path attribute
13060 rectangle: the middle of each side of the shape bound rectangle specifies a object specific glue point   13462 rectangle: the middle of each side of the shape bound rectangle specifies a object specific glue point
13061 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13463 <define name="draw-enhanced-geometry-attlist" combine="interleave">
13062         <optional>   13464         <optional>
13063                 <attribute name="draw:glue-point-type" a:defaultValue="none">   13465                 <attribute name="draw:glue-point-type" a:defaultValue="none">
13064                         <choice>   13466                         <choice>
13065                                 <value>none</value>   13467                                 <value>none</value>
13066                                 <value>segments</value>   13468                                 <value>segments</value>
13067                                 <value>rectangle</value>   13469                                 <value>rectangle</value>
13068                         </choice>   13470                         </choice>
13069                 </attribute>   13471                 </attribute>
13070         </optional>   13472         </optional>
13071 </define>   13473 </define>
13072 Glue Point Leaving Directions   13474 Glue Point Leaving Directions
13073 The draw:glue-point-leaving-directions attribute is containing a comma separated list of angles in grad. The angle can be a float value. The position in the list is the same as the to be referenced glue-point of the draw:glue-points attribute.   13475 The draw:glue-point-leaving-directions attribute is containing a comma separated list of angles in grad. The angle can be a float value. The position in the list is the same as the to be referenced glue-point of the draw:glue-points attribute.
13074 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13476 <define name="draw-enhanced-geometry-attlist" combine="interleave">
13075         <optional>   13477         <optional>
13076                 <attribute name="draw:glue-point-leaving-directions"/>   13478                 <attribute name="draw:glue-point-leaving-directions"/>
13077         </optional>   13479         </optional>
13078 </define>   13480 </define>
13079 9.5.4Enhanced Geometry - Text Path Attributes   13481 9.5.4Enhanced Geometry - Text Path Attributes
13080 Text Path   13482 Text Path
13081 The draw:text-path attribute specifies if text is displayed on a text path.   13483 The draw:text-path attribute specifies if text is displayed on a text path.
13082 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13484 <define name="draw-enhanced-geometry-attlist" combine="interleave">
13083         <optional>   13485         <optional>
13084                 <attribute name="draw:text-path" a:defaultValue="false">   13486                 <attribute name="draw:text-path" a:defaultValue="false">
13085                         <ref name="boolean"/>   13487                         <ref name="boolean"/>
13086                 </attribute>   13488                 </attribute>
13087         </optional>   13489         </optional>
13088 </define>   13490 </define>
13089 Text Path Mode   13491 Text Path Mode
13090 The draw:text-path-mode attribute specifies how the text is drawn.   13492 The draw:text-path-mode attribute specifies how the text is drawn.
13091 normal: the text is drawn along the path without scaling.   13493 normal: the text is drawn along the path without scaling.
13092 path: the text is fit to the path.   13494 path: the text is fit to the path.
13093 shape: the text is fit to the bounding box of the shape.   13495 shape: the text is fit to the bounding box of the shape.
13094 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13496 <define name="draw-enhanced-geometry-attlist" combine="interleave">
13095         <optional>   13497         <optional>
13096                 <attribute name="draw:text-path-mode" a:defaultValue="normal">   13498                 <attribute name="draw:text-path-mode" a:defaultValue="normal">
13097                         <choice>   13499                         <choice>
13098                                 <value>normal</value>   13500                                 <value>normal</value>
13099                                 <value>path</value>   13501                                 <value>path</value>
13100                                 <value>shape</value>   13502                                 <value>shape</value>
13101                         </choice>   13503                         </choice>
13102                 </attribute>   13504                 </attribute>
13103         </optional>   13505         </optional>
13104 </define>   13506 </define>
13105 Text Path Scale   13507 Text Path Scale
13106 The draw:text-path-scale attribute specifies the scaling of the text path.   13508 The draw:text-path-scale attribute specifies the scaling of the text path.
13107 path: The text scaling is determined by the length of the path from the draw:enhanced-path attribute.   13509 path: The text scaling is determined by the length of the path from the draw:enhanced-path attribute.
13108 shape: The text scaling is determined by the width of a shape.   13510 shape: The text scaling is determined by the width of a shape.
13109 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13511 <define name="draw-enhanced-geometry-attlist" combine="interleave">
13110         <optional>   13512         <optional>
13111                 <attribute name="draw:text-path-scale" a:defaultValue="path">   13513                 <attribute name="draw:text-path-scale" a:defaultValue="path">
13112                         <choice>   13514                         <choice>
13113                                 <value>path</value>   13515                                 <value>path</value>
13114                                 <value>shape</value>   13516                                 <value>shape</value>
13115                         </choice>   13517                         </choice>
13116                 </attribute>   13518                 </attribute>
13117         </optional>   13519         </optional>
13118 </define>   13520 </define>
13119 Text Path Same Letter Heights   13521 Text Path Same Letter Heights
13120 The draw:text-path-same-letter-heights attribute specifies if all letters in the custom shape will have the same height.   13522 The draw:text-path-same-letter-heights attribute specifies if all letters in the custom shape will have the same height.
13121 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13523 <define name="draw-enhanced-geometry-attlist" combine="interleave">
13122         <optional>   13524         <optional>
13123                 <attribute name="draw:text-path-same-letter-heights"   13525                 <attribute name="draw:text-path-same-letter-heights"
13124                            a:defaultValue="false">   13526                            a:defaultValue="false">
13125                         <ref name="boolean"/>   13527                         <ref name="boolean"/>
13126                 </attribute>   13528                 </attribute>
13127         </optional>   13529         </optional>
13128 </define>   13530 </define>
13129 Modifiers   13531 Modifiers
13130 The draw:modifiers attribute contains list of modifier values. The modifier can be a float value. In the majority of cases, the draw:modifiers attribute is being used by the draw:handle-position attribute to store the handle position.   13532 The draw:modifiers attribute contains list of modifier values. The modifier can be a float value. In the majority of cases, the draw:modifiers attribute is being used by the draw:handle-position attribute to store the handle position.
13131 <define name="draw-enhanced-geometry-attlist" combine="interleave">   13533 <define name="draw-enhanced-geometry-attlist" combine="interleave">
13132         <optional>   13534         <optional>
13133                 <attribute name="draw:modifiers">   13535                 <attribute name="draw:modifiers">
13134                         <ref name="string"/>   13536                         <ref name="string"/>
13135                 </attribute>   13537                 </attribute>
13136         </optional>   13538         </optional>
13137 </define>   13539 </define>
13138 9.5.5Enhanced Geometry – Equation   13540 9.5.5Enhanced Geometry – Equation
13139 Equation   13541 Equation
13140 The <draw:equation> element can be referenced by handles, text areas, glue points and enhanced paths to calculate values which are dependent to modifier values. Due to the fact that modifier values may changed by interaction it is a convenient way to integrate dynamic values into the shape geometry.   13542 The <draw:equation> element can be referenced by handles, text areas, glue points and enhanced paths to calculate values which are dependent to modifier values. Due to the fact that modifier values may changed by interaction it is a convenient way to integrate dynamic values into the shape geometry.
13141 <define name="draw-equation">   13543 <define name="draw-equation">
13142         <element name="draw:equation">   13544         <element name="draw:equation">
13143                 <ref name="draw-equation-attlist"/>   13545                 <ref name="draw-equation-attlist"/>
13144                 <empty/>   13546                 <empty/>
13145         </element>   13547         </element>
13146 </define>   13548 </define>
13147 Name   13549 Name
13148 The draw:name attribute specifies the name of the equation. The name is not allowed to include spaces.   13550 The draw:name attribute specifies the name of the equation. The name is not allowed to include spaces.
13149 <define name="draw-equation-attlist" combine="interleave">   13551 <define name="draw-equation-attlist" combine="interleave">
13150         <optional>   13552         <optional>
13151                 <attribute name="draw:name">   13553                 <attribute name="draw:name">
13152                         <ref name="string"/>   13554                         <ref name="string"/>
13153                 </attribute>   13555                 </attribute>
13154         </optional>   13556         </optional>
13155 </define>   13557 </define>
13156 Formula   13558 Formula
13157 The draw:formula attribute specifies an equation that should be used to evaluate a value. A formula can make use of other formulas or modifier values by function and or modifier reference.   13559 The draw:formula attribute specifies an equation that should be used to evaluate a value. A formula can make use of other formulas or modifier values by function and or modifier reference.
13158 number_digit = '0'|'1'|'2'|'3'|'4'|'5'|'6'|'7'|'8'|'9'   13560 number_digit = '0'|'1'|'2'|'3'|'4'|'5'|'6'|'7'|'8'|'9'
13159     13561  
13160 number = number number_digit | number_digit   13562 number = number number_digit | number_digit
13161     13563  
13162 identifier = 'pi'|'left'|'top'|'right'|'bottom'|'xstretch'|'ystretch'|   13564 identifier = 'pi'|'left'|'top'|'right'|'bottom'|'xstretch'|'ystretch'|
13163                          'hasstroke'|'hasfill'|'width'|'height'|'logwidth'|'logheight'   13565                          'hasstroke'|'hasfill'|'width'|'height'|'logwidth'|'logheight'
13164     13566  
13165 unary_function = 'abs'|'sqrt'|'sin'|'cos'|'tan'|'atan'|'atan2'   13567 unary_function = 'abs'|'sqrt'|'sin'|'cos'|'tan'|'atan'|'atan2'
13166 binary_function = 'min'|'max'   13568 binary_function = 'min'|'max'
13167 ternary_function = 'if'   13569 ternary_function = 'if'
13168     13570  
13169 function_reference = '?' 'a-z,A-Z,0-9' ' '   13571 function_reference = '?' 'a-z,A-Z,0-9' ' '
13170 modifier_reference = '$' '0-9' ' '   13572 modifier_reference = '$' '0-9' ' '
13171                                             13573                                          
13172 basic_expression =   13574 basic_expression =
13173         number |   13575         number |
13174         identifier |   13576         identifier |
13175         function_reference |   13577         function_reference |
    -+ 13578         modifier_reference |
13176         unary_function '(' additive_expression ')' | = 13579         unary_function '(' additive_expression ')' |
13177         binary_function '(' additive_expression ',' additive_expression ')' |   13580         binary_function '(' additive_expression ',' additive_expression ')' |
13178         ternary_function '(' additive_expression ',' additive_expression ',   13581         ternary_function '(' additive_expression ',' additive_expression ',
13179                            ' additive_expression ')' | '(' additive_expression ')'   13582                            ' additive_expression ')' | '(' additive_expression ')'
13180     13583  
13181 unary_expression = '-' basic_expression   13584 unary_expression = '-' basic_expression
13182     13585  
13183 multiplicative_expression =   13586 multiplicative_expression =
13184                                                   basic_expression |   13587                                                   basic_expression |
13185                                                   multiplicative_expression '*' basic_expression |   13588                                                   multiplicative_expression '*' basic_expression |
13186                                                   multiplicative_expression '/' basic_expression   13589                                                   multiplicative_expression '/' basic_expression
13187     13590  
13188 additive_expression =   13591 additive_expression =
13189                                         multiplicative_expression |   13592                                         multiplicative_expression |
13190                                         additive_expression '+' multiplicative_expression |   13593                                         additive_expression '+' multiplicative_expression |
13191                                         additive_expression '-' multiplicative_expression   13594                                         additive_expression '-' multiplicative_expression
13192     13595  
13193     13596  
13194 identifier   13597 identifier
13195 Description   13598 Description
13196 left   13599 left
13197 The left position of the svg:viewBox attribute has to be used.   13600 The left position of the svg:viewBox attribute has to be used.
13198 top   13601 top
13199 The top position the svg:viewBox attribute has to be used.   13602 The top position the svg:viewBox attribute has to be used.
13200 right   13603 right
13201 The right position the svg:viewBox attribute has to be used.   13604 The right position the svg:viewBox attribute has to be used.
13202 bottom   13605 bottom
13203 The bottom position the svg:viewBox attribute has to be used.   13606 The bottom position the svg:viewBox attribute has to be used.
13204 xstretch   13607 xstretch
13205 The value of draw:path-stretchpoint-x is used.   13608 The value of draw:path-stretchpoint-x is used.
13206 ystretch   13609 ystretch
13207 The value of draw:path-stretchpoint-y is used.   13610 The value of draw:path-stretchpoint-y is used.
13208 hasstroke   13611 hasstroke
13209 If the shape has a line style, a value of 1 is used.   13612 If the shape has a line style, a value of 1 is used.
13210 hasfill   13613 hasfill
13211 If the shape has a fill style, a value of 1 is used.   13614 If the shape has a fill style, a value of 1 is used.
13212 width   13615 width
13213 The width of the svg:viewBox is used.   13616 The width of the svg:viewBox is used.
13214 height   13617 height
13215 The height of the svg:viewBox is used.   13618 The height of the svg:viewBox is used.
13216 logwidth   13619 logwidth
13217 The width of the svg:viewBox in 1/100th mm is used.   13620 The width of the svg:viewBox in 1/100th mm is used.
13218 logheight   13621 logheight
13219 The height of the svg:viewBox in 1/100th mm is used.   13622 The height of the svg:viewBox in 1/100th mm is used.
13220     13623  
13221 A example for the draw:formula attribute would be: draw:formula=”width+10-$0” If the value of the first modifier value is “100” and the width of the svg:viewbox is “10000”, then the result of the above formula would be 10000 + 10 – 100 = 9910   13624 A example for the draw:formula attribute would be: draw:formula=”width+10-$0” If the value of the first modifier value is “100” and the width of the svg:viewbox is “10000”, then the result of the above formula would be 10000 + 10 – 100 = 9910
13222 <define name="draw-equation-attlist" combine="interleave">   13625 <define name="draw-equation-attlist" combine="interleave">
13223         <optional>   13626         <optional>
13224                 <attribute name="draw:formula">   13627                 <attribute name="draw:formula">
13225                         <ref name="string"/>   13628                         <ref name="string"/>
13226                 </attribute>   13629                 </attribute>
13227         </optional>   13630         </optional>
13228 </define>   13631 </define>
13229 9.5.6Enhanced Geometry - Handle Attributes   13632 9.5.6Enhanced Geometry - Handle Attributes
13230 Handle   13633 Handle
13231 The <draw:handle> element specifies a single interaction handle.   13634 The <draw:handle> element specifies a single interaction handle.
13232 <define name="draw-handle">   13635 <define name="draw-handle">
13233         <element name="draw:handle">   13636         <element name="draw:handle">
13234                 <ref name="draw-handle-attlist"/>   13637                 <ref name="draw-handle-attlist"/>
13235                 <empty/>   13638                 <empty/>
13236         </element>   13639         </element>
13237 </define>   13640 </define>
13238 Handle Mirror Vertical   13641 Handle Mirror Vertical
13239 The draw:handle-mirror-vertical attribute specifies if the x position of the handle is mirrored.   13642 The draw:handle-mirror-vertical attribute specifies if the x position of the handle is mirrored.
13240 <define name="draw-handle-attlist" combine="interleave">   13643 <define name="draw-handle-attlist" combine="interleave">
13241         <optional>   13644         <optional>
13242                 <attribute name="draw:handle-mirror-vertical" a:defaultValue="false">   13645                 <attribute name="draw:handle-mirror-vertical" a:defaultValue="false">
13243                         <ref name="boolean"/>   13646                         <ref name="boolean"/>
13244                 </attribute>   13647                 </attribute>
13245         </optional>   13648         </optional>
13246 </define>   13649 </define>
13247 Handle Mirror Horizontal   13650 Handle Mirror Horizontal
13248 The draw:handle-mirror-horizontal attribute specifies if the y position of the handle is mirrored.   13651 The draw:handle-mirror-horizontal attribute specifies if the y position of the handle is mirrored.
13249 <define name="draw-handle-attlist" combine="interleave">   13652 <define name="draw-handle-attlist" combine="interleave">
13250         <optional>   13653         <optional>
13251                 <attribute name="draw:handle-mirror-horizontal" a:defaultValue="false">   13654                 <attribute name="draw:handle-mirror-horizontal" a:defaultValue="false">
13252                         <ref name="boolean"/>   13655                         <ref name="boolean"/>
13253                 </attribute>   13656                 </attribute>
13254         </optional>   13657         </optional>
13255 </define>   13658 </define>
13256 Handle Switched   13659 Handle Switched
13257 The draw:handle-switched attribute specifies if the handle directions are swapped if the shape height is higher than the shape width.   13660 The draw:handle-switched attribute specifies if the handle directions are swapped if the shape height is higher than the shape width.
13258 <define name="draw-handle-attlist" combine="interleave">   13661 <define name="draw-handle-attlist" combine="interleave">
13259         <optional>   13662         <optional>
13260                 <attribute name="draw:handle-switched" a:defaultValue="false">   13663                 <attribute name="draw:handle-switched" a:defaultValue="false">
13261                         <ref name="boolean"/>   13664                         <ref name="boolean"/>
13262                 </attribute>   13665                 </attribute>
13263         </optional>   13666         </optional>
13264 </define>   13667 </define>
13265 Handle Position   13668 Handle Position
13266 The draw:handle-position attribute specifies the position of the handle and consists of two parameters.   13669 The draw:handle-position attribute specifies the position of the handle and consists of two parameters.
13267 Each parameter can be a float or it can have one of the following enhancements:   13670 Each parameter can be a float or it can have one of the following enhancements:
13268 A “?” is used to mark the beginning of a formula name. The result of the element's draw:formula attribute is used as parameter value in this case.   13671 A “?” is used to mark the beginning of a formula name. The result of the element's draw:formula attribute is used as parameter value in this case.
13269 If “$” is preceding a integer value, the value is a indexing a draw:modifiers attribute. The corresponding modifier value is used as parameter value then.   13672 If “$” is preceding a integer value, the value is a indexing a draw:modifiers attribute. The corresponding modifier value is used as parameter value then.
13270 Instead of a number a parameter can also be one of the following constants:   13673 Instead of a number a parameter can also be one of the following constants:
13271 Constant   13674 Constant
13272 Description   13675 Description
13273 left   13676 left
13274 The value of the draw:coordinate-origin-x attribute has to be used.   13677 The value of the draw:coordinate-origin-x attribute has to be used.
13275 top   13678 top
13276 The value of the draw:coordinate-origin-y attribute has to be used.   13679 The value of the draw:coordinate-origin-y attribute has to be used.
13277 right   13680 right
13278 The value of the draw:coordinate-origin-x attribute + the value of the draw:coordinate-width has to be used.   13681 The value of the draw:coordinate-origin-x attribute + the value of the draw:coordinate-width has to be used.
13279 bottom   13682 bottom
13280 The value of the draw:coordinate-origin-y attribute + the value of the draw:coordinate-height has to be used.   13683 The value of the draw:coordinate-origin-y attribute + the value of the draw:coordinate-height has to be used.
13281 xstretch   13684 xstretch
13282 The value of draw:path-stretchpoint-x is used.   13685 The value of draw:path-stretchpoint-x is used.
13283 ystretch   13686 ystretch
13284 The value of draw:path-stretchpoint-y is used.   13687 The value of draw:path-stretchpoint-y is used.
13285 hasstroke   13688 hasstroke
13286 If the shape has a line style, a value of 1 is used.   13689 If the shape has a line style, a value of 1 is used.
13287 hasfill   13690 hasfill
13288 If the shape has a fill style, a value of 1 is used.   13691 If the shape has a fill style, a value of 1 is used.
13289 width   13692 width
13290 The width of the svg:viewBox is used.   13693 The width of the svg:viewBox is used.
13291 height   13694 height
13292 The height of the svg:viewBox is used.   13695 The height of the svg:viewBox is used.
13293 logwidth   13696 logwidth
13294 The width of the svg:viewBox in 1/100th mm is used.   13697 The width of the svg:viewBox in 1/100th mm is used.
13295 logheight   13698 logheight
13296 The height of the svg:viewBox in 1/100th mm is used.   13699 The height of the svg:viewBox in 1/100th mm is used.
13297 The draw:handle-position attribute specifies the position of the handle. If the draw:handle-polar attribute is not set, the first parameter of the draw:handle-position attribute specifies the horizontal handle position, the vertical handle position is described by the second parameter. If the draw:handle-polar attribute is set, then the handle is a polar handle and the first parameter of the draw:handle-position attribute specifies the angle in grad, the handle radius is specified by the second parameter. A example for the draw:handle-position attribute is: draw:handle-position = "left $5"   13700 The draw:handle-position attribute specifies the position of the handle. If the draw:handle-polar attribute is not set, the first parameter of the draw:handle-position attribute specifies the horizontal handle position, the vertical handle position is described by the second parameter. If the draw:handle-polar attribute is set, then the handle is a polar handle and the first parameter of the draw:handle-position attribute specifies the angle in grad, the handle radius is specified by the second parameter. A example for the draw:handle-position attribute is: draw:handle-position = "left $5"
13298 <define name="draw-handle-attlist" combine="interleave">   13701 <define name="draw-handle-attlist" combine="interleave">
13299         <attribute name="draw:handle-position">   13702         <attribute name="draw:handle-position">
13300                 <ref name="string"/>   13703                 <ref name="string"/>
13301         </attribute>   13704         </attribute>
13302 </define>   13705 </define>
13303 Handle Range X Minimum   13706 Handle Range X Minimum
13304 The draw:handle-range-x-minimum  attribute specifies the horizontal minimum value of the range the handle can be moved within. The syntax for the attribute is the same as for the attribute draw:handle-position, except that only the first parameter is used. Example for this attribute declaring a minimum value that results from the first formula equation: draw:handle-range-x-minimum = ”?Formula1”   13707 The draw:handle-range-x-minimum  attribute specifies the horizontal minimum value of the range the handle can be moved within. The syntax for the attribute is the same as for the attribute draw:handle-position, except that only the first parameter is used. Example for this attribute declaring a minimum value that results from the first formula equation: draw:handle-range-x-minimum = ”?Formula1”
13305 <define name="draw-handle-attlist" combine="interleave">   13708 <define name="draw-handle-attlist" combine="interleave">
13306         <optional>   13709         <optional>
13307                 <attribute name="draw:handle-range-x-minimum">   13710                 <attribute name="draw:handle-range-x-minimum">
13308                         <ref name="string"/>   13711                         <ref name="string"/>
13309                 </attribute>   13712                 </attribute>
13310         </optional>   13713         </optional>
13311 </define>   13714 </define>
13312 Handle Range X Maximum   13715 Handle Range X Maximum
13313 The draw:handle-range-x-maximum attribute specifies the horizontal maximum value of the range the handle can be moved within. The syntax for the attribute is the same as for the attribute draw:handle-range-x-minimum.   13716 The draw:handle-range-x-maximum attribute specifies the horizontal maximum value of the range the handle can be moved within. The syntax for the attribute is the same as for the attribute draw:handle-range-x-minimum.
13314 <define name="draw-handle-attlist" combine="interleave">   13717 <define name="draw-handle-attlist" combine="interleave">
13315         <optional>   13718         <optional>
13316                 <attribute name="draw:handle-range-x-maximum">   13719                 <attribute name="draw:handle-range-x-maximum">
13317                         <ref name="string"/>   13720                         <ref name="string"/>
13318                 </attribute>   13721                 </attribute>
13319         </optional>   13722         </optional>
13320 </define>   13723 </define>
13321 Handle Range Y Minimum   13724 Handle Range Y Minimum
13322 The draw:handle-range-y-minimum attribute specifies the vertical minimum value of the range the handle can be moved within. The syntax for the attribute is the same as for the attribute draw:handle-range-x-minimum.   13725 The draw:handle-range-y-minimum attribute specifies the vertical minimum value of the range the handle can be moved within. The syntax for the attribute is the same as for the attribute draw:handle-range-x-minimum.
13323 <define name="draw-handle-attlist" combine="interleave">   13726 <define name="draw-handle-attlist" combine="interleave">
13324         <optional>   13727         <optional>
13325                 <attribute name="draw:handle-range-y-minimum">   13728                 <attribute name="draw:handle-range-y-minimum">
13326                         <ref name="string"/>   13729                         <ref name="string"/>
13327                 </attribute>   13730                 </attribute>
13328         </optional>   13731         </optional>
13329 </define>   13732 </define>
13330 Handle Range Y Maximum   13733 Handle Range Y Maximum
13331 The draw:handle-range-y-maximum attribute specifies the vertical maximum value of the range the handle can be moved within. The syntax for the attribute is the same as for the attribute draw:handle-range-x-minimum.   13734 The draw:handle-range-y-maximum attribute specifies the vertical maximum value of the range the handle can be moved within. The syntax for the attribute is the same as for the attribute draw:handle-range-x-minimum.
13332 <define name="draw-handle-attlist" combine="interleave">   13735 <define name="draw-handle-attlist" combine="interleave">
13333         <optional>   13736         <optional>
13334                 <attribute name="draw:handle-range-y-maximum">   13737                 <attribute name="draw:handle-range-y-maximum">
13335                         <ref name="string"/>   13738                         <ref name="string"/>
13336                 </attribute>   13739                 </attribute>
13337         </optional>   13740         </optional>
13338 </define>   13741 </define>
13339 Handle Polar   13742 Handle Polar
13340 The draw:handle-polar attribute specifies that the handle is a polar handle. The syntax for this attribute is the same as for the attribute draw:handle-position. The first parameter specifies the horizontal center position, the vertical center position is specified by the second parameter. If this attribute is set, the attributes draw:handle-range-x and draw:handle-range-y are ignored, instead the attributes draw:handle-radius-range-minimum and draw:handle-radius-range-maximum can be used.   13743 The draw:handle-polar attribute specifies that the handle is a polar handle. The syntax for this attribute is the same as for the attribute draw:handle-position. The first parameter specifies the horizontal center position, the vertical center position is specified by the second parameter. If this attribute is set, the attributes draw:handle-range-x and draw:handle-range-y are ignored, instead the attributes draw:handle-radius-range-minimum and draw:handle-radius-range-maximum can be used.
13341 <define name="draw-handle-attlist" combine="interleave">   13744 <define name="draw-handle-attlist" combine="interleave">
13342         <optional>   13745         <optional>
13343                 <attribute name="draw:handle-polar">   13746                 <attribute name="draw:handle-polar">
13344                         <ref name="string"/>   13747                         <ref name="string"/>
13345                 </attribute>   13748                 </attribute>
13346         </optional>   13749         </optional>
13347 </define>   13750 </define>
13348 Handle Radius Range Minimum   13751 Handle Radius Range Minimum
13349 If the attribute draw:handle-radius-range-minimum is set, it specifies the minimum radius range that can be used for a polar handle. The syntax is the same as for the attribute draw:handle-range-x-minimum.   13752 If the attribute draw:handle-radius-range-minimum is set, it specifies the minimum radius range that can be used for a polar handle. The syntax is the same as for the attribute draw:handle-range-x-minimum.
13350 <define name="draw-handle-attlist" combine="interleave">   13753 <define name="draw-handle-attlist" combine="interleave">
13351         <optional>   13754         <optional>
13352                 <attribute name="draw:handle-radius-range-minimum">   13755                 <attribute name="draw:handle-radius-range-minimum">
13353                         <ref name="string"/>   13756                         <ref name="string"/>
13354                 </attribute>   13757                 </attribute>
13355         </optional>   13758         </optional>
13356 </define>   13759 </define>
13357 Handle Radius Range Maximum   13760 Handle Radius Range Maximum
13358 If the attribute draw:handle-radius-range-maximum is set, it specifies the maximum radius range that can be used for a polar handle. The syntax is the same as for the attribute draw:handle-range-x-minimum.   13761 If the attribute draw:handle-radius-range-maximum is set, it specifies the maximum radius range that can be used for a polar handle. The syntax is the same as for the attribute draw:handle-range-x-minimum.
13359 <define name="draw-handle-attlist" combine="interleave">   13762 <define name="draw-handle-attlist" combine="interleave">
13360         <optional>   13763         <optional>
13361                 <attribute name="draw:handle-radius-range-maximum">   13764                 <attribute name="draw:handle-radius-range-maximum">
13362                         <ref name="string"/>   13765                         <ref name="string"/>
13363                 </attribute>   13766                 </attribute>
13364         </optional>   13767         </optional>
13365 </define>   13768 </define>
13366 9.6Presentation Shapes   13769 9.6Presentation Shapes
13367 Presentation shapes are special text box, image, object or thumbnail drawing shapes contained in a presentation. Presentation shapes use styles with a style family value of presentation, unlike drawing shapes which use styles with a style family value of graphic. Presentation shapes can be empty, acting only as placeholders. If a draw page's presentation layout (see section 14.15) is changed, all presentation shapes are adapted automatically.   13770 Presentation shapes are special text box, image, object or thumbnail drawing shapes contained in a presentation. Presentation shapes use styles with a style family value of presentation, unlike drawing shapes which use styles with a style family value of graphic. Presentation shapes can be empty, acting only as placeholders. If a draw page's presentation layout (see section 14.15) is changed, all presentation shapes are adapted automatically.
13368 Standard drawing shapes can also be used in presentations. The presentation:class attribute distinguishes presentation shapes from drawing shapes. Unlike presentation shapes, standard drawing shapes are not adapted if the presentation page layout is changed.   13771 Standard drawing shapes can also be used in presentations. The presentation:class attribute distinguishes presentation shapes from drawing shapes. Unlike presentation shapes, standard drawing shapes are not adapted if the presentation page layout is changed.
13369 9.6.1Common Presentation Shape Attributes   13772 9.6.1Common Presentation Shape Attributes
13370 The attributes described in this section are common to all presentation shapes.   13773 The attributes described in this section are common to all presentation shapes.
13371 Style   13774 Style
13372 Presentation shapes can have styles from the style family presentation assigned to them. A presentation shape can be distinguished from a drawing shape by checking whether it has a presentation:style-name attribute. A drawing shape uses a draw:style-name attribute with a style from the graphic family, while a presentation shape uses a presentation:style-name attribute with a style from the presentation family. This name links to a <style:style> element with the family presentation. The formatting properties in this style and its optional parent styles are used to format this shape. See also section 9.2.15.   13775 Presentation shapes can have styles from the style family presentation assigned to them. A presentation shape can be distinguished from a drawing shape by checking whether it has a presentation:style-name attribute. A drawing shape uses a draw:style-name attribute with a style from the graphic family, while a presentation shape uses a presentation:style-name attribute with a style from the presentation family. This name links to a <style:style> element with the family presentation. The formatting properties in this style and its optional parent styles are used to format this shape. See also section 9.2.15.
13373 Class   13776 Class
13374 The presentation:class attribute classifies presentation shapes by their usage within a draw page (for instance as title or outline). The following classes exist:   13777 The presentation:class attribute classifies presentation shapes by their usage within a draw page (for instance as title or outline). The following classes exist:
13375 title: Titles are standard text shapes.   13778 title: Titles are standard text shapes.
13376 outline: Outlines are standard text shapes.   13779 outline: Outlines are standard text shapes.
13377 subtitle: Subtitles are standard text shapes.   13780 subtitle: Subtitles are standard text shapes.
13378 text: Presentation texts are standard text shapes.   13781 text: Presentation texts are standard text shapes.
13379 graphic: Presentation graphics are standard graphic shapes   13782 graphic: Presentation graphics are standard graphic shapes
13380 object: Presentation objects are standard object shapes.   13783 object: Presentation objects are standard object shapes.
13381 chart: Presentation charts are standard object shapes.   13784 chart: Presentation charts are standard object shapes.
13382 table: Presentation tables are standard object shapes.   13785 table: Presentation tables are standard object shapes.
13383 orgchart: Presentation organization charts are standard object shapes.   13786 orgchart: Presentation organization charts are standard object shapes.
13384 page: Presentation pages are used on notes pages.   13787 page: Presentation pages are used on notes pages.
13385 notes: Presentation notes are used on notes pages.   13788 notes: Presentation notes are used on notes pages.
13386 handout: Presentation handouts are placeholder for the drawing page in a handout page.   13789 handout: Presentation handouts are placeholder for the drawing page in a handout page.
13387 The next four classes can be used only for drawing shapes that are contained in master pages. Depending on the settings of the page (see section 15.36), they are displayed automatically on drawing pages that use the master page.   13790 The next four classes can be used only for drawing shapes that are contained in master pages. Depending on the settings of the page (see section 15.36), they are displayed automatically on drawing pages that use the master page.
13388 header: The drawing shape is used as a header. Header shapes are standard text shapes.   13791 header: The drawing shape is used as a header. Header shapes are standard text shapes.
13389 footer: The drawing shape is used as a footer. Footer shapes are standard text shapes.   13792 footer: The drawing shape is used as a footer. Footer shapes are standard text shapes.
13390 date-time: The drawing shape is used as a date and/or time shape. Date and Time shapes are standard text shapes.   13793 date-time: The drawing shape is used as a date and/or time shape. Date and Time shapes are standard text shapes.
13391 page-number: The drawing shape is used as a page number shape. Page Number shapes are standard text shapes.   13794 page-number: The drawing shape is used as a page number shape. Page Number shapes are standard text shapes.
13392 <define name="presentation-shape-attlist" combine="interleave">   13795 <define name="presentation-shape-attlist" combine="interleave">
13393         <optional>   13796         <optional>
13394                 <attribute name="presentation:class">   13797                 <attribute name="presentation:class">
13395                         <ref name="presentation-classes"/>   13798                         <ref name="presentation-classes"/>
13396                 </attribute>   13799                 </attribute>
13397         </optional>   13800         </optional>
13398 </define>   13801 </define>
13399 <define name="presentation-classes">   13802 <define name="presentation-classes">
13400         <choice>   13803         <choice>
13401                 <value>title</value>   13804                 <value>title</value>
13402                 <value>outline</value>   13805                 <value>outline</value>
13403                 <value>subtitle</value>   13806                 <value>subtitle</value>
13404                 <value>text</value>   13807                 <value>text</value>
13405                 <value>graphic</value>   13808                 <value>graphic</value>
13406                 <value>object</value>   13809                 <value>object</value>
13407                 <value>chart</value>   13810                 <value>chart</value>
13408                 <value>table</value>   13811                 <value>table</value>
13409                 <value>orgchart</value>   13812                 <value>orgchart</value>
13410                 <value>page</value>   13813                 <value>page</value>
13411                 <value>notes</value>   13814                 <value>notes</value>
13412                 <value>handout</value>   13815                 <value>handout</value>
13413                 <value>header</value>   13816                 <value>header</value>
13414                 <value>footer</value>   13817                 <value>footer</value>
13415                 <value>date-time</value>   13818                 <value>date-time</value>
13416                 <value>page-number</value>   13819                 <value>page-number</value>
13417         </choice>   13820         </choice>
13418 </define>   13821 </define>
13419 Placeholder   13822 Placeholder
13420 The presentation:placeholder attribute defines if a shape is a placeholder or a presentation object with actual content.   13823 The presentation:placeholder attribute defines if a shape is a placeholder or a presentation object with actual content.
13421 <define name="presentation-shape-attlist" combine="interleave">   13824 <define name="presentation-shape-attlist" combine="interleave">
13422         <optional>   13825         <optional>
13423                 <attribute name="presentation:placeholder">   13826                 <attribute name="presentation:placeholder">
13424                         <ref name="boolean"/>   13827                         <ref name="boolean"/>
13425                 </attribute>   13828                 </attribute>
13426         </optional>   13829         </optional>
13427 </define>   13830 </define>
13428 User-Transform   13831 User-Transform
13429 The presentation:user-transformed attribute specifies whether the size and position of the shape is set by the user or is set by the corresponding presentation shape on the master page.   13832 The presentation:user-transformed attribute specifies whether the size and position of the shape is set by the user or is set by the corresponding presentation shape on the master page.
13430 <define name="presentation-shape-attlist" combine="interleave">   13833 <define name="presentation-shape-attlist" combine="interleave">
13431         <optional>   13834         <optional>
13432                 <attribute name="presentation:user-transformed">   13835                 <attribute name="presentation:user-transformed">
13433                         <ref name="boolean"/>   13836                         <ref name="boolean"/>
13434                 </attribute>   13837                 </attribute>
13435         </optional>   13838         </optional>
13436 </define>   13839 </define>
13437 9.7Presentation Animations   13840 9.7Presentation Animations
13438 In a presentation document, shapes can be animated. Each presentation page can have an optional <presentation:animations> element, which is a container for animation effects. The animation is executed when the page is displayed during a presentation.   13841 In a presentation document, shapes can be animated. Each presentation page can have an optional <presentation:animations> element, which is a container for animation effects. The animation is executed when the page is displayed during a presentation.
13439 This specification allows multiple effects for one and the same shape within a page. Applications may have restrictions regarding the number and combination of effects applicable to a shape, for instance may support only one show and one hide effect per shape with an additional show and hide text and one dim and sound effect.   13842 This specification allows multiple effects for one and the same shape within a page. Applications may have restrictions regarding the number and combination of effects applicable to a shape, for instance may support only one show and one hide effect per shape with an additional show and hide text and one dim and sound effect.
13440 <define name="presentation-animations">   13843 <define name="presentation-animations">
13441         <element name="presentation:animations">   13844         <element name="presentation:animations">
13442                 <zeroOrMore>   13845                 <zeroOrMore>
13443                         <choice>   13846                         <choice>
13444                                 <ref name="presentation-animation-elements"/>   13847                                 <ref name="presentation-animation-elements"/>
13445                                 <ref name="presentation-animation-group"/>   13848                                 <ref name="presentation-animation-group"/>
13446                         </choice>   13849                         </choice>
13447                 </zeroOrMore>   13850                 </zeroOrMore>
13448         </element>   13851         </element>
13449 </define>   13852 </define>
13450 <define name="presentation-animation-elements">   13853 <define name="presentation-animation-elements">
13451         <choice>   13854         <choice>
13452                 <ref name="presentation-show-shape"/>   13855                 <ref name="presentation-show-shape"/>
13453                 <ref name="presentation-show-text"/>   13856                 <ref name="presentation-show-text"/>
13454                 <ref name="presentation-hide-shape"/>   13857                 <ref name="presentation-hide-shape"/>
13455                 <ref name="presentation-hide-text"/>   13858                 <ref name="presentation-hide-text"/>
13456                 <ref name="presentation-dim"/>   13859                 <ref name="presentation-dim"/>
13457                 <ref name="presentation-play"/>   13860                 <ref name="presentation-play"/>
13458         </choice>   13861         </choice>
13459 </define>   13862 </define>
13460 9.7.1Sound   13863 9.7.1Sound
13461 The element <presentation:sound> may be contained in all animation effect elements that support sounds. The sound file referenced by the XLink attributes is played when the effect is executed.   13864 The element <presentation:sound> may be contained in all animation effect elements that support sounds. The sound file referenced by the XLink attributes is played when the effect is executed.
13462 <define name="presentation-sound">   13865 <define name="presentation-sound">
13463         <element name="presentation:sound">   13866         <element name="presentation:sound">
13464                 <ref name="presentation-sound-attlist"/>   13867                 <ref name="presentation-sound-attlist"/>
13465                 <attribute name="xlink:href">   13868                 <attribute name="xlink:href">
13466                         <ref name="anyURI"/>   13869                         <ref name="anyURI"/>
13467                 </attribute>   13870                 </attribute>
13468                 <optional>   13871                 <optional>
13469                         <attribute name="xlink:type" a:defaultValue="simple">   13872                         <attribute name="xlink:type" a:defaultValue="simple">
13470                                 <choice>   13873                                 <choice>
13471                                         <value>simple</value>   13874                                         <value>simple</value>
13472                                 </choice>   13875                                 </choice>
13473                         </attribute>   13876                         </attribute>
13474                 </optional>   13877                 </optional>
13475                 <optional>   13878                 <optional>
13476                         <attribute name="xlink:actuate" a:defaultValue="onRequest">   13879                         <attribute name="xlink:actuate" a:defaultValue="onRequest">
13477                                 <choice>   13880                                 <choice>
13478                                         <value>onRequest</value>   13881                                         <value>onRequest</value>
13479                                 </choice>   13882                                 </choice>
13480                         </attribute>   13883                         </attribute>
13481                 </optional>   13884                 </optional>
13482                 <optional>   13885                 <optional>
13483                         <attribute name="xlink:show">   13886                         <attribute name="xlink:show">
13484                                 <choice>   13887                                 <choice>
13485                                         <value>new</value>   13888                                         <value>new</value>
13486                                         <value>replace</value>   13889                                         <value>replace</value>
13487                                 </choice>   13890                                 </choice>
13488                         </attribute>   13891                         </attribute>
13489                 </optional>   13892                 </optional>
13490                 <empty/>   13893                 <empty/>
13491         </element>   13894         </element>
13492 </define>   13895 </define>
13493 The attribute that may be associate with the <presentation:sound> element is:   13896 The attribute that may be associate with the <presentation:sound> element is:
13494 Play full   13897 Play full
13495 Play Full   13898 Play Full
13496 If the value of the attribute presentation:play-full is true, the next effect starts after the sound is played. If the value of this attribute is false, the next effect starts when the current effect is finished.   13899 If the value of the attribute presentation:play-full is true, the next effect starts after the sound is played. If the value of this attribute is false, the next effect starts when the current effect is finished.
13497 <define name="presentation-sound-attlist" combine="interleave">   13900 <define name="presentation-sound-attlist" combine="interleave">
13498         <optional>   13901         <optional>
13499                 <attribute name="presentation:play-full">   13902                 <attribute name="presentation:play-full">
13500                         <ref name="boolean"/>   13903                         <ref name="boolean"/>
13501                 </attribute>   13904                 </attribute>
13502         </optional>   13905         </optional>
13503 </define>   13906 </define>
13504 9.7.2Show Shape   13907 9.7.2Show Shape
13505 The element <presentation:show-shape> makes a shape visible. If there is a <presentation:show-shape> element for one shape, this shape is automatically invisible before the effect is executed.   13908 The element <presentation:show-shape> makes a shape visible. If there is a <presentation:show-shape> element for one shape, this shape is automatically invisible before the effect is executed.
13506 <define name="presentation-show-shape">   13909 <define name="presentation-show-shape">
13507         <element name="presentation:show-shape">   13910         <element name="presentation:show-shape">
13508                 <ref name="common-presentation-effect-attlist"/>   13911                 <ref name="common-presentation-effect-attlist"/>
13509                 <optional>   13912                 <optional>
13510                         <ref name="presentation-sound"/>   13913                         <ref name="presentation-sound"/>
13511                 </optional>   13914                 </optional>
13512         </element>   13915         </element>
13513 </define>   13916 </define>
13514 The attributes that may be associated with the <presentation:show-shape> element are:   13917 The attributes that may be associated with the <presentation:show-shape> element are:
13515 Shape   13918 Shape
13516 Effect   13919 Effect
13517 Direction   13920 Direction
13518 Speed   13921 Speed
13519 Delay   13922 Delay
13520 Start Scale   13923 Start Scale
13521 Path   13924 Path
13522 Shape   13925 Shape
13523 The attribute draw:shape-id specifies the shape of this effect using a shape ID.   13926 The attribute draw:shape-id specifies the shape of this effect using a shape ID.
13524 <define name="common-presentation-effect-attlist" combine="interleave">   13927 <define name="common-presentation-effect-attlist" combine="interleave">
13525         <attribute name="draw:shape-id">   13928         <attribute name="draw:shape-id">
13526                 <ref name="IDREF"/>   13929                 <ref name="IDREF"/>
13527         </attribute>   13930         </attribute>
13528 </define>   13931 </define>
13529 Effect   13932 Effect
13530 The attribute presentation:effect specifies the type of effect.   13933 The attribute presentation:effect specifies the type of effect.
13531 none: no effect is used.   13934 none: no effect is used.
13532 fade: the shape fades from its visible or hidden state to a hidden or visible state.   13935 fade: the shape fades from its visible or hidden state to a hidden or visible state.
13533 move: the shape moves from or to its final position.   13936 move: the shape moves from or to its final position.
13534 stripes: the shape is faded in or out by drawing or removing horizontal or vertical stripes that change their size.   13937 stripes: the shape is faded in or out by drawing or removing horizontal or vertical stripes that change their size.
13535 open: the shape is drawn or removed line by line, either horizontally or vertically, starting at the center of the shape.   13938 open: the shape is drawn or removed line by line, either horizontally or vertically, starting at the center of the shape.
13536 close: the shape is drawn or removed line by line, either horizontally or vertically, starting at the edge of the shape.   13939 close: the shape is drawn or removed line by line, either horizontally or vertically, starting at the edge of the shape.
13537 dissolve: the shape is faded in or out by drawing or removing small blocks in a random fashion.   13940 dissolve: the shape is faded in or out by drawing or removing small blocks in a random fashion.
13538 wavyline: the shape is faded in our out by drawing or removing small blocks in a snake like fashion.   13941 wavyline: the shape is faded in our out by drawing or removing small blocks in a snake like fashion.
13539 random: an effect is chosen at random to fade the shape in or out.   13942 random: an effect is chosen at random to fade the shape in or out.
13540 lines: the shape is faded in our out by drawing or removing line by line, either horizontally or vertically, in a random fashion.   13943 lines: the shape is faded in our out by drawing or removing line by line, either horizontally or vertically, in a random fashion.
13541 laser: this effect is only available for text shapes; the characters of the text are moved one by one from the top edge of the screen to their final position.   13944 laser: this effect is only available for text shapes; the characters of the text are moved one by one from the top edge of the screen to their final position.
13542 appear: the shape is faded in by just switching its state from invisible to visible.   13945 appear: the shape is faded in by just switching its state from invisible to visible.
13543 hide: the shape is faded out by just switching its state from visible to invisible.   13946 hide: the shape is faded out by just switching its state from visible to invisible.
13544 move-short: like the move effect, but the moving shape is clipped to its final bounding rectangle during fade.   13947 move-short: like the move effect, but the moving shape is clipped to its final bounding rectangle during fade.
13545 checkerboard: the shape is faded in or out by drawing or removing checkerboard like blocks that increase in size over time.   13948 checkerboard: the shape is faded in or out by drawing or removing checkerboard like blocks that increase in size over time.
13546 rotate: the shape rotates horizontally or vertically for a short amount of time during this effect.   13949 rotate: the shape rotates horizontally or vertically for a short amount of time during this effect.
13547 stretch: the shape is faded in or out by changing its size during this effect.   13950 stretch: the shape is faded in or out by changing its size during this effect.
13548 <define name="common-presentation-effect-attlist" combine="interleave">   13951 <define name="common-presentation-effect-attlist" combine="interleave">
13549         <optional>   13952         <optional>
13550                 <attribute name="presentation:effect" a:defaultValue="none">   13953                 <attribute name="presentation:effect" a:defaultValue="none">
13551                         <ref name="presentationEffects"/>   13954                         <ref name="presentationEffects"/>
13552                 </attribute>   13955                 </attribute>
13553         </optional>   13956         </optional>
13554 </define>   13957 </define>
13555 <define name="presentationEffects">   13958 <define name="presentationEffects">
13556         <choice>   13959         <choice>
13557                 <value>none</value>   13960                 <value>none</value>
13558                 <value>fade</value>   13961                 <value>fade</value>
13559                 <value>move</value>   13962                 <value>move</value>
13560                 <value>stripes</value>   13963                 <value>stripes</value>
13561                 <value>open</value>   13964                 <value>open</value>
13562                 <value>close</value>   13965                 <value>close</value>
13563                 <value>dissolve</value>   13966                 <value>dissolve</value>
13564                 <value>wavyline</value>   13967                 <value>wavyline</value>
13565                 <value>random</value>   13968                 <value>random</value>
13566                 <value>lines</value>   13969                 <value>lines</value>
13567                 <value>laser</value>   13970                 <value>laser</value>
13568                 <value>appear</value>   13971                 <value>appear</value>
13569                 <value>hide</value>   13972                 <value>hide</value>
13570                 <value>move-short</value>   13973                 <value>move-short</value>
13571                 <value>checkerboard</value>   13974                 <value>checkerboard</value>
13572                 <value>rotate</value>   13975                 <value>rotate</value>
13573                 <value>stretch</value>   13976                 <value>stretch</value>
13574         </choice>   13977         </choice>
13575 </define>   13978 </define>
13576 Direction   13979 Direction
13577 The attribute presentation:direction specifies the direction of the effect. This is relevant for some effects only.   13980 The attribute presentation:direction specifies the direction of the effect. This is relevant for some effects only.
13578 <define name="common-presentation-effect-attlist" combine="interleave">   13981 <define name="common-presentation-effect-attlist" combine="interleave">
13579         <optional>   13982         <optional>
13580                 <attribute name="presentation:direction" a:defaultValue="none">   13983                 <attribute name="presentation:direction" a:defaultValue="none">
13581                         <ref name="presentationEffectDirections"/>   13984                         <ref name="presentationEffectDirections"/>
13582                 </attribute>   13985                 </attribute>
13583         </optional>   13986         </optional>
13584 </define>   13987 </define>
13585 <define name="presentationEffectDirections">   13988 <define name="presentationEffectDirections">
13586         <choice>   13989         <choice>
13587                 <value>none</value>   13990                 <value>none</value>
13588                 <value>from-left</value>   13991                 <value>from-left</value>
13589                 <value>from-top</value>   13992                 <value>from-top</value>
13590                 <value>from-right</value>   13993                 <value>from-right</value>
13591                 <value>from-bottom</value>   13994                 <value>from-bottom</value>
13592                 <value>from-center</value>   13995                 <value>from-center</value>
13593                 <value>from-upper-left</value>   13996                 <value>from-upper-left</value>
13594                 <value>from-upper-right</value>   13997                 <value>from-upper-right</value>
13595                 <value>from-lower-left</value>   13998                 <value>from-lower-left</value>
13596                 <value>from-lower-right</value>   13999                 <value>from-lower-right</value>
13597                 <value>to-left</value>   14000                 <value>to-left</value>
13598                 <value>to-top</value>   14001                 <value>to-top</value>
13599                 <value>to-right</value>   14002                 <value>to-right</value>
13600                 <value>to-bottom</value>   14003                 <value>to-bottom</value>
13601                 <value>to-upper-left</value>   14004                 <value>to-upper-left</value>
13602                 <value>to-upper-right</value>   14005                 <value>to-upper-right</value>
13603                 <value>to-lower-right</value>   14006                 <value>to-lower-right</value>
13604                 <value>to-lower-left</value>   14007                 <value>to-lower-left</value>
13605                 <value>path</value>   14008                 <value>path</value>
13606                 <value>spiral-inward-left</value>   14009                 <value>spiral-inward-left</value>
13607                 <value>spiral-inward-right</value>   14010                 <value>spiral-inward-right</value>
13608                 <value>spiral-outward-left</value>   14011                 <value>spiral-outward-left</value>
13609                 <value>spiral-outward-right</value>   14012                 <value>spiral-outward-right</value>
13610                 <value>vertical</value>   14013                 <value>vertical</value>
13611                 <value>horizontal</value>   14014                 <value>horizontal</value>
13612                 <value>to-center</value>   14015                 <value>to-center</value>
13613                 <value>clockwise</value>   14016                 <value>clockwise</value>
13614                 <value>counter-clockwise</value>   14017                 <value>counter-clockwise</value>
13615         </choice>   14018         </choice>
13616 </define>   14019 </define>
13617 Speed   14020 Speed
13618 The attribute presentation:speed specifies the speed of the effect.   14021 The attribute presentation:speed specifies the speed of the effect.
13619 <define name="common-presentation-effect-attlist" combine="interleave">   14022 <define name="common-presentation-effect-attlist" combine="interleave">
13620         <optional>   14023         <optional>
13621                 <attribute name="presentation:speed" a:defaultValue="medium">   14024                 <attribute name="presentation:speed" a:defaultValue="medium">
13622                         <ref name="presentationSpeeds"/>   14025                         <ref name="presentationSpeeds"/>
13623                 </attribute>   14026                 </attribute>
13624         </optional>   14027         </optional>
13625 </define>   14028 </define>
13626 <define name="presentationSpeeds">   14029 <define name="presentationSpeeds">
13627         <choice>   14030         <choice>
13628                 <value>slow</value>   14031                 <value>slow</value>
13629                 <value>medium</value>   14032                 <value>medium</value>
13630                 <value>fast</value>   14033                 <value>fast</value>
13631         </choice>   14034         </choice>
13632 </define>   14035 </define>
13633 Delay   14036 Delay
13634 The attribute presentation:delay specifies the delay before a presentation effect starts after the previous one has been finished.   14037 The attribute presentation:delay specifies the delay before a presentation effect starts after the previous one has been finished.
13635 <define name="common-presentation-effect-attlist" combine="interleave">   14038 <define name="common-presentation-effect-attlist" combine="interleave">
13636         <optional>   14039         <optional>
13637                 <attribute name="presentation:delay">   14040                 <attribute name="presentation:delay">
13638                         <ref name="duration"/>   14041                         <ref name="duration"/>
13639                 </attribute>   14042                 </attribute>
13640         </optional>   14043         </optional>
13641 </define>   14044 </define>
13642 Start Scale   14045 Start Scale
13643 Some effects scale a shape during execution of the effect. The attribute presentation:start-scale specifies the start size of the shape as a percentage of its original size.   14046 Some effects scale a shape during execution of the effect. The attribute presentation:start-scale specifies the start size of the shape as a percentage of its original size.
13644 <define name="common-presentation-effect-attlist" combine="interleave">   14047 <define name="common-presentation-effect-attlist" combine="interleave">
13645         <optional>   14048         <optional>
13646                 <attribute name="presentation:start-scale" a:defaultValue="100%">   14049                 <attribute name="presentation:start-scale" a:defaultValue="100%">
13647                         <ref name="percent"/>   14050                         <ref name="percent"/>
13648                 </attribute>   14051                 </attribute>
13649         </optional>   14052         </optional>
13650 </define>   14053 </define>
13651 Path   14054 Path
13652 The attribute presentation:path-id applies to move effects. The attribute specifies the shape-id of a polygon shape. The effect moves along the lines of the specified polygon. The referenced polygon is not visible during the presentation.   14055 The attribute presentation:path-id applies to move effects. The attribute specifies the shape-id of a polygon shape. The effect moves along the lines of the specified polygon. The referenced polygon is not visible during the presentation.
13653 <define name="common-presentation-effect-attlist" combine="interleave">   14056 <define name="common-presentation-effect-attlist" combine="interleave">
13654         <optional>   14057         <optional>
13655                 <attribute name="presentation:path-id"/>   14058                 <attribute name="presentation:path-id"/>
13656         </optional>   14059         </optional>
13657 </define>   14060 </define>
13658 9.7.3Show Text   14061 9.7.3Show Text
13659 The element <presentation:show-text> makes the text of a shape visible. If there is a <show-text> element for one shape, the text of the shape is automatically invisible before the effect is executed.   14062 The element <presentation:show-text> makes the text of a shape visible. If there is a <show-text> element for one shape, the text of the shape is automatically invisible before the effect is executed.
13660 <define name="presentation-show-text">   14063 <define name="presentation-show-text">
13661         <element name="presentation:show-text">   14064         <element name="presentation:show-text">
13662                 <ref name="common-presentation-effect-attlist"/>   14065                 <ref name="common-presentation-effect-attlist"/>
13663                 <optional>   14066                 <optional>
13664                         <ref name="presentation-sound"/>   14067                         <ref name="presentation-sound"/>
13665                 </optional>   14068                 </optional>
13666         </element>   14069         </element>
13667 </define>   14070 </define>
13668 The attributes that may be associated with the <presentation:show-text> element are:   14071 The attributes that may be associated with the <presentation:show-text> element are:
13669 Shape, Effect, Direction, Speed, Start Scale, Path – see section 9.7.2   14072 Shape, Effect, Direction, Speed, Start Scale, Path – see section 9.7.2
13670 9.7.4Hide Shape   14073 9.7.4Hide Shape
13671 The element <presentation:hide-shape> makes a shape invisible.   14074 The element <presentation:hide-shape> makes a shape invisible.
13672 <define name="presentation-hide-shape">   14075 <define name="presentation-hide-shape">
13673         <element name="presentation:hide-shape">   14076         <element name="presentation:hide-shape">
13674                 <ref name="common-presentation-effect-attlist"/>   14077                 <ref name="common-presentation-effect-attlist"/>
13675                 <optional>   14078                 <optional>
13676                         <ref name="presentation-sound"/>   14079                         <ref name="presentation-sound"/>
13677                 </optional>   14080                 </optional>
13678         </element>   14081         </element>
13679 </define>   14082 </define>
13680 The attributes that may be associated with the <presentation:hide-shape> element are:   14083 The attributes that may be associated with the <presentation:hide-shape> element are:
13681 Shape, Effect, Direction, Speed, Start Scale, Path – see section 9.7.2   14084 Shape, Effect, Direction, Speed, Start Scale, Path – see section 9.7.2
13682 9.7.5Hide Text   14085 9.7.5Hide Text
13683 The element <presentation:hide-text> makes the text of a shape invisible.   14086 The element <presentation:hide-text> makes the text of a shape invisible.
13684 <define name="presentation-hide-text">   14087 <define name="presentation-hide-text">
13685         <element name="presentation:hide-text">   14088         <element name="presentation:hide-text">
13686                 <ref name="common-presentation-effect-attlist"/>   14089                 <ref name="common-presentation-effect-attlist"/>
13687                 <optional>   14090                 <optional>
13688                         <ref name="presentation-sound"/>   14091                         <ref name="presentation-sound"/>
13689                 </optional>   14092                 </optional>
13690         </element>   14093         </element>
13691 </define>   14094 </define>
13692 The attributes that may be associated with the <presentation:hide-text> element are:   14095 The attributes that may be associated with the <presentation:hide-text> element are:
13693 Shape, Effect, Direction, Speed, Start Scale, Path – see section 9.7.2   14096 Shape, Effect, Direction, Speed, Start Scale, Path – see section 9.7.2
13694 9.7.6Dim   14097 9.7.6Dim
13695 The element <presentation:dim> fills a shape in a single color.   14098 The element <presentation:dim> fills a shape in a single color.
13696 <define name="presentation-dim">   14099 <define name="presentation-dim">
13697         <element name="presentation:dim">   14100         <element name="presentation:dim">
13698                 <ref name="presentation-dim-attlist"/>   14101                 <ref name="presentation-dim-attlist"/>
13699                 <optional>   14102                 <optional>
13700                         <ref name="presentation-sound"/>   14103                         <ref name="presentation-sound"/>
13701                 </optional>   14104                 </optional>
13702         </element>   14105         </element>
13703 </define>   14106 </define>
13704 The attributes that may be associated with the <presentation:dim> element are:   14107 The attributes that may be associated with the <presentation:dim> element are:
13705 Shape – see section 9.7.2   14108 Shape – see section 9.7.2
13706 Color   14109 Color
13707 <define name="presentation-dim-attlist" combine="interleave">   14110 <define name="presentation-dim-attlist" combine="interleave">
13708         <attribute name="draw:shape-id">   14111         <attribute name="draw:shape-id">
13709                 <ref name="IDREF"/>   14112                 <ref name="IDREF"/>
13710         </attribute>   14113         </attribute>
13711 </define>   14114 </define>
13712 Color   14115 Color
13713 The attribute draw:color specifies the color that is used to fill the shape when the shape is dimmed.   14116 The attribute draw:color specifies the color that is used to fill the shape when the shape is dimmed.
13714 <define name="presentation-dim-attlist" combine="interleave">   14117 <define name="presentation-dim-attlist" combine="interleave">
13715         <attribute name="draw:color">   14118         <attribute name="draw:color">
13716                 <ref name="color"/>   14119                 <ref name="color"/>
13717         </attribute>   14120         </attribute>
13718 </define>   14121 </define>
13719 9.7.7Play   14122 9.7.7Play
13720 The element <presentation:play> starts the animation of a shape that supports animation.   14123 The element <presentation:play> starts the animation of a shape that supports animation.
13721 <define name="presentation-play">   14124 <define name="presentation-play">
13722         <element name="presentation:play">   14125         <element name="presentation:play">
13723                 <ref name="presentation-play-attlist"/>   14126                 <ref name="presentation-play-attlist"/>
13724                 <empty/>   14127                 <empty/>
13725         </element>   14128         </element>
13726 </define>   14129 </define>
13727 The attributes that may be associated with the <presentation:play> element are:   14130 The attributes that may be associated with the <presentation:play> element are:
13728 Shape ID and Speed – see section 9.7.2   14131 Shape ID and Speed – see section 9.7.2
13729 <define name="presentation-play-attlist" combine="interleave">   14132 <define name="presentation-play-attlist" combine="interleave">
13730         <attribute name="draw:shape-id">   14133         <attribute name="draw:shape-id">
13731                 <ref name="IDREF"/>   14134                 <ref name="IDREF"/>
13732         </attribute>   14135         </attribute>
13733         <optional>   14136         <optional>
13734                 <attribute name="presentation:speed" a:defaultValue="medium">   14137                 <attribute name="presentation:speed" a:defaultValue="medium">
13735                         <ref name="presentationSpeeds"/>   14138                         <ref name="presentationSpeeds"/>
13736                 </attribute>   14139                 </attribute>
13737         </optional>   14140         </optional>
13738 </define>   14141 </define>
13739 9.7.8Effect groups   14142 9.7.8Effect groups
13740 The element <presentation:animation-group> allows to specify that multiple effects should happen at the same time.   14143 The element <presentation:animation-group> allows to specify that multiple effects should happen at the same time.
13741 <define name="presentation-animation-group">   14144 <define name="presentation-animation-group">
13742         <element name="presentation:animation-group">   14145         <element name="presentation:animation-group">
13743                 <zeroOrMore>   14146                 <zeroOrMore>
13744                         <ref name="presentation-animation-elements"/>   14147                         <ref name="presentation-animation-elements"/>
13745                 </zeroOrMore>   14148                 </zeroOrMore>
13746         </element>   14149         </element>
13747 </define>   14150 </define>
13748 9.8SMIL Presentation Animations   14151 9.8SMIL Presentation Animations
13749 This chapter describes [SMIL20] based shape animations for presentation documents. This kind of animations can be used instead of the ones specified by the <presentation:animations> elements if one of the following items is required:   14152 This chapter describes [SMIL20] based shape animations for presentation documents. This kind of animations can be used instead of the ones specified by the <presentation:animations> elements if one of the following items is required:
13750 Multiple animations per shape.   14153 Multiple animations per shape.
13751 A mixture of animations starting on user interaction and starting automatically per page.   14154 A mixture of animations starting on user interaction and starting automatically per page.
13752 Multiple animations running at the same time.   14155 Multiple animations running at the same time.
13753 Additional effects 'programmed' in XML by combining basic animation elements.   14156 Additional effects 'programmed' in XML by combining basic animation elements.
13754 Document transformations to SVG including [SMIL20].   14157 Document transformations to SVG including [SMIL20].
13755 9.8.1Recommended Usage Of SMIL   14158 9.8.1Recommended Usage Of SMIL
13756 The following sections describe the usage of SMIL animation elements that enables an office application to present the animation elements in a simple and easy to use UI to the user. This UI may contain a single main sequence of effects, and in addition to this, multiple sequences of effects that are started as interactions on drawing shapes. An effect is a combination of one or more animation elements that animate a single shape and or a shape's paragraphs.   14159 The following sections describe the usage of SMIL animation elements that enables an office application to present the animation elements in a simple and easy to use UI to the user. This UI may contain a single main sequence of effects, and in addition to this, multiple sequences of effects that are started as interactions on drawing shapes. An effect is a combination of one or more animation elements that animate a single shape and or a shape's paragraphs.
13757 It is recommended, that in user interfaces, effects can be created by using presets that have localized and meaningful names.  This way, the user will not work on a hierarchy of SMIL animation elements, but on one dimensional lists of effects, which are much easier to handle for the office application users.   14160 It is recommended, that in user interfaces, effects can be created by using presets that have localized and meaningful names.  This way, the user will not work on a hierarchy of SMIL animation elements, but on one dimensional lists of effects, which are much easier to handle for the office application users.
13758 Slide Animation   14161 Slide Animation
13759 Each <draw:page> element may optionally have an <anim:par> element that defines the animation of that page during a running slideshow. This <anim:par> element should contain one <anim:seq> element which is the main sequence for shape effects and zero or more <anim:seq> elements that define interactive sequences for shapes that contain animation interactions. The animation elements are executed after the slide has executed its initial transition.   14162 Each <draw:page> element may optionally have an <anim:par> element that defines the animation of that page during a running slideshow. This <anim:par> element should contain one <anim:seq> element which is the main sequence for shape effects and zero or more <anim:seq> elements that define interactive sequences for shapes that contain animation interactions. The animation elements are executed after the slide has executed its initial transition.
13760 Main Sequence   14163 Main Sequence
13761 The main sequence is a <anim:seq> element which contains the effects that should start after the slide has executed its initial transition. Since this is a sequential container, its child nodes are executed one after each other. If a child node's smil:begin attribute has the value indefinite, then the execution is stalled until the user advances the slideshow by a mouse or key interaction.   14164 The main sequence is a <anim:seq> element which contains the effects that should start after the slide has executed its initial transition. Since this is a sequential container, its child nodes are executed one after each other. If a child node's smil:begin attribute has the value indefinite, then the execution is stalled until the user advances the slideshow by a mouse or key interaction.
13762 The first level of child nodes in the main sequence should be <anim:par> elements that group animation elements that are started with the same user interaction. The second level of child nodes should be <anim:par> elements that group animations elements that start at the same time. The third level of child nodes should be <anim:par> elements that group the animation elements for a single effect.   14165 The first level of child nodes in the main sequence should be <anim:par> elements that group animation elements that are started with the same user interaction. The second level of child nodes should be <anim:par> elements that group animations elements that start at the same time. The third level of child nodes should be <anim:par> elements that group the animation elements for a single effect.
13763 The following example shows a main sequence with the effects A, B, C and D. Effect A is started on user interaction, effect B is started simultaneously with A. Effect C is started 4 seconds after the effects A and B. Effect D is started on the next user interaction:   14166 The following example shows a main sequence with the effects A, B, C and D. Effect A is started on user interaction, effect B is started simultaneously with A. Effect C is started 4 seconds after the effects A and B. Effect D is started on the next user interaction:
13764 <amin:par> <!-- timing root-->   14167 <amin:par> <!-- timing root-->
13765         <anim:seq> <!-- main sequence-->   14168         <anim:seq> <!-- main sequence-->
13766                 <anim:par smil:begin="indefinite">   14169                 <anim:par smil:begin="indefinite">
13767                         <!-- first user interaction -->   14170                         <!-- first user interaction -->
13768                         <anim:par smil:begin="0s" smil:dur="4s">   14171                         <anim:par smil:begin="0s" smil:dur="4s">
13769                                 <!-- first group of effects to execute -->   14172                                 <!-- first group of effects to execute -->
13770                                 <anim:par> <!-- effect a -->   14173                                 <anim:par> <!-- effect a -->
13771                                         <!-- nodes for effect a-->   14174                                         <!-- nodes for effect a-->
13772                                 </anim:par>   14175                                 </anim:par>
13773                                 <anim:par> <!-- effect b -->   14176                                 <anim:par> <!-- effect b -->
13774                                         <!-- nodes for effect b-->   14177                                         <!-- nodes for effect b-->
13775                                 </anim:par>   14178                                 </anim:par>
13776                         </anim:par>   14179                         </anim:par>
13777                         <anim:par smil:begin="4s">   14180                         <anim:par smil:begin="4s">
13778                                 <!-- second group of effects to execute -->   14181                                 <!-- second group of effects to execute -->
13779                                 <anim:par> <!-- effect c -->   14182                                 <anim:par> <!-- effect c -->
13780                                         <!-- nodes for effect c-->        14183                                         <!-- nodes for effect c-->     
13781                                 </anim:par>   14184                                 </anim:par>
13782                         </anim:par>   14185                         </anim:par>
13783                 </anim:par>   14186                 </anim:par>
13784                 <anim:par>        14187                 <anim:par>     
13785                         <!-- second user interaction-->   14188                         <!-- second user interaction-->
13786                         <anim:par smil:begin="indefinite">   14189                         <anim:par smil:begin="indefinite">
13787                                 <!-- first group of effects to execute -->   14190                                 <!-- first group of effects to execute -->
13788                                 <anim:par> <!-- effect d -->   14191                                 <anim:par> <!-- effect d -->
13789                                         <!--- nodes for effect d-->   14192                                         <!--- nodes for effect d-->
13790                                 </anim:par>   14193                                 </anim:par>
13791                         </anim:par>   14194                         </anim:par>
13792                 </anim:par>   14195                 </anim:par>
13793         </anim:seq>   14196         </anim:seq>
13794 </anim:par>   14197 </anim:par>
13795 Interactive Sequence   14198 Interactive Sequence
13796 An interactive sequence is a <anim:seq> element that should have the same structure as a main sequence. The only difference is that the <anim:par> element in the first level has a smil:begin attribute with a value like [shape-id].click, where [shape-id] identifies a drawing shapes by its draw:id attribute. These animation elements are triggered when the user interacts with the element defined by [shape-id].   14199 An interactive sequence is a <anim:seq> element that should have the same structure as a main sequence. The only difference is that the <anim:par> element in the first level has a smil:begin attribute with a value like [shape-id].click, where [shape-id] identifies a drawing shapes by its draw:id attribute. These animation elements are triggered when the user interacts with the element defined by [shape-id].
13797 9.8.2Document Dependent SMIL Animation Attribute Values   14200 9.8.2Document Dependent SMIL Animation Attribute Values
13798 This section describes the attribute values of the document type dependent attributes specified in section 13 if they are used within presentation documents.   14201 This section describes the attribute values of the document type dependent attributes specified in section 13 if they are used within presentation documents.
13799 Iteration Target Element   14202 Iteration Target Element
13800 For presentation documents, the smil:targetElement attribute of the <anim:iterate> element (see section 13.4.4) can reference drawing shape or paragraph elements. If the anim:sub-item attribute of <anim:iterate> has the value whole, the iteration includes the drawing shape's background and its text. If the anim:sub-item attribute's value is text, only the shape's text is iterated.   14203 For presentation documents, the smil:targetElement attribute of the <anim:iterate> element (see section 13.4.4) can reference drawing shape or paragraph elements. If the anim:sub-item attribute of <anim:iterate> has the value whole, the iteration includes the drawing shape's background and its text. If the anim:sub-item attribute's value is text, only the shape's text is iterated.
13801 Iteration Type   14204 Iteration Type
13802 For presentation documents, the anim:iterate-type attribute  of the <anim:iterate> element (see section 13.4.4) can have the following values:   14205 For presentation documents, the anim:iterate-type attribute  of the <anim:iterate> element (see section 13.4.4) can have the following values:
13803 by-paragraph: the target shape is iterated by paragraphs.   14206 by-paragraph: the target shape is iterated by paragraphs.
13804 by-word: the target shape or paragraph is iterated by words.   14207 by-word: the target shape or paragraph is iterated by words.
13805 by-letter:  the target shape or paragraph is iterated by letters.   14208 by-letter:  the target shape or paragraph is iterated by letters.
13806 Target Element   14209 Target Element
13807 For presentation documents, the smil:targetElement specified in section 13.3.1 can reference drawing shapes by their draw:id attribute value and paragraphs by their text:id attribute value.   14210 For presentation documents, the smil:targetElement specified in section 13.3.1 can reference drawing shapes by their draw:id attribute value and paragraphs by their text:id attribute value.
13808 Target Attribute   14211 Target Attribute
13809 For presentation documents, the smil:attributeName attribute specified in section 13.3.1 can have the following values:   14212 For presentation documents, the smil:attributeName attribute specified in section 13.3.1 can have the following values:
13810 x:  animates the elements x position, values are given in screen space where 0 is the left edge and 1 is the right edge.   14213 x:  animates the elements x position, values are given in screen space where 0 is the left edge and 1 is the right edge.
13811 y:  animates the elements y position, values are given in screen space where 0 is the top and 1 is the bottom.   14214 y:  animates the elements y position, values are given in screen space where 0 is the top and 1 is the bottom.
13812 width:  animates the elements width, values are given in screen space where 0 is no width and 1 is the same width as the screen.   14215 width:  animates the elements width, values are given in screen space where 0 is no width and 1 is the same width as the screen.
13813 height: animates the elements height, values are given in screen space where 0 is no height and 1 is the same height as the screen.   14216 height: animates the elements height, values are given in screen space where 0 is no height and 1 is the same height as the screen.
13814 color: animates the elements color, this animates both fill,line and char color. Values can be RGB or HSL   14217 color: animates the elements color, this animates both fill,line and char color. Values can be RGB or HSL
13815 rotate: animates the elements rotation, this animates both the shapes and text animation.   14218 rotate: animates the elements rotation, this animates both the shapes and text animation.
13816 skewX: animates the elements horizontal skew.   14219 skewX: animates the elements horizontal skew.
13817 fillColor: animates the elements fill color.   14220 fillColor: animates the elements fill color.
13818 fillStyle: animates the elements fill style.   14221 fillStyle: animates the elements fill style.
13819 lineColor: animates the elements line color.   14222 lineColor: animates the elements line color.
13820 lineStyle: animates the elements line style.   14223 lineStyle: animates the elements line style.
13821 charColor: animates the elements char color.   14224 charColor: animates the elements char color.
13822 charWeight: animates the elements text weight.   14225 charWeight: animates the elements text weight.
13823 charUnderline: animates the elements text underline.   14226 charUnderline: animates the elements text underline.
13824 charFontName: animates the elements text font.   14227 charFontName: animates the elements text font.
13825 charHeight: animates the elements text height.   14228 charHeight: animates the elements text height.
13826 charPosture: animates the elements text posture.   14229 charPosture: animates the elements text posture.
13827 visibility: animates the elements visibility.   14230 visibility: animates the elements visibility.
13828 opacity: animates the elements opacity.   14231 opacity: animates the elements opacity.
13829 Target Element Sub Item   14232 Target Element Sub Item
13830 For presentation documents, the anim:sub-item attribute specified in section 13.3.1 can have the following values:   14233 For presentation documents, the anim:sub-item attribute specified in section 13.3.1 can have the following values:
13831 whole: animates both the shape and its text.   14234 whole: animates both the shape and its text.
13832 background:animates only the shapes background and not its text.   14235 background:animates only the shapes background and not its text.
13833 text: animates only the text.   14236 text: animates only the text.
13834 Formula   14237 Formula
13835 For presentation documents, the anim:formula attribute specified in section 13.3.2 may contain the following additional identifiers:   14238 For presentation documents, the anim:formula attribute specified in section 13.3.2 may contain the following additional identifiers:
13836 e,: this is the Euler constant.   14239 e,: this is the Euler constant.
13837 x: this is the animated elements left edge in screen space where 0 is the left edge of the screen and 1 is the right edge.   14240 x: this is the animated elements left edge in screen space where 0 is the left edge of the screen and 1 is the right edge.
13838 y: this is the animated elements top edge in screen space, where 0 is the top edge of the screen and 1 is the bottom edge.   14241 y: this is the animated elements top edge in screen space, where 0 is the top edge of the screen and 1 is the bottom edge.
13839 width: this is the animated elements width in screen space, where 0 is no width and 1 is the screens width.   14242 width: this is the animated elements width in screen space, where 0 is no width and 1 is the screens width.
13840 height: this is the animated elements height in screen space, where 0 is no height and 1 is the screens height.   14243 height: this is the animated elements height in screen space, where 0 is no height and 1 is the screens height.
13841 Command   14244 Command
13842 For presentation documents, The anim:command attribute of the <anim:command> element (see section 13.6.1) can have the following values:   14245 For presentation documents, The anim:command attribute of the <anim:command> element (see section 13.6.1) can have the following values:
13843 custom: the command is user defined.   14246 custom: the command is user defined.
13844 verb: the command targets an OLE2 shape. The parameter verb is the verb number that will be executed at the OLE2 shape.   14247 verb: the command targets an OLE2 shape. The parameter verb is the verb number that will be executed at the OLE2 shape.
13845 play: the command targets a media shape and starts its playback. The optional parameter media-time defines the playback start time in seconds. If this parameter is not set, playback starts at the last position.   14248 play: the command targets a media shape and starts its playback. The optional parameter media-time defines the playback start time in seconds. If this parameter is not set, playback starts at the last position.
13846 toggle-pause: the command targets a media shape and toggles its playback state from play to paused or from paused to play.   14249 toggle-pause: the command targets a media shape and toggles its playback state from play to paused or from paused to play.
13847 stop: the command targets a media shape and stops its playback.   14250 stop: the command targets a media shape and stops its playback.
13848 stop-audio: the command has no target and stops all running audio playback.   14251 stop-audio: the command has no target and stops all running audio playback.
13849 9.8.3SMIL Presentation Animation Attributes   14252 9.8.3SMIL Presentation Animation Attributes
13850 The attributes described in this section can be attached to the animation elements described in section 13.4, 13.5 and 13.6 if they are used inside presentation documents. They don't influence the actual animation behavior, but help office application user interfaces in presenting animation effect settings to the user.   14253 The attributes described in this section can be attached to the animation elements described in section 13.4, 13.5 and 13.6 if they are used inside presentation documents. They don't influence the actual animation behavior, but help office application user interfaces in presenting animation effect settings to the user.
13851 Node Type   14254 Node Type
13852 The presentation:node-type attribute specifies a node type for an animation element. This attribute does not alter the element's behavior but helps the application to quickly identify an elements purpose inside an animation element hierarchy. The value of this attribute can be:   14255 The presentation:node-type attribute specifies a node type for an animation element. This attribute does not alter the element's behavior but helps the application to quickly identify an elements purpose inside an animation element hierarchy. The value of this attribute can be:
13853 default: this animation element has no special meaning for the application. This is the default setting.   14256 default: this animation element has no special meaning for the application. This is the default setting.
13854 on-click: this animation element is the root element of an effect that starts with a user click.   14257 on-click: this animation element is the root element of an effect that starts with a user click.
13855 with-previous: this animation element is the root element of an effect that starts with the previous effect.   14258 with-previous: this animation element is the root element of an effect that starts with the previous effect.
13856 after-previous: this animation element is the root element of an effect that starts after the previous effect.   14259 after-previous: this animation element is the root element of an effect that starts after the previous effect.
13857 timing-root: this animation element is the root element for the animation of a page.   14260 timing-root: this animation element is the root element for the animation of a page.
13858 main-sequence:  this animation element is the root element for the main sequence of effects of a page   14261 main-sequence:  this animation element is the root element for the main sequence of effects of a page
13859 interactive-sequence: this animation element is the root element for a sequence of effects that are started when the user interactively clicks on a special element inside a page.   14262 interactive-sequence: this animation element is the root element for a sequence of effects that are started when the user interactively clicks on a special element inside a page.
13860 <define name="common-anim-attlist" combine="interleave">   14263 <define name="common-anim-attlist" combine="interleave">
13861         <optional>   14264         <optional>
13862                 <attribute name="presentation:node-type" a:defaultValue="default">   14265                 <attribute name="presentation:node-type" a:defaultValue="default">
13863                         <choice>   14266                         <choice>
13864                                 <value>default</value>   14267                                 <value>default</value>
13865                                 <value>on-click</value>   14268                                 <value>on-click</value>
13866                                 <value>with-previous</value>   14269                                 <value>with-previous</value>
13867                                 <value>after-previous</value>   14270                                 <value>after-previous</value>
13868                                 <value>timing-root</value>   14271                                 <value>timing-root</value>
13869                                 <value>main-sequence</value>   14272                                 <value>main-sequence</value>
13870                                 <value>interactive-sequence</value>   14273                                 <value>interactive-sequence</value>
13871                         </choice>   14274                         </choice>
13872                 </attribute>   14275                 </attribute>
13873         </optional>   14276         </optional>
13874 </define>   14277 </define>
13875 Preset Id   14278 Preset Id
13876 The presentation:preset-id attribute specifies the name of the preset that was used to create this animation element.   14279 The presentation:preset-id attribute specifies the name of the preset that was used to create this animation element.
13877 <define name="common-anim-attlist" combine="interleave">   14280 <define name="common-anim-attlist" combine="interleave">
13878         <optional>   14281         <optional>
13879                 <attribute name="presentation:preset-id">   14282                 <attribute name="presentation:preset-id">
13880                         <ref name="string"/>   14283                         <ref name="string"/>
13881                 </attribute>   14284                 </attribute>
13882         </optional>   14285         </optional>
13883 </define>   14286 </define>
13884 Preset Sub Type   14287 Preset Sub Type
13885 The presentation:preset-sub-type attribute specifies the sub type of the preset that was used to create this animation element.   14288 The presentation:preset-sub-type attribute specifies the sub type of the preset that was used to create this animation element.
13886 <define name="common-anim-attlist" combine="interleave">   14289 <define name="common-anim-attlist" combine="interleave">
13887         <optional>   14290         <optional>
13888                 <attribute name="presentation:preset-sub-type">   14291                 <attribute name="presentation:preset-sub-type">
13889                         <ref name="string"/>   14292                         <ref name="string"/>
13890                 </attribute>   14293                 </attribute>
13891         </optional>   14294         </optional>
13892 </define>   14295 </define>
13893 Preset Class   14296 Preset Class
13894 The presentation:preset-class attribute specifies the class of the preset that was used to create this animation element. The value of this attribute can be:   14297 The presentation:preset-class attribute specifies the class of the preset that was used to create this animation element. The value of this attribute can be:
13895 custom: the preset was a user defined one. This is the default setting.   14298 custom: the preset was a user defined one. This is the default setting.
13896 entrance: the preset was an entrance effect.   14299 entrance: the preset was an entrance effect.
13897 exit: the preset was an exit effect.   14300 exit: the preset was an exit effect.
13898 emphasis: the preset was an emphasis effect.   14301 emphasis: the preset was an emphasis effect.
13899 motion-path: the preset was a motion path.   14302 motion-path: the preset was a motion path.
13900 ole-action: the preset was an ole action.   14303 ole-action: the preset was an ole action.
13901 media-call: the preset was a media call.   14304 media-call: the preset was a media call.
13902 <define name="common-anim-attlist" combine="interleave">   14305 <define name="common-anim-attlist" combine="interleave">
13903         <optional>   14306         <optional>
13904                 <attribute name="presentation:preset-class" a:defaultValue="custom">   14307                 <attribute name="presentation:preset-class" a:defaultValue="custom">
13905                         <choice>   14308                         <choice>
13906                                 <value>custom</value>   14309                                 <value>custom</value>
13907                                 <value>entrance</value>   14310                                 <value>entrance</value>
13908                                 <value>exit</value>   14311                                 <value>exit</value>
13909                                 <value>emphasis</value>   14312                                 <value>emphasis</value>
13910                                 <value>motion-path</value>   14313                                 <value>motion-path</value>
13911                                 <value>ole-action</value>   14314                                 <value>ole-action</value>
13912                                 <value>media-call</value>   14315                                 <value>media-call</value>
13913                         </choice>   14316                         </choice>
13914                 </attribute>   14317                 </attribute>
13915         </optional>   14318         </optional>
13916 </define>   14319 </define>
13917 Master Element   14320 Master Element
13918 The presentation:master-element attribute specifies the id of an animation element. Office application user interfaces may only display animation elements that don't have a  presentation:master-element attribute, and may consider the ones that have a presentation:master-element to be a part of the animation element that is referenced.   14321 The presentation:master-element attribute specifies the id of an animation element. Office application user interfaces may only display animation elements that don't have a  presentation:master-element attribute, and may consider the ones that have a presentation:master-element to be a part of the animation element that is referenced.
13919 <define name="common-anim-attlist" combine="interleave">   14322 <define name="common-anim-attlist" combine="interleave">
13920         <optional>   14323         <optional>
13921                 <attribute name="presentation:master-element">   14324                 <attribute name="presentation:master-element">
13922                         <ref name="IDREF"/>   14325                         <ref name="IDREF"/>
13923                 </attribute>   14326                 </attribute>
13924         </optional>   14327         </optional>
13925 </define>   14328 </define>
13926 Group Id   14329 Group Id
13927 The presentation:group-id attribute specifies a group id. This id can be used to group animation elements within the user interface, where a group consists of all animation elements that have the same group id. This can be used for instance to group the animation elements that animate the paragraphs of a single shape.   14330 The presentation:group-id attribute specifies a group id. This id can be used to group animation elements within the user interface, where a group consists of all animation elements that have the same group id. This can be used for instance to group the animation elements that animate the paragraphs of a single shape.
13928 <define name="common-anim-attlist" combine="interleave">   14331 <define name="common-anim-attlist" combine="interleave">
13929         <optional>   14332         <optional>
13930                 <attribute name="presentation:group-id">   14333                 <attribute name="presentation:group-id">
13931                         <ref name="string"/>   14334                         <ref name="string"/>
13932                 </attribute>   14335                 </attribute>
13933         </optional>   14336         </optional>
13934 </define>   14337 </define>
13935 9.9Presentation Events   14338 9.9Presentation Events
13936 Many objects inside a presentation document support special presentation events. For example, a user can advance the presentation one frame when he clicks on an object with a corresponding event. Presentation events are contained with a graphic object's event listener table. See section 9.2.20 for details. <> 14339 Many objects inside a presentation document support special presentation events. For example, a user can advance the presentation one frame when he clicks on an object with a corresponding event. Presentation events are contained with a graphic object's event listener table. See section 9.2.21 for details.
13937 <define name="presentation-event-listener"> = 14340 <define name="presentation-event-listener">
13938         <element name="presentation:event-listener">   14341         <element name="presentation:event-listener">
13939                 <ref name="presentation-event-listener-attlist"/>   14342                 <ref name="presentation-event-listener-attlist"/>
13940                 <optional>   14343                 <optional>
13941                         <ref name="presentation-sound"/>   14344                         <ref name="presentation-sound"/>
13942                 </optional>   14345                 </optional>
13943         </element>   14346         </element>
13944 </define>   14347 </define>
13945 Event Name   14348 Event Name
13946 The script:event-name attribute specifies the name of the event. See section 12.4.1 for details.   14349 The script:event-name attribute specifies the name of the event. See section 12.4.1 for details.
13947 <define name="presentation-event-listener-attlist" combine="interleave">   14350 <define name="presentation-event-listener-attlist" combine="interleave">
13948         <attribute name="script:event-name">   14351         <attribute name="script:event-name">
13949                 <ref name="string"/>   14352                 <ref name="string"/>
13950         </attribute>   14353         </attribute>
13951 </define>   14354 </define>
13952 Event Action   14355 Event Action
13953 The kind of action that is executed when the event is triggered can be selected with the presentation:action attribute. The following actions are available:   14356 The kind of action that is executed when the event is triggered can be selected with the presentation:action attribute. The following actions are available:
13954 none: no action is performed when this event is triggered.   14357 none: no action is performed when this event is triggered.
13955 previous-page: the presentation jumps to the previous page.   14358 previous-page: the presentation jumps to the previous page.
13956 next-page: the presentation jumps to the next page.   14359 next-page: the presentation jumps to the next page.
13957 first-page: the presentation jumps to the first page of the current document.   14360 first-page: the presentation jumps to the first page of the current document.
13958 last-page: the presentation jumps to the last page of the current document.   14361 last-page: the presentation jumps to the last page of the current document.
13959 hide: the object that contains this event is hidden if the event is triggered.   14362 hide: the object that contains this event is hidden if the event is triggered.
13960 stop: if a slide show is active, it will be stopped.   14363 stop: if a slide show is active, it will be stopped.
13961 execute: another application is lunched when this event is triggered. The application can be set with an xlink.   14364 execute: another application is lunched when this event is triggered. The application can be set with an xlink.
13962 show: the target of an URL is opened when this event is triggered. The URL can be set with an xlink.   14365 show: the target of an URL is opened when this event is triggered. The URL can be set with an xlink.
13963 verb: if the object that contains this event supports the execution of [OLE] verbs, the verb with the id set in the presentation:verb attribute is executed.   14366 verb: if the object that contains this event supports the execution of [OLE] verbs, the verb with the id set in the presentation:verb attribute is executed.
13964 fade-out: the object that contains this event is faded out when this event is triggered. The attributes presentation:effect,  presentation:direction, presentation:speed and  presentation:start-scale can be used to set the effect.   14367 fade-out: the object that contains this event is faded out when this event is triggered. The attributes presentation:effect,  presentation:direction, presentation:speed and  presentation:start-scale can be used to set the effect.
13965 sound: an audio effect is started when the effect is triggered. The audio effect is described by a <presentation:sound> child element.   14368 sound: an audio effect is started when the effect is triggered. The audio effect is described by a <presentation:sound> child element.
13966 <define name="presentation-event-listener-attlist" combine="interleave">   14369 <define name="presentation-event-listener-attlist" combine="interleave">
13967         <attribute name="presentation:action">   14370         <attribute name="presentation:action">
13968                 <choice>   14371                 <choice>
13969                         <value>none</value>   14372                         <value>none</value>
13970                         <value>previous-page</value>   14373                         <value>previous-page</value>
13971                         <value>next-page</value>   14374                         <value>next-page</value>
13972                         <value>first-page</value>   14375                         <value>first-page</value>
13973                         <value>last-page</value>   14376                         <value>last-page</value>
13974                         <value>hide</value>   14377                         <value>hide</value>
13975                         <value>stop</value>   14378                         <value>stop</value>
13976                         <value>execute</value>   14379                         <value>execute</value>
13977                         <value>show</value>   14380                         <value>show</value>
13978                         <value>verb</value>   14381                         <value>verb</value>
13979                         <value>fade-out</value>   14382                         <value>fade-out</value>
13980                         <value>sound</value>   14383                         <value>sound</value>
13981                 </choice>   14384                 </choice>
13982         </attribute>   14385         </attribute>
13983 </define>   14386 </define>
13984 Event Effect   14387 Event Effect
13985 See presentation:effect attribute in section 9.7.2.   14388 See presentation:effect attribute in section 9.7.2.
13986 <define name="presentation-event-listener-attlist" combine="interleave">   14389 <define name="presentation-event-listener-attlist" combine="interleave">
13987         <optional>   14390         <optional>
13988                 <attribute name="presentation:effect" a:defaultValue="none">   14391                 <attribute name="presentation:effect" a:defaultValue="none">
13989                         <ref name="presentationEffects"/>   14392                         <ref name="presentationEffects"/>
13990                 </attribute>   14393                 </attribute>
13991         </optional>   14394         </optional>
13992 </define>   14395 </define>
13993 Effect Direction   14396 Effect Direction
13994 See presentation:direction attribute in section 9.7.2.   14397 See presentation:direction attribute in section 9.7.2.
13995 <define name="presentation-event-listener-attlist" combine="interleave">   14398 <define name="presentation-event-listener-attlist" combine="interleave">
13996         <optional>   14399         <optional>
13997                 <attribute name="presentation:direction" a:defaultValue="none">   14400                 <attribute name="presentation:direction" a:defaultValue="none">
13998                         <ref name="presentationEffectDirections"/>   14401                         <ref name="presentationEffectDirections"/>
13999                 </attribute>   14402                 </attribute>
14000         </optional>   14403         </optional>
14001 </define>   14404 </define>
14002 Effect Speed   14405 Effect Speed
14003 See presentation:speed attribute in section 9.7.2.   14406 See presentation:speed attribute in section 9.7.2.
14004 <define name="presentation-event-listener-attlist" combine="interleave">   14407 <define name="presentation-event-listener-attlist" combine="interleave">
14005         <optional>   14408         <optional>
14006                 <attribute name="presentation:speed" a:defaultValue="medium">   14409                 <attribute name="presentation:speed" a:defaultValue="medium">
14007                         <ref name="presentationSpeeds"/>   14410                         <ref name="presentationSpeeds"/>
14008                 </attribute>   14411                 </attribute>
14009         </optional>   14412         </optional>
14010 </define>   14413 </define>
14011 Start Scale   14414 Start Scale
14012 See presentation:start-scale attribute in section 9.7.2.   14415 See presentation:start-scale attribute in section 9.7.2.
14013 <define name="presentation-event-listener-attlist" combine="interleave">   14416 <define name="presentation-event-listener-attlist" combine="interleave">
14014         <optional>   14417         <optional>
14015                 <attribute name="presentation:start-scale" a:defaultValue="100%">   14418                 <attribute name="presentation:start-scale" a:defaultValue="100%">
14016                         <ref name="percent"/>   14419                         <ref name="percent"/>
14017                 </attribute>   14420                 </attribute>
14018         </optional>   14421         </optional>
14019 </define>   14422 </define>
14020 Link   14423 Link
14021 Depending on the action selected by the presentation:action attribute, this xlink:href attribute either selects a document bookmark or an application.   14424 Depending on the action selected by the presentation:action attribute, this xlink:href attribute either selects a document bookmark or an application.
14022 <define name="presentation-event-listener-attlist" combine="interleave">   14425 <define name="presentation-event-listener-attlist" combine="interleave">
14023         <optional>   14426         <optional>
14024                 <attribute name="xlink:href">   14427                 <attribute name="xlink:href">
14025                         <ref name="anyURI"/>   14428                         <ref name="anyURI"/>
14026                 </attribute>   14429                 </attribute>
14027         </optional>   14430         </optional>
14028         <optional>   14431         <optional>
14029                 <attribute name="xlink:type" a:defaultValue="simple">   14432                 <attribute name="xlink:type" a:defaultValue="simple">
14030                         <choice>   14433                         <choice>
14031                                 <value>simple</value>   14434                                 <value>simple</value>
14032                         </choice>   14435                         </choice>
14033                 </attribute>   14436                 </attribute>
14034         </optional>   14437         </optional>
14035         <optional>   14438         <optional>
14036                 <attribute name="xlink:show" a:defaultValue="embed">   14439                 <attribute name="xlink:show" a:defaultValue="embed">
14037                         <choice>   14440                         <choice>
14038                                 <value>embed</value>   14441                                 <value>embed</value>
14039                         </choice>   14442                         </choice>
14040                 </attribute>   14443                 </attribute>
14041         </optional>   14444         </optional>
14042         <optional>   14445         <optional>
14043                 <attribute name="xlink:actuate" a:defaultValue="onRequest">   14446                 <attribute name="xlink:actuate" a:defaultValue="onRequest">
14044                         <choice>   14447                         <choice>
14045                                 <value>onRequest</value>   14448                                 <value>onRequest</value>
14046                         </choice>   14449                         </choice>
14047                 </attribute>   14450                 </attribute>
14048         </optional>   14451         </optional>
14049 </define>   14452 </define>
14050 Verb   14453 Verb
14051 The [OLE] verb defined by the presentation:verb attribute is executed for event listeners of type verb at the object that contains this event.   14454 The [OLE] verb defined by the presentation:verb attribute is executed for event listeners of type verb at the object that contains this event.
14052 <define name="presentation-event-listener-attlist" combine="interleave">   14455 <define name="presentation-event-listener-attlist" combine="interleave">
14053         <optional>   14456         <optional>
14054                 <attribute name="presentation:verb">   14457                 <attribute name="presentation:verb">
14055                         <ref name="nonNegativeInteger"/>   14458                         <ref name="nonNegativeInteger"/>
14056                 </attribute>   14459                 </attribute>
14057         </optional>   14460         </optional>
14058 </define>   14461 </define>
14059 9.10Presentation Text Fields   14462 9.10Presentation Text Fields
14060 This section describes text fields that are specific to the text of drawing shapes that are contained presentations.   14463 This section describes text fields that are specific to the text of drawing shapes that are contained presentations.
14061 9.10.1Header Field   14464 9.10.1Header Field
14062 Header fields display a header text specified in a header field declaration (see section 9.11.2). Which header field declaration is used is specified by the presentation:use-header-name attribute of the draw page where the field occurs. If the field is contained in a presentation shape inside a master page (see section 9.6.1), then the presentation:use-header-name attribute of the drawing page for which the drawing shape is displayed is used (see section 9.1.4).   14465 Header fields display a header text specified in a header field declaration (see section 9.11.2). Which header field declaration is used is specified by the presentation:use-header-name attribute of the draw page where the field occurs. If the field is contained in a presentation shape inside a master page (see section 9.6.1), then the presentation:use-header-name attribute of the drawing page for which the drawing shape is displayed is used (see section 9.1.4).
14063 This field is mainly used inside master pages. Since its value may differ for the individual drawing pages that make use of a master page, the current field value is not available.   14466 This field is mainly used inside master pages. Since its value may differ for the individual drawing pages that make use of a master page, the current field value is not available.
14064 <define name="paragraph-content" combine="choice">   14467 <define name="paragraph-content" combine="choice">
14065         <element name="presentation:header">   14468         <element name="presentation:header">
14066                 <empty/>   14469                 <empty/>
14067         </element>   14470         </element>
14068 </define>   14471 </define>
14069 9.10.2Footer Field   14472 9.10.2Footer Field
14070 Footer fields display a footer text specified in a footer field declaration (see section 9.11.3). Which footer field declaration is used is specified by the presentation:use-footer-name attribute of the draw page where the field occurs. If the field is contained in a presentation drawing shape inside a master page (see section 9.6.1), then the presentation:use-footer-name attribute of the drawing page for which the drawing shape is displayed is used (see section 9.1.4).   14473 Footer fields display a footer text specified in a footer field declaration (see section 9.11.3). Which footer field declaration is used is specified by the presentation:use-footer-name attribute of the draw page where the field occurs. If the field is contained in a presentation drawing shape inside a master page (see section 9.6.1), then the presentation:use-footer-name attribute of the drawing page for which the drawing shape is displayed is used (see section 9.1.4).
14071 This field is mainly used inside master pages. Since its value may differ for the individual drawing pages that make use of a master page, the current field value is not available.   14474 This field is mainly used inside master pages. Since its value may differ for the individual drawing pages that make use of a master page, the current field value is not available.
14072 <define name="paragraph-content" combine="choice">   14475 <define name="paragraph-content" combine="choice">
14073         <element name="presentation:footer">   14476         <element name="presentation:footer">
14074                 <empty/>   14477                 <empty/>
14075         </element>   14478         </element>
14076 </define>   14479 </define>
14077 9.10.3Date and Time Field   14480 9.10.3Date and Time Field
14078 Date and time fields display a date/time text as specified in the date/time field declaration(see section 9.11.4). Which date-time field declaration is used is specified by the presentation:use-date-time-name attribute of the draw page where the field occurs. If the field is contained in a presentation drawing shape inside a master page (see section 9.6.1), then the presentation:use-date-time-name attribute of the drawing page for which the drawing shape is displayed is used (see section 9.1.4).   14481 Date and time fields display a date/time text as specified in the date/time field declaration(see section 9.11.4). Which date-time field declaration is used is specified by the presentation:use-date-time-name attribute of the draw page where the field occurs. If the field is contained in a presentation drawing shape inside a master page (see section 9.6.1), then the presentation:use-date-time-name attribute of the drawing page for which the drawing shape is displayed is used (see section 9.1.4).
14079 This field is mainly used inside master pages. Since its value may differ for the individual drawing pages that make use of a master page, the current field value is not available.   14482 This field is mainly used inside master pages. Since its value may differ for the individual drawing pages that make use of a master page, the current field value is not available.
14080 <define name="paragraph-content" combine="choice">   14483 <define name="paragraph-content" combine="choice">
14081         <element name="presentation:date-time">   14484         <element name="presentation:date-time">
14082                 <empty/>   14485                 <empty/>
14083         </element>   14486         </element>
14084 </define>   14487 </define>
14085 9.11Presentation Document Content   14488 9.11Presentation Document Content
14086 9.11.1Presentation Declarations   14489 9.11.1Presentation Declarations
14087 Some presentation specific text fields need per-document declarations before they can be used. For example, header fields require that the header text that is displayed is declared separately. These declarations are collected at the beginning of a text document.   14490 Some presentation specific text fields need per-document declarations before they can be used. For example, header fields require that the header text that is displayed is declared separately. These declarations are collected at the beginning of a text document.
14088 <define name="presentation-decls">   14491 <define name="presentation-decls">
14089         <zeroOrMore>   14492         <zeroOrMore>
14090                 <ref name="presentation-decl"/>   14493                 <ref name="presentation-decl"/>
14091         </zeroOrMore>   14494         </zeroOrMore>
14092 </define>   14495 </define>
14093 9.11.2Header field declaration   14496 9.11.2Header field declaration
14094 The <presentation:header-decl> element specifies the text of a header field. See section 9.10.1 for details.   14497 The <presentation:header-decl> element specifies the text of a header field. See section 9.10.1 for details.
14095 <define name="presentation-decl" combine="choice">   14498 <define name="presentation-decl" combine="choice">
14096         <element name="presentation:header-decl">   14499         <element name="presentation:header-decl">
14097                 <ref name="presentation-header-decl-attlist"/>   14500                 <ref name="presentation-header-decl-attlist"/>
14098                 <text/>   14501                 <text/>
14099         </element>   14502         </element>
14100 </define>   14503 </define>
14101 Name   14504 Name
14102 The presentation:name attribute specifies the name of the header declaration.   14505 The presentation:name attribute specifies the name of the header declaration.
14103 <define name="presentation-header-decl-attlist" combine="interleave">   14506 <define name="presentation-header-decl-attlist" combine="interleave">
14104         <attribute name="presentation:name">   14507         <attribute name="presentation:name">
14105                 <ref name="string"/>   14508                 <ref name="string"/>
14106         </attribute>   14509         </attribute>
14107 </define>   14510 </define>
14108 9.11.3Footer field declaration   14511 9.11.3Footer field declaration
14109 The <presentation:footer-decl> element specifies the text of a footer field. See section 9.10.2 for details.   14512 The <presentation:footer-decl> element specifies the text of a footer field. See section 9.10.2 for details.
14110 <define name="presentation-decl" combine="choice">   14513 <define name="presentation-decl" combine="choice">
14111         <element name="presentation:footer-decl">   14514         <element name="presentation:footer-decl">
14112                 <ref name="presentation-footer-decl-attlist"/>   14515                 <ref name="presentation-footer-decl-attlist"/>
14113                 <text/>   14516                 <text/>
14114         </element>   14517         </element>
14115 </define>   14518 </define>
14116 Name   14519 Name
14117 The presentation:name attribute specifies the name of the footer declaration.   14520 The presentation:name attribute specifies the name of the footer declaration.
14118 <define name="presentation-footer-decl-attlist" combine="interleave">   14521 <define name="presentation-footer-decl-attlist" combine="interleave">
14119         <attribute name="presentation:name">   14522         <attribute name="presentation:name">
14120                 <ref name="string"/>   14523                 <ref name="string"/>
14121         </attribute>   14524         </attribute>
14122 </define>   14525 </define>
14123 9.11.4Date and Time field declaration   14526 9.11.4Date and Time field declaration
14124 The <presentation:date-time-decl> element specifies the text of a date-time field. See section 9.10.3 for details.   14527 The <presentation:date-time-decl> element specifies the text of a date-time field. See section 9.10.3 for details.
14125 <define name="presentation-decl" combine="choice">   14528 <define name="presentation-decl" combine="choice">
14126         <element name="presentation:date-time-decl">   14529         <element name="presentation:date-time-decl">
14127                 <ref name="presentation-date-time-decl-attlist"/>   14530                 <ref name="presentation-date-time-decl-attlist"/>
14128                 <text/>   14531                 <text/>
14129         </element>   14532         </element>
14130 </define>   14533 </define>
14131 Name   14534 Name
14132 The presentation:name attribute specifies the name of the date-time declaration.   14535 The presentation:name attribute specifies the name of the date-time declaration.
14133 <define name="presentation-date-time-decl-attlist" combine="interleave">   14536 <define name="presentation-date-time-decl-attlist" combine="interleave">
14134         <attribute name="presentation:name">   14537         <attribute name="presentation:name">
14135                 <ref name="string"/>   14538                 <ref name="string"/>
14136         </attribute>   14539         </attribute>
14137 </define>   14540 </define>
14138 Source   14541 Source
14139 The presentation:source attribute specifies whether the current date/time or the fixed content of the the field declaration is displayed.   14542 The presentation:source attribute specifies whether the current date/time or the fixed content of the the field declaration is displayed.
14140 <define name="presentation-date-time-decl-attlist" combine="interleave">   14543 <define name="presentation-date-time-decl-attlist" combine="interleave">
14141         <attribute name="presentation:source">   14544         <attribute name="presentation:source">
14142                 <choice>   14545                 <choice>
14143                         <value>fixed</value>   14546                         <value>fixed</value>
14144                         <value>current-date</value>   14547                         <value>current-date</value>
14145                 </choice>   14548                 </choice>
14146         </attribute>   14549         </attribute>
14147 </define>   14550 </define>
14148 Date and time formatting style   14551 Date and time formatting style
14149 The date style referenced by the style:data-style-name attribute is used to format the date and time of the presentation:date-time fields if the field is not fixed.   14552 The date style referenced by the style:data-style-name attribute is used to format the date and time of the presentation:date-time fields if the field is not fixed.
14150 <define name="presentation-date-time-decl-attlist" combine="interleave">   14553 <define name="presentation-date-time-decl-attlist" combine="interleave">
14151         <optional>   14554         <optional>
14152                 <attribute name="style:data-style-name">   14555                 <attribute name="style:data-style-name">
14153                         <ref name="styleNameRef"/>   14556                         <ref name="styleNameRef"/>
14154                 </attribute>   14557                 </attribute>
14155         </optional>   14558         </optional>
14156 </define>   14559 </define>
14157 9.11.5Presentation Settings   14560 9.11.5Presentation Settings
14158 The settings for a presentation are stored in the element <presentation:settings> inside an <office:presentation> element. These settings affect the behavior if the document is displayed in a presentation.   14561 The settings for a presentation are stored in the element <presentation:settings> inside an <office:presentation> element. These settings affect the behavior if the document is displayed in a presentation.
14159 <define name="presentation-settings">   14562 <define name="presentation-settings">
14160         <optional>   14563         <optional>
14161                 <element name="presentation:settings">   14564                 <element name="presentation:settings">
14162                         <ref name="presentation-settings-attlist"/>   14565                         <ref name="presentation-settings-attlist"/>
14163                         <zeroOrMore>   14566                         <zeroOrMore>
14164                                 <ref name="presentation-show"/>   14567                                 <ref name="presentation-show"/>
14165                         </zeroOrMore>   14568                         </zeroOrMore>
14166                 </element>   14569                 </element>
14167         </optional>   14570         </optional>
14168 </define>   14571 </define>
14169 The attributes that may be associated with the <presentation:settings> element are:   14572 The attributes that may be associated with the <presentation:settings> element are:
14170 Start page   14573 Start page
14171 Show   14574 Show
14172 Full screen   14575 Full screen
14173 Endless   14576 Endless
14174 Pause   14577 Pause
14175 Show logo   14578 Show logo
14176 Force manual   14579 Force manual
14177 Mouse visible   14580 Mouse visible
14178 Mouse as pen   14581 Mouse as pen
14179 Start with navigator   14582 Start with navigator
14180 Animation   14583 Animation
14181 Transition on click   14584 Transition on click
14182 Stay on top   14585 Stay on top
14183 Start page   14586 Start page
14184 The attribute presentation:start-page specifies the name of the page on which the presentation starts. If this attribute is set, it overrides the presentation:show attribute.   14587 The attribute presentation:start-page specifies the name of the page on which the presentation starts. If this attribute is set, it overrides the presentation:show attribute.
14185 <define name="presentation-settings-attlist" combine="interleave">   14588 <define name="presentation-settings-attlist" combine="interleave">
14186         <optional>   14589         <optional>
14187                 <attribute name="presentation:start-page">   14590                 <attribute name="presentation:start-page">
14188                         <ref name="string"/>   14591                         <ref name="string"/>
14189                 </attribute>   14592                 </attribute>
14190         </optional>   14593         </optional>
14191 </define>   14594 </define>
14192 Show   14595 Show
14193 The attribute presentation:show specifies the name of a show definition (see section 9.11.6) that is used for the presentation. If the presentation:start-page attribute is set, it overrides the value of this attribute.   14596 The attribute presentation:show specifies the name of a show definition (see section 9.11.6) that is used for the presentation. If the presentation:start-page attribute is set, it overrides the value of this attribute.
14194 <define name="presentation-settings-attlist" combine="interleave">   14597 <define name="presentation-settings-attlist" combine="interleave">
14195         <optional>   14598         <optional>
14196                 <attribute name="presentation:show">   14599                 <attribute name="presentation:show">
14197                         <ref name="string"/>   14600                         <ref name="string"/>
14198                 </attribute>   14601                 </attribute>
14199         </optional>   14602         </optional>
14200 </define>   14603 </define>
14201 Full Screen   14604 Full Screen
14202 The attribute presentation:full-screen determines whether the presentation is displayed in full screen mode or in a window.   14605 The attribute presentation:full-screen determines whether the presentation is displayed in full screen mode or in a window.
14203 <define name="presentation-settings-attlist" combine="interleave">   14606 <define name="presentation-settings-attlist" combine="interleave">
14204         <optional>   14607         <optional>
14205                 <attribute name="presentation:full-screen" a:defaultValue="true">   14608                 <attribute name="presentation:full-screen" a:defaultValue="true">
14206                         <ref name="boolean"/>   14609                         <ref name="boolean"/>
14207                 </attribute>   14610                 </attribute>
14208         </optional>   14611         </optional>
14209 </define>   14612 </define>
14210 Endless   14613 Endless
14211 The attribute presentation:endless switches indefinite repetition of a presentation on and off.   14614 The attribute presentation:endless switches indefinite repetition of a presentation on and off.
14212 <define name="presentation-settings-attlist" combine="interleave">   14615 <define name="presentation-settings-attlist" combine="interleave">
14213         <optional>   14616         <optional>
14214                 <attribute name="presentation:endless" a:defaultValue="false">   14617                 <attribute name="presentation:endless" a:defaultValue="false">
14215                         <ref name="boolean"/>   14618                         <ref name="boolean"/>
14216                 </attribute>   14619                 </attribute>
14217         </optional>   14620         </optional>
14218 </define>   14621 </define>
14219 Pause   14622 Pause
14220 If a presentation is repeated indefinitely, the attribute presentation:pause specifies a time duration for displaying a pause screen before the presentation is played again. If this attribute is not set or has a value of 0, a pause screen is not displayed in endless mode. The value of this attribute must conform to the time period format described in §3.2.6 of [xmlschema-2].   14623 If a presentation is repeated indefinitely, the attribute presentation:pause specifies a time duration for displaying a pause screen before the presentation is played again. If this attribute is not set or has a value of 0, a pause screen is not displayed in endless mode. The value of this attribute must conform to the time period format described in §3.2.6 of [xmlschema-2].
14221 <define name="presentation-settings-attlist" combine="interleave">   14624 <define name="presentation-settings-attlist" combine="interleave">
14222         <optional>   14625         <optional>
14223                 <attribute name="presentation:pause">   14626                 <attribute name="presentation:pause">
14224                         <ref name="duration"/>   14627                         <ref name="duration"/>
14225                 </attribute>   14628                 </attribute>
14226         </optional>   14629         </optional>
14227 </define>   14630 </define>
14228 Show Logo   14631 Show Logo
14229 The attribute presentation:show-logo specifies whether or not a presentation application shows its logo on the pause screen.   14632 The attribute presentation:show-logo specifies whether or not a presentation application shows its logo on the pause screen.
14230 <define name="presentation-settings-attlist" combine="interleave">   14633 <define name="presentation-settings-attlist" combine="interleave">
14231         <optional>   14634         <optional>
14232                 <attribute name="presentation:show-logo" a:defaultValue="false">   14635                 <attribute name="presentation:show-logo" a:defaultValue="false">
14233                         <ref name="boolean"/>   14636                         <ref name="boolean"/>
14234                 </attribute>   14637                 </attribute>
14235         </optional>   14638         </optional>
14236 </define>   14639 </define>
14237 Force Manual   14640 Force Manual
14238 If set, the attribute presentation:force-manual overrides all  presentation:transition-type properties that are specified within a presentation page (see section 15.36.1) and sets it to manual.   14641 If set, the attribute presentation:force-manual overrides all  presentation:transition-type properties that are specified within a presentation page (see section 15.36.1) and sets it to manual.
14239 <define name="presentation-settings-attlist" combine="interleave">   14642 <define name="presentation-settings-attlist" combine="interleave">
14240         <optional>   14643         <optional>
14241                 <attribute name="presentation:force-manual" a:defaultValue="false">   14644                 <attribute name="presentation:force-manual" a:defaultValue="false">
14242                         <ref name="boolean"/>   14645                         <ref name="boolean"/>
14243                 </attribute>   14646                 </attribute>
14244         </optional>   14647         </optional>
14245 </define>   14648 </define>
14246 Mouse Visible   14649 Mouse Visible
14247 The attribute presentation:mouse-visible specifies whether or not the mouse pointer is visible during a presentation.   14650 The attribute presentation:mouse-visible specifies whether or not the mouse pointer is visible during a presentation.
14248 <define name="presentation-settings-attlist" combine="interleave">   14651 <define name="presentation-settings-attlist" combine="interleave">
14249         <optional>   14652         <optional>
14250                 <attribute name="presentation:mouse-visible" a:defaultValue="true">   14653                 <attribute name="presentation:mouse-visible" a:defaultValue="true">
14251                         <ref name="boolean"/>   14654                         <ref name="boolean"/>
14252                 </attribute>   14655                 </attribute>
14253         </optional>   14656         </optional>
14254 </define>   14657 </define>
14255 Mouse As Pen   14658 Mouse As Pen
14256 The attribute presentation:mouse-as-pen specifies if the mouse pointer is displayed as a pen or a pointer. If the mouse is displayed as a pen the user can draw sketches on the pages during a presentation.   14659 The attribute presentation:mouse-as-pen specifies if the mouse pointer is displayed as a pen or a pointer. If the mouse is displayed as a pen the user can draw sketches on the pages during a presentation.
14257 <define name="presentation-settings-attlist" combine="interleave">   14660 <define name="presentation-settings-attlist" combine="interleave">
14258         <optional>   14661         <optional>
14259                 <attribute name="presentation:mouse-as-pen" a:defaultValue="false">   14662                 <attribute name="presentation:mouse-as-pen" a:defaultValue="false">
14260                         <ref name="boolean"/>   14663                         <ref name="boolean"/>
14261                 </attribute>   14664                 </attribute>
14262         </optional>   14665         </optional>
14263 </define>   14666 </define>
14264 Start With Navigator   14667 Start With Navigator
14265 The attribute presentation:start-with-navigator specifies whether or not the navigator window is initially displayed during a presentation.   14668 The attribute presentation:start-with-navigator specifies whether or not the navigator window is initially displayed during a presentation.
14266 <define name="presentation-settings-attlist" combine="interleave">   14669 <define name="presentation-settings-attlist" combine="interleave">
14267         <optional>   14670         <optional>
14268                 <attribute name="presentation:start-with-navigator"   14671                 <attribute name="presentation:start-with-navigator"
14269                                    a:defaultValue="false">   14672                                    a:defaultValue="false">
14270                         <ref name="boolean"/>   14673                         <ref name="boolean"/>
14271                 </attribute>   14674                 </attribute>
14272         </optional>   14675         </optional>
14273 </define>   14676 </define>
14274 Animations   14677 Animations
14275 The attribute presentation:animations enables or disables the playback of bitmap animations during a presentation.   14678 The attribute presentation:animations enables or disables the playback of bitmap animations during a presentation.
14276 <define name="presentation-settings-attlist" combine="interleave">   14679 <define name="presentation-settings-attlist" combine="interleave">
14277         <optional>   14680         <optional>
14278                 <attribute name="presentation:animations" a:defaultValue="enabled">   14681                 <attribute name="presentation:animations" a:defaultValue="enabled">
14279                         <choice>   14682                         <choice>
14280                                 <value>enabled</value>   14683                                 <value>enabled</value>
14281                                 <value>disabled</value>   14684                                 <value>disabled</value>
14282                         </choice>   14685                         </choice>
14283                 </attribute>   14686                 </attribute>
14284         </optional>   14687         </optional>
14285 </define>   14688 </define>
14286 Transition On Click   14689 Transition On Click
14287 The attribute presentation:transition-on-click enables or disables a manual transition by a mouse click on the slide during a presentation.   14690 The attribute presentation:transition-on-click enables or disables a manual transition by a mouse click on the slide during a presentation.
14288 <define name="presentation-settings-attlist" combine="interleave">   14691 <define name="presentation-settings-attlist" combine="interleave">
14289         <optional>   14692         <optional>
14290                 <attribute name="presentation:transition-on-click"   14693                 <attribute name="presentation:transition-on-click"
14291                                    a:defaultValue="enabled">   14694                                    a:defaultValue="enabled">
14292                         <choice>   14695                         <choice>
14293                                 <value>enabled</value>   14696                                 <value>enabled</value>
14294                                 <value>disabled</value>   14697                                 <value>disabled</value>
14295                         </choice>   14698                         </choice>
14296                 </attribute>   14699                 </attribute>
14297         </optional>   14700         </optional>
14298 </define>   14701 </define>
14299 Stay On Top   14702 Stay On Top
14300 If the attribute presentation:stay-on-top is set to true, the presentation window is displayed on top of other windows during a presentation.   14703 If the attribute presentation:stay-on-top is set to true, the presentation window is displayed on top of other windows during a presentation.
14301 <define name="presentation-settings-attlist" combine="interleave">   14704 <define name="presentation-settings-attlist" combine="interleave">
14302         <optional>   14705         <optional>
14303                 <attribute name="presentation:stay-on-top" a:defaultValue="false">   14706                 <attribute name="presentation:stay-on-top" a:defaultValue="false">
14304                         <ref name="boolean"/>   14707                         <ref name="boolean"/>
14305                 </attribute>   14708                 </attribute>
14306         </optional>   14709         </optional>
14307 </define>   14710 </define>
    -+ 14711 Show End-Of-Presentation Slide
      14712 The attribute presentation:show-end-of-presentation-slide defines whether the presentation application should show an additional slide at the end of the presentation, telling the user that the presentation is finished.
      14713 This slides content itself is not defined within the document, but is generated by the application automatically.
      14714 <define name="presentation-settings-attlist" combine="interleave">
      14715         <optional>
      14716                 <attribute name="presentation:show-end-of-presentation-slide"
      14717                                    a:defaultValue="true">
      14718                         <ref name="boolean"/>
      14719                 </attribute>
      14720         </optional>
      14721 </define>
14308 9.11.6Show Definitions = 14722 9.11.6Show Definitions
14309 A presentation document can contain one or more <presentation:show> elements. A <presentation:show> element customizes the order in which the pages are displayed during a presentation. It can be also used to omit pages from the presentation or to repeat pages during the presentation.   14723 A presentation document can contain one or more <presentation:show> elements. A <presentation:show> element customizes the order in which the pages are displayed during a presentation. It can be also used to omit pages from the presentation or to repeat pages during the presentation.
14310 This element is optional.   14724 This element is optional.
14311 <define name="presentation-show">   14725 <define name="presentation-show">
14312         <element name="presentation:show">   14726         <element name="presentation:show">
14313                 <ref name="presentation-show-attlist"/>   14727                 <ref name="presentation-show-attlist"/>
14314                 <empty/>   14728                 <empty/>
14315         </element>   14729         </element>
14316 </define>   14730 </define>
14317 The attributes that may be associated with the <presentation:show> element are:   14731 The attributes that may be associated with the <presentation:show> element are:
14318 Name   14732 Name
14319 Pages   14733 Pages
14320 Name   14734 Name
14321 The attribute presentation:name uniquely identifies a <presentation:show> element.   14735 The attribute presentation:name uniquely identifies a <presentation:show> element.
14322 <define name="presentation-show-attlist" combine="interleave">   14736 <define name="presentation-show-attlist" combine="interleave">
14323         <attribute name="presentation:name">   14737         <attribute name="presentation:name">
14324                 <ref name="string"/>   14738                 <ref name="string"/>
14325         </attribute>   14739         </attribute>
14326 </define>   14740 </define>
14327 Pages   14741 Pages
14328 The attribute presentation:pages contains a comma separated list of page names. The pages are displayed in the order in which they are listed during a presentation that uses this show. Pages can be included more than once.   14742 The attribute presentation:pages contains a comma separated list of page names. The pages are displayed in the order in which they are listed during a presentation that uses this show. Pages can be included more than once.
14329 <define name="presentation-show-attlist" combine="interleave">   14743 <define name="presentation-show-attlist" combine="interleave">
14330         <attribute name="presentation:pages"/>   14744         <attribute name="presentation:pages"/>
14331 </define>   14745 </define>
14332 10Chart Content   14746 10Chart Content
14333 This chapter describes the XML representation of chart content. It contains the following sections:   14747 This chapter describes the XML representation of chart content. It contains the following sections:
14334 Introduction to Chart Documents   14748 Introduction to Chart Documents
14335 Chart   14749 Chart
14336 Title, Subtitle and Footer   14750 Title, Subtitle and Footer
14337 Legend   14751 Legend
14338 Plot Area   14752 Plot Area
14339 Wall   14753 Wall
14340 Floor   14754 Floor
14341 Axis   14755 Axis
14342 Series   14756 Series
14343 Categories   14757 Categories
14344 Data Point   14758 Data Point
14345 Mean Value   14759 Mean Value
14346 Error Indicator   14760 Error Indicator
14347 Regression Curves   14761 Regression Curves
14348 10.1Introduction to Chart Documents   14762 10.1Introduction to Chart Documents
14349 Chart documents are always contained within other XML documents. There are two types of chart container documents:   14763 Chart documents are always contained within other XML documents. There are two types of chart container documents:
14350 Documents that do not provide data for the chart: The chart data is contained in a <table:table> element inside the <chart:chart> element.   14764 Documents that do not provide data for the chart: The chart data is contained in a <table:table> element inside the <chart:chart> element.
14351 Documents that provide data for the chart: The chart data may be contained in a <table:table> element in the parent document, for example, in a spreadsheet or text document.   14765 Documents that provide data for the chart: The chart data may be contained in a <table:table> element in the parent document, for example, in a spreadsheet or text document.
14352 The chart data is specified by the <chart:plot-area> element's table:cell-range-address attribute. The <chart:plot-area> element represents the visualization container of all data series  in the chart.   14766 The chart data is specified by the <chart:plot-area> element's table:cell-range-address attribute. The <chart:plot-area> element represents the visualization container of all data series  in the chart.
14353 10.2Chart   14767 10.2Chart
14354 The <chart:chart>  element represents an entire chart, including titles, a legend, and the graphical object that visualizes the underlying data called the plot area. The data underlying the chart is represented by a table element. This element may also exist for embedded charts that get the data from the container document. In this case the chart can be rendered without getting the data from the container document.   14768 The <chart:chart>  element represents an entire chart, including titles, a legend, and the graphical object that visualizes the underlying data called the plot area. The data underlying the chart is represented by a table element. This element may also exist for embedded charts that get the data from the container document. In this case the chart can be rendered without getting the data from the container document.
14355 <define name="chart-chart">   14769 <define name="chart-chart">
14356         <element name="chart:chart">   14770         <element name="chart:chart">
14357                 <ref name="chart-chart-attlist"/>   14771                 <ref name="chart-chart-attlist"/>
14358                 <optional>   14772                 <optional>
14359                         <ref name="chart-title"/>   14773                         <ref name="chart-title"/>
14360                 </optional>   14774                 </optional>
14361                 <optional>   14775                 <optional>
14362                         <ref name="chart-subtitle"/>   14776                         <ref name="chart-subtitle"/>
14363                 </optional>   14777                 </optional>
14364                 <optional>   14778                 <optional>
14365                         <ref name="chart-footer"/>   14779                         <ref name="chart-footer"/>
14366                 </optional>   14780                 </optional>
14367                 <optional>   14781                 <optional>
14368                         <ref name="chart-legend"/>   14782                         <ref name="chart-legend"/>
14369                 </optional>   14783                 </optional>
14370                 <ref name="chart-plot-area"/>   14784                 <ref name="chart-plot-area"/>
14371                 <optional>   14785                 <optional>
14372                         <ref name="table-table"/>   14786                         <ref name="table-table"/>
14373                 </optional>   14787                 </optional>
14374         </element>   14788         </element>
14375 </define>   14789 </define>
14376 Class   14790 Class
14377 The chart:class attribute specifies the chart type. The chart type is represented by a namespaced token, meaning an identifier prefixed by an XML namespace prefix, just like any attribute or element name in this specification. This specification defines a number of chart types in the chart namespace (URN: urn:oasis:names:tc:opendocument:xmlns:chart:1.0). Additional chart types may be supported by using a different namespace.   14791 The chart:class attribute specifies the chart type. The chart type is represented by a namespaced token, meaning an identifier prefixed by an XML namespace prefix, just like any attribute or element name in this specification. This specification defines a number of chart types in the chart namespace (URN: urn:oasis:names:tc:opendocument:xmlns:chart:1.0). Additional chart types may be supported by using a different namespace.
14378 The chart type may be specified more precisely with formatting properties that may be attached to  chart styles. For example, a 3D bar chart with horizontal bars is specified by setting the class attribute to chart:bar and by adding the properties for three dimensional and horizontal arrangement in the corresponding style.   14792 The chart type may be specified more precisely with formatting properties that may be attached to  chart styles. For example, a 3D bar chart with horizontal bars is specified by setting the class attribute to chart:bar and by adding the properties for three dimensional and horizontal arrangement in the corresponding style.
14379 <define name="chart-chart-attlist" combine="interleave">   14793 <define name="chart-chart-attlist" combine="interleave">
14380         <attribute name="chart:class">   14794         <attribute name="chart:class">
14381                 <ref name="namespacedToken"/>   14795                 <ref name="namespacedToken"/>
14382         </attribute>   14796         </attribute>
14383 </define>   14797 </define>
14384 The pre-defined chart types are:   14798 The pre-defined chart types are:
14385 line – the data points of each data series are connected through lines.   14799 line – the data points of each data series are connected through lines.
14386 area – the area below a data series is filled, and additional data series are stacked.   14800 area – the area below a data series is filled, and additional data series are stacked.
14387 circle – a circular chart is segmented according to the relative weights of the data points.   14801 circle – a circular chart is segmented according to the relative weights of the data points.
14388 ring – each data series is represented as a concentric rings, with each ring rendered as if it was part of a circle chart of the series.   14802 ring – each data series is represented as a concentric rings, with each ring rendered as if it was part of a circle chart of the series.
14389 scatter – a pair of data series is used to determine x and y positions for each data point.   14803 scatter – a pair of data series is used to determine x and y positions for each data point.
14390 radar – a radial plot of the data points, where the value of each point determines the distance from the chart origin. The data points of a series are connected, thus forming a closed line around the center.   14804 radar – a radial plot of the data points, where the value of each point determines the distance from the chart origin. The data points of a series are connected, thus forming a closed line around the center.
14391 bar – each data point is depicted by a bar whose length is proportional to the data value.   14805 bar – each data point is depicted by a bar whose length is proportional to the data value.
14392 stock – four data series are interpreted as opening, minimum, maximum and closing stock values.   14806 stock – four data series are interpreted as opening, minimum, maximum and closing stock values.
14393 bubble – the first two of three data series are interpreted a positions as in a scatter chart, where the area of each data point is sized relative to the value in the third data series.   14807 bubble – the first two of three data series are interpreted a positions as in a scatter chart, where the area of each data point is sized relative to the value in the third data series.
14394 surface – the data points are interpreted as tabular data, where each value defines a 'height' at a specific grid location. The graph may visualize these using colors for height intervals, creating color bands similar to geographical maps.   14808 surface – the data points are interpreted as tabular data, where each value defines a 'height' at a specific grid location. The graph may visualize these using colors for height intervals, creating color bands similar to geographical maps.
14395 gantt – a pair of data series is used to determine the start and end positions for horizontal bars   14809 gantt – a pair of data series is used to determine the start and end positions for horizontal bars
14396 Example: The following table shows examples for the pre-defined chart types. Those charts that use one or two data series use two data series with the values 1;2;3;4 and 1;4;9;16 and the labels a;b;c;d. Those chart types that use more than two data series (stock and bubble) use the data series 1;2;3;4 and multiples thereof. The radar chart uses two data series with five data points.   14810 Example: The following table shows examples for the pre-defined chart types. Those charts that use one or two data series use two data series with the values 1;2;3;4 and 1;4;9;16 and the labels a;b;c;d. Those chart types that use more than two data series (stock and bubble) use the data series 1;2;3;4 and multiples thereof. The radar chart uses two data series with five data points.
14397 chart:line   14811 chart:line
14398 chart:area   14812 chart:area
14399 chart:circle   14813 chart:circle
14400 chart:ring   14814 chart:ring
14401 chart:scatter   14815 chart:scatter
14402 chart:radar   14816 chart:radar
14403 chart:bar   14817 chart:bar
14404 chart:stock   14818 chart:stock
14405 chart:bubble   14819 chart:bubble
14406 chart:surface   14820 chart:surface
14407 chart:gantt   14821 chart:gantt
14408     14822  
14409 Size   14823 Size
14410 The svg:width and svg:height (see section 9.2.15) attributes define the extent of the entire chart. If they are omitted, the size of the chart is determined by the size of the window in which the chart is displayed.   14824 The svg:width and svg:height (see section 9.2.15) attributes define the extent of the entire chart. If they are omitted, the size of the chart is determined by the size of the window in which the chart is displayed.
14411 <define name="chart-chart-attlist" combine="interleave">   14825 <define name="chart-chart-attlist" combine="interleave">
14412         <ref name="common-draw-size-attlist"/>   14826         <ref name="common-draw-size-attlist"/>
14413 </define>   14827 </define>
14414 Column and Row Mapping   14828 Column and Row Mapping
14415 The chart:column-mapping and chart:row-mapping attributes contain, if provided, a list of indexes of series. The numbers define a reordering of data that comes from a container document that provides the data for the chart.  The numbering begins with 1. A list of ascending numbers beginning with 1 has no effect. To exchange two series, their numbers must be exchanged in the list. For example, 1 3 2 4 exchanges the second and the third series.   14829 The chart:column-mapping and chart:row-mapping attributes contain, if provided, a list of indexes of series. The numbers define a reordering of data that comes from a container document that provides the data for the chart.  The numbering begins with 1. A list of ascending numbers beginning with 1 has no effect. To exchange two series, their numbers must be exchanged in the list. For example, 1 3 2 4 exchanges the second and the third series.
14416 The chart:column-mapping and chart:row-mapping attributes must not be used simultaneously.   14830 The chart:column-mapping and chart:row-mapping attributes must not be used simultaneously.
14417 <define name="chart-chart-attlist" combine="interleave">   14831 <define name="chart-chart-attlist" combine="interleave">
14418         <optional>   14832         <optional>
14419                 <attribute name="chart:column-mapping">   14833                 <attribute name="chart:column-mapping">
14420                         <ref name="string"/>   14834                         <ref name="string"/>
14421                 </attribute>   14835                 </attribute>
14422         </optional>   14836         </optional>
14423 </define>   14837 </define>
14424 <define name="chart-chart-attlist" combine="interleave">   14838 <define name="chart-chart-attlist" combine="interleave">
14425         <optional>   14839         <optional>
14426                 <attribute name="chart:row-mapping">   14840                 <attribute name="chart:row-mapping">
14427                         <ref name="string"/>   14841                         <ref name="string"/>
14428                 </attribute>   14842                 </attribute>
14429         </optional>   14843         </optional>
14430 </define>   14844 </define>
14431 Style Name   14845 Style Name
14432 The chart:style-name attribute references a chart style. See section 14.16 for details.   14846 The chart:style-name attribute references a chart style. See section 14.16 for details.
14433 Within the style applied to the <chart:chart> element, fill properties (described in section 15.14) and the stroke properties (described in section 15.13) as well as the scale text property described in section 15.29.1 can be used.   14847 Within the style applied to the <chart:chart> element, fill properties (described in section 15.14) and the stroke properties (described in section 15.13) as well as the scale text property described in section 15.29.1 can be used.
14434 <define name="chart-chart-attlist" combine="interleave">   14848 <define name="chart-chart-attlist" combine="interleave">
14435         <optional>   14849         <optional>
14436                 <attribute name="chart:style-name">   14850                 <attribute name="chart:style-name">
14437                         <ref name="styleNameRef"/>   14851                         <ref name="styleNameRef"/>
14438                 </attribute>   14852                 </attribute>
14439         </optional>   14853         </optional>
14440 </define>   14854 </define>
14441 10.3Title, Subtitle and Footer   14855 10.3Title, Subtitle and Footer
14442 10.3.1Title   14856 10.3.1Title
14443 The <chart:title> element represents a main title object in a chart document. This element can contain fixed text or it can contain a <table:cell-address> element pointing to the text that should be displayed as the title. This element can also be a sub-element of chart:axis, see section 10.8. In this case the title is displayed beside the axis object.   14857 The <chart:title> element represents a main title object in a chart document. This element can contain fixed text or it can contain a <table:cell-address> element pointing to the text that should be displayed as the title. This element can also be a sub-element of chart:axis, see section 10.8. In this case the title is displayed beside the axis object.
14444 <define name="chart-title">   14858 <define name="chart-title">
14445         <element name="chart:title">   14859         <element name="chart:title">
14446                 <ref name="chart-title-attlist"/>   14860                 <ref name="chart-title-attlist"/>
14447                 <optional>   14861                 <optional>
14448                         <ref name="text-p"/>   14862                         <ref name="text-p"/>
14449                 </optional>   14863                 </optional>
14450         </element>   14864         </element>
14451 </define>   14865 </define>
14452 Table Range   14866 Table Range
14453 A chart title may be bound to a table cell, causing the current content of the given cell to be displayed in the chart title.   14867 A chart title may be bound to a table cell, causing the current content of the given cell to be displayed in the chart title.
14454 <define name="chart-title-attlist" combine="interleave">   14868 <define name="chart-title-attlist" combine="interleave">
14455         <optional>   14869         <optional>
14456                 <attribute name="table:cell-range">   14870                 <attribute name="table:cell-range">
14457                         <ref name="cellAddress"/>   14871                         <ref name="cellAddress"/>
14458                 </attribute>   14872                 </attribute>
14459         </optional>   14873         </optional>
14460 </define>   14874 </define>
14461 Position and Size   14875 Position and Size
14462 The common positioning attributes for drawing objects can be used on <chart:title> elements.   14876 The common positioning attributes for drawing objects can be used on <chart:title> elements.
14463 <define name="chart-title-attlist" combine="interleave">   14877 <define name="chart-title-attlist" combine="interleave">
14464         <ref name="common-draw-position-attlist"/>   14878         <ref name="common-draw-position-attlist"/>
14465 </define>   14879 </define>
14466 Style Name   14880 Style Name
14467 The chart:style-name attribute specifies a chart style for the <chart:title> element. Within the referenced style, fill and stroke properties may be used. They are applied to the surrounding title box. See sections 15.14 and 15.13 for more information. In addition to this,  text properties may be used. They are applied to the title text itself. See section 15.4.   14881 The chart:style-name attribute specifies a chart style for the <chart:title> element. Within the referenced style, fill and stroke properties may be used. They are applied to the surrounding title box. See sections 15.14 and 15.13 for more information. In addition to this,  text properties may be used. They are applied to the title text itself. See section 15.4.
14468 <define name="chart-title-attlist" combine="interleave">   14882 <define name="chart-title-attlist" combine="interleave">
14469         <optional>   14883         <optional>
14470                 <attribute name="chart:style-name">   14884                 <attribute name="chart:style-name">
14471                         <ref name="styleNameRef"/>   14885                         <ref name="styleNameRef"/>
14472                 </attribute>   14886                 </attribute>
14473         </optional>   14887         </optional>
14474 </define>   14888 </define>
14475 10.3.2Subtitle   14889 10.3.2Subtitle
14476 The <chart:subtitle> element represents a subtitle which can be used for additional title information in a chart.   14890 The <chart:subtitle> element represents a subtitle which can be used for additional title information in a chart.
14477 The structure of the <chart:subtitle> element is the same as that of the <chart:title> element. The attributes that may be associated with the <chart:subtitle> element are the same as those that may be associated with the <chart:title> element. See section 10.3.1 for more information.   14891 The structure of the <chart:subtitle> element is the same as that of the <chart:title> element. The attributes that may be associated with the <chart:subtitle> element are the same as those that may be associated with the <chart:title> element. See section 10.3.1 for more information.
14478 <define name="chart-subtitle">   14892 <define name="chart-subtitle">
14479         <element name="chart:subtitle">   14893         <element name="chart:subtitle">
14480                 <ref name="chart-title-attlist"/>   14894                 <ref name="chart-title-attlist"/>
14481                 <optional>   14895                 <optional>
14482                         <ref name="text-p"/>   14896                         <ref name="text-p"/>
14483                 </optional>   14897                 </optional>
14484         </element>   14898         </element>
14485 </define>   14899 </define>
14486 10.3.3Footer   14900 10.3.3Footer
14487 The <chart:footer> element represents a footer below the chart's plot area.   14901 The <chart:footer> element represents a footer below the chart's plot area.
14488 The structure of the subtitle element is the same as that of the <chart:title> title element. See section 10.3.1 for more information.   14902 The structure of the subtitle element is the same as that of the <chart:title> title element. See section 10.3.1 for more information.
14489 <define name="chart-footer">   14903 <define name="chart-footer">
14490         <element name="chart:footer">   14904         <element name="chart:footer">
14491                 <ref name="chart-title-attlist"/>   14905                 <ref name="chart-title-attlist"/>
14492                 <optional>   14906                 <optional>
14493                         <ref name="text-p"/>   14907                         <ref name="text-p"/>
14494                 </optional>   14908                 </optional>
14495         </element>   14909         </element>
14496 </define>   14910 </define>
14497 10.4Legend   14911 10.4Legend
14498 The <chart:legend> element determines whether or not a legend is displayed in the chart. The legend's position may be specified either as a relative or as an absolute position. The size of the legend is calculated automatically and therefore cannot be set as attribute.   14912 The <chart:legend> element determines whether or not a legend is displayed in the chart. The legend's position may be specified either as a relative or as an absolute position. The size of the legend is calculated automatically and therefore cannot be set as attribute.
14499 <define name="chart-legend">   14913 <define name="chart-legend">
14500         <element name="chart:legend">   14914         <element name="chart:legend">
14501                 <ref name="chart-legend-attlist"/>   14915                 <ref name="chart-legend-attlist"/>
14502                 <empty/>   14916                 <empty/>
14503         </element>   14917         </element>
14504 </define>   14918 </define>
14505 Legend Placement   14919 Legend Placement
14506 The legend can be placed automatically, next to the plot area, or in one of the corners. This placement is determined by the chart:legend-position attribute, which may have the values start, end, top, bottom for legend positions next to the plot area and top-start, bottom-start, top-end or bottom-end for legend positions in the corners. If the legend is placed next to the plot area, in any of the four directions start, end, top bottom, an additional alignment attribute chart:legend-align determines which border (start, end) or axis (center) of the legend and the plot area are to be aligned.   14920 The legend can be placed automatically, next to the plot area, or in one of the corners. This placement is determined by the chart:legend-position attribute, which may have the values start, end, top, bottom for legend positions next to the plot area and top-start, bottom-start, top-end or bottom-end for legend positions in the corners. If the legend is placed next to the plot area, in any of the four directions start, end, top bottom, an additional alignment attribute chart:legend-align determines which border (start, end) or axis (center) of the legend and the plot area are to be aligned.
14507 <define name="chart-legend-attlist" combine="interleave">   14921 <define name="chart-legend-attlist" combine="interleave">
14508         <choice>   14922         <choice>
14509                 <group>   14923                 <group>
14510                         <attribute name="chart:legend-position">   14924                         <attribute name="chart:legend-position">
14511                                 <choice>   14925                                 <choice>
14512                                         <value>start</value>   14926                                         <value>start</value>
14513                                         <value>end</value>   14927                                         <value>end</value>
14514                                         <value>top</value>   14928                                         <value>top</value>
14515                                         <value>bottom</value>   14929                                         <value>bottom</value>
14516                                 </choice>   14930                                 </choice>
14517                         </attribute>   14931                         </attribute>
14518                         <optional>   14932                         <optional>
14519                                 <attribute name="chart:legend-align">   14933                                 <attribute name="chart:legend-align">
14520                                         <choice>   14934                                         <choice>
14521                                                 <value>start</value>   14935                                                 <value>start</value>
14522                                                 <value>center</value>   14936                                                 <value>center</value>
14523                                                 <value>end</value>   14937                                                 <value>end</value>
14524                                         </choice>   14938                                         </choice>
14525                                 </attribute>   14939                                 </attribute>
14526                         </optional>   14940                         </optional>
14527                 </group>   14941                 </group>
14528                 <attribute name="chart:legend-position">   14942                 <attribute name="chart:legend-position">
14529                         <choice>   14943                         <choice>
14530                                 <value>top-start</value>   14944                                 <value>top-start</value>
14531                                 <value>bottom-start</value>   14945                                 <value>bottom-start</value>
14532                                 <value>top-end</value>   14946                                 <value>top-end</value>
14533                                 <value>bottom-end</value>   14947                                 <value>bottom-end</value>
14534                         </choice>   14948                         </choice>
14535                 </attribute>   14949                 </attribute>
14536                 <empty/>   14950                 <empty/>
14537         </choice>   14951         </choice>
14538 </define>   14952 </define>
14539 Example: If chart:legend-position="right", the legend will be positioned to the right of the chart's plot area. The chart:legend-align values of start, center, and end will yield legend positions as depicted by the green, red, and blue boxes, respectively.   14953 Example: If chart:legend-position="right", the legend will be positioned to the right of the chart's plot area. The chart:legend-align values of start, center, and end will yield legend positions as depicted by the green, red, and blue boxes, respectively.
14540     14954  
14541 The legend position can also be given in absolute coordinates, as with any drawing object. If both a drawing position and legend placement options are available, the legend placement takes precedence and the position should reflect the automatic placement.   14955 The legend position can also be given in absolute coordinates, as with any drawing object. If both a drawing position and legend placement options are available, the legend placement takes precedence and the position should reflect the automatic placement.
14542 <define name="chart-legend-attlist" combine="interleave">   14956 <define name="chart-legend-attlist" combine="interleave">
14543         <ref name="common-draw-position-attlist"/>   14957         <ref name="common-draw-position-attlist"/>
14544 </define>   14958 </define>
14545 Legend Expansion   14959 Legend Expansion
14546 The legend needs to be expanded to accommodate additional legend items. The style:legend-expansion attribute determines in which direction the legend expands. Legend expansion of wide and high causes the legend to be expanded horizontally and vertically. An expansion balanced causes expansion into both directions. An expansion value of custom with a numeric style:legend-expansion-aspect-ratio causes the legend to be expanded such that the given ratio between width and height is observed.   14960 The legend needs to be expanded to accommodate additional legend items. The style:legend-expansion attribute determines in which direction the legend expands. Legend expansion of wide and high causes the legend to be expanded horizontally and vertically. An expansion balanced causes expansion into both directions. An expansion value of custom with a numeric style:legend-expansion-aspect-ratio causes the legend to be expanded such that the given ratio between width and height is observed.
14547 <define name="chart-legend-attlist" combine="interleave">   14961 <define name="chart-legend-attlist" combine="interleave">
14548         <choice>   14962         <choice>
14549                 <attribute name="style:legend-expansion">   14963                 <attribute name="style:legend-expansion">
14550                         <choice>   14964                         <choice>
14551                                 <value>wide</value>   14965                                 <value>wide</value>
14552                                 <value>high</value>   14966                                 <value>high</value>
14553                                 <value>balanced</value>   14967                                 <value>balanced</value>
14554                         </choice>   14968                         </choice>
14555                 </attribute>   14969                 </attribute>
14556                 <group>   14970                 <group>
14557                         <attribute name="style:legend-expansion">   14971                         <attribute name="style:legend-expansion">
14558                                 <value>custom</value>   14972                                 <value>custom</value>
14559                         </attribute>   14973                         </attribute>
14560                         <attribute name="style:legend-expansion-aspect-ratio">   14974                         <attribute name="style:legend-expansion-aspect-ratio">
14561                                 <ref name="double"/>   14975                                 <ref name="double"/>
14562                         </attribute>   14976                         </attribute>
14563                 </group>   14977                 </group>
14564                 <empty/>   14978                 <empty/>
14565         </choice>   14979         </choice>
14566 </define>   14980 </define>
14567 Legend Styling   14981 Legend Styling
14568 Additional styling information for the chart legend can be referenced through the chart:style-name attribute. The style may specify fill and stroke properties. They are applied to the legend object. See sections 15.14 and 15.13 for more information. In addition to this, the style may specify text properties. They are applied to the text inside the legend object. See section 15.4.   14982 Additional styling information for the chart legend can be referenced through the chart:style-name attribute. The style may specify fill and stroke properties. They are applied to the legend object. See sections 15.14 and 15.13 for more information. In addition to this, the style may specify text properties. They are applied to the text inside the legend object. See section 15.4.
14569 <define name="chart-legend-attlist" combine="interleave">   14983 <define name="chart-legend-attlist" combine="interleave">
14570         <optional>   14984         <optional>
14571                 <attribute name="chart:style-name">   14985                 <attribute name="chart:style-name">
14572                         <ref name="styleNameRef"/>   14986                         <ref name="styleNameRef"/>
14573                 </attribute>   14987                 </attribute>
14574         </optional>   14988         </optional>
14575 </define>   14989 </define>
14576 10.5Plot Area   14990 10.5Plot Area
14577 The <chart:plot-area> element is a container for the graphics objects that represent chart data. The main purpose of the plot area is to be a container for the series elements that represent single data series, and the axis elements.   14991 The <chart:plot-area> element is a container for the graphics objects that represent chart data. The main purpose of the plot area is to be a container for the series elements that represent single data series, and the axis elements.
14578 <define name="chart-plot-area">   14992 <define name="chart-plot-area">
14579         <element name="chart:plot-area">   14993         <element name="chart:plot-area">
14580                 <ref name="chart-plot-area-attlist"/>   14994                 <ref name="chart-plot-area-attlist"/>
14581                 <zeroOrMore>   14995                 <zeroOrMore>
14582                         <ref name="dr3d-light"/>   14996                         <ref name="dr3d-light"/>
14583                 </zeroOrMore>   14997                 </zeroOrMore>
14584                 <zeroOrMore>   14998                 <zeroOrMore>
14585                         <ref name="chart-axis"/>   14999                         <ref name="chart-axis"/>
14586                 </zeroOrMore>   15000                 </zeroOrMore>
14587                 <zeroOrMore>   15001                 <zeroOrMore>
14588                         <ref name="chart-series"/>   15002                         <ref name="chart-series"/>
14589                 </zeroOrMore>   15003                 </zeroOrMore>
14590                 <optional>   15004                 <optional>
14591                         <ref name="chart-stock-gain-marker"/>   15005                         <ref name="chart-stock-gain-marker"/>
14592                 </optional>   15006                 </optional>
14593                 <optional>   15007                 <optional>
14594                         <ref name="chart-stock-loss-marker"/>   15008                         <ref name="chart-stock-loss-marker"/>
14595                 </optional>   15009                 </optional>
14596                 <optional>   15010                 <optional>
14597                         <ref name="chart-stock-range-line"/>   15011                         <ref name="chart-stock-range-line"/>
14598                 </optional>   15012                 </optional>
14599                 <optional>   15013                 <optional>
14600                         <ref name="chart-wall"/>   15014                         <ref name="chart-wall"/>
14601                 </optional>   15015                 </optional>
14602                 <optional>   15016                 <optional>
14603                         <ref name="chart-floor"/>   15017                         <ref name="chart-floor"/>
14604                 </optional>   15018                 </optional>
14605         </element>   15019         </element>
14606 </define>   15020 </define>
14607 Plot Area Positioning   15021 Plot Area Positioning
14608 The plot area's position and size are determined the common positioning and sizing attributes for drawing objects. If the position and size attributes are not specified, the values are calculated by the render application.   15022 The plot area's position and size are determined the common positioning and sizing attributes for drawing objects. If the position and size attributes are not specified, the values are calculated by the render application.
14609 <define name="chart-plot-area-attlist" combine="interleave">   15023 <define name="chart-plot-area-attlist" combine="interleave">
14610         <ref name="common-draw-position-attlist"/>   15024         <ref name="common-draw-position-attlist"/>
14611         <ref name="common-draw-size-attlist"/>   15025         <ref name="common-draw-size-attlist"/>
14612 </define>   15026 </define>
14613 Plot Area Style   15027 Plot Area Style
14614 The chart:style-name attribute that is set for the <chart:plot-area> element is used for all data elements contained inside the plot area, unless extra styles are specified in one of those sub-elements. These data elements can be <chart:series> and <chart:data-point> elements.   15028 The chart:style-name attribute that is set for the <chart:plot-area> element is used for all data elements contained inside the plot area, unless extra styles are specified in one of those sub-elements. These data elements can be <chart:series> and <chart:data-point> elements.
14615 If the chart is three-dimensional, 3D scene properties may be applied to the plot area. See the section 15.22 - 15.26 for more information.   15029 If the chart is three-dimensional, 3D scene properties may be applied to the plot area. See the section 15.22 - 15.26 for more information.
14616 <define name="chart-plot-area-attlist" combine="interleave">   15030 <define name="chart-plot-area-attlist" combine="interleave">
14617         <optional>   15031         <optional>
14618                 <attribute name="chart:style-name">   15032                 <attribute name="chart:style-name">
14619                         <ref name="styleNameRef"/>   15033                         <ref name="styleNameRef"/>
14620                 </attribute>   15034                 </attribute>
14621         </optional>   15035         </optional>
14622 </define>   15036 </define>
14623 Plot Area Data Attributes   15037 Plot Area Data Attributes
14624 If a chart is embedded in a document that provides the data for the chart, the table:cell-range-address attribute reflects the ranges from which all the data for the chart comes. The range given here is interpreted by the chart as consecutive series.   15038 If a chart is embedded in a document that provides the data for the chart, the table:cell-range-address attribute reflects the ranges from which all the data for the chart comes. The range given here is interpreted by the chart as consecutive series.
14625 <define name="chart-plot-area-attlist" combine="interleave">   15039 <define name="chart-plot-area-attlist" combine="interleave">
14626         <optional>   15040         <optional>
14627                 <attribute name="table:cell-range-address">   15041                 <attribute name="table:cell-range-address">
14628                         <ref name="cellRangeAddress"/>   15042                         <ref name="cellRangeAddress"/>
14629                 </attribute>   15043                 </attribute>
14630         </optional>   15044         </optional>
14631 </define>   15045 </define>
14632 If the first row or column, or both contains labels, this is stated by the chart:data-source-has-labels attribute.   15046 If the first row or column, or both contains labels, this is stated by the chart:data-source-has-labels attribute.
14633 <define name="chart-plot-area-attlist" combine="interleave">   15047 <define name="chart-plot-area-attlist" combine="interleave">
14634         <optional>   15048         <optional>
14635                 <attribute name="chart:data-source-has-labels" a:defaultValue="none">   15049                 <attribute name="chart:data-source-has-labels" a:defaultValue="none">
14636                         <choice>   15050                         <choice>
14637                                 <value>none</value>   15051                                 <value>none</value>
14638                                 <value>row</value>   15052                                 <value>row</value>
14639                                 <value>column</value>   15053                                 <value>column</value>
14640                                 <value>both</value>   15054                                 <value>both</value>
14641                         </choice>   15055                         </choice>
14642                 </attribute>   15056                 </attribute>
14643         </optional>   15057         </optional>
14644 </define>   15058 </define>
14645 The chart:series-source formatting property specified in section 15.34.1 determines whether the data table contains the data series in column-wise or row-wise fashion.   15059 The chart:series-source formatting property specified in section 15.34.1 determines whether the data table contains the data series in column-wise or row-wise fashion.
14646 10.5.13D Plot Area   15060 10.5.13D Plot Area
14647 The plot area may be displayed as an 3D scene as specified in section 9.4.1. All 3D attributes that can be applied to the <dr3d:scene> element can be applied to the <chart:plot-area> element, including the dr3d:transform attribute. It represents the rotation of a chart scene, that is the three-dimensional plot area. See section 9.4.1 for more information. In addition to this, the <chart:plot-area> element may contain a <dr3d:light> element as specified in section 9.4.2.   15061 The plot area may be displayed as an 3D scene as specified in section 9.4.1. All 3D attributes that can be applied to the <dr3d:scene> element can be applied to the <chart:plot-area> element, including the dr3d:transform attribute. It represents the rotation of a chart scene, that is the three-dimensional plot area. See section 9.4.1 for more information. In addition to this, the <chart:plot-area> element may contain a <dr3d:light> element as specified in section 9.4.2.
14648 <define name="chart-plot-area-attlist" combine="interleave">   15062 <define name="chart-plot-area-attlist" combine="interleave">
14649         <ref name="dr3d-scene-attlist"/>   15063         <ref name="dr3d-scene-attlist"/>
14650         <ref name="common-dr3d-transform-attlist"/>   15064         <ref name="common-dr3d-transform-attlist"/>
14651 </define>   15065 </define>
14652 10.6Wall   15066 10.6Wall
14653 The <chart:wall> element can be contained in the <chart:plot-area> element. It specifies a chart's wall. For two-dimensional charts, the wall spans the entire plot area. For three-dimensional charts, the wall usually consists of two perpendicular rectangles.   15067 The <chart:wall> element can be contained in the <chart:plot-area> element. It specifies a chart's wall. For two-dimensional charts, the wall spans the entire plot area. For three-dimensional charts, the wall usually consists of two perpendicular rectangles.
14654 <define name="chart-wall">   15068 <define name="chart-wall">
14655         <element name="chart:wall">   15069         <element name="chart:wall">
14656                 <ref name="chart-wall-attlist"/>   15070                 <ref name="chart-wall-attlist"/>
14657                 <empty/>   15071                 <empty/>
14658         </element>   15072         </element>
14659 </define>   15073 </define>
14660 Width   15074 Width
14661 The svg:width attributes specifies the width of the wall for three-dimensional charts.   15075 The svg:width attributes specifies the width of the wall for three-dimensional charts.
14662 <define name="chart-wall-attlist" combine="interleave">   15076 <define name="chart-wall-attlist" combine="interleave">
14663         <optional>   15077         <optional>
14664                 <attribute name="svg:width">   15078                 <attribute name="svg:width">
14665                         <ref name="length"/>   15079                         <ref name="length"/>
14666                 </attribute>   15080                 </attribute>
14667         </optional>   15081         </optional>
14668 </define>   15082 </define>
14669 Style   15083 Style
14670 The <chart:wall> element may have a chart:style-name attribute to specify further styling information. They style may contain fill and stroke properties. See sections 15.14 and 15.13 for more information.   15084 The <chart:wall> element may have a chart:style-name attribute to specify further styling information. They style may contain fill and stroke properties. See sections 15.14 and 15.13 for more information.
14671 <define name="chart-wall-attlist" combine="interleave">   15085 <define name="chart-wall-attlist" combine="interleave">
14672         <optional>   15086         <optional>
14673                 <attribute name="chart:style-name">   15087                 <attribute name="chart:style-name">
14674                         <ref name="styleNameRef"/>   15088                         <ref name="styleNameRef"/>
14675                 </attribute>   15089                 </attribute>
14676         </optional>   15090         </optional>
14677 </define>   15091 </define>
14678 10.7Floor   15092 10.7Floor
14679 The <chart:floor> element can be contained in the <chart:plot-area> element. For three-dimensional charts, the <chart:floor> element is present in addition to the <chart:wall> element.   15093 The <chart:floor> element can be contained in the <chart:plot-area> element. For three-dimensional charts, the <chart:floor> element is present in addition to the <chart:wall> element.
14680 <define name="chart-floor">   15094 <define name="chart-floor">
14681         <element name="chart:floor">   15095         <element name="chart:floor">
14682                 <ref name="chart-floor-attlist"/>   15096                 <ref name="chart-floor-attlist"/>
14683                 <empty/>   15097                 <empty/>
14684         </element>   15098         </element>
14685 </define>   15099 </define>
14686 Size   15100 Size
14687 The size of the floor is determined in respect of the size of the plot area, which is always a two-dimensional rectangle that serves as a bounding rectangle of the three-dimensional scene. The svg:width attribute can be used to set the width of the floor.   15101 The size of the floor is determined in respect of the size of the plot area, which is always a two-dimensional rectangle that serves as a bounding rectangle of the three-dimensional scene. The svg:width attribute can be used to set the width of the floor.
14688 <define name="chart-floor-attlist" combine="interleave">   15102 <define name="chart-floor-attlist" combine="interleave">
14689         <optional>   15103         <optional>
14690                 <attribute name="svg:width">   15104                 <attribute name="svg:width">
14691                         <ref name="length"/>   15105                         <ref name="length"/>
14692                 </attribute>   15106                 </attribute>
14693         </optional>   15107         </optional>
14694 </define>   15108 </define>
14695 Style   15109 Style
14696 The <chart:floor> element may have a chart:style-name attribute to specify further styling information. Fill and stroke properties can be applied to a floor. See sections 15.14 and 15.13 for more information.   15110 The <chart:floor> element may have a chart:style-name attribute to specify further styling information. Fill and stroke properties can be applied to a floor. See sections 15.14 and 15.13 for more information.
14697 <define name="chart-floor-attlist" combine="interleave">   15111 <define name="chart-floor-attlist" combine="interleave">
14698         <optional>   15112         <optional>
14699                 <attribute name="chart:style-name">   15113                 <attribute name="chart:style-name">
14700                         <ref name="styleNameRef"/>   15114                         <ref name="styleNameRef"/>
14701                 </attribute>   15115                 </attribute>
14702         </optional>   15116         </optional>
14703 </define>   15117 </define>
14704 10.8Axis   15118 10.8Axis
14705 The <chart:axis> element mainly contains style information, in particular scaling information. Chart data is usually structured as follows:   15119 The <chart:axis> element mainly contains style information, in particular scaling information. Chart data is usually structured as follows:
14706 Several data series each consisting of a name, for example, the name of a company.   15120 Several data series each consisting of a name, for example, the name of a company.
14707 Values, for example, the yield of the company in different years.   15121 Values, for example, the yield of the company in different years.
14708 One value in each series belongs to a category, for example, the year.   15122 One value in each series belongs to a category, for example, the year.
14709 <define name="chart-axis">   15123 <define name="chart-axis">
14710         <element name="chart:axis">   15124         <element name="chart:axis">
14711                 <ref name="chart-axis-attlist"/>   15125                 <ref name="chart-axis-attlist"/>
14712                 <optional>   15126                 <optional>
14713                         <ref name="chart-title"/>   15127                         <ref name="chart-title"/>
14714                 </optional>   15128                 </optional>
14715                 <optional>   15129                 <optional>
14716                         <ref name="chart-categories"/>   15130                         <ref name="chart-categories"/>
14717                 </optional>   15131                 </optional>
14718                 <zeroOrMore>   15132                 <zeroOrMore>
14719                         <ref name="chart-grid"/>   15133                         <ref name="chart-grid"/>
14720                 </zeroOrMore>   15134                 </zeroOrMore>
14721         </element>   15135         </element>
14722 </define>   15136 </define>
14723 Dimension   15137 Dimension
14724 The chart:dimension attribute specifies along which physical axis on the chart the values of the current axis are displayed.   15138 The chart:dimension attribute specifies along which physical axis on the chart the values of the current axis are displayed.
14725 A chart may contain more than one axis with the same dimension. For example, it may have two axes with dimension y. Data series may be attached to either axis. This way, data may be grouped for different scaling. To attach a specific axis to a data series, the axis has to be referenced by the <chart:series> element's  chart:axis-name attribute. If an axis is not references by a data series, it becomes a copy of an existing axis with the same dimension.   15139 A chart may contain more than one axis with the same dimension. For example, it may have two axes with dimension y. Data series may be attached to either axis. This way, data may be grouped for different scaling. To attach a specific axis to a data series, the axis has to be referenced by the <chart:series> element's  chart:axis-name attribute. If an axis is not references by a data series, it becomes a copy of an existing axis with the same dimension.
14726 The position of an axis in a chart is determined by the rendering application and depends on the chart type. In a chart with horizontal bars, the rendering application usually paints the axis with dimension x on the bottom of the plot area. If there are two axes with dimension y, a rendering application might paint the second axis at the top of the plot area.   15140 The position of an axis in a chart is determined by the rendering application and depends on the chart type. In a chart with horizontal bars, the rendering application usually paints the axis with dimension x on the bottom of the plot area. If there are two axes with dimension y, a rendering application might paint the second axis at the top of the plot area.
14727 <define name="chart-axis-attlist" combine="interleave">   15141 <define name="chart-axis-attlist" combine="interleave">
14728         <attribute name="chart:dimension">   15142         <attribute name="chart:dimension">
14729                 <choice>   15143                 <choice>
14730                         <value>x</value>   15144                         <value>x</value>
14731                         <value>y</value>   15145                         <value>y</value>
14732                         <value>z</value>   15146                         <value>z</value>
14733                 </choice>   15147                 </choice>
14734         </attribute>   15148         </attribute>
14735 </define>   15149 </define>
14736 Name   15150 Name
14737 The chart:name attribute can be used to assign a name to this axis, so it can be referenced from e.g., a data series.   15151 The chart:name attribute can be used to assign a name to this axis, so it can be referenced from e.g., a data series.
14738 <define name="chart-axis-attlist" combine="interleave">   15152 <define name="chart-axis-attlist" combine="interleave">
14739         <optional>   15153         <optional>
14740                 <attribute name="chart:name">   15154                 <attribute name="chart:name">
14741                         <ref name="string"/>   15155                         <ref name="string"/>
14742                 </attribute>   15156                 </attribute>
14743         </optional>   15157         </optional>
14744 </define>   15158 </define>
14745 Style   15159 Style
14746 A chart:style-name attribute can be associated with an axis. Stroke properties can be applied to axes; see section 15.13. These properties affect all lines of the axis object. Text properties can also be applied to axes; see section 15.4. These properties affect the appearance of all text objects. The axis properties described in section 15.31 can also be used.   15160 A chart:style-name attribute can be associated with an axis. Stroke properties can be applied to axes; see section 15.13. These properties affect all lines of the axis object. Text properties can also be applied to axes; see section 15.4. These properties affect the appearance of all text objects. The axis properties described in section 15.31 can also be used.
14747 The chart style that is referenced by the chart:style-name attribute may specify a data style that is used to format the axis' labels. See section 14.1 for details.   15161 The chart style that is referenced by the chart:style-name attribute may specify a data style that is used to format the axis' labels. See section 14.1 for details.
14748 <define name="chart-axis-attlist" combine="interleave">   15162 <define name="chart-axis-attlist" combine="interleave">
14749         <optional>   15163         <optional>
14750                 <attribute name="chart:style-name">   15164                 <attribute name="chart:style-name">
14751                         <ref name="styleNameRef"/>   15165                         <ref name="styleNameRef"/>
14752                 </attribute>   15166                 </attribute>
14753         </optional>   15167         </optional>
14754 </define>   15168 </define>
14755 Example: Bar chart   15169 Example: Bar chart
14756 In this example, there are two axes with dimension y. One of these axes has the name primary-value. A data series has been attached to that named axis. There is no data attached to the second axis, therefore an axis name has not been specified, and the axis is just a copy of the first one.   15170 In this example, there are two axes with dimension y. One of these axes has the name primary-value. A data series has been attached to that named axis. There is no data attached to the second axis, therefore an axis name has not been specified, and the axis is just a copy of the first one.
14757 <chart:chart chart:class="bar">   15171 <chart:chart chart:class="bar">
14758         <chart:title>   15172         <chart:title>
14759                 <text:p>Title of my chart</text:p>   15173                 <text:p>Title of my chart</text:p>
14760         </chart:title>   15174         </chart:title>
14761         <chart:plot-area>   15175         <chart:plot-area>
14762                 <chart:axis chart:dimension="x"   15176                 <chart:axis chart:dimension="x"
14763                                         chart:axis-name="x"/>   15177                                         chart:axis-name="x"/>
14764                 <chart:axis chart:dimension="y"   15178                 <chart:axis chart:dimension="y"
14765                                         chart:axis-name="primary-value"/>   15179                                         chart:axis-name="primary-value"/>
14766                 <chart:axis chart:dimension="y"/>   15180                 <chart:axis chart:dimension="y"/>
14767                 <chart:series chart:values-address="Sheet1.A1:.A7"   15181                 <chart:series chart:values-address="Sheet1.A1:.A7"
14768                                         chart:attached-axis="primary-value"/>   15182                                         chart:attached-axis="primary-value"/>
14769         </chart:plot-area>   15183         </chart:plot-area>
14770 </chart:chart>   15184 </chart:chart>
14771 10.8.1Grid   15185 10.8.1Grid
14772 The <chart:grid> element can be contained in a <chart:axis> element. It adds a grids to the axis.   15186 The <chart:grid> element can be contained in a <chart:axis> element. It adds a grids to the axis.
14773 <define name="chart-grid">   15187 <define name="chart-grid">
14774         <element name="chart:grid">   15188         <element name="chart:grid">
14775                 <ref name="chart-grid-attlist"/>   15189                 <ref name="chart-grid-attlist"/>
14776         </element>   15190         </element>
14777 </define>   15191 </define>
14778 Class   15192 Class
14779 The chart:class attribute specifies whether major or minor tick marks are used. If a major grid is applied to an axis, the major tick marks are extended to grid lines. If a grid is minor, any minor tick marks assigned to the axis are used.   15193 The chart:class attribute specifies whether major or minor tick marks are used. If a major grid is applied to an axis, the major tick marks are extended to grid lines. If a grid is minor, any minor tick marks assigned to the axis are used.
14780 <define name="chart-grid-attlist" combine="interleave">   15194 <define name="chart-grid-attlist" combine="interleave">
14781         <optional>   15195         <optional>
14782                 <attribute name="chart:class" a:defaultValue="major">   15196                 <attribute name="chart:class" a:defaultValue="major">
14783                         <choice>   15197                         <choice>
14784                                 <value>major</value>   15198                                 <value>major</value>
14785                                 <value>minor</value>   15199                                 <value>minor</value>
14786                         </choice>   15200                         </choice>
14787                 </attribute>   15201                 </attribute>
14788         </optional>   15202         </optional>
14789 </define>   15203 </define>
14790 Style Name   15204 Style Name
14791 The <chart:grid> element may have a chart:style-name attribute to specify further styling information. Stroke properties can be applied to grids, which affect the lines of the grid. See section 15.13 for information on these stroke properties.   15205 The <chart:grid> element may have a chart:style-name attribute to specify further styling information. Stroke properties can be applied to grids, which affect the lines of the grid. See section 15.13 for information on these stroke properties.
14792 <define name="chart-grid-attlist" combine="interleave">   15206 <define name="chart-grid-attlist" combine="interleave">
14793         <optional>   15207         <optional>
14794                 <attribute name="chart:style-name">   15208                 <attribute name="chart:style-name">
14795                         <ref name="styleNameRef"/>   15209                         <ref name="styleNameRef"/>
14796                 </attribute>   15210                 </attribute>
14797         </optional>   15211         </optional>
14798 </define>   15212 </define>
14799 10.9Series   15213 10.9Series
14800 The <chart:series> element represents a data series in a chart. If the chart requires more input data like scatter and bubble charts, <chart:domain> sub-elements must be defined that mainly contain the cell-range-address of the corresponding data.   15214 The <chart:series> element represents a data series in a chart. If the chart requires more input data like scatter and bubble charts, <chart:domain> sub-elements must be defined that mainly contain the cell-range-address of the corresponding data.
14801 <define name="chart-series">   15215 <define name="chart-series">
14802         <element name="chart:series">   15216         <element name="chart:series">
14803                 <ref name="chart-series-attlist"/>   15217                 <ref name="chart-series-attlist"/>
14804                 <zeroOrMore>   15218                 <zeroOrMore>
14805                         <ref name="chart-domain"/>   15219                         <ref name="chart-domain"/>
14806                 </zeroOrMore>   15220                 </zeroOrMore>
14807                 <optional>   15221                 <optional>
14808                         <ref name="chart-mean-value"/>   15222                         <ref name="chart-mean-value"/>
14809                 </optional>   15223                 </optional>
14810                 <optional>   15224                 <optional>
14811                         <ref name="chart-regression-curve"/>   15225                         <ref name="chart-regression-curve"/>
14812                 </optional>   15226                 </optional>
14813                 <optional>   15227                 <optional>
14814                         <ref name="chart-error-indicator"/>   15228                         <ref name="chart-error-indicator"/>
14815                 </optional>   15229                 </optional>
14816                 <zeroOrMore>   15230                 <zeroOrMore>
14817                         <ref name="chart-data-point"/>   15231                         <ref name="chart-data-point"/>
14818                 </zeroOrMore>   15232                 </zeroOrMore>
14819         </element>   15233         </element>
14820 </define>   15234 </define>
14821 Cell Range   15235 Cell Range
14822 The chart:values-cell-range-address attribute allows a range to be specified that contains the values that should be visualized by this data series.   15236 The chart:values-cell-range-address attribute allows a range to be specified that contains the values that should be visualized by this data series.
14823 <define name="chart-series-attlist" combine="interleave">   15237 <define name="chart-series-attlist" combine="interleave">
14824         <optional>   15238         <optional>
14825                 <attribute name="chart:values-cell-range-address">   15239                 <attribute name="chart:values-cell-range-address">
14826                         <ref name="cellRangeAddress"/>   15240                         <ref name="cellRangeAddress"/>
14827                 </attribute>   15241                 </attribute>
14828         </optional>   15242         </optional>
14829 </define>   15243 </define>
14830 The chart:label-cell-address attribute allows a name to be provided for the series.   15244 The chart:label-cell-address attribute allows a name to be provided for the series.
14831 <define name="chart-series-attlist" combine="interleave">   15245 <define name="chart-series-attlist" combine="interleave">
14832         <optional>   15246         <optional>
14833                 <attribute name="chart:label-cell-address">   15247                 <attribute name="chart:label-cell-address">
14834                         <ref name="cellAddress"/>   15248                         <ref name="cellAddress"/>
14835                 </attribute>   15249                 </attribute>
14836         </optional>   15250         </optional>
14837 </define>   15251 </define>
14838 Class   15252 Class
14839 The chart:class attribute can be used to assign a chart type to be used for rendering the data of this <chart:series> element. A chart:class attribute for a <chart:series> element  overrides the chart:class attribute for the entire chart. This allows the creation of charts with multiple sub-charts, e.g., a bar chart with one or more data series rendered as lines. For more information on the available chart classes, see section 10.2.   15253 The chart:class attribute can be used to assign a chart type to be used for rendering the data of this <chart:series> element. A chart:class attribute for a <chart:series> element  overrides the chart:class attribute for the entire chart. This allows the creation of charts with multiple sub-charts, e.g., a bar chart with one or more data series rendered as lines. For more information on the available chart classes, see section 10.2.
14840 <define name="chart-series-attlist" combine="interleave">   15254 <define name="chart-series-attlist" combine="interleave">
14841         <optional>   15255         <optional>
14842                 <attribute name="chart:class">   15256                 <attribute name="chart:class">
14843                         <ref name="namespacedToken"/>   15257                         <ref name="namespacedToken"/>
14844                 </attribute>   15258                 </attribute>
14845         </optional>   15259         </optional>
14846 </define>   15260 </define>
14847 Attached Axis   15261 Attached Axis
14848 The chart:attached-axis attribute can be used to assign the data series to a <chart:axis> element.   15262 The chart:attached-axis attribute can be used to assign the data series to a <chart:axis> element.
14849 <define name="chart-series-attlist" combine="interleave">   15263 <define name="chart-series-attlist" combine="interleave">
14850         <optional>   15264         <optional>
14851                 <attribute name="chart:attached-axis">   15265                 <attribute name="chart:attached-axis">
14852                         <ref name="string"/>   15266                         <ref name="string"/>
14853                 </attribute>   15267                 </attribute>
14854         </optional>   15268         </optional>
14855 </define>   15269 </define>
14856 Style Name   15270 Style Name
14857 Styling attributes for the data series can be assigned through the chart:style-name attribute. Fill and stroke properties may be applied for <chart:series> element, see sections 15.14 and 15.13 for information. Text properties can also be applied to the descriptive text underneath the series, see section 15.4 for information.   15271 Styling attributes for the data series can be assigned through the chart:style-name attribute. Fill and stroke properties may be applied for <chart:series> element, see sections 15.14 and 15.13 for information. Text properties can also be applied to the descriptive text underneath the series, see section 15.4 for information.
14858 <define name="chart-series-attlist" combine="interleave">   15272 <define name="chart-series-attlist" combine="interleave">
14859         <optional>   15273         <optional>
14860                 <attribute name="chart:style-name">   15274                 <attribute name="chart:style-name">
14861                         <ref name="styleNameRef"/>   15275                         <ref name="styleNameRef"/>
14862                 </attribute>   15276                 </attribute>
14863         </optional>   15277         </optional>
14864 </define>   15278 </define>
14865 10.9.1Domain   15279 10.9.1Domain
14866 For scatter and bubble charts, one ore more <chart:domain> elements must be specified for the <chart:series> elements.   15280 For scatter and bubble charts, one ore more <chart:domain> elements must be specified for the <chart:series> elements.
14867 For scatter charts, one <chart:domain> element is required. Its cell-range-address attribute references the x coordinate values for the scatter chart.   15281 For scatter charts, one <chart:domain> element is required. Its cell-range-address attribute references the x coordinate values for the scatter chart.
14868 For bubble charts, two <chart:domain> elements are required. Their cell-range-address attributes reference the x and y coordinate values for the bubble chart   15282 For bubble charts, two <chart:domain> elements are required. Their cell-range-address attributes reference the x and y coordinate values for the bubble chart
14869 For both chart types, there must be at least one <chart:series> element with the necessary number of <chart:domain> sub-elements. All other <chart:series> elements can omit these. In this case, the first domain that is specified is used.   15283 For both chart types, there must be at least one <chart:series> element with the necessary number of <chart:domain> sub-elements. All other <chart:series> elements can omit these. In this case, the first domain that is specified is used.
14870 <define name="chart-domain">   15284 <define name="chart-domain">
14871         <element name="chart:domain">   15285         <element name="chart:domain">
14872         <optional>   15286         <optional>
14873                 <attribute name="table:cell-range-address">   15287                 <attribute name="table:cell-range-address">
14874                         <ref name="cellRangeAddress"/>   15288                         <ref name="cellRangeAddress"/>
14875                 </attribute>   15289                 </attribute>
14876         </optional>   15290         </optional>
14877         </element>   15291         </element>
14878 </define>   15292 </define>
14879 10.10Categories   15293 10.10Categories
14880 The element <chart:categories> element represents the range of cell addresses that contains the captions for the categories contained in each series.   15294 The element <chart:categories> element represents the range of cell addresses that contains the captions for the categories contained in each series.
14881 The element may contain a table:cell-range-address that denotes the region from which the category labels are taken from. If this attribute or the <chart:categories> element is omitted the application will evaluate the chart:data-source-has-labels attribute.   15295 The element may contain a table:cell-range-address that denotes the region from which the category labels are taken from. If this attribute or the <chart:categories> element is omitted the application will evaluate the chart:data-source-has-labels attribute.
14882 <define name="chart-categories">   15296 <define name="chart-categories">
14883         <element name="chart:categories">   15297         <element name="chart:categories">
14884         <optional>   15298         <optional>
14885                 <attribute name="table:cell-range-address">   15299                 <attribute name="table:cell-range-address">
14886                         <ref name="cellRangeAddress"/>   15300                         <ref name="cellRangeAddress"/>
14887                 </attribute>   15301                 </attribute>
14888         </optional>   15302         </optional>
14889         </element>   15303         </element>
14890 </define>   15304 </define>
14891 10.11Data Point   15305 10.11Data Point
14892 If a single data point in a data series should have a specific appearance, the <chart:data-point> element is used to apply the required properties.   15306 If a single data point in a data series should have a specific appearance, the <chart:data-point> element is used to apply the required properties.
14893 <define name="chart-data-point">   15307 <define name="chart-data-point">
14894         <element name="chart:data-point">   15308         <element name="chart:data-point">
14895                 <ref name="chart-data-point-attlist"/>   15309                 <ref name="chart-data-point-attlist"/>
14896                 <empty/>   15310                 <empty/>
14897         </element>   15311         </element>
14898 </define>   15312 </define>
14899 Repetition   15313 Repetition
14900 The chart:repeated attribute serves as a simplification if more than one consecutive data-points have the same properties. For example, the following XML-fragments have an identical meaning:   15314 The chart:repeated attribute serves as a simplification if more than one consecutive data-points have the same properties. For example, the following XML-fragments have an identical meaning:
14901 <chart:series chart:style-name="ch9">   15315 <chart:series chart:style-name="ch9">
14902         <chart:data-point/>   15316         <chart:data-point/>
14903         <chart:data-point/>   15317         <chart:data-point/>
14904         <chart:data-point/>   15318         <chart:data-point/>
14905         <chart:data-point/>   15319         <chart:data-point/>
14906 </chart:series>   15320 </chart:series>
14907 and   15321 and
14908 <chart:series chart:style-name="ch9">   15322 <chart:series chart:style-name="ch9">
14909         <chart:data-point chart:repeated="4"/>   15323         <chart:data-point chart:repeated="4"/>
14910 </chart:series>   15324 </chart:series>
14911 <define name="chart-data-point-attlist" combine="interleave">   15325 <define name="chart-data-point-attlist" combine="interleave">
14912         <optional>   15326         <optional>
14913                 <attribute name="chart:repeated">   15327                 <attribute name="chart:repeated">
14914                         <ref name="nonNegativeInteger"/>   15328                         <ref name="nonNegativeInteger"/>
14915                 </attribute>   15329                 </attribute>
14916         </optional>   15330         </optional>
14917 </define>   15331 </define>
14918 Style   15332 Style
14919 The chart:style-name attribute referenced a chart style. Fill and stroke properties can be applied to each data point object, see sections 15.14 and 15.13. Text properties can also be applied to the descriptive text located underneath the data points, see section 15.4.   15333 The chart:style-name attribute referenced a chart style. Fill and stroke properties can be applied to each data point object, see sections 15.14 and 15.13. Text properties can also be applied to the descriptive text located underneath the data points, see section 15.4.
14920 <define name="chart-data-point-attlist" combine="interleave">   15334 <define name="chart-data-point-attlist" combine="interleave">
14921         <optional>   15335         <optional>
14922                 <attribute name="chart:style-name">   15336                 <attribute name="chart:style-name">
14923                         <ref name="styleNameRef"/>   15337                         <ref name="styleNameRef"/>
14924                 </attribute>   15338                 </attribute>
14925         </optional>   15339         </optional>
14926 </define>   15340 </define>
14927     15341  
14928 10.12Mean Value   15342 10.12Mean Value
14929 The formatting properties of the mean-value line are stored in the <chart:mean-value> element, which may be part of a <chart:series> element.   15343 The formatting properties of the mean-value line are stored in the <chart:mean-value> element, which may be part of a <chart:series> element.
14930 <define name="chart-mean-value">   15344 <define name="chart-mean-value">
14931         <element name="chart:mean-value">   15345         <element name="chart:mean-value">
14932                 <ref name="chart-mean-value-attlist"/>   15346                 <ref name="chart-mean-value-attlist"/>
14933                 <empty/>   15347                 <empty/>
14934         </element>   15348         </element>
14935 </define>   15349 </define>
14936 Style Name   15350 Style Name
14937 The chart:style-name attribute references a chart style that contains the formatting properties for the mean-value line.   15351 The chart:style-name attribute references a chart style that contains the formatting properties for the mean-value line.
14938 <define name="chart-mean-value-attlist" combine="interleave">   15352 <define name="chart-mean-value-attlist" combine="interleave">
14939         <optional>   15353         <optional>
14940                 <attribute name="chart:style-name">   15354                 <attribute name="chart:style-name">
14941                         <ref name="styleNameRef"/>   15355                         <ref name="styleNameRef"/>
14942                 </attribute>   15356                 </attribute>
14943         </optional>   15357         </optional>
14944 </define>   15358 </define>
14945 10.13Error Indicator   15359 10.13Error Indicator
14946 The formatting properties of error-indicators are stored in the <chart:error-indicator> elements which may be part of a series.   15360 The formatting properties of error-indicators are stored in the <chart:error-indicator> elements which may be part of a series.
14947 <define name="chart-error-indicator">   15361 <define name="chart-error-indicator">
14948         <element name="chart:error-indicator">   15362         <element name="chart:error-indicator">
14949                 <ref name="chart-error-indicator-attlist"/>   15363                 <ref name="chart-error-indicator-attlist"/>
14950                 <empty/>   15364                 <empty/>
14951         </element>   15365         </element>
14952 </define>   15366 </define>
14953 Style Name   15367 Style Name
14954 The chart:style-name attribute references a chart style that contains the formatting properties for the error indicator.   15368 The chart:style-name attribute references a chart style that contains the formatting properties for the error indicator.
14955 <define name="chart-error-indicator-attlist" combine="interleave">   15369 <define name="chart-error-indicator-attlist" combine="interleave">
14956         <optional>   15370         <optional>
14957                 <attribute name="chart:style-name">   15371                 <attribute name="chart:style-name">
14958                         <ref name="styleNameRef"/>   15372                         <ref name="styleNameRef"/>
14959                 </attribute>   15373                 </attribute>
14960         </optional>   15374         </optional>
14961 </define>   15375 </define>
14962 10.14Regression Curves   15376 10.14Regression Curves
14963 The formatting properties of regression-lines are stored in the <chart:regression-curve> elements which may be part of a series.   15377 The formatting properties of regression-lines are stored in the <chart:regression-curve> elements which may be part of a series.
14964 <define name="chart-regression-curve">   15378 <define name="chart-regression-curve">
14965         <element name="chart:regression-curve">   15379         <element name="chart:regression-curve">
14966                 <ref name="chart-regression-curve-attlist"/>   15380                 <ref name="chart-regression-curve-attlist"/>
14967                 <empty/>   15381                 <empty/>
14968         </element>   15382         </element>
14969 </define>   15383 </define>
14970 Style Name   15384 Style Name
14971 The chart:style-name attribute referenced a chart style that contains the formatting properties for the error indicator. The chart style especially may contain the regression type property specified in section 15.35.1.   15385 The chart:style-name attribute referenced a chart style that contains the formatting properties for the error indicator. The chart style especially may contain the regression type property specified in section 15.35.1.
14972 <define name="chart-regression-curve-attlist" combine="interleave">   15386 <define name="chart-regression-curve-attlist" combine="interleave">
14973         <optional>   15387         <optional>
14974                 <attribute name="chart:style-name">   15388                 <attribute name="chart:style-name">
14975                         <ref name="styleNameRef"/>   15389                         <ref name="styleNameRef"/>
14976                 </attribute>   15390                 </attribute>
14977         </optional>   15391         </optional>
14978 </define>   15392 </define>
14979 10.14.1Stock Chart Markers   15393 10.14.1Stock Chart Markers
14980 The properties of a stock chart, i.e., the different colors for filling the candlestick-bars or the line-styles of the lines pointing to the high and low values (the range-line), are stored in separate elements.   15394 The properties of a stock chart, i.e., the different colors for filling the candlestick-bars or the line-styles of the lines pointing to the high and low values (the range-line), are stored in separate elements.
14981 The candlestick-bars for stocks that have a higher close-value than open-value take their formatting from the <chart:stock-gain-marker> element's properties, whereas stocks which close value is lower than the open-value, use the properties stored in <chart:stock-loss-marker>.   15395 The candlestick-bars for stocks that have a higher close-value than open-value take their formatting from the <chart:stock-gain-marker> element's properties, whereas stocks which close value is lower than the open-value, use the properties stored in <chart:stock-loss-marker>.
14982 <define name="chart-stock-gain-marker">   15396 <define name="chart-stock-gain-marker">
14983         <element name="chart:stock-gain-marker">   15397         <element name="chart:stock-gain-marker">
14984                 <ref name="common-stock-marker-attlist"/>   15398                 <ref name="common-stock-marker-attlist"/>
14985         </element>   15399         </element>
14986 </define>   15400 </define>
14987 <define name="chart-stock-loss-marker">   15401 <define name="chart-stock-loss-marker">
14988         <element name="chart:stock-loss-marker">   15402         <element name="chart:stock-loss-marker">
14989                 <ref name="common-stock-marker-attlist"/>   15403                 <ref name="common-stock-marker-attlist"/>
14990         </element>   15404         </element>
14991 </define>   15405 </define>
14992 <define name="chart-stock-range-line">   15406 <define name="chart-stock-range-line">
14993         <element name="chart:stock-range-line">   15407         <element name="chart:stock-range-line">
14994                 <ref name="common-stock-marker-attlist"/>   15408                 <ref name="common-stock-marker-attlist"/>
14995         </element>   15409         </element>
14996 </define>   15410 </define>
14997 Style Name   15411 Style Name
14998 The chart:style-name attribute referenced a chart style that contains the formatting properties for stock markers.   15412 The chart:style-name attribute referenced a chart style that contains the formatting properties for stock markers.
14999 <define name="common-stock-marker-attlist">   15413 <define name="common-stock-marker-attlist">
15000         <optional>   15414         <optional>
15001                 <attribute name="chart:style-name">   15415                 <attribute name="chart:style-name">
15002                         <ref name="styleNameRef"/>   15416                         <ref name="styleNameRef"/>
15003                 </attribute>   15417                 </attribute>
15004         </optional>   15418         </optional>
15005 </define>   15419 </define>
15006 11Form Content   15420 11Form Content
15007 A form is a container for user interface controls which a user interacts with. For example, buttons, text boxes, check boxes, and drop-down lists are user interface controls that can be contained in a form. In the XML file format, the following basic rules apply to user interface controls and forms:   15421 A form is a container for user interface controls which a user interacts with. For example, buttons, text boxes, check boxes, and drop-down lists are user interface controls that can be contained in a form. In the XML file format, the following basic rules apply to user interface controls and forms:
15008 All controls must be located in a form.   15422 All controls must be located in a form.
15009 All controls that are not hidden have to be  associated with an absolute or relative position. These visual aspects of the control are represented by drawing shapes that contain a reference to the control. See section 9.2.12 for details.   15423 All controls that are not hidden have to be  associated with an absolute or relative position. These visual aspects of the control are represented by drawing shapes that contain a reference to the control. See section 9.2.12 for details.
15010 Forms may be nested.   15424 Forms may be nested.
15011 Forms are not connected with the text flow and layout of a document. This does not apply to controls.   15425 Forms are not connected with the text flow and layout of a document. This does not apply to controls.
15012 Forms can be data-aware. The controls reflect the content of a database.   15426 Forms can be data-aware. The controls reflect the content of a database.
15013 Forms define rules for the following form behavior:   15427 Forms define rules for the following form behavior:
15014 Submitting the form, which is similar to [HTML4].   15428 Submitting the form, which is similar to [HTML4].
15015 Note: Form submission is only supported for non nested forms that contain only controls that can be converted to HTML.   15429 Note: Form submission is only supported for non nested forms that contain only controls that can be converted to HTML.
15016 Connecting to a data source. When this happens, the controls in a form become data-aware.   15430 Connecting to a data source. When this happens, the controls in a form become data-aware.
15017 Submitting and binding according to the [XForms] data model.   15431 Submitting and binding according to the [XForms] data model.
15018 Forms are contained in the <office:forms> section of an XML document. This element may contain an arbitrary sequence of <form:form> or <xforms:model> elements. Note that controls are always declared inside a <form:form> element, while an <xforms:model> element contains only the XForms data model. Thus, the <office:forms> element may contain only <form:form> elements but no <xforms:model> element, while an <xforms:model> would typically be accompanied by an additional <form:form> element.   15432 Forms are contained in the <office:forms> section of an XML document. This element may contain an arbitrary sequence of <form:form> or <xforms:model> elements. Note that controls are always declared inside a <form:form> element, while an <xforms:model> element contains only the XForms data model. Thus, the <office:forms> element may contain only <form:form> elements but no <xforms:model> element, while an <xforms:model> would typically be accompanied by an additional <form:form> element.
15019 <define name="office-forms">   15433 <define name="office-forms">
15020         <optional>   15434         <optional>
15021                 <element name="office:forms">   15435                 <element name="office:forms">
15022                         <ref name="office-forms-attlist"/>   15436                         <ref name="office-forms-attlist"/>
15023                         <zeroOrMore>   15437                         <zeroOrMore>
15024                                 <choice>   15438                                 <choice>
15025                                         <ref name="form-form"/>   15439                                         <ref name="form-form"/>
15026                                         <ref name="xforms-model"/>   15440                                         <ref name="xforms-model"/>
15027                                 </choice>   15441                                 </choice>
15028                         </zeroOrMore>   15442                         </zeroOrMore>
15029                 </element>   15443                 </element>
15030         </optional>   15444         </optional>
15031 </define>   15445 </define>
15032 For ease of use when using (filling out) forms, applications may focus controls initially so that the user can immediately type into the first form control. To achieve this behavior, the form:automatic-focus flag may be set to true.   15446 For ease of use when using (filling out) forms, applications may focus controls initially so that the user can immediately type into the first form control. To achieve this behavior, the form:automatic-focus flag may be set to true.
15033 <define name="office-forms-attlist" combine="interleave">   15447 <define name="office-forms-attlist" combine="interleave">
15034         <optional>   15448         <optional>
15035                 <attribute name="form:automatic-focus" a:defaultValue="false">   15449                 <attribute name="form:automatic-focus" a:defaultValue="false">
15036                         <ref name="boolean"/>   15450                         <ref name="boolean"/>
15037                 </attribute>   15451                 </attribute>
15038         </optional>   15452         </optional>
15039 </define>   15453 </define>
15040 Application which support both creation and usage (filling out) of forms, the form:apply-design-mode flag determines whether the application is supposed to present the forms in this document in editable or fill-out state.   15454 Application which support both creation and usage (filling out) of forms, the form:apply-design-mode flag determines whether the application is supposed to present the forms in this document in editable or fill-out state.
15041 <define name="office-forms-attlist" combine="interleave">   15455 <define name="office-forms-attlist" combine="interleave">
15042         <optional>   15456         <optional>
15043                 <attribute name="form:apply-design-mode" a:defaultValue="true">   15457                 <attribute name="form:apply-design-mode" a:defaultValue="true">
15044                         <ref name="boolean"/>   15458                         <ref name="boolean"/>
15045                 </attribute>   15459                 </attribute>
15046         </optional>   15460         </optional>
15047 </define>   15461 </define>
15048 11.1Form   15462 11.1Form
15049 The <form:form> element represents a user interface form and defines the contents and properties of the form.   15463 The <form:form> element represents a user interface form and defines the contents and properties of the form.
15050 This element is contained in either an <office:forms> or a <form:form> element. It contains the controls and sub forms of the form, a <form:properties> element which defines the properties of the form, and an <office:events-listeners> element that contains the events for the form.   15464 This element is contained in either an <office:forms> or a <form:form> element. It contains the controls and sub forms of the form, a <form:properties> element which defines the properties of the form, and an <office:events-listeners> element that contains the events for the form.
15051 <define name="form-form">   15465 <define name="form-form">
15052         <element name="form:form">   15466         <element name="form:form">
15053                 <ref name="common-form-control-attlist"/>   15467                 <ref name="common-form-control-attlist"/>
15054                 <ref name="form-form-attlist"/>   15468                 <ref name="form-form-attlist"/>
15055                 <optional>   15469                 <optional>
15056                         <ref name="form-properties"/>   15470                         <ref name="form-properties"/>
15057                 </optional>   15471                 </optional>
15058                 <optional>   15472                 <optional>
15059                         <ref name="office-event-listeners"/>   15473                         <ref name="office-event-listeners"/>
15060                 </optional>   15474                 </optional>
15061                 <zeroOrMore>   15475                 <zeroOrMore>
15062                         <choice>   15476                         <choice>
15063                                 <ref name="controls"/>   15477                                 <ref name="controls"/>
15064                                 <ref name="form-form"/>   15478                                 <ref name="form-form"/>
15065                         </choice>   15479                         </choice>
15066                 </zeroOrMore>   15480                 </zeroOrMore>
15067                 <optional>   15481                 <optional>
15068                         <ref name="form-connection-resource"/>   15482                         <ref name="form-connection-resource"/>
15069                 </optional>   15483                 </optional>
15070         </element>   15484         </element>
15071 </define>   15485 </define>
15072 The attributes that may be associated with the <form:form> are as follows:   15486 The attributes that may be associated with the <form:form> are as follows:
15073 Name. See section 11.4.   15487 Name. See section 11.4.
15074 Service name. See section 11.4.   15488 Service name. See section 11.4.
15075 Action   15489 Action
15076 Target frame   15490 Target frame
15077 Method   15491 Method
15078 Encoding Type   15492 Encoding Type
15079 Allow deletes   15493 Allow deletes
15080 Allow inserts   15494 Allow inserts
15081 Allow updates   15495 Allow updates
15082 Apply filter   15496 Apply filter
15083 Command type   15497 Command type
15084 Command   15498 Command
15085 Data source   15499 Data source
15086 Master fields   15500 Master fields
15087 Detail fields   15501 Detail fields
15088 Escape processing   15502 Escape processing
15089 Filter   15503 Filter
15090 Ignore result   15504 Ignore result
15091 Navigation mode   15505 Navigation mode
15092 Order   15506 Order
15093 Tabbing cycle   15507 Tabbing cycle
15094 11.1.1Action   15508 11.1.1Action
15095 The xlink:href attribute represents the IRI of the processing agent for the form.   15509 The xlink:href attribute represents the IRI of the processing agent for the form.
15096 <define name="form-form-attlist" combine="interleave">   15510 <define name="form-form-attlist" combine="interleave">
15097         <optional>   15511         <optional>
15098                 <attribute name="xlink:href">   15512                 <attribute name="xlink:href">
15099                         <ref name="anyURI"/>   15513                         <ref name="anyURI"/>
15100                 </attribute>   15514                 </attribute>
15101                 <optional>   15515                 <optional>
15102                         <attribute name="xlink:type" a:defaultValue="simple">   15516                         <attribute name="xlink:type" a:defaultValue="simple">
15103                                 <value>simple</value>   15517                                 <value>simple</value>
15104                         </attribute>   15518                         </attribute>
15105                 </optional>   15519                 </optional>
15106                 <optional>   15520                 <optional>
15107                         <attribute name="xlink:actuate" a:defaultValue="onRequest">   15521                         <attribute name="xlink:actuate" a:defaultValue="onRequest">
15108                                 <value>onRequest</value>   15522                                 <value>onRequest</value>
15109                         </attribute>   15523                         </attribute>
15110                 </optional>   15524                 </optional>
15111         </optional>   15525         </optional>
15112 </define>   15526 </define>
15113 11.1.2Target Frame   15527 11.1.2Target Frame
15114 The office:target-frame attribute specifies the target frame of the form.   15528 The office:target-frame attribute specifies the target frame of the form.
15115 This attribute can have one of the following values:   15529 This attribute can have one of the following values:
15116 _self: The form replaces the content of the current frame.   15530 _self: The form replaces the content of the current frame.
15117 _blank: The form is displayed in a new frame.   15531 _blank: The form is displayed in a new frame.
15118 _parent: The form is displayed in the parent frame of the current frame.   15532 _parent: The form is displayed in the parent frame of the current frame.
15119 _top: The form is displayed in the topmost frame, that is the frame that contains the current frame as a child or descendent but is not contained within another frame.   15533 _top: The form is displayed in the topmost frame, that is the frame that contains the current frame as a child or descendent but is not contained within another frame.
15120 A frame name: The form is displayed in the named frame. If the named frame does not exist, a new frame with that name is created.   15534 A frame name: The form is displayed in the named frame. If the named frame does not exist, a new frame with that name is created.
15121 <define name="form-form-attlist" combine="interleave">   15535 <define name="form-form-attlist" combine="interleave">
15122         <optional>   15536         <optional>
15123                 <attribute name="office:target-frame" a:defaultValue="_blank">   15537                 <attribute name="office:target-frame" a:defaultValue="_blank">
15124                         <ref name="targetFrameName"/>   15538                         <ref name="targetFrameName"/>
15125                 </attribute>   15539                 </attribute>
15126         </optional>   15540         </optional>
15127 </define>   15541 </define>
15128 11.1.3Method   15542 11.1.3Method
15129 The form:method attribute specifies the HTTP method to use to submit the data in the form to the server. The value of this attribute can be get or post. The default value is get. These values are not case sensitive.   15543 The form:method attribute specifies the HTTP method to use to submit the data in the form to the server. The value of this attribute can be get or post. The default value is get. These values are not case sensitive.
15130 <define name="form-form-attlist" combine="interleave">   15544 <define name="form-form-attlist" combine="interleave">
15131         <optional>   15545         <optional>
15132                 <attribute name="form:method" a:defaultValue="get">   15546                 <attribute name="form:method" a:defaultValue="get">
15133                         <choice>   15547                         <choice>
15134                                 <value>get</value>   15548                                 <value>get</value>
15135                                 <value>post</value>   15549                                 <value>post</value>
15136                                 <ref name="string"/>   15550                                 <ref name="string"/>
15137                         </choice>   15551                         </choice>
15138                 </attribute>   15552                 </attribute>
15139         </optional>   15553         </optional>
15140 </define>   15554 </define>
15141 11.1.4Encoding Type   15555 11.1.4Encoding Type
15142 If the value of the form:method attribute is post, the form:enctype attribute specifies the content type used to submit the form to the server. The default value of  this attribute is application/x-www-form-urlencoded. Other suitable MIME types are also acceptable.   15556 If the value of the form:method attribute is post, the form:enctype attribute specifies the content type used to submit the form to the server. The default value of  this attribute is application/x-www-form-urlencoded. Other suitable MIME types are also acceptable.
15143 See §17.3 of [HTML4] for more information.   15557 See §17.3 of [HTML4] for more information.
15144 <define name="form-form-attlist" combine="interleave">   15558 <define name="form-form-attlist" combine="interleave">
15145         <optional>   15559         <optional>
15146                 <attribute name="form:enctype"   15560                 <attribute name="form:enctype"
15147                                         a:defaultValue="application/x-www-form-urlencoded">   15561                                         a:defaultValue="application/x-www-form-urlencoded">
15148                         <ref name="string"/>   15562                         <ref name="string"/>
15149                 </attribute>   15563                 </attribute>
15150         </optional>   15564         </optional>
15151 </define>   15565 </define>
15152 11.1.5Allow Deletes   15566 11.1.5Allow Deletes
15153 The form:allow-deletes attribute specifies whether or not data records can be deleted. It applies only if the form is data-aware.   15567 The form:allow-deletes attribute specifies whether or not data records can be deleted. It applies only if the form is data-aware.
15154 <define name="form-form-attlist" combine="interleave">   15568 <define name="form-form-attlist" combine="interleave">
15155         <optional>   15569         <optional>
15156                 <attribute name="form:allow-deletes" a:defaultValue="true">   15570                 <attribute name="form:allow-deletes" a:defaultValue="true">
15157                         <ref name="boolean"/>   15571                         <ref name="boolean"/>
15158                 </attribute>   15572                 </attribute>
15159         </optional>   15573         </optional>
15160 </define>   15574 </define>
15161 11.1.6Allow Inserts   15575 11.1.6Allow Inserts
15162 The form:allow-inserts attribute specifies whether or not new data records can be inserted. It applies only if the form is data-aware.   15576 The form:allow-inserts attribute specifies whether or not new data records can be inserted. It applies only if the form is data-aware.
15163 <define name="form-form-attlist" combine="interleave">   15577 <define name="form-form-attlist" combine="interleave">
15164         <optional>   15578         <optional>
15165                 <attribute name="form:allow-inserts" a:defaultValue="true">   15579                 <attribute name="form:allow-inserts" a:defaultValue="true">
15166                         <ref name="boolean"/>   15580                         <ref name="boolean"/>
15167                 </attribute>   15581                 </attribute>
15168         </optional>   15582         </optional>
15169 </define>   15583 </define>
15170 11.1.7Allow Updates   15584 11.1.7Allow Updates
15171 The form:allow-updates attribute specifies whether or not data records can be updated.   15585 The form:allow-updates attribute specifies whether or not data records can be updated.
15172 <define name="form-form-attlist" combine="interleave">   15586 <define name="form-form-attlist" combine="interleave">
15173         <optional>   15587         <optional>
15174                 <attribute name="form:allow-updates" a:defaultValue="true">   15588                 <attribute name="form:allow-updates" a:defaultValue="true">
15175                         <ref name="boolean"/>   15589                         <ref name="boolean"/>
15176                 </attribute>   15590                 </attribute>
15177         </optional>   15591         </optional>
15178 </define>   15592 </define>
15179 11.1.8Apply Filter   15593 11.1.8Apply Filter
15180 The form:apply-filter attribute specifies whether or not filters should be applied to the form. See also the Filter attribute.   15594 The form:apply-filter attribute specifies whether or not filters should be applied to the form. See also the Filter attribute.
15181 <define name="form-form-attlist" combine="interleave">   15595 <define name="form-form-attlist" combine="interleave">
15182         <optional>   15596         <optional>
15183                 <attribute name="form:apply-filter" a:defaultValue="false">   15597                 <attribute name="form:apply-filter" a:defaultValue="false">
15184                         <ref name="boolean"/>   15598                         <ref name="boolean"/>
15185                 </attribute>   15599                 </attribute>
15186         </optional>   15600         </optional>
15187 </define>   15601 </define>
15188 11.1.9Command Type   15602 11.1.9Command Type
15189 The form:command-type attribute specifies the type of command to execute on the data source. The value of this attribute can be one of the following:   15603 The form:command-type attribute specifies the type of command to execute on the data source. The value of this attribute can be one of the following:
15190 table: The command contains a table name. The form retrieves all of the data in the table.   15604 table: The command contains a table name. The form retrieves all of the data in the table.
15191 query: The command contains the name of query. The form retrieves and executes the query.   15605 query: The command contains the name of query. The form retrieves and executes the query.
15192 command : The command contains an SQL statement. The form executes the SQL statement.   15606 command : The command contains an SQL statement. The form executes the SQL statement.
15193 <define name="form-form-attlist" combine="interleave">   15607 <define name="form-form-attlist" combine="interleave">
15194         <optional>   15608         <optional>
15195                 <attribute name="form:command-type" a:defaultValue="command">   15609                 <attribute name="form:command-type" a:defaultValue="command">
15196                         <choice>   15610                         <choice>
15197                                 <value>table</value>   15611                                 <value>table</value>
15198                                 <value>query</value>   15612                                 <value>query</value>
15199                                 <value>command</value>   15613                                 <value>command</value>
15200                         </choice>   15614                         </choice>
15201                 </attribute>   15615                 </attribute>
15202         </optional>   15616         </optional>
15203 </define>   15617 </define>
15204 11.1.10Command   15618 11.1.10Command
15205 The form:command attribute specifies the command to execute on the data source.   15619 The form:command attribute specifies the command to execute on the data source.
15206 The value is interpreted differently, depending to the value of the Command Type attribute of the form. It can be the name of a database table, the name of a query object or an SQL statement.   15620 The value is interpreted differently, depending to the value of the Command Type attribute of the form. It can be the name of a database table, the name of a query object or an SQL statement.
15207 <define name="form-form-attlist" combine="interleave">   15621 <define name="form-form-attlist" combine="interleave">
15208         <optional>   15622         <optional>
15209                 <attribute name="form:command"/>   15623                 <attribute name="form:command"/>
15210         </optional>   15624         </optional>
15211 </define>   15625 </define>
15212 11.1.11Data Source   15626 11.1.11Data Source
15213 The form:datasource attribute specifies the name of a data source to use for the form.   15627 The form:datasource attribute specifies the name of a data source to use for the form.
15214 The value of this attribute can be one of the following:   15628 The value of this attribute can be one of the following:
15215 A URL specifying a database connection.   15629 A URL specifying a database connection.
15216 A data source name that the office application can use to establish database connections.   15630 A data source name that the office application can use to establish database connections.
15217 <define name="form-form-attlist" combine="interleave">   15631 <define name="form-form-attlist" combine="interleave">
15218         <optional>   15632         <optional>
15219                 <attribute name="form:datasource">   15633                 <attribute name="form:datasource">
15220                         <choice>   15634                         <choice>
15221                                 <ref name="anyURI"/>   15635                                 <ref name="anyURI"/>
15222                                 <ref name="string"/>   15636                                 <ref name="string"/>
15223                         </choice>   15637                         </choice>
15224                 </attribute>   15638                 </attribute>
15225         </optional>   15639         </optional>
15226 </define>   15640 </define>
15227 11.1.12Master Fields   15641 11.1.12Master Fields
15228 The form:master-fields attribute is used for nested data-aware forms. It specifies the names of the columns in the result set represented by the parent form. Usually, they denote the foreign key fields of the parent form. The values of the columns are used to parameterize the data for the nested form. Each time the parent form changes the current row, the nested form queries the database again based on the values of the master fields.   15642 The form:master-fields attribute is used for nested data-aware forms. It specifies the names of the columns in the result set represented by the parent form. Usually, they denote the foreign key fields of the parent form. The values of the columns are used to parameterize the data for the nested form. Each time the parent form changes the current row, the nested form queries the database again based on the values of the master fields.
15229 The attribute contains a comma separated list of field names.   15643 The attribute contains a comma separated list of field names.
15230 <define name="form-form-attlist" combine="interleave">   15644 <define name="form-form-attlist" combine="interleave">
15231         <optional>   15645         <optional>
15232                 <attribute name="form:master-fields">   15646                 <attribute name="form:master-fields">
15233                         <ref name="string"/>   15647                         <ref name="string"/>
15234                 </attribute>   15648                 </attribute>
15235         </optional>   15649         </optional>
15236 </define>   15650 </define>
15237 11.1.13Detail Fields   15651 11.1.13Detail Fields
15238 The form:detail-fields attribute is used for nested database forms. It specifies the names of the columns in detail forms that are related to columns in the parent form. The columns are used as parameters in the command for the nested form to retrieve the details for a matching master form record.   15652 The form:detail-fields attribute is used for nested database forms. It specifies the names of the columns in detail forms that are related to columns in the parent form. The columns are used as parameters in the command for the nested form to retrieve the details for a matching master form record.
15239 This attribute contains a comma separated list of field names.   15653 This attribute contains a comma separated list of field names.
15240 <define name="form-form-attlist" combine="interleave">   15654 <define name="form-form-attlist" combine="interleave">
15241         <optional>   15655         <optional>
15242                 <attribute name="form:detail-fields">   15656                 <attribute name="form:detail-fields">
15243                         <ref name="string"/>   15657                         <ref name="string"/>
15244                 </attribute>   15658                 </attribute>
15245         </optional>   15659         </optional>
15246 </define>   15660 </define>
15247 11.1.14Escape Processing   15661 11.1.14Escape Processing
15248 If the value of the form:command-type attribute is command, the form:escape-processing attribute specifies whether or not the application processes the command before passing it to the database driver.   15662 If the value of the form:command-type attribute is command, the form:escape-processing attribute specifies whether or not the application processes the command before passing it to the database driver.
15249 <define name="form-form-attlist" combine="interleave">   15663 <define name="form-form-attlist" combine="interleave">
15250         <optional>   15664         <optional>
15251                 <attribute name="form:escape-processing" a:defaultValue="true">   15665                 <attribute name="form:escape-processing" a:defaultValue="true">
15252                         <ref name="boolean"/>   15666                         <ref name="boolean"/>
15253                 </attribute>   15667                 </attribute>
15254         </optional>   15668         </optional>
15255 </define>   15669 </define>
15256 11.1.15Filter   15670 11.1.15Filter
15257 The form:filter attribute specifies a filter for the command to base the form on. No matter whether the form is based on a query, a table, or a command, the filter is always conjunctively added to any possible existing filter. The filter usually forms a SQL “WHERE” clause, without the “WHERE” keyword.   15671 The form:filter attribute specifies a filter for the command to base the form on. No matter whether the form is based on a query, a table, or a command, the filter is always conjunctively added to any possible existing filter. The filter usually forms a SQL “WHERE” clause, without the “WHERE” keyword.
15258 The form:apply-filter attribute specifies whether or not the filter is actually applies to the command.   15672 The form:apply-filter attribute specifies whether or not the filter is actually applies to the command.
15259 <define name="form-form-attlist" combine="interleave">   15673 <define name="form-form-attlist" combine="interleave">
15260         <optional>   15674         <optional>
15261                 <attribute name="form:filter">   15675                 <attribute name="form:filter">
15262                         <ref name="string"/>   15676                         <ref name="string"/>
15263                 </attribute>   15677                 </attribute>
15264         </optional>   15678         </optional>
15265 </define>   15679 </define>
15266 11.1.16Ignore Result   15680 11.1.16Ignore Result
15267 The form:ignore-result attribute specifies whether or not to discard all results that are retrieved from the underlying data source. If true, a database-bound form will discard any data it queries from the database, and thus only inserting and editing of new records is available. Essentially, this allows a mode of operation where only new data can be inserted into a database.   15681 The form:ignore-result attribute specifies whether or not to discard all results that are retrieved from the underlying data source. If true, a database-bound form will discard any data it queries from the database, and thus only inserting and editing of new records is available. Essentially, this allows a mode of operation where only new data can be inserted into a database.
15268 <define name="form-form-attlist" combine="interleave">   15682 <define name="form-form-attlist" combine="interleave">
15269         <optional>   15683         <optional>
15270                 <attribute name="form:ignore-result" a:defaultValue="false">   15684                 <attribute name="form:ignore-result" a:defaultValue="false">
15271                         <ref name="boolean"/>   15685                         <ref name="boolean"/>
15272                 </attribute>   15686                 </attribute>
15273         </optional>   15687         </optional>
15274 </define>   15688 </define>
15275 11.1.17Navigation Mode   15689 11.1.17Navigation Mode
15276 The form:navigation-mode attribute specifies how the records in a database form are navigated.   15690 The form:navigation-mode attribute specifies how the records in a database form are navigated.
15277 The value of this attribute can be one of the following:   15691 The value of this attribute can be one of the following:
15278 none: A dedicated navigation bar is not provided by the user interface. The form must be navigated using the TAB and SHIFT/TAB keys on the keyboard.   15692 none: A dedicated navigation bar is not provided by the user interface. The form must be navigated using the TAB and SHIFT/TAB keys on the keyboard.
15279 current: A navigation bar is provided and the navigation is performed on the current form.   15693 current: A navigation bar is provided and the navigation is performed on the current form.
15280 parent: A navigation bar is provided and the navigation is performed on the parent form of the current form.   15694 parent: A navigation bar is provided and the navigation is performed on the parent form of the current form.
15281 <define name="form-form-attlist" combine="interleave">   15695 <define name="form-form-attlist" combine="interleave">
15282         <optional>   15696         <optional>
15283                 <attribute name="form:navigation-mode">   15697                 <attribute name="form:navigation-mode">
15284                         <ref name="navigation"/>   15698                         <ref name="navigation"/>
15285                 </attribute>   15699                 </attribute>
15286         </optional>   15700         </optional>
15287 </define>   15701 </define>
15288     15702  
15289 <define name="navigation">   15703 <define name="navigation">
15290         <choice>   15704         <choice>
15291                 <value>none</value>   15705                 <value>none</value>
15292                 <value>current</value>   15706                 <value>current</value>
15293                 <value>parent</value>   15707                 <value>parent</value>
15294         </choice>   15708         </choice>
15295 </define>   15709 </define>
15296 11.1.18Order   15710 11.1.18Order
15297 The form:order attribute specifies a sort criteria for the command. No matter whether the form is based on a query, a table, or a command, the sorting is always conjunctively added to any possible existing sorting. The attribute value usually forms an SQL “ORDER BY” clause, without the “ORDER BY” keyword.   15711 The form:order attribute specifies a sort criteria for the command. No matter whether the form is based on a query, a table, or a command, the sorting is always conjunctively added to any possible existing sorting. The attribute value usually forms an SQL “ORDER BY” clause, without the “ORDER BY” keyword.
15298 <define name="form-form-attlist" combine="interleave">   15712 <define name="form-form-attlist" combine="interleave">
15299         <optional>   15713         <optional>
15300                 <attribute name="form:order">   15714                 <attribute name="form:order">
15301                         <ref name="string"/>   15715                         <ref name="string"/>
15302                 </attribute>   15716                 </attribute>
15303         </optional>   15717         </optional>
15304 </define>   15718 </define>
15305 11.1.19Tabbing Cycle   15719 11.1.19Tabbing Cycle
15306 The form:tab-cycle attribute specifies how the application responds when the user presses the TAB key in the controls in a form. The behavior of the application depends on whether or not the form is bound to a data source.   15720 The form:tab-cycle attribute specifies how the application responds when the user presses the TAB key in the controls in a form. The behavior of the application depends on whether or not the form is bound to a data source.
15307 The value of this attribute can be one of the following:   15721 The value of this attribute can be one of the following:
15308 records: If a user presses the TAB key in the last control of the form, the focus moves to the first control specified in the tab order of the same form, and moves the form to the next record.   15722 records: If a user presses the TAB key in the last control of the form, the focus moves to the first control specified in the tab order of the same form, and moves the form to the next record.
15309 current: If a user presses the TAB key in the last control of the form, the focus moves to the first control specified in the tab order of the same form, while the record pointer of the form is not touched.   15723 current: If a user presses the TAB key in the last control of the form, the focus moves to the first control specified in the tab order of the same form, while the record pointer of the form is not touched.
15310 page: If a user presses the TAB key in the last control of a form, the focus moves to the first control specified in the tab order for the next form.   15724 page: If a user presses the TAB key in the last control of a form, the focus moves to the first control specified in the tab order for the next form.
15311 <define name="form-form-attlist" combine="interleave">   15725 <define name="form-form-attlist" combine="interleave">
15312         <optional>   15726         <optional>
15313                 <attribute name="form:tab-cycle">   15727                 <attribute name="form:tab-cycle">
15314                         <ref name="tab-cycles"/>   15728                         <ref name="tab-cycles"/>
15315                 </attribute>   15729                 </attribute>
15316         </optional>   15730         </optional>
15317 </define>   15731 </define>
15318 <define name="tab-cycles">   15732 <define name="tab-cycles">
15319         <choice>   15733         <choice>
15320                 <value>records</value>   15734                 <value>records</value>
15321                 <value>current</value>   15735                 <value>current</value>
15322                 <value>page</value>   15736                 <value>page</value>
15323         </choice>   15737         </choice>
15324 </define>   15738 </define>
15325 11.1.20Connection Resource   15739 11.1.20Connection Resource
15326 The <form:connection-resource> element specifies the source database by an [XLink]. Its xlink:href attribute either references a file containing a database, or it contains information on how to make a connection to a database, for instance a [JDBC] URL.   15740 The <form:connection-resource> element specifies the source database by an [XLink]. Its xlink:href attribute either references a file containing a database, or it contains information on how to make a connection to a database, for instance a [JDBC] URL.
15327 <define name="form-connection-resource">   15741 <define name="form-connection-resource">
15328         <element name="form:connection-resource">   15742         <element name="form:connection-resource">
15329                 <attribute name="xlink:href">   15743                 <attribute name="xlink:href">
15330                         <ref name="anyURI"/>   15744                         <ref name="anyURI"/>
15331                 </attribute>   15745                 </attribute>
15332                 <empty/>   15746                 <empty/>
15333         </element>   15747         </element>
15334 </define>   15748 </define>
15335 11.2XForms Model   15749 11.2XForms Model
15336 The form model described in section 11.1 implies a data model where each control defines a name-value-pair, with the name being determined by the control id and the value being editable through the control. No interaction between controls is possible (save for macro programming). For applications where this kind of form logic does not suffice, W3C has introduced XForms (see [XForms]), a standard for XML-based forms.   15750 The form model described in section 11.1 implies a data model where each control defines a name-value-pair, with the name being determined by the control id and the value being editable through the control. No interaction between controls is possible (save for macro programming). For applications where this kind of form logic does not suffice, W3C has introduced XForms (see [XForms]), a standard for XML-based forms.
15337 XForms is designed to be embedded in another XML format. It consists of two major parts, the XForms model which contains the form logic plus form data, and the XForms controls, which can be bound to a data model. In the OASIS Open Office 1.0 we embed the W3C XForms model as defined by the <xforms:model> element into the <office:forms> forms container. The controls (see 11.3) will be left as is, except that they receive an xforms:bind attribute, which allows to bind any OpenDocument control to a previously defined XForms model.   15751 XForms is designed to be embedded in another XML format. It consists of two major parts, the XForms model which contains the form logic plus form data, and the XForms controls, which can be bound to a data model. In the OASIS Open Office 1.0 we embed the W3C XForms model as defined by the <xforms:model> element into the <office:forms> forms container. The controls (see 11.3) will be left as is, except that they receive an xforms:bind attribute, which allows to bind any OpenDocument control to a previously defined XForms model.
15338 11.2.1XForms Model   15752 11.2.1XForms Model
15339 We import the XForms model defined in [XForms]. In order to avoid duplication of the XForms schema here, we only specify the XForms model element and allow arbitrary content.   15753 We import the XForms model defined in [XForms]. In order to avoid duplication of the XForms schema here, we only specify the XForms model element and allow arbitrary content.
15340 <define name="xforms-model">   15754 <define name="xforms-model">
15341         <element name="xforms:model">   15755         <element name="xforms:model">
15342                 <ref name="anyAttListOrElements"/>   15756                 <ref name="anyAttListOrElements"/>
15343         </element>   15757         </element>
15344 </define>   15758 </define>
15345 11.3Controls   15759 11.3Controls
15346 Controls are used to interact with forms. Each control in a form is identified by a name, though the names must not necessarily be unique.   15760 Controls are used to interact with forms. Each control in a form is identified by a name, though the names must not necessarily be unique.
15347 Controls are connected to a the surrounding document (and its text flow, if applicable) by binding them to a shape that acts as a placeholder for the control. See section 9.2.12 for details.   15761 Controls are connected to a the surrounding document (and its text flow, if applicable) by binding them to a shape that acts as a placeholder for the control. See section 9.2.12 for details.
15348 In addition to the attributes defined in this file format, controls may have application-specific additional attributes. These attributes are stored in the <form:properties> element in each control. Control events are specified in the <office:event-listeners> element.   15762 In addition to the attributes defined in this file format, controls may have application-specific additional attributes. These attributes are stored in the <form:properties> element in each control. Control events are specified in the <office:event-listeners> element.
15349 When a user submits a form for processing, the names of some controls are paired with the current values of the controls and the pairs are submitted with the form. These controls are called successful controls. See section 17.13.2 of [HTML4]for more information.   15763 When a user submits a form for processing, the names of some controls are paired with the current values of the controls and the pairs are submitted with the form. These controls are called successful controls. See section 17.13.2 of [HTML4]for more information.
15350 The file format provides elements for the following standard controls:   15764 The file format provides elements for the following standard controls:
15351 Text   15765 Text
15352 Text area   15766 Text area
15353 Password   15767 Password
15354 File   15768 File
15355 Formatted text   15769 Formatted text
15356 Number   15770 Number
15357 Date   15771 Date
15358 Time   15772 Time
15359 Fixed text   15773 Fixed text
15360 Combo box   15774 Combo box
15361 List box   15775 List box
15362 Button   15776 Button
15363 Image   15777 Image
15364 Check box   15778 Check box
15365 Radio button   15779 Radio button
15366 Frame   15780 Frame
15367 Image frame   15781 Image frame
15368 Hidden   15782 Hidden
15369 Grid   15783 Grid
15370 It is also possible to define application-specific controls. These controls are described by the <form:generic-control> element.   15784 It is also possible to define application-specific controls. These controls are described by the <form:generic-control> element.
15371 11.3.1Text   15785 11.3.1Text
15372 The <form:text> element defines a control for displaying and inputting text.   15786 The <form:text> element defines a control for displaying and inputting text.
15373 <define name="column-controls" combine="choice">   15787 <define name="column-controls" combine="choice">
15374         <element name="form:text">   15788         <element name="form:text">
15375                 <ref name="form-text-attlist"/>   15789                 <ref name="form-text-attlist"/>
15376                 <ref name="common-form-control-content"/>   15790                 <ref name="common-form-control-content"/>
15377         </element>   15791         </element>
15378 </define>   15792 </define>
15379 <define name="controls" combine="choice">   15793 <define name="controls" combine="choice">
15380         <ref name="column-controls"/>   15794         <ref name="column-controls"/>
15381 </define>   15795 </define>
15382 <define name="form-text-attlist">   15796 <define name="form-text-attlist">
15383         <ref name="form-control-attlist"/>   15797         <ref name="form-control-attlist"/>
15384         <ref name="common-current-value-attlist"/>   15798         <ref name="common-current-value-attlist"/>
15385         <ref name="common-disabled-attlist"/>   15799         <ref name="common-disabled-attlist"/>
15386         <ref name="common-maxlength-attlist"/>   15800         <ref name="common-maxlength-attlist"/>
15387         <ref name="common-printable-attlist"/>   15801         <ref name="common-printable-attlist"/>
15388         <ref name="common-readonly-attlist"/>   15802         <ref name="common-readonly-attlist"/>
15389         <ref name="common-tab-attlist"/>   15803         <ref name="common-tab-attlist"/>
15390         <ref name="common-title-attlist"/>   15804         <ref name="common-title-attlist"/>
15391         <ref name="common-value-attlist"/>   15805         <ref name="common-value-attlist"/>
15392         <ref name="common-convert-empty-attlist"/>   15806         <ref name="common-convert-empty-attlist"/>
15393         <ref name="common-data-field-attlist"/>   15807         <ref name="common-data-field-attlist"/>
15394 </define>   15808 </define>
15395 <define name="form-control-attlist">   15809 <define name="form-control-attlist">
15396         <ref name="common-form-control-attlist"/>   15810         <ref name="common-form-control-attlist"/>
15397         <ref name="common-control-id-attlist"/>   15811         <ref name="common-control-id-attlist"/>
15398         <ref name="xforms-bind-attlist"/>   15812         <ref name="xforms-bind-attlist"/>
15399 </define>   15813 </define>
15400 <define name="common-form-control-content">   15814 <define name="common-form-control-content">
15401         <optional>   15815         <optional>
15402                 <ref name="form-properties"/>   15816                 <ref name="form-properties"/>
15403         </optional>   15817         </optional>
15404         <optional>   15818         <optional>
15405                 <ref name="office-event-listeners"/>   15819                 <ref name="office-event-listeners"/>
15406         </optional>   15820         </optional>
15407 </define>   15821 </define>
15408 The attributes that may be associated with the <form:text> element are:   15822 The attributes that may be associated with the <form:text> element are:
15409 Name and Service Name. See section 11.4 for information about these attributes.   15823 Name and Service Name. See section 11.4 for information about these attributes.
15410 Control ID, Current Value, Disabled, Maximum Length, Printable, Read only, Tab Index, Tab Stop, Title and Value. See section 11.5 for information about these attributes.   15824 Control ID, Current Value, Disabled, Maximum Length, Printable, Read only, Tab Index, Tab Stop, Title and Value. See section 11.5 for information about these attributes.
15411 Convert Empty and Data Field. See section 11.5.22 for information about these attributes.   15825 Convert Empty and Data Field. See section 11.5.22 for information about these attributes.
15412 11.3.2Text Area   15826 11.3.2Text Area
15413 The <form:textarea> element defines a control for displaying and inputting text on multiple lines.   15827 The <form:textarea> element defines a control for displaying and inputting text on multiple lines.
15414 The <form:textarea> element may be used with plain text values (specified by the form:current-value attribute) as well as with formatted text (specified as paragraph content). If both, the form:current-value and one or more <text:p> elements are present, it is up to the application reading the document to decide which information is used.   15828 The <form:textarea> element may be used with plain text values (specified by the form:current-value attribute) as well as with formatted text (specified as paragraph content). If both, the form:current-value and one or more <text:p> elements are present, it is up to the application reading the document to decide which information is used.
15415 <define name="column-controls" combine="choice">   15829 <define name="column-controls" combine="choice">
15416         <element name="form:textarea">   15830         <element name="form:textarea">
15417                 <ref name="form-textarea-attlist"/>   15831                 <ref name="form-textarea-attlist"/>
15418                 <ref name="common-form-control-content"/>   15832                 <ref name="common-form-control-content"/>
15419                 <zeroOrMore>   15833                 <zeroOrMore>
15420                         <ref name="text-p"/>   15834                         <ref name="text-p"/>
15421                 </zeroOrMore>   15835                 </zeroOrMore>
15422         </element>   15836         </element>
15423 </define>   15837 </define>
15424 <define name="form-textarea-attlist">   15838 <define name="form-textarea-attlist">
15425         <ref name="form-control-attlist"/>   15839         <ref name="form-control-attlist"/>
15426         <ref name="common-current-value-attlist"/>   15840         <ref name="common-current-value-attlist"/>
15427         <ref name="common-disabled-attlist"/>   15841         <ref name="common-disabled-attlist"/>
15428         <ref name="common-maxlength-attlist"/>   15842         <ref name="common-maxlength-attlist"/>
15429         <ref name="common-printable-attlist"/>   15843         <ref name="common-printable-attlist"/>
15430         <ref name="common-readonly-attlist"/>   15844         <ref name="common-readonly-attlist"/>
15431         <ref name="common-tab-attlist"/>   15845         <ref name="common-tab-attlist"/>
15432         <ref name="common-title-attlist"/>   15846         <ref name="common-title-attlist"/>
15433         <ref name="common-value-attlist"/>   15847         <ref name="common-value-attlist"/>
15434         <ref name="common-convert-empty-attlist"/>   15848         <ref name="common-convert-empty-attlist"/>
15435         <ref name="common-data-field-attlist"/>   15849         <ref name="common-data-field-attlist"/>
15436 </define>   15850 </define>
15437 The attributes that may be associated with the <form:textarea> element are:   15851 The attributes that may be associated with the <form:textarea> element are:
15438 Name and Service Name. See section 11.4 for information about these attributes.   15852 Name and Service Name. See section 11.4 for information about these attributes.
15439 Control ID, Current Value, Disabled, Maximum Length, Printable, Read only, Tab Index, Tab Stop, Title and Value. See section 11.5 for information about these attributes.   15853 Control ID, Current Value, Disabled, Maximum Length, Printable, Read only, Tab Index, Tab Stop, Title and Value. See section 11.5 for information about these attributes.
15440 Convert Empty and Data Field. See section 11.5.22 for information about these attributes.   15854 Convert Empty and Data Field. See section 11.5.22 for information about these attributes.
15441 11.3.3Password   15855 11.3.3Password
15442 The <form:password> element defines a control that hides the text that a user inputs using an echo character, for example, an asterisk. This type of control is usually used for inputting sensitive information such as a password.   15856 The <form:password> element defines a control that hides the text that a user inputs using an echo character, for example, an asterisk. This type of control is usually used for inputting sensitive information such as a password.
15443 <define name="controls" combine="choice">   15857 <define name="controls" combine="choice">
15444         <element name="form:password">   15858         <element name="form:password">
15445                 <ref name="form-password-attlist"/>   15859                 <ref name="form-password-attlist"/>
15446                 <ref name="common-form-control-content"/>   15860                 <ref name="common-form-control-content"/>
15447         </element>   15861         </element>
15448 </define>   15862 </define>
15449 <define name="form-password-attlist" combine="interleave">   15863 <define name="form-password-attlist" combine="interleave">
15450         <ref name="form-control-attlist"/>   15864         <ref name="form-control-attlist"/>
15451         <ref name="common-disabled-attlist"/>   15865         <ref name="common-disabled-attlist"/>
15452         <ref name="common-maxlength-attlist"/>   15866         <ref name="common-maxlength-attlist"/>
15453         <ref name="common-printable-attlist"/>   15867         <ref name="common-printable-attlist"/>
15454         <ref name="common-tab-attlist"/>   15868         <ref name="common-tab-attlist"/>
15455         <ref name="common-title-attlist"/>   15869         <ref name="common-title-attlist"/>
15456         <ref name="common-value-attlist"/>   15870         <ref name="common-value-attlist"/>
15457         <ref name="common-convert-empty-attlist"/>   15871         <ref name="common-convert-empty-attlist"/>
15458 </define>   15872 </define>
15459 The attributes that may be associated with the <form:password> element are:   15873 The attributes that may be associated with the <form:password> element are:
15460 Name and Service Name. See section 11.4 for information about these attributes.   15874 Name and Service Name. See section 11.4 for information about these attributes.
15461 Control ID, Disabled, Maximum Length, Printable, Tab Index, Tab Stop, Title and Value. See section 11.5 for information about these attributes.   15875 Control ID, Disabled, Maximum Length, Printable, Tab Index, Tab Stop, Title and Value. See section 11.5 for information about these attributes.
15462 Echo Char   15876 Echo Char
15463 Echo Char   15877 Echo Char
15464 The form:echo-char attribute specifies the character that the form uses to mask the text which a user inputs in a password control.   15878 The form:echo-char attribute specifies the character that the form uses to mask the text which a user inputs in a password control.
15465 <define name="form-password-attlist" combine="interleave">   15879 <define name="form-password-attlist" combine="interleave">
15466         <optional>   15880         <optional>
15467                 <attribute name="form:echo-char" a:defaultValue="*">   15881                 <attribute name="form:echo-char" a:defaultValue="*">
15468                         <ref name="character"/>   15882                         <ref name="character"/>
15469                 </attribute>   15883                 </attribute>
15470         </optional>   15884         </optional>
15471 </define>   15885 </define>
15472 11.3.4File   15886 11.3.4File
15473 The <form:file> element defines a control for selecting a file.   15887 The <form:file> element defines a control for selecting a file.
15474 <define name="controls" combine="choice">   15888 <define name="controls" combine="choice">
15475         <element name="form:file">   15889         <element name="form:file">
15476                 <ref name="form-file-attlist"/>   15890                 <ref name="form-file-attlist"/>
15477                 <ref name="common-form-control-content"/>   15891                 <ref name="common-form-control-content"/>
15478         </element>   15892         </element>
15479 </define>   15893 </define>
15480 <define name="form-file-attlist" combine="interleave">   15894 <define name="form-file-attlist" combine="interleave">
15481         <ref name="form-control-attlist"/>   15895         <ref name="form-control-attlist"/>
15482         <ref name="common-current-value-attlist"/>   15896         <ref name="common-current-value-attlist"/>
15483         <ref name="common-disabled-attlist"/>   15897         <ref name="common-disabled-attlist"/>
15484         <ref name="common-maxlength-attlist"/>   15898         <ref name="common-maxlength-attlist"/>
15485         <ref name="common-printable-attlist"/>   15899         <ref name="common-printable-attlist"/>
15486         <ref name="common-readonly-attlist"/>   15900         <ref name="common-readonly-attlist"/>
15487         <ref name="common-tab-attlist"/>   15901         <ref name="common-tab-attlist"/>
15488         <ref name="common-title-attlist"/>   15902         <ref name="common-title-attlist"/>
15489         <ref name="common-value-attlist"/>   15903         <ref name="common-value-attlist"/>
15490 </define>   15904 </define>
15491 The attributes that may be associated with the <form:file> element are:   15905 The attributes that may be associated with the <form:file> element are:
15492 Name and Service Name. See section 11.4 for information about these attributes.   15906 Name and Service Name. See section 11.4 for information about these attributes.
15493 Control ID, Current Value, Disabled, Printable, Read only, Tab Index, Tab Stop, Title and Value. See section 11.5 for information about these attributes.   15907 Control ID, Current Value, Disabled, Printable, Read only, Tab Index, Tab Stop, Title and Value. See section 11.5 for information about these attributes.
15494 11.3.5Formatted Text   15908 11.3.5Formatted Text
15495 The <form:formatted-text> element defines a control for inputting formatted text, which follows a certain formatting in both input and display.   15909 The <form:formatted-text> element defines a control for inputting formatted text, which follows a certain formatting in both input and display.
15496 <define name="column-controls" combine="choice">   15910 <define name="column-controls" combine="choice">
15497         <element name="form:formatted-text">   15911         <element name="form:formatted-text">
15498                 <ref name="form-formatted-text-attlist"/>   15912                 <ref name="form-formatted-text-attlist"/>
15499                 <ref name="common-form-control-content"/>   15913                 <ref name="common-form-control-content"/>
15500         </element>   15914         </element>
15501 </define>   15915 </define>
15502 <define name="form-formatted-text-attlist" combine="interleave">   15916 <define name="form-formatted-text-attlist" combine="interleave">
15503         <ref name="form-control-attlist"/>   15917         <ref name="form-control-attlist"/>
15504         <ref name="common-current-value-attlist"/>   15918         <ref name="common-current-value-attlist"/>
15505         <ref name="common-disabled-attlist"/>   15919         <ref name="common-disabled-attlist"/>
15506         <ref name="common-maxlength-attlist"/>   15920         <ref name="common-maxlength-attlist"/>
15507         <ref name="common-printable-attlist"/>   15921         <ref name="common-printable-attlist"/>
15508         <ref name="common-readonly-attlist"/>   15922         <ref name="common-readonly-attlist"/>
15509         <ref name="common-tab-attlist"/>   15923         <ref name="common-tab-attlist"/>
15510         <ref name="common-title-attlist"/>   15924         <ref name="common-title-attlist"/>
15511         <ref name="common-value-attlist"/>   15925         <ref name="common-value-attlist"/>
15512         <ref name="common-convert-empty-attlist"/>   15926         <ref name="common-convert-empty-attlist"/>
15513         <ref name="common-data-field-attlist"/>   15927         <ref name="common-data-field-attlist"/>
15514 </define>   15928 </define>
15515 The attributes that may be associated with the <form:formatted-text> element are:   15929 The attributes that may be associated with the <form:formatted-text> element are:
15516 Name and Service Name. See section 11.4 for information about these attributes.   15930 Name and Service Name. See section 11.4 for information about these attributes.
15517 Control ID, Current Value, Disabled, Maximum Length, Printable, Read only, Tab Index, Tab Stop, Title and Value. See section 11.5 for information about these attributes.   15931 Control ID, Current Value, Disabled, Maximum Length, Printable, Read only, Tab Index, Tab Stop, Title and Value. See section 11.5 for information about these attributes.
15518 Convert Empty and Data Field. See section 11.5.22 for information about these attributes.   15932 Convert Empty and Data Field. See section 11.5.22 for information about these attributes.
15519 Maximum Value   15933 Maximum Value
15520 Minimum Value   15934 Minimum Value
15521 Validation   15935 Validation
15522 Maximum Value   15936 Maximum Value
15523 The form:max-value attribute specifies the maximum value that a user can enter.   15937 The form:max-value attribute specifies the maximum value that a user can enter.
15524 <define name="form-formatted-text-attlist" combine="interleave">   15938 <define name="form-formatted-text-attlist" combine="interleave">
15525         <optional>   15939         <optional>
15526                 <attribute name="form:max-value">   15940                 <attribute name="form:max-value">
15527                         <ref name="string"/>   15941                         <ref name="string"/>
15528                 </attribute>   15942                 </attribute>
15529         </optional>   15943         </optional>
15530 </define>   15944 </define>
15531 Minimum Value   15945 Minimum Value
15532 The form:min-value attribute specifies the minimum value that a user can enter.   15946 The form:min-value attribute specifies the minimum value that a user can enter.
15533 <define name="form-formatted-text-attlist" combine="interleave">   15947 <define name="form-formatted-text-attlist" combine="interleave">
15534         <optional>   15948         <optional>
15535                 <attribute name="form:min-value">   15949                 <attribute name="form:min-value">
15536                         <ref name="string"/>   15950                         <ref name="string"/>
15537                 </attribute>   15951                 </attribute>
15538         </optional>   15952         </optional>
15539 </define>   15953 </define>
15540 Validation   15954 Validation
15541 The form:validation attribute specifies whether or not the text that the user enters is validated during input.   15955 The form:validation attribute specifies whether or not the text that the user enters is validated during input.
15542 <define name="form-formatted-text-attlist" combine="interleave">   15956 <define name="form-formatted-text-attlist" combine="interleave">
15543         <optional>   15957         <optional>
15544                 <attribute name="form:validation" a:defaultValue="false">   15958                 <attribute name="form:validation" a:defaultValue="false">
15545                         <ref name="boolean"/>   15959                         <ref name="boolean"/>
15546                 </attribute>   15960                 </attribute>
15547         </optional>   15961         </optional>
15548 </define>   15962 </define>
15549 11.3.6Number   15963 11.3.6Number
15550 The <form:number> element describes a control which allows the user to enter a floating point number. The attributes that may be associated on this control are similar to those of the <form:formatted-text>, except that the data type is fixed to numeric data.   15964 The <form:number> element describes a control which allows the user to enter a floating point number. The attributes that may be associated on this control are similar to those of the <form:formatted-text>, except that the data type is fixed to numeric data.
15551 <define name="column-controls" combine="choice">   15965 <define name="column-controls" combine="choice">
15552         <element name="form:number">   15966         <element name="form:number">
15553                 <ref name="form-number-attlist"/>   15967                 <ref name="form-number-attlist"/>
15554                 <ref name="common-numeric-control-attlist"/>   15968                 <ref name="common-numeric-control-attlist"/>
15555                 <ref name="common-form-control-content"/>   15969                 <ref name="common-form-control-content"/>
15556         </element>   15970         </element>
15557 </define>   15971 </define>
15558 <define name="common-numeric-control-attlist">   15972 <define name="common-numeric-control-attlist">
15559         <ref name="form-control-attlist"/>   15973         <ref name="form-control-attlist"/>
15560         <ref name="common-disabled-attlist"/>   15974         <ref name="common-disabled-attlist"/>
15561         <ref name="common-maxlength-attlist"/>   15975         <ref name="common-maxlength-attlist"/>
15562         <ref name="common-printable-attlist"/>   15976         <ref name="common-printable-attlist"/>
15563         <ref name="common-readonly-attlist"/>   15977         <ref name="common-readonly-attlist"/>
15564         <ref name="common-tab-attlist"/>   15978         <ref name="common-tab-attlist"/>
15565         <ref name="common-title-attlist"/>   15979         <ref name="common-title-attlist"/>
15566         <ref name="common-convert-empty-attlist"/>   15980         <ref name="common-convert-empty-attlist"/>
15567         <ref name="common-data-field-attlist"/>   15981         <ref name="common-data-field-attlist"/>
15568 </define>   15982 </define>
15569 The attributes that may be associated with the <form:number> element are:   15983 The attributes that may be associated with the <form:number> element are:
15570 Name and Service Name. See section 11.4 for information about these attributes.   15984 Name and Service Name. See section 11.4 for information about these attributes.
15571 Control ID, Disabled, Maximum Length, Printable, Read only, Tab Index, Tab Stop, Title and Value. See section 11.5 for information about these attributes.   15985 Control ID, Disabled, Maximum Length, Printable, Read only, Tab Index, Tab Stop, Title and Value. See section 11.5 for information about these attributes.
15572 Convert Empty and Data Field. See section 11.5.22 for information about these attributes.   15986 Convert Empty and Data Field. See section 11.5.22 for information about these attributes.
15573 Value and Current Value   15987 Value and Current Value
15574 Minimum and Maximum Value   15988 Minimum and Maximum Value
15575 Value   15989 Value
15576 The attributes for value and current value are the same as those for other fields, except that they can contain only floating point data.   15990 The attributes for value and current value are the same as those for other fields, except that they can contain only floating point data.
15577 <define name="form-number-attlist" combine="interleave">   15991 <define name="form-number-attlist" combine="interleave">
15578         <optional>   15992         <optional>
15579                 <attribute name="form:value">   15993                 <attribute name="form:value">
15580                         <ref name="double"/>   15994                         <ref name="double"/>
15581                 </attribute>   15995                 </attribute>
15582         </optional>   15996         </optional>
15583 </define>   15997 </define>
15584 <define name="form-number-attlist" combine="interleave">   15998 <define name="form-number-attlist" combine="interleave">
15585         <optional>   15999         <optional>
15586                 <attribute name="form:current-value">   16000                 <attribute name="form:current-value">
15587                         <ref name="double"/>   16001                         <ref name="double"/>
15588                 </attribute>   16002                 </attribute>
15589         </optional>   16003         </optional>
15590 </define>   16004 </define>
15591 Minimum and Maximum   16005 Minimum and Maximum
15592 The attributes for minimum and maximum value define the smallest and largest numerical values that are acceptable for this control.   16006 The attributes for minimum and maximum value define the smallest and largest numerical values that are acceptable for this control.
15593 <define name="form-number-attlist" combine="interleave">   16007 <define name="form-number-attlist" combine="interleave">
15594         <optional>   16008         <optional>
15595                 <attribute name="form:min-value">   16009                 <attribute name="form:min-value">
15596                         <ref name="double"/>   16010                         <ref name="double"/>
15597                 </attribute>   16011                 </attribute>
15598         </optional>   16012         </optional>
15599 </define>   16013 </define>
15600 <define name="form-number-attlist" combine="interleave">   16014 <define name="form-number-attlist" combine="interleave">
15601         <optional>   16015         <optional>
15602                 <attribute name="form:max-value">   16016                 <attribute name="form:max-value">
15603                         <ref name="double"/>   16017                         <ref name="double"/>
15604                 </attribute>   16018                 </attribute>
15605         </optional>   16019         </optional>
15606 </define>   16020 </define>
15607 11.3.7Date And Time   16021 11.3.7Date And Time
15608 The controls for date and time are the same as those for number values, except that they accept date and time values, respectively. They support the same attributes as the numerical field, except for the different data types of their value attributes.   16022 The controls for date and time are the same as those for number values, except that they accept date and time values, respectively. They support the same attributes as the numerical field, except for the different data types of their value attributes.
15609 <define name="column-controls" combine="choice">   16023 <define name="column-controls" combine="choice">
15610         <element name="form:date">   16024         <element name="form:date">
15611                 <ref name="form-date-attlist"/>   16025                 <ref name="form-date-attlist"/>
15612                 <ref name="common-numeric-control-attlist"/>   16026                 <ref name="common-numeric-control-attlist"/>
15613                 <ref name="common-form-control-content"/>   16027                 <ref name="common-form-control-content"/>
15614         </element>   16028         </element>
15615 </define>   16029 </define>
15616 <define name="controls" combine="choice">   16030 <define name="controls" combine="choice">
15617         <element name="form:time">   16031         <element name="form:time">
15618                 <ref name="form-time-attlist"/>   16032                 <ref name="form-time-attlist"/>
15619                 <ref name="common-numeric-control-attlist"/>   16033                 <ref name="common-numeric-control-attlist"/>
15620                 <ref name="common-form-control-content"/>   16034                 <ref name="common-form-control-content"/>
15621         </element>   16035         </element>
15622 </define>   16036 </define>
15623 The attributes that may be associated with the <form:date> and <form:time> elements are:   16037 The attributes that may be associated with the <form:date> and <form:time> elements are:
15624 Name and Service Name. See section 11.4 for information about these attributes.   16038 Name and Service Name. See section 11.4 for information about these attributes.
15625 Control ID, Disabled, Maximum Length, Printable, Read only, Tab Index, Tab Stop, Title and Value. See section 11.5 for information about these attributes.   16039 Control ID, Disabled, Maximum Length, Printable, Read only, Tab Index, Tab Stop, Title and Value. See section 11.5 for information about these attributes.
15626 Convert Empty and Data Field. See section 11.5.22 for information about these attributes.   16040 Convert Empty and Data Field. See section 11.5.22 for information about these attributes.
15627 Value and Current Value   16041 Value and Current Value
15628 Minimum and Maximum Value   16042 Minimum and Maximum Value
15629 Value   16043 Value
15630 The attributes for value and current value are the same as those for <form:number>, except that they can contain only date or time data, respectively.   16044 The attributes for value and current value are the same as those for <form:number>, except that they can contain only date or time data, respectively.
15631 <define name="form-date-attlist" combine="interleave">   16045 <define name="form-date-attlist" combine="interleave">
15632         <optional>   16046         <optional>
15633                 <attribute name="form:value">   16047                 <attribute name="form:value">
15634                         <ref name="date"/>   16048                         <ref name="date"/>
15635                 </attribute>   16049                 </attribute>
15636         </optional>   16050         </optional>
15637 </define>   16051 </define>
15638 <define name="form-time-attlist" combine="interleave">   16052 <define name="form-time-attlist" combine="interleave">
15639         <optional>   16053         <optional>
15640                 <attribute name="form:value">   16054                 <attribute name="form:value">
15641                         <ref name="time"/>   16055                         <ref name="time"/>
15642                 </attribute>   16056                 </attribute>
15643         </optional>   16057         </optional>
15644 </define>   16058 </define>
15645 <define name="form-date-attlist" combine="interleave">   16059 <define name="form-date-attlist" combine="interleave">
15646         <optional>   16060         <optional>
15647                 <attribute name="form:current-value">   16061                 <attribute name="form:current-value">
15648                         <ref name="date"/>   16062                         <ref name="date"/>
15649                 </attribute>   16063                 </attribute>
15650         </optional>   16064         </optional>
15651 </define>   16065 </define>
15652 <define name="form-time-attlist" combine="interleave">   16066 <define name="form-time-attlist" combine="interleave">
15653         <optional>   16067         <optional>
15654                 <attribute name="form:current-value">   16068                 <attribute name="form:current-value">
15655                         <ref name="time"/>   16069                         <ref name="time"/>
15656                 </attribute>   16070                 </attribute>
15657         </optional>   16071         </optional>
15658 </define>   16072 </define>
15659 Minimum and Maximum   16073 Minimum and Maximum
15660 The attributes for minimum and maximum value define the smallest and largest dates (or times) that are acceptable for this control.   16074 The attributes for minimum and maximum value define the smallest and largest dates (or times) that are acceptable for this control.
15661 <define name="form-date-attlist" combine="interleave">   16075 <define name="form-date-attlist" combine="interleave">
15662         <optional>   16076         <optional>
15663                 <attribute name="form:min-value">   16077                 <attribute name="form:min-value">
15664                         <ref name="date"/>   16078                         <ref name="date"/>
15665                 </attribute>   16079                 </attribute>
15666         </optional>   16080         </optional>
15667 </define>   16081 </define>
15668 <define name="form-time-attlist" combine="interleave">   16082 <define name="form-time-attlist" combine="interleave">
15669         <optional>   16083         <optional>
15670                 <attribute name="form:min-value">   16084                 <attribute name="form:min-value">
15671                         <ref name="time"/>   16085                         <ref name="time"/>
15672                 </attribute>   16086                 </attribute>
15673         </optional>   16087         </optional>
15674 </define>   16088 </define>
15675 <define name="form-date-attlist" combine="interleave">   16089 <define name="form-date-attlist" combine="interleave">
15676         <optional>   16090         <optional>
15677                 <attribute name="form:max-value">   16091                 <attribute name="form:max-value">
15678                         <ref name="date"/>   16092                         <ref name="date"/>
15679                 </attribute>   16093                 </attribute>
15680         </optional>   16094         </optional>
15681 </define>   16095 </define>
15682 <define name="form-time-attlist" combine="interleave">   16096 <define name="form-time-attlist" combine="interleave">
15683         <optional>   16097         <optional>
15684                 <attribute name="form:max-value">   16098                 <attribute name="form:max-value">
15685                         <ref name="time"/>   16099                         <ref name="time"/>
15686                 </attribute>   16100                 </attribute>
15687         </optional>   16101         </optional>
15688 </define>   16102 </define>
15689 11.3.8Fixed Text   16103 11.3.8Fixed Text
15690 The <form:fixed-text> element describes a control which attaches additional information to controls, or merely displays information in the application. Relations between a labeling and a labeled control can be established by specifying the form:for attribute of the label. Only one label may be associated with the same control.   16104 The <form:fixed-text> element describes a control which attaches additional information to controls, or merely displays information in the application. Relations between a labeling and a labeled control can be established by specifying the form:for attribute of the label. Only one label may be associated with the same control.
15691 <define name="controls" combine="choice">   16105 <define name="controls" combine="choice">
15692         <element name="form:fixed-text">   16106         <element name="form:fixed-text">
15693                 <ref name="form-fixed-text-attlist"/>   16107                 <ref name="form-fixed-text-attlist"/>
15694                 <ref name="common-form-control-content"/>   16108                 <ref name="common-form-control-content"/>
15695         </element>   16109         </element>
15696 </define>   16110 </define>
15697 <define name="form-fixed-text-attlist" combine="interleave">   16111 <define name="form-fixed-text-attlist" combine="interleave">
15698         <ref name="form-control-attlist"/>   16112         <ref name="form-control-attlist"/>
15699         <ref name="for"/>   16113         <ref name="for"/>
15700         <ref name="common-disabled-attlist"/>   16114         <ref name="common-disabled-attlist"/>
15701         <ref name="label"/>   16115         <ref name="label"/>
15702         <ref name="common-printable-attlist"/>   16116         <ref name="common-printable-attlist"/>
15703         <ref name="common-title-attlist"/>   16117         <ref name="common-title-attlist"/>
15704 </define>   16118 </define>
15705 The attributes that may be associated with the <form:fixed-text> element are:   16119 The attributes that may be associated with the <form:fixed-text> element are:
15706 Name and Service Name. See section 11.4 for information about these attributes.   16120 Name and Service Name. See section 11.4 for information about these attributes.
15707 Control ID, Disabled, For, Label, Printable, and Title. See section 11.5 for information about these attributes.   16121 Control ID, Disabled, For, Label, Printable, and Title. See section 11.5 for information about these attributes.
15708 Multi-Line   16122 Multi-Line
15709 Multi-Line   16123 Multi-Line
15710 The form:multi-line attribute specifies whether or not the label is displayed on multiple lines.   16124 The form:multi-line attribute specifies whether or not the label is displayed on multiple lines.
15711 <define name="form-fixed-text-attlist" combine="interleave">   16125 <define name="form-fixed-text-attlist" combine="interleave">
15712         <optional>   16126         <optional>
15713                 <attribute name="form:multi-line" a:defaultValue="false">   16127                 <attribute name="form:multi-line" a:defaultValue="false">
15714                         <ref name="boolean"/>   16128                         <ref name="boolean"/>
15715                 </attribute>   16129                 </attribute>
15716         </optional>   16130         </optional>
15717 </define>   16131 </define>
15718 11.3.9Combo Box   16132 11.3.9Combo Box
15719 The <form:combobox> element defines a control which allows displaying and editing of text, and containing a list of possible values for this text.   16133 The <form:combobox> element defines a control which allows displaying and editing of text, and containing a list of possible values for this text.
15720 <define name="column-controls" combine="choice">   16134 <define name="column-controls" combine="choice">
15721         <element name="form:combobox">   16135         <element name="form:combobox">
15722                 <ref name="form-combobox-attlist"/>   16136                 <ref name="form-combobox-attlist"/>
15723                 <ref name="common-form-control-content"/>   16137                 <ref name="common-form-control-content"/>
15724                 <zeroOrMore>   16138                 <zeroOrMore>
15725                         <ref name="form-item"/>   16139                         <ref name="form-item"/>
15726                 </zeroOrMore>   16140                 </zeroOrMore>
15727         </element>   16141         </element>
15728 </define>   16142 </define>
15729 <define name="form-combobox-attlist" combine="interleave">   16143 <define name="form-combobox-attlist" combine="interleave">
15730         <ref name="form-control-attlist"/>   16144         <ref name="form-control-attlist"/>
15731         <ref name="common-current-value-attlist"/>   16145         <ref name="common-current-value-attlist"/>
15732         <ref name="common-disabled-attlist"/>   16146         <ref name="common-disabled-attlist"/>
15733         <ref name="dropdown"/>   16147         <ref name="dropdown"/>
15734         <ref name="common-maxlength-attlist"/>   16148         <ref name="common-maxlength-attlist"/>
15735         <ref name="common-printable-attlist"/>   16149         <ref name="common-printable-attlist"/>
15736         <ref name="common-readonly-attlist"/>   16150         <ref name="common-readonly-attlist"/>
15737         <ref name="size"/>   16151         <ref name="size"/>
15738         <ref name="common-tab-attlist"/>   16152         <ref name="common-tab-attlist"/>
15739         <ref name="common-title-attlist"/>   16153         <ref name="common-title-attlist"/>
15740         <ref name="common-value-attlist"/>   16154         <ref name="common-value-attlist"/>
15741         <ref name="common-convert-empty-attlist"/>   16155         <ref name="common-convert-empty-attlist"/>
15742         <ref name="common-data-field-attlist"/>   16156         <ref name="common-data-field-attlist"/>
15743         <ref name="list-source"/>   16157         <ref name="list-source"/>
15744         <ref name="list-source-type"/>   16158         <ref name="list-source-type"/>
15745 </define>   16159 </define>
15746 The attributes that may be associated with the <form:combobox> element are:   16160 The attributes that may be associated with the <form:combobox> element are:
15747 Name and Service Name. See section 11.4 for information about these attributes.   16161 Name and Service Name. See section 11.4 for information about these attributes.
15748 Control ID, Current Value, Disabled, Dropdown, Max Length, Printable, Read only, Size, Tab Index, Tab Stop, Title, and Value. See section 11.5 for information about these attributes.   16162 Control ID, Current Value, Disabled, Dropdown, Max Length, Printable, Read only, Size, Tab Index, Tab Stop, Title, and Value. See section 11.5 for information about these attributes.
15749 Convert Empty, Data Field, List Source, and List Source Type. See section 11.5.22 for information about these attributes.   16163 Convert Empty, Data Field, List Source, and List Source Type. See section 11.5.22 for information about these attributes.
15750 Automatic Completion   16164 Automatic Completion
15751 Automatic Completion   16165 Automatic Completion
15752 The form:auto-complete attribute specifies whether, when the user enters text in the combobox that matches one of the list items in the combobox, the application automatically completes the text for the user.   16166 The form:auto-complete attribute specifies whether, when the user enters text in the combobox that matches one of the list items in the combobox, the application automatically completes the text for the user.
15753 <define name="form-combobox-attlist" combine="interleave">   16167 <define name="form-combobox-attlist" combine="interleave">
15754         <optional>   16168         <optional>
15755                 <attribute name="form:auto-complete">   16169                 <attribute name="form:auto-complete">
15756                         <ref name="boolean"/>   16170                         <ref name="boolean"/>
15757                 </attribute>   16171                 </attribute>
15758         </optional>   16172         </optional>
15759 </define>   16173 </define>
15760 Item   16174 Item
15761 The <form:item> element defines a list item for a combobox control.   16175 The <form:item> element defines a list item for a combobox control.
15762 <define name="form-item">   16176 <define name="form-item">
15763         <element name="form:item">   16177         <element name="form:item">
15764                 <ref name="form-item-attlist"/>   16178                 <ref name="form-item-attlist"/>
15765                 <text/>   16179                 <text/>
15766         </element>   16180         </element>
15767 </define>   16181 </define>
15768 <define name="form-item-attlist" combine="interleave">   16182 <define name="form-item-attlist" combine="interleave">
15769         <ref name="label"/>   16183         <ref name="label"/>
15770 </define>   16184 </define>
15771 The attribute that may be associated associate with the <form:item> element is:   16185 The attribute that may be associated associate with the <form:item> element is:
15772 Label. See section 11.5 for information about this attribute.   16186 Label. See section 11.5 for information about this attribute.
15773 11.3.10List Box   16187 11.3.10List Box
15774 The <form:listbox> element defines an input control that allows a user to select one or more items from a list. It is an alternative representation for a group of radio buttons.   16188 The <form:listbox> element defines an input control that allows a user to select one or more items from a list. It is an alternative representation for a group of radio buttons.
15775 <define name="column-controls" combine="choice">   16189 <define name="column-controls" combine="choice">
15776         <element name="form:listbox">   16190         <element name="form:listbox">
15777                 <ref name="form-listbox-attlist"/>   16191                 <ref name="form-listbox-attlist"/>
15778                 <ref name="common-form-control-content"/>   16192                 <ref name="common-form-control-content"/>
15779                 <zeroOrMore>   16193                 <zeroOrMore>
15780                         <ref name="form-option"/>   16194                         <ref name="form-option"/>
15781                 </zeroOrMore>   16195                 </zeroOrMore>
15782         </element>   16196         </element>
15783 </define>   16197 </define>
15784 <define name="form-listbox-attlist" combine="interleave">   16198 <define name="form-listbox-attlist" combine="interleave">
15785         <ref name="form-control-attlist"/>   16199         <ref name="form-control-attlist"/>
15786         <ref name="common-disabled-attlist"/>   16200         <ref name="common-disabled-attlist"/>
15787         <ref name="dropdown"/>   16201         <ref name="dropdown"/>
15788         <ref name="common-printable-attlist"/>   16202         <ref name="common-printable-attlist"/>
15789         <ref name="size"/>   16203         <ref name="size"/>
15790         <ref name="common-tab-attlist"/>   16204         <ref name="common-tab-attlist"/>
15791         <ref name="common-title-attlist"/>   16205         <ref name="common-title-attlist"/>
15792         <ref name="bound-column"/>   16206         <ref name="bound-column"/>
15793         <ref name="common-data-field-attlist"/>   16207         <ref name="common-data-field-attlist"/>
15794         <ref name="list-source"/>   16208         <ref name="list-source"/>
15795         <ref name="list-source-type"/>   16209         <ref name="list-source-type"/>
15796 </define>   16210 </define>
15797 The attributes that may be associated with the <form:listbox> element are:   16211 The attributes that may be associated with the <form:listbox> element are:
15798 Name and Service Name. See section 11.4 for information about these attributes.   16212 Name and Service Name. See section 11.4 for information about these attributes.
15799 Control ID, Disabled, Dropdown, Printable, Read only,  Size, Tab Index, Tab Stop, and Title. See section 11.5 for information about these attributes.   16213 Control ID, Disabled, Dropdown, Printable, Read only,  Size, Tab Index, Tab Stop, and Title. See section 11.5 for information about these attributes.
15800 Bound Column, Data Field, List Source, and List Source Type. See section 11.5.22 for information about these attributes.   16214 Bound Column, Data Field, List Source, and List Source Type. See section 11.5.22 for information about these attributes.
15801 Multiple   16215 Multiple
15802 XForms source   16216 XForms source
15803 Multiple   16217 Multiple
15804 The form:multiple attribute determines whether or not a user can select multiple items from a list box.   16218 The form:multiple attribute determines whether or not a user can select multiple items from a list box.
15805 <define name="form-listbox-attlist" combine="interleave">   16219 <define name="form-listbox-attlist" combine="interleave">
15806         <optional>   16220         <optional>
15807                 <attribute name="form:multiple" a:defaultValue="false">   16221                 <attribute name="form:multiple" a:defaultValue="false">
15808                         <ref name="boolean"/>   16222                         <ref name="boolean"/>
15809                 </attribute>   16223                 </attribute>
15810         </optional>   16224         </optional>
15811 </define>   16225 </define>
15812 XForms source   16226 XForms source
15813 The form:xforms-list-source allows to dynamically create the list of choices by binding the list content to XForms (see section 11.2, as well as [XForms]). The attribute references an <xforms:bind> element, and creates a list entry for each node in the node-set defined by that attribute.   16227 The form:xforms-list-source allows to dynamically create the list of choices by binding the list content to XForms (see section 11.2, as well as [XForms]). The attribute references an <xforms:bind> element, and creates a list entry for each node in the node-set defined by that attribute.
15814 <define name="form-listbox-attlist" combine="interleave">   16228 <define name="form-listbox-attlist" combine="interleave">
15815         <optional>   16229         <optional>
15816                 <attribute name="form:xforms-list-source">   16230                 <attribute name="form:xforms-list-source">
15817                         <ref name="string"/>   16231                         <ref name="string"/>
15818                 </attribute>   16232                 </attribute>
15819         </optional>   16233         </optional>
15820 </define>   16234 </define>
15821 Option   16235 Option
15822 The <form:option> element defines the list items for a list box control. An item can be preselected and can contain a related value.   16236 The <form:option> element defines the list items for a list box control. An item can be preselected and can contain a related value.
15823 <define name="form-option">   16237 <define name="form-option">
15824         <element name="form:option">   16238         <element name="form:option">
15825                 <ref name="form-option-attlist"/>   16239                 <ref name="form-option-attlist"/>
15826                 <text/>   16240                 <text/>
15827         </element>   16241         </element>
15828 </define>   16242 </define>
15829 <define name="form-option-attlist" combine="interleave">   16243 <define name="form-option-attlist" combine="interleave">
15830         <ref name="current-selected"/>   16244         <ref name="current-selected"/>
15831         <ref name="selected"/>   16245         <ref name="selected"/>
15832         <ref name="label"/>   16246         <ref name="label"/>
15833         <ref name="common-value-attlist"/>   16247         <ref name="common-value-attlist"/>
15834 </define>   16248 </define>
15835 The attributes that may be associated with the <form:option> element are:   16249 The attributes that may be associated with the <form:option> element are:
15836 Current Selected, Selected, Label, and Value. See section 11.5 for information about these attributes.   16250 Current Selected, Selected, Label, and Value. See section 11.5 for information about these attributes.
15837 11.3.11Button   16251 11.3.11Button
15838 The <form:button> element defines a button. When pressed, a button usually triggers an action.   16252 The <form:button> element defines a button. When pressed, a button usually triggers an action.
15839 <define name="controls" combine="choice">   16253 <define name="controls" combine="choice">
15840         <element name="form:button">   16254         <element name="form:button">
15841                 <ref name="form-button-attlist"/>   16255                 <ref name="form-button-attlist"/>
15842                 <ref name="common-form-control-content"/>   16256                 <ref name="common-form-control-content"/>
15843         </element>   16257         </element>
15844 </define>   16258 </define>
15845 <define name="form-button-attlist" combine="interleave">   16259 <define name="form-button-attlist" combine="interleave">
15846         <ref name="form-control-attlist"/>   16260         <ref name="form-control-attlist"/>
15847         <ref name="button-type"/>   16261         <ref name="button-type"/>
15848         <ref name="common-disabled-attlist"/>   16262         <ref name="common-disabled-attlist"/>
15849         <ref name="label"/>   16263         <ref name="label"/>
15850         <ref name="image-data"/>   16264         <ref name="image-data"/>
15851         <ref name="common-printable-attlist"/>   16265         <ref name="common-printable-attlist"/>
15852         <ref name="common-tab-attlist"/>   16266         <ref name="common-tab-attlist"/>
15853         <ref name="target-frame"/>   16267         <ref name="target-frame"/>
15854         <ref name="target-location"/>   16268         <ref name="target-location"/>
15855         <ref name="common-title-attlist"/>   16269         <ref name="common-title-attlist"/>
15856         <ref name="common-value-attlist"/>   16270         <ref name="common-value-attlist"/>
15857         <ref name="common-form-relative-image-position-attlist"/>   16271         <ref name="common-form-relative-image-position-attlist"/>
15858 </define>   16272 </define>
15859 The attributes that may be associated with the <form:button> element are:   16273 The attributes that may be associated with the <form:button> element are:
15860 Name and Service Name. See section 11.4 for information about these attributes.   16274 Name and Service Name. See section 11.4 for information about these attributes.
15861 Button Type, Control ID, Disabled, Image Data, Printable, Tab Index, Tab Stop, Target Frame, Target Location, Title, Value and relative image position. See section 11.5 for information about these attributes.   16275 Button Type, Control ID, Disabled, Image Data, Printable, Tab Index, Tab Stop, Target Frame, Target Location, Title, Value and relative image position. See section 11.5 for information about these attributes.
15862 Default Button   16276 Default Button
15863 Toggle   16277 Toggle
15864 Focus on Click   16278 Focus on Click
15865 XForms Submission   16279 XForms Submission
15866 Default Button   16280 Default Button
15867 The form:default-button attribute determines whether or not the button is the default button on the form. If a user clicks the default button or presses Return while an input control is focused, the application takes the same action.   16281 The form:default-button attribute determines whether or not the button is the default button on the form. If a user clicks the default button or presses Return while an input control is focused, the application takes the same action.
15868 If a form contains more  than one default button, the behavior of the application is undefined.   16282 If a form contains more  than one default button, the behavior of the application is undefined.
15869 <define name="form-button-attlist" combine="interleave">   16283 <define name="form-button-attlist" combine="interleave">
15870         <optional>   16284         <optional>
15871                 <attribute name="form:default-button" a:defaultValue="false">   16285                 <attribute name="form:default-button" a:defaultValue="false">
15872                         <ref name="boolean"/>   16286                         <ref name="boolean"/>
15873                 </attribute>   16287                 </attribute>
15874         </optional>   16288         </optional>
15875 </define>   16289 </define>
15876 Toggle   16290 Toggle
15877 The form:toggle attribute specifies whether a form button control, when it is operated (via mouse or keyboard), should be toggled between a "pressed" and a "not pressed" state. If this attribute is set to false, the button controls behaves like a push button.   16291 The form:toggle attribute specifies whether a form button control, when it is operated (via mouse or keyboard), should be toggled between a "pressed" and a "not pressed" state. If this attribute is set to false, the button controls behaves like a push button.
15878 <define name="form-button-attlist" combine="interleave">   16292 <define name="form-button-attlist" combine="interleave">
15879         <optional>   16293         <optional>
15880                 <attribute name="form:toggle" a:default-value="false">   16294                 <attribute name="form:toggle" a:default-value="false">
15881                         <ref name="boolean"/>   16295                         <ref name="boolean"/>
15882                 </attribute>   16296                 </attribute>
15883         </optional>   16297         </optional>
15884 </define>   16298 </define>
15885 Focus on click   16299 Focus on click
15886 The form:focus-on-click attribute specifies whether a form button control should grab the focus when it is clicked with the mouse.   16300 The form:focus-on-click attribute specifies whether a form button control should grab the focus when it is clicked with the mouse.
15887 <define name="form-button-attlist" combine="interleave">   16301 <define name="form-button-attlist" combine="interleave">
15888         <optional>   16302         <optional>
15889                 <attribute name="form:focus-on-click">   16303                 <attribute name="form:focus-on-click">
15890                         <ref name="boolean"/>   16304                         <ref name="boolean"/>
15891                 </attribute>   16305                 </attribute>
15892         </optional>   16306         </optional>
15893 </define>   16307 </define>
15894 XForms Submission   16308 XForms Submission
15895 Buttons may be used to trigger an XForms submission by adding an form:xforms-submission attribute. If such a button is triggered, a previously declared XForms submission with the given name is executed.   16309 Buttons may be used to trigger an XForms submission by adding an form:xforms-submission attribute. If such a button is triggered, a previously declared XForms submission with the given name is executed.
15896 <define name="form-button-attlist" combine="interleave">   16310 <define name="form-button-attlist" combine="interleave">
15897         <optional>   16311         <optional>
15898                 <attribute name="form:xforms-submission">   16312                 <attribute name="form:xforms-submission">
15899                         <ref name="string"/>   16313                         <ref name="string"/>
15900                 </attribute>   16314                 </attribute>
15901         </optional>   16315         </optional>
15902 </define>   16316 </define>
15903 11.3.12Image   16317 11.3.12Image
15904 The <form:image> element defines a graphical button control. This element corresponds to the input element of type image in HTML 4.01. Note: HTML 4.01 only allows the button type to be “submit” for an image button. In office application file format, an image button can be of any type.   16318 The <form:image> element defines a graphical button control. This element corresponds to the input element of type image in HTML 4.01. Note: HTML 4.01 only allows the button type to be “submit” for an image button. In office application file format, an image button can be of any type.
15905 <define name="controls" combine="choice">   16319 <define name="controls" combine="choice">
15906         <element name="form:image">   16320         <element name="form:image">
15907                 <ref name="form-image-attlist"/>   16321                 <ref name="form-image-attlist"/>
15908                 <ref name="common-form-control-content"/>   16322                 <ref name="common-form-control-content"/>
15909         </element>   16323         </element>
15910 </define>   16324 </define>
15911 <define name="form-image-attlist" combine="interleave">   16325 <define name="form-image-attlist" combine="interleave">
15912         <ref name="form-control-attlist"/>   16326         <ref name="form-control-attlist"/>
15913         <ref name="button-type"/>   16327         <ref name="button-type"/>
15914         <ref name="common-disabled-attlist"/>   16328         <ref name="common-disabled-attlist"/>
15915         <ref name="image-data"/>   16329         <ref name="image-data"/>
15916         <ref name="common-printable-attlist"/>   16330         <ref name="common-printable-attlist"/>
15917         <ref name="common-tab-attlist"/>   16331         <ref name="common-tab-attlist"/>
15918         <ref name="target-frame"/>   16332         <ref name="target-frame"/>
15919         <ref name="target-location"/>   16333         <ref name="target-location"/>
15920         <ref name="common-title-attlist"/>   16334         <ref name="common-title-attlist"/>
15921         <ref name="common-value-attlist"/>   16335         <ref name="common-value-attlist"/>
15922 </define>   16336 </define>
15923 The attributes that may be associated with the <form:image> element are:   16337 The attributes that may be associated with the <form:image> element are:
15924 Name and Service Name. See section 11.4 for information about these attributes.   16338 Name and Service Name. See section 11.4 for information about these attributes.
15925 Button Type, Control ID, Disabled, Image Data, Printable, Tab Index, Tab Stop, Target Frame, Target Location, Title, and Value. See section 11.5 for information about these attributes.   16339 Button Type, Control ID, Disabled, Image Data, Printable, Tab Index, Tab Stop, Target Frame, Target Location, Title, and Value. See section 11.5 for information about these attributes.
15926 11.3.13Check Box   16340 11.3.13Check Box
15927 The <form:checkbox> element defines an on/off control which a user can toggle. The control is on when the value of the form:current-state attribute associated with the control element is checked. When a user submits a form, only the controls whose current state is checked are successful.   16341 The <form:checkbox> element defines an on/off control which a user can toggle. The control is on when the value of the form:current-state attribute associated with the control element is checked. When a user submits a form, only the controls whose current state is checked are successful.
15928 <define name="column-controls" combine="choice">   16342 <define name="column-controls" combine="choice">
15929         <element name="form:checkbox">   16343         <element name="form:checkbox">
15930                 <ref name="form-checkbox-attlist"/>   16344                 <ref name="form-checkbox-attlist"/>
15931                 <ref name="common-form-control-content"/>   16345                 <ref name="common-form-control-content"/>
15932         </element>   16346         </element>
15933 </define>   16347 </define>
15934 <define name="form-checkbox-attlist" combine="interleave">   16348 <define name="form-checkbox-attlist" combine="interleave">
15935         <ref name="form-control-attlist"/>   16349         <ref name="form-control-attlist"/>
15936         <ref name="common-disabled-attlist"/>   16350         <ref name="common-disabled-attlist"/>
15937         <ref name="label"/>   16351         <ref name="label"/>
15938         <ref name="common-printable-attlist"/>   16352         <ref name="common-printable-attlist"/>
15939         <ref name="common-tab-attlist"/>   16353         <ref name="common-tab-attlist"/>
15940         <ref name="common-title-attlist"/>   16354         <ref name="common-title-attlist"/>
15941         <ref name="common-value-attlist"/>   16355         <ref name="common-value-attlist"/>
15942         <ref name="common-data-field-attlist"/>   16356         <ref name="common-data-field-attlist"/>
15943         <ref name="common-form-visual-effect-attlist"/>   16357         <ref name="common-form-visual-effect-attlist"/>
15944         <ref name="common-form-relative-image-position-attlist"/>   16358         <ref name="common-form-relative-image-position-attlist"/>
15945 </define>   16359 </define>
15946 The attributes that may be associated with the <form:checkbox> element are:   16360 The attributes that may be associated with the <form:checkbox> element are:
15947 Name and Service Name. See section 11.4 for information about these attributes.   16361 Name and Service Name. See section 11.4 for information about these attributes.
15948 Control ID, Disabled, Label, Printable, Tab Index, Tab Stop, Title, Value, Visual Effect and Relative Image Position. See section 11.5 for information about these attributes.   16362 Control ID, Disabled, Label, Printable, Tab Index, Tab Stop, Title, Value, Visual Effect and Relative Image Position. See section 11.5 for information about these attributes.
15949 Data Field. See section 11.5.22 for information about this attribute.   16363 Data Field. See section 11.5.22 for information about this attribute.
15950 Current State   16364 Current State
15951 Is Tristate   16365 Is Tristate
15952 State   16366 State
15953 Current State   16367 Current State
15954 The form:current-state attribute specifies the current state of the check box control.   16368 The form:current-state attribute specifies the current state of the check box control.
15955 The value of this attribute can be one of the following:   16369 The value of this attribute can be one of the following:
15956 unchecked: The check box is not checked.   16370 unchecked: The check box is not checked.
15957 checked: The check box is checked. The value of the control is submitted with the form.   16371 checked: The check box is checked. The value of the control is submitted with the form.
15958 unknown: This value is only available when the control is in tristate mode (See the "Is Tristate" attribute) . This value may, for instance, be used in connection with a database field binding to indicate that the value is NULL.   16372 unknown: This value is only available when the control is in tristate mode (See the "Is Tristate" attribute) . This value may, for instance, be used in connection with a database field binding to indicate that the value is NULL.
15959 <define name="states">   16373 <define name="states">
15960         <choice>   16374         <choice>
15961                 <value>unchecked</value>   16375                 <value>unchecked</value>
15962                 <value>checked</value>   16376                 <value>checked</value>
15963                 <value>unknown</value>   16377                 <value>unknown</value>
15964         </choice>   16378         </choice>
15965 </define>   16379 </define>
15966 <define name="form-checkbox-attlist" combine="interleave">   16380 <define name="form-checkbox-attlist" combine="interleave">
15967         <optional>   16381         <optional>
15968                 <attribute name="form:current-state">   16382                 <attribute name="form:current-state">
15969                         <ref name="states"/>   16383                         <ref name="states"/>
15970                 </attribute>   16384                 </attribute>
15971         </optional>   16385         </optional>
15972 </define>   16386 </define>
15973 Is Tristate   16387 Is Tristate
15974 The form:is-tristate attribute specifies that the check box can have three states instead of the common two states.   16388 The form:is-tristate attribute specifies that the check box can have three states instead of the common two states.
15975 <define name="form-checkbox-attlist" combine="interleave">   16389 <define name="form-checkbox-attlist" combine="interleave">
15976         <optional>   16390         <optional>
15977                 <attribute name="form:is-tristate" a:defaultValue="false">   16391                 <attribute name="form:is-tristate" a:defaultValue="false">
15978                         <ref name="boolean"/>   16392                         <ref name="boolean"/>
15979                 </attribute>   16393                 </attribute>
15980         </optional>   16394         </optional>
15981 </define>   16395 </define>
15982 State   16396 State
15983 The form:state attribute specifies the default state of the check box control. This state is used to initialize the control.   16397 The form:state attribute specifies the default state of the check box control. This state is used to initialize the control.
15984 <define name="form-checkbox-attlist" combine="interleave">   16398 <define name="form-checkbox-attlist" combine="interleave">
15985         <optional>   16399         <optional>
15986                 <attribute name="form:state" a:defaultValue="unchecked">   16400                 <attribute name="form:state" a:defaultValue="unchecked">
15987                         <ref name="states"/>   16401                         <ref name="states"/>
15988                 </attribute>   16402                 </attribute>
15989         </optional>   16403         </optional>
15990 </define>   16404 </define>
15991 11.3.14Radio Button   16405 11.3.14Radio Button
15992 The <form:radio> element describes controls which act like check boxes except that when several radio buttons share the same control name they are mutually exclusive. When one button is on, all of the other buttons with the same name are off. If no radio button is initially on, the way in which the application chooses which button to turn on initially is undefined.   16406 The <form:radio> element describes controls which act like check boxes except that when several radio buttons share the same control name they are mutually exclusive. When one button is on, all of the other buttons with the same name are off. If no radio button is initially on, the way in which the application chooses which button to turn on initially is undefined.
15993 If a group of radio buttons is bound to one database field, the reference value of the selected radio button is written into the database field.   16407 If a group of radio buttons is bound to one database field, the reference value of the selected radio button is written into the database field.
15994 <define name="controls" combine="choice">   16408 <define name="controls" combine="choice">
15995         <element name="form:radio">   16409         <element name="form:radio">
15996                 <ref name="form-radio-attlist"/>   16410                 <ref name="form-radio-attlist"/>
15997                 <ref name="common-form-control-content"/>   16411                 <ref name="common-form-control-content"/>
15998         </element>   16412         </element>
15999 </define>   16413 </define>
16000 <define name="form-radio-attlist" combine="interleave">   16414 <define name="form-radio-attlist" combine="interleave">
16001         <ref name="form-control-attlist"/>   16415         <ref name="form-control-attlist"/>
16002         <ref name="current-selected"/>   16416         <ref name="current-selected"/>
16003         <ref name="common-disabled-attlist"/>   16417         <ref name="common-disabled-attlist"/>
16004         <ref name="label"/>   16418         <ref name="label"/>
16005         <ref name="common-printable-attlist"/>   16419         <ref name="common-printable-attlist"/>
16006         <ref name="selected"/>   16420         <ref name="selected"/>
16007         <ref name="common-tab-attlist"/>   16421         <ref name="common-tab-attlist"/>
16008         <ref name="common-title-attlist"/>   16422         <ref name="common-title-attlist"/>
16009         <ref name="common-value-attlist"/>   16423         <ref name="common-value-attlist"/>
16010         <ref name="common-data-field-attlist"/>   16424         <ref name="common-data-field-attlist"/>
16011         <ref name="common-form-visual-effect-attlist"/>   16425         <ref name="common-form-visual-effect-attlist"/>
16012         <ref name="common-form-relative-image-position-attlist"/>   16426         <ref name="common-form-relative-image-position-attlist"/>
16013 </define>   16427 </define>
16014 The attributes that may be associated with the <form:radio> element are:   16428 The attributes that may be associated with the <form:radio> element are:
16015 Name and Service Name. See section 11.4 for information about these attributes.   16429 Name and Service Name. See section 11.4 for information about these attributes.
16016 Control ID, Current Selected, Disabled, Label, Printable, Selected, Tab Index, Tab Stop, Title, Value, Visual Effect and Relative Image Position. See section 11.5 for information about these attributes.   16430 Control ID, Current Selected, Disabled, Label, Printable, Selected, Tab Index, Tab Stop, Title, Value, Visual Effect and Relative Image Position. See section 11.5 for information about these attributes.
16017 Data Field. See section 11.5.22 for information about this attribute.   16431 Data Field. See section 11.5.22 for information about this attribute.
16018 11.3.15Frame   16432 11.3.15Frame
16019 The <form:frame> element defines a frame, which may be used to arrange controls visually. This element does not have a value and it does not allow any user input.   16433 The <form:frame> element defines a frame, which may be used to arrange controls visually. This element does not have a value and it does not allow any user input.
16020 <define name="controls" combine="choice">   16434 <define name="controls" combine="choice">
16021         <element name="form:frame">   16435         <element name="form:frame">
16022                 <ref name="form-frame-attlist"/>   16436                 <ref name="form-frame-attlist"/>
16023                 <ref name="common-form-control-content"/>   16437                 <ref name="common-form-control-content"/>
16024         </element>   16438         </element>
16025 </define>   16439 </define>
16026 <define name="form-frame-attlist" combine="interleave">   16440 <define name="form-frame-attlist" combine="interleave">
16027         <ref name="form-control-attlist"/>   16441         <ref name="form-control-attlist"/>
16028         <ref name="common-disabled-attlist"/>   16442         <ref name="common-disabled-attlist"/>
16029         <ref name="for"/>   16443         <ref name="for"/>
16030         <ref name="label"/>   16444         <ref name="label"/>
16031         <ref name="common-printable-attlist"/>   16445         <ref name="common-printable-attlist"/>
16032         <ref name="common-title-attlist"/>   16446         <ref name="common-title-attlist"/>
16033 </define>   16447 </define>
16034 The attributes that may be associated with the <form:frame> element are:   16448 The attributes that may be associated with the <form:frame> element are:
16035 Name and Service Name. See section 11.4 for information about these attributes.   16449 Name and Service Name. See section 11.4 for information about these attributes.
16036 Control ID, Disabled, For, Label, Printable, and Title. See section 11.5 for information about these attributes.   16450 Control ID, Disabled, For, Label, Printable, and Title. See section 11.5 for information about these attributes.
16037 11.3.16Image Frame   16451 11.3.16Image Frame
16038 The <form:image-frame> element defines a graphical control. The control displays an image, whose location is described in the control.   16452 The <form:image-frame> element defines a graphical control. The control displays an image, whose location is described in the control.
16039 <define name="controls" combine="choice">   16453 <define name="controls" combine="choice">
16040         <element name="form:image-frame">   16454         <element name="form:image-frame">
16041                 <ref name="form-image-frame-attlist"/>   16455                 <ref name="form-image-frame-attlist"/>
16042                 <ref name="common-form-control-content"/>   16456                 <ref name="common-form-control-content"/>
16043         </element>   16457         </element>
16044 </define>   16458 </define>
16045 <define name="form-image-frame-attlist" combine="interleave">   16459 <define name="form-image-frame-attlist" combine="interleave">
16046         <ref name="form-control-attlist"/>   16460         <ref name="form-control-attlist"/>
16047         <ref name="common-disabled-attlist"/>   16461         <ref name="common-disabled-attlist"/>
16048         <ref name="image-data"/>   16462         <ref name="image-data"/>
16049         <ref name="common-printable-attlist"/>   16463         <ref name="common-printable-attlist"/>
16050         <ref name="common-readonly-attlist"/>   16464         <ref name="common-readonly-attlist"/>
16051         <ref name="common-title-attlist"/>   16465         <ref name="common-title-attlist"/>
16052         <ref name="common-data-field-attlist"/>   16466         <ref name="common-data-field-attlist"/>
16053 </define>   16467 </define>
16054 The attributes that may be associated with the <form:image-frame> element are:   16468 The attributes that may be associated with the <form:image-frame> element are:
16055 Name and Service Name. See section 11.4 for information about these attributes.   16469 Name and Service Name. See section 11.4 for information about these attributes.
16056 Control ID, Disabled, Image Data, Printable, Read only, and Title. See section 11.5 for information about these attributes.   16470 Control ID, Disabled, Image Data, Printable, Read only, and Title. See section 11.5 for information about these attributes.
16057 Data Field. See section 11.5.22 for information about this attribute.   16471 Data Field. See section 11.5.22 for information about this attribute.
16058 11.3.17Hidden   16472 11.3.17Hidden
16059 The <form:hidden> element defines a control that does not have a visual representation. This element is usually used as a container for information.   16473 The <form:hidden> element defines a control that does not have a visual representation. This element is usually used as a container for information.
16060 <define name="controls" combine="choice">   16474 <define name="controls" combine="choice">
16061         <element name="form:hidden">   16475         <element name="form:hidden">
16062                 <ref name="form-hidden-attlist"/>   16476                 <ref name="form-hidden-attlist"/>
16063                 <ref name="common-form-control-content"/>   16477                 <ref name="common-form-control-content"/>
16064         </element>   16478         </element>
16065 </define>   16479 </define>
16066 <define name="form-hidden-attlist" combine="interleave">   16480 <define name="form-hidden-attlist" combine="interleave">
16067         <ref name="form-control-attlist"/>   16481         <ref name="form-control-attlist"/>
16068         <ref name="common-value-attlist"/>   16482         <ref name="common-value-attlist"/>
16069 </define>   16483 </define>
16070 The attributes that may be associated with the <form:hidden> element are:   16484 The attributes that may be associated with the <form:hidden> element are:
16071 Name and Service Name. See section 11.4 for information about these attributes.   16485 Name and Service Name. See section 11.4 for information about these attributes.
16072 Value. See section 11.5 for information about this attribute.   16486 Value. See section 11.5 for information about this attribute.
16073 11.3.18Grid   16487 11.3.18Grid
16074 The <form:grid> element defines a control that displays table data. This control is data-aware and is bound to a form which retrieves data from a data source. The actual data to display in a grid control is determined by the parent form, which is data-aware and thus based on a certain row set. The rows in the grid contain these data rows.   16488 The <form:grid> element defines a control that displays table data. This control is data-aware and is bound to a form which retrieves data from a data source. The actual data to display in a grid control is determined by the parent form, which is data-aware and thus based on a certain row set. The rows in the grid contain these data rows.
16075 Each column in the grid is specified by a <form:column> element. Each column is bound to a field in the form's row set.   16489 Each column in the grid is specified by a <form:column> element. Each column is bound to a field in the form's row set.
16076 <define name="controls" combine="choice">   16490 <define name="controls" combine="choice">
16077         <element name="form:grid">   16491         <element name="form:grid">
16078                 <ref name="form-grid-attlist"/>   16492                 <ref name="form-grid-attlist"/>
16079                 <ref name="common-form-control-content"/>   16493                 <ref name="common-form-control-content"/>
16080                 <zeroOrMore>   16494                 <zeroOrMore>
16081                         <ref name="form-column"/>   16495                         <ref name="form-column"/>
16082                 </zeroOrMore>   16496                 </zeroOrMore>
16083         </element>   16497         </element>
16084 </define>   16498 </define>
16085 <define name="form-grid-attlist" combine="interleave">   16499 <define name="form-grid-attlist" combine="interleave">
16086         <ref name="form-control-attlist"/>   16500         <ref name="form-control-attlist"/>
16087         <ref name="common-disabled-attlist"/>   16501         <ref name="common-disabled-attlist"/>
16088         <ref name="common-printable-attlist"/>   16502         <ref name="common-printable-attlist"/>
16089         <ref name="common-tab-attlist"/>   16503         <ref name="common-tab-attlist"/>
16090         <ref name="common-title-attlist"/>   16504         <ref name="common-title-attlist"/>
16091 </define>   16505 </define>
16092 The attributes that may be associated with the <form:grid> element are:   16506 The attributes that may be associated with the <form:grid> element are:
16093 Name and Service Name. See section 11.4 for information about these attributes.   16507 Name and Service Name. See section 11.4 for information about these attributes.
16094 Control ID, Disabled, Printable, Tab Index, Tab Stop, and Title. See section 11.5 for information about these attributes.   16508 Control ID, Disabled, Printable, Tab Index, Tab Stop, and Title. See section 11.5 for information about these attributes.
16095 Column   16509 Column
16096 The <form:column> element defines a column in a grid control. The column contains a control that displays the grid data for the column.   16510 The <form:column> element defines a column in a grid control. The column contains a control that displays the grid data for the column.
16097 <define name="form-column">   16511 <define name="form-column">
16098         <element name="form:column">   16512         <element name="form:column">
16099                 <ref name="form-column-attlist"/>   16513                 <ref name="form-column-attlist"/>
16100                 <oneOrMore>   16514                 <oneOrMore>
16101                         <ref name="column-controls"/>   16515                         <ref name="column-controls"/>
16102                 </oneOrMore>   16516                 </oneOrMore>
16103         </element>   16517         </element>
16104 </define>   16518 </define>
16105 <define name="form-column-attlist" combine="interleave">   16519 <define name="form-column-attlist" combine="interleave">
16106         <ref name="common-form-control-attlist"/>   16520         <ref name="common-form-control-attlist"/>
16107         <ref name="label"/>   16521         <ref name="label"/>
16108         <ref name="text-style-name"/>   16522         <ref name="text-style-name"/>
16109 </define>   16523 </define>
16110 The attributes that may be associated with the <form:column> element are:   16524 The attributes that may be associated with the <form:column> element are:
16111 Name and Service Name. See section 11.4 for information about these attributes.   16525 Name and Service Name. See section 11.4 for information about these attributes.
16112 Label. See section 11.5 for information about this attribute.   16526 Label. See section 11.5 for information about this attribute.
16113 Column Style   16527 Column Style
16114 Column Style   16528 Column Style
16115 The form:text-style-name attribute specifies paragraph style that is applied to all controls with the column. See also section 9.2.12. Unlike other paragraph styles, this style may reference a data style.   16529 The form:text-style-name attribute specifies paragraph style that is applied to all controls with the column. See also section 9.2.12. Unlike other paragraph styles, this style may reference a data style.
16116 <define name="text-style-name">   16530 <define name="text-style-name">
16117         <optional>   16531         <optional>
16118                 <attribute name="form:text-style-name">   16532                 <attribute name="form:text-style-name">
16119                         <ref name="styleNameRef"/>   16533                         <ref name="styleNameRef"/>
16120                 </attribute>   16534                 </attribute>
16121         </optional>   16535         </optional>
16122 </define>   16536 </define>
16123 11.3.19Value Range   16537 11.3.19Value Range
16124 The new <form:value-range> element defines a control which allows the user to select a value from a continuous number range. Possible representations include scroll bars and spin buttons.   16538 The new <form:value-range> element defines a control which allows the user to select a value from a continuous number range. Possible representations include scroll bars and spin buttons.
16125 <define name="controls" combine="choice">   16539 <define name="controls" combine="choice">
16126         <element name="form:value-range">   16540         <element name="form:value-range">
16127                 <ref name="form-value-range-attlist"/>   16541                 <ref name="form-value-range-attlist"/>
16128                 <ref name="common-form-control-content"/>   16542                 <ref name="common-form-control-content"/>
16129         </element>   16543         </element>
16130 </define>   16544 </define>
16131 <define name="form-value-range-attlist" combine="interleave">   16545 <define name="form-value-range-attlist" combine="interleave">
16132         <ref name="form-control-attlist"/>   16546         <ref name="form-control-attlist"/>
16133         <ref name="common-disabled-attlist"/>   16547         <ref name="common-disabled-attlist"/>
16134         <ref name="common-printable-attlist"/>   16548         <ref name="common-printable-attlist"/>
16135         <ref name="common-tab-attlist"/>   16549         <ref name="common-tab-attlist"/>
16136         <ref name="common-title-attlist"/>   16550         <ref name="common-title-attlist"/>
16137         <ref name="common-value-attlist"/>   16551         <ref name="common-value-attlist"/>
16138 </define>   16552 </define>
16139 The attributes that may be associated with a <form:value-range> element are:   16553 The attributes that may be associated with a <form:value-range> element are:
16140 Name and Service Name. See section 11.4 for information about these attributes.   16554 Name and Service Name. See section 11.4 for information about these attributes.
16141 Control ID, Current Value, Disabled, Printable, Read only, Tab Index, Tab Stop, Title and Value. See section 11.5 for information about these attributes.   16555 Control ID, Current Value, Disabled, Printable, Read only, Tab Index, Tab Stop, Title and Value. See section 11.5 for information about these attributes.
16142 Maximum Value   16556 Maximum Value
16143 Minimum Value   16557 Minimum Value
16144 Step Size   16558 Step Size
16145 Page Step Size   16559 Page Step Size
16146 Repeat Delay   16560 Repeat Delay
16147 Orientation   16561 Orientation
16148 Maximum Value   16562 Maximum Value
16149 The form:max-value attribute specifies the maximum value that a user can enter.   16563 The form:max-value attribute specifies the maximum value that a user can enter.
16150 <define name="form-value-range-attlist" combine="interleave">   16564 <define name="form-value-range-attlist" combine="interleave">
16151         <optional>   16565         <optional>
16152                 <attribute name="form:max-value">   16566                 <attribute name="form:max-value">
16153                         <ref name="string"/>   16567                         <ref name="string"/>
16154                 </attribute>   16568                 </attribute>
16155         </optional>   16569         </optional>
16156 </define>   16570 </define>
16157 Minimum Value   16571 Minimum Value
16158 The form:min-value attribute specifies the minimum value that a user can enter.   16572 The form:min-value attribute specifies the minimum value that a user can enter.
16159 <define name="form-value-range-attlist" combine="interleave">   16573 <define name="form-value-range-attlist" combine="interleave">
16160         <optional>   16574         <optional>
16161                 <attribute name="form:min-value">   16575                 <attribute name="form:min-value">
16162                         <ref name="string"/>   16576                         <ref name="string"/>
16163                 </attribute>   16577                 </attribute>
16164         </optional>   16578         </optional>
16165 </define>   16579 </define>
16166 Step Size   16580 Step Size
16167 The form:step-size attribute specifies the increment to be used for a control representing a value.   16581 The form:step-size attribute specifies the increment to be used for a control representing a value.
16168 <define name="form-value-range-attlist" combine="interleave">   16582 <define name="form-value-range-attlist" combine="interleave">
16169         <optional>   16583         <optional>
16170                 <attribute name="form:step-size" a:defaultName="1">   16584                 <attribute name="form:step-size" a:defaultName="1">
16171                         <ref name="positiveInteger"/>   16585                         <ref name="positiveInteger"/>
16172                 </attribute>   16586                 </attribute>
16173         </optional>   16587         </optional>
16174 </define>   16588 </define>
16175 Page Step Size   16589 Page Step Size
16176 The form:page-step-size attribute specifies a second-level increment to be used for a control representing a value. In the user interface, this is usually associated with the user pressing the "Page Up" or "Page Down" key.   16590 The form:page-step-size attribute specifies a second-level increment to be used for a control representing a value. In the user interface, this is usually associated with the user pressing the "Page Up" or "Page Down" key.
16177 <define name="form-value-range-attlist" combine="interleave">   16591 <define name="form-value-range-attlist" combine="interleave">
16178         <optional>   16592         <optional>
16179                 <attribute name="form:page-step-size">   16593                 <attribute name="form:page-step-size">
16180                         <ref name="positiveInteger"/>   16594                         <ref name="positiveInteger"/>
16181                 </attribute>   16595                 </attribute>
16182         </optional>   16596         </optional>
16183 </define>   16597 </define>
16184 Repeat Delay   16598 Repeat Delay
16185 The form:delay-for-repeat attribute specifies a time-out to be used  before a pressed mouse button results in repeating an action.   16599 The form:delay-for-repeat attribute specifies a time-out to be used  before a pressed mouse button results in repeating an action.
16186 <define name="form-value-range-attlist" combine="interleave">   16600 <define name="form-value-range-attlist" combine="interleave">
16187         <optional>   16601         <optional>
16188                 <attribute name="form:delay-for-repeat">   16602                 <attribute name="form:delay-for-repeat">
16189                         <ref name="duration"/>   16603                         <ref name="duration"/>
16190                 </attribute>   16604                 </attribute>
16191         </optional>   16605         </optional>
16192 </define>   16606 </define>
16193 Orientation   16607 Orientation
16194 The form:orientation attribute specifies the orientation of the control, which could be either horizontal or vertical.   16608 The form:orientation attribute specifies the orientation of the control, which could be either horizontal or vertical.
16195 <define name="form-value-range-attlist" combine="interleave">   16609 <define name="form-value-range-attlist" combine="interleave">
16196         <optional>   16610         <optional>
16197                 <attribute name="form:orientation">   16611                 <attribute name="form:orientation">
16198                         <choice>   16612                         <choice>
16199                                 <value>horizontal</value>   16613                                 <value>horizontal</value>
16200                                 <value>vertical</value>   16614                                 <value>vertical</value>
16201                         </choice>   16615                         </choice>
16202                 </attribute>   16616                 </attribute>
16203         </optional>   16617         </optional>
16204 </define>   16618 </define>
16205 11.3.20Generic Control   16619 11.3.20Generic Control
16206 The <form:generic-control> element defines a placeholder for a generic control. The generic control can contain any properties and any events. The application detects the type of the control and instantiates the correct control.   16620 The <form:generic-control> element defines a placeholder for a generic control. The generic control can contain any properties and any events. The application detects the type of the control and instantiates the correct control.
16207 <define name="controls" combine="choice">   16621 <define name="controls" combine="choice">
16208         <element name="form:generic-control">   16622         <element name="form:generic-control">
16209                 <ref name="form-generic-control-attlist"/>   16623                 <ref name="form-generic-control-attlist"/>
16210                 <ref name="common-form-control-content"/>   16624                 <ref name="common-form-control-content"/>
16211         </element>   16625         </element>
16212 </define>   16626 </define>
16213 <define name="form-generic-control-attlist" combine="interleave">   16627 <define name="form-generic-control-attlist" combine="interleave">
16214         <ref name="form-control-attlist"/>   16628         <ref name="form-control-attlist"/>
16215 </define>   16629 </define>
16216 The attributes that may be associated with the <form:generic-control> element are:   16630 The attributes that may be associated with the <form:generic-control> element are:
16217 Name and Service Name. See section 11.4 for information about these attributes.   16631 Name and Service Name. See section 11.4 for information about these attributes.
16218 11.4Common Form and Control Attributes   16632 11.4Common Form and Control Attributes
16219 11.4.1Name   16633 11.4.1Name
16220 The form:name attribute specifies the name of the form or control element. This may be used to give a form or control element an identity, which is important for scripting and for submitting the content of controls.   16634 The form:name attribute specifies the name of the form or control element. This may be used to give a form or control element an identity, which is important for scripting and for submitting the content of controls.
16221 <define name="common-form-control-attlist" combine="interleave">   16635 <define name="common-form-control-attlist" combine="interleave">
16222         <optional>   16636         <optional>
16223                 <attribute name="form:name">   16637                 <attribute name="form:name">
16224                         <ref name="string"/>   16638                         <ref name="string"/>
16225                 </attribute>   16639                 </attribute>
16226         </optional>   16640         </optional>
16227 </define>   16641 </define>
16228 11.4.2Control Implementation   16642 11.4.2Control Implementation
16229 A control may be given a control type attribute, which determines which concrete rendition or implementation the user agent should instantiate. For easy extensibility, the value of this attribute is a namespaced token, i.e., it is token using a namespace prefix, much like attributes in XML.   16643 A control may be given a control type attribute, which determines which concrete rendition or implementation the user agent should instantiate. For easy extensibility, the value of this attribute is a namespaced token, i.e., it is token using a namespace prefix, much like attributes in XML.
16230 <define name="common-form-control-attlist" combine="interleave">   16644 <define name="common-form-control-attlist" combine="interleave">
16231         <optional>   16645         <optional>
16232                 <attribute name="form:control-implementation">   16646                 <attribute name="form:control-implementation">
16233                         <ref name="namespacedToken"/>   16647                         <ref name="namespacedToken"/>
16234                 </attribute>   16648                 </attribute>
16235         </optional>   16649         </optional>
16236 </define>   16650 </define>
16237 11.4.3Bind to XForms   16651 11.4.3Bind to XForms
16238 Any control can be bound to an XForms form (see section 11.2, as well as [XForms]) by using the xforms:bind attribute. With buttons the bind attribute refers to an <xforms:submission> element with the given ID. Pushing the button causes the appropriate XForms submission action to be performed. For all other control types, the xforms:bind attribute refers to an <xforms:bind> element with the given ID. Any such bound control reads and writes its data as determined by the appropriate bind element.   16652 Any control can be bound to an XForms form (see section 11.2, as well as [XForms]) by using the xforms:bind attribute. With buttons the bind attribute refers to an <xforms:submission> element with the given ID. Pushing the button causes the appropriate XForms submission action to be performed. For all other control types, the xforms:bind attribute refers to an <xforms:bind> element with the given ID. Any such bound control reads and writes its data as determined by the appropriate bind element.
16239 <define name="xforms-bind-attlist">   16653 <define name="xforms-bind-attlist">
16240         <optional>   16654         <optional>
16241                 <attribute name="xforms:bind">   16655                 <attribute name="xforms:bind">
16242                         <ref name="string"/>   16656                         <ref name="string"/>
16243                 </attribute>   16657                 </attribute>
16244         </optional>   16658         </optional>
16245 </define>   16659 </define>
16246 11.5Common Control Attributes   16660 11.5Common Control Attributes
16247 11.5.1Button Type   16661 11.5.1Button Type
16248 The form:button-type attribute specifies the type of a button. This attribute is supported for the following elements:   16662 The form:button-type attribute specifies the type of a button. This attribute is supported for the following elements:
16249 <form:button>   16663 <form:button>
16250 <form:image>   16664 <form:image>
16251 The value of this attribute can be one of the following:   16665 The value of this attribute can be one of the following:
16252 submit: Pressing the button  submits the form.   16666 submit: Pressing the button  submits the form.
16253 reset: Pressing the button resets every control in the form to its default value.   16667 reset: Pressing the button resets every control in the form to its default value.
16254 push: Pressing the button does not perform any action by default. The use then can add scripts to the button. and the script is run when the button is pressed.   16668 push: Pressing the button does not perform any action by default. The use then can add scripts to the button. and the script is run when the button is pressed.
16255 url: Pressing the button loads the URL that is specified in the form:target-url attribute.   16669 url: Pressing the button loads the URL that is specified in the form:target-url attribute.
16256 <define name="types">   16670 <define name="types">
16257         <choice>   16671         <choice>
16258                 <value>submit</value>   16672                 <value>submit</value>
16259                 <value>reset</value>   16673                 <value>reset</value>
16260                 <value>push</value>   16674                 <value>push</value>
16261                 <value>url</value>   16675                 <value>url</value>
16262         </choice>   16676         </choice>
16263 </define>   16677 </define>
16264 <define name="button-type">   16678 <define name="button-type">
16265         <optional>   16679         <optional>
16266                 <attribute name="form:button-type" a:defaultValue="push">   16680                 <attribute name="form:button-type" a:defaultValue="push">
16267                         <ref name="types"/>   16681                         <ref name="types"/>
16268                 </attribute>   16682                 </attribute>
16269         </optional>   16683         </optional>
16270 </define>   16684 </define>
16271 11.5.2Control ID   16685 11.5.2Control ID
16272 All controls except Hidden Controls have a visual representation in the host document. Thus, they need an absolute or relative position, describing the location in the document. The position is represented by a shape that contains a reference to the control element within the form element.   16686 All controls except Hidden Controls have a visual representation in the host document. Thus, they need an absolute or relative position, describing the location in the document. The position is represented by a shape that contains a reference to the control element within the form element.
16273 The form:id attribute is used to uniquely identify a control element. Every control that is not hidden must have such an attribute associated with it, which in turn can be used to reference the control.   16687 The form:id attribute is used to uniquely identify a control element. Every control that is not hidden must have such an attribute associated with it, which in turn can be used to reference the control.
16274 This attribute is supported for the following elements:   16688 This attribute is supported for the following elements:
16275 <form:text>   16689 <form:text>
16276 <form:textarea>   16690 <form:textarea>
16277 <form:password>   16691 <form:password>
16278 <form:file>   16692 <form:file>
16279 <form:formatted-text>   16693 <form:formatted-text>
16280 <form:fixed-text>   16694 <form:fixed-text>
16281 <form:combobox>   16695 <form:combobox>
16282 <form:listbox>   16696 <form:listbox>
16283 <form:button>   16697 <form:button>
16284 <form:image>   16698 <form:image>
16285 <form:checkbox>   16699 <form:checkbox>
16286 <form:radio>   16700 <form:radio>
16287 <form:frame>   16701 <form:frame>
16288 <form:image-frame>   16702 <form:image-frame>
16289 <form:grid>   16703 <form:grid>
16290 <define name="common-control-id-attlist">   16704 <define name="common-control-id-attlist">
16291         <attribute name="form:id">   16705         <attribute name="form:id">
16292                 <ref name="ID"/>   16706                 <ref name="ID"/>
16293         </attribute>   16707         </attribute>
16294 </define>   16708 </define>
16295 11.5.3Current Selected   16709 11.5.3Current Selected
16296 The form:current-selected attribute determines the current state of a radio button or option element.   16710 The form:current-selected attribute determines the current state of a radio button or option element.
16297 This attribute is supported for the following elements:   16711 This attribute is supported for the following elements:
16298 <form:option>   16712 <form:option>
16299 <form:radio>   16713 <form:radio>
16300 <define name="current-selected">   16714 <define name="current-selected">
16301         <optional>   16715         <optional>
16302                 <attribute name="form:current-selected" a:defaultValue="false">   16716                 <attribute name="form:current-selected" a:defaultValue="false">
16303                         <ref name="boolean"/>   16717                         <ref name="boolean"/>
16304                 </attribute>   16718                 </attribute>
16305         </optional>   16719         </optional>
16306 </define>   16720 </define>
16307 11.5.4Value and Current Value   16721 11.5.4Value and Current Value
16308 Every control has a default value and a current value. The current value changes with user interaction; the default value of a control does not. In general, the default value is specified in a form:value attribute.   16722 Every control has a default value and a current value. The current value changes with user interaction; the default value of a control does not. In general, the default value is specified in a form:value attribute.
16309 The default value is used during special events, such as resetting the form, which transfers the default value of every control to its current value. If a control does not have a default value, the result of resetting the form is undefined.   16723 The default value is used during special events, such as resetting the form, which transfers the default value of every control to its current value. If a control does not have a default value, the result of resetting the form is undefined.
16310 Besides storing the current value together with the control, it is also possible to bind controls to other value providers, which act as value sink and source, such as database fields (in data-aware forms) or e.g., cells in a spreadsheet document the controls live in. In this case, the current value is not stored with the control itself, but in the external instance, which may or may not store it together with the document. See section 11.5.22 for more details on database properties.   16724 Besides storing the current value together with the control, it is also possible to bind controls to other value providers, which act as value sink and source, such as database fields (in data-aware forms) or e.g., cells in a spreadsheet document the controls live in. In this case, the current value is not stored with the control itself, but in the external instance, which may or may not store it together with the document. See section 11.5.22 for more details on database properties.
16311 Default Value   16725 Default Value
16312 The form:value attribute specifies the default value of an input control. This attribute is supported for the following elements:   16726 The form:value attribute specifies the default value of an input control. This attribute is supported for the following elements:
16313 <form:text>   16727 <form:text>
16314 <form:textarea>   16728 <form:textarea>
16315 <form:password>   16729 <form:password>
16316 <form:file>   16730 <form:file>
16317 <form:formatted-text>   16731 <form:formatted-text>
16318 <form:combobox>   16732 <form:combobox>
16319 <form:option>   16733 <form:option>
16320 <form:button>   16734 <form:button>
16321 <form:image>   16735 <form:image>
16322 <form:checkbox>   16736 <form:checkbox>
16323 <form:radio>   16737 <form:radio>
16324 <form:hidden>   16738 <form:hidden>
16325 <define name="common-value-attlist">   16739 <define name="common-value-attlist">
16326         <optional>   16740         <optional>
16327                 <attribute name="form:value">   16741                 <attribute name="form:value">
16328                         <ref name="string"/>   16742                         <ref name="string"/>
16329                 </attribute>   16743                 </attribute>
16330         </optional>   16744         </optional>
16331 </define>   16745 </define>
16332 Current Value   16746 Current Value
16333 The form:current-value attribute specifies the current status of an input control. It overrides the value of a form:value attribute, if one is present.   16747 The form:current-value attribute specifies the current status of an input control. It overrides the value of a form:value attribute, if one is present.
16334 This attribute is supported for the following elements:   16748 This attribute is supported for the following elements:
16335 <form:text>   16749 <form:text>
16336 <form:textarea>   16750 <form:textarea>
16337 <form:file>   16751 <form:file>
16338 <form:formatted-text>   16752 <form:formatted-text>
16339 <form:combobox>   16753 <form:combobox>
16340 <define name="common-current-value-attlist">   16754 <define name="common-current-value-attlist">
16341         <optional>   16755         <optional>
16342                 <attribute name="form:current-value">   16756                 <attribute name="form:current-value">
16343                         <ref name="string"/>   16757                         <ref name="string"/>
16344                 </attribute>   16758                 </attribute>
16345         </optional>   16759         </optional>
16346 </define>   16760 </define>
16347 11.5.5Disabled   16761 11.5.5Disabled
16348 The form:disabled attribute specifies whether or not a control can accept user input. This attribute is supported for the following elements:   16762 The form:disabled attribute specifies whether or not a control can accept user input. This attribute is supported for the following elements:
16349 <form:text>   16763 <form:text>
16350 <form:textarea>   16764 <form:textarea>
16351 <form:password>   16765 <form:password>
16352 <form:file>   16766 <form:file>
16353 <form:formatted-text>   16767 <form:formatted-text>
16354 <form:fixed-text>   16768 <form:fixed-text>
16355 <form:combobox>   16769 <form:combobox>
16356 <form:listbox>   16770 <form:listbox>
16357 <form:button>   16771 <form:button>
16358 <form:image>   16772 <form:image>
16359 <form:checkbox>   16773 <form:checkbox>
16360 <form:radio>   16774 <form:radio>
16361 <form:frame>   16775 <form:frame>
16362 <form:image-frame>   16776 <form:image-frame>
16363 <form:grid>   16777 <form:grid>
16364 Controls that are disabled are not included in the tabbing navigation sequence and can not be focused.   16778 Controls that are disabled are not included in the tabbing navigation sequence and can not be focused.
16365 <define name="common-disabled-attlist">   16779 <define name="common-disabled-attlist">
16366         <optional>   16780         <optional>
16367                 <attribute name="form:disabled" a:defaultValue="false">   16781                 <attribute name="form:disabled" a:defaultValue="false">
16368                         <ref name="boolean"/>   16782                         <ref name="boolean"/>
16369                 </attribute>   16783                 </attribute>
16370         </optional>   16784         </optional>
16371 </define>   16785 </define>
16372 11.5.6Dropdown   16786 11.5.6Dropdown
16373 The form:dropdown attribute specifies whether the list in a combo box or list box is always visible or is only visible when the user clicks the drop-down button. This attribute is supported for the following elements:   16787 The form:dropdown attribute specifies whether the list in a combo box or list box is always visible or is only visible when the user clicks the drop-down button. This attribute is supported for the following elements:
16374 <form:combobox>   16788 <form:combobox>
16375 <form:listbox>   16789 <form:listbox>
16376 If the value is true, the list is always visible. If the value is false, the list is only visible when the user clicks the drop-down button.   16790 If the value is true, the list is always visible. If the value is false, the list is only visible when the user clicks the drop-down button.
16377 <define name="dropdown">   16791 <define name="dropdown">
16378         <optional>   16792         <optional>
16379                 <attribute name="form:dropdown" a:defaultValue="false">   16793                 <attribute name="form:dropdown" a:defaultValue="false">
16380                         <ref name="boolean"/>   16794                         <ref name="boolean"/>
16381                 </attribute>   16795                 </attribute>
16382         </optional>   16796         </optional>
16383 </define>   16797 </define>
16384 11.5.7For   16798 11.5.7For
16385 The form:for attribute specifies the IDs of the controls with which control element is labeling. This attribute is supported for the following elements:   16799 The form:for attribute specifies the IDs of the controls with which control element is labeling. This attribute is supported for the following elements:
16386 <form:fixed-text>   16800 <form:fixed-text>
16387 <form:frame>   16801 <form:frame>
16388 This attribute contains a comma separated list of control IDs.   16802 This attribute contains a comma separated list of control IDs.
16389 <define name="for">   16803 <define name="for">
16390         <optional>   16804         <optional>
16391                 <attribute name="form:for">   16805                 <attribute name="form:for">
16392                         <ref name="string"/>   16806                         <ref name="string"/>
16393                 </attribute>   16807                 </attribute>
16394         </optional>   16808         </optional>
16395 </define>   16809 </define>
16396 11.5.8Image Data   16810 11.5.8Image Data
16397 The form:image-data attribute links the control to an external file containing image data. This attribute is supported for the following elements:   16811 The form:image-data attribute links the control to an external file containing image data. This attribute is supported for the following elements:
16398 <form:button>   16812 <form:button>
16399 <form:image>   16813 <form:image>
16400 <form:image-frame>   16814 <form:image-frame>
16401 <define name="image-data">   16815 <define name="image-data">
16402         <optional>   16816         <optional>
16403                 <attribute name="form:image-data">   16817                 <attribute name="form:image-data">
16404                         <ref name="anyURI"/>   16818                         <ref name="anyURI"/>
16405                 </attribute>   16819                 </attribute>
16406         </optional>   16820         </optional>
16407 </define>   16821 </define>
16408 11.5.9Label   16822 11.5.9Label
16409 The form:label attribute contains a label for a control such as a radio button or check box. This attribute is supported for the following elements:   16823 The form:label attribute contains a label for a control such as a radio button or check box. This attribute is supported for the following elements:
16410 <form:fixed-text>   16824 <form:fixed-text>
16411 <form:item>   16825 <form:item>
16412 <form:option>   16826 <form:option>
16413 <form:checkbox>   16827 <form:checkbox>
16414 <form:radio>   16828 <form:radio>
16415 <form:frame>   16829 <form:frame>
16416 <form:column>   16830 <form:column>
16417 <define name="label">   16831 <define name="label">
16418         <optional>   16832         <optional>
16419                 <attribute name="form:label">   16833                 <attribute name="form:label">
16420                         <ref name="string"/>   16834                         <ref name="string"/>
16421                 </attribute>   16835                 </attribute>
16422         </optional>   16836         </optional>
16423 </define>   16837 </define>
16424 11.5.10Maximum Length   16838 11.5.10Maximum Length
16425 The form:max-length attribute specifies the maximum number of characters that a user can enter in an input control. This attribute is supported for the following elements:   16839 The form:max-length attribute specifies the maximum number of characters that a user can enter in an input control. This attribute is supported for the following elements:
16426 <form:text>   16840 <form:text>
16427 <form:textarea>   16841 <form:textarea>
16428 <form:password>   16842 <form:password>
16429 <form:formatted-text>   16843 <form:formatted-text>
16430 <form:combobox>   16844 <form:combobox>
16431 The default value of this attribute is unlimited, which allows a user to enter an unlimited number of characters.   16845 The default value of this attribute is unlimited, which allows a user to enter an unlimited number of characters.
16432 <define name="common-maxlength-attlist">   16846 <define name="common-maxlength-attlist">
16433         <optional>   16847         <optional>
16434                 <attribute name="form:max-length">   16848                 <attribute name="form:max-length">
16435                         <ref name="nonNegativeInteger"/>   16849                         <ref name="nonNegativeInteger"/>
16436                 </attribute>   16850                 </attribute>
16437         </optional>   16851         </optional>
16438 </define>   16852 </define>
16439 11.5.11Printable   16853 11.5.11Printable
16440 The form:printable attribute specifies whether or not a control is printed when a user prints the document in which the control is contained. This attribute is supported for the following elements:   16854 The form:printable attribute specifies whether or not a control is printed when a user prints the document in which the control is contained. This attribute is supported for the following elements:
16441 <form:text>   16855 <form:text>
16442 <form:textarea>   16856 <form:textarea>
16443 <form:password>   16857 <form:password>
16444 <form:file>   16858 <form:file>
16445 <form:formatted-text>   16859 <form:formatted-text>
16446 <form:fixed-text>   16860 <form:fixed-text>
16447 <form:combobox>   16861 <form:combobox>
16448 <form:listbox>   16862 <form:listbox>
16449 <form:button>   16863 <form:button>
16450 <form:image>   16864 <form:image>
16451 <form:checkbox>   16865 <form:checkbox>
16452 <form:radio>   16866 <form:radio>
16453 <form:frame>   16867 <form:frame>
16454 <form:image-frame>   16868 <form:image-frame>
16455 <form:grid>   16869 <form:grid>
16456 <define name="common-printable-attlist">   16870 <define name="common-printable-attlist">
16457         <optional>   16871         <optional>
16458                 <attribute name="form:printable" a:defaultValue="true">   16872                 <attribute name="form:printable" a:defaultValue="true">
16459                         <ref name="boolean"/>   16873                         <ref name="boolean"/>
16460                 </attribute>   16874                 </attribute>
16461         </optional>   16875         </optional>
16462 </define>   16876 </define>
16463 11.5.12Read only   16877 11.5.12Read only
16464 The form:readonly attribute specifies whether or not a user can modify the value of a control. This attribute is supported for the following elements:   16878 The form:readonly attribute specifies whether or not a user can modify the value of a control. This attribute is supported for the following elements:
16465 <form:text>   16879 <form:text>
16466 <form:textarea>   16880 <form:textarea>
16467 <form:file>   16881 <form:file>
16468 <form:formatted-text>   16882 <form:formatted-text>
16469 <form:combobox>   16883 <form:combobox>
16470 <form:listbox>   16884 <form:listbox>
16471 <form:image-frame>   16885 <form:image-frame>
16472 Read-only controls are included in the tabbing navigation sequence.   16886 Read-only controls are included in the tabbing navigation sequence.
16473 <define name="common-readonly-attlist">   16887 <define name="common-readonly-attlist">
16474         <optional>   16888         <optional>
16475                 <attribute name="form:readonly" a:defaultValue="false">   16889                 <attribute name="form:readonly" a:defaultValue="false">
16476                         <ref name="boolean"/>   16890                         <ref name="boolean"/>
16477                 </attribute>   16891                 </attribute>
16478         </optional>   16892         </optional>
16479 </define>   16893 </define>
16480 11.5.13Selected   16894 11.5.13Selected
16481 The form:selected attribute specifies the default state of a radio button or option. When the control is initialized, it is in the default state specified by this attribute. This attribute is supported for the following elements:   16895 The form:selected attribute specifies the default state of a radio button or option. When the control is initialized, it is in the default state specified by this attribute. This attribute is supported for the following elements:
16482 <form:option>   16896 <form:option>
16483 <form:radio>   16897 <form:radio>
16484 In a group of radio buttons that share the same name, only one radio button can have this attribute set to true.   16898 In a group of radio buttons that share the same name, only one radio button can have this attribute set to true.
16485 <define name="selected">   16899 <define name="selected">
16486         <optional>   16900         <optional>
16487                 <attribute name="form:selected" a:defaultValue="false">   16901                 <attribute name="form:selected" a:defaultValue="false">
16488                         <ref name="boolean"/>   16902                         <ref name="boolean"/>
16489                 </attribute>   16903                 </attribute>
16490         </optional>   16904         </optional>
16491 </define>   16905 </define>
16492 11.5.14Size   16906 11.5.14Size
16493 The form:size attribute specifies the number of rows that are visible at a time in a combo box list or a list box list. This attribute is supported for the following elements:   16907 The form:size attribute specifies the number of rows that are visible at a time in a combo box list or a list box list. This attribute is supported for the following elements:
16494 <form:combobox>   16908 <form:combobox>
16495 <form:listbox>   16909 <form:listbox>
16496 <define name="size">   16910 <define name="size">
16497         <optional>   16911         <optional>
16498                 <attribute name="form:size">   16912                 <attribute name="form:size">
16499                         <ref name="nonNegativeInteger"/>   16913                         <ref name="nonNegativeInteger"/>
16500                 </attribute>   16914                 </attribute>
16501         </optional>   16915         </optional>
16502 </define>   16916 </define>
16503 11.5.15Tab Index   16917 11.5.15Tab Index
16504 The form:tab-index attribute specifies the tabbing navigation order of a control within a form. The tabbing order is the order in which controls are given focus when a user navigates through the form using the TAB key on the keyboard. The tabbing order can include elements that are nested in other elements. This attribute is supported for the following elements:   16918 The form:tab-index attribute specifies the tabbing navigation order of a control within a form. The tabbing order is the order in which controls are given focus when a user navigates through the form using the TAB key on the keyboard. The tabbing order can include elements that are nested in other elements. This attribute is supported for the following elements:
16505 <form:text>   16919 <form:text>
16506 <form:textarea>   16920 <form:textarea>
16507 <form:password>   16921 <form:password>
16508 <form:file>   16922 <form:file>
16509 <form:formatted-text>   16923 <form:formatted-text>
16510 <form:combobox>   16924 <form:combobox>
16511 <form:listbox>   16925 <form:listbox>
16512 <form:button>   16926 <form:button>
16513 <form:image>   16927 <form:image>
16514 <form:checkbox>   16928 <form:checkbox>
16515 <form:radio>   16929 <form:radio>
16516 <form:grid>   16930 <form:grid>
16517 The rules for tabbing are similar to the tabbing rules used in HTML 4.0.   16931 The rules for tabbing are similar to the tabbing rules used in HTML 4.0.
16518 Controls that can be given focus are navigated in the order described in the following rules:   16932 Controls that can be given focus are navigated in the order described in the following rules:
16519 1.The controls that have a positive value for the form:tab-index attribute are navigated first.   16933 1.The controls that have a positive value for the form:tab-index attribute are navigated first.
16520 2.The navigation starts at the control with lowest form:tab-index value and ends at the control with the highest value. Values do not have to be sequential and they do not have to begin with a particular value.   16934 2.The navigation starts at the control with lowest form:tab-index value and ends at the control with the highest value. Values do not have to be sequential and they do not have to begin with a particular value.
16521 3.Controls that have the same values for the form:tab-index attribute are navigated according their position in the form.   16935 3.Controls that have the same values for the form:tab-index attribute are navigated according their position in the form.
16522 4.Controls that do not contain the form:tab-index attribute or contain the attribute with a value of 0 are navigated next. These  controls are navigated according to their position in the form.   16936 4.Controls that do not contain the form:tab-index attribute or contain the attribute with a value of 0 are navigated next. These  controls are navigated according to their position in the form.
16523 5.Controls that have the form:disabled attribute set to true are not included in the navigation, independent on their form:tab-index value.   16937 5.Controls that have the form:disabled attribute set to true are not included in the navigation, independent on their form:tab-index value.
16524 <define name="common-tab-attlist" combine="interleave">   16938 <define name="common-tab-attlist" combine="interleave">
16525         <optional>   16939         <optional>
16526                 <attribute name="form:tab-index" a:defaultValue="0">   16940                 <attribute name="form:tab-index" a:defaultValue="0">
16527                         <ref name="nonNegativeInteger"/>   16941                         <ref name="nonNegativeInteger"/>
16528                 </attribute>   16942                 </attribute>
16529         </optional>   16943         </optional>
16530 </define>   16944 </define>
16531 11.5.16Tab Stop   16945 11.5.16Tab Stop
16532 The form:tab-stop attribute specifies whether or not a control is included in the tabbing navigation order. This attribute is supported for the following elements:   16946 The form:tab-stop attribute specifies whether or not a control is included in the tabbing navigation order. This attribute is supported for the following elements:
16533 <form:text>   16947 <form:text>
16534 <form:textarea>   16948 <form:textarea>
16535 <form:password>   16949 <form:password>
16536 <form:file>   16950 <form:file>
16537 <form:formatted-text>   16951 <form:formatted-text>
16538 <form:combobox>   16952 <form:combobox>
16539 <form:listbox>   16953 <form:listbox>
16540 <form:button>   16954 <form:button>
16541 <form:image>   16955 <form:image>
16542 <form:checkbox>   16956 <form:checkbox>
16543 <form:radio>   16957 <form:radio>
16544 <form:grid>   16958 <form:grid>
16545 If the value is false, the control is not included in the tabbing navigation.   16959 If the value is false, the control is not included in the tabbing navigation.
16546 <define name="common-tab-attlist" combine="interleave">   16960 <define name="common-tab-attlist" combine="interleave">
16547         <optional>   16961         <optional>
16548                 <attribute name="form:tab-stop" a:defaultValue="true">   16962                 <attribute name="form:tab-stop" a:defaultValue="true">
16549                         <ref name="boolean"/>   16963                         <ref name="boolean"/>
16550                 </attribute>   16964                 </attribute>
16551         </optional>   16965         </optional>
16552 </define>   16966 </define>
16553 11.5.17Target Frame   16967 11.5.17Target Frame
16554 The office:target-frame attribute specifies the link target frame of the area. This attribute is supported for the following elements:   16968 The office:target-frame attribute specifies the link target frame of the area. This attribute is supported for the following elements:
16555 <form:button>   16969 <form:button>
16556 <form:image>   16970 <form:image>
16557 <define name="target-frame">   16971 <define name="target-frame">
16558         <optional>   16972         <optional>
16559                 <attribute name="office:target-frame" a:defaultValue="_blank">   16973                 <attribute name="office:target-frame" a:defaultValue="_blank">
16560                         <ref name="targetFrameName"/>   16974                         <ref name="targetFrameName"/>
16561                 </attribute>   16975                 </attribute>
16562         </optional>   16976         </optional>
16563 </define>   16977 </define>
16564 11.5.18Target Location   16978 11.5.18Target Location
16565 An xlink:href attribute specifies the URL that is loaded if a button is clicked. This attribute is supported for the following elements:   16979 An xlink:href attribute specifies the URL that is loaded if a button is clicked. This attribute is supported for the following elements:
16566 <form:button>   16980 <form:button>
16567 <form:image>   16981 <form:image>
16568 This attribute is only evaluated if the value of the form:button-type attribute is location.   16982 This attribute is only evaluated if the value of the form:button-type attribute is location.
16569 <define name="target-location">   16983 <define name="target-location">
16570         <optional>   16984         <optional>
16571                 <attribute name="xlink:href">   16985                 <attribute name="xlink:href">
16572                         <ref name="anyURI"/>   16986                         <ref name="anyURI"/>
16573                 </attribute>   16987                 </attribute>
16574         </optional>   16988         </optional>
16575 </define>   16989 </define>
16576 11.5.19Title   16990 11.5.19Title
16577 The form:title attribute contains additional information about a control. The value of the attribute can be used as a tool tip. This attribute is supported for the following elements:   16991 The form:title attribute contains additional information about a control. The value of the attribute can be used as a tool tip. This attribute is supported for the following elements:
16578 <form:text>   16992 <form:text>
16579 <form:textarea>   16993 <form:textarea>
16580 <form:password>   16994 <form:password>
16581 <form:file>   16995 <form:file>
16582 <form:formatted-text>   16996 <form:formatted-text>
16583 <form:fixed-text>   16997 <form:fixed-text>
16584 <form:combobox>   16998 <form:combobox>
16585 <form:listbox>   16999 <form:listbox>
16586 <form:button>   17000 <form:button>
16587 <form:image>   17001 <form:image>
16588 <form:checkbox>   17002 <form:checkbox>
16589 <form:radio>   17003 <form:radio>
16590 <form:image>   17004 <form:image>
16591 <form:image-frame>   17005 <form:image-frame>
16592 <form:grid>   17006 <form:grid>
16593 <define name="common-title-attlist">   17007 <define name="common-title-attlist">
16594         <optional>   17008         <optional>
16595                 <attribute name="form:title"/>   17009                 <attribute name="form:title"/>
16596         </optional>   17010         </optional>
16597 </define>   17011 </define>
16598 11.5.20Visual Effect   17012 11.5.20Visual Effect
16599 The form:visual-effect attributes specifies a visual affect to apply to a control. The attribute values can be flat for a flat visual effect and 3d for a 3D effect. This attribute is supported for the following elements:   17013 The form:visual-effect attributes specifies a visual affect to apply to a control. The attribute values can be flat for a flat visual effect and 3d for a 3D effect. This attribute is supported for the following elements:
16600 <form:checkbox>   17014 <form:checkbox>
16601 <form:radio>   17015 <form:radio>
16602 <define name="common-form-visual-effect-attlist" combine="interleave">   17016 <define name="common-form-visual-effect-attlist" combine="interleave">
16603         <optional>   17017         <optional>
16604                 <attribute name="form:visual-effect">   17018                 <attribute name="form:visual-effect">
16605                         <choice>   17019                         <choice>
16606                                 <value>flat</value>   17020                                 <value>flat</value>
16607                                 <value>3d</value>   17021                                 <value>3d</value>
16608                         </choice>   17022                         </choice>
16609                 </attribute>   17023                 </attribute>
16610         </optional>   17024         </optional>
16611 </define>   17025 </define>
16612 11.5.21Relative Image Position   17026 11.5.21Relative Image Position
16613 The form:image-position and form:image-align together specify the position of an image to be displayed in a form control, relative to the label text.   17027 The form:image-position and form:image-align together specify the position of an image to be displayed in a form control, relative to the label text.
16614 If the form:image-position attribute has the value center, the image shown in a control should be centered relative to the control's text.   17028 If the form:image-position attribute has the value center, the image shown in a control should be centered relative to the control's text.
16615 If the form:image-position attribute has one of the values start, end, top, bottom, the image is to be placed before, after, above, or below the text. In this case, the form:image-align attribute specifies which border (start, end) or axis (center) of the image and the text are to be aligned. If the form:image-position attribute is not present, it is assumed to be center. The form:image-position and form:image-align attributes are supported for the following elements:   17029 If the form:image-position attribute has one of the values start, end, top, bottom, the image is to be placed before, after, above, or below the text. In this case, the form:image-align attribute specifies which border (start, end) or axis (center) of the image and the text are to be aligned. If the form:image-position attribute is not present, it is assumed to be center. The form:image-position and form:image-align attributes are supported for the following elements:
16616 <form:button>   17030 <form:button>
16617 <form:checkbox>   17031 <form:checkbox>
16618 <form:radio>   17032 <form:radio>
16619 <define name="common-form-relative-image-position-attlist"   17033 <define name="common-form-relative-image-position-attlist"
16620         combine="interleave">   17034         combine="interleave">
16621         <choice>   17035         <choice>
16622                 <optional>   17036                 <optional>
16623                         <attribute name="form:image-position" a:defaultValue="center">   17037                         <attribute name="form:image-position" a:defaultValue="center">
16624                                 <value>center</value>   17038                                 <value>center</value>
16625                         </attribute>   17039                         </attribute>
16626                 </optional>   17040                 </optional>
16627                 <group>   17041                 <group>
16628                         <attribute name="form:image-position">   17042                         <attribute name="form:image-position">
16629                                 <choice>   17043                                 <choice>
16630                                         <value>start</value>   17044                                         <value>start</value>
16631                                         <value>end</value>   17045                                         <value>end</value>
16632                                         <value>top</value>   17046                                         <value>top</value>
16633                                         <value>bottom</value>   17047                                         <value>bottom</value>
16634                                 </choice>   17048                                 </choice>
16635                         </attribute>   17049                         </attribute>
16636                         <optional>   17050                         <optional>
16637                                 <attribute name="form:image-align" a:defaultValue="center">   17051                                 <attribute name="form:image-align" a:defaultValue="center">
16638                                         <choice>   17052                                         <choice>
16639                                                 <value>start</value>   17053                                                 <value>start</value>
16640                                                 <value>center</value>   17054                                                 <value>center</value>
16641                                                 <value>end</value>   17055                                                 <value>end</value>
16642                                         </choice>   17056                                         </choice>
16643                                 </attribute>   17057                                 </attribute>
16644                         </optional>   17058                         </optional>
16645                 </group>   17059                 </group>
16646         </choice>   17060         </choice>
16647 </define>   17061 </define>
16648 11.5.22Database Binding Attributes   17062 11.5.22Database Binding Attributes
16649 A control may be bound to a database fields. In this case, the controls becomes data-aware. The control acquires the values of a database field by going through a result set that is provided by the form. Each time there is a row change in the form, the value of the control may change. The value changes are stored in the associated database field.   17063 A control may be bound to a database fields. In this case, the controls becomes data-aware. The control acquires the values of a database field by going through a result set that is provided by the form. Each time there is a row change in the form, the value of the control may change. The value changes are stored in the associated database field.
16650 Bound Column   17064 Bound Column
16651 The form:bound-column attribute specifies the column values of the list source result set that are used to fill the data field values. This attribute is supported for the <form:listbox> element.   17065 The form:bound-column attribute specifies the column values of the list source result set that are used to fill the data field values. This attribute is supported for the <form:listbox> element.
16652 <define name="bound-column">   17066 <define name="bound-column">
16653         <optional>   17067         <optional>
16654                 <attribute name="form:bound-column">   17068                 <attribute name="form:bound-column">
16655                         <ref name="string"/>   17069                         <ref name="string"/>
16656                 </attribute>   17070                 </attribute>
16657         </optional>   17071         </optional>
16658 </define>   17072 </define>
16659 Convert Empty To Null   17073 Convert Empty To Null
16660 The form:convert-empty-to-null attribute specifies whether or not empty current values are regarded as NULL This attribute is important for data-aware controls to determine which values to store for the bound database field. This attribute is supported for the following elements:   17074 The form:convert-empty-to-null attribute specifies whether or not empty current values are regarded as NULL This attribute is important for data-aware controls to determine which values to store for the bound database field. This attribute is supported for the following elements:
16661 <form:text>   17075 <form:text>
16662 <form:textarea>   17076 <form:textarea>
16663 <form:formatted-text>   17077 <form:formatted-text>
16664 <form:combobox>   17078 <form:combobox>
16665 If the value of the attribute is true, an empty string in the control is regarded as the dedicated NULL value. If the value of the attribute is false, an empty string in the control is regarded as an empty string.   17079 If the value of the attribute is true, an empty string in the control is regarded as the dedicated NULL value. If the value of the attribute is false, an empty string in the control is regarded as an empty string.
16666 <define name="common-convert-empty-attlist">   17080 <define name="common-convert-empty-attlist">
16667         <optional>   17081         <optional>
16668                 <attribute name="form:convert-empty-to-null" a:defaultValue="false">   17082                 <attribute name="form:convert-empty-to-null" a:defaultValue="false">
16669                         <ref name="boolean"/>   17083                         <ref name="boolean"/>
16670                 </attribute>   17084                 </attribute>
16671         </optional>   17085         </optional>
16672 </define>   17086 </define>
16673 Data Field   17087 Data Field
16674 The form:data-field attribute specifies the name of a result set column. The result set is determined by the form which the control belongs to. This attribute is supported for the following elements:   17088 The form:data-field attribute specifies the name of a result set column. The result set is determined by the form which the control belongs to. This attribute is supported for the following elements:
16675 <form:text>   17089 <form:text>
16676 <form:textarea>   17090 <form:textarea>
16677 <form:formatted-text>   17091 <form:formatted-text>
16678 <form:combobox>   17092 <form:combobox>
16679 <form:listbox>   17093 <form:listbox>
16680 <form:checkbox>   17094 <form:checkbox>
16681 <form:radio>   17095 <form:radio>
16682 <form:image-frame>   17096 <form:image-frame>
16683 <define name="common-data-field-attlist">   17097 <define name="common-data-field-attlist">
16684         <optional>   17098         <optional>
16685                 <attribute name="form:data-field">   17099                 <attribute name="form:data-field">
16686                         <ref name="string"/>   17100                         <ref name="string"/>
16687                 </attribute>   17101                 </attribute>
16688         </optional>   17102         </optional>
16689 </define>   17103 </define>
16690 List Source   17104 List Source
16691 The form:list-source attribute specifies the source used to populate the list in a list box or combo box. The first column of the list source result set populates the list. This attribute is supported for the following elements:   17105 The form:list-source attribute specifies the source used to populate the list in a list box or combo box. The first column of the list source result set populates the list. This attribute is supported for the following elements:
16692 <form:combobox>   17106 <form:combobox>
16693 <form:listbox>   17107 <form:listbox>
16694 <define name="list-source">   17108 <define name="list-source">
16695         <optional>   17109         <optional>
16696                 <attribute name="form:list-source">   17110                 <attribute name="form:list-source">
16697                         <ref name="string"/>   17111                         <ref name="string"/>
16698                 </attribute>   17112                 </attribute>
16699         </optional>   17113         </optional>
16700 </define>   17114 </define>
16701 List Source Type   17115 List Source Type
16702 The form:list-source-type attribute specifies the type of data source that is used to populates the list data in a list box or combo box. This attribute is supported for the following elements:   17116 The form:list-source-type attribute specifies the type of data source that is used to populates the list data in a list box or combo box. This attribute is supported for the following elements:
16703 <form:combobox>   17117 <form:combobox>
16704 <form:listbox>   17118 <form:listbox>
16705 The value of this attribute can be one of the following:   17119 The value of this attribute can be one of the following:
16706 table: The list is populated using the content of a database table.   17120 table: The list is populated using the content of a database table.
16707 query: The list is populated by executing a query.   17121 query: The list is populated by executing a query.
16708 sql: The list is populated by executing an SQL statement.   17122 sql: The list is populated by executing an SQL statement.
16709 sql-pass-through: The list is populated by executing any type of statement that is passed directly to a database driver, without being interpreted by the application.   17123 sql-pass-through: The list is populated by executing any type of statement that is passed directly to a database driver, without being interpreted by the application.
16710 value-list: The list is populated with values specified by the user using the form:value attribute in the <form:option> element. This setting is only applicable to list boxes.   17124 value-list: The list is populated with values specified by the user using the form:value attribute in the <form:option> element. This setting is only applicable to list boxes.
16711 table-fields: The list is populated using the field names in a database table.   17125 table-fields: The list is populated using the field names in a database table.
16712 <define name="list-source-type">   17126 <define name="list-source-type">
16713         <optional>   17127         <optional>
16714                 <attribute name="form:list-source-type">   17128                 <attribute name="form:list-source-type">
16715                         <choice>   17129                         <choice>
16716                                 <value>table</value>   17130                                 <value>table</value>
16717                                 <value>query</value>   17131                                 <value>query</value>
16718                                 <value>sql</value>   17132                                 <value>sql</value>
16719                                 <value>sql-pass-through</value>   17133                                 <value>sql-pass-through</value>
16720                                 <value>value-list</value>   17134                                 <value>value-list</value>
16721                                 <value>table-fields</value>   17135                                 <value>table-fields</value>
16722                         </choice>   17136                         </choice>
16723                 </attribute>   17137                 </attribute>
16724         </optional>   17138         </optional>
16725 </define>   17139 </define>
16726 11.6Events <> 17140 11.6Event Listeners
16727 HTML defines a list of standard events for controls. These events are represented by attributes, which are associated with the control elements. In the office application XML file format, these events and any additional events defined by the application component are stored as elements in an <office:event-listeners> element.   17141 Forms and form controls may have event listeners attached. The event listeners that are attached to, for example, a list box or button, are represented by an event listener element as described in section 12.4. This element is contained within the form or form control element, for example, the <form:listbox> element or the <form:button> element.
16728 For a single event element, the script:event-name attribute specifies the type of event and other attributes specify the language and the event handler.   17142 Section 12.4.1 contains guidelines for event names that may be used within forms and form controls. In addition to those, the following events may be used for forms and form controls.
16729 11.6.1Events with an Equivalent HTML Event Type      
16730 The following table describes the XML events that have an equivalent event in HTML. Their names are contained in the namespace “http://www.w3.org/2001/xml-events”. The namespace prefix used in this specification is DOM. See also 12.4.1.      
16731 Value of script:event-name Attribute      
16732 Equivalent HTML Event      
16733 Description of Event      
16734 dom:change      
16735 onchange      
16736 Occurs when a control is no longer focused and the value of the control was modified since it was given focus.      
16737 dom:DOMFocusIn      
16738 onfocus      
16739 Occurs when a control is given focus using the mouse or the TAB key.      
16740 dom:DOMFocusOut      
16741 onblur      
16742 Occurs when a control is no longer focused as a result of moving the mouse or by tabbing navigation. It may be used with the same elements as form:on-focus.      
16743 dom:keydown      
16744 onkeydown      
16745 Occurs when a key is pressed on a control.      
16746 dom:keyup      
16747 onkeyup      
16748 Occurs when a key is released on a control.      
16749 dom:mouseover      
16750 onmouseover      
16751 Occurs when the mouse pointer is moved over the control.      
16752 dom:mousemove      
16753 onmousemove      
16754 Occurs when the mouse pointer is moved onto a control.      
16755 dom:mousedown      
16756 onmousedown      
16757 Occurs when a mouse button is pressed  on a control.      
16758 dom:mouseup      
16759 onmouseup      
16760 Occurs when a mouse button is released  on a control.      
16761 on-mouseout      
16762 onmouseout      
16763 Occurs when the mouse pointer is moved away from a control.      
16764 dom:reset      
16765 onreset      
16766 Occurs when a form is reset.      
16767 dom:submit      
16768 onsubmit      
16769 Occurs when a form is submitted.      
16770 11.6.2Event Types      
16771 In addition to the HTML event types, the XML file format for office applications allows additional events to be handled at run time.      
16772 Value of script:event-name Attribute = 17143 Value of script:event-name Attribute
16773 Applies To   17144 Applies To
16774 Description of Event   17145 Description of Event
16775 form:approveaction   17146 form:approveaction
16776 Button or image.   17147 Button or image.
16777 Occurs before the “on performaction” event takes place. Allows the user to veto the action.   17148 Occurs before the “on performaction” event takes place. Allows the user to veto the action.
16778 form:performaction   17149 form:performaction
16779 Button or image.   17150 Button or image.
16780 Occurs when the control action is to be performed. The common interpretation of this event is “pressing the button”.   17151 Occurs when the control action is to be performed. The common interpretation of this event is “pressing the button”.
16781 form:textchange   17152 form:textchange
16782 All controls that allow text input.   17153 All controls that allow text input.
16783 Occurs when a user changes the text in a control.   17154 Occurs when a user changes the text in a control.
16784 form:itemstatechange   17155 form:itemstatechange
16785 Check box or radio button.   17156 Check box or radio button.
16786 Occurs when the state of a check box or radio button changes.   17157 Occurs when the state of a check box or radio button changes.
16787 form:mousedrag   17158 form:mousedrag
16788 All controls.   17159 All controls.
16789 Occurs when a user presses and holds one of the mouse buttons and moves the mouse pointer onto a control.   17160 Occurs when a user presses and holds one of the mouse buttons and moves the mouse pointer onto a control.
16790 form:approvereset   17161 form:approvereset
16791 same objects as for form:on-reset   17162 same objects as for form:on-reset
16792 Occurs before the on-reset event takes place. Allows the user to veto the reset event.   17163 Occurs before the on-reset event takes place. Allows the user to veto the reset event.
16793 form:approveupdate   17164 form:approveupdate
16794 All controls that can be bound to a database field, that is controls that contain the data-field attribute.   17165 All controls that can be bound to a database field, that is controls that contain the data-field attribute.
16795 Occurs before the on-update event takes place. Allows the user to veto the update.   17166 Occurs before the on-update event takes place. Allows the user to veto the update.
16796 form:update   17167 form:update
16797 All controls that can be bound to a database field, that is controls that contain the data-field attribute.   17168 All controls that can be bound to a database field, that is controls that contain the data-field attribute.
16798 Occurs when the content of a control that is bound to a database field is committed.   17169 Occurs when the content of a control that is bound to a database field is committed.
16799 form:load   17170 form:load
16800 Forms.   17171 Forms.
16801 Occurs when the form establishes a connection to the data source.   17172 Occurs when the form establishes a connection to the data source.
16802 form:startrealod   17173 form:startrealod
16803 Forms.   17174 Forms.
16804 Occurs when the form is about to refresh a data source connection.   17175 Occurs when the form is about to refresh a data source connection.
16805 form:reload   17176 form:reload
16806 Forms.   17177 Forms.
16807 Occurs when the form has refreshed a data source connection.   17178 Occurs when the form has refreshed a data source connection.
16808 form:startunload   17179 form:startunload
16809 Forms.   17180 Forms.
16810 Occurs when the form is about to drop a data source connection.   17181 Occurs when the form is about to drop a data source connection.
16811 form:unload   17182 form:unload
16812 Forms.   17183 Forms.
16813 Occurs when the form has dropped  a data source connection.   17184 Occurs when the form has dropped  a data source connection.
16814 form:confirmdelete   17185 form:confirmdelete
16815 Forms.   17186 Forms.
16816 Occurs when the user is about to delete a record.   17187 Occurs when the user is about to delete a record.
16817 form:approverowchange   17188 form:approverowchange
16818 Forms.   17189 Forms.
16819 Occurs before the “on rowchange” event takes place. Allows the user to veto the change.   17190 Occurs before the “on rowchange” event takes place. Allows the user to veto the change.
16820 form:rowchange   17191 form:rowchange
16821 Forms.   17192 Forms.
16822 Occurs after changes to a row are complete, such as deletions, updates, and insertions.   17193 Occurs after changes to a row are complete, such as deletions, updates, and insertions.
16823 form:approvecursormove   17194 form:approvecursormove
16824 Forms.   17195 Forms.
16825 Occurs before the form is moved to another row. Allows the user to veto the move.   17196 Occurs before the form is moved to another row. Allows the user to veto the move.
16826 form:cursormove   17197 form:cursormove
16827 Forms.   17198 Forms.
16828 Occurs after the form is moved to another row.   17199 Occurs after the form is moved to another row.
16829 form:supplyparameter   17200 form:supplyparameter
16830 Forms.   17201 Forms.
16831 Occurs when the form needs to fill parameters to connect to a data source.   17202 Occurs when the form needs to fill parameters to connect to a data source.
16832 form:error   17203 form:error
16833 Forms, combo boxes and list boxes.   17204 Forms, combo boxes and list boxes.
16834 Occurs when a database-related error occurs.   17205 Occurs when a database-related error occurs.
16835 form:adjust   17206 form:adjust
16836 Value Range   17207 Value Range
16837 Occurs when the value of a Value Range element has been adjusted.   17208 Occurs when the value of a Value Range element has been adjusted.
16838 11.7Properties   17209 11.7Properties
16839 The <form:properties> element may be used to store the following settings for controls and forms:   17210 The <form:properties> element may be used to store the following settings for controls and forms:
16840 Settings that are not known by the document format.   17211 Settings that are not known by the document format.
16841 Settings that are provided by external vendors.   17212 Settings that are provided by external vendors.
16842 Settings that are specific to the application.   17213 Settings that are specific to the application.
16843 Properties consist of a name/value pair. The name identifies the property. The value can be given in a fundamental data type or as a list of fundamental data types.   17214 Properties consist of a name/value pair. The name identifies the property. The value can be given in a fundamental data type or as a list of fundamental data types.
16844 11.7.1Property Set   17215 11.7.1Property Set
16845 The <form:properties> element contains the property elements. Properties are encoded using the form:property element, except for list properties, which make use of the form:list-property element.   17216 The <form:properties> element contains the property elements. Properties are encoded using the form:property element, except for list properties, which make use of the form:list-property element.
16846 <define name="form-properties">   17217 <define name="form-properties">
16847         <element name="form:properties">   17218         <element name="form:properties">
16848                 <oneOrMore>   17219                 <oneOrMore>
16849                         <ref name="form-property"/>   17220                         <ref name="form-property"/>
16850                 </oneOrMore>   17221                 </oneOrMore>
16851         </element>   17222         </element>
16852 </define>   17223 </define>
16853 11.7.2Property   17224 11.7.2Property
16854 The <form:property> element describes a single property, and contains its name, type and value.   17225 The <form:property> element describes a single property, and contains its name, type and value.
16855 <define name="form-property" combine="choice">   17226 <define name="form-property" combine="choice">
16856         <element name="form:property">   17227         <element name="form:property">
16857                 <ref name="form-property-name"/>   17228                 <ref name="form-property-name"/>
16858                 <ref name="form-property-value-and-type-attlist"/>   17229                 <ref name="form-property-value-and-type-attlist"/>
16859         </element>   17230         </element>
16860 </define>   17231 </define>
16861 Property Name   17232 Property Name
16862 The form:property-name attribute specifies the name of a property element.   17233 The form:property-name attribute specifies the name of a property element.
16863 <define name="form-property-name" combine="interleave">   17234 <define name="form-property-name" combine="interleave">
16864         <attribute name="form:property-name">   17235         <attribute name="form:property-name">
16865                 <ref name="string"/>   17236                 <ref name="string"/>
16866         </attribute>   17237         </attribute>
16867 </define>   17238 </define>
16868 Property Value and Type   17239 Property Value and Type
16869 The value and type of form properties are represented through the common office:value-type and suitable value attributes. See section  6.7.1for more information on these attributes.   17240 The value and type of form properties are represented through the common office:value-type and suitable value attributes. See section  6.7.1for more information on these attributes.
16870 In addition to these value types, form properties can also be empty. This is represented by the special value type void. Such properties have no value attribute.   17241 In addition to these value types, form properties can also be empty. This is represented by the special value type void. Such properties have no value attribute.
16871 <define name="form-property-value-and-type-attlist" combine="interleave">   17242 <define name="form-property-value-and-type-attlist" combine="interleave">
16872         <choice>   17243         <choice>
16873                 <ref name="common-value-and-type-attlist"/>   17244                 <ref name="common-value-and-type-attlist"/>
16874                 <attribute name="office:value-type">   17245                 <attribute name="office:value-type">
16875                         <value>void</value>   17246                         <value>void</value>
16876                 </attribute>   17247                 </attribute>
16877         </choice>   17248         </choice>
16878 </define>   17249 </define>
16879 11.7.3List Property   17250 11.7.3List Property
16880 The <form:list-property> element specifies a property that contains a list of values. A value type attribute determines which types are allowed on the list elements. The element contains a sequence of list value elements, each of which contains a value attribute suitable to the value type given in the <form:list-property> element. The value attributes are the same as those used elsewhere in the specification, except that the type attribute is attached to the container element, which the value attributes are attached to the list values. (See section  6.7.1 for more information on vale and value type attributes.)   17251 The <form:list-property> element specifies a property that contains a list of values. A value type attribute determines which types are allowed on the list elements. The element contains a sequence of list value elements, each of which contains a value attribute suitable to the value type given in the <form:list-property> element. The value attributes are the same as those used elsewhere in the specification, except that the type attribute is attached to the container element, which the value attributes are attached to the list values. (See section  6.7.1 for more information on vale and value type attributes.)
16881 <define name="form-property" combine="choice">   17252 <define name="form-property" combine="choice">
16882         <element name="form:list-property">   17253         <element name="form:list-property">
16883                 <ref name="form-property-name"/>   17254                 <ref name="form-property-name"/>
16884                 <ref name="form-property-type-and-value-list"/>   17255                 <ref name="form-property-type-and-value-list"/>
16885         </element>   17256         </element>
16886 </define>   17257 </define>
16887 List Value   17258 List Value
16888 The list value element contains value attributes for the value type given in the containing  <form:list-property> element.   17259 The list value element contains value attributes for the value type given in the containing  <form:list-property> element.
16889 <define name="form-property-type-and-value-list">   17260 <define name="form-property-type-and-value-list">
16890         <choice>   17261         <choice>
16891                 <group>   17262                 <group>
16892                         <attribute name="office:value-type">   17263                         <attribute name="office:value-type">
16893                                 <value>float</value>   17264                                 <value>float</value>
16894                         </attribute>   17265                         </attribute>
16895                         <zeroOrMore>   17266                         <zeroOrMore>
16896                                 <element name="form:list-value">   17267                                 <element name="form:list-value">
16897                                         <attribute name="office:value">   17268                                         <attribute name="office:value">
16898                                                 <ref name="double"/>   17269                                                 <ref name="double"/>
16899                                         </attribute>   17270                                         </attribute>
16900                                 </element>   17271                                 </element>
16901                         </zeroOrMore>   17272                         </zeroOrMore>
16902                 </group>   17273                 </group>
16903                 <group>   17274                 <group>
16904                         <attribute name="office:value-type">   17275                         <attribute name="office:value-type">
16905                                 <value>percentage</value>   17276                                 <value>percentage</value>
16906                         </attribute>   17277                         </attribute>
16907                         <zeroOrMore>   17278                         <zeroOrMore>
16908                                 <element name="form:list-value">   17279                                 <element name="form:list-value">
16909                                         <attribute name="office:value">   17280                                         <attribute name="office:value">
16910                                                 <ref name="double"/>   17281                                                 <ref name="double"/>
16911                                         </attribute>   17282                                         </attribute>
16912                                 </element>   17283                                 </element>
16913                         </zeroOrMore>   17284                         </zeroOrMore>
16914                 </group>   17285                 </group>
16915                 <group>   17286                 <group>
16916                         <attribute name="office:value-type">   17287                         <attribute name="office:value-type">
16917                                 <value>currency</value>   17288                                 <value>currency</value>
16918                         </attribute>   17289                         </attribute>
16919                         <zeroOrMore>   17290                         <zeroOrMore>
16920                                 <element name="form:list-value">   17291                                 <element name="form:list-value">
16921                                         <attribute name="office:value">   17292                                         <attribute name="office:value">
16922                                                 <ref name="double"/>   17293                                                 <ref name="double"/>
16923                                         </attribute>   17294                                         </attribute>
16924                                         <optional>   17295                                         <optional>
16925                                                 <attribute name="office:currency">   17296                                                 <attribute name="office:currency">
16926                                                         <ref name="string"/>   17297                                                         <ref name="string"/>
16927                                                 </attribute>   17298                                                 </attribute>
16928                                         </optional>   17299                                         </optional>
16929                                 </element>   17300                                 </element>
16930                         </zeroOrMore>   17301                         </zeroOrMore>
16931                 </group>   17302                 </group>
16932                 <group>   17303                 <group>
16933                         <attribute name="office:value-type">   17304                         <attribute name="office:value-type">
16934                                 <value>date</value>   17305                                 <value>date</value>
16935                         </attribute>   17306                         </attribute>
16936                         <zeroOrMore>   17307                         <zeroOrMore>
16937                                 <element name="form:list-value">   17308                                 <element name="form:list-value">
16938                                         <attribute name="office:date-value">   17309                                         <attribute name="office:date-value">
16939                                                 <ref name="dateOrDateTime"/>   17310                                                 <ref name="dateOrDateTime"/>
16940                                         </attribute>   17311                                         </attribute>
16941                                 </element>   17312                                 </element>
16942                         </zeroOrMore>   17313                         </zeroOrMore>
16943                 </group>   17314                 </group>
16944                 <group>   17315                 <group>
16945                         <attribute name="office:value-type">   17316                         <attribute name="office:value-type">
16946                                 <value>time</value>   17317                                 <value>time</value>
16947                         </attribute>   17318                         </attribute>
16948                         <zeroOrMore>   17319                         <zeroOrMore>
16949                                 <element name="form:list-value">   17320                                 <element name="form:list-value">
16950                                         <attribute name="office:time-value">   17321                                         <attribute name="office:time-value">
16951                                                 <ref name="duration"/>   17322                                                 <ref name="duration"/>
16952                                         </attribute>   17323                                         </attribute>
16953                                 </element>   17324                                 </element>
16954                         </zeroOrMore>   17325                         </zeroOrMore>
16955                 </group>   17326                 </group>
16956                 <group>   17327                 <group>
16957                         <attribute name="office:value-type">   17328                         <attribute name="office:value-type">
16958                                 <value>boolean</value>   17329                                 <value>boolean</value>
16959                         </attribute>   17330                         </attribute>
16960                         <zeroOrMore>   17331                         <zeroOrMore>
16961                                 <element name="form:list-value">   17332                                 <element name="form:list-value">
16962                                         <attribute name="office:boolean-value">   17333                                         <attribute name="office:boolean-value">
16963                                                 <ref name="boolean"/>   17334                                                 <ref name="boolean"/>
16964                                         </attribute>   17335                                         </attribute>
16965                                 </element>   17336                                 </element>
16966                         </zeroOrMore>   17337                         </zeroOrMore>
16967                 </group>   17338                 </group>
16968                 <group>   17339                 <group>
16969                         <attribute name="office:value-type">   17340                         <attribute name="office:value-type">
16970                                 <value>string</value>   17341                                 <value>string</value>
16971                         </attribute>   17342                         </attribute>
16972                         <zeroOrMore>   17343                         <zeroOrMore>
16973                                 <element name="form:list-value">   17344                                 <element name="form:list-value">
16974                                         <attribute name="office:string-value">   17345                                         <attribute name="office:string-value">
16975                                                 <ref name="string"/>   17346                                                 <ref name="string"/>
16976                                         </attribute>   17347                                         </attribute>
16977                                 </element>   17348                                 </element>
16978                         </zeroOrMore>   17349                         </zeroOrMore>
16979                 </group>   17350                 </group>
16980                 <attribute name="office:value-type">   17351                 <attribute name="office:value-type">
16981                         <value>void</value>   17352                         <value>void</value>
16982                 </attribute>   17353                 </attribute>
16983         </choice>   17354         </choice>
16984 </define>   17355 </define>
16985 Example: Form properties   17356 Example: Form properties
16986 The following contains a string property “Name” with value “Name 1”, and a string list property “Items” containing the strings “Item 1”, “Item 2”, “Item 3”.   17357 The following contains a string property “Name” with value “Name 1”, and a string list property “Items” containing the strings “Item 1”, “Item 2”, “Item 3”.
16987 <form:properties>   17358 <form:properties>
16988         <form:property form:property-name="Name"   17359         <form:property form:property-name="Name"
16989                                         office:value-type="string"   17360                                         office:value-type="string"
16990                                         office:string-value="Name 1">   17361                                         office:string-value="Name 1">
16991         <form:list-property form:property-name="Items"   17362         <form:list-property form:property-name="Items"
16992                                         office:value-type="string" >   17363                                         office:value-type="string" >
16993                 <form:list-value office:string-value="Item 1"/>   17364                 <form:list-value office:string-value="Item 1"/>
16994                 <form:list-value office:string-value="Item 2"/>   17365                 <form:list-value office:string-value="Item 2"/>
16995                 <form:list-value office:string-value="Item 3"/>   17366                 <form:list-value office:string-value="Item 3"/>
16996         </form:list-property>   17367         </form:list-property>
16997 </form:properties>   17368 </form:properties>
16998 12Common Content   17369 12Common Content
16999 12.1Annotation   17370 12.1Annotation
17000 The <office:annotation> element specifies an OpenDocument annotation. The annotation's text is contained in <text:p> and <text:list> elements.   17371 The <office:annotation> element specifies an OpenDocument annotation. The annotation's text is contained in <text:p> and <text:list> elements.
17001 <define name="office-annotation">   17372 <define name="office-annotation">
17002         <element name="office:annotation">   17373         <element name="office:annotation">
17003                 <ref name="office-annotation-attlist"/>   17374                 <ref name="office-annotation-attlist"/>
17004                 <ref name="draw-caption-attlist"/>   17375                 <ref name="draw-caption-attlist"/>
17005                 <ref name="common-draw-position-attlist"/>   17376                 <ref name="common-draw-position-attlist"/>
17006                 <ref name="common-draw-size-attlist"/>   17377                 <ref name="common-draw-size-attlist"/>
17007                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>   17378                 <ref name="common-draw-shape-with-text-and-styles-attlist"/>
17008                 <optional>   17379                 <optional>
17009                         <ref name="dc-creator"/>   17380                         <ref name="dc-creator"/>
17010                 </optional>   17381                 </optional>
17011                 <optional>   17382                 <optional>
17012                         <ref name="dc-date"/>   17383                         <ref name="dc-date"/>
17013                 </optional>   17384                 </optional>
17014                 <optional>   17385                 <optional>
17015                         <ref name="meta-date-string"/>   17386                         <ref name="meta-date-string"/>
17016                 </optional>   17387                 </optional>
17017                 <zeroOrMore>   17388                 <zeroOrMore>
17018                         <choice>   17389                         <choice>
17019                                 <ref name="text-p"/>   17390                                 <ref name="text-p"/>
17020                                 <ref name="text-list"/>   17391                                 <ref name="text-list"/>
17021                         </choice>   17392                         </choice>
17022                 </zeroOrMore>   17393                 </zeroOrMore>
17023         </element>   17394         </element>
17024 </define>   17395 </define>
17025 The attributes associated with the <office:annotation> element are:   17396 The attributes associated with the <office:annotation> element are:
17026 Display   17397 Display
17027 Position, size, style, layer, z-index, id, and transformation (see section 9.2.15)   17398 Position, size, style, layer, z-index, id, and transformation (see section 9.2.15)
17028 Text anchor, table background, draw end position (see section 9.2.16)   17399 Text anchor, table background, draw end position (see section 9.2.16)
17029 Caption point, round corners (see section 9.2.10)   17400 Caption point, round corners (see section 9.2.10)
17030 Display   17401 Display
17031 The office:display attribute specifies whether or not the annotation is visible.   17402 The office:display attribute specifies whether or not the annotation is visible.
17032 <define name="office-annotation-attlist" combine="interleave">   17403 <define name="office-annotation-attlist" combine="interleave">
17033         <optional>   17404         <optional>
17034                 <attribute name="office:display">   17405                 <attribute name="office:display">
17035                         <ref name="boolean"/>   17406                         <ref name="boolean"/>
17036                 </attribute>   17407                 </attribute>
17037         </optional>   17408         </optional>
17038 </define>   17409 </define>
17039 Caption Attributes   17410 Caption Attributes
17040 The following attributes can be attached to the <office:annotation> element to influence how it is displayed: svg:x, svg:y, svg:width, svg:height, draw:caption-point-x, draw:caption-point-y, draw:corner-radius, table:end-cell-address, table:end-x, table:end-y, text:anchor-type, text:anchor-page-number, draw:layer, draw:style-name, draw:text-style-name, draw:transform, draw:name,  draw:z-index and draw:id. Their meaning is the same as if they are applied to a <draw:caption> element (see section 9.2.10). The use of these attributes is optional.   17411 The following attributes can be attached to the <office:annotation> element to influence how it is displayed: svg:x, svg:y, svg:width, svg:height, draw:caption-point-x, draw:caption-point-y, draw:corner-radius, table:end-cell-address, table:end-x, table:end-y, text:anchor-type, text:anchor-page-number, draw:layer, draw:style-name, draw:text-style-name, draw:transform, draw:name,  draw:z-index and draw:id. Their meaning is the same as if they are applied to a <draw:caption> element (see section 9.2.10). The use of these attributes is optional.
17041 12.1.1Creator   17412 12.1.1Creator
17042 The optional <dc:creator> element described in section 3.1.7 specifies the author of the annotation.   17413 The optional <dc:creator> element described in section 3.1.7 specifies the author of the annotation.
17043 12.1.2Creation Date and Time   17414 12.1.2Creation Date and Time
17044 The optional <dc:date> element described in section 3.1.9 specifies the creation date and time of the annotation.   17415 The optional <dc:date> element described in section 3.1.9 specifies the creation date and time of the annotation.
17045 12.1.3Creation Date and Time String   17416 12.1.3Creation Date and Time String
17046 If the application only has a date string and cannot parse this string, it may write the string into the <meta:date-string> element.   17417 If the application only has a date string and cannot parse this string, it may write the string into the <meta:date-string> element.
17047 <define name="meta-date-string">   17418 <define name="meta-date-string">
17048         <element name="meta:date-string">   17419         <element name="meta:date-string">
17049                 <ref name="string"/>   17420                 <ref name="string"/>
17050         </element>   17421         </element>
17051 </define>   17422 </define>
17052 12.2Number Format   17423 12.2Number Format
17053 The OpenDocument number format consists of three parts:   17424 The OpenDocument number format consists of three parts:
17054 Prefix – the text that is displayed before the number   17425 Prefix – the text that is displayed before the number
17055 Display format specification, for example, A, B, C, or 1, 2, 3   17426 Display format specification, for example, A, B, C, or 1, 2, 3
17056 Suffix – the text that is displayed after the number   17427 Suffix – the text that is displayed after the number
17057 12.2.1Prefix and Suffix   17428 12.2.1Prefix and Suffix
17058 The style:num-prefix and style:num-suffix attributes specify what to display before and after the number.   17429 The style:num-prefix and style:num-suffix attributes specify what to display before and after the number.
17059 If the prefix and suffix do not contain alphanumeric characters, an [XSLT] format attribute can be created from the OpenDocument attributes by concatenating the values of the style:num-prefix, style:num-format, and style:num-suffix attributes.   17430 If the prefix and suffix do not contain alphanumeric characters, an [XSLT] format attribute can be created from the OpenDocument attributes by concatenating the values of the style:num-prefix, style:num-format, and style:num-suffix attributes.
17060 <define name="common-num-format-prefix-suffix-attlist" combine="interleave">   17431 <define name="common-num-format-prefix-suffix-attlist" combine="interleave">
17061         <optional>   17432         <optional>
17062                 <attribute name="style:num-prefix">   17433                 <attribute name="style:num-prefix">
17063                         <ref name="string"/>   17434                         <ref name="string"/>
17064                 </attribute>   17435                 </attribute>
17065         </optional>   17436         </optional>
17066         <optional>   17437         <optional>
17067                 <attribute name="style:num-suffix">   17438                 <attribute name="style:num-suffix">
17068                         <ref name="string"/>   17439                         <ref name="string"/>
17069                 </attribute>   17440                 </attribute>
17070         </optional>   17441         </optional>
17071 </define>   17442 </define>
17072 12.2.2Format Specification   17443 12.2.2Format Specification
17073 The style:num-format attribute specifies the format of the number in the same way as the [XSLT] format attribute. The number styles supported are as follows:   17444 The style:num-format attribute specifies the format of the number in the same way as the [XSLT] format attribute. The number styles supported are as follows:
17074 Numeric: 1, 2, 3, ...   17445 Numeric: 1, 2, 3, ...
17075 Alphabetic: a, b, c, ... or A, B, C, ...   17446 Alphabetic: a, b, c, ... or A, B, C, ...
17076 Roman: i, ii, iii, iv, ... or I, II, III, IV,...   17447 Roman: i, ii, iii, iv, ... or I, II, III, IV,...
17077 The value of this attribute can be "1", "a", "A", "i", or "I". For some elements, the attribute value also can be empty. In this case, no number is displayed.   17448 The value of this attribute can be "1", "a", "A", "i", or "I". For some elements, the attribute value also can be empty. In this case, no number is displayed.
17078 <define name="common-num-format-attlist" combine="interleave">   17449 <define name="common-num-format-attlist" combine="interleave">
17079         <choice>   17450         <choice>
17080                 <attribute name="style:num-format">   17451                 <attribute name="style:num-format">
17081                         <choice>   17452                         <choice>
17082                                 <value>1</value>   17453                                 <value>1</value>
17083                                 <value>i</value>   17454                                 <value>i</value>
17084                                 <value>I</value>   17455                                 <value>I</value>
17085                                 <ref name="string"/>   17456                                 <ref name="string"/>
17086                                 <empty/>   17457                                 <empty/>
17087                         </choice>   17458                         </choice>
17088                 </attribute>   17459                 </attribute>
17089                 <group>   17460                 <group>
17090                         <attribute name="style:num-format">   17461                         <attribute name="style:num-format">
17091                                 <choice>   17462                                 <choice>
17092                                         <value>a</value>   17463                                         <value>a</value>
17093                                         <value>A</value>   17464                                         <value>A</value>
17094                                 </choice>   17465                                 </choice>
17095                         </attribute>   17466                         </attribute>
17096                         <ref name="style-num-letter-sync-attlist"/>   17467                         <ref name="style-num-letter-sync-attlist"/>
17097                 </group>   17468                 </group>
17098                 <empty/>   17469                 <empty/>
17099         </choice>   17470         </choice>
17100 </define>   17471 </define>
17101 12.2.3Letter Synchronization in Number Formats   17472 12.2.3Letter Synchronization in Number Formats
17102 If letters are used in alphabetical order for numbering, there are two ways to process overflows within a digit, as follows:   17473 If letters are used in alphabetical order for numbering, there are two ways to process overflows within a digit, as follows:
17103 A new digit is inserted. Its start value is A, and it is incremented every time an overflow occurs in the following digit. The numbering sequence in this case is something like a,b,c, ..., z, aa, ab, ac, ...,az, ba, ..., and so on.   17474 A new digit is inserted. Its start value is A, and it is incremented every time an overflow occurs in the following digit. The numbering sequence in this case is something like a,b,c, ..., z, aa, ab, ac, ...,az, ba, ..., and so on.
17104 A new digit is inserted that always has the same value as the following digit. The numbering sequence in this case is something like a, b, c, ..., z, aa, bb, cc, ..., zz, aaa, ..., and so on. This is called letter synchronization.   17475 A new digit is inserted that always has the same value as the following digit. The numbering sequence in this case is something like a, b, c, ..., z, aa, bb, cc, ..., zz, aaa, ..., and so on. This is called letter synchronization.
17105 The style:num-letter-sync specifies whether letter synchronization shall take place.   17476 The style:num-letter-sync specifies whether letter synchronization shall take place.
17106 <define name="style-num-letter-sync-attlist" combine="interleave">   17477 <define name="style-num-letter-sync-attlist" combine="interleave">
17107         <optional>   17478         <optional>
17108                 <attribute name="style:num-letter-sync">   17479                 <attribute name="style:num-letter-sync">
17109                         <ref name="boolean"/>   17480                         <ref name="boolean"/>
17110                 </attribute>   17481                 </attribute>
17111         </optional>   17482         </optional>
17112 </define>   17483 </define>
17113 12.3Change Tracking Metadata   17484 12.3Change Tracking Metadata
17114 Meta-data for change tracking is contained inside an <office:change-info> element. It contains the author and creation date of a tracked change, as well as an optional comment.   17485 Meta-data for change tracking is contained inside an <office:change-info> element. It contains the author and creation date of a tracked change, as well as an optional comment.
17115 <define name="office-change-info">   17486 <define name="office-change-info">
17116         <element name="office:change-info">   17487         <element name="office:change-info">
17117                 <ref name="dc-creator"/>   17488                 <ref name="dc-creator"/>
17118                 <ref name="dc-date"/>   17489                 <ref name="dc-date"/>
17119                 <zeroOrMore>   17490                 <zeroOrMore>
17120                         <ref name="text-p"/>   17491                         <ref name="text-p"/>
17121                 </zeroOrMore>   17492                 </zeroOrMore>
17122         </element>   17493         </element>
17123 </define>   17494 </define>
17124 Creator   17495 Creator
17125 The <dc:creator> element as described in section 3.1.7 specifies the name of the author who changed the document.   17496 The <dc:creator> element as described in section 3.1.7 specifies the name of the author who changed the document.
17126 Date and Time   17497 Date and Time
17127 The <dc:date> element as described in section 3.1.9 specifies the date and time when the change took place.   17498 The <dc:date> element as described in section 3.1.9 specifies the date and time when the change took place.
17128 Comment   17499 Comment
17129 An additional comment may be included as <text:p> elements.   17500 An additional comment may be included as <text:p> elements.
17130 12.4Event Listener Tables   17501 12.4Event Listener Tables
17131 Many objects such as controls, images, text boxes, or an entire document support events. An event binds the occurrence of a particular condition to an action that is executed if the condition arises. For example, if a user places the cursor over a graphic, this condition triggers an action that is supported by the office application. This event, called "on-mouse-over", can be associated with a macro that is executed whenever the condition occurs, that is, whenever a user places the cursor over a graphic.   17502 Many objects such as controls, images, text boxes, or an entire document support events. An event binds the occurrence of a particular condition to an action that is executed if the condition arises. For example, if a user places the cursor over a graphic, this condition triggers an action that is supported by the office application. This event, called "on-mouse-over", can be associated with a macro that is executed whenever the condition occurs, that is, whenever a user places the cursor over a graphic.
17132 The XML representation of events and event tables is structured as follows:   17503 The XML representation of events and event tables is structured as follows:
17133 All of the event elements that are associated with an object are located in a container element called <office:event-listeners>.   17504 All of the event elements that are associated with an object are located in a container element called <office:event-listeners>.
17134 Each event-to-action association is recorded in one <script:event-listener> element.   17505 Each event-to-action association is recorded in one <script:event-listener> element.
17135 Depending on the type of action that the event triggers, the following elements are used:   17506 Depending on the type of action that the event triggers, the following elements are used:
17136 The <script:event-listener> element represents events that are bound to a macro or script.   17507 The <script:event-listener> element represents events that are bound to a macro or script.
17137 The <presentation:event-listener> element represents events that are bound to an action that is specific to a presentation, for example, go to the next page. Presentation events are described in section .   17508 The <presentation:event-listener> element represents events that are bound to an action that is specific to a presentation, for example, go to the next page. Presentation events are described in section .
17138 The <office:event-listeners> element specifies the table of events that are associated with an object.   17509 The <office:event-listeners> element specifies the table of events that are associated with an object.
17139 <define name="office-event-listeners">   17510 <define name="office-event-listeners">
17140         <element name="office:event-listeners">   17511         <element name="office:event-listeners">
17141                 <zeroOrMore>   17512                 <zeroOrMore>
17142                         <choice>   17513                         <choice>
17143                                 <ref name="script-event-listener"/>   17514                                 <ref name="script-event-listener"/>
17144                                 <ref name="presentation-event-listener"/>   17515                                 <ref name="presentation-event-listener"/>
17145                         </choice>   17516                         </choice>
17146                 </zeroOrMore>   17517                 </zeroOrMore>
17147         </element>   17518         </element>
17148 </define>   17519 </define>
17149 12.4.1Event Listener   17520 12.4.1Event Listener
17150 The <script:event-listener> element binds an event to a macro.   17521 The <script:event-listener> element binds an event to a macro.
17151 <define name="script-event-listener" combine="interleave">   17522 <define name="script-event-listener" combine="interleave">
17152         <element name="script:event-listener">   17523         <element name="script:event-listener">
17153                 <ref name="script-event-listener-attlist"/>   17524                 <ref name="script-event-listener-attlist"/>
17154                 <empty/>   17525                 <empty/>
17155         </element>   17526         </element>
17156 </define>   17527 </define>
17157 The attributes that may be associated with the <script:event-listener> element are:   17528 The attributes that may be associated with the <script:event-listener> element are:
17158 Event name   17529 Event name
17159 Script language   17530 Script language
17160 Macro Name and Location   17531 Macro Name and Location
17161 Event Name   17532 Event Name
17162 The script:event-name attribute specifies the name of the event. Since the available events, their names and their meanings are application and script language dependent, the name should be preceded by a namespace prefix, so that the corresponding namespace together with the event name can be used to identify the semantic of the event. For events that are specified in the DOM event model, it is recommended to use the event names described in §1.4.2 of [DOMEvents]. The corresponding namespace is  "http://www.w3.org/2001/xml-events" . <> 17533 The script:event-name attribute specifies the name of the event. Since the available events, their names and their meanings are application and script language dependent, the name should be preceded by a namespace prefix, so that the corresponding namespace together with the event name can be used to identify the semantic of the event.
      17534 Where appropriate, it is recommended to use the event names described in [DOMEvents2]. The corresponding namespace is "http://www.w3.org/2001/xml-events".
      17535 Note: Event names defined in [DOMEvents2] are not namespaced. If used in OpenDocument, they should be preceded by a namespace prefix as described above. [DOMEvents3], which is a work in progress, specifies namespaced event names. After completion of this specification, it is recommended to use event names as specified in [DOMEvents3].
      17536 The following table describes events defined in [DOMEvents2] that are typically supported by office application and have an equivalent event in HTML. The namespace that should be used for these events is “http://www.w3.org/2001/xml-events”. The namespace prefix used in this specification is “dom”.
      17537 Value of script:event-name Attribute
      17538 Equivalent HTML Event
      17539 Description of Event
      17540 dom:change
      17541 onchange
      17542 Occurs when a control is no longer focused and the value of the control was modified since it was given focus.
      17543 dom:DOMFocusIn
      17544 onfocus
      17545 Occurs when a control is given focus using the mouse or the TAB key.
      17546 dom:DOMFocusOut
      17547 onblur
      17548 Occurs when a control is no longer focused as a result of moving the mouse or by tabbing navigation. It may be used with the same elements as form:on-focus.
      17549 dom:mouseover
      17550 onmouseover
      17551 Occurs when the mouse pointer is moved over the control.
      17552 dom:mousemove
      17553 onmousemove
      17554 Occurs when the mouse pointer is moved onto a control.
      17555 dom:mousedown
      17556 onmousedown
      17557 Occurs when a mouse button is pressed  on a control.
      17558 dom:mouseup
      17559 onmouseup
      17560 Occurs when a mouse button is released  on a control.
      17561 on-mouseout
      17562 onmouseout
      17563 Occurs when the mouse pointer is moved away from a control.
      17564 dom:reset
      17565 onreset
      17566 Occurs when a form is reset.
      17567 dom:submit
      17568 onsubmit
      17569 Occurs when a form is submitted.
      17570 12.4.2Event Types
      17571 In addition to the HTML event types, the XML file format for office applications allows additional events to be handled at run time.
17163 <define name="script-event-listener-attlist" combine="interleave"> = 17572 <define name="script-event-listener-attlist" combine="interleave">
17164         <attribute name="script:event-name">   17573         <attribute name="script:event-name">
17165                 <ref name="string"/>   17574                 <ref name="string"/>
17166         </attribute>   17575         </attribute>
17167 </define>   17576 </define>
17168 Script Language   17577 Script Language
17169 The script:language attribute specifies the scripting language in which the macro or script which is associated with the event is written. See also section 2.5.1.   17578 The script:language attribute specifies the scripting language in which the macro or script which is associated with the event is written. See also section 2.5.1.
17170 <define name="script-event-listener-attlist" combine="interleave">   17579 <define name="script-event-listener-attlist" combine="interleave">
17171         <attribute name="script:language">   17580         <attribute name="script:language">
17172                 <ref name="string"/>   17581                 <ref name="string"/>
17173         </attribute>   17582         </attribute>
17174 </define>   17583 </define>
17175 Macro Name and Location   17584 Macro Name and Location
17176 The macro code that should be called for the event can be either specified by an IRI in [XLink] notation, or a simple name specified by a script:macro-name attribute. If an XLink is used, the IRI may have an arbitrary protocol, for instance one that encodes the name of a macro library name together with macro name defined in this library. Both, the XLink IRI as well as a simple name, are script language dependent.   17585 The macro code that should be called for the event can be either specified by an IRI in [XLink] notation, or a simple name specified by a script:macro-name attribute. If an XLink is used, the IRI may have an arbitrary protocol, for instance one that encodes the name of a macro library name together with macro name defined in this library. Both, the XLink IRI as well as a simple name, are script language dependent.
17177 <define name="script-event-listener-attlist" combine="interleave">   17586 <define name="script-event-listener-attlist" combine="interleave">
17178         <choice>   17587         <choice>
17179                 <attribute name="script:macro-name">   17588                 <attribute name="script:macro-name">
17180                         <ref name="string"/>   17589                         <ref name="string"/>
17181                 </attribute>   17590                 </attribute>
17182                 <group>   17591                 <group>
17183                         <attribute name="xlink:href">   17592                         <attribute name="xlink:href">
17184                                 <ref name="anyURI"/>   17593                                 <ref name="anyURI"/>
17185                         </attribute>   17594                         </attribute>
17186                         <optional>   17595                         <optional>
17187                                 <attribute name="xlink:type" a:defaultValue="simple">   17596                                 <attribute name="xlink:type" a:defaultValue="simple">
17188                                         <value>simple</value>   17597                                         <value>simple</value>
17189                                 </attribute>   17598                                 </attribute>
17190                         </optional>   17599                         </optional>
17191                         <optional>   17600                         <optional>
17192                                 <attribute name="xlink:actuate" a:defaultValue="onRequest">   17601                                 <attribute name="xlink:actuate" a:defaultValue="onRequest">
17193                                         <value>onRequest</value>   17602                                         <value>onRequest</value>
17194                                 </attribute>   17603                                 </attribute>
17195                         </optional>   17604                         </optional>
17196                 </group>   17605                 </group>
17197         </choice>   17606         </choice>
17198 </define>   17607 </define>
17199 12.5Mathematical Content   17608 12.5Mathematical Content
17200 Mathematical content is represented by MathML 2.0 (see [MathML])   17609 Mathematical content is represented by MathML 2.0 (see [MathML])
17201 <define name="math-math">   17610 <define name="math-math">
17202         <element name="math:math">   17611         <element name="math:math">
17203                 <ref name="mathMarkup"/>   17612                 <ref name="mathMarkup"/>
17204         </element>   17613         </element>
17205 </define>   17614 </define>
17206     17615  
17207 <!-- To avoid inclusion of the complete MathML schema, anything -->   17616 <!-- To avoid inclusion of the complete MathML schema, anything -->
17208 <!-- is allowed within a math:math top-level element            -->   17617 <!-- is allowed within a math:math top-level element            -->
17209 <define name="mathMarkup">   17618 <define name="mathMarkup">
17210         <zeroOrMore>   17619         <zeroOrMore>
17211                 <choice>   17620                 <choice>
17212                         <attribute>   17621                         <attribute>
17213                                 <anyName/>   17622                                 <anyName/>
17214                         </attribute>   17623                         </attribute>
17215                         <text/>   17624                         <text/>
17216                         <element>   17625                         <element>
17217                                 <anyName/>   17626                                 <anyName/>
17218                                 <ref name="mathMarkup"/>   17627                                 <ref name="mathMarkup"/>
17219                         </element>   17628                         </element>
17220                 </choice>   17629                 </choice>
17221         </zeroOrMore>   17630         </zeroOrMore>
17222 </define>   17631 </define>
17223 12.6DDE Connections   17632 12.6DDE Connections
17224 A Dynamic Data Exchange (DDE) connection consists of the parameters for the DDE target application, a file name, and a command string. A DDE connection also takes a parameter that specifies whether it will be updated automatically or only on the user's request. Every DDE connection must be named.   17633 A Dynamic Data Exchange (DDE) connection consists of the parameters for the DDE target application, a file name, and a command string. A DDE connection also takes a parameter that specifies whether it will be updated automatically or only on the user's request. Every DDE connection must be named.
17225 All elements making use of DDE connections must contain their content (or its presentation), so that documents using DDE can still be properly displayed on machines which do not support the DDE mechanism, or where the DDE target is not available. Applications should preserve the DDE connection information even if they cannot make use of it, so that other applications can make use the DDE facilities.   17634 All elements making use of DDE connections must contain their content (or its presentation), so that documents using DDE can still be properly displayed on machines which do not support the DDE mechanism, or where the DDE target is not available. Applications should preserve the DDE connection information even if they cannot make use of it, so that other applications can make use the DDE facilities.
    -+ 17635 DDE only is available on some operating systems. In order to create portable documents, authors are advised to use this feature in their documents with great care.
17226 12.6.1Container for DDE Connection Declarations = 17636 12.6.1Container for DDE Connection Declarations
17227 Within text and spreadsheet documents, DDE connection declarations are contained in one declaration element. For text documents, the element is <text:dde-connection-decls> as described in section 4.7. For spreadsheet documents, it is <table:dde-links> as described in section 8.10. <> 17637 Within text and spreadsheet documents, DDE connection declarations are contained in one declaration element. For text documents, the element is <text:dde-connection-decls> as described in section 4.8. For spreadsheet documents, it is <table:dde-links> as described in section 8.10.
17228 12.6.2Declaring DDE Connections for Text Fields = 17638 12.6.2Declaring DDE Connections for Text Fields
17229 Every DDE connection used by a text field is declared using a declaration element. Multiple DDE fields can refer to one DDE connection by using the same name. The declaration element has no content.   17639 Every DDE connection used by a text field is declared using a declaration element. Multiple DDE fields can refer to one DDE connection by using the same name. The declaration element has no content.
17230 <define name="text-dde-connection-decl">   17640 <define name="text-dde-connection-decl">
17231         <element name="text:dde-connection-decl">   17641         <element name="text:dde-connection-decl">
17232                 <ref name="text-dde-connection-decl-attlist"/>   17642                 <ref name="text-dde-connection-decl-attlist"/>
17233                 <ref name="common-dde-connection-decl-attlist"/>   17643                 <ref name="common-dde-connection-decl-attlist"/>
17234         </element>   17644         </element>
17235 </define>   17645 </define>
17236 The attributes that may be associated with the <text:dde-connection-decl> element are:   17646 The attributes that may be associated with the <text:dde-connection-decl> element are:
17237 Connection name   17647 Connection name
17238 DDE target application   17648 DDE target application
17239 DDE target topic   17649 DDE target topic
17240 DDE target item   17650 DDE target item
17241 Automatic update flag   17651 Automatic update flag
17242 Connection Name   17652 Connection Name
17243 The office:name attribute specifies the name by which the connection will be referred.   17653 The office:name attribute specifies the name by which the connection will be referred.
17244 <define name="text-dde-connection-decl-attlist" combine="interleave">   17654 <define name="text-dde-connection-decl-attlist" combine="interleave">
17245         <attribute name="office:name">   17655         <attribute name="office:name">
17246                 <ref name="string"/>   17656                 <ref name="string"/>
17247         </attribute>   17657         </attribute>
17248 </define>   17658 </define>
17249 Target Application   17659 Target Application
17250 The office:dde-application attribute specifies the name of the target application to use for the DDE connection.   17660 The office:dde-application attribute specifies the name of the target application to use for the DDE connection.
17251 <define name="common-dde-connection-decl-attlist" combine="interleave">   17661 <define name="common-dde-connection-decl-attlist" combine="interleave">
17252         <attribute name="office:dde-application">   17662         <attribute name="office:dde-application">
17253                 <ref name="string"/>   17663                 <ref name="string"/>
17254         </attribute>   17664         </attribute>
17255 </define>   17665 </define>
17256 Example: The target name for the OpenOffice.org software is soffice. Therefore, internal DDE links have the attribute text:dde-application="soffice".   17666 Example: The target name for the OpenOffice.org software is soffice. Therefore, internal DDE links have the attribute text:dde-application="soffice".
17257 Target Topic   17667 Target Topic
17258 The office:dde-topic attribute specifies the name of the topic to use for the DDE connection.   17668 The office:dde-topic attribute specifies the name of the topic to use for the DDE connection.
17259 <define name="common-dde-connection-decl-attlist" combine="interleave">   17669 <define name="common-dde-connection-decl-attlist" combine="interleave">
17260         <attribute name="office:dde-topic">   17670         <attribute name="office:dde-topic">
17261                 <ref name="string"/>   17671                 <ref name="string"/>
17262         </attribute>   17672         </attribute>
17263 </define>   17673 </define>
17264 Example: The OpenOffice.org software interprets the DDE topic as the name of the file.   17674 Example: The OpenOffice.org software interprets the DDE topic as the name of the file.
17265 Target Item   17675 Target Item
17266 The office:dde-item attribute specifies which information the target application should deliver.   17676 The office:dde-item attribute specifies which information the target application should deliver.
17267 <define name="common-dde-connection-decl-attlist" combine="interleave">   17677 <define name="common-dde-connection-decl-attlist" combine="interleave">
17268         <attribute name="office:dde-item">   17678         <attribute name="office:dde-item">
17269                 <ref name="string"/>   17679                 <ref name="string"/>
17270         </attribute>   17680         </attribute>
17271 </define>   17681 </define>
17272 Example: If the target application for the DDE connection is the OpenOffice.org Writer software, the item represents the name of a bookmark. OpenOffice.org delivers the current text content to the requesting application.   17682 Example: If the target application for the DDE connection is the OpenOffice.org Writer software, the item represents the name of a bookmark. OpenOffice.org delivers the current text content to the requesting application.
17273 Automatic Update   17683 Automatic Update
17274 Office applications by default automatically update DDE links. If a manual update of the link is preferred, the text:automatic-update attribute my be used to specify that the DDE connection links should only be updated at the request of the user.   17684 Office applications by default automatically update DDE links. If a manual update of the link is preferred, the text:automatic-update attribute my be used to specify that the DDE connection links should only be updated at the request of the user.
17275 If the value of this attribute is true, then the application is expected to automatically update the DDE links. If this value of this attribute is false, the DDE links are updated on user request only.   17685 If the value of this attribute is true, then the application is expected to automatically update the DDE links. If this value of this attribute is false, the DDE links are updated on user request only.
17276 <define name="common-dde-connection-decl-attlist" combine="interleave">   17686 <define name="common-dde-connection-decl-attlist" combine="interleave">
17277         <optional>   17687         <optional>
17278                 <attribute name="office:automatic-update" a:defaultValue="true">   17688                 <attribute name="office:automatic-update" a:defaultValue="true">
17279                         <ref name="boolean"/>   17689                         <ref name="boolean"/>
17280                 </attribute>   17690                 </attribute>
17281         </optional>   17691         </optional>
17282 </define>   17692 </define>
17283 12.6.3Declaring DDE Connections for Tables   17693 12.6.3Declaring DDE Connections for Tables
17284 The DDE connection data of tables is contained in an <office:dde-source> element. The usage of this element differs between spreadsheet and text document tables. For text document tables, the element is contained within the table's <table:table> element directly. For spreadsheet documents, it is contained in a <table:dde-link> element, that describes a single DDE connection.   17694 The DDE connection data of tables is contained in an <office:dde-source> element. The usage of this element differs between spreadsheet and text document tables. For text document tables, the element is contained within the table's <table:table> element directly. For spreadsheet documents, it is contained in a <table:dde-link> element, that describes a single DDE connection.
17285 The <table:dde-link> element contains the DDE source data in the <office:dde-source> element and a simple table element that might be used to cache the data of the DDE source. The table does not need a name and does not contain style information. Only the data contained in the cell attributes is used. The cells themselves remain empty.   17695 The <table:dde-link> element contains the DDE source data in the <office:dde-source> element and a simple table element that might be used to cache the data of the DDE source. The table does not need a name and does not contain style information. Only the data contained in the cell attributes is used. The cells themselves remain empty.
17286 <define name="table-dde-link">   17696 <define name="table-dde-link">
17287         <element name="table:dde-link">   17697         <element name="table:dde-link">
17288                 <ref name="office-dde-source"/>   17698                 <ref name="office-dde-source"/>
17289                 <ref name="table-table"/>   17699                 <ref name="table-table"/>
17290         </element>   17700         </element>
17291 </define>   17701 </define>
17292 The <office:dde-source> element supports office:dde-application, office:dde-topic, office:dde-item and office:automatic-update attributes as described in section 12.6.2. In addition to this, it supports the following attributes   17702 The <office:dde-source> element supports office:dde-application, office:dde-topic, office:dde-item and office:automatic-update attributes as described in section 12.6.2. In addition to this, it supports the following attributes
17293 Connection name   17703 Connection name
17294 Conversion mode   17704 Conversion mode
17295 <define name="office-dde-source">   17705 <define name="office-dde-source">
17296         <element name="office:dde-source">   17706         <element name="office:dde-source">
17297                 <ref name="office-dde-source-attlist"/>   17707                 <ref name="office-dde-source-attlist"/>
17298                 <ref name="common-dde-connection-decl-attlist"/>   17708                 <ref name="common-dde-connection-decl-attlist"/>
17299         </element>   17709         </element>
17300 </define>   17710 </define>
17301 Connection Name   17711 Connection Name
17302 The office:name attribute specifies the name by which the connection can be referred.   17712 The office:name attribute specifies the name by which the connection can be referred.
17303 <define name="office-dde-source-attlist" combine="interleave">   17713 <define name="office-dde-source-attlist" combine="interleave">
17304         <optional>   17714         <optional>
17305                 <attribute name="office:name">   17715                 <attribute name="office:name">
17306                         <ref name="string"/>   17716                         <ref name="string"/>
17307                 </attribute>   17717                 </attribute>
17308         </optional>   17718         </optional>
17309 </define>   17719 </define>
17310 Conversion Mode   17720 Conversion Mode
17311 The office:conversion-mode attribute specifies the method by which the DDE server converts its data into numbers. There are three possible values:   17721 The office:conversion-mode attribute specifies the method by which the DDE server converts its data into numbers. There are three possible values:
17312 into-default-style-data-style: Numbers are converted into the data style which is set on the default style.   17722 into-default-style-data-style: Numbers are converted into the data style which is set on the default style.
17313 into-english-number: numbers are converted into the English default format.   17723 into-english-number: numbers are converted into the English default format.
17314 keep-text: Numbers are not converted. They are treated as text.   17724 keep-text: Numbers are not converted. They are treated as text.
17315 <define name="office-dde-source-attlist" combine="interleave">   17725 <define name="office-dde-source-attlist" combine="interleave">
17316         <optional>   17726         <optional>
17317                 <attribute name="office:conversion-mode"   17727                 <attribute name="office:conversion-mode"
17318                                         a:defaultValue="into-default-style-data-style">   17728                                         a:defaultValue="into-default-style-data-style">
17319                         <choice>   17729                         <choice>
17320                                 <value>into-default-style-data-style</value>   17730                                 <value>into-default-style-data-style</value>
17321                                 <value>into-english-number</value>   17731                                 <value>into-english-number</value>
17322                                 <value>keep-text</value>   17732                                 <value>keep-text</value>
17323                         </choice>   17733                         </choice>
17324                 </attribute>   17734                 </attribute>
17325         </optional>   17735         </optional>
17326 </define>   17736 </define>
17327 13SMIL Animations   17737 13SMIL Animations
17328 This section describes [SMIL20] based elements and attribute that can be used within the OpenDocument format for animation effects.   17738 This section describes [SMIL20] based elements and attribute that can be used within the OpenDocument format for animation effects.
17329 13.1Basic Animation Elements   17739 13.1Basic Animation Elements
17330 The basic animation elements are directly derived from basic animation elements specified §3.5 and §12.5 of [SMIL20], and in section §19.2 of [SVG].   17740 The basic animation elements are directly derived from basic animation elements specified §3.5 and §12.5 of [SMIL20], and in section §19.2 of [SVG].
17331 13.1.1Animate   17741 13.1.1Animate
17332 The <anim:animate> element behaves like the [SMIL20] <smil:animate> element. See §3.5.1 of [SMIL20] for details.   17742 The <anim:animate> element behaves like the [SMIL20] <smil:animate> element. See §3.5.1 of [SMIL20] for details.
17333 <define name="animation-element" combine="choice">   17743 <define name="animation-element" combine="choice">
17334         <element name="anim:animate">   17744         <element name="anim:animate">
17335                 <ref name="common-anim-target-attlist"/>   17745                 <ref name="common-anim-target-attlist"/>
17336                 <ref name="common-anim-named-target-attlist"/>   17746                 <ref name="common-anim-named-target-attlist"/>
17337                 <ref name="common-anim-values-attlist"/>   17747                 <ref name="common-anim-values-attlist"/>
17338                 <ref name="common-anim-spline-mode-attlist"/>   17748                 <ref name="common-anim-spline-mode-attlist"/>
17339                 <ref name="common-spline-anim-value-attlist"/>   17749                 <ref name="common-spline-anim-value-attlist"/>
17340                 <ref name="common-repeat-timing-attlist"/> <>    
17341                 <ref name="common-fill-timing-attlist"/>   17750                 <ref name="common-timing-attlist"/>
17342                 <ref name="common-anim-add-accum-attlist"/> = 17751                 <ref name="common-anim-add-accum-attlist"/>
17343         </element>   17752         </element>
17344 </define>   17753 </define>
17345 13.1.2Set   17754 13.1.2Set
17346 The <anim:set> element behaves like the [SMIL20] <smil:set> element. See §3.5.2 of [SMIL20] for details.   17755 The <anim:set> element behaves like the [SMIL20] <smil:set> element. See §3.5.2 of [SMIL20] for details.
17347 <define name="animation-element" combine="choice">   17756 <define name="animation-element" combine="choice">
17348         <element name="anim:set">   17757         <element name="anim:set">
17349                 <ref name="common-anim-target-attlist"/>   17758                 <ref name="common-anim-target-attlist"/>
17350                 <ref name="common-anim-named-target-attlist"/>   17759                 <ref name="common-anim-named-target-attlist"/>
17351                 <ref name="common-anim-set-values-attlist"/>   17760                 <ref name="common-anim-set-values-attlist"/>
17352                 <ref name="common-fill-timing-attlist"/> <> 17761                 <ref name="common-timing-attlist"/>
17353                 <ref name="common-anim-add-accum-attlist"/> = 17762                 <ref name="common-anim-add-accum-attlist"/>
17354         </element>   17763         </element>
17355 </define>   17764 </define>
17356 13.1.3Animate Motion   17765 13.1.3Animate Motion
17357 The <anim:animateMotion> element behaves as the [SVG] <svg:animateMotion> element.  See §19.2.12 of [SVG] and §3.5.3 of [SMIL20] for details.   17766 The <anim:animateMotion> element behaves as the [SVG] <svg:animateMotion> element.  See §19.2.12 of [SVG] and §3.5.3 of [SMIL20] for details.
17358 <define name="animation-element" combine="choice">   17767 <define name="animation-element" combine="choice">
17359         <element name="anim:animateMotion">   17768         <element name="anim:animateMotion">
17360                 <ref name="anim-animate-motion-attlist"/>   17769                 <ref name="anim-animate-motion-attlist"/>
17361                 <ref name="common-anim-target-attlist"/>   17770                 <ref name="common-anim-target-attlist"/>
17362                 <ref name="common-anim-named-target-attlist"/>   17771                 <ref name="common-anim-named-target-attlist"/>
17363                 <ref name="common-anim-add-accum-attlist"/>   17772                 <ref name="common-anim-add-accum-attlist"/>
17364                 <ref name="common-anim-values-attlist"/>   17773                 <ref name="common-anim-values-attlist"/>
17365                 <ref name="common-fill-timing-attlist"/> <> 17774                 <ref name="common-timing-attlist"/>
17366                 <ref name="common-spline-anim-value-attlist"/> = 17775                 <ref name="common-spline-anim-value-attlist"/>
17367         </element>   17776         </element>
17368 </define>   17777 </define>
17369 The Motion Path   17778 The Motion Path
17370 The [SVG] svg:path attribute can be used to specify a path along which the element is animated. See §19.2.12 of [SVG] for details.   17779 The [SVG] svg:path attribute can be used to specify a path along which the element is animated. See §19.2.12 of [SVG] for details.
17371 <define name="anim-animate-motion-attlist" combine="interleave">   17780 <define name="anim-animate-motion-attlist" combine="interleave">
17372         <optional>   17781         <optional>
17373                 <attribute name="svg:path">   17782                 <attribute name="svg:path">
17374                         <ref name="pathData"/>   17783                         <ref name="pathData"/>
17375                 </attribute>   17784                 </attribute>
17376         </optional>   17785         </optional>
17377 </define>   17786 </define>
17378 Origin   17787 Origin
17379 The [SVG] svg:origin attribute can be used to specify an origin. See §19.2.12 of [SVG] for details.   17788 The [SVG] svg:origin attribute can be used to specify an origin. See §19.2.12 of [SVG] for details.
17380 <define name="anim-animate-motion-attlist" combine="interleave">   17789 <define name="anim-animate-motion-attlist" combine="interleave">
17381         <optional>   17790         <optional>
17382                 <attribute name="svg:origin">   17791                 <attribute name="svg:origin">
17383                         <ref name="string"/>   17792                         <ref name="string"/>
17384                 </attribute>   17793                 </attribute>
17385         </optional>   17794         </optional>
17386 </define>   17795 </define>
17387 Calc Mode   17796 Calc Mode
17388 The [SMIL20] smil:calcMode attribute is used to specify the interpolation mode of the animation. See §19.2.12 of [SVG] for details.   17797 The [SMIL20] smil:calcMode attribute is used to specify the interpolation mode of the animation. See §19.2.12 of [SVG] for details.
17389 <define name="anim-animate-motion-attlist" combine="interleave">   17798 <define name="anim-animate-motion-attlist" combine="interleave">
17390         <optional>   17799         <optional>
17391                 <attribute name="smil:calcMode" a:defaultValue="paced">     17800                 <attribute name="smil:calcMode" a:defaultValue="paced">  
17392                         <choice>   17801                         <choice>
17393                                 <value>discrete</value>   17802                                 <value>discrete</value>
17394                                 <value>linear</value>   17803                                 <value>linear</value>
17395                                 <value>paced</value>   17804                                 <value>paced</value>
17396                                 <value>spline</value>   17805                                 <value>spline</value>
17397                         </choice>   17806                         </choice>
17398                 </attribute>   17807                 </attribute>
17399         </optional>   17808         </optional>
17400 </define>   17809 </define>
17401 13.1.4Animate Color   17810 13.1.4Animate Color
17402 The <anim:animateColor> element behaves like the [SMIL20] <smil:animateColor> element. See §3.5.4 of [SMIL20] for details.   17811 The <anim:animateColor> element behaves like the [SMIL20] <smil:animateColor> element. See §3.5.4 of [SMIL20] for details.
17403 <define name="animation-element" combine="choice">   17812 <define name="animation-element" combine="choice">
17404         <element name="anim:animateColor">   17813         <element name="anim:animateColor">
17405                 <ref name="common-anim-target-attlist"/>   17814                 <ref name="common-anim-target-attlist"/>
17406                 <ref name="common-anim-named-target-attlist"/>   17815                 <ref name="common-anim-named-target-attlist"/>
17407                 <ref name="common-anim-add-accum-attlist"/>   17816                 <ref name="common-anim-add-accum-attlist"/>
17408                 <ref name="common-anim-values-attlist"/>   17817                 <ref name="common-anim-values-attlist"/>
17409                 <ref name="common-anim-spline-mode-attlist"/>   17818                 <ref name="common-anim-spline-mode-attlist"/>
17410                 <ref name="common-spline-anim-value-attlist"/>   17819                 <ref name="common-spline-anim-value-attlist"/>
17411                 <ref name="anim-animate-color-attlist"/>   17820                 <ref name="anim-animate-color-attlist"/>
17412                 <ref name="common-fill-timing-attlist"/> <> 17821                 <ref name="common-timing-attlist"/>
17413         </element> = 17822         </element>
17414 </define>   17823 </define>
17415 Color Interpolation   17824 Color Interpolation
17416 The anim:color-interpolation attribute specifies the color space that is used for color interpolation.   17825 The anim:color-interpolation attribute specifies the color space that is used for color interpolation.
17417 <define name="anim-animate-color-attlist" combine="interleave">   17826 <define name="anim-animate-color-attlist" combine="interleave">
17418         <optional>   17827         <optional>
17419                 <attribute name="anim:color-interpolation" a:defaultValue="rgb">   17828                 <attribute name="anim:color-interpolation" a:defaultValue="rgb">
17420                         <choice>   17829                         <choice>
17421                                 <value>rgb</value>   17830                                 <value>rgb</value>
17422                                 <value>hsl</value>   17831                                 <value>hsl</value>
17423                         </choice>   17832                         </choice>
17424                 </attribute>   17833                 </attribute>
17425         </optional>   17834         </optional>
17426 </define>   17835 </define>
17427 Color Interpolation Direction   17836 Color Interpolation Direction
17428 The anim:color-interpolation-direction attribute specify the direction that is used for color interpolation. This is only valid for the HSL color space.   17837 The anim:color-interpolation-direction attribute specify the direction that is used for color interpolation. This is only valid for the HSL color space.
17429 <define name="anim-animate-color-attlist" combine="interleave">   17838 <define name="anim-animate-color-attlist" combine="interleave">
17430         <optional>   17839         <optional>
17431                 <attribute name="anim:color-interpolation-direction"      17840                 <attribute name="anim:color-interpolation-direction"   
17432                                                                 a:defaultValue="clockwise">   17841                                                                 a:defaultValue="clockwise">
17433                         <choice>   17842                         <choice>
17434                                 <value>clockwise</value>   17843                                 <value>clockwise</value>
17435                                 <value>counter-clockwise</value>   17844                                 <value>counter-clockwise</value>
17436                         </choice>   17845                         </choice>
17437                 </attribute>   17846                 </attribute>
17438         </optional>   17847         </optional>
17439 </define>   17848 </define>
17440 13.1.5Animate Transform   17849 13.1.5Animate Transform
17441 The <anim:animateTransform> element is based on the [SVG]  <svg:animateTransform> element. See §19.2.14 of [SVG] for details.   17850 The <anim:animateTransform> element is based on the [SVG]  <svg:animateTransform> element. See §19.2.14 of [SVG] for details.
17442 <define name="animation-element" combine="choice">   17851 <define name="animation-element" combine="choice">
17443         <element name="anim:animateTransform">   17852         <element name="anim:animateTransform">
17444                 <ref name="common-anim-target-attlist"/>   17853                 <ref name="common-anim-target-attlist"/>
17445                 <ref name="common-anim-named-target-attlist"/>   17854                 <ref name="common-anim-named-target-attlist"/>
17446                 <ref name="common-anim-add-accum-attlist"/>   17855                 <ref name="common-anim-add-accum-attlist"/>
17447                 <ref name="common-anim-values-attlist"/>   17856                 <ref name="common-anim-values-attlist"/>
17448                 <ref name="anim-animate-transform-attlist"/>   17857                 <ref name="anim-animate-transform-attlist"/>
17449                 <ref name="common-fill-timing-attlist"/> <> 17858                 <ref name="common-timing-attlist"/>
17450         </element> = 17859         </element>
17451 </define>   17860 </define>
17452 Transformation Type   17861 Transformation Type
17453 The [SVG] svg:type attribute is used to specify the transformation type. See §19.2.14 of [SVG] for details.   17862 The [SVG] svg:type attribute is used to specify the transformation type. See §19.2.14 of [SVG] for details.
17454 <define name="anim-animate-transform-attlist" combine="interleave">   17863 <define name="anim-animate-transform-attlist" combine="interleave">
17455         <attribute name="svg:type">   17864         <attribute name="svg:type">
17456                 <choice>   17865                 <choice>
17457                         <value>translate</value>   17866                         <value>translate</value>
17458                         <value>scale</value>   17867                         <value>scale</value>
17459                         <value>rotate</value>   17868                         <value>rotate</value>
17460                         <value>skewX</value>   17869                         <value>skewX</value>
17461                         <value>skewY</value>   17870                         <value>skewY</value>
17462                 </choice>   17871                 </choice>
17463         </attribute>   17872         </attribute>
17464 </define>   17873 </define>
17465 13.1.6Transition Filter   17874 13.1.6Transition Filter
17466 The <anim:transitionFilter> element is based on the [SMIL20] <smil:transitionFilter> element. See §12.5.1 of [SMIL20] for details.   17875 The <anim:transitionFilter> element is based on the [SMIL20] <smil:transitionFilter> element. See §12.5.1 of [SMIL20] for details.
17467 <define name="animation-element" combine="choice">   17876 <define name="animation-element" combine="choice">
17468         <element name="anim:transitionFilter">   17877         <element name="anim:transitionFilter">
17469                 <ref name="common-anim-target-attlist"/>   17878                 <ref name="common-anim-target-attlist"/>
17470                 <ref name="common-anim-add-accum-attlist"/>   17879                 <ref name="common-anim-add-accum-attlist"/>
17471                 <ref name="common-anim-values-attlist"/>   17880                 <ref name="common-anim-values-attlist"/>
17472                 <ref name="common-anim-spline-mode-attlist "/>   17881                 <ref name="common-anim-spline-mode-attlist "/>
17473                 <ref name="anim-transition-filter-attlist"/>   17882                 <ref name="anim-transition-filter-attlist"/>
17474                 <ref name="common-fill-timing-attlist"/> <> 17883                 <ref name="common-timing-attlist"/>
17475         </element> = 17884         </element>
17476 </define>   17885 </define>
17477 Transition Type   17886 Transition Type
17478 The [SMIL20] smil:type attribute is used to specify the transition type or family. See §12.8 of [SMIL20] for a list of supported types.   17887 The [SMIL20] smil:type attribute is used to specify the transition type or family. See §12.8 of [SMIL20] for a list of supported types.
17479 <define name="anim-transition-filter-attlist" combine="interleave">   17888 <define name="anim-transition-filter-attlist" combine="interleave">
17480         <attribute name="smil:type">   17889         <attribute name="smil:type">
17481                 <ref name="string"/>   17890                 <ref name="string"/>
17482         </attribute>   17891         </attribute>
17483 </define>   17892 </define>
17484 Transition Subtype   17893 Transition Subtype
17485 The [SMIL20] smil:subtype attribute can be used to specify the transition subtype. See §12.8 of [SMIL20] for a list of supported subtypes.   17894 The [SMIL20] smil:subtype attribute can be used to specify the transition subtype. See §12.8 of [SMIL20] for a list of supported subtypes.
17486 <define name="anim-transition-filter-attlist" combine="interleave">   17895 <define name="anim-transition-filter-attlist" combine="interleave">
17487         <optional>   17896         <optional>
17488                 <attribute name="smil:subtype">   17897                 <attribute name="smil:subtype">
17489                         <ref name="string"/>   17898                         <ref name="string"/>
17490                 </attribute>   17899                 </attribute>
17491         </optional>   17900         </optional>
17492 </define>   17901 </define>
17493 Transition Direction   17902 Transition Direction
17494 The [SMIL20] smil:direction attribute can be used to specify the transition direction. See §12.4.1 of [SMIL20] for details.   17903 The [SMIL20] smil:direction attribute can be used to specify the transition direction. See §12.4.1 of [SMIL20] for details.
17495 <define name="anim-transition-filter-attlist" combine="interleave">   17904 <define name="anim-transition-filter-attlist" combine="interleave">
17496         <optional>   17905         <optional>
17497                 <attribute name="smil:direction" a:defaultValue="forward">   17906                 <attribute name="smil:direction" a:defaultValue="forward">
17498                         <choice>   17907                         <choice>
17499                                 <value>forward</value>   17908                                 <value>forward</value>
17500                                 <value>reverse</value>   17909                                 <value>reverse</value>
17501                         </choice>   17910                         </choice>
17502                 </attribute>   17911                 </attribute>
17503         </optional>   17912         </optional>
17504 </define>   17913 </define>
17505 Fade Color   17914 Fade Color
17506 The [SMIL20] smil:fadeColor attribute can be used to specify the transition fade color for transitions that makes use of a start or end color. See §12.5.1 of [SMIL20] for details.   17915 The [SMIL20] smil:fadeColor attribute can be used to specify the transition fade color for transitions that makes use of a start or end color. See §12.5.1 of [SMIL20] for details.
17507 <define name="anim-transition-filter-attlist" combine="interleave">   17916 <define name="anim-transition-filter-attlist" combine="interleave">
17508         <optional>   17917         <optional>
17509                 <attribute name="smil:fadeColor">   17918                 <attribute name="smil:fadeColor">
17510                         <choice>   17919                         <choice>
17511                                 <value>forward</value>   17920                                 <value>forward</value>
17512                                 <value>reverse</value>   17921                                 <value>reverse</value>
17513                         </choice>   17922                         </choice>
17514                 </attribute>   17923                 </attribute>
17515         </optional>   17924         </optional>
17516 </define>   17925 </define>
17517 The Transition Mode   17926 The Transition Mode
17518 The [SMIL20] smil:mode attribute is used to specify if the animated element will be transition in or out. See §12.5.1 of [SMIL20] for details.   17927 The [SMIL20] smil:mode attribute is used to specify if the animated element will be transition in or out. See §12.5.1 of [SMIL20] for details.
17519 <define name="anim-transition-filter-attlist" combine="interleave">   17928 <define name="anim-transition-filter-attlist" combine="interleave">
17520         <optional>   17929         <optional>
17521                 <attribute name="smil:mode" a:defaultValue="in">   17930                 <attribute name="smil:mode" a:defaultValue="in">
17522                         <choice>   17931                         <choice>
17523                                 <value>in</value>   17932                                 <value>in</value>
17524                                 <value>out</value>   17933                                 <value>out</value>
17525                         </choice>   17934                         </choice>
17526                 </attribute>   17935                 </attribute>
17527         </optional>   17936         </optional>
17528 </define>   17937 </define>
17529 13.2Animation Model Attributes   17938 13.2Animation Model Attributes
17530 The animation model uses the same concepts and syntax as specified in §3 of [SMIL20].   17939 The animation model uses the same concepts and syntax as specified in §3 of [SMIL20].
17531 13.3Common Animation Attributes   17940 13.3Common Animation Attributes
17532 Element Id   17941 Element Id
17533 The anim:id attribute defines an ID that is used to identify the element inside a document.   17942 The anim:id attribute defines an ID that is used to identify the element inside a document.
17534 <define name="common-anim-attlist" combine="interleave">   17943 <define name="common-anim-attlist" combine="interleave">
17535         <optional>   17944         <optional>
17536                 <attribute name="anim:id">   17945                 <attribute name="anim:id">
17537                         <ref name="ID"/>   17946                         <ref name="ID"/>
17538                 </attribute>   17947                 </attribute>
17539         </optional>   17948         </optional>
17540 </define>   17949 </define>
17541 13.3.1Animation Target Attributes   17950 13.3.1Animation Target Attributes
17542 Target Element   17951 Target Element
17543 The [SMIL20] smil:targetElement attribute is used to specify the target element to be animated. See §3.4.1 of [SMIL20] for details. See section 9.8.2 for details about the usage of this attribute in presentation documents.   17952 The [SMIL20] smil:targetElement attribute is used to specify the target element to be animated. See §3.4.1 of [SMIL20] for details. See section 9.8.2 for details about the usage of this attribute in presentation documents.
17544 <define name="common-anim-target-attlist" combine="interleave">   17953 <define name="common-anim-target-attlist" combine="interleave">
17545         <optional>   17954         <optional>
17546                 <attribute name="smil:targetElement">   17955                 <attribute name="smil:targetElement">
17547                         <ref name="IDREF"/>   17956                         <ref name="IDREF"/>
17548                 </attribute>   17957                 </attribute>
17549         </optional>   17958         </optional>
17550 </define>   17959 </define>
17551 Target Attribute   17960 Target Attribute
17552 The [SMIL20] smil:attributeName attribute is used to specify a target attribute by name. See §3.4.1 of [SMIL20] for details. See section 9.8.2 for details about the usage of this attribute in presentation documents.   17961 The [SMIL20] smil:attributeName attribute is used to specify a target attribute by name. See §3.4.1 of [SMIL20] for details. See section 9.8.2 for details about the usage of this attribute in presentation documents.
17553 <define name="common-anim-named-target-attlist" combine="interleave">   17962 <define name="common-anim-named-target-attlist" combine="interleave">
17554         <attribute name="smil:attributeName">   17963         <attribute name="smil:attributeName">
17555                 <ref name="string"/>   17964                 <ref name="string"/>
17556         </attribute>   17965         </attribute>
17557 </define>   17966 </define>
17558 Target Element Sub Item   17967 Target Element Sub Item
17559 The anim:sub-item attribute specifies an optional sub item of the target element. Possible values for this element depend on the document type and the target element type. See section 9.8.2 for details about the usage of this attribute in presentation documents.   17968 The anim:sub-item attribute specifies an optional sub item of the target element. Possible values for this element depend on the document type and the target element type. See section 9.8.2 for details about the usage of this attribute in presentation documents.
17560 <define name="common-anim-target-attlist" combine="interleave">   17969 <define name="common-anim-target-attlist" combine="interleave">
17561         <optional>   17970         <optional>
17562                 <attribute name="anim:sub-item">   17971                 <attribute name="anim:sub-item">
17563                         <ref name="string"/>   17972                         <ref name="string"/>
17564                 </attribute>   17973                 </attribute>
17565         </optional>   17974         </optional>
17566 </define>   17975 </define>
17567 13.3.2Animation Function Attributes   17976 13.3.2Animation Function Attributes
17568 Value List   17977 Value List
17569 The [SMIL20] smil:values attribute specifies the values used to animate the target element. See $3.4.2 of [SMIL20] for details.   17978 The [SMIL20] smil:values attribute specifies the values used to animate the target element. See $3.4.2 of [SMIL20] for details.
17570 <define name="common-anim-values-attlist" combine="interleave">   17979 <define name="common-anim-values-attlist" combine="interleave">
17571         <optional>   17980         <optional>
17572                 <attribute name="smil:values">   17981                 <attribute name="smil:values">
17573                         <ref name="string"/>   17982                         <ref name="string"/>
17574                 </attribute>   17983                 </attribute>
17575         </optional>   17984         </optional>
17576 </define>   17985 </define>
17577 Calc Mode   17986 Calc Mode
17578 The [SMIL20] smil:calcMode attribute is used to specify the interpolation mode of the animation function. See $3.4.2 of [SMIL20] for details.   17987 The [SMIL20] smil:calcMode attribute is used to specify the interpolation mode of the animation function. See $3.4.2 of [SMIL20] for details.
17579 <define name="common-anim-spline-mode-attlist" combine="interleave">   17988 <define name="common-anim-spline-mode-attlist" combine="interleave">
17580         <optional>   17989         <optional>
17581                 <attribute name="smil:calcMode" a:defaultValue="discrete">     17990                 <attribute name="smil:calcMode" a:defaultValue="discrete">  
17582                         <choice>   17991                         <choice>
17583                                 <value>discrete</value>   17992                                 <value>discrete</value>
17584                                 <value>linear</value>   17993                                 <value>linear</value>
17585                                 <value>paced</value>   17994                                 <value>paced</value>
17586                                 <value>spline</value>   17995                                 <value>spline</value>
17587                         </choice>   17996                         </choice>
17588                 </attribute>   17997                 </attribute>
17589         </optional>   17998         </optional>
17590 </define>   17999 </define>
17591 Key Times   18000 Key Times
17592 The [SMIL20] smil:keyTimes attribute specifies the pacing of the animation. See $3.7.1 of [SMIL20] for details.   18001 The [SMIL20] smil:keyTimes attribute specifies the pacing of the animation. See $3.7.1 of [SMIL20] for details.
17593 <define name="common-spline-anim-value-attlist" combine="interleave">   18002 <define name="common-spline-anim-value-attlist" combine="interleave">
17594         <optional>   18003         <optional>
17595                 <attribute name="smil:keyTimes">   18004                 <attribute name="smil:keyTimes">
17596                         <ref name="string"/>   18005                         <ref name="string"/>
17597                 </attribute>   18006                 </attribute>
17598         </optional>   18007         </optional>
17599 </define>   18008 </define>
17600 Key Splines   18009 Key Splines
17601 The [SMIL20] smil:keySplines attribute specifies a cubic Bézier function that controls interval pacing. See $3.7.1 of [SMIL20] for details.   18010 The [SMIL20] smil:keySplines attribute specifies a cubic Bézier function that controls interval pacing. See $3.7.1 of [SMIL20] for details.
17602 <define name="common-spline-anim-value-attlist" combine="interleave">   18011 <define name="common-spline-anim-value-attlist" combine="interleave">
17603         <optional>   18012         <optional>
17604                 <attribute name="smil:keySplines">   18013                 <attribute name="smil:keySplines">
17605                         <ref name="string"/>   18014                         <ref name="string"/>
17606                 </attribute>   18015                 </attribute>
17607         </optional>   18016         </optional>
17608 </define>   18017 </define>
17609 Accumulation   18018 Accumulation
17610 The [SMIL20] smil:accumulate attribute specifies the accumulation of the animation function. See $3.4.3 of [SMIL20] for details.   18019 The [SMIL20] smil:accumulate attribute specifies the accumulation of the animation function. See $3.4.3 of [SMIL20] for details.
17611 <define name="common-anim-add-accum-attlist" combine="interleave">   18020 <define name="common-anim-add-accum-attlist" combine="interleave">
17612         <optional>   18021         <optional>
17613                 <attribute name="smil:accumulate">   18022                 <attribute name="smil:accumulate">
17614                         <choice>   18023                         <choice>
17615                                 <value>none</value>   18024                                 <value>none</value>
17616                                 <value>sum</value>   18025                                 <value>sum</value>
17617                         </choice>   18026                         </choice>
17618                 </attribute>   18027                 </attribute>
17619         </optional>   18028         </optional>
17620 </define>   18029 </define>
17621 Additive   18030 Additive
17622 The [SMIL20] smil:additive attribute specifies if the additive of the animation function. See $3.4.3 of [SMIL20] for details.   18031 The [SMIL20] smil:additive attribute specifies if the additive of the animation function. See $3.4.3 of [SMIL20] for details.
17623 <define name="common-anim-add-accum-attlist" combine="interleave">   18032 <define name="common-anim-add-accum-attlist" combine="interleave">
17624         <optional>   18033         <optional>
17625                 <attribute name="smil:additive">   18034                 <attribute name="smil:additive">
17626                         <choice>   18035                         <choice>
17627                                 <value>replace</value>   18036                                 <value>replace</value>
17628                                 <value>sum</value>   18037                                 <value>sum</value>
17629                         </choice>   18038                         </choice>
17630                 </attribute>   18039                 </attribute>
17631         </optional>   18040         </optional>
17632 </define>   18041 </define>
17633 Formula   18042 Formula
17634 The anim:formula attribute specifies a formula that is used as the animation function. The identifier '$' will be replaced by a value between 0 and 1 (inclusive) that represents the proportional offset into the animation element's duration. For specific document types, additional identifiers may exist. The following is the minimum supported grammar:   18043 The anim:formula attribute specifies a formula that is used as the animation function. The identifier '$' will be replaced by a value between 0 and 1 (inclusive) that represents the proportional offset into the animation element's duration. For specific document types, additional identifiers may exist. The following is the minimum supported grammar:
17635 identifier = '$' | 'pi'   18044 identifier = '$' | 'pi'
17636     18045  
17637 function = 'abs'|'sqrt'|'sin'|'cos'|'tan'|'atan'|'acos'|'asin'|'exp'|'log'   18046 function = 'abs'|'sqrt'|'sin'|'cos'|'tan'|'atan'|'acos'|'asin'|'exp'|'log'
17638 binary_function = 'min'|'max'   18047 binary_function = 'min'|'max'
17639     18048  
17640 basic_expression =   18049 basic_expression =
17641         number |                                                                              18050         number |                                                                           
17642         identifier |                                                                          18051         identifier |                                                                       
17643         function '(' additive_expression ')' |                                                18052         function '(' additive_expression ')' |                                             
17644         binary_function   18053         binary_function
17645                 '(' additive_expression ',' additive_expression ')' |   18054                 '(' additive_expression ',' additive_expression ')' |
17646         '(' additive_expression ')'   18055         '(' additive_expression ')'
17647     18056  
17648 unary_expression =   18057 unary_expression =
17649         '-' basic_expression |   18058         '-' basic_expression |
17650         basic_expression   18059         basic_expression
17651     18060  
17652 multiplicative_expression =   18061 multiplicative_expression =
17653         unary_expression   18062         unary_expression
17654         (       ( '*' unary_expression )* |   18063         (       ( '*' unary_expression )* |
17655                 ( '/' unary_expression )* )   18064                 ( '/' unary_expression )* )
17656     18065  
17657 additive_expression =   18066 additive_expression =
17658         multiplicative_expression   18067         multiplicative_expression
17659         (       ( '+' multiplicative_expression )* |   18068         (       ( '+' multiplicative_expression )* |
17660                 ( '-' multiplicative_expression )* )   18069                 ( '-' multiplicative_expression )* )
17661 See section 9.8.2 for details about additional identifiers for presentation documents.   18070 See section 9.8.2 for details about additional identifiers for presentation documents.
17662 If a anim:formula attribute is given, it overrides the smil:values, smil:to, smil:from and smil:by attributes as specified in the next section.   18071 If a anim:formula attribute is given, it overrides the smil:values, smil:to, smil:from and smil:by attributes as specified in the next section.
17663 <define name="common-anim-values-attlist" combine="interleave">   18072 <define name="common-anim-values-attlist" combine="interleave">
17664         <optional>   18073         <optional>
17665                 <attribute name="anim:formula">   18074                 <attribute name="anim:formula">
17666                         <ref name="string"/>   18075                         <ref name="string"/>
17667                 </attribute>   18076                 </attribute>
17668         </optional>   18077         </optional>
17669 </define>   18078 </define>
17670 Simple Animation Functions   18079 Simple Animation Functions
17671 In addition to describing an animation with a list of values, a simplified version using the [SMIL20] smil:from, smil:to and smil:by attributes can be used. See §3.4.4 of [SMIL20] for details.   18080 In addition to describing an animation with a list of values, a simplified version using the [SMIL20] smil:from, smil:to and smil:by attributes can be used. See §3.4.4 of [SMIL20] for details.
17672 <define name="common-anim-set-values-attlist" combine="interleave">   18081 <define name="common-anim-set-values-attlist" combine="interleave">
17673         <optional>   18082         <optional>
17674                 <attribute name="smil:to">   18083                 <attribute name="smil:to">
17675                         <ref name="string"/>   18084                         <ref name="string"/>
17676                 </attribute>   18085                 </attribute>
17677         </optional>   18086         </optional>
17678 </define>   18087 </define>
17679     18088  
17680 <define name="common-anim-values-attlist" combine="interleave">   18089 <define name="common-anim-values-attlist" combine="interleave">
17681         <ref name="common-anim-set-values-attlist"/>   18090         <ref name="common-anim-set-values-attlist"/>
17682         <optional>   18091         <optional>
17683                 <attribute name="smil:from">   18092                 <attribute name="smil:from">
17684                         <ref name="string"/>   18093                         <ref name="string"/>
17685                 </attribute>   18094                 </attribute>
17686         </optional>   18095         </optional>
17687         <optional>   18096         <optional>
17688                 <attribute name="smil:by">   18097                 <attribute name="smil:by">
17689                         <ref name="string"/>   18098                         <ref name="string"/>
17690                 </attribute>   18099                 </attribute>
17691         </optional>   18100         </optional>
17692 </define>   18101 </define>
17693 13.4Animation Timing   18102 13.4Animation Timing
17694 The animation timing uses the same concepts and syntax as specified in §10 and §11 of [SMIL20] chapters.   18103 The animation timing uses the same concepts and syntax as specified in §10 and §11 of [SMIL20] chapters.
17695 13.4.1Animation Timing Attributes   18104 13.4.1Animation Timing Attributes
17696 Element Start   18105 Element Start
17697 The [SMIL20] smil:begin attribute can be used to specify the begin time of an element. See §10.3.1 of [SMIL20] for details.   18106 The [SMIL20] smil:begin attribute can be used to specify the begin time of an element. See §10.3.1 of [SMIL20] for details.
17698 <define name="common-begin-end-timing-attlist" combine="interleave">   18107 <define name="common-begin-end-timing-attlist" combine="interleave">
17699         <optional>   18108         <optional>
17700                 <attribute name="smil:begin">   18109                 <attribute name="smil:begin">
17701                         <ref name="string"/>   18110                         <ref name="string"/>
17702                 </attribute>   18111                 </attribute>
17703         </optional>   18112         </optional>
17704 </define>   18113 </define>
17705 Element End   18114 Element End
17706 The [SMIL20] smil:end attribute can be used to specify the end time of an element. See §10.3.1 of [SMIL20] for details.   18115 The [SMIL20] smil:end attribute can be used to specify the end time of an element. See §10.3.1 of [SMIL20] for details.
17707 <define name="common-begin-end-timing-attlist" combine="interleave">   18116 <define name="common-begin-end-timing-attlist" combine="interleave">
17708         <optional>   18117         <optional>
17709                 <attribute name="smil:end">   18118                 <attribute name="smil:end">
17710                         <ref name="string"/>   18119                         <ref name="string"/>
17711                 </attribute>   18120                 </attribute>
17712         </optional>   18121         </optional>
17713 </define>   18122 </define>
17714 Element Duration   18123 Element Duration
17715 The [SMIL20] smil:dur attribute can be used to specify the duration of an element. See §10.3.1 of [SMIL20] for details.   18124 The [SMIL20] smil:dur attribute can be used to specify the duration of an element. See §10.3.1 of [SMIL20] for details.
17716 <define name="common-dur-timing-attlist" combine="interleave">   18125 <define name="common-dur-timing-attlist" combine="interleave">
17717         <optional>   18126         <optional>
17718                 <attribute name="smil:dur">   18127                 <attribute name="smil:dur">
17719                         <ref name="string"/>   18128                         <ref name="string"/>
17720                 </attribute>   18129                 </attribute>
17721         </optional>   18130         </optional>
17722 </define>   18131 </define>
17723 Element End Synchronization   18132 Element End Synchronization
17724 The [SMIL20] smil:endsync attribute can be used to control the implicit duration of time containers, as a function of their children. See §10.3.1 of [SMIL20] for details.   18133 The [SMIL20] smil:endsync attribute can be used to control the implicit duration of time containers, as a function of their children. See §10.3.1 of [SMIL20] for details.
17725 <define name="common-endsync-timing-attlist" combine="interleave">   18134 <define name="common-endsync-timing-attlist" combine="interleave">
17726         <optional>   18135         <optional>
17727                 <attribute name="smil:endsync">   18136                 <attribute name="smil:endsync">
17728                         <choice>   18137                         <choice>
17729                                 <value>first</value>   18138                                 <value>first</value>
17730                                 <value>last</value>   18139                                 <value>last</value>
17731                                 <value>all</value>   18140                                 <value>all</value>
17732                                 <value>media</value>   18141                                 <value>media</value>
17733                         </choice>   18142                         </choice>
17734                 </attribute>   18143                 </attribute>
17735         </optional>   18144         </optional>
17736 </define>   18145 </define>
17737 Repeating Elements   18146 Repeating Elements
17738 The [SMIL20] smil:repeatCount and smil:repeatDur attributes specifies the behavior of repeated animations. See §10.3.1 of [SMIL20] for details.   18147 The [SMIL20] smil:repeatCount and smil:repeatDur attributes specifies the behavior of repeated animations. See §10.3.1 of [SMIL20] for details.
17739 <define name="common-repeat-timing-attlist" combine="interleave">   18148 <define name="common-repeat-timing-attlist" combine="interleave">
17740         <optional>   18149         <optional>
17741                 <attribute name="smil:repeatDur">   18150                 <attribute name="smil:repeatDur">
17742                         <ref name="string"/>   18151                         <ref name="string"/>
17743                 </attribute>   18152                 </attribute>
    -+ 18153         </optional>
      18154         <optional>
17744                 <attribute name="smil:repeatCount"> = 18155                 <attribute name="smil:repeatCount">
    <> 18156                         <choice>
17745                         <ref name="nonNegativeInteger"/>   18157                                 <ref name="nonNegativeInteger"/>
      18158                                 <value>indefinite</value>
      18159                         </choice>
17746                 </attribute> = 18160                 </attribute>
17747         </optional>   18161         </optional>
17748 </define>   18162 </define>
17749 Fill   18163 Fill
17750 The [SMIL20] smil:fill attribute specifies the behavior of an element after an animation is finished. See §10.3.1 of [SMIL20] for details.   18164 The [SMIL20] smil:fill attribute specifies the behavior of an element after an animation is finished. See §10.3.1 of [SMIL20] for details.
17751 <define name="common-fill-timing-attlist" combine="interleave">   18165 <define name="common-fill-timing-attlist" combine="interleave">
17752         <optional>   18166         <optional>
17753                 <attribute name="smil:fill">   18167                 <attribute name="smil:fill">
17754                         <choice>   18168                         <choice>
17755                                 <value>remove</value>   18169                                 <value>remove</value>
17756                                 <value>freeze</value>   18170                                 <value>freeze</value>
17757                                 <value>hold</value>   18171                                 <value>hold</value>
17758                                 <value>auto</value>   18172                                 <value>auto</value>
17759                                 <value>default</value>   18173                                 <value>default</value>
17760                                 <value>transition</value>   18174                                 <value>transition</value>
17761                         </choice>   18175                         </choice>
17762                 </attribute>   18176                 </attribute>
17763         </optional>   18177         </optional>
17764 </define>   18178 </define>
17765 Fill Default   18179 Fill Default
17766 The [SMIL20] smil:fillDefault attribute specifies the default behavior for the smil:fill attribute. See §10.3.1 of [SMIL20] for details.   18180 The [SMIL20] smil:fillDefault attribute specifies the default behavior for the smil:fill attribute. See §10.3.1 of [SMIL20] for details.
17767 <define name="common-fill-default-attlist" combine="interleave">   18181 <define name="common-fill-default-attlist" combine="interleave">
17768         <optional>   18182         <optional>
17769                 <attribute name="smil:fillDefault">   18183                 <attribute name="smil:fillDefault">
17770                         <choice>   18184                         <choice>
17771                                 <value>remove</value>   18185                                 <value>remove</value>
17772                                 <value>freeze</value>   18186                                 <value>freeze</value>
17773                                 <value>hold</value>   18187                                 <value>hold</value>
17774                                 <value>transition</value>   18188                                 <value>transition</value>
17775                                 <value>auto</value>   18189                                 <value>auto</value>
17776                                 <value>inherit</value>   18190                                 <value>inherit</value>
17777                         </choice>   18191                         </choice>
17778                 </attribute>   18192                 </attribute>
17779         </optional>   18193         </optional>
17780 </define>   18194 </define>
17781 Restart   18195 Restart
17782 The [SMIL20] smil:restart attribute can be used to specify the restart behavior of an element. See §10.3.1 of [SMIL20] for details.   18196 The [SMIL20] smil:restart attribute can be used to specify the restart behavior of an element. See §10.3.1 of [SMIL20] for details.
17783 <define name="common-restart-timing-attlist" combine="interleave">   18197 <define name="common-restart-timing-attlist" combine="interleave">
17784         <optional>   18198         <optional>
17785                 <attribute name="smil:restart" a:defaultValue="default">   18199                 <attribute name="smil:restart" a:defaultValue="default">
17786                         <choice>   18200                         <choice>
17787                                 <value>never</value>   18201                                 <value>never</value>
17788                                 <value>always</value>   18202                                 <value>always</value>
17789                                 <value>whenNotActive</value>   18203                                 <value>whenNotActive</value>
17790                                 <value>default</value>   18204                                 <value>default</value>
17791                         </choice>   18205                         </choice>
17792                 </attribute>   18206                 </attribute>
17793         </optional>   18207         </optional>
17794 </define>   18208 </define>
17795 Restart Default   18209 Restart Default
17796 The [SMIL20] smil:restartDefault attribute can be used to specify the default restart behavior of an element. See §10.3.1 of [SMIL20] for details.   18210 The [SMIL20] smil:restartDefault attribute can be used to specify the default restart behavior of an element. See §10.3.1 of [SMIL20] for details.
17797 <define name="common-restart-default-attlist" combine="interleave">   18211 <define name="common-restart-default-attlist" combine="interleave">
17798         <optional>   18212         <optional>
17799                 <attribute name="smil:restartDefault" a:defaultValue="inherit">   18213                 <attribute name="smil:restartDefault" a:defaultValue="inherit">
17800                         <choice>   18214                         <choice>
17801                                 <value>never</value>   18215                                 <value>never</value>
17802                                 <value>always</value>   18216                                 <value>always</value>
17803                                 <value>whenNotActive</value>   18217                                 <value>whenNotActive</value>
17804                                 <value>inherit</value>   18218                                 <value>inherit</value>
17805                         </choice>   18219                         </choice>
17806                 </attribute>   18220                 </attribute>
17807         </optional>   18221         </optional>
17808 </define>   18222 </define>
17809 Accelerate   18223 Accelerate
17810 The [SMIL20] smil:accelerate attribute can be used to specify a simple acceleration of element time. See §11.1.2 of [SMIL20] for details.   18224 The [SMIL20] smil:accelerate attribute can be used to specify a simple acceleration of element time. See §11.1.2 of [SMIL20] for details.
17811 <define name="common-time-manip-attlist" combine="interleave">   18225 <define name="common-time-manip-attlist" combine="interleave">
17812         <optional>        18226         <optional>     
17813                 <attribute name="smil:accelerate" a:defaultValue="0.0">   18227                 <attribute name="smil:accelerate" a:defaultValue="0.0">
17814                         <ref name="double"/>   18228                         <ref name="double"/>
17815                 </attribute>   18229                 </attribute>
17816         </optional>   18230         </optional>
17817 </define>   18231 </define>
17818 Decelerate   18232 Decelerate
17819 The [SMIL20] smil:decelerate attribute can be used to specify a simple deceleration of element time. See §11.1.2 of [SMIL20] for details.   18233 The [SMIL20] smil:decelerate attribute can be used to specify a simple deceleration of element time. See §11.1.2 of [SMIL20] for details.
17820 <define name="common-time-manip-attlist" combine="interleave">   18234 <define name="common-time-manip-attlist" combine="interleave">
17821         <optional>   18235         <optional>
17822                 <attribute name="smil:decelerate" a:defaultValue="0.0">   18236                 <attribute name="smil:decelerate" a:defaultValue="0.0">
17823                         <ref name="double"/>   18237                         <ref name="double"/>
17824                 </attribute>   18238                 </attribute>
17825         </optional>   18239         </optional>
17826 </define>   18240 </define>
17827 Auto Reverse   18241 Auto Reverse
17828 The [SMIL20] smil:autoreverse attribute can be used to specify an automatic playback in reverse. See §11.1.2 of [SMIL20] for details.   18242 The [SMIL20] smil:autoreverse attribute can be used to specify an automatic playback in reverse. See §11.1.2 of [SMIL20] for details.
17829 <define name="common-time-manip-attlist" combine="interleave">   18243 <define name="common-time-manip-attlist" combine="interleave">
17830         <optional>   18244         <optional>
17831                 <attribute name="smil:autoReverse" a:defaultValue="false">   18245                 <attribute name="smil:autoReverse" a:defaultValue="false">
17832                         <ref name="boolean"/>   18246                         <ref name="boolean"/>
17833                 </attribute>   18247                 </attribute>
17834         </optional>   18248         </optional>
17835 </define>   18249 </define>
17836 13.4.2Parallel Animations   18250 13.4.2Parallel Animations
17837 The <anim:par> element is based on the [SMIL20] <smil:par> element and defines a parallel time container. See §10.3.2 of [SMIL20] for details.   18251 The <anim:par> element is based on the [SMIL20] <smil:par> element and defines a parallel time container. See §10.3.2 of [SMIL20] for details.
17838 <define name="animation-element" combine="choice">   18252 <define name="animation-element" combine="choice">
17839         <element name="anim:par">   18253         <element name="anim:par">
17840                 <ref name="common-anim-attlist"/>   18254                 <ref name="common-anim-attlist"/>
17841                 <ref name="common-timing-attlist"/>   18255                 <ref name="common-timing-attlist"/>
17842                 <ref name="common-endsync-timing-attlist"/>   18256                 <ref name="common-endsync-timing-attlist"/>
17843                 <zeroOrMore>   18257                 <zeroOrMore>
17844                         <ref name="animation-element"/>   18258                         <ref name="animation-element"/>
17845                 </zeroOrMore>   18259                 </zeroOrMore>
17846         </element>   18260         </element>
17847 </define>   18261 </define>
17848     18262  
17849 <define name="common-basic-timing-attlist" combine="interleave">   18263 <define name="common-basic-timing-attlist" combine="interleave">
17850    <ref name="common-begin-end-timing-attlist"/>   18264    <ref name="common-begin-end-timing-attlist"/>
17851    <ref name="common-dur-timing-attlist"/>   18265    <ref name="common-dur-timing-attlist"/>
17852    <ref name="common-repeat-timing-attlist"/>   18266    <ref name="common-repeat-timing-attlist"/>
17853 </define>   18267 </define>
17854     18268  
17855 <define name="common-timing-attlist" combine="interleave">   18269 <define name="common-timing-attlist" combine="interleave">
17856    <ref name="common-basic-timing-attlist"/>   18270    <ref name="common-basic-timing-attlist"/>
17857    <ref name="common-restart-timing-attlist"/>   18271    <ref name="common-restart-timing-attlist"/>
17858    <ref name="common-restart-default-attlist"/>   18272    <ref name="common-restart-default-attlist"/>
17859    <ref name="common-fill-timing-attlist"/>   18273    <ref name="common-fill-timing-attlist"/>
17860    <ref name="common-fill-default-attlist"/>   18274    <ref name="common-fill-default-attlist"/>
17861    <ref name="common-time-manip-attlist"/>   18275    <ref name="common-time-manip-attlist"/>
17862 </define>   18276 </define>
17863 13.4.3Sequential Animations   18277 13.4.3Sequential Animations
17864 The <anim:seq> element is based on the [SMIL20] <smil:seq> element and defines a sequential time container. See §10.3.2 of [SMIL20] for details.   18278 The <anim:seq> element is based on the [SMIL20] <smil:seq> element and defines a sequential time container. See §10.3.2 of [SMIL20] for details.
17865 <define name="animation-element" combine="choice">   18279 <define name="animation-element" combine="choice">
17866         <element name="anim:seq">   18280         <element name="anim:seq">
17867                 <ref name="common-anim-attlist"/>   18281                 <ref name="common-anim-attlist"/>
17868                 <ref name="common-endsync-timing-attlist"/>   18282                 <ref name="common-endsync-timing-attlist"/>
17869                 <ref name="common-timing-attlist"/>   18283                 <ref name="common-timing-attlist"/>
    -+ 18284                 <zeroOrMore>
      18285                         <ref name="animation-element"/>
      18286                 </zeroOrMore>
17870         </element> = 18287         </element>
17871 </define>   18288 </define>
17872 13.4.4Iterative Animations   18289 13.4.4Iterative Animations
17873 The <anim:iterate> element defines a parallel time container. The difference to a <anim:par> element is that the <anim:iterate> element does not specify effects for its target element itself. Instead of this, it iterates over possible child elements of the target element and executes all its child effects with the children of the target element as target.   18290 The <anim:iterate> element defines a parallel time container. The difference to a <anim:par> element is that the <anim:iterate> element does not specify effects for its target element itself. Instead of this, it iterates over possible child elements of the target element and executes all its child effects with the children of the target element as target.
17874 <define name="animation-element" combine="choice">   18291 <define name="animation-element" combine="choice">
17875         <element name="anim:iterate">   18292         <element name="anim:iterate">
17876                 <ref name="common-anim-attlist"/>   18293                 <ref name="common-anim-attlist"/>
17877                 <ref name="anin-iterate-attlist"/> <> 18294                 <ref name="anim-iterate-attlist"/>
17878                 <ref name="common-timing-attlist"/> = 18295                 <ref name="common-timing-attlist"/>
17879                 <ref name="common-endsync-timing-attlist"/>   18296                 <ref name="common-endsync-timing-attlist"/>
17880                 <zeroOrMore>   18297                 <zeroOrMore>
17881                         <ref name="animation-element"/>   18298                         <ref name="animation-element"/>
17882                 </zeroOrMore>   18299                 </zeroOrMore>
17883         </element>   18300         </element>
17884 </define>   18301 </define>
17885 The Target Element   18302 The Target Element
17886 The [SMIL20] smil:targetElement attribute specifies the target element to whose children the effects should be applied. See section 9.8.2 for details about the attribute's usage in presentation documents. <> 18303 The [SMIL20] smil:targetElement and anim:sub-item attributes specify the target element to whose children the effects should be applied. See section 9.8.2 for details about the attribute's usage in presentation documents.
17887 <define name="anin-iterate-attlist" combine="interleave">   18304 <define name="anim-iterate-attlist" combine="interleave">
17888         <optional>      
17889                 <attribute name="smil:targetElement">   18305         <ref name="common-anim-target-attlist"/>
17890                         <ref name="IDREF"/>      
17891                 </attribute>      
17892         </optional>      
17893 </define> = 18306 </define>
17894 The Iterate Type   18307 The Iterate Type
17895 The anim:iterate-type attribute specifies how the iteration targets child elements are iterated. Possible values depends on the document type and the target element type. See section 9.8.2 for details about the attribute's usage in presentation documents.   18308 The anim:iterate-type attribute specifies how the iteration targets child elements are iterated. Possible values depends on the document type and the target element type. See section 9.8.2 for details about the attribute's usage in presentation documents.
17896 <define name="anin-iterate-attlist" combine="interleave"> <> 18309 <define name="anim-iterate-attlist" combine="interleave">
17897         <optional> = 18310         <optional>
17898                 <attribute name="anim:iterate-type">   18311                 <attribute name="anim:iterate-type">
17899                         <ref name="string"/>   18312                         <ref name="string"/>
17900                 </attribute>   18313                 </attribute>
17901         </optional>   18314         </optional>
17902 </define>   18315 </define>
17903 The Iterate Interval   18316 The Iterate Interval
17904 The anim:iterate-interval attribute specifies the delay between the execution of the child effects of this element. The effects of the next iterated child of the target element are started when the given time is elapsed since the effects for the previous child has been started. An iterate interval of zero seconds would have the same behavior as using a <anim:par> element.   18317 The anim:iterate-interval attribute specifies the delay between the execution of the child effects of this element. The effects of the next iterated child of the target element are started when the given time is elapsed since the effects for the previous child has been started. An iterate interval of zero seconds would have the same behavior as using a <anim:par> element.
17905 <define name="anin-iterate-attlist" combine="interleave"> <> 18318 <define name="anim-iterate-attlist" combine="interleave">
17906         <optional> = 18319         <optional>
17907                 <attribute name="anim:iterate-interval">   18320                 <attribute name="anim:iterate-interval">
17908                         <ref name="duration"/>   18321                         <ref name="duration"/>
17909                 </attribute>   18322                 </attribute>
17910         </optional>   18323         </optional>
17911 </define>   18324 </define>
17912 13.5Media Elements   18325 13.5Media Elements
17913 13.5.1Audio   18326 13.5.1Audio
17914 The <anim:audio> element is based on the [SMIL20] <smil:audio> element. It allows the playback of audio streams during an animation. See §7.3.1 of [SMIL20] for details.   18327 The <anim:audio> element is based on the [SMIL20] <smil:audio> element. It allows the playback of audio streams during an animation. See §7.3.1 of [SMIL20] for details.
17915 <define name="animation-element" combine="choice">   18328 <define name="animation-element" combine="choice">
17916         <element name="anim:audio">   18329         <element name="anim:audio">
17917                 <ref name="common-anim-attlist"/>   18330                 <ref name="common-anim-attlist"/>
17918                 <ref name="anim-audio-attlist"/>   18331                 <ref name="anim-audio-attlist"/>
17919                 <ref name="common-basic-timing-attlist"/>   18332                 <ref name="common-basic-timing-attlist"/>
17920         </element>   18333         </element>
17921 </define>   18334 </define>
17922 Source   18335 Source
17923 The xlink:href attribute specifies the IRI of the audio stream.   18336 The xlink:href attribute specifies the IRI of the audio stream.
17924 <define name="anim-audio-attlist" combine="interleave">   18337 <define name="anim-audio-attlist" combine="interleave">
17925         <optional>   18338         <optional>
17926                 <attribute name="xlink:href">   18339                 <attribute name="xlink:href">
17927                         <ref name="anyURI"/>   18340                         <ref name="anyURI"/>
17928                 </attribute>   18341                 </attribute>
17929         </optional>   18342         </optional>
17930 </define>   18343 </define>
17931 Audio Level   18344 Audio Level
17932 The anim:audio-level attribute specifies the volume during playback. Its value is a number in the range 0 (inaudible) to 1 (the system volume).   18345 The anim:audio-level attribute specifies the volume during playback. Its value is a number in the range 0 (inaudible) to 1 (the system volume).
17933 <define name="anim-audio-attlist" combine="interleave">   18346 <define name="anim-audio-attlist" combine="interleave">
17934         <optional>   18347         <optional>
17935                 <attribute name="anim:audio-level">   18348                 <attribute name="anim:audio-level">
17936                         <ref name="double"/>   18349                         <ref name="double"/>
17937                 </attribute>   18350                 </attribute>
17938         </optional>   18351         </optional>
17939 </define>   18352 </define>
17940 13.6Special Elements   18353 13.6Special Elements
17941 13.6.1Command   18354 13.6.1Command
17942 The <anim:command> element is used to send generic commands to the application during an animation. The available command types and its parameters depend on the document type and the type of the target element. See section 9.8.2 for details about the element's usage in presentation documents.   18355 The <anim:command> element is used to send generic commands to the application during an animation. The available command types and its parameters depend on the document type and the type of the target element. See section 9.8.2 for details about the element's usage in presentation documents.
17943 <define name="animation-element" combine="choice">   18356 <define name="animation-element" combine="choice">
17944         <element name="anim:command">   18357         <element name="anim:command">
17945                 <ref name="common-anim-attlist"/>   18358                 <ref name="common-anim-attlist"/>
17946                 <ref name="anim-command-attlist"/>   18359                 <ref name="anim-command-attlist"/>
17947                 <ref name="common-begin-end-timing-attlist"/>   18360                 <ref name="common-begin-end-timing-attlist"/>
17948                 <ref name="common-anim-target-attlist"/>   18361                 <ref name="common-anim-target-attlist"/>
17949                 <zeroOrMore>   18362                 <zeroOrMore>
17950                         <element name="anim:param">   18363                         <element name="anim:param">
17951                                 <attribute name="anim:name"/>   18364                                 <attribute name="anim:name"/>
17952                                 <attribute name="anim:value"/>   18365                                 <attribute name="anim:value"/>
17953                         </element>   18366                         </element>
17954                 </zeroOrMore>   18367                 </zeroOrMore>
17955         </element>   18368         </element>
17956 </define>   18369 </define>
17957 Command   18370 Command
17958 The anim:command attribute specifies the command that will be executed at the application when this animation element is started.   18371 The anim:command attribute specifies the command that will be executed at the application when this animation element is started.
17959 <define name="anim-command-attlist" combine="interleave">   18372 <define name="anim-command-attlist" combine="interleave">
17960         <attribute name="anim:command">   18373         <attribute name="anim:command">
17961                 <ref name="string"/>   18374                 <ref name="string"/>
17962         </attribute>   18375         </attribute>
17963 </define>   18376 </define>
17964 14Styles   18377 14Styles
17965 Many objects in an office document have formatting properties. A formatting property influences the visual representation of an object but it does not contribute to the content or structure of the document. Examples of formatting properties are:   18378 Many objects in an office document have formatting properties. A formatting property influences the visual representation of an object but it does not contribute to the content or structure of the document. Examples of formatting properties are:
17966 Font family   18379 Font family
17967 Font size   18380 Font size
17968 Font color   18381 Font color
17969 Page margins   18382 Page margins
17970 In the OpenDocument format, formatting properties are only stored within styles. This differs to the user interface of typical office applications, where formatting properties may be assigned to an object directly, or indirectly by applying a style to the object. Assigning formatting properties to an object directly has the same effect as assigning an unnamed style with the same properties to that object. Therefore, user interface styles remain unchanged conceptually in the OpenDocument file format, while formatting properties assigned directly to an object are assumed to be unnamed styles. In order to use unnamed styles, they are assigned a name and therefore become automatic styles.   18383 In the OpenDocument format, formatting properties are only stored within styles. This differs to the user interface of typical office applications, where formatting properties may be assigned to an object directly, or indirectly by applying a style to the object. Assigning formatting properties to an object directly has the same effect as assigning an unnamed style with the same properties to that object. Therefore, user interface styles remain unchanged conceptually in the OpenDocument file format, while formatting properties assigned directly to an object are assumed to be unnamed styles. In order to use unnamed styles, they are assigned a name and therefore become automatic styles.
17971 There are two main reasons for using styles to store formatting properties:   18384 There are two main reasons for using styles to store formatting properties:
17972 1.The format and layout of the document get separated from the document content.   18385 1.The format and layout of the document get separated from the document content.
17973 2.If two or more objects have the same formatting properties and styles assigned, the formatting properties that are assigned to the objects directly can be represented by a single automatic style for all objects. This saves disk space and allows styles to integrate seamlessly into the overall document style.   18386 2.If two or more objects have the same formatting properties and styles assigned, the formatting properties that are assigned to the objects directly can be represented by a single automatic style for all objects. This saves disk space and allows styles to integrate seamlessly into the overall document style.
17974 Within this chapter, the various style types are explained.   18387 Within this chapter, the various style types are explained.
17975 14.1Style Element   18388 14.1Style Element
17976 Some style families are very similar in structure and can be represented by the same element. For example, the <style:style> element can represent paragraph, text, and graphic styles.   18389 Some style families are very similar in structure and can be represented by the same element. For example, the <style:style> element can represent paragraph, text, and graphic styles.
17977 The individual style families that make use of these element are described separately. Within this section, the common attributes of the style element are described.   18390 The individual style families that make use of these element are described separately. Within this section, the common attributes of the style element are described.
17978 <define name="style-style">   18391 <define name="style-style">
17979         <element name="style:style">   18392         <element name="style:style">
17980                 <ref name="style-style-attlist"/>   18393                 <ref name="style-style-attlist"/>
17981                 <ref name="style-style-content"/>   18394                 <ref name="style-style-content"/>
17982                 <zeroOrMore>   18395                 <zeroOrMore>
17983                         <ref name="style-map"/>   18396                         <ref name="style-map"/>
17984                 </zeroOrMore>   18397                 </zeroOrMore>
17985         </element>   18398         </element>
17986 </define>   18399 </define>
17987 The attributes that may be associated with the <style:style> element are:   18400 The attributes that may be associated with the <style:style> element are:
17988 Style name   18401 Style name
17989 Display name   18402 Display name
17990 Style family   18403 Style family
17991 Parent style   18404 Parent style
17992 Next style   18405 Next style
17993 List style   18406 List style
17994 Master page  name   18407 Master page  name
17995 Automatically update   18408 Automatically update
17996 Data style name   18409 Data style name
17997 Class   18410 Class
17998 Outline numbering level   18411 Outline numbering level
17999 Style Name   18412 Style Name
18000 The style:name attribute identifies the name of the style. This attribute, combined with the style:family attribute, uniquely identifies a style. The <office:styles>, <office:automatic-styles> and <office:master-styles> elements each must not contain two styles with the same family and the same name.   18413 The style:name attribute identifies the name of the style. This attribute, combined with the style:family attribute, uniquely identifies a style. The <office:styles>, <office:automatic-styles> and <office:master-styles> elements each must not contain two styles with the same family and the same name.
18001 For automatic styles, a name is generated during document export. If the document is exported several times, it cannot be assumed that the same name is generated each time.   18414 For automatic styles, a name is generated during document export. If the document is exported several times, it cannot be assumed that the same name is generated each time.
18002 In an XML document, the name of each style is a unique name that may be independent of the language selected for an office applications user interface. Usually these names are the ones used for the English version of the user interface.   18415 In an XML document, the name of each style is a unique name that may be independent of the language selected for an office applications user interface. Usually these names are the ones used for the English version of the user interface.
18003 <define name="style-style-attlist" combine="interleave">   18416 <define name="style-style-attlist" combine="interleave">
18004         <attribute name="style:name">   18417         <attribute name="style:name">
18005                 <ref name="styleName"/>   18418                 <ref name="styleName"/>
18006         </attribute>   18419         </attribute>
18007 </define>   18420 </define>
18008 Display Name   18421 Display Name
18009 The style:display-name attribute specifies the name of the style as it should appear in the user interface. In contrast to the style name itself, this name may contain arbitrary characters. If this attribute is not present, the display name equals the style name.   18422 The style:display-name attribute specifies the name of the style as it should appear in the user interface. In contrast to the style name itself, this name may contain arbitrary characters. If this attribute is not present, the display name equals the style name.
18010 <define name="style-style-attlist" combine="interleave">   18423 <define name="style-style-attlist" combine="interleave">
18011         <optional>   18424         <optional>
18012                 <attribute name="style:display-name">   18425                 <attribute name="style:display-name">
18013                         <ref name="string"/>   18426                         <ref name="string"/>
18014                 </attribute>   18427                 </attribute>
18015         </optional>   18428         </optional>
18016 </define>   18429 </define>
18017 Style Family   18430 Style Family
18018 The style:family attribute identifies the family of the style, for example, paragraph, text, or frame. It might have one of the following values: paragraph, text, section, table, table-column, table-row, table-cell, table-page, chart, default, drawing-page, graphic, presentation, control and ruby.   18431 The style:family attribute identifies the family of the style, for example, paragraph, text, or frame. It might have one of the following values: paragraph, text, section, table, table-column, table-row, table-cell, table-page, chart, default, drawing-page, graphic, presentation, control and ruby.
18019 Parent Style   18432 Parent Style
18020 The style:parent-style-name attribute specifies the name of the parent style. If a parent style is not specified, a default parent style defined by the application is used. The parent style cannot be an automatic style and has to exist.   18433 The style:parent-style-name attribute specifies the name of the parent style. If a parent style is not specified, a default parent style defined by the application is used. The parent style cannot be an automatic style and has to exist.
18021 <define name="style-style-attlist" combine="interleave">   18434 <define name="style-style-attlist" combine="interleave">
18022         <optional>   18435         <optional>
18023                 <attribute name="style:parent-style-name">   18436                 <attribute name="style:parent-style-name">
18024                         <ref name="styleNameRef"/>   18437                         <ref name="styleNameRef"/>
18025                 </attribute>   18438                 </attribute>
18026         </optional>   18439         </optional>
18027 </define>   18440 </define>
18028 Next Style   18441 Next Style
18029 The style:next-style-name attribute specifies the style to used for the next paragraph if a paragraph break is inserted in the user interface. By default, the current style is used as the next style.   18442 The style:next-style-name attribute specifies the style to used for the next paragraph if a paragraph break is inserted in the user interface. By default, the current style is used as the next style.
18030 <define name="style-style-attlist" combine="interleave">   18443 <define name="style-style-attlist" combine="interleave">
18031         <optional>   18444         <optional>
18032                 <attribute name="style:next-style-name">   18445                 <attribute name="style:next-style-name">
18033                         <ref name="styleNameRef"/>   18446                         <ref name="styleNameRef"/>
18034                 </attribute>   18447                 </attribute>
18035         </optional>   18448         </optional>
18036 </define>   18449 </define>
18037 List Style   18450 List Style
18038 A paragraph style and styles of other families that may contain paragraph properties (for instance graphic styles) can have an associated list style. This applies to automatic and common styles.   18451 A paragraph style and styles of other families that may contain paragraph properties (for instance graphic styles) can have an associated list style. This applies to automatic and common styles.
18039 The list style specified by the style:list-style-name attribute is only applied to headings and to paragraphs that are contained in a list, where the list does not specify a list style itself, and the list has no list style specification for any of its parents.   18452 The list style specified by the style:list-style-name attribute is only applied to headings and to paragraphs that are contained in a list, where the list does not specify a list style itself, and the list has no list style specification for any of its parents.
18040 The style:list-style-name attribute's value can be empty. In this case, an association with a list style that is inherited from a parent style will be removed.   18453 The style:list-style-name attribute's value can be empty. In this case, an association with a list style that is inherited from a parent style will be removed.
18041 <define name="style-style-attlist" combine="interleave">   18454 <define name="style-style-attlist" combine="interleave">
18042         <optional>   18455         <optional>
18043                 <attribute name="style:list-style-name">   18456                 <attribute name="style:list-style-name">
18044                         <choice>   18457                         <choice>
18045                                 <ref name="styleName"/>   18458                                 <ref name="styleName"/>
18046                                 <empty/>   18459                                 <empty/>
18047                         </choice>   18460                         </choice>
18048                 </attribute>   18461                 </attribute>
18049         </optional>   18462         </optional>
18050 </define>   18463 </define>
18051 Master Page Name   18464 Master Page Name
18052 A paragraph or table style can have an associated style:master-page-name attribute. This applies to automatic and common styles. If this attribute is associated with a style, a page break is inserted when the style is applied and the specified master page is applied to the preceding page.   18465 A paragraph or table style can have an associated style:master-page-name attribute. This applies to automatic and common styles. If this attribute is associated with a style, a page break is inserted when the style is applied and the specified master page is applied to the preceding page.
18053 This attribute is ignored if it is associated with a paragraph style that is applied to a paragraph within a table.   18466 This attribute is ignored if it is associated with a paragraph style that is applied to a paragraph within a table.
18054 <define name="style-style-attlist" combine="interleave">   18467 <define name="style-style-attlist" combine="interleave">
18055         <optional>   18468         <optional>
18056                 <attribute name="style:master-page-name">   18469                 <attribute name="style:master-page-name">
18057                         <ref name="styleNameRef"/>   18470                         <ref name="styleNameRef"/>
18058                 </attribute>   18471                 </attribute>
18059         </optional>   18472         </optional>
18060 </define>   18473 </define>
18061 Automatically Update   18474 Automatically Update
18062 The style:auto-update attribute determines whether or not styles are automatically updated when the formatting properties of an object that has the style assigned to it are changed. For example, there might be a paragraph style that contains a formatting property specifying that paragraph text is centered, and this paragraph style is applied to a paragraph. If the user manually changes the formatting of that paragraph text to be right-aligned and the value of the style:auto-update attribute is true, then the paragraph style is automatically updated to reflect the new paragraph formatting and every paragraph that uses the paragraph style is also modified to right-align the paragraph text. This attribute can have a value of true or false.   18475 The style:auto-update attribute determines whether or not styles are automatically updated when the formatting properties of an object that has the style assigned to it are changed. For example, there might be a paragraph style that contains a formatting property specifying that paragraph text is centered, and this paragraph style is applied to a paragraph. If the user manually changes the formatting of that paragraph text to be right-aligned and the value of the style:auto-update attribute is true, then the paragraph style is automatically updated to reflect the new paragraph formatting and every paragraph that uses the paragraph style is also modified to right-align the paragraph text. This attribute can have a value of true or false.
18063 <define name="style-style-attlist" combine="interleave">   18476 <define name="style-style-attlist" combine="interleave">
18064         <optional>   18477         <optional>
18065                 <attribute name="style:auto-update" a:defaultValue="false">   18478                 <attribute name="style:auto-update" a:defaultValue="false">
18066                         <ref name="boolean"/>   18479                         <ref name="boolean"/>
18067                 </attribute>   18480                 </attribute>
18068         </optional>   18481         </optional>
18069 </define>   18482 </define>
18070 Data Style Name   18483 Data Style Name
18071 Table cell style can have an associated data style. This applies to automatic and common styles. The data style is referenced by the style:data-style-name attribute. See section 14.7 for details about data styles.   18484 Table cell style can have an associated data style. This applies to automatic and common styles. The data style is referenced by the style:data-style-name attribute. See section 14.7 for details about data styles.
18072 <define name="style-style-attlist" combine="interleave">   18485 <define name="style-style-attlist" combine="interleave">
18073         <optional>   18486         <optional>
18074                 <attribute name="style:data-style-name">   18487                 <attribute name="style:data-style-name">
18075                         <ref name="styleNameRef"/>   18488                         <ref name="styleNameRef"/>
18076                 </attribute>   18489                 </attribute>
18077         </optional>   18490         </optional>
18078 </define>   18491 </define>
18079 Class   18492 Class
18080 A style may belong to an arbitrary class of styles. The class is an arbitrary string. The class has no meaning within the file format itself, but it can for instance be evaluated by user interfaces to show a list of styles where the styles are grouped by its name.   18493 A style may belong to an arbitrary class of styles. The class is an arbitrary string. The class has no meaning within the file format itself, but it can for instance be evaluated by user interfaces to show a list of styles where the styles are grouped by its name.
18081 <define name="style-style-attlist" combine="interleave">   18494 <define name="style-style-attlist" combine="interleave">
18082         <optional>   18495         <optional>
18083                 <attribute name="style:class">   18496                 <attribute name="style:class">
18084                         <ref name="string"/>   18497                         <ref name="string"/>
18085                 </attribute>   18498                 </attribute>
18086         </optional>   18499         </optional>
18087 </define>   18500 </define>
18088 Outline Numbering Level   18501 Outline Numbering Level
18089 For style with family paragraph, the style:default-outline-level attribute specifies a default outline level. It takes a number like the text:outline-level attribute of the heading element <text:h>. If this attribute is existing for a paragraph style, and if the paragraph style is assigned to a paragraph by an user interface action, then office applications should convert the paragraph into a heading of the given level. However, the attribute has no effect to the differentiation of headings and paragraphs in the file format itself. The differentiation between headings and paragraphs still takes place by using either a <text:h> or a <text:p> element. If a <text:p> element references a paragraph style that has a style:default-outline-level attribute, the paragraph remains a paragraph and will not become a heading.   18502 For style with family paragraph, the style:default-outline-level attribute specifies a default outline level. It takes a number like the text:outline-level attribute of the heading element <text:h>. If this attribute is existing for a paragraph style, and if the paragraph style is assigned to a paragraph by an user interface action, then office applications should convert the paragraph into a heading of the given level. However, the attribute has no effect to the differentiation of headings and paragraphs in the file format itself. The differentiation between headings and paragraphs still takes place by using either a <text:h> or a <text:p> element. If a <text:p> element references a paragraph style that has a style:default-outline-level attribute, the paragraph remains a paragraph and will not become a heading.
18090 <define name="style-style-attlist" combine="interleave">   18503 <define name="style-style-attlist" combine="interleave">
18091         <optional>   18504         <optional>
18092                 <attribute name="style:default-outline-level">   18505                 <attribute name="style:default-outline-level">
18093                         <ref name="positiveInteger"/>   18506                         <ref name="positiveInteger"/>
18094                 </attribute>   18507                 </attribute>
18095         </optional>   18508         </optional>
18096 </define>   18509 </define>
18097 Formatting Properties   18510 Formatting Properties
18098 If a style has formatting attributes assigned, the style element contains one ore more formatting property container elements. See section 15 for detailed information about these element.   18511 If a style has formatting attributes assigned, the style element contains one ore more formatting property container elements. See section 15 for detailed information about these element.
18099 Sample Style   18512 Sample Style
18100 Example: OpenDocument representation of the “Text body” paragraph style   18513 Example: OpenDocument representation of the “Text body” paragraph style
18101 <style:style style:name="Text body" style:family="paragraph"   18514 <style:style style:name="Text body" style:family="paragraph"
18102              style:parent-style-name="Standard">   18515              style:parent-style-name="Standard">
18103         <style:paragraph-properties fo:margin-top="0cm"   18516         <style:paragraph-properties fo:margin-top="0cm"
18104                                     fo:margin-bottom=".21cm"/>   18517                                     fo:margin-bottom=".21cm"/>
18105 </style:style>   18518 </style:style>
18106 14.1.1Style Mappings   18519 14.1.1Style Mappings
18107 The <style:map> element specifies the mapping to another style, if certain conditions exist. If a style contains such mappings, it is called an conditional style. There is one element for every condition that the style uses.   18520 The <style:map> element specifies the mapping to another style, if certain conditions exist. If a style contains such mappings, it is called an conditional style. There is one element for every condition that the style uses.
18108 Conditional styles usually are supported by paragraph styles contained in text documents and table cell styles contained in spreadsheets only. Conditional styles are also supported by data styles.   18521 Conditional styles usually are supported by paragraph styles contained in text documents and table cell styles contained in spreadsheets only. Conditional styles are also supported by data styles.
18109 <define name="style-map">   18522 <define name="style-map">
18110         <element name="style:map">   18523         <element name="style:map">
18111                 <ref name="style-map-attlist"/>   18524                 <ref name="style-map-attlist"/>
18112                 <empty/>   18525                 <empty/>
18113         </element>   18526         </element>
18114 </define>   18527 </define>
18115 The attributes that may be associated with the <style:map> element are:   18528 The attributes that may be associated with the <style:map> element are:
18116 Condition   18529 Condition
18117 Applied style   18530 Applied style
18118 Base cell address   18531 Base cell address
18119 Condition   18532 Condition
18120 The style:condition attribute specifies the condition in which a style map should be applied.   18533 The style:condition attribute specifies the condition in which a style map should be applied.
18121 The value of this attribute is a Boolean expression. The syntax of the expression is similar to the XPath syntax. If an application detects a condition that it does not recognize, it must ignore the entire <style:map> element.   18534 The value of this attribute is a Boolean expression. The syntax of the expression is similar to the XPath syntax. If an application detects a condition that it does not recognize, it must ignore the entire <style:map> element.
18122 The following conditions are valid for paragraph styles:   18535 The following conditions are valid for paragraph styles:
18123 list-level()=n, where n is a number between 1 and 10   18536 list-level()=n, where n is a number between 1 and 10
18124 outline-level()=n, where n is a number between 1 and 10   18537 outline-level()=n, where n is a number between 1 and 10
18125 table() and table-header()   18538 table() and table-header()
18126 section()   18539 section()
18127 header() and footer()   18540 header() and footer()
18128 footnote() and endnote()   18541 footnote() and endnote()
18129 The following conditions are valid for paragraph styles:   18542 The following conditions are valid for paragraph styles:
18130 is-true-formula(formula)   18543 is-true-formula(formula)
18131 cell-content-is-between(value, value)   18544 cell-content-is-between(value, value)
18132 cell-content-is-not-between(value, value)   18545 cell-content-is-not-between(value, value)
18133 cell-content() operator value, where operator is one of; '<', '>', '<=', '>=', '=' or '!=', and value is a numberValue, a string or a formula.   18546 cell-content() operator value, where operator is one of; '<', '>', '<=', '>=', '=' or '!=', and value is a numberValue, a string or a formula.
18134 A numberValue is a whole or decimal number. The number cannot contain comma separators for numbers of 1000 or greater.   18547 A numberValue is a whole or decimal number. The number cannot contain comma separators for numbers of 1000 or greater.
18135 A string comprises one or more characters surrounded by quotation marks.   18548 A string comprises one or more characters surrounded by quotation marks.
18136 A formula is a formula (see 8.1.3) without the equals (=) sign at the beginning.   18549 A formula is a formula (see 8.1.3) without the equals (=) sign at the beginning.
18137 The following conditions are valid for data styles:   18550 The following conditions are valid for data styles:
18138 value() op n, where op is a relational operator and n is a number.   18551 value() op n, where op is a relational operator and n is a number.
18139 For Boolean styles the condition value must be true and false.   18552 For Boolean styles the condition value must be true and false.
18140 The conditions that apply for different types of styles may differ.   18553 The conditions that apply for different types of styles may differ.
18141 <define name="style-map-attlist" combine="interleave">   18554 <define name="style-map-attlist" combine="interleave">
18142         <attribute name="style:condition">   18555         <attribute name="style:condition">
18143                 <ref name="string"/>   18556                 <ref name="string"/>
18144         </attribute>   18557         </attribute>
18145 </define>   18558 </define>
18146 Applied Style   18559 Applied Style
18147 The style:apply-style-name attribute specifies the style to apply when the condition specified by the style:condition attribute is true. If the referenced style is undefined or is an automatic style, an error occurs.   18560 The style:apply-style-name attribute specifies the style to apply when the condition specified by the style:condition attribute is true. If the referenced style is undefined or is an automatic style, an error occurs.
18148 <define name="style-map-attlist" combine="interleave">   18561 <define name="style-map-attlist" combine="interleave">
18149         <attribute name="style:apply-style-name">   18562         <attribute name="style:apply-style-name">
18150                 <ref name="styleNameRef"/>   18563                 <ref name="styleNameRef"/>
18151         </attribute>   18564         </attribute>
18152 </define>   18565 </define>
18153 Base Cell Address   18566 Base Cell Address
18154 For table cell styles, the style:base-cell-address attribute specifies the base cell for relative addresses in formulas. This attribute only applies to cell styles where the condition contains a formula. The value of this attribute must be an absolute cell address with a table name.   18567 For table cell styles, the style:base-cell-address attribute specifies the base cell for relative addresses in formulas. This attribute only applies to cell styles where the condition contains a formula. The value of this attribute must be an absolute cell address with a table name.
18155 <define name="style-map-attlist" combine="interleave">   18568 <define name="style-map-attlist" combine="interleave">
18156         <optional>   18569         <optional>
18157                 <attribute name="style:base-cell-address">   18570                 <attribute name="style:base-cell-address">
18158                         <ref name="cellAddress"/>   18571                         <ref name="cellAddress"/>
18159                 </attribute>   18572                 </attribute>
18160         </optional>   18573         </optional>
18161 </define>   18574 </define>
18162 Example: Style mapping   18575 Example: Style mapping
18163 <style:style style:name="Text body" style:family="paragraph"   18576 <style:style style:name="Text body" style:family="paragraph"
18164              style:parent-style-name="Standard"   18577              style:parent-style-name="Standard"
18165              style:next-style-name="Text body">   18578              style:next-style-name="Text body">
18166         <style:paragraph-properties fo:margin-top="0cm"   18579         <style:paragraph-properties fo:margin-top="0cm"
18167                                     fo:margin-bottom=".21cm"/>   18580                                     fo:margin-bottom=".21cm"/>
18168         <style:map style:condition="footnote"   18581         <style:map style:condition="footnote"
18169                    style:apply-style-name="footnote"/>   18582                    style:apply-style-name="footnote"/>
18170         <style:map style:condition="heading(1)"   18583         <style:map style:condition="heading(1)"
18171                    style:apply-style-name="Heading 1"/>   18584                    style:apply-style-name="Heading 1"/>
18172         <style:map style:condition="heading(2)"   18585         <style:map style:condition="heading(2)"
18173                    style:apply-style-name="Heading 2"/>   18586                    style:apply-style-name="Heading 2"/>
18174 </style:style>   18587 </style:style>
18175 14.2Default Styles   18588 14.2Default Styles
18176 A default style specifies default formatting properties for a certain style family. These defaults are used if a formatting property is neither specified by an automatic nor a common style. Default styles exist for all style families that are represented by the <style:style> element specified in section 14.1.   18589 A default style specifies default formatting properties for a certain style family. These defaults are used if a formatting property is neither specified by an automatic nor a common style. Default styles exist for all style families that are represented by the <style:style> element specified in section 14.1.
18177 Default styles are represented by the <style:default-style> element. The only attribute supported by this element is style:family. Its meaning equals the one of the same attribute for the <style:style> element, and the same properties child elements are supported depending on the style family.   18590 Default styles are represented by the <style:default-style> element. The only attribute supported by this element is style:family. Its meaning equals the one of the same attribute for the <style:style> element, and the same properties child elements are supported depending on the style family.
18178 <define name="style-default-style">   18591 <define name="style-default-style">
18179         <element name="style:default-style">   18592         <element name="style:default-style">
18180                 <ref name="style-style-content"/>   18593                 <ref name="style-style-content"/>
18181         </element>   18594         </element>
18182 </define>   18595 </define>
18183 14.3Page Layout   18596 14.3Page Layout
18184 The <style:page-layout> element specifies the physical properties of a page. This element contains a <style:page-layout-properties> element which specifies the formatting properties of the page and two optional elements that specify the properties of headers and footers.   18597 The <style:page-layout> element specifies the physical properties of a page. This element contains a <style:page-layout-properties> element which specifies the formatting properties of the page and two optional elements that specify the properties of headers and footers.
18185 <define name="style-page-layout">   18598 <define name="style-page-layout">
18186         <element name="style:page-layout">   18599         <element name="style:page-layout">
18187                 <ref name="style-page-layout-attlist"/>   18600                 <ref name="style-page-layout-attlist"/>
18188                 <optional>   18601                 <optional>
18189                         <ref name="style-page-layout-properties"/>   18602                         <ref name="style-page-layout-properties"/>
18190                 </optional>   18603                 </optional>
18191                 <optional>   18604                 <optional>
18192                         <ref name="style-header-style"/>   18605                         <ref name="style-header-style"/>
18193                 </optional>   18606                 </optional>
18194                 <optional>   18607                 <optional>
18195                         <ref name="style-footer-style"/>   18608                         <ref name="style-footer-style"/>
18196                 </optional>   18609                 </optional>
18197         </element>   18610         </element>
18198 </define>   18611 </define>
18199 The attributes that may be associated with the <style:page-layout> element are:   18612 The attributes that may be associated with the <style:page-layout> element are:
18200 Name   18613 Name
18201 Page usage   18614 Page usage
18202 Name   18615 Name
18203 The style:name attribute specifies the name of the page layout.   18616 The style:name attribute specifies the name of the page layout.
18204 <define name="style-page-layout-attlist" combine="interleave">   18617 <define name="style-page-layout-attlist" combine="interleave">
18205         <attribute name="style:name">   18618         <attribute name="style:name">
18206                 <ref name="styleName"/>   18619                 <ref name="styleName"/>
18207         </attribute>   18620         </attribute>
18208 </define>   18621 </define>
18209 Page Usage   18622 Page Usage
18210 The style:page-usage attribute specifies the type of pages that the page master should generate.   18623 The style:page-usage attribute specifies the type of pages that the page master should generate.
18211 <define name="style-page-layout-attlist" combine="interleave">   18624 <define name="style-page-layout-attlist" combine="interleave">
18212         <optional>   18625         <optional>
18213                 <attribute name="style:page-usage" a:defaultValue="all">   18626                 <attribute name="style:page-usage" a:defaultValue="all">
18214                         <choice>   18627                         <choice>
18215                                 <value>all</value>   18628                                 <value>all</value>
18216                                 <value>left</value>   18629                                 <value>left</value>
18217                                 <value>right</value>   18630                                 <value>right</value>
18218                                 <value>mirrored</value>   18631                                 <value>mirrored</value>
18219                         </choice>   18632                         </choice>
18220                 </attribute>   18633                 </attribute>
18221         </optional>   18634         </optional>
18222 </define>   18635 </define>
18223 14.3.1Header and Footer Styles   18636 14.3.1Header and Footer Styles
18224 The header and footer style elements <style:header-style> and <style:footer-style> specify the formatting properties for headers and footers on a page. These elements must be contained within a page layout element. The contain a <style:header-footer-properties> element that contains the formatting properties of the header or footer.   18637 The header and footer style elements <style:header-style> and <style:footer-style> specify the formatting properties for headers and footers on a page. These elements must be contained within a page layout element. The contain a <style:header-footer-properties> element that contains the formatting properties of the header or footer.
18225 <define name="style-header-style">   18638 <define name="style-header-style">
18226         <element name="style:header-style">   18639         <element name="style:header-style">
18227                 <optional>   18640                 <optional>
18228                         <ref name="style-header-footer-properties"/>   18641                         <ref name="style-header-footer-properties"/>
18229                 </optional>   18642                 </optional>
18230         </element>   18643         </element>
18231 </define>   18644 </define>
18232 <define name="style-footer-style">   18645 <define name="style-footer-style">
18233         <element name="style:footer-style">   18646         <element name="style:footer-style">
18234                 <optional>   18647                 <optional>
18235                         <ref name="style-header-footer-properties"/>   18648                         <ref name="style-header-footer-properties"/>
18236                 </optional>   18649                 </optional>
18237         </element>   18650         </element>
18238 </define>   18651 </define>
18239 14.4Master Pages   18652 14.4Master Pages
18240 In text and spreadsheet documents, the <style:master-page> element contains the content of headers and footers. In these applications, a sequence of pages is generated by making use of a single master page or a set of master pages.   18653 In text and spreadsheet documents, the <style:master-page> element contains the content of headers and footers. In these applications, a sequence of pages is generated by making use of a single master page or a set of master pages.
18241 In drawing and presentation documents, the <style:master-page> element is used to define master pages as common backgrounds for drawing pages. Each drawing page here is directly linked to one master page, which is specified by the draw:master-page-name attribute of the drawing pages style.   18654 In drawing and presentation documents, the <style:master-page> element is used to define master pages as common backgrounds for drawing pages. Each drawing page here is directly linked to one master page, which is specified by the draw:master-page-name attribute of the drawing pages style.
18242 Master pages are contained in the <office:master-styles> element. See also section 2.8.   18655 Master pages are contained in the <office:master-styles> element. See also section 2.8.
18243 All document must contain at least one master page element.   18656 All document must contain at least one master page element.
18244 <define name="style-master-page">   18657 <define name="style-master-page">
18245         <element name="style:master-page">   18658         <element name="style:master-page">
18246                 <ref name="style-master-page-attlist"/>   18659                 <ref name="style-master-page-attlist"/>
18247                 <optional>   18660                 <optional>
18248                         <ref name="style-header"/>   18661                         <ref name="style-header"/>
18249                         <optional>   18662                         <optional>
18250                                 <ref name="style-header-left"/>   18663                                 <ref name="style-header-left"/>
18251                         </optional>   18664                         </optional>
18252                 </optional>   18665                 </optional>
18253                 <optional>   18666                 <optional>
18254                         <ref name="style-footer"/>   18667                         <ref name="style-footer"/>
18255                         <optional>   18668                         <optional>
18256                                 <ref name="style-footer-left"/>   18669                                 <ref name="style-footer-left"/>
18257                         </optional>   18670                         </optional>
18258                 </optional>   18671                 </optional>
18259                 <optional>   18672                 <optional>
18260                         <ref name="office-forms"/>   18673                         <ref name="office-forms"/>
18261                 </optional>   18674                 </optional>
18262                 <zeroOrMore>   18675                 <zeroOrMore>
18263                         <ref name="style-style"/>   18676                         <ref name="style-style"/>
18264                 </zeroOrMore>   18677                 </zeroOrMore>
18265                 <zeroOrMore>   18678                 <zeroOrMore>
18266                         <ref name="shape"/>   18679                         <ref name="shape"/>
18267                 </zeroOrMore>   18680                 </zeroOrMore>
18268                 <optional>   18681                 <optional>
18269                         <ref name="presentation-notes"/>   18682                         <ref name="presentation-notes"/>
18270                 </optional>   18683                 </optional>
18271         </element>   18684         </element>
18272 </define>   18685 </define>
18273 The attributes that may be associated with the <style:master-page> element are:   18686 The attributes that may be associated with the <style:master-page> element are:
18274 Page name   18687 Page name
18275 Display name   18688 Display name
18276 Page layout   18689 Page layout
18277 Page style   18690 Page style
18278 Next style name   18691 Next style name
18279 The elements that my be included in the <style:master-page> element are:   18692 The elements that my be included in the <style:master-page> element are:
18280 Headers and Footers   18693 Headers and Footers
18281 Forms   18694 Forms
18282 Styles   18695 Styles
18283 Shapes   18696 Shapes
18284 Presentation notes   18697 Presentation notes
18285 Page Name   18698 Page Name
18286 The style:name attribute specifies the name of a master page. Each master page is referenced using the page name. This attribute is required and the name specified must be unique.   18699 The style:name attribute specifies the name of a master page. Each master page is referenced using the page name. This attribute is required and the name specified must be unique.
18287 <define name="style-master-page-attlist" combine="interleave">   18700 <define name="style-master-page-attlist" combine="interleave">
18288         <attribute name="style:name">   18701         <attribute name="style:name">
18289                 <ref name="styleName"/>   18702                 <ref name="styleName"/>
18290         </attribute>   18703         </attribute>
18291 </define>   18704 </define>
18292 Display Name   18705 Display Name
18293 The style:display-name attribute specifies the name of the master as it should appear in the user interface. In contrast to the style name itself, this name may contain arbitrary characters. If this attribute is not present, the display name equals the style name.   18706 The style:display-name attribute specifies the name of the master as it should appear in the user interface. In contrast to the style name itself, this name may contain arbitrary characters. If this attribute is not present, the display name equals the style name.
18294 <define name="style-master-page-attlist" combine="interleave">   18707 <define name="style-master-page-attlist" combine="interleave">
18295         <optional>   18708         <optional>
18296                 <attribute name="style:display-name">   18709                 <attribute name="style:display-name">
18297                         <ref name="string"/>   18710                         <ref name="string"/>
18298                 </attribute>   18711                 </attribute>
18299         </optional>   18712         </optional>
18300 </define>   18713 </define>
18301 Page Layout   18714 Page Layout
18302 The style:page-layout-name attribute specifies a page layout which contains the sizes, border and orientation of the master page. See section 14.3 for details on page layouts.   18715 The style:page-layout-name attribute specifies a page layout which contains the sizes, border and orientation of the master page. See section 14.3 for details on page layouts.
18303 <define name="style-master-page-attlist" combine="interleave">   18716 <define name="style-master-page-attlist" combine="interleave">
18304         <attribute name="style:page-layout-name">   18717         <attribute name="style:page-layout-name">
18305                 <ref name="styleNameRef"/>   18718                 <ref name="styleNameRef"/>
18306         </attribute>   18719         </attribute>
18307 </define>   18720 </define>
18308 Page Style   18721 Page Style
18309 In graphic applications, additional drawing page attributes my be assigned to a drawing page using the draw:style-name attribute. This attribute is optional. The fixed family for page styles is drawing-page. This is used to define an optional background filling.   18722 In graphic applications, additional drawing page attributes my be assigned to a drawing page using the draw:style-name attribute. This attribute is optional. The fixed family for page styles is drawing-page. This is used to define an optional background filling.
18310 <define name="style-master-page-attlist" combine="interleave">   18723 <define name="style-master-page-attlist" combine="interleave">
18311         <optional>   18724         <optional>
18312                 <attribute name="draw:style-name">   18725                 <attribute name="draw:style-name">
18313                         <ref name="styleNameRef"/>   18726                         <ref name="styleNameRef"/>
18314                 </attribute>   18727                 </attribute>
18315         </optional>   18728         </optional>
18316 </define>   18729 </define>
18317 Next Style Name   18730 Next Style Name
18318 For text and spreadsheet documents, the style:next-style-name attribute identifies the master page that is used for the next page if the current page is entirely filled. This attribute is optional. If the next style name is not specified, the current master page is used for the next page. The value of this attribute must be the name of another style:master-page element.   18731 For text and spreadsheet documents, the style:next-style-name attribute identifies the master page that is used for the next page if the current page is entirely filled. This attribute is optional. If the next style name is not specified, the current master page is used for the next page. The value of this attribute must be the name of another style:master-page element.
18319 <define name="style-master-page-attlist" combine="interleave">   18732 <define name="style-master-page-attlist" combine="interleave">
18320         <optional>   18733         <optional>
18321                 <attribute name="style:next-style-name">   18734                 <attribute name="style:next-style-name">
18322                         <ref name="styleNameRef"/>   18735                         <ref name="styleNameRef"/>
18323                 </attribute>   18736                 </attribute>
18324         </optional>   18737         </optional>
18325 </define>   18738 </define>
18326 14.4.1Headers and Footers   18739 14.4.1Headers and Footers
18327 The header and footer elements specify the content of headers and footers. They are contained within a master page element. The <style:header> and <style:footer> elements contain the content of headers and footers. The two additional elements, <style:header-left> and <style:footer-left>, can be used to specify different content for left pages, if appropriate. If the latter two elements are missing, the content of the headers and footers on left and right pages is the same.   18740 The header and footer elements specify the content of headers and footers. They are contained within a master page element. The <style:header> and <style:footer> elements contain the content of headers and footers. The two additional elements, <style:header-left> and <style:footer-left>, can be used to specify different content for left pages, if appropriate. If the latter two elements are missing, the content of the headers and footers on left and right pages is the same.
18328 If the style:page-usage attribute associated with the page layout has a value of all or mirrored and there are no <style:header-left> or <style:footer-left> elements, the header and footer content is the same for left and right pages.   18741 If the style:page-usage attribute associated with the page layout has a value of all or mirrored and there are no <style:header-left> or <style:footer-left> elements, the header and footer content is the same for left and right pages.
18329 If the style:page-usage attribute has a value of left or right, the  <style:header-left> or <style:footer-left> elements are ignored.   18742 If the style:page-usage attribute has a value of left or right, the  <style:header-left> or <style:footer-left> elements are ignored.
18330 The content of headers and footers is either:   18743 The content of headers and footers is either:
18331 Standard text content, for example paragraphs, tables, or lists. Such headers and footers usually are supported by text documents.   18744 Standard text content, for example paragraphs, tables, or lists. Such headers and footers usually are supported by text documents.
18332 A sequence of any of the following elements; <style:region-left>, <style:region-center> and <style:region-right>. These elements usually are supported by spreadsheet documents.   18745 A sequence of any of the following elements; <style:region-left>, <style:region-center> and <style:region-right>. These elements usually are supported by spreadsheet documents.
18333 Empty, which switches off the display of all headers or footers. It is not possible to switch off the display of headers or footers for left pages only.   18746 Empty, which switches off the display of all headers or footers. It is not possible to switch off the display of headers or footers for left pages only.
18334 <define name="style-header">   18747 <define name="style-header">
18335         <element name="style:header">   18748         <element name="style:header">
18336                 <ref name="common-style-header-footer-attlist"/>   18749                 <ref name="common-style-header-footer-attlist"/>
18337                 <ref name="header-footer-content"/>   18750                 <ref name="header-footer-content"/>
18338         </element>   18751         </element>
18339 </define>   18752 </define>
18340 <define name="style-footer">   18753 <define name="style-footer">
18341         <element name="style:footer">   18754         <element name="style:footer">
18342                 <ref name="common-style-header-footer-attlist"/>   18755                 <ref name="common-style-header-footer-attlist"/>
18343                 <ref name="header-footer-content"/>   18756                 <ref name="header-footer-content"/>
18344         </element>   18757         </element>
18345 </define>   18758 </define>
18346 <define name="style-header-left">   18759 <define name="style-header-left">
18347         <element name="style:header-left">   18760         <element name="style:header-left">
18348                 <ref name="common-style-header-footer-attlist"/>   18761                 <ref name="common-style-header-footer-attlist"/>
18349                 <ref name="header-footer-content"/>   18762                 <ref name="header-footer-content"/>
18350         </element>   18763         </element>
18351 </define>   18764 </define>
18352 <define name="style-footer-left">   18765 <define name="style-footer-left">
18353         <element name="style:footer-left">   18766         <element name="style:footer-left">
18354                 <ref name="common-style-header-footer-attlist"/>   18767                 <ref name="common-style-header-footer-attlist"/>
18355                 <ref name="header-footer-content"/>   18768                 <ref name="header-footer-content"/>
18356         </element>   18769         </element>
18357 </define>   18770 </define>
18358 <define name="header-footer-content">   18771 <define name="header-footer-content">
18359         <choice>   18772         <choice>
18360                 <group>   18773                 <group>
    -+ 18774                         <ref name="text-tracked-changes"/>
18361                         <ref name="text-decls"/> = 18775                         <ref name="text-decls"/>
18362                         <zeroOrMore>   18776                         <zeroOrMore>
18363                                 <choice>   18777                                 <choice>
18364                                         <ref name="text-h"/>   18778                                         <ref name="text-h"/>
18365                                         <ref name="text-p"/>   18779                                         <ref name="text-p"/>
18366                                         <ref name="text-list"/>   18780                                         <ref name="text-list"/>
18367                                         <ref name="table-table"/>   18781                                         <ref name="table-table"/>
18368                                         <ref name="text-section"/>   18782                                         <ref name="text-section"/>
18369                                         <ref name="text-table-of-content"/>   18783                                         <ref name="text-table-of-content"/>
18370                                         <ref name="text-illustration-index"/>   18784                                         <ref name="text-illustration-index"/>
18371                                         <ref name="text-table-index"/>   18785                                         <ref name="text-table-index"/>
18372                                         <ref name="text-object-index"/>   18786                                         <ref name="text-object-index"/>
18373                                         <ref name="text-user-index"/>   18787                                         <ref name="text-user-index"/>
18374                                         <ref name="text-alphabetical-index"/>   18788                                         <ref name="text-alphabetical-index"/>
18375                                         <ref name="text-bibliography"/>   18789                                         <ref name="text-bibliography"/>
18376                                         <ref name="text-index-title"/>   18790                                         <ref name="text-index-title"/>
18377                                         <ref name="change-marks"/>   18791                                         <ref name="change-marks"/>
18378                                 </choice>   18792                                 </choice>
18379                         </zeroOrMore>   18793                         </zeroOrMore>
18380                 </group>   18794                 </group>
18381                 <group>   18795                 <group>
18382                         <optional>   18796                         <optional>
18383                                 <ref name="style-region-left"/>   18797                                 <ref name="style-region-left"/>
18384                         </optional>   18798                         </optional>
18385                         <optional>   18799                         <optional>
18386                                 <ref name="style-region-center"/>   18800                                 <ref name="style-region-center"/>
18387                         </optional>   18801                         </optional>
18388                         <optional>   18802                         <optional>
18389                                 <ref name="style-region-right"/>   18803                                 <ref name="style-region-right"/>
18390                         </optional>   18804                         </optional>
18391                 </group>   18805                 </group>
18392         </choice>   18806         </choice>
18393 </define>   18807 </define>
18394 Display   18808 Display
18395 The style:display attribute specifies whether the header or footer is displayed or not.   18809 The style:display attribute specifies whether the header or footer is displayed or not.
18396 <define name="common-style-header-footer-attlist" combine="interleave">   18810 <define name="common-style-header-footer-attlist" combine="interleave">
18397         <optional>   18811         <optional>
18398                 <attribute name="style:display" a:defaultValue="true">   18812                 <attribute name="style:display" a:defaultValue="true">
18399                         <ref name="boolean"/>   18813                         <ref name="boolean"/>
18400                 </attribute>   18814                 </attribute>
18401         </optional>   18815         </optional>
18402 </define>   18816 </define>
18403 Regions   18817 Regions
18404 The region elements <style:region-left>, <style:region-center> and <style:region-right> specify three regions of a header or footer that are displayed left aligned, centered or right aligned. Each of these regions can contain a sequence of paragraphs.   18818 The region elements <style:region-left>, <style:region-center> and <style:region-right> specify three regions of a header or footer that are displayed left aligned, centered or right aligned. Each of these regions can contain a sequence of paragraphs.
18405 <define name="style-region-left">   18819 <define name="style-region-left">
18406         <element name="style:region-left">   18820         <element name="style:region-left">
18407                 <ref name="region-content"/>   18821                 <ref name="region-content"/>
18408         </element>   18822         </element>
18409 </define>   18823 </define>
18410 <define name="style-region-center">   18824 <define name="style-region-center">
18411         <element name="style:region-center">   18825         <element name="style:region-center">
18412                 <ref name="region-content"/>   18826                 <ref name="region-content"/>
18413         </element>   18827         </element>
18414 </define>   18828 </define>
18415 <define name="style-region-right">   18829 <define name="style-region-right">
18416         <element name="style:region-right">   18830         <element name="style:region-right">
18417                 <ref name="region-content"/>   18831                 <ref name="region-content"/>
18418         </element>   18832         </element>
18419 </define>   18833 </define>
18420     18834  
18421 <define name="region-content">   18835 <define name="region-content">
18422         <zeroOrMore>   18836         <zeroOrMore>
18423                 <ref name="text-p"/>   18837                 <ref name="text-p"/>
18424         </zeroOrMore>   18838         </zeroOrMore>
18425 </define>   18839 </define>
18426 14.4.2Presentation Notes   18840 14.4.2Presentation Notes
18427 The <presentation:notes> element is usually supported only by presentation applications, where each master page as well as each drawing page in a presentation can have an additional presentation notes page. The presentation notes page contains:   18841 The <presentation:notes> element is usually supported only by presentation applications, where each master page as well as each drawing page in a presentation can have an additional presentation notes page. The presentation notes page contains:
18428 A preview of the drawing page.   18842 A preview of the drawing page.
18429 Additional graphic shapes as contained in the <presentation:notes> element. While the <presentation:notes> may contain any kind of shapes, the only shape type that should be supported by presentation applications are text boxes (i.e., <draw:text-box> contained in a <draw:frame>).   18843 Additional graphic shapes as contained in the <presentation:notes> element. While the <presentation:notes> may contain any kind of shapes, the only shape type that should be supported by presentation applications are text boxes (i.e., <draw:text-box> contained in a <draw:frame>).
18430 <define name="presentation-notes">   18844 <define name="presentation-notes">
18431         <element name="presentation:notes">   18845         <element name="presentation:notes">
18432                 <ref name="common-presentation-header-footer-attlist"/>   18846                 <ref name="common-presentation-header-footer-attlist"/>
18433                 <ref name="presentation-notes-attlist"/>   18847                 <ref name="presentation-notes-attlist"/>
    -+ 18848                 <ref name="office-forms"/>
18434                 <zeroOrMore> = 18849                 <zeroOrMore>
18435                         <ref name="shape"/>   18850                         <ref name="shape"/>
18436                 </zeroOrMore>   18851                 </zeroOrMore>
18437         </element>   18852         </element>
18438 </define>   18853 </define>
18439 Page Layout   18854 Page Layout
18440 The style:page-layout-name attribute specifies a page layout which contains the sizes, border and orientation of the notes page. See section 14.3 for details on page layouts.   18855 The style:page-layout-name attribute specifies a page layout which contains the sizes, border and orientation of the notes page. See section 14.3 for details on page layouts.
18441 <define name="presentation-notes-attlist" combine="interleave">   18856 <define name="presentation-notes-attlist" combine="interleave">
18442         <optional>   18857         <optional>
18443                 <attribute name="style:page-layout-name">   18858                 <attribute name="style:page-layout-name">
18444                         <ref name="styleNameRef"/>   18859                         <ref name="styleNameRef"/>
18445                 </attribute>   18860                 </attribute>
18446         </optional>   18861         </optional>
18447 </define>   18862 </define>
18448 Page Style   18863 Page Style
18449 The attribute draw:style-name assigns an additional formatting attributes to a notes page by assigning a drawing page style. This attribute is optional. The fixed family for page styles is drawing-page.   18864 The attribute draw:style-name assigns an additional formatting attributes to a notes page by assigning a drawing page style. This attribute is optional. The fixed family for page styles is drawing-page.
18450 <define name="presentation-notes-attlist" combine="interleave">   18865 <define name="presentation-notes-attlist" combine="interleave">
18451         <optional>   18866         <optional>
18452                 <attribute name="draw:style-name">   18867                 <attribute name="draw:style-name">
18453                         <ref name="styleNameRef"/>   18868                         <ref name="styleNameRef"/>
18454                 </attribute>   18869                 </attribute>
18455         </optional>   18870         </optional>
18456 </define>   18871 </define>
18457 Header Declaration   18872 Header Declaration
18458 The presentation:use-header-name attribute specifies the name of the header field declaration (see section 9.11.2) that is used for all header fields (see section 9.10.1) that are displayed on the notes page. See also section 9.1.4.   18873 The presentation:use-header-name attribute specifies the name of the header field declaration (see section 9.11.2) that is used for all header fields (see section 9.10.1) that are displayed on the notes page. See also section 9.1.4.
18459 Footer Declaration   18874 Footer Declaration
18460 The presentation:use-footer-name attribute specifies the name of the footer field declaration (see section 9.11.3) that is used for all footer fields (see section 9.10.2) that are displayed on the notes page. See also section 9.1.4.   18875 The presentation:use-footer-name attribute specifies the name of the footer field declaration (see section 9.11.3) that is used for all footer fields (see section 9.10.2) that are displayed on the notes page. See also section 9.1.4.
18461 Date and Time Declaration   18876 Date and Time Declaration
18462 The presentation:use-date-time-name attribute specifies the name of the date-time field declaration (see section 9.11.4) that is used for all date-time fields (see section 9.10.3) that are displayed on the notes page. See also section 9.1.4.   18877 The presentation:use-date-time-name attribute specifies the name of the date-time field declaration (see section 9.11.4) that is used for all date-time fields (see section 9.10.3) that are displayed on the notes page. See also section 9.1.4.
18463 Example: Master page containing presentation notes.   18878 Example: Master page containing presentation notes.
18464 <office:master-styles>   18879 <office:master-styles>
18465         ...   18880         ...
18466         <style:master-page style:name="home" style:page-layout="default">   18881         <style:master-page style:name="home" style:page-layout="default">
18467                 <style:style style:name="title" style:family="presentation">   18882                 <style:style style:name="title" style:family="presentation">
18468                         <style:text-properties fo:font-style="italic"/>   18883                         <style:text-properties fo:font-style="italic"/>
18469                 </style:style>   18884                 </style:style>
18470                 <style:style style:name="subtitle" style:family="presentation"   18885                 <style:style style:name="subtitle" style:family="presentation"
18471                                         style:parent-style-name="title">   18886                                         style:parent-style-name="title">
18472                         <style:text-properties style:text-outline="true"/>   18887                         <style:text-properties style:text-outline="true"/>
18473                 </style:style>   18888                 </style:style>
18474                 <draw:rectangle .../>   18889                 <draw:rectangle .../>
18475                         <presentation:notes>   18890                         <presentation:notes>
18476                                 <draw:text ...>this is a note</draw:text>   18891                                 <draw:text ...>this is a note</draw:text>
18477                         </presentation:notes>   18892                         </presentation:notes>
18478         </style:master-page>   18893         </style:master-page>
18479         ...   18894         ...
18480 </office:master-styles>   18895 </office:master-styles>
18481 14.5Table Templates   18896 14.5Table Templates
18482 A table template is a set formatting properties, like borders, background color, and text properties that can be applied to a table when creating it. In contrast to other styles, it is not referenced by a  table, but if a table is created, a set of table-cell styles is created from the table template. To change the formatting properties of a table, the cell styles and other styles themselves have to be changed. Table are contained in the <style:master-styles> element.   18897 A table template is a set formatting properties, like borders, background color, and text properties that can be applied to a table when creating it. In contrast to other styles, it is not referenced by a  table, but if a table is created, a set of table-cell styles is created from the table template. To change the formatting properties of a table, the cell styles and other styles themselves have to be changed. Table are contained in the <style:master-styles> element.
18483 <define name="table-table-template">   18898 <define name="table-table-template">
18484         <element name="table:table-template">   18899         <element name="table:table-template">
18485                 <ref name="table-table-template-attlist"/>   18900                 <ref name="table-table-template-attlist"/>
18486                 <optional>   18901                 <optional>
18487                         <ref name="table-first-row"/>   18902                         <ref name="table-first-row"/>
18488                 </optional>   18903                 </optional>
18489                 <optional>   18904                 <optional>
18490                         <ref name="table-last-row"/>   18905                         <ref name="table-last-row"/>
18491                 </optional>   18906                 </optional>
18492                 <optional>   18907                 <optional>
18493                         <ref name="table-first-column"/>   18908                         <ref name="table-first-column"/>
18494                 </optional>   18909                 </optional>
18495                 <optional>   18910                 <optional>
18496                         <ref name="table-last-column"/>   18911                         <ref name="table-last-column"/>
18497                 </optional>   18912                 </optional>
18498                 <choice>   18913                 <choice>
18499                         <ref name="table-body"/>   18914                         <ref name="table-body"/>
18500                         <group>   18915                         <group>
18501                                 <ref name="table-even-rows"/>   18916                                 <ref name="table-even-rows"/>
18502                                 <ref name="table-odd-rows"/>   18917                                 <ref name="table-odd-rows"/>
18503                         </group>   18918                         </group>
18504                         <group>   18919                         <group>
18505                                 <ref name="table-even-columns"/>   18920                                 <ref name="table-even-columns"/>
18506                                 <ref name="table-odd-columns"/>   18921                                 <ref name="table-odd-columns"/>
18507                         </group>   18922                         </group>
18508                 </choice>   18923                 </choice>
18509         </element>   18924         </element>
18510 </define>   18925 </define>
18511 Style Name   18926 Style Name
18512 The table:name attribute specifies the name of the table template.   18927 The table:name attribute specifies the name of the table template.
18513 <define name="table-table-template-attlist" combine="interleave">   18928 <define name="table-table-template-attlist" combine="interleave">
18514         <attribute name="text:name">   18929         <attribute name="text:name">
18515                 <ref name="string"/>   18930                 <ref name="string"/>
18516         </attribute>   18931         </attribute>
18517 </define>   18932 </define>
18518 Corner Styles   18933 Corner Styles
18519 The attributes table:first-row-start-column, table:first-row-end-column, table:last-row-start-column and table:last-row-end-column specify whether the cells in the four corners of the table should get the style from the row they are in or from the column. The possible values of these attributes are row and column.   18934 The attributes table:first-row-start-column, table:first-row-end-column, table:last-row-start-column and table:last-row-end-column specify whether the cells in the four corners of the table should get the style from the row they are in or from the column. The possible values of these attributes are row and column.
18520 <define name="table-table-template-attlist" combine="interleave">   18935 <define name="table-table-template-attlist" combine="interleave">
18521         <attribute name="text:first-row-start-column">   18936         <attribute name="text:first-row-start-column">
18522                 <ref name="rowOrCol"/>   18937                 <ref name="rowOrCol"/>
18523         </attribute>   18938         </attribute>
18524 </define>   18939 </define>
18525     18940  
18526 <define name="table-table-template-attlist" combine="interleave">   18941 <define name="table-table-template-attlist" combine="interleave">
18527         <attribute name="text:first-row-end-column">   18942         <attribute name="text:first-row-end-column">
18528                 <ref name="rowOrCol"/>   18943                 <ref name="rowOrCol"/>
18529         </attribute>   18944         </attribute>
18530 </define>   18945 </define>
18531     18946  
18532 <define name="table-table-template-attlist" combine="interleave">   18947 <define name="table-table-template-attlist" combine="interleave">
18533         <attribute name="text:last-row-start-column">   18948         <attribute name="text:last-row-start-column">
18534                 <ref name="rowOrCol"/>   18949                 <ref name="rowOrCol"/>
18535         </attribute>   18950         </attribute>
18536 </define>   18951 </define>
18537     18952  
18538 <define name="table-table-template-attlist" combine="interleave">   18953 <define name="table-table-template-attlist" combine="interleave">
18539         <attribute name="text:last-row-end-column">   18954         <attribute name="text:last-row-end-column">
18540                 <ref name="rowOrCol"/>   18955                 <ref name="rowOrCol"/>
18541         </attribute>   18956         </attribute>
18542 </define>   18957 </define>
18543     18958  
18544 <define name="rowOrCol">   18959 <define name="rowOrCol">
18545         <choice>   18960         <choice>
18546                 <value>row</value>   18961                 <value>row</value>
18547                 <value>column</value>   18962                 <value>column</value>
18548         </choice>   18963         </choice>
18549 </define>   18964 </define>
18550 14.5.1Row and Column Styles   18965 14.5.1Row and Column Styles
18551 The elements <table:first-row> and <table:last-row> specify the cell styles that shall be applied to the first and last row of a table. They have a table:style-name attribute that references these styles. <> 18966 The elements <table:first-row> and <table:last-row> specify the cell styles that shall be applied to the first and last row of a table. They have a text:style-name attribute that references these styles.
      18967 The optional text:paragraph-style-name attribute specifies the paragraph style which should be applied to the empty paragraphs created in the corresponding cells
18552 The elements <table:first-col> and <table:last-col> do the same for the first and last table column. = 18968 The elements <table:first-col> and <table:last-col> do the same for the first and last table column.
18553 For the remaining cells, the cells styles can either be specified by the <table:body> element, or by the <table:even-rows>/<table:odd-rows> or <table:even-columns>/<table:odd-columns> element pairs if different cell styles should be applied to even and odd rows or columns.   18969 For the remaining cells, the cells styles can either be specified by the <table:body> element, or by the <table:even-rows>/<table:odd-rows> or <table:even-columns>/<table:odd-columns> element pairs if different cell styles should be applied to even and odd rows or columns.
18554 <define name="table-first-row">   18970 <define name="table-first-row">
18555         <element name="table:first-row">   18971         <element name="table:first-row">
18556                 <ref name="common-table-template-attlist"/>   18972                 <ref name="common-table-template-attlist"/>
18557                 <empty/>   18973                 <empty/>
18558         </element>   18974         </element>
18559 </define>   18975 </define>
18560     18976  
18561 <define name="table-last-row">   18977 <define name="table-last-row">
18562         <element name="table:last-row">   18978         <element name="table:last-row">
18563                 <ref name="common-table-template-attlist"/>   18979                 <ref name="common-table-template-attlist"/>
18564                 <empty/>   18980                 <empty/>
18565         </element>   18981         </element>
18566 </define>   18982 </define>
18567     18983  
18568 <define name="table-first-column">   18984 <define name="table-first-column">
18569         <element name="table:first-column">   18985         <element name="table:first-column">
18570                 <ref name="common-table-template-attlist"/>   18986                 <ref name="common-table-template-attlist"/>
18571                 <empty/>   18987                 <empty/>
18572         </element>   18988         </element>
18573 </define>   18989 </define>
18574     18990  
18575 <define name="table-last-column">   18991 <define name="table-last-column">
18576         <element name="table:last-column">   18992         <element name="table:last-column">
18577                 <ref name="common-table-template-attlist"/>   18993                 <ref name="common-table-template-attlist"/>
18578                 <empty/>   18994                 <empty/>
18579         </element>   18995         </element>
18580 </define>   18996 </define>
18581     18997  
18582 <define name="table-body">   18998 <define name="table-body">
18583         <element name="table:body">   18999         <element name="table:body">
18584                 <ref name="common-table-template-attlist"/>   19000                 <ref name="common-table-template-attlist"/>
18585                 <empty/>   19001                 <empty/>
18586         </element>   19002         </element>
18587 </define>   19003 </define>
18588     19004  
18589 <define name="table-even-rows">   19005 <define name="table-even-rows">
18590         <element name="table:even-rows">   19006         <element name="table:even-rows">
18591                 <ref name="common-table-template-attlist"/>   19007                 <ref name="common-table-template-attlist"/>
18592                 <empty/>   19008                 <empty/>
18593         </element>   19009         </element>
18594 </define>   19010 </define>
18595     19011  
18596 <define name="table-odd-rows">   19012 <define name="table-odd-rows">
18597         <element name="table:odd-rows">   19013         <element name="table:odd-rows">
18598                 <ref name="common-table-template-attlist"/>   19014                 <ref name="common-table-template-attlist"/>
18599                 <empty/>   19015                 <empty/>
18600         </element>   19016         </element>
18601 </define>   19017 </define>
18602     19018  
18603 <define name="table-even-columns">   19019 <define name="table-even-columns">
18604         <element name="table:even-columns">   19020         <element name="table:even-columns">
18605                 <ref name="common-table-template-attlist"/>   19021                 <ref name="common-table-template-attlist"/>
18606                 <empty/>   19022                 <empty/>
18607         </element>   19023         </element>
18608 </define>   19024 </define>
18609     19025  
18610 <define name="table-odd-columns">   19026 <define name="table-odd-columns">
18611         <element name="table:odd-columns">   19027         <element name="table:odd-columns">
18612                 <ref name="common-table-template-attlist"/>   19028                 <ref name="common-table-template-attlist"/>
18613                 <empty/>   19029                 <empty/>
18614         </element>   19030         </element>
18615 </define>   19031 </define>
18616     19032  
18617 <define name="common-table-template-attlist" combine="interleave">   19033 <define name="common-table-template-attlist" combine="interleave">
18618         <attribute name="text:style-name">   19034         <attribute name="text:style-name">
18619                 <ref name="styleNameRef"/>   19035                 <ref name="styleNameRef"/>
    -+ 19036         </attribute>
      19037         <attribute name="text:paragraph-style-name">
      19038                 <optional>
      19039                         <ref name="styleNameRef"/>
      19040                 </optional>
18620         </attribute> = 19041         </attribute>
18621 </define>   19042 </define>
18622 14.6Font Face Declaration   19043 14.6Font Face Declaration
18623 OpenDocument font face declarations directly correspond to the @font-face font description of  [CSS2] (see §15.3.1) and the <font-face> element of [SVG] (see §20.8.3), but have the following two extensions:   19044 OpenDocument font face declarations directly correspond to the @font-face font description of  [CSS2] (see §15.3.1) and the <font-face> element of [SVG] (see §20.8.3), but have the following two extensions:
18624 OpenDocument font face declarations optionally may have an unique name. This name can be used inside styles (i.e., as attribute of <style:text-properties> element) as value of the style:font-name attribute to immediately select a font face declaration. If a font face declaration is referenced this way, the steps described in §15.5 the [CSS2] font matching algorithms for selecting a font declaration based on the font-family, font-style, font-variant, font-weight and font-size descriptors will not take place, but the referenced font face declaration is used directly.   19045 OpenDocument font face declarations optionally may have an unique name. This name can be used inside styles (i.e., as attribute of <style:text-properties> element) as value of the style:font-name attribute to immediately select a font face declaration. If a font face declaration is referenced this way, the steps described in §15.5 the [CSS2] font matching algorithms for selecting a font declaration based on the font-family, font-style, font-variant, font-weight and font-size descriptors will not take place, but the referenced font face declaration is used directly.
18625 Some additional font descriptor attributes exist. They are described below.   19046 Some additional font descriptor attributes exist. They are described below.
18626 With the exception mentioned above, conforming applications should implement the CSS2 font matching algorithm as described in described in §15.5 the [CSS2], but they may also implement variants of it. They are especially allowed to implement a font matching based only on the font face declarations, that is, a font matching that is not applied to every character independently but only once for each font face declaration. This is useful for editing applications, where a font matching based on characters might be too expensive.   19047 With the exception mentioned above, conforming applications should implement the CSS2 font matching algorithm as described in described in §15.5 the [CSS2], but they may also implement variants of it. They are especially allowed to implement a font matching based only on the font face declarations, that is, a font matching that is not applied to every character independently but only once for each font face declaration. This is useful for editing applications, where a font matching based on characters might be too expensive.
18627 <define name="style-font-face">   19048 <define name="style-font-face">
18628         <element name="style:font-face">   19049         <element name="style:font-face">
18629                 <ref name="style-font-face-attlist"/>   19050                 <ref name="style-font-face-attlist"/>
18630                 <optional>   19051                 <optional>
18631                         <ref name="svg-font-face-src"/>   19052                         <ref name="svg-font-face-src"/>
18632                 </optional>   19053                 </optional>
18633                 <optional>   19054                 <optional>
18634                         <ref name="svg-definition-src"/>   19055                         <ref name="svg-definition-src"/>
18635                 </optional>   19056                 </optional>
18636         </element>   19057         </element>
18637 </define>   19058 </define>
18638 14.6.1CSS2/SVG Font Descriptors   19059 14.6.1CSS2/SVG Font Descriptors
18639 Font face declarations support the font descriptor attributes and elements described in §20.8.3 of [SVG].   19060 Font face declarations support the font descriptor attributes and elements described in §20.8.3 of [SVG].
18640 <define name="style-font-face-attlist" combine="interleave">   19061 <define name="style-font-face-attlist" combine="interleave">
18641         <optional>   19062         <optional>
18642                 <attribute name="svg:font-family">   19063                 <attribute name="svg:font-family">
18643                         <ref name="string"/>   19064                         <ref name="string"/>
18644                 </attribute>   19065                 </attribute>
18645         </optional>   19066         </optional>
18646         <optional>   19067         <optional>
18647                 <attribute name="svg:font-style">   19068                 <attribute name="svg:font-style">
18648                         <ref name="fontStyle"/>   19069                         <ref name="fontStyle"/>
18649                 </attribute>   19070                 </attribute>
18650         </optional>   19071         </optional>
18651         <optional>   19072         <optional>
18652                 <attribute name="svg:font-variant">   19073                 <attribute name="svg:font-variant">
18653                         <ref name="fontVariant"/>   19074                         <ref name="fontVariant"/>
18654                 </attribute>   19075                 </attribute>
18655         </optional>   19076         </optional>
18656         <optional>   19077         <optional>
18657                 <attribute name="svg:font-weight">   19078                 <attribute name="svg:font-weight">
18658                         <ref name="fontWeight"/>   19079                         <ref name="fontWeight"/>
18659                 </attribute>   19080                 </attribute>
18660         </optional>   19081         </optional>
18661         <optional>   19082         <optional>
18662                 <attribute name="svg:font-stretch">   19083                 <attribute name="svg:font-stretch">
18663                         <choice>   19084                         <choice>
18664                                 <value>normal</value>   19085                                 <value>normal</value>
18665                                 <value>ultra-condensed</value>   19086                                 <value>ultra-condensed</value>
18666                                 <value>extra-condensed</value>   19087                                 <value>extra-condensed</value>
18667                                 <value>condensed</value>   19088                                 <value>condensed</value>
18668                                 <value>semi-condensed</value>   19089                                 <value>semi-condensed</value>
18669                                 <value>semi-expanded</value>   19090                                 <value>semi-expanded</value>
18670                                 <value>expanded</value>   19091                                 <value>expanded</value>
18671                                 <value>extra-expanded</value>   19092                                 <value>extra-expanded</value>
18672                                 <value>ultra-expanded</value>   19093                                 <value>ultra-expanded</value>
18673                         </choice>   19094                         </choice>
18674                 </attribute>   19095                 </attribute>
18675         </optional>   19096         </optional>
18676         <optional>   19097         <optional>
18677                 <attribute name="svg:font-size">   19098                 <attribute name="svg:font-size">
18678                         <ref name="positiveLength"/>   19099                         <ref name="positiveLength"/>
18679                 </attribute>   19100                 </attribute>
18680         </optional>   19101         </optional>
18681         <optional>   19102         <optional>
18682                 <attribute name="svg:unicode-range"/>   19103                 <attribute name="svg:unicode-range"/>
18683         </optional>   19104         </optional>
18684         <optional>   19105         <optional>
18685                 <attribute name="svg:units-per-em">   19106                 <attribute name="svg:units-per-em">
18686                         <ref name="integer"/>   19107                         <ref name="integer"/>
18687                 </attribute>   19108                 </attribute>
18688         </optional>   19109         </optional>
18689         <optional>   19110         <optional>
18690                 <attribute name="svg:panose-1"/>   19111                 <attribute name="svg:panose-1"/>
18691         </optional>   19112         </optional>
18692         <optional>   19113         <optional>
18693                 <attribute name="svg:stemv">   19114                 <attribute name="svg:stemv">
18694                         <ref name="integer"/>   19115                         <ref name="integer"/>
18695                 </attribute>   19116                 </attribute>
18696         </optional>   19117         </optional>
18697         <optional>   19118         <optional>
18698                 <attribute name="svg:stemh">   19119                 <attribute name="svg:stemh">
18699                         <ref name="integer"/>   19120                         <ref name="integer"/>
18700                 </attribute>   19121                 </attribute>
18701         </optional>   19122         </optional>
18702         <optional>   19123         <optional>
18703                 <attribute name="svg:slope">   19124                 <attribute name="svg:slope">
18704                         <ref name="integer"/>   19125                         <ref name="integer"/>
18705                 </attribute>   19126                 </attribute>
18706                 </optional>   19127                 </optional>
18707         <optional>   19128         <optional>
18708                 <attribute name="svg:cap-height">   19129                 <attribute name="svg:cap-height">
18709                         <ref name="integer"/>   19130                         <ref name="integer"/>
18710                 </attribute>   19131                 </attribute>
18711         </optional>   19132         </optional>
18712         <optional>   19133         <optional>
18713                 <attribute name="svg:x-height">   19134                 <attribute name="svg:x-height">
18714                         <ref name="integer"/>   19135                         <ref name="integer"/>
18715                 </attribute>   19136                 </attribute>
18716         </optional>   19137         </optional>
18717         <optional>   19138         <optional>
18718                 <attribute name="svg:accent-height">   19139                 <attribute name="svg:accent-height">
18719                         <ref name="integer"/>   19140                         <ref name="integer"/>
18720                 </attribute>   19141                 </attribute>
18721         </optional>   19142         </optional>
18722         <optional>   19143         <optional>
18723                 <attribute name="svg:ascent">   19144                 <attribute name="svg:ascent">
18724                         <ref name="integer"/>   19145                         <ref name="integer"/>
18725                 </attribute>   19146                 </attribute>
18726         </optional>   19147         </optional>
18727         <optional>   19148         <optional>
18728                 <attribute name="svg:descent">   19149                 <attribute name="svg:descent">
18729                         <ref name="integer"/>   19150                         <ref name="integer"/>
18730                 </attribute>   19151                 </attribute>
18731         </optional>   19152         </optional>
18732         <optional>   19153         <optional>
18733                 <attribute name="svg:widths"/>   19154                 <attribute name="svg:widths"/>
18734         </optional>   19155         </optional>
18735         <optional>   19156         <optional>
18736                 <attribute name="svg:bbox"/>   19157                 <attribute name="svg:bbox"/>
18737         </optional>   19158         </optional>
18738         <optional>   19159         <optional>
18739                 <attribute name="svg:ideographic">   19160                 <attribute name="svg:ideographic">
18740                         <ref name="integer"/>   19161                         <ref name="integer"/>
18741                 </attribute>   19162                 </attribute>
18742         </optional>   19163         </optional>
18743         <optional>   19164         <optional>
18744                 <attribute name="svg:alphabetic">   19165                 <attribute name="svg:alphabetic">
18745                         <ref name="integer"/>   19166                         <ref name="integer"/>
18746                 </attribute>   19167                 </attribute>
18747         </optional>   19168         </optional>
18748         <optional>   19169         <optional>
18749                 <attribute name="svg:mathematical">   19170                 <attribute name="svg:mathematical">
18750                         <ref name="integer"/>   19171                         <ref name="integer"/>
18751                 </attribute>   19172                 </attribute>
18752         </optional>   19173         </optional>
18753         <optional>   19174         <optional>
18754                 <attribute name="svg:hanging">   19175                 <attribute name="svg:hanging">
18755                         <ref name="integer"/>   19176                         <ref name="integer"/>
18756                 </attribute>   19177                 </attribute>
18757         </optional>   19178         </optional>
18758         <optional>   19179         <optional>
18759                 <attribute name="svg:v-ideographic">   19180                 <attribute name="svg:v-ideographic">
18760                         <ref name="integer"/>   19181                         <ref name="integer"/>
18761                 </attribute>   19182                 </attribute>
18762         </optional>   19183         </optional>
18763         <optional>   19184         <optional>
18764                 <attribute name="svg:v-alphabetic">   19185                 <attribute name="svg:v-alphabetic">
18765                         <ref name="integer"/>   19186                         <ref name="integer"/>
18766                 </attribute>   19187                 </attribute>
18767         </optional>   19188         </optional>
18768         <optional>   19189         <optional>
18769                 <attribute name="svg:v-mathematical">   19190                 <attribute name="svg:v-mathematical">
18770                         <ref name="integer"/>   19191                         <ref name="integer"/>
18771                 </attribute>   19192                 </attribute>
18772         </optional>   19193         </optional>
18773         <optional>   19194         <optional>
18774                 <attribute name="svg:v-hanging">   19195                 <attribute name="svg:v-hanging">
18775                         <ref name="integer"/>   19196                         <ref name="integer"/>
18776                 </attribute>   19197                 </attribute>
18777         </optional>   19198         </optional>
18778         <optional>   19199         <optional>
18779                 <attribute name="svg:underline-position">   19200                 <attribute name="svg:underline-position">
18780                         <ref name="integer"/>   19201                         <ref name="integer"/>
18781                 </attribute>   19202                 </attribute>
18782         </optional>   19203         </optional>
18783         <optional>   19204         <optional>
18784                 <attribute name="svg:underline-thickness">   19205                 <attribute name="svg:underline-thickness">
18785                         <ref name="integer"/>   19206                         <ref name="integer"/>
18786                 </attribute>   19207                 </attribute>
18787         </optional>   19208         </optional>
18788         <optional>   19209         <optional>
18789                 <attribute name="svg:strikethrough-position">   19210                 <attribute name="svg:strikethrough-position">
18790                         <ref name="integer"/>   19211                         <ref name="integer"/>
18791                 </attribute>   19212                 </attribute>
18792         </optional>   19213         </optional>
18793         <optional>   19214         <optional>
18794                 <attribute name="svg:strikethrough-thickness">   19215                 <attribute name="svg:strikethrough-thickness">
18795                         <ref name="integer"/>   19216                         <ref name="integer"/>
18796                 </attribute>   19217                 </attribute>
18797         </optional>   19218         </optional>
18798         <optional>   19219         <optional>
18799                 <attribute name="svg:overline-position">   19220                 <attribute name="svg:overline-position">
18800                         <ref name="integer"/>   19221                         <ref name="integer"/>
18801                 </attribute>   19222                 </attribute>
18802                 </optional>   19223                 </optional>
18803         <optional>   19224         <optional>
18804                 <attribute name="svg:overline-thickness">   19225                 <attribute name="svg:overline-thickness">
18805                         <ref name="integer"/>   19226                         <ref name="integer"/>
18806                 </attribute>   19227                 </attribute>
18807         </optional>   19228         </optional>
18808 </define>   19229 </define>
18809     19230  
18810 <define name="svg-font-face-src">   19231 <define name="svg-font-face-src">
18811         <element name="svg:font-face-src">   19232         <element name="svg:font-face-src">
18812                 <oneOrMore>   19233                 <oneOrMore>
18813                         <choice>   19234                         <choice>
18814                                 <ref name="svg-font-face-uri"/>   19235                                 <ref name="svg-font-face-uri"/>
18815                                 <ref name="svg-font-face-name"/>   19236                                 <ref name="svg-font-face-name"/>
18816                         </choice>   19237                         </choice>
18817                 </oneOrMore>   19238                 </oneOrMore>
18818         </element>   19239         </element>
18819 </define>   19240 </define>
18820     19241  
18821 <define name="svg-font-face-uri">   19242 <define name="svg-font-face-uri">
18822         <element name="svg:font-face-uri">   19243         <element name="svg:font-face-uri">
18823                 <ref name="common-svg-font-face-xlink-attlist"/>   19244                 <ref name="common-svg-font-face-xlink-attlist"/>
18824                 <zeroOrMore>   19245                 <zeroOrMore>
18825                         <ref name="svg-font-face-format"/>   19246                         <ref name="svg-font-face-format"/>
18826                 </zeroOrMore>   19247                 </zeroOrMore>
18827         </element>   19248         </element>
18828 </define>   19249 </define>
18829     19250  
18830 <define name="svg-font-face-format">   19251 <define name="svg-font-face-format">
18831         <element name="svg:font-face-format">   19252         <element name="svg:font-face-format">
18832                 <optional>   19253                 <optional>
18833                         <attribute name="svg:string"/>   19254                         <attribute name="svg:string"/>
18834                 </optional>   19255                 </optional>
18835                 <empty/>   19256                 <empty/>
18836         </element>   19257         </element>
18837 </define>   19258 </define>
18838 <define name="svg-font-face-name">   19259 <define name="svg-font-face-name">
18839         <element name="svg:font-face-name">   19260         <element name="svg:font-face-name">
18840                 <optional>   19261                 <optional>
18841                         <attribute name="name"/> <> 19262                         <attribute name="svg:name"/>
18842                 </optional> = 19263                 </optional>
18843                 <empty/>   19264                 <empty/>
18844         </element>   19265         </element>
18845 </define>   19266 </define>
18846     19267  
18847 <define name="svg-definition-src">   19268 <define name="svg-definition-src">
18848         <element name="svg:definition-src">   19269         <element name="svg:definition-src">
18849                 <ref name="common-svg-font-face-xlink-attlist"/>   19270                 <ref name="common-svg-font-face-xlink-attlist"/>
18850         <empty/>   19271         <empty/>
18851         </element>   19272         </element>
18852 </define>   19273 </define>
18853     19274  
18854 <define name="common-svg-font-face-xlink-attlist" combine="interleave">   19275 <define name="common-svg-font-face-xlink-attlist" combine="interleave">
18855         <attribute name="xlink:href">   19276         <attribute name="xlink:href">
18856                 <ref name="anyURI"/>   19277                 <ref name="anyURI"/>
18857         </attribute>   19278         </attribute>
18858         <optional>   19279         <optional>
18859                 <attribute name="xlink:type" a:defaultValue="simple">   19280                 <attribute name="xlink:type" a:defaultValue="simple">
18860                         <value>simple</value>   19281                         <value>simple</value>
18861                 </attribute>   19282                 </attribute>
18862         </optional>   19283         </optional>
18863         <optional>   19284         <optional>
18864                 <attribute name="xlink:actuate" a:defaultValue="onRequest">   19285                 <attribute name="xlink:actuate" a:defaultValue="onRequest">
18865                         <value>onRequest</value>   19286                         <value>onRequest</value>
18866                 </attribute>   19287                 </attribute>
18867         </optional>   19288         </optional>
18868 </define>   19289 </define>
18869 14.6.2Name   19290 14.6.2Name
18870 The style:name attribute specifies the unique name of the font declaration. This name can be used inside styles (i.e., as an attribute of the <style:text-properties> element) as value of the style:font-name attribute to immediately select a font face declaration   19291 The style:name attribute specifies the unique name of the font declaration. This name can be used inside styles (i.e., as an attribute of the <style:text-properties> element) as value of the style:font-name attribute to immediately select a font face declaration
18871 <define name="style-font-face-attlist" combine="interleave">   19292 <define name="style-font-face-attlist" combine="interleave">
18872         <attribute name="style:name">   19293         <attribute name="style:name">
18873                 <ref name="string"/>   19294                 <ref name="string"/>
18874         </attribute>   19295         </attribute>
18875 </define>   19296 </define>
18876 14.6.3Adornments   19297 14.6.3Adornments
18877 The style:font-adornments attributes specifies adornments, like bold or italic that can be used to locate a font in addition to the family name.   19298 The style:font-adornments attributes specifies adornments, like bold or italic that can be used to locate a font in addition to the family name.
18878 <define name="style-font-face-attlist" combine="interleave">   19299 <define name="style-font-face-attlist" combine="interleave">
18879         <optional>   19300         <optional>
18880                 <attribute name="style:font-adornments">   19301                 <attribute name="style:font-adornments">
18881                         <ref name="string"/>   19302                         <ref name="string"/>
18882                 </attribute>   19303                 </attribute>
18883         </optional>   19304         </optional>
18884 </define>   19305 </define>
18885 14.6.4Font Family Generic   19306 14.6.4Font Family Generic
18886 The style:font-family-generic attribute specifies a generic font family name. See section 15.4.15 for details.   19307 The style:font-family-generic attribute specifies a generic font family name. See section 15.4.15 for details.
18887 <define name="style-font-face-attlist" combine="interleave">   19308 <define name="style-font-face-attlist" combine="interleave">
18888         <optional>   19309         <optional>
18889                 <attribute name="style:font-family-generic">   19310                 <attribute name="style:font-family-generic">
18890                         <ref name="fontFamilyGeneric"/>   19311                         <ref name="fontFamilyGeneric"/>
18891                 </attribute>   19312                 </attribute>
18892         </optional>   19313         </optional>
18893 </define>   19314 </define>
18894 14.6.5Font Pitch   19315 14.6.5Font Pitch
18895 The style:font-pitch attribute specifies whether a font has a fixed or variable width. See section 15.4.17 for details.   19316 The style:font-pitch attribute specifies whether a font has a fixed or variable width. See section 15.4.17 for details.
18896 <define name="style-font-face-attlist" combine="interleave">   19317 <define name="style-font-face-attlist" combine="interleave">
18897         <optional>   19318         <optional>
18898                 <attribute name="style:font-pitch">   19319                 <attribute name="style:font-pitch">
18899                         <ref name="fontPitch"/>   19320                         <ref name="fontPitch"/>
18900                 </attribute>   19321                 </attribute>
18901         </optional>   19322         </optional>
18902 </define>   19323 </define>
18903     19324  
18904 14.6.6Font Character Set   19325 14.6.6Font Character Set
18905 The style:font-charset attribute specifies the character set of a font. See section 15.4.18 for details.   19326 The style:font-charset attribute specifies the character set of a font. See section 15.4.18 for details.
18906 <define name="style-font-face-attlist" combine="interleave">   19327 <define name="style-font-face-attlist" combine="interleave">
18907         <optional>   19328         <optional>
18908                 <attribute name="style:font-charset">   19329                 <attribute name="style:font-charset">
18909                         <ref name="textEncoding"/>   19330                         <ref name="textEncoding"/>
18910                 </attribute>   19331                 </attribute>
18911         </optional>   19332         </optional>
18912 </define>   19333 </define>
18913 14.7Data Styles   19334 14.7Data Styles
18914 Data styles describe how to display different types of data, for example, a number or a date. The elements and attributes that are used to represent data styles are contained in the namespace urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0. The prefix number denotes the data styles namespace.   19335 Data styles describe how to display different types of data, for example, a number or a date. The elements and attributes that are used to represent data styles are contained in the namespace urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0. The prefix number denotes the data styles namespace.
18915 This section describes the OpenDocument representation of the following data styles:   19336 This section describes the OpenDocument representation of the following data styles:
18916 Number style   19337 Number style
18917 Currency style   19338 Currency style
18918 Percentage style   19339 Percentage style
18919 Date style   19340 Date style
18920 Boolean style   19341 Boolean style
18921 Text style   19342 Text style
18922 14.7.1Number Style   19343 14.7.1Number Style
18923 The <number:number-style> element describes the style for decimal numbers.   19344 The <number:number-style> element describes the style for decimal numbers.
18924 This element can contain one of the following elements:   19345 This element can contain one of the following elements:
18925 <number:number>   19346 <number:number>
18926 <number:scientific-number>   19347 <number:scientific-number>
18927 <number:fraction>   19348 <number:fraction>
18928 These elements describe the display format of the number. The elements can be preceded or followed by <number:text> elements, which contain any additional text to be displayed before or after the number.   19349 These elements describe the display format of the number. The elements can be preceded or followed by <number:text> elements, which contain any additional text to be displayed before or after the number.
18929 In addition, this element can contain a <style:text-properties> element and a <style:map> element.   19350 In addition, this element can contain a <style:text-properties> element and a <style:map> element.
18930 <define name="number-number-style">   19351 <define name="number-number-style">
18931         <element name="number:number-style">   19352         <element name="number:number-style">
18932                 <ref name="common-data-style-attlist"/>   19353                 <ref name="common-data-style-attlist"/>
18933                 <optional>   19354                 <optional>
18934                         <ref name="style-text-properties"/>   19355                         <ref name="style-text-properties"/>
18935                 </optional>   19356                 </optional>
18936                 <optional>   19357                 <optional>
18937                         <ref name="number-text"/>   19358                         <ref name="number-text"/>
18938                 </optional>   19359                 </optional>
18939                 <optional>   19360                 <optional>
18940                         <ref name="any-number"/>   19361                         <ref name="any-number"/>
18941                         <optional>   19362                         <optional>
18942                                 <ref name="number-text"/>   19363                                 <ref name="number-text"/>
18943                         </optional>   19364                         </optional>
18944                 </optional>   19365                 </optional>
18945                 <zeroOrMore>   19366                 <zeroOrMore>
18946                         <ref name="style-map"/>   19367                         <ref name="style-map"/>
18947                 </zeroOrMore>   19368                 </zeroOrMore>
18948         </element>   19369         </element>
18949 </define>   19370 </define>
18950     19371  
18951 <define name="any-number">   19372 <define name="any-number">
18952         <choice>   19373         <choice>
18953                 <ref name="number-number"/>   19374                 <ref name="number-number"/>
18954                 <ref name="number-scientific-number"/>   19375                 <ref name="number-scientific-number"/>
18955                 <ref name="number-fraction"/>   19376                 <ref name="number-fraction"/>
18956         </choice>   19377         </choice>
18957 </define>   19378 </define>
18958 See section 14.7.9 for information about the attributes that may be associated with the number style elements.   19379 See section 14.7.9 for information about the attributes that may be associated with the number style elements.
18959 The following elements may be contained in the <number:number-style> element:   19380 The following elements may be contained in the <number:number-style> element:
18960 Number   19381 Number
18961 Scientific number   19382 Scientific number
18962 Fraction   19383 Fraction
18963 Number   19384 Number
18964 The <number:number> element specifies the display properties for a decimal number.   19385 The <number:number> element specifies the display properties for a decimal number.
18965 This element is contained in the <number:number-style> element. The <number:number> element can contain multiple <number:embedded-text> elements.   19386 This element is contained in the <number:number-style> element. The <number:number> element can contain multiple <number:embedded-text> elements.
18966 The number:decimal-replacement and number:display-factor attributes may be used with this element. See also section 14.7.11 for information about additional attributes that may be associate with the <number:number> element.   19387 The number:decimal-replacement and number:display-factor attributes may be used with this element. See also section 14.7.11 for information about additional attributes that may be associate with the <number:number> element.
18967 <define name="number-number">   19388 <define name="number-number">
18968         <element name="number:number">   19389         <element name="number:number">
18969                 <ref name="number-number-attlist"/>   19390                 <ref name="number-number-attlist"/>
18970                 <ref name="common-decimal-places-attlist"/>   19391                 <ref name="common-decimal-places-attlist"/>
18971                 <ref name="common-number-attlist"/>   19392                 <ref name="common-number-attlist"/>
18972                 <zeroOrMore>   19393                 <zeroOrMore>
18973                         <ref name="number-embedded-text"/>   19394                         <ref name="number-embedded-text"/>
18974                 </zeroOrMore>   19395                 </zeroOrMore>
18975         </element>   19396         </element>
18976 </define>   19397 </define>
18977 Decimal Replacement   19398 Decimal Replacement
18978 If a number style specifies that decimal places are used but the number displayed is an integer, a replacement text may be displayed instead of the decimal places. The number:decimal-replacement attribute specifies the replacement text.   19399 If a number style specifies that decimal places are used but the number displayed is an integer, a replacement text may be displayed instead of the decimal places. The number:decimal-replacement attribute specifies the replacement text.
18979 Some applications may supports replacement text only that consists of the same number of “-” characters as decimal places.   19400 Some applications may supports replacement text only that consists of the same number of “-” characters as decimal places.
18980 <define name="number-number-attlist" combine="interleave">   19401 <define name="number-number-attlist" combine="interleave">
18981         <optional>   19402         <optional>
18982                 <attribute name="number:decimal-replacement"/>   19403                 <attribute name="number:decimal-replacement"/>
18983         </optional>   19404         </optional>
18984 </define>   19405 </define>
18985 Display Factor   19406 Display Factor
18986 The number:display-factor attribute specifies a factor by which each number is scaled (divided) before displaying. A factor of 1000, for example, causes numbers to be displayed in thousands.   19407 The number:display-factor attribute specifies a factor by which each number is scaled (divided) before displaying. A factor of 1000, for example, causes numbers to be displayed in thousands.
18987 Some applications may only support display factors of 1000 to the power of a non-negative integer number, that is 1, 1000, 1000000, 1000000000, etc.   19408 Some applications may only support display factors of 1000 to the power of a non-negative integer number, that is 1, 1000, 1000000, 1000000000, etc.
18988 <define name="number-number-attlist" combine="interleave">   19409 <define name="number-number-attlist" combine="interleave">
18989         <optional>   19410         <optional>
18990                 <attribute name="number:display-factor" a:defaultValue="1">   19411                 <attribute name="number:display-factor" a:defaultValue="1">
18991                         <ref name="double"/>   19412                         <ref name="double"/>
18992                 </attribute>   19413                 </attribute>
18993         </optional>   19414         </optional>
18994 </define>   19415 </define>
18995 Embedded Text   19416 Embedded Text
18996 The <number:embedded-text> element specifies text that is displayed at one specific position within a number. This element is different to a grouping separator, which appears several times within a number.   19417 The <number:embedded-text> element specifies text that is displayed at one specific position within a number. This element is different to a grouping separator, which appears several times within a number.
18997 This element is contained in the <number:number> element. The <number:number> element can contain multiple occurrences of the <number:embedded-text> element to describe text at different positions in the number.   19418 This element is contained in the <number:number> element. The <number:number> element can contain multiple occurrences of the <number:embedded-text> element to describe text at different positions in the number.
18998 <define name="number-embedded-text">   19419 <define name="number-embedded-text">
18999         <element name="number:embedded-text">   19420         <element name="number:embedded-text">
19000                 <ref name="number-embedded-text-attlist"/>   19421                 <ref name="number-embedded-text-attlist"/>
19001                 <text/>   19422                 <text/>
19002         </element>   19423         </element>
19003 </define>   19424 </define>
19004 The number:position attribute specifies the position where the text appears.   19425 The number:position attribute specifies the position where the text appears.
19005 Position Attribute   19426 Position Attribute
19006 The position is counted from right to left, from before the decimal point if one exists, or else from the end of the number. For example, position number 1 indicates that the text is inserted before the last digit. Position number 2 indicates that the text is inserted before the second last digit, and so on.   19427 The position is counted from right to left, from before the decimal point if one exists, or else from the end of the number. For example, position number 1 indicates that the text is inserted before the last digit. Position number 2 indicates that the text is inserted before the second last digit, and so on.
19007 <define name="number-embedded-text-attlist" combine="interleave">   19428 <define name="number-embedded-text-attlist" combine="interleave">
19008         <attribute name="number:position">   19429         <attribute name="number:position">
19009                 <ref name="integer"/>   19430                 <ref name="integer"/>
19010         </attribute>   19431         </attribute>
19011 </define>   19432 </define>
19012 Scientific Number   19433 Scientific Number
19013 The <number:scientific-number> element specifies the display properties for a number style that should be displayed in scientific format.   19434 The <number:scientific-number> element specifies the display properties for a number style that should be displayed in scientific format.
19014 This element is contained in the <number:number-style> element.   19435 This element is contained in the <number:number-style> element.
19015 The number:min-exponent-digits attribute may be used with this element. See section 14.7.11 for information on additional attributes that may be associated with the <number:scientific-number> element.   19436 The number:min-exponent-digits attribute may be used with this element. See section 14.7.11 for information on additional attributes that may be associated with the <number:scientific-number> element.
19016 <define name="number-scientific-number">   19437 <define name="number-scientific-number">
19017         <element name="number:scientific-number">   19438         <element name="number:scientific-number">
19018                 <ref name="number-scientific-number-attlist"/>   19439                 <ref name="number-scientific-number-attlist"/>
19019                 <ref name="common-decimal-places-attlist"/>   19440                 <ref name="common-decimal-places-attlist"/>
19020                 <ref name="common-number-attlist"/>   19441                 <ref name="common-number-attlist"/>
19021                 <empty/>   19442                 <empty/>
19022         </element>   19443         </element>
19023 </define>   19444 </define>
19024 Minimum Exponent Digits   19445 Minimum Exponent Digits
19025 The number:min-exponent-digits attribute specifies the minimum number of digits to use to display an exponent. This attribute is supported for the <number:scientific-number> element.   19446 The number:min-exponent-digits attribute specifies the minimum number of digits to use to display an exponent. This attribute is supported for the <number:scientific-number> element.
19026 <define name="number-scientific-number-attlist" combine="interleave">   19447 <define name="number-scientific-number-attlist" combine="interleave">
19027         <optional>   19448         <optional>
19028                 <attribute name="number:min-exponent-digits">   19449                 <attribute name="number:min-exponent-digits">
19029                         <ref name="integer"/>   19450                         <ref name="integer"/>
19030                 </attribute>   19451                 </attribute>
19031         </optional>   19452         </optional>
19032 </define>   19453 </define>
19033 Fraction   19454 Fraction
19034 The <number:fraction> element specifies the display properties for a number style that should be displayed as a fraction.   19455 The <number:fraction> element specifies the display properties for a number style that should be displayed as a fraction.
19035 This element is contained in the <number:number-style> element.   19456 This element is contained in the <number:number-style> element.
19036 The number:min-numerator-digits and number:min-denominator-digits attributes may be used with this element. See section 14.7.11 for information on the attributes that may be associated with the <number:fraction> elements.   19457 The number:min-numerator-digits and number:min-denominator-digits attributes may be used with this element. See section 14.7.11 for information on the attributes that may be associated with the <number:fraction> elements.
19037 <define name="number-fraction">   19458 <define name="number-fraction">
19038         <element name="number:fraction">   19459         <element name="number:fraction">
19039                 <ref name="number-fraction-attlist"/>   19460                 <ref name="number-fraction-attlist"/>
19040                 <ref name="common-number-attlist"/>   19461                 <ref name="common-number-attlist"/>
19041                 <empty/>   19462                 <empty/>
19042         </element>   19463         </element>
19043 </define>   19464 </define>
19044 Minimum Numerator Digits   19465 Minimum Numerator Digits
19045 The number:min-numerator-digits attribute specifies the minimum number of digits to use to display the numerator in a fraction.   19466 The number:min-numerator-digits attribute specifies the minimum number of digits to use to display the numerator in a fraction.
19046 <define name="number-fraction-attlist" combine="interleave">   19467 <define name="number-fraction-attlist" combine="interleave">
19047         <optional>   19468         <optional>
19048                 <attribute name="number:min-numerator-digits">   19469                 <attribute name="number:min-numerator-digits">
19049                         <ref name="integer"/>   19470                         <ref name="integer"/>
19050                 </attribute>   19471                 </attribute>
19051         </optional>   19472         </optional>
19052 </define>   19473 </define>
19053 Minimum Denominator Digits   19474 Minimum Denominator Digits
19054 The number:min-denominator-digits attribute specifies the minimum number of digits to use to display the denominator of a fraction.   19475 The number:min-denominator-digits attribute specifies the minimum number of digits to use to display the denominator of a fraction.
19055 <define name="number-fraction-attlist" combine="interleave">   19476 <define name="number-fraction-attlist" combine="interleave">
19056         <optional>   19477         <optional>
19057                 <attribute name="number:min-denominator-digits">   19478                 <attribute name="number:min-denominator-digits">
19058                         <ref name="integer"/>   19479                         <ref name="integer"/>
19059                 </attribute>   19480                 </attribute>
19060         </optional>   19481         </optional>
19061 </define>   19482 </define>
19062 Denominator Value   19483 Denominator Value
19063 The number:denominator-value attribute specifies an integer value that is used as denominator of a fraction. If this attribute is not present, the application may choose an arbitrary denominator value.   19484 The number:denominator-value attribute specifies an integer value that is used as denominator of a fraction. If this attribute is not present, the application may choose an arbitrary denominator value.
19064 <define name="number-fraction-attlist" combine="interleave">   19485 <define name="number-fraction-attlist" combine="interleave">
19065         <optional>   19486         <optional>
19066                 <attribute name="number:denominator-value">   19487                 <attribute name="number:denominator-value">
19067                         <ref name="integer"/>   19488                         <ref name="integer"/>
19068                 </attribute>   19489                 </attribute>
19069         </optional>   19490         </optional>
19070 </define>   19491 </define>
19071 14.7.2Currency Style   19492 14.7.2Currency Style
19072 The <number:currency-style> element describes the style for currency values.   19493 The <number:currency-style> element describes the style for currency values.
19073 This element can contain one <number:number> element and one <number:currency-symbol> element. It can also contain <number:text> elements , which display additional text, but it cannot contain two of these elements consecutively.   19494 This element can contain one <number:number> element and one <number:currency-symbol> element. It can also contain <number:text> elements , which display additional text, but it cannot contain two of these elements consecutively.
19074 In addition, this element can contain a <style:text-properties> element and a <style:map> element.   19495 In addition, this element can contain a <style:text-properties> element and a <style:map> element.
19075 <define name="number-currency-style">   19496 <define name="number-currency-style">
19076         <element name="number:currency-style">   19497         <element name="number:currency-style">
19077                 <ref name="common-data-style-attlist"/>   19498                 <ref name="common-data-style-attlist"/>
19078                 <ref name="common-auto-reorder-attlist"/>   19499                 <ref name="common-auto-reorder-attlist"/>
19079                 <optional>   19500                 <optional>
19080                         <ref name="style-text-properties"/>   19501                         <ref name="style-text-properties"/>
19081                 </optional>   19502                 </optional>
19082                 <optional>   19503                 <optional>
19083                         <ref name="number-text"/>   19504                         <ref name="number-text"/>
19084                 </optional>   19505                 </optional>
19085                 <optional>   19506                 <optional>
19086                         <choice>   19507                         <choice>
19087                                 <group>   19508                                 <group>
19088                                         <ref name="number-and-text"/>   19509                                         <ref name="number-and-text"/>
19089                                         <optional>   19510                                         <optional>
19090                                                 <ref name="currency-symbol-and-text"/>   19511                                                 <ref name="currency-symbol-and-text"/>
19091                                         </optional>   19512                                         </optional>
19092                                 </group>   19513                                 </group>
19093                                 <group>   19514                                 <group>
19094                                         <ref name="currency-symbol-and-text"/>   19515                                         <ref name="currency-symbol-and-text"/>
19095                                         <optional>   19516                                         <optional>
19096                                                 <ref name="number-and-text"/>   19517                                                 <ref name="number-and-text"/>
19097                                         </optional>   19518                                         </optional>
19098                                 </group>   19519                                 </group>
19099                         </choice>   19520                         </choice>
19100                 </optional>   19521                 </optional>
19101                 <zeroOrMore>   19522                 <zeroOrMore>
19102                         <ref name="style-map"/>   19523                         <ref name="style-map"/>
19103                 </zeroOrMore>   19524                 </zeroOrMore>
19104         </element>   19525         </element>
19105 </define>   19526 </define>
19106     19527  
19107 <define name="currency-symbol-and-text">   19528 <define name="currency-symbol-and-text">
19108         <ref name="number-currency-symbol"/>   19529         <ref name="number-currency-symbol"/>
19109         <optional>   19530         <optional>
19110                 <ref name="number-text"/>   19531                 <ref name="number-text"/>
19111         </optional>   19532         </optional>
19112 </define>   19533 </define>
19113 <define name="number-and-text">   19534 <define name="number-and-text">
19114         <ref name="number-number"/>   19535         <ref name="number-number"/>
19115         <optional>   19536         <optional>
19116                 <ref name="number-text"/>   19537                 <ref name="number-text"/>
19117         </optional>   19538         </optional>
19118 </define>   19539 </define>
19119 See section 14.7.9 for information about the attributes that may be associated with the number style elements.   19540 See section 14.7.9 for information about the attributes that may be associated with the number style elements.
19120 The following elements may be contained in the <number:currency-style> element:   19541 The following elements may be contained in the <number:currency-style> element:
19121 Number, see section 14.7.1.   19542 Number, see section 14.7.1.
19122 Currency symbol   19543 Currency symbol
19123 Currency Symbol   19544 Currency Symbol
19124 The <number:currency-symbol> element determines whether or not a currency symbol is displayed in a currency style.   19545 The <number:currency-symbol> element determines whether or not a currency symbol is displayed in a currency style.
19125 The content of this element is the text that is displayed as the currency symbol. If the element is empty or contains white space characters only, the default currency symbol for the currency style or the language and country of the currency style is displayed.   19546 The content of this element is the text that is displayed as the currency symbol. If the element is empty or contains white space characters only, the default currency symbol for the currency style or the language and country of the currency style is displayed.
19126 This element is contained in the <number:currency-style> element.   19547 This element is contained in the <number:currency-style> element.
19127 <define name="number-currency-symbol">   19548 <define name="number-currency-symbol">
19128         <element name="number:currency-symbol">   19549         <element name="number:currency-symbol">
19129                 <ref name="number-currency-symbol-attlist"/>   19550                 <ref name="number-currency-symbol-attlist"/>
19130                 <text/>   19551                 <text/>
19131         </element>   19552         </element>
19132 </define>   19553 </define>
19133 The number:language and number:country attributes may be used to specify the language and country of the currency symbol. See section 14.7.11 for information on the other attributes that may be associated with the currency style elements.   19554 The number:language and number:country attributes may be used to specify the language and country of the currency symbol. See section 14.7.11 for information on the other attributes that may be associated with the currency style elements.
19134 Currency Language and Country Attributes   19555 Currency Language and Country Attributes
19135 If the currency symbol contained in a currency style belongs to a different language or country than the currency style itself, then the number:language and number:country attributes may be used to specify the language and country of the currency symbol.   19556 If the currency symbol contained in a currency style belongs to a different language or country than the currency style itself, then the number:language and number:country attributes may be used to specify the language and country of the currency symbol.
19136 <define name="number-currency-symbol-attlist" combine="interleave">   19557 <define name="number-currency-symbol-attlist" combine="interleave">
19137         <optional>   19558         <optional>
19138                 <attribute name="number:language">   19559                 <attribute name="number:language">
19139                         <ref name="languageCode"/>   19560                         <ref name="languageCode"/>
19140                 </attribute>   19561                 </attribute>
19141         </optional>   19562         </optional>
19142         <optional>   19563         <optional>
19143                 <attribute name="number:country">   19564                 <attribute name="number:country">
19144                         <ref name="countryCode"/>   19565                         <ref name="countryCode"/>
19145                 </attribute>   19566                 </attribute>
19146         </optional>   19567         </optional>
19147 </define>   19568 </define>
19148 14.7.3Percentage Style   19569 14.7.3Percentage Style
19149 The <number:percentage-style> element describes the style for percentage values.   19570 The <number:percentage-style> element describes the style for percentage values.
19150 This element can contain one <number:number> element, which describes the display format for the percentage. The element can be preceded or followed by <number:text> elements, which contain any additional text to display before or after the percentage. Some applications require that at least one <number:text> element exist and that its text must contain a “%” character.   19571 This element can contain one <number:number> element, which describes the display format for the percentage. The element can be preceded or followed by <number:text> elements, which contain any additional text to display before or after the percentage. Some applications require that at least one <number:text> element exist and that its text must contain a “%” character.
19151 In addition, the <number:percentage-style> element can contain a <style:text-properties> element and a <style:map> element.   19572 In addition, the <number:percentage-style> element can contain a <style:text-properties> element and a <style:map> element.
19152 <define name="number-percentage-style">   19573 <define name="number-percentage-style">
19153         <element name="number:percentage-style">   19574         <element name="number:percentage-style">
19154                 <ref name="common-data-style-attlist"/>   19575                 <ref name="common-data-style-attlist"/>
19155                 <optional>   19576                 <optional>
19156                         <ref name="style-text-properties"/>   19577                         <ref name="style-text-properties"/>
19157                 </optional>   19578                 </optional>
19158                 <optional>   19579                 <optional>
19159                         <ref name="number-text"/>   19580                         <ref name="number-text"/>
19160                 </optional>   19581                 </optional>
19161                 <optional>   19582                 <optional>
19162                         <ref name="number-and-text"/>   19583                         <ref name="number-and-text"/>
19163                 </optional>   19584                 </optional>
19164                 <zeroOrMore>   19585                 <zeroOrMore>
19165                         <ref name="style-map"/>   19586                         <ref name="style-map"/>
19166                 </zeroOrMore>   19587                 </zeroOrMore>
19167         </element>   19588         </element>
19168 </define>   19589 </define>
19169 See section 14.7.9 for information on the attributes that may be associated with the percentage style element.   19590 See section 14.7.9 for information on the attributes that may be associated with the percentage style element.
19170 14.7.4Date Style   19591 14.7.4Date Style
19171 The <number:date-style> element describes the style for date values.   19592 The <number:date-style> element describes the style for date values.
19172 This element can contain one instance of each of the following elements: <number:day>, <number:month>, <number:year>, <number:era>, <number:day-of-week>, <number:week-of-year>, <number:quarter>, <number:hours>, <number:minutes>, <number:seconds>, and <number:am-pm>.   19593 This element can contain one instance of each of the following elements: <number:day>, <number:month>, <number:year>, <number:era>, <number:day-of-week>, <number:week-of-year>, <number:quarter>, <number:hours>, <number:minutes>, <number:seconds>, and <number:am-pm>.
19173 The <number:date-style> element can also contain <number:text> elements, which display additional text, but it cannot contain two of these elements consecutively. In addition, it can contain a <style:text-properties> element and a <style:map> element.   19594 The <number:date-style> element can also contain <number:text> elements, which display additional text, but it cannot contain two of these elements consecutively. In addition, it can contain a <style:text-properties> element and a <style:map> element.
19174 <define name="number-date-style">   19595 <define name="number-date-style">
19175         <element name="number:date-style">   19596         <element name="number:date-style">
19176                 <ref name="common-data-style-attlist"/>   19597                 <ref name="common-data-style-attlist"/>
19177                 <ref name="common-auto-reorder-attlist"/>   19598                 <ref name="common-auto-reorder-attlist"/>
19178                 <ref name="common-format-source-attlist"/>   19599                 <ref name="common-format-source-attlist"/>
19179                 <optional>   19600                 <optional>
19180                         <ref name="style-text-properties"/>   19601                         <ref name="style-text-properties"/>
19181                 </optional>   19602                 </optional>
19182                 <!-- This DTD does not reflect the fact that some elements must not -->   19603                 <!-- This DTD does not reflect the fact that some elements must not -->
19183                 <!-- occur more than once. -->   19604                 <!-- occur more than once. -->
19184                 <optional>   19605                 <optional>
19185                         <ref name="number-text"/>   19606                         <ref name="number-text"/>
19186                 </optional>   19607                 </optional>
19187                 <oneOrMore>   19608                 <oneOrMore>
19188                         <ref name="any-date"/>   19609                         <ref name="any-date"/>
19189                         <optional>   19610                         <optional>
19190                                 <ref name="number-text"/>   19611                                 <ref name="number-text"/>
19191                         </optional>   19612                         </optional>
19192                 </oneOrMore>   19613                 </oneOrMore>
19193                 <zeroOrMore>   19614                 <zeroOrMore>
19194                         <ref name="style-map"/>   19615                         <ref name="style-map"/>
19195                 </zeroOrMore>   19616                 </zeroOrMore>
19196         </element>   19617         </element>
19197 </define>   19618 </define>
19198     19619  
19199 <define name="any-date">   19620 <define name="any-date">
19200         <choice>   19621         <choice>
19201                 <ref name="number-day"/>   19622                 <ref name="number-day"/>
19202                 <ref name="number-month"/>   19623                 <ref name="number-month"/>
19203                 <ref name="number-year"/>   19624                 <ref name="number-year"/>
19204                 <ref name="number-era"/>   19625                 <ref name="number-era"/>
19205                 <ref name="number-day-of-week"/>   19626                 <ref name="number-day-of-week"/>
19206                 <ref name="number-week-of-year"/>   19627                 <ref name="number-week-of-year"/>
19207                 <ref name="number-quarter"/>   19628                 <ref name="number-quarter"/>
19208                 <ref name="number-hours"/>   19629                 <ref name="number-hours"/>
19209                 <ref name="number-am-pm"/>   19630                 <ref name="number-am-pm"/>
19210                 <ref name="number-minutes"/>   19631                 <ref name="number-minutes"/>
19211                 <ref name="number-seconds"/>   19632                 <ref name="number-seconds"/>
19212         </choice>   19633         </choice>
19213 </define>   19634 </define>
19214 See section 14.7.9 for information on the attributes that may be associated with the date style elements.   19635 See section 14.7.9 for information on the attributes that may be associated with the date style elements.
19215 The <number:date-style> element can contain the following elements:   19636 The <number:date-style> element can contain the following elements:
19216 <number:day> – day of month   19637 <number:day> – day of month
19217 <number:month> – month   19638 <number:month> – month
19218 <number:year> – year   19639 <number:year> – year
19219 <number:era> – era   19640 <number:era> – era
19220 <number:day-of-week> – day of week   19641 <number:day-of-week> – day of week
19221 <number:week-of-year> – week of year   19642 <number:week-of-year> – week of year
19222 <number:quarter> – quarter   19643 <number:quarter> – quarter
19223 Day of Month   19644 Day of Month
19224 The <number:day> element specifies the day of the month in a date.   19645 The <number:day> element specifies the day of the month in a date.
19225 If this element is used, it should be contained in the <number:date-style> element.   19646 If this element is used, it should be contained in the <number:date-style> element.
19226 <define name="number-day">   19647 <define name="number-day">
19227         <element name="number:day">   19648         <element name="number:day">
19228                 <ref name="number-day-attlist"/>   19649                 <ref name="number-day-attlist"/>
19229                 <ref name="common-calendar-attlist"/>   19650                 <ref name="common-calendar-attlist"/>
19230                 <empty/>   19651                 <empty/>
19231         </element>   19652         </element>
19232 </define>   19653 </define>
19233 The number:style attribute may be used with this element. See section 14.7.11 for information on the other attributes that may be associated with the element.   19654 The number:style attribute may be used with this element. See section 14.7.11 for information on the other attributes that may be associated with the element.
19234 Format Attribute   19655 Format Attribute
19235 The number:style attribute specifies whether the day of month element is displayed in short or long format. The value of this attribute can be short or long. The meaning of these values depends on the value of the number:format-source attribute that is attached to the date style.   19656 The number:style attribute specifies whether the day of month element is displayed in short or long format. The value of this attribute can be short or long. The meaning of these values depends on the value of the number:format-source attribute that is attached to the date style.
19236 For days, if the value of the number:format-source attribute is fixed:   19657 For days, if the value of the number:format-source attribute is fixed:
19237 short means that the day of the month is displayed using one or two digits   19658 short means that the day of the month is displayed using one or two digits
19238 long means that the day of the month is displayed using two digits   19659 long means that the day of the month is displayed using two digits
19239 <define name="number-day-attlist" combine="interleave">   19660 <define name="number-day-attlist" combine="interleave">
19240         <optional>   19661         <optional>
19241                 <attribute name="number:style" a:defaultValue="short">   19662                 <attribute name="number:style" a:defaultValue="short">
19242                         <choice>   19663                         <choice>
19243                                 <value>short</value>   19664                                 <value>short</value>
19244                                 <value>long</value>   19665                                 <value>long</value>
19245                         </choice>   19666                         </choice>
19246                 </attribute>   19667                 </attribute>
19247         </optional>   19668         </optional>
19248 </define>   19669 </define>
19249 Month   19670 Month
19250 The <number:month> element specifies the month in a date.   19671 The <number:month> element specifies the month in a date.
19251 If used, this element must be contained in the <number:date-style> element.   19672 If used, this element must be contained in the <number:date-style> element.
19252 <define name="number-month">   19673 <define name="number-month">
19253         <element name="number:month">   19674         <element name="number:month">
19254                 <ref name="number-month-attlist"/>   19675                 <ref name="number-month-attlist"/>
19255                 <ref name="common-calendar-attlist"/>   19676                 <ref name="common-calendar-attlist"/>
19256                 <empty/>   19677                 <empty/>
19257         </element>   19678         </element>
19258 </define>   19679 </define>
19259 The number:textual and number:style attributes may be used with this element. See section 14.7.11 for information on the other attributes that may be associated with the element.   19680 The number:textual and number:style attributes may be used with this element. See section 14.7.11 for information on the other attributes that may be associated with the element.
19260 Textual Representation Attribute   19681 Textual Representation Attribute
19261 The number:textual attribute determines whether the name or number of a month is displayed in the month element of a date. If the value of this attribute value is true, the name of the month is displayed. If the attribute value is false, the number of the month is displayed.   19682 The number:textual attribute determines whether the name or number of a month is displayed in the month element of a date. If the value of this attribute value is true, the name of the month is displayed. If the attribute value is false, the number of the month is displayed.
19262 <define name="number-month-attlist" combine="interleave">   19683 <define name="number-month-attlist" combine="interleave">
19263         <optional>   19684         <optional>
19264                 <attribute name="number:textual" a:defaultValue="false">   19685                 <attribute name="number:textual" a:defaultValue="false">
19265                         <ref name="boolean"/>   19686                         <ref name="boolean"/>
19266                 </attribute>   19687                 </attribute>
19267         </optional>   19688         </optional>
19268 </define>   19689 </define>
19269 Possessive Form Attribute   19690 Possessive Form Attribute
19270 The number:possessive-form attribute determines whether the month is displayed as is (e.g., as in "17 January 2004") or using the possessive form (e.g., as in "17th day of January"). If the value of this attribute value is true, the name of the month is displayed in possessive form. If the attribute value is false, the number of the month is displayed as is.   19691 The number:possessive-form attribute determines whether the month is displayed as is (e.g., as in "17 January 2004") or using the possessive form (e.g., as in "17th day of January"). If the value of this attribute value is true, the name of the month is displayed in possessive form. If the attribute value is false, the number of the month is displayed as is.
19271 <define name="number-month-attlist" combine="interleave">   19692 <define name="number-month-attlist" combine="interleave">
19272         <optional>   19693         <optional>
19273                 <attribute name="number:possessive-form" a:defaultValue="false">   19694                 <attribute name="number:possessive-form" a:defaultValue="false">
19274                         <ref name="boolean"/>   19695                         <ref name="boolean"/>
19275                 </attribute>   19696                 </attribute>
19276         </optional>   19697         </optional>
19277 </define>   19698 </define>
19278 Format Attribute   19699 Format Attribute
19279 The number:style attribute specifies whether the month element is displayed in short or long format. The value of this attribute can be short or long. The meaning of these values depends on the value of the number:format-source attribute that is attached to the date style.   19700 The number:style attribute specifies whether the month element is displayed in short or long format. The value of this attribute can be short or long. The meaning of these values depends on the value of the number:format-source attribute that is attached to the date style.
19280 For months, if the value of the number:format-source attribute is fixed:   19701 For months, if the value of the number:format-source attribute is fixed:
19281 short means that the abbreviated name of the month is displayed or the month is displayed using one or two digits   19702 short means that the abbreviated name of the month is displayed or the month is displayed using one or two digits
19282 long means that the full name of the month is displayed or the month is displayed using two digits   19703 long means that the full name of the month is displayed or the month is displayed using two digits
19283 <define name="number-month-attlist" combine="interleave">   19704 <define name="number-month-attlist" combine="interleave">
19284         <optional>   19705         <optional>
19285                 <attribute name="number:style" a:defaultValue="short">   19706                 <attribute name="number:style" a:defaultValue="short">
19286                         <choice>   19707                         <choice>
19287                                 <value>short</value>   19708                                 <value>short</value>
19288                                 <value>long</value>   19709                                 <value>long</value>
19289                         </choice>   19710                         </choice>
19290                 </attribute>   19711                 </attribute>
19291         </optional>   19712         </optional>
19292 </define>   19713 </define>
19293 Year   19714 Year
19294 The <number:year> element specifies the year in the date.   19715 The <number:year> element specifies the year in the date.
19295 If used, this element must be contained in the <number:date-style> element.   19716 If used, this element must be contained in the <number:date-style> element.
19296 <define name="number-year">   19717 <define name="number-year">
19297         <element name="number:year">   19718         <element name="number:year">
19298                 <ref name="number-year-attlist"/>   19719                 <ref name="number-year-attlist"/>
19299                 <ref name="common-calendar-attlist"/>   19720                 <ref name="common-calendar-attlist"/>
19300                 <empty/>   19721                 <empty/>
19301         </element>   19722         </element>
19302 </define>   19723 </define>
19303 The number:style attribute may be used with this element. See section 14.7.11 for information on the other attributes that may be associated with the element.   19724 The number:style attribute may be used with this element. See section 14.7.11 for information on the other attributes that may be associated with the element.
19304 Format Attribute   19725 Format Attribute
19305 The number:style attribute specifies whether the year element is displayed in short or long format. The value of this attribute can be short or long. The meaning of these values depends on the value of the number:format-source attribute that is attached to the date style.   19726 The number:style attribute specifies whether the year element is displayed in short or long format. The value of this attribute can be short or long. The meaning of these values depends on the value of the number:format-source attribute that is attached to the date style.
19306 For years, if the value of the number:format-source attribute is fixed:   19727 For years, if the value of the number:format-source attribute is fixed:
19307 short means that the year is displayed using two digits   19728 short means that the year is displayed using two digits
19308 long means that the year is displayed using four digits   19729 long means that the year is displayed using four digits
19309 <define name="number-year-attlist" combine="interleave">   19730 <define name="number-year-attlist" combine="interleave">
19310         <optional>   19731         <optional>
19311                 <attribute name="number:style" a:defaultValue="short">   19732                 <attribute name="number:style" a:defaultValue="short">
19312                         <choice>   19733                         <choice>
19313                                 <value>short</value>   19734                                 <value>short</value>
19314                                 <value>long</value>   19735                                 <value>long</value>
19315                         </choice>   19736                         </choice>
19316                 </attribute>   19737                 </attribute>
19317         </optional>   19738         </optional>
19318 </define>   19739 </define>
19319 Era   19740 Era
19320 The <number:era> element specifies the era in which the year is counted.   19741 The <number:era> element specifies the era in which the year is counted.
19321 If used, this element must be contained in the <number:date-style> element.   19742 If used, this element must be contained in the <number:date-style> element.
19322 <define name="number-era">   19743 <define name="number-era">
19323         <element name="number:era">   19744         <element name="number:era">
19324                 <ref name="number-era-attlist"/>   19745                 <ref name="number-era-attlist"/>
19325                 <ref name="common-calendar-attlist"/>   19746                 <ref name="common-calendar-attlist"/>
19326                 <empty/>   19747                 <empty/>
19327         </element>   19748         </element>
19328 </define>   19749 </define>
19329 The number:style attribute may be used with this element. See section 14.7.11 for information on the other attributes that may be associated with the element.   19750 The number:style attribute may be used with this element. See section 14.7.11 for information on the other attributes that may be associated with the element.
19330 Format Attribute   19751 Format Attribute
19331 The number:style attribute specifies whether the era element is displayed in short or long format. The value of this attribute can be short or long. The meaning of these values depends on the value of the number:format-source attribute that is attached to the date style.   19752 The number:style attribute specifies whether the era element is displayed in short or long format. The value of this attribute can be short or long. The meaning of these values depends on the value of the number:format-source attribute that is attached to the date style.
19332 For eras, if the value of the number:format-source attribute is fixed:   19753 For eras, if the value of the number:format-source attribute is fixed:
19333 short means that the abbreviated era name is used   19754 short means that the abbreviated era name is used
19334 long means that the full era name is used   19755 long means that the full era name is used
19335 <define name="number-era-attlist" combine="interleave">   19756 <define name="number-era-attlist" combine="interleave">
19336         <optional>   19757         <optional>
19337                 <attribute name="number:style" a:defaultValue="short">   19758                 <attribute name="number:style" a:defaultValue="short">
19338                         <choice>   19759                         <choice>
19339                                 <value>short</value>   19760                                 <value>short</value>
19340                                 <value>long</value>   19761                                 <value>long</value>
19341                         </choice>   19762                         </choice>
19342                 </attribute>   19763                 </attribute>
19343         </optional>   19764         </optional>
19344 </define>   19765 </define>
19345 Day Of Week   19766 Day Of Week
19346 The <number:day-of-week> element specifies the day of the week in a date.   19767 The <number:day-of-week> element specifies the day of the week in a date.
19347 If used, this element must be contained in the <number:date-style> element.   19768 If used, this element must be contained in the <number:date-style> element.
19348 <define name="number-day-of-week">   19769 <define name="number-day-of-week">
19349         <element name="number:day-of-week">   19770         <element name="number:day-of-week">
19350                 <ref name="number-day-of-week-attlist"/>   19771                 <ref name="number-day-of-week-attlist"/>
19351                 <ref name="common-calendar-attlist"/>   19772                 <ref name="common-calendar-attlist"/>
19352                 <empty/>   19773                 <empty/>
19353         </element>   19774         </element>
19354 </define>   19775 </define>
19355 The number:style attribute may be used with this element. See section 14.7.11 for information on the other attributes that may be associated with the element.   19776 The number:style attribute may be used with this element. See section 14.7.11 for information on the other attributes that may be associated with the element.
19356 Format Attribute   19777 Format Attribute
19357 The number:style attribute specifies whether the day of week element is displayed in short or long format.   19778 The number:style attribute specifies whether the day of week element is displayed in short or long format.
19358 The value of this attribute can be short or long. The meaning of these values depends on the value of the number:format-source attribute that is attached to the date style.   19779 The value of this attribute can be short or long. The meaning of these values depends on the value of the number:format-source attribute that is attached to the date style.
19359 For days of the week, the value of the number:format-source attribute is fixed:   19780 For days of the week, the value of the number:format-source attribute is fixed:
19360 short means that the abbreviated name of the day is displayed   19781 short means that the abbreviated name of the day is displayed
19361 long means that the full name of the day is displayed   19782 long means that the full name of the day is displayed
19362 <define name="number-day-of-week-attlist" combine="interleave">   19783 <define name="number-day-of-week-attlist" combine="interleave">
19363         <optional>   19784         <optional>
19364                 <attribute name="number:style" a:defaultValue="short">   19785                 <attribute name="number:style" a:defaultValue="short">
19365                         <choice>   19786                         <choice>
19366                                 <value>short</value>   19787                                 <value>short</value>
19367                                 <value>long</value>   19788                                 <value>long</value>
19368                         </choice>   19789                         </choice>
19369                 </attribute>   19790                 </attribute>
19370         </optional>   19791         </optional>
19371 </define>   19792 </define>
19372 Week Of Year   19793 Week Of Year
19373 The <number:week-of-year> element specifies the week of the year in the date.   19794 The <number:week-of-year> element specifies the week of the year in the date.
19374 If used, this element must be contained in the <number:date-style> element.   19795 If used, this element must be contained in the <number:date-style> element.
19375 <define name="number-week-of-year">   19796 <define name="number-week-of-year">
19376         <element name="number:week-of-year">   19797         <element name="number:week-of-year">
19377                 <ref name="common-calendar-attlist"/>   19798                 <ref name="common-calendar-attlist"/>
19378                 <empty/>   19799                 <empty/>
19379         </element>   19800         </element>
19380 </define>   19801 </define>
19381 See section 14.7.11 for information on the the attributes that may be associated with the element.   19802 See section 14.7.11 for information on the the attributes that may be associated with the element.
19382 Quarter   19803 Quarter
19383 The <number:quarter> element specifies the quarter of the year in the date.   19804 The <number:quarter> element specifies the quarter of the year in the date.
19384 If used, this element must be contained in the <number:date-style> element.   19805 If used, this element must be contained in the <number:date-style> element.
19385 <define name="number-quarter">   19806 <define name="number-quarter">
19386         <element name="number:quarter">   19807         <element name="number:quarter">
19387                 <ref name="number-quarter-attlist"/>   19808                 <ref name="number-quarter-attlist"/>
19388                 <ref name="common-calendar-attlist"/>   19809                 <ref name="common-calendar-attlist"/>
19389                 <empty/>   19810                 <empty/>
19390         </element>   19811         </element>
19391 </define>   19812 </define>
19392 The number:style attribute may be used with this element. See section 14.7.11 for information on the other attributes that may be associated with the element.   19813 The number:style attribute may be used with this element. See section 14.7.11 for information on the other attributes that may be associated with the element.
19393 Format Attribute   19814 Format Attribute
19394 The number:style attribute specifies whether the quarter element is displayed in short or long format.   19815 The number:style attribute specifies whether the quarter element is displayed in short or long format.
19395 The value of this attribute can be short or long. The meaning of these values depends on the value of the number:format-source attribute that is attached to the date style.   19816 The value of this attribute can be short or long. The meaning of these values depends on the value of the number:format-source attribute that is attached to the date style.
19396 For quarters, if the value of the number:format-source attribute is fixed:   19817 For quarters, if the value of the number:format-source attribute is fixed:
19397 short means that the abbreviated name of the quarter is displayed, for example, Q1   19818 short means that the abbreviated name of the quarter is displayed, for example, Q1
19398 long means that the full name of the quarter is displayed, for example, Quarter 1   19819 long means that the full name of the quarter is displayed, for example, Quarter 1
19399 <define name="number-quarter-attlist" combine="interleave">   19820 <define name="number-quarter-attlist" combine="interleave">
19400         <optional>   19821         <optional>
19401                 <attribute name="number:style" a:defaultValue="short">   19822                 <attribute name="number:style" a:defaultValue="short">
19402                         <choice>   19823                         <choice>
19403                                 <value>short</value>   19824                                 <value>short</value>
19404                                 <value>long</value>   19825                                 <value>long</value>
19405                         </choice>   19826                         </choice>
19406                 </attribute>   19827                 </attribute>
19407         </optional>   19828         </optional>
19408 </define>   19829 </define>
19409 14.7.5Time Style   19830 14.7.5Time Style
19410 The <number:time-style> element describes the style for time values.   19831 The <number:time-style> element describes the style for time values.
19411 This element can contain one instance of any of the following elements: <number:hours>, <number:minutes>, <number:seconds> and <number:am-pm>.   19832 This element can contain one instance of any of the following elements: <number:hours>, <number:minutes>, <number:seconds> and <number:am-pm>.
19412 The <number:time-style> element can also contain <number:text> elements , which display additional text, but it cannot contain two of these elements consecutively. In addition, it can contain a <style:text-properties> element and a <style:map> element.   19833 The <number:time-style> element can also contain <number:text> elements , which display additional text, but it cannot contain two of these elements consecutively. In addition, it can contain a <style:text-properties> element and a <style:map> element.
19413 <define name="number-time-style">   19834 <define name="number-time-style">
19414         <element name="number:time-style">   19835         <element name="number:time-style">
19415                 <ref name="number-time-style-attlist"/>   19836                 <ref name="number-time-style-attlist"/>
19416                 <ref name="common-data-style-attlist"/>   19837                 <ref name="common-data-style-attlist"/>
19417                 <ref name="common-format-source-attlist"/>   19838                 <ref name="common-format-source-attlist"/>
19418                 <optional>   19839                 <optional>
19419                         <ref name="style-text-properties"/>   19840                         <ref name="style-text-properties"/>
19420                 </optional>   19841                 </optional>
19421                 <!-- This DTD does not reflect the fact that some elements must not -->   19842                 <!-- This DTD does not reflect the fact that some elements must not -->
19422                 <!-- occur more than once. -->   19843                 <!-- occur more than once. -->
19423                 <optional>   19844                 <optional>
19424                         <ref name="number-text"/>   19845                         <ref name="number-text"/>
19425                 </optional>   19846                 </optional>
19426                 <oneOrMore>   19847                 <oneOrMore>
19427                         <ref name="any-time"/>   19848                         <ref name="any-time"/>
19428                         <optional>   19849                         <optional>
19429                                 <ref name="number-text"/>   19850                                 <ref name="number-text"/>
19430                         </optional>   19851                         </optional>
19431                 </oneOrMore>   19852                 </oneOrMore>
19432                 <zeroOrMore>   19853                 <zeroOrMore>
19433                         <ref name="style-map"/>   19854                         <ref name="style-map"/>
19434                 </zeroOrMore>   19855                 </zeroOrMore>
19435         </element>   19856         </element>
19436 </define>   19857 </define>
19437     19858  
19438 <define name="any-time">   19859 <define name="any-time">
19439         <choice>   19860         <choice>
19440                 <ref name="number-hours"/>   19861                 <ref name="number-hours"/>
19441                 <ref name="number-am-pm"/>   19862                 <ref name="number-am-pm"/>
19442                 <ref name="number-minutes"/>   19863                 <ref name="number-minutes"/>
19443                 <ref name="number-seconds"/>   19864                 <ref name="number-seconds"/>
19444         </choice>   19865         </choice>
19445 </define>   19866 </define>
19446 See section 14.7.9 for information on the attributes that may be associated with the time style elements.   19867 See section 14.7.9 for information on the attributes that may be associated with the time style elements.
19447 The following elements can be contained in the <number:time-style> element:   19868 The following elements can be contained in the <number:time-style> element:
19448 <number:hours> – hours   19869 <number:hours> – hours
19449 <number:minutes> – minutes   19870 <number:minutes> – minutes
19450 <number:seconds> – seconds   19871 <number:seconds> – seconds
19451 <number:am-pm> – am/pm   19872 <number:am-pm> – am/pm
19452 Time Value Truncation   19873 Time Value Truncation
19453 If a time or duration is too large to be displayed using the default value range for a time component, (0 to 23 for <number:hours>), the number:truncate-on-overflow attribute may be used  to specify whether the time or duration value should be truncated or whether the value range becomes extended.   19874 If a time or duration is too large to be displayed using the default value range for a time component, (0 to 23 for <number:hours>), the number:truncate-on-overflow attribute may be used  to specify whether the time or duration value should be truncated or whether the value range becomes extended.
19454 <define name="number-time-style-attlist" combine="interleave">   19875 <define name="number-time-style-attlist" combine="interleave">
19455         <optional>   19876         <optional>
19456                 <attribute name="number:truncate-on-overflow" a:defaultValue="true">   19877                 <attribute name="number:truncate-on-overflow" a:defaultValue="true">
19457                         <ref name="boolean"/>   19878                         <ref name="boolean"/>
19458                 </attribute>   19879                 </attribute>
19459         </optional>   19880         </optional>
19460 </define>   19881 </define>
19461 Hours   19882 Hours
19462 The <number:hours> element specifies if hours are displayed as part of a date or time.   19883 The <number:hours> element specifies if hours are displayed as part of a date or time.
19463 <define name="number-hours">   19884 <define name="number-hours">
19464         <element name="number:hours">   19885         <element name="number:hours">
19465                 <ref name="number-hours-attlist"/>   19886                 <ref name="number-hours-attlist"/>
19466                 <empty/>   19887                 <empty/>
19467         </element>   19888         </element>
19468 </define>   19889 </define>
19469 Format Attribute   19890 Format Attribute
19470 The number:style attribute specifies whether the hours element is displayed in short or long format.   19891 The number:style attribute specifies whether the hours element is displayed in short or long format.
19471 The value of this attribute can be short or long. The meaning of these values depends on the value of the number:format-source attribute that is attached to the time style.   19892 The value of this attribute can be short or long. The meaning of these values depends on the value of the number:format-source attribute that is attached to the time style.
19472 For hours, if the value of the number:format-source attribute is fixed:   19893 For hours, if the value of the number:format-source attribute is fixed:
19473 short means that the hours are displayed using at least one digit   19894 short means that the hours are displayed using at least one digit
19474 long means that the hours are displayed using at least two digits   19895 long means that the hours are displayed using at least two digits
19475 <define name="number-hours-attlist" combine="interleave">   19896 <define name="number-hours-attlist" combine="interleave">
19476         <optional>   19897         <optional>
19477                 <attribute name="number:style" a:defaultValue="short">   19898                 <attribute name="number:style" a:defaultValue="short">
19478                         <choice>   19899                         <choice>
19479                                 <value>short</value>   19900                                 <value>short</value>
19480                                 <value>long</value>   19901                                 <value>long</value>
19481                         </choice>   19902                         </choice>
19482                 </attribute>   19903                 </attribute>
19483         </optional>   19904         </optional>
19484 </define>   19905 </define>
19485 Minutes   19906 Minutes
19486 The <number:minutes> element specifies if minutes are displayed as part of a date or time.   19907 The <number:minutes> element specifies if minutes are displayed as part of a date or time.
19487 <define name="number-minutes">   19908 <define name="number-minutes">
19488         <element name="number:minutes">   19909         <element name="number:minutes">
19489                 <ref name="number-minutes-attlist"/>   19910                 <ref name="number-minutes-attlist"/>
19490                 <empty/>   19911                 <empty/>
19491         </element>   19912         </element>
19492 </define>   19913 </define>
19493 Format Attribute   19914 Format Attribute
19494 The number:style attribute specifies whether the minutes element is displayed in short or long format.   19915 The number:style attribute specifies whether the minutes element is displayed in short or long format.
19495 The value of this attribute can be short or long. The meaning of these values depends on the value of the number:format-source attribute that is attached to the time style.   19916 The value of this attribute can be short or long. The meaning of these values depends on the value of the number:format-source attribute that is attached to the time style.
19496 For minutes, if the value of the number:format-source attribute is fixed:   19917 For minutes, if the value of the number:format-source attribute is fixed:
19497 short means that the minutes are displayed using at least one digit   19918 short means that the minutes are displayed using at least one digit
19498 long means that the minutes are displayed using at least two digits   19919 long means that the minutes are displayed using at least two digits
19499 <define name="number-minutes-attlist" combine="interleave">   19920 <define name="number-minutes-attlist" combine="interleave">
19500         <optional>   19921         <optional>
19501                 <attribute name="number:style" a:defaultValue="short">   19922                 <attribute name="number:style" a:defaultValue="short">
19502                         <choice>   19923                         <choice>
19503                                 <value>short</value>   19924                                 <value>short</value>
19504                                 <value>long</value>   19925                                 <value>long</value>
19505                         </choice>   19926                         </choice>
19506                 </attribute>   19927                 </attribute>
19507         </optional>   19928         </optional>
19508 </define>   19929 </define>
19509 Seconds   19930 Seconds
19510 The <number:seconds> element specifies if seconds are displayed as part of a date or time.   19931 The <number:seconds> element specifies if seconds are displayed as part of a date or time.
19511 <define name="number-seconds">   19932 <define name="number-seconds">
19512         <element name="number:seconds">   19933         <element name="number:seconds">
19513                 <ref name="number-seconds-attlist"/>   19934                 <ref name="number-seconds-attlist"/>
19514                 <empty/>   19935                 <empty/>
19515         </element>   19936         </element>
19516 </define>   19937 </define>
19517 Format Attribute   19938 Format Attribute
19518 The number:style attribute specifies whether the seconds element is displayed in short or long format.   19939 The number:style attribute specifies whether the seconds element is displayed in short or long format.
19519 The value of this attribute can be short or long. The meaning of these values depends on the value of the number:format-source attribute that is attached to the time style.   19940 The value of this attribute can be short or long. The meaning of these values depends on the value of the number:format-source attribute that is attached to the time style.
19520 For seconds, if the value of the number:format-source attribute is fixed:   19941 For seconds, if the value of the number:format-source attribute is fixed:
19521 short means that the seconds are displayed using at least one digit   19942 short means that the seconds are displayed using at least one digit
19522 long means that the seconds are displayed using at least two digits   19943 long means that the seconds are displayed using at least two digits
19523 <define name="number-seconds-attlist" combine="interleave">   19944 <define name="number-seconds-attlist" combine="interleave">
19524         <optional>   19945         <optional>
19525                 <attribute name="number:style" a:defaultValue="short">   19946                 <attribute name="number:style" a:defaultValue="short">
19526                         <choice>   19947                         <choice>
19527                                 <value>short</value>   19948                                 <value>short</value>
19528                                 <value>long</value>   19949                                 <value>long</value>
19529                         </choice>   19950                         </choice>
19530                 </attribute>   19951                 </attribute>
19531         </optional>   19952         </optional>
19532 </define>   19953 </define>
19533 Decimal Places Attribute   19954 Decimal Places Attribute
19534 The number:decimal-places attribute determines the number of decimal places to use when displaying fractions.   19955 The number:decimal-places attribute determines the number of decimal places to use when displaying fractions.
19535 If this attribute is not present or if the value of the attribute is 0, fractions are not displayed.   19956 If this attribute is not present or if the value of the attribute is 0, fractions are not displayed.
19536 <define name="number-seconds-attlist" combine="interleave">   19957 <define name="number-seconds-attlist" combine="interleave">
19537         <optional>   19958         <optional>
19538                 <attribute name="number:decimal-places" a:defaultValue="0">   19959                 <attribute name="number:decimal-places" a:defaultValue="0">
19539                         <ref name="integer"/>   19960                         <ref name="integer"/>
19540                 </attribute>   19961                 </attribute>
19541         </optional>   19962         </optional>
19542 </define>   19963 </define>
19543 AM/PM   19964 AM/PM
19544 The <number:am-pm> element specifies if AM/PM is included as part of the date or time.   19965 The <number:am-pm> element specifies if AM/PM is included as part of the date or time.
19545 If a <number:am-pm> element is contained in a date or time style, hours are displayed using values from 1 to 12 only.   19966 If a <number:am-pm> element is contained in a date or time style, hours are displayed using values from 1 to 12 only.
19546 <define name="number-am-pm">   19967 <define name="number-am-pm">
19547         <element name="number:am-pm">   19968         <element name="number:am-pm">
19548                 <empty/>   19969                 <empty/>
19549         </element>   19970         </element>
19550 </define>   19971 </define>
19551 14.7.6Boolean Style   19972 14.7.6Boolean Style
19552 The <number:boolean-style> element describes the style for Boolean values.   19973 The <number:boolean-style> element describes the style for Boolean values.
19553 This element can contain one <number:boolean> element, which can be preceded or followed by <number:text> elements. In addition, it can contain a <style:text-properties> element and a <style:map> element.   19974 This element can contain one <number:boolean> element, which can be preceded or followed by <number:text> elements. In addition, it can contain a <style:text-properties> element and a <style:map> element.
19554 <define name="number-boolean-style">   19975 <define name="number-boolean-style">
19555         <element name="number:boolean-style">   19976         <element name="number:boolean-style">
19556                 <ref name="common-data-style-attlist"/>   19977                 <ref name="common-data-style-attlist"/>
19557                 <optional>   19978                 <optional>
19558                         <ref name="style-text-properties"/>   19979                         <ref name="style-text-properties"/>
19559                 </optional>   19980                 </optional>
19560                 <optional>   19981                 <optional>
19561                         <ref name="number-text"/>   19982                         <ref name="number-text"/>
19562                 </optional>   19983                 </optional>
19563                 <optional>   19984                 <optional>
19564                         <ref name="number-boolean"/>   19985                         <ref name="number-boolean"/>
19565                         <optional>   19986                         <optional>
19566                                 <ref name="number-text"/>   19987                                 <ref name="number-text"/>
19567                         </optional>   19988                         </optional>
19568                 </optional>   19989                 </optional>
19569                 <zeroOrMore>   19990                 <zeroOrMore>
19570                         <ref name="style-map"/>   19991                         <ref name="style-map"/>
19571                 </zeroOrMore>   19992                 </zeroOrMore>
19572         </element>   19993         </element>
19573 </define>   19994 </define>
19574 Boolean   19995 Boolean
19575 The <number:boolean> element contains the Boolean value of a Boolean style.   19996 The <number:boolean> element contains the Boolean value of a Boolean style.
19576 <define name="number-boolean">   19997 <define name="number-boolean">
19577         <element name="number:boolean">   19998         <element name="number:boolean">
19578                 <empty/>   19999                 <empty/>
19579         </element>   20000         </element>
19580 </define>   20001 </define>
19581 14.7.7Text Style   20002 14.7.7Text Style
19582 The <number:text-style> element describes the style for displaying text.   20003 The <number:text-style> element describes the style for displaying text.
19583 This element can contain any number of <number:text-content> elements. It can also contain <number:text> elements , which display additional text, but it cannot contain two of these elements consecutively. In addition, it can contain a <style:text-properties> element and a <style:map> element. The <number:text-content> elements represent the variable text content to display, while the <number:text> elements contain any additional fixed text to display.   20004 This element can contain any number of <number:text-content> elements. It can also contain <number:text> elements , which display additional text, but it cannot contain two of these elements consecutively. In addition, it can contain a <style:text-properties> element and a <style:map> element. The <number:text-content> elements represent the variable text content to display, while the <number:text> elements contain any additional fixed text to display.
19584 <define name="number-text-style">   20005 <define name="number-text-style">
19585         <element name="number:text-style">   20006         <element name="number:text-style">
19586                 <ref name="common-data-style-attlist"/>   20007                 <ref name="common-data-style-attlist"/>
19587                 <optional>   20008                 <optional>
19588                         <ref name="style-text-properties"/>   20009                         <ref name="style-text-properties"/>
19589                 </optional>   20010                 </optional>
19590                 <optional>   20011                 <optional>
19591                         <ref name="number-text"/>   20012                         <ref name="number-text"/>
19592                 </optional>   20013                 </optional>
19593                 <zeroOrMore>   20014                 <zeroOrMore>
19594                         <ref name="number-text-content"/>   20015                         <ref name="number-text-content"/>
19595                         <optional>   20016                         <optional>
19596                                 <ref name="number-text"/>   20017                                 <ref name="number-text"/>
19597                         </optional>   20018                         </optional>
19598                 </zeroOrMore>   20019                 </zeroOrMore>
19599                 <zeroOrMore>   20020                 <zeroOrMore>
19600                         <ref name="style-map"/>   20021                         <ref name="style-map"/>
19601                 </zeroOrMore>   20022                 </zeroOrMore>
19602         </element>   20023         </element>
19603 </define>   20024 </define>
19604 See section 14.7.9 for information on the attributes that may be associated with the text style elements.   20025 See section 14.7.9 for information on the attributes that may be associated with the text style elements.
19605 Fixed Text   20026 Fixed Text
19606 The <number:text> element contains any fixed text for a data style.   20027 The <number:text> element contains any fixed text for a data style.
19607 This element is contained in all data styles element.   20028 This element is contained in all data styles element.
19608 <define name="number-text">   20029 <define name="number-text">
19609         <element name="number:text">   20030         <element name="number:text">
19610                 <text/>   20031                 <text/>
19611         </element>   20032         </element>
19612 </define>   20033 </define>
19613 Text Content   20034 Text Content
19614 The <number:text-content> element contains the variable text content of a text style.   20035 The <number:text-content> element contains the variable text content of a text style.
19615 <define name="number-text-content">   20036 <define name="number-text-content">
19616         <element name="number:text-content">   20037         <element name="number:text-content">
19617                 <empty/>   20038                 <empty/>
19618         </element>   20039         </element>
19619 </define>   20040 </define>
19620 14.7.8Common Data Style Elements   20041 14.7.8Common Data Style Elements
19621 The following common style elements may be contained within data style elements:   20042 The following common style elements may be contained within data style elements:
19622 Text formatting properties   20043 Text formatting properties
19623 Style mappings   20044 Style mappings
19624 Formatting Properties   20045 Formatting Properties
19625 The <style:text-properties> element specifies the text formatting properties to apply to any text displayed in the data style. See section 15.4 for information on the formatting properties element.   20046 The <style:text-properties> element specifies the text formatting properties to apply to any text displayed in the data style. See section 15.4 for information on the formatting properties element.
19626 The purpose of specifying text formatting properties within data styles is mainly to highlight certain values (for instance negative ones) by using style mappings. For this reason, data styles usually support only very few text formatting properties, for instance a text color. There may be also restrictions for the values of text formatting properties. For instance, the only value allowed for the text color might be read.   20047 The purpose of specifying text formatting properties within data styles is mainly to highlight certain values (for instance negative ones) by using style mappings. For this reason, data styles usually support only very few text formatting properties, for instance a text color. There may be also restrictions for the values of text formatting properties. For instance, the only value allowed for the text color might be read.
19627 Style Mappings   20048 Style Mappings
19628 The <style:map> element specifies an alternative data style to map to if a certain condition exists. See section 14.1.1 for information on the <style:map> element.   20049 The <style:map> element specifies an alternative data style to map to if a certain condition exists. See section 14.1.1 for information on the <style:map> element.
19629 The following rules exist for using style maps element with data style elements:   20050 The following rules exist for using style maps element with data style elements:
19630 The style referenced by the style:apply-style attribute must be of the same type as the style containing the map.   20051 The style referenced by the style:apply-style attribute must be of the same type as the style containing the map.
19631 The condition must be in the format value() op n, where op is a relational operator and n is a number. For Boolean styles the condition value must be true and false.   20052 The condition must be in the format value() op n, where op is a relational operator and n is a number. For Boolean styles the condition value must be true and false.
19632 14.7.9Common Data Style Attributes   20053 14.7.9Common Data Style Attributes
19633 Many of the data style attributes are applicable to more than one data style element. The following data style attributes are common to many of the data style elements:   20054 Many of the data style attributes are applicable to more than one data style element. The following data style attributes are common to many of the data style elements:
19634 Name   20055 Name
19635 Language   20056 Language
19636 Country   20057 Country
19637 Title   20058 Title
19638 Volatility   20059 Volatility
19639 Automatic Order   20060 Automatic Order
19640 Format Source   20061 Format Source
19641 Transliteration   20062 Transliteration
19642 Name   20063 Name
19643 The style:name attribute specifies the name of the data style. It can be used with all data style elements.   20064 The style:name attribute specifies the name of the data style. It can be used with all data style elements.
19644 <define name="common-data-style-attlist" combine="interleave">   20065 <define name="common-data-style-attlist" combine="interleave">
19645         <attribute name="style:name">   20066         <attribute name="style:name">
19646                 <ref name="styleName"/>   20067                 <ref name="styleName"/>
19647         </attribute>   20068         </attribute>
19648 </define>   20069 </define>
19649 Display Name   20070 Display Name
19650 The style:display-name attribute specifies the name of the style as it should appear in the user interface. In contrast to the style name itself, this name may contain arbitrary characters. If this attribute is not present, the display name equals the style name.   20071 The style:display-name attribute specifies the name of the style as it should appear in the user interface. In contrast to the style name itself, this name may contain arbitrary characters. If this attribute is not present, the display name equals the style name.
19651 The style:display-name attribute can be used with all data style elements.   20072 The style:display-name attribute can be used with all data style elements.
19652 <define name="style-data-style-attlist" combine="interleave">   20073 <define name="style-data-style-attlist" combine="interleave">
19653         <optional>   20074         <optional>
19654                 <attribute name="style:display-name">   20075                 <attribute name="style:display-name">
19655                         <ref name="string"/>   20076                         <ref name="string"/>
19656                 </attribute>   20077                 </attribute>
19657         </optional>   20078         </optional>
19658 </define>   20079 </define>
19659 Language   20080 Language
19660 The number:language attribute specifies the language of the style. The value of the attribute is a language code in conformance with [RFC3066]. The language code is used to retrieve information about any display properties that are language-dependent. The language attribute can be used with all data style elements.   20081 The number:language attribute specifies the language of the style. The value of the attribute is a language code in conformance with [RFC3066]. The language code is used to retrieve information about any display properties that are language-dependent. The language attribute can be used with all data style elements.
19661 If a language code is not specified, either the system settings or the setting for the system's language are used, depending on the property whose value should be retrieved.   20082 If a language code is not specified, either the system settings or the setting for the system's language are used, depending on the property whose value should be retrieved.
19662 <define name="common-data-style-attlist" combine="interleave">   20083 <define name="common-data-style-attlist" combine="interleave">
19663         <optional>   20084         <optional>
19664                 <attribute name="number:language">   20085                 <attribute name="number:language">
19665                         <ref name="languageCode"/>   20086                         <ref name="languageCode"/>
19666                 </attribute>   20087                 </attribute>
19667         </optional>   20088         </optional>
19668 </define>   20089 </define>
19669 Country   20090 Country
19670 The number:country attribute specifies the country of the style. The value of the attribute is a country code in conformance with [RFC3066]. The country code is used to retrieve information about any display properties that are country-dependent. The language attribute can be used with all data style elements.   20091 The number:country attribute specifies the country of the style. The value of the attribute is a country code in conformance with [RFC3066]. The country code is used to retrieve information about any display properties that are country-dependent. The language attribute can be used with all data style elements.
19671 If a country is not specified, either the system settings or the setting for the system's country are used, depending on the property whose value should be retrieved.   20092 If a country is not specified, either the system settings or the setting for the system's country are used, depending on the property whose value should be retrieved.
19672 <define name="common-data-style-attlist" combine="interleave">   20093 <define name="common-data-style-attlist" combine="interleave">
19673         <optional>   20094         <optional>
19674                 <attribute name="number:country">   20095                 <attribute name="number:country">
19675                         <ref name="countryCode"/>   20096                         <ref name="countryCode"/>
19676                 </attribute>   20097                 </attribute>
19677         </optional>   20098         </optional>
19678 </define>   20099 </define>
19679 Title   20100 Title
19680 The number:title attribute specifies the title of the data style. It can be used with all data style elements.   20101 The number:title attribute specifies the title of the data style. It can be used with all data style elements.
19681 <define name="common-data-style-attlist" combine="interleave">   20102 <define name="common-data-style-attlist" combine="interleave">
19682         <optional>   20103         <optional>
19683                 <attribute name="number:title"/>   20104                 <attribute name="number:title"/>
19684         </optional>   20105         </optional>
19685 </define>   20106 </define>
19686 Volatility   20107 Volatility
19687 Sometimes when a document is opened, not all of the styles contained in the document are actually referenced. The application may  retain or discard this unused styles. This may be controlled by the style:volatile attribute, that is supported by all data style elements.   20108 Sometimes when a document is opened, not all of the styles contained in the document are actually referenced. The application may  retain or discard this unused styles. This may be controlled by the style:volatile attribute, that is supported by all data style elements.
19688 If the value of the attribute is true, the application keeps the style if possible. If the value is false, the application discards the unused styles.   20109 If the value of the attribute is true, the application keeps the style if possible. If the value is false, the application discards the unused styles.
19689 <define name="common-data-style-attlist" combine="interleave">   20110 <define name="common-data-style-attlist" combine="interleave">
19690         <optional>   20111         <optional>
19691                 <attribute name="style:volatile">   20112                 <attribute name="style:volatile">
19692                         <ref name="boolean"/>   20113                         <ref name="boolean"/>
19693                 </attribute>   20114                 </attribute>
19694         </optional>   20115         </optional>
19695 </define>   20116 </define>
19696 Automatic Order   20117 Automatic Order
19697 The number:automatic-order attribute can be used to automatically order data to match the default order for the language and country of the data style. This attribute is used with the following elements:   20118 The number:automatic-order attribute can be used to automatically order data to match the default order for the language and country of the data style. This attribute is used with the following elements:
19698 <number:currency-style>, where number and the currency symbols are reordered   20119 <number:currency-style>, where number and the currency symbols are reordered
19699 <number:date-style>, where the <number:date-style> child elements that are not <number:text> or <style:text-properties> elements are reordered   20120 <number:date-style>, where the <number:date-style> child elements that are not <number:text> or <style:text-properties> elements are reordered
19700 The attribute value can be true or false.   20121 The attribute value can be true or false.
19701 <define name="common-auto-reorder-attlist" combine="interleave">   20122 <define name="common-auto-reorder-attlist" combine="interleave">
19702         <optional>   20123         <optional>
19703                 <attribute name="number:automatic-order" a:defaultValue="false">   20124                 <attribute name="number:automatic-order" a:defaultValue="false">
19704                         <ref name="boolean"/>   20125                         <ref name="boolean"/>
19705                 </attribute>   20126                 </attribute>
19706         </optional>   20127         </optional>
19707 </define>   20128 </define>
19708 Format Source   20129 Format Source
19709 The number:format-source attribute specifies the source of the short and long display formats. It is used with the following elements:   20130 The number:format-source attribute specifies the source of the short and long display formats. It is used with the following elements:
19710 <number:date-style>   20131 <number:date-style>
19711 <number:time-style>   20132 <number:time-style>
19712 The value of this attribute can be fixed or language.   20133 The value of this attribute can be fixed or language.
19713 If the value is fixed, the meaning of the values number:style attribute's values short and long is as described in this specification.   20134 If the value is fixed, the meaning of the values number:style attribute's values short and long is as described in this specification.
19714 If the value of the number:format-source attribute is language, the meaning of short and long depends on the language and country of the date style, or, if neither of these are specified, applications should  use the system settings for short and long date and time formats.   20135 If the value of the number:format-source attribute is language, the meaning of short and long depends on the language and country of the date style, or, if neither of these are specified, applications should  use the system settings for short and long date and time formats.
19715 <define name="common-format-source-attlist">   20136 <define name="common-format-source-attlist">
19716         <optional>   20137         <optional>
19717                 <attribute name="number:format-source" a:defaultValue="fixed">   20138                 <attribute name="number:format-source" a:defaultValue="fixed">
19718                         <choice>   20139                         <choice>
19719                                 <value>fixed</value>   20140                                 <value>fixed</value>
19720                                 <value>language</value>   20141                                 <value>language</value>
19721                         </choice>   20142                         </choice>
19722                 </attribute>   20143                 </attribute>
19723         </optional>   20144         </optional>
19724 </define>   20145 </define>
19725 14.7.10Transliteration   20146 14.7.10Transliteration
19726 The various number:transliteration-* attributes specify the native number system of the style to display the number using, for example, CJK number characters. The notation is inspired by the W3C XSLT 2.0 draft, see §12.3 of [XSLT2]. However, to be able to fully distinguish between all possible native number systems additional attributes are needed in combination. For example, Korean uses 11 different systems where the digits are not always different but short and long and formal and informal forms exist.   20147 The various number:transliteration-* attributes specify the native number system of the style to display the number using, for example, CJK number characters. The notation is inspired by the W3C XSLT 2.0 draft, see §12.3 of [XSLT2]. However, to be able to fully distinguish between all possible native number systems additional attributes are needed in combination. For example, Korean uses 11 different systems where the digits are not always different but short and long and formal and informal forms exist.
19727 The transliteration attributes can be used with all data style elements.   20148 The transliteration attributes can be used with all data style elements.
19728 Transliteration Format   20149 Transliteration Format
19729 The number:transliteration-format attribute specifies which number characters to use. The value of the attribute is the digit "1" expressed as a native number.   20150 The number:transliteration-format attribute specifies which number characters to use. The value of the attribute is the digit "1" expressed as a native number.
19730 If no format is specified the default ASCII representation of Arabic digits is used, other transliteration attributes present in this case are ignored.   20151 If no format is specified the default ASCII representation of Arabic digits is used, other transliteration attributes present in this case are ignored.
19731 <define name="common-data-style-attlist" combine="interleave">   20152 <define name="common-data-style-attlist" combine="interleave">
19732         <optional>   20153         <optional>
19733                 <attribute name="number:transliteration-format" a:defaultValue="1">   20154                 <attribute name="number:transliteration-format" a:defaultValue="1">
19734                         <ref name="string"/>   20155                         <ref name="string"/>
19735                 </attribute>   20156                 </attribute>
19736         </optional>   20157         </optional>
19737 </define>   20158 </define>
19738 Transliteration Language   20159 Transliteration Language
19739 The number:transliteration-language attribute specifies which language the native number system belongs to. The value of the attribute is a language code in conformance with [RFC3066].   20160 The number:transliteration-language attribute specifies which language the native number system belongs to. The value of the attribute is a language code in conformance with [RFC3066].
19740 If no language/country (locale) combination is specified the locale of the data style is used.   20161 If no language/country (locale) combination is specified the locale of the data style is used.
19741 <define name="common-data-style-attlist" combine="interleave">   20162 <define name="common-data-style-attlist" combine="interleave">
19742         <optional>   20163         <optional>
19743                 <attribute name="number:transliteration-language">   20164                 <attribute name="number:transliteration-language">
19744                         <ref name="countryCode"/>   20165                         <ref name="countryCode"/>
19745                 </attribute>   20166                 </attribute>
19746         </optional>   20167         </optional>
19747 </define>   20168 </define>
19748 Transliteration Country   20169 Transliteration Country
19749 The number:transliteration-country attribute specifies which country the native number system belongs to. The value of the attribute is a country code in conformance with [RFC3066].   20170 The number:transliteration-country attribute specifies which country the native number system belongs to. The value of the attribute is a country code in conformance with [RFC3066].
19750 If no language/country (locale) combination is specified the locale of the data style is used.   20171 If no language/country (locale) combination is specified the locale of the data style is used.
19751 <define name="common-data-style-attlist" combine="interleave">   20172 <define name="common-data-style-attlist" combine="interleave">
19752         <optional>   20173         <optional>
19753                 <attribute name="number:transliteration-country">   20174                 <attribute name="number:transliteration-country">
19754                         <ref name="countryCode"/>   20175                         <ref name="countryCode"/>
19755                 </attribute>   20176                 </attribute>
19756         </optional>   20177         </optional>
19757 </define>   20178 </define>
19758 Transliteration Style   20179 Transliteration Style
19759 The number:transliteration-style attribute specifies which style the native number system belongs to. If more than one native number system matches the transliteration-format this attribute selects one. A short style should result in a one to one mapping of Arabic digits to native number digits if possible.   20180 The number:transliteration-style attribute specifies which style the native number system belongs to. If more than one native number system matches the transliteration-format this attribute selects one. A short style should result in a one to one mapping of Arabic digits to native number digits if possible.
19760 <define name="common-data-style-attlist" combine="interleave">   20181 <define name="common-data-style-attlist" combine="interleave">
19761         <optional>   20182         <optional>
19762                 <attribute name="number:transliteration-style" a:defaultValue="short">   20183                 <attribute name="number:transliteration-style" a:defaultValue="short">
19763                         <choice>   20184                         <choice>
19764                                 <value>short</value>   20185                                 <value>short</value>
19765                                 <value>medium</value>   20186                                 <value>medium</value>
19766                                 <value>long</value>   20187                                 <value>long</value>
19767                         </choice>   20188                         </choice>
19768                 </attribute>   20189                 </attribute>
19769         </optional>   20190         </optional>
19770 </define>   20191 </define>
19771 14.7.11Common Data Style Child Element Attributes   20192 14.7.11Common Data Style Child Element Attributes
19772 Many of the number style attributes are applicable to more than one number style element. The following attributes are common to many of the number style elements:   20193 Many of the number style attributes are applicable to more than one number style element. The following attributes are common to many of the number style elements:
19773 Decimal places   20194 Decimal places
19774 Minimum integer digits   20195 Minimum integer digits
19775 Grouping separator   20196 Grouping separator
19776 Decimal replacement   20197 Decimal replacement
19777 Minimum exponent digits   20198 Minimum exponent digits
19778 Minimum numerator digits   20199 Minimum numerator digits
19779 Minimum denominator digits   20200 Minimum denominator digits
19780 Calendar system   20201 Calendar system
19781 Decimal Places   20202 Decimal Places
19782 The number:decimal-places attribute specifies the number of decimal places to display. This attribute is supported for the following elements:   20203 The number:decimal-places attribute specifies the number of decimal places to display. This attribute is supported for the following elements:
19783 <number:number>   20204 <number:number>
19784 <number:scientific-number>   20205 <number:scientific-number>
19785 If this attribute is not specified, a default number of decimal places is used.   20206 If this attribute is not specified, a default number of decimal places is used.
19786 <define name="common-decimal-places-attlist">   20207 <define name="common-decimal-places-attlist">
19787         <optional>   20208         <optional>
19788                 <attribute name="number:decimal-places">   20209                 <attribute name="number:decimal-places">
19789                         <ref name="integer"/>   20210                         <ref name="integer"/>
19790                 </attribute>   20211                 </attribute>
19791         </optional>   20212         </optional>
19792 </define>   20213 </define>
19793 Minimum Integer Digits   20214 Minimum Integer Digits
19794 The number:min-integer-digits attribute specifies the minimum number of integer digits to display in a number, a scientific number, or a fraction. This attribute is supported for the following elements:   20215 The number:min-integer-digits attribute specifies the minimum number of integer digits to display in a number, a scientific number, or a fraction. This attribute is supported for the following elements:
19795 <number:number>   20216 <number:number>
19796 <number:scientific-number>   20217 <number:scientific-number>
19797 <number:fraction>   20218 <number:fraction>
19798 If this attribute is not specified, a default number of integer digits is used.   20219 If this attribute is not specified, a default number of integer digits is used.
19799 <define name="common-number-attlist" combine="interleave">   20220 <define name="common-number-attlist" combine="interleave">
19800         <optional>   20221         <optional>
19801                 <attribute name="number:min-integer-digits">   20222                 <attribute name="number:min-integer-digits">
19802                         <ref name="integer"/>   20223                         <ref name="integer"/>
19803                 </attribute>   20224                 </attribute>
19804         </optional>   20225         </optional>
19805 </define>   20226 </define>
19806 Grouping Separator   20227 Grouping Separator
19807 The number:grouping attribute specifies whether or not the integer digits of a number should be grouped using a separator character. This attribute is supported for the following elements:   20228 The number:grouping attribute specifies whether or not the integer digits of a number should be grouped using a separator character. This attribute is supported for the following elements:
19808 <number:number>   20229 <number:number>
19809 <number:scientific-number>   20230 <number:scientific-number>
19810 <number:fraction>   20231 <number:fraction>
19811 The grouping character that is used and the number of digits that are grouped together depends on the language and country of the style.   20232 The grouping character that is used and the number of digits that are grouped together depends on the language and country of the style.
19812 <define name="common-number-attlist" combine="interleave">   20233 <define name="common-number-attlist" combine="interleave">
19813         <optional>   20234         <optional>
19814                 <attribute name="number:grouping" a:defaultValue="false">   20235                 <attribute name="number:grouping" a:defaultValue="false">
19815                         <ref name="boolean"/>   20236                         <ref name="boolean"/>
19816                 </attribute>   20237                 </attribute>
19817         </optional>   20238         </optional>
19818 </define>   20239 </define>
19819 Calendar System   20240 Calendar System
19820 The number:calendar attribute specifies the calendar system used to extract parts of a date. This attribute is supported for the following elements:   20241 The number:calendar attribute specifies the calendar system used to extract parts of a date. This attribute is supported for the following elements:
19821 <number:day>   20242 <number:day>
19822 <number:month>   20243 <number:month>
19823 <number:year>   20244 <number:year>
19824 <number:era>   20245 <number:era>
19825 <number:day-of-week>   20246 <number:day-of-week>
19826 <number:week-of-year>   20247 <number:week-of-year>
19827 <number:quarter>   20248 <number:quarter>
19828 The attribute may have the values gregorian, gengou, ROC, hanja_yoil, hanja, hijri, jewish, buddhist or an arbitrary string value. If this attribute is not specified, the default calendar system is used.   20249 The attribute may have the values gregorian, gengou, ROC, hanja_yoil, hanja, hijri, jewish, buddhist or an arbitrary string value. If this attribute is not specified, the default calendar system is used.
19829 <define name="common-calendar-attlist" combine="interleave">   20250 <define name="common-calendar-attlist" combine="interleave">
19830         <optional>   20251         <optional>
19831                 <attribute name="number:calendar">   20252                 <attribute name="number:calendar">
19832                         <choice>   20253                         <choice>
19833                                 <value>gregorian</value>   20254                                 <value>gregorian</value>
19834                                 <value>gengou</value>   20255                                 <value>gengou</value>
19835                                 <value>ROC</value>   20256                                 <value>ROC</value>
19836                                 <value>hanja_yoil</value>   20257                                 <value>hanja_yoil</value>
19837                                 <value>hanja</value>   20258                                 <value>hanja</value>
19838                                 <value>hijri</value>   20259                                 <value>hijri</value>
19839                                 <value>jewish</value>   20260                                 <value>jewish</value>
19840                                 <value>buddhist</value>   20261                                 <value>buddhist</value>
19841                                 <ref name="string"/>   20262                                 <ref name="string"/>
19842                         </choice>   20263                         </choice>
19843                 </attribute>   20264                 </attribute>
19844         </optional>   20265         </optional>
19845 </define>   20266 </define>
19846 14.8Text Styles   20267 14.8Text Styles
19847 14.8.1Text Styles   20268 14.8.1Text Styles
19848 Text styles are <style:style> elements that have the family text. They can be used within all kind of applications to specify formatting properties for piece of text. They support the text properties as described in section 15.4.   20269 Text styles are <style:style> elements that have the family text. They can be used within all kind of applications to specify formatting properties for piece of text. They support the text properties as described in section 15.4.
19849 <define name="style-style-content" combine="choice">   20270 <define name="style-style-content" combine="choice">
19850         <group>   20271         <group>
19851                 <attribute name="style:family">   20272                 <attribute name="style:family">
19852                         <value>text</value>   20273                         <value>text</value>
19853                 </attribute>   20274                 </attribute>
19854                 <optional>   20275                 <optional>
19855                         <ref name="style-text-properties"/>   20276                         <ref name="style-text-properties"/>
19856                 </optional>   20277                 </optional>
19857         </group>   20278         </group>
19858 </define>   20279 </define>
19859 14.8.2Paragraph Styles   20280 14.8.2Paragraph Styles
19860 Paragraph styles are <style:style> elements that have the family paragraph. They can be used within all kind of applications to specify formatting properties for paragraphs and headings. They support the paragraph properties described in section 15.5 as well as the text properties described in section 15.4.   20281 Paragraph styles are <style:style> elements that have the family paragraph. They can be used within all kind of applications to specify formatting properties for paragraphs and headings. They support the paragraph properties described in section 15.5 as well as the text properties described in section 15.4.
19861 <define name="style-style-content" combine="choice">   20282 <define name="style-style-content" combine="choice">
19862         <group>   20283         <group>
19863                 <attribute name="style:family">   20284                 <attribute name="style:family">
19864                         <value>paragraph</value>   20285                         <value>paragraph</value>
19865                 </attribute>   20286                 </attribute>
19866                 <optional>   20287                 <optional>
19867                         <ref name="style-paragraph-properties"/>   20288                         <ref name="style-paragraph-properties"/>
19868                 </optional>   20289                 </optional>
19869                 <optional>   20290                 <optional>
19870                         <ref name="style-text-properties"/>   20291                         <ref name="style-text-properties"/>
19871                 </optional>   20292                 </optional>
19872         </group>   20293         </group>
19873 </define>   20294 </define>
19874 14.8.3Section Styles   20295 14.8.3Section Styles
19875 Section styles are <style:style> elements that have the family section. They can be used within text documents to specify formatting properties for a text section. They support the section properties as described in section 15.7.   20296 Section styles are <style:style> elements that have the family section. They can be used within text documents to specify formatting properties for a text section. They support the section properties as described in section 15.7.
19876 <define name="style-style-content" combine="choice">   20297 <define name="style-style-content" combine="choice">
19877         <group>   20298         <group>
19878                 <attribute name="style:family">   20299                 <attribute name="style:family">
19879                         <value>section</value>   20300                         <value>section</value>
19880                 </attribute>   20301                 </attribute>
19881                 <optional>   20302                 <optional>
19882                         <ref name="style-section-properties"/>   20303                         <ref name="style-section-properties"/>
19883                 </optional>   20304                 </optional>
19884         </group>   20305         </group>
19885 </define>   20306 </define>
19886 14.8.4Ruby Style   20307 14.8.4Ruby Style
19887 A ruby style specifies how the ruby text is displayed relative to the base text. It is represented by a <style:style> element those family is ruby. The ruby style is assigned to the ruby element using a text:style-name attribute. Ruby styles support the formatting properties described in section 15.6.   20308 A ruby style specifies how the ruby text is displayed relative to the base text. It is represented by a <style:style> element those family is ruby. The ruby style is assigned to the ruby element using a text:style-name attribute. Ruby styles support the formatting properties described in section 15.6.
19888 <define name="style-style-content" combine="choice">   20309 <define name="style-style-content" combine="choice">
19889         <group>   20310         <group>
19890                 <attribute name="style:family">   20311                 <attribute name="style:family">
19891                         <value>ruby</value>   20312                         <value>ruby</value>
19892                 </attribute>   20313                 </attribute>
19893                 <optional>   20314                 <optional>
19894                         <ref name="style-ruby-properties"/>   20315                         <ref name="style-ruby-properties"/>
19895                 </optional>   20316                 </optional>
19896         </group>   20317         </group>
19897 </define>   20318 </define>
19898 14.9Enhanced Text Styles   20319 14.9Enhanced Text Styles
19899 14.9.1Line Numbering Configuration   20320 14.9.1Line Numbering Configuration
19900 A document can contain none or one line numbering configuration element <text:linenumbering-configuration> within the <office:styles> element. If the element is not present, a default line numbering configuration is used. The default line numbering may vary on the office application software, but every document saved by an application that supports line numbering should contain a line numbering configuration element.   20321 A document can contain none or one line numbering configuration element <text:linenumbering-configuration> within the <office:styles> element. If the element is not present, a default line numbering configuration is used. The default line numbering may vary on the office application software, but every document saved by an application that supports line numbering should contain a line numbering configuration element.
19901 <define name="text-linenumbering-configuration">   20322 <define name="text-linenumbering-configuration">
19902         <element name="text:linenumbering-configuration">   20323         <element name="text:linenumbering-configuration">
19903                 <ref name="text-linenumbering-configuration-attlist"/>   20324                 <ref name="text-linenumbering-configuration-attlist"/>
19904                 <optional>   20325                 <optional>
19905                         <ref name="text-linenumbering-separator"/>   20326                         <ref name="text-linenumbering-separator"/>
19906                 </optional>   20327                 </optional>
19907         </element>   20328         </element>
19908 </define>   20329 </define>
19909 The attributes that may be associated with the <text:linenumbering-configuration> element are:   20330 The attributes that may be associated with the <text:linenumbering-configuration> element are:
19910 Line numbering enable   20331 Line numbering enable
19911 Number format   20332 Number format
19912 Text style   20333 Text style
19913 Increment   20334 Increment
19914 Position   20335 Position
19915 Offset   20336 Offset
19916 Count empty lines   20337 Count empty lines
19917 Count line in text boxes   20338 Count line in text boxes
19918 Restart numbering on every page   20339 Restart numbering on every page
19919 The following element may be included in the <text:linenumbering-separator> element:   20340 The following element may be included in the <text:linenumbering-separator> element:
19920 Separator   20341 Separator
19921 Line Numbering Enable   20342 Line Numbering Enable
19922 The text:number-lines  attribute controls whether or not lines are numbered.   20343 The text:number-lines  attribute controls whether or not lines are numbered.
19923 <define name="text-linenumbering-configuration-attlist" combine="interleave">   20344 <define name="text-linenumbering-configuration-attlist" combine="interleave">
19924         <optional>   20345         <optional>
19925                 <attribute name="text:number-lines" a:defaultValue="true">   20346                 <attribute name="text:number-lines" a:defaultValue="true">
19926                         <ref name="boolean"/>   20347                         <ref name="boolean"/>
19927                 </attribute>   20348                 </attribute>
19928         </optional>   20349         </optional>
19929 </define>   20350 </define>
19930 Number Format   20351 Number Format
19931 See section 12.2 for detailed information on number format attributes. The attributes described in section 12.2 can also be associated with the <text:linenumbering-configuration> element.   20352 See section 12.2 for detailed information on number format attributes. The attributes described in section 12.2 can also be associated with the <text:linenumbering-configuration> element.
19932 <define name="text-linenumbering-configuration-attlist" combine="interleave">   20353 <define name="text-linenumbering-configuration-attlist" combine="interleave">
19933         <optional>   20354         <optional>
19934                 <ref name="common-num-format-attlist"/>   20355                 <ref name="common-num-format-attlist"/>
19935         </optional>   20356         </optional>
19936 </define>   20357 </define>
19937 Text Style   20358 Text Style
19938 The text:style-name  attribute specifies the text style for all line numbers. The value of this attribute is the name of the text style that is applied to all line numbers.   20359 The text:style-name  attribute specifies the text style for all line numbers. The value of this attribute is the name of the text style that is applied to all line numbers.
19939 <define name="text-linenumbering-configuration-attlist" combine="interleave">   20360 <define name="text-linenumbering-configuration-attlist" combine="interleave">
19940         <optional>   20361         <optional>
19941                 <attribute name="text:style-name">   20362                 <attribute name="text:style-name">
19942                         <ref name="styleNameRef"/>   20363                         <ref name="styleNameRef"/>
19943                 </attribute>   20364                 </attribute>
19944         </optional>   20365         </optional>
19945 </define>   20366 </define>
19946 Increment   20367 Increment
19947 The text:increment attribute causes line numbers that are a multiple of the given increment to be numbered. For example, if the increment is 5, only lines number 5, 10, 15, and so on are numbered.   20368 The text:increment attribute causes line numbers that are a multiple of the given increment to be numbered. For example, if the increment is 5, only lines number 5, 10, 15, and so on are numbered.
19948 <define name="text-linenumbering-configuration-attlist" combine="interleave">   20369 <define name="text-linenumbering-configuration-attlist" combine="interleave">
19949         <optional>   20370         <optional>
19950                 <attribute name="text:increment">   20371                 <attribute name="text:increment">
19951                         <ref name="nonNegativeInteger"/>   20372                         <ref name="nonNegativeInteger"/>
19952                 </attribute>   20373                 </attribute>
19953         </optional>   20374         </optional>
19954 </define>   20375 </define>
19955 Position   20376 Position
19956 The text:position attribute determines whether the line numbers are printed on the left , right, inner, or outer margins. <> 20377 The text:position attribute determines whether the line numbers are printed on the left, right, inner, or outer margins.
19957 <define name="text-linenumbering-configuration-attlist" combine="interleave"> = 20378 <define name="text-linenumbering-configuration-attlist" combine="interleave">
19958         <optional>   20379         <optional>
19959                 <attribute name="text:number-position" a:defaultValue="left">   20380                 <attribute name="text:number-position" a:defaultValue="left">
19960                         <choice>   20381                         <choice>
19961                                 <value>left</value>   20382                                 <value>left</value>
19962                                 <value>rigth</value> <> 20383                                 <value>right</value>
19963                                 <value>inner</value> = 20384                                 <value>inner</value>
19964                                 <value>outer</value>   20385                                 <value>outer</value>
19965                         </choice>   20386                         </choice>
19966                 </attribute>   20387                 </attribute>
19967         </optional>   20388         </optional>
19968 </define>   20389 </define>
19969 Offset   20390 Offset
19970 The text:offset attribute determines the distance between the line number and the margin.   20391 The text:offset attribute determines the distance between the line number and the margin.
19971 <define name="text-linenumbering-configuration-attlist" combine="interleave">   20392 <define name="text-linenumbering-configuration-attlist" combine="interleave">
19972         <optional>   20393         <optional>
19973                 <attribute name="text:offset">   20394                 <attribute name="text:offset">
19974                         <ref name="nonNegativeLength"/>   20395                         <ref name="nonNegativeLength"/>
19975                 </attribute>   20396                 </attribute>
19976         </optional>   20397         </optional>
19977 </define>   20398 </define>
19978 Count Empty Lines   20399 Count Empty Lines
19979 The text:count-empty-lines attribute determines whether or not empty lines are included in the line count. If the value of this attribute is true, empty lines are included in the line count.   20400 The text:count-empty-lines attribute determines whether or not empty lines are included in the line count. If the value of this attribute is true, empty lines are included in the line count.
19980 <define name="text-linenumbering-configuration-attlist" combine="interleave">   20401 <define name="text-linenumbering-configuration-attlist" combine="interleave">
19981         <optional>   20402         <optional>
19982                 <attribute name="text:count-empty-lines" a:defaultValue="true">   20403                 <attribute name="text:count-empty-lines" a:defaultValue="true">
19983                         <ref name="boolean"/>   20404                         <ref name="boolean"/>
19984                 </attribute>   20405                 </attribute>
19985         </optional>   20406         </optional>
19986 </define>   20407 </define>
19987 Count Lines in Text Boxes   20408 Count Lines in Text Boxes
19988 The text:count-in-text-boxes attribute determines whether or not text in text boxes is included in the line count. If the value of this attribute is true, text within text boxes is included in the line count.   20409 The text:count-in-text-boxes attribute determines whether or not text in text boxes is included in the line count. If the value of this attribute is true, text within text boxes is included in the line count.
19989 <define name="text-linenumbering-configuration-attlist" combine="interleave">   20410 <define name="text-linenumbering-configuration-attlist" combine="interleave">
19990         <optional>   20411         <optional>
19991                 <attribute name="text:count-in-text-boxes" a:defaultValue="false">   20412                 <attribute name="text:count-in-text-boxes" a:defaultValue="false">
19992                         <ref name="boolean"/>   20413                         <ref name="boolean"/>
19993                 </attribute>   20414                 </attribute>
19994         </optional>   20415         </optional>
19995 </define>   20416 </define>
19996 Restart Numbering on Every Page   20417 Restart Numbering on Every Page
19997 The text:restart-on-page attribute determines whether or not the line count is reset to 1 at the start of every page.   20418 The text:restart-on-page attribute determines whether or not the line count is reset to 1 at the start of every page.
19998 If the value of this attribute is true, the line count is reset to 1 at the beginning of every page, resulting in page -specific numbering of lines. The default value of this attribute is false, resulting in document-specific numbering of lines.   20419 If the value of this attribute is true, the line count is reset to 1 at the beginning of every page, resulting in page -specific numbering of lines. The default value of this attribute is false, resulting in document-specific numbering of lines.
19999 <define name="text-linenumbering-configuration-attlist" combine="interleave">   20420 <define name="text-linenumbering-configuration-attlist" combine="interleave">
20000         <optional>   20421         <optional>
20001                 <attribute name="text:restart-on-page" a:defaultValue="false">   20422                 <attribute name="text:restart-on-page" a:defaultValue="false">
20002                         <ref name="boolean"/>   20423                         <ref name="boolean"/>
20003                 </attribute>   20424                 </attribute>
20004         </optional>   20425         </optional>
20005 </define>   20426 </define>
20006 Separator   20427 Separator
20007 The <text:linenumbering-separator> element contains the text that is displayed as a separator. A separator is text that is displayed instead of a line number for lines where no number is displayed.   20428 The <text:linenumbering-separator> element contains the text that is displayed as a separator. A separator is text that is displayed instead of a line number for lines where no number is displayed.
20008 This element is contained in the line numbering configuration element. If the element is not present, no separator is displayed.   20429 This element is contained in the line numbering configuration element. If the element is not present, no separator is displayed.
20009 The element's text:increment attribute causes the separator to appear on lines that are a multiple of the given increment. For example, if the increment is 2, only lines 2, 4, 6, and so on get a separator, provided that no number is displayed already.   20430 The element's text:increment attribute causes the separator to appear on lines that are a multiple of the given increment. For example, if the increment is 2, only lines 2, 4, 6, and so on get a separator, provided that no number is displayed already.
20010 <define name="text-linenumbering-separator">   20431 <define name="text-linenumbering-separator">
20011         <element name="text:linenumbering-separator">   20432         <element name="text:linenumbering-separator">
20012                 <optional>   20433                 <optional>
20013                         <attribute name="text:increment">   20434                         <attribute name="text:increment">
20014                                 <ref name="nonNegativeInteger"/>   20435                                 <ref name="nonNegativeInteger"/>
20015                         </attribute>   20436                         </attribute>
20016                 </optional>   20437                 </optional>
20017                 <text/>   20438                 <text/>
20018         </element>   20439         </element>
20019 </define>   20440 </define>
20020 14.9.2Notes Configuration Element   20441 14.9.2Notes Configuration Element
20021 A document in OpenDocument  format contains at most one notes configuration element for every notes class used in the document. If there is no note configuration element, a default note configuration is used.   20442 A document in OpenDocument  format contains at most one notes configuration element for every notes class used in the document. If there is no note configuration element, a default note configuration is used.
20022 <define name="text-notes-configuration">   20443 <define name="text-notes-configuration">
20023         <element name="text:notes-configuration">   20444         <element name="text:notes-configuration">
20024                 <ref name="text-notes-configuration-content"/>   20445                 <ref name="text-notes-configuration-content"/>
20025         </element>   20446         </element>
20026 </define>   20447 </define>
20027 The attributes that may be associated with the <text:notes-configuration> element are:   20448 The attributes that may be associated with the <text:notes-configuration> element are:
20028 Note class   20449 Note class
20029 Citation text style   20450 Citation text style
20030 Citation body text style   20451 Citation body text style
20031 Default footnote paragraph style   20452 Default footnote paragraph style
20032 Master page   20453 Master page
20033 Start value   20454 Start value
20034 Number format   20455 Number format
20035 Numbering scheme   20456 Numbering scheme
20036 Footnote position   20457 Footnote position
20037 The following element may be included in the <text:footnotes-configuration> element:   20458 The following element may be included in the <text:footnotes-configuration> element:
20038 Footnote continuation notice (forward and backward)   20459 Footnote continuation notice (forward and backward)
20039 Note class   20460 Note class
20040 The note class attribute determines which note elements this notes configuration applies to.   20461 The note class attribute determines which note elements this notes configuration applies to.
20041 <define name="text-notes-configuration-content" combine="interleave">   20462 <define name="text-notes-configuration-content" combine="interleave">
20042         <ref name="text-note-class"/>   20463         <ref name="text-note-class"/>
20043 </define>   20464 </define>
20044 Citation Text Style   20465 Citation Text Style
20045 The text:citation-style attribute specifies the text style to use for the footnote citation within the footnote.   20466 The text:citation-style attribute specifies the text style to use for the footnote citation within the footnote.
20046 <define name="text-notes-configuration-content" combine="interleave">   20467 <define name="text-notes-configuration-content" combine="interleave">
20047         <optional>   20468         <optional>
20048                 <attribute name="text:citation-style-name">   20469                 <attribute name="text:citation-style-name">
20049                         <ref name="styleNameRef"/>   20470                         <ref name="styleNameRef"/>
20050                 </attribute>   20471                 </attribute>
20051         </optional>   20472         </optional>
20052 </define>   20473 </define>
20053 Citation Body Text Style   20474 Citation Body Text Style
20054 The text:citation-body-style-name attribute specifies the text style to use for the footnote citation in the text flow.   20475 The text:citation-body-style-name attribute specifies the text style to use for the footnote citation in the text flow.
20055 <define name="text-notes-configuration-content" combine="interleave">   20476 <define name="text-notes-configuration-content" combine="interleave">
20056         <optional>   20477         <optional>
20057                 <attribute name="text:citation-body-style-name">   20478                 <attribute name="text:citation-body-style-name">
20058                         <ref name="styleNameRef"/>   20479                         <ref name="styleNameRef"/>
20059                 </attribute>   20480                 </attribute>
20060         </optional>   20481         </optional>
20061 </define>   20482 </define>
20062 Default Note Paragraph Style   20483 Default Note Paragraph Style
20063 The default footnote paragraph style is only used for footnotes that are inserted into an existing document. It is not used for footnotes that already exist.   20484 The default footnote paragraph style is only used for footnotes that are inserted into an existing document. It is not used for footnotes that already exist.
20064 <define name="text-notes-configuration-content" combine="interleave">   20485 <define name="text-notes-configuration-content" combine="interleave">
20065         <optional>   20486         <optional>
20066                 <attribute name="text:default-style-name">   20487                 <attribute name="text:default-style-name">
20067                         <ref name="styleNameRef"/>   20488                         <ref name="styleNameRef"/>
20068                 </attribute>   20489                 </attribute>
20069         </optional>   20490         </optional>
20070 </define>   20491 </define>
20071 Master Page   20492 Master Page
20072 To display the footnotes at the end of the document, the pages that contain the footnotes must be instances of the master page specified by the text:master-page-name attribute.   20493 To display the footnotes at the end of the document, the pages that contain the footnotes must be instances of the master page specified by the text:master-page-name attribute.
20073 <define name="text-notes-configuration-content" combine="interleave">   20494 <define name="text-notes-configuration-content" combine="interleave">
20074         <optional>   20495         <optional>
20075                 <attribute name="text:master-page-name">   20496                 <attribute name="text:master-page-name">
20076                         <ref name="styleNameRef"/>   20497                         <ref name="styleNameRef"/>
20077                 </attribute>   20498                 </attribute>
20078         </optional>   20499         </optional>
20079 </define>   20500 </define>
20080 Start Value   20501 Start Value
20081 The start:value attribute specifies the value at which the footnote numbering starts.   20502 The start:value attribute specifies the value at which the footnote numbering starts.
20082 <define name="text-notes-configuration-content" combine="interleave">   20503 <define name="text-notes-configuration-content" combine="interleave">
20083         <optional>   20504         <optional>
20084                 <attribute name="text:start-value">   20505                 <attribute name="text:start-value">
20085                         <ref name="nonNegativeInteger"/>   20506                         <ref name="nonNegativeInteger"/>
20086                 </attribute>   20507                 </attribute>
20087         </optional>   20508         </optional>
20088 </define>   20509 </define>
20089 Number Format   20510 Number Format
20090 See section 12.2 for information on the number format for footnotes.   20511 See section 12.2 for information on the number format for footnotes.
20091 <define name="text-notes-configuration-content" combine="interleave">   20512 <define name="text-notes-configuration-content" combine="interleave">
20092         <ref name="common-num-format-prefix-suffix-attlist"/>   20513         <ref name="common-num-format-prefix-suffix-attlist"/>
20093         <optional>   20514         <optional>
20094                 <ref name="common-num-format-attlist"/>   20515                 <ref name="common-num-format-attlist"/>
20095         </optional>   20516         </optional>
20096 </define>   20517 </define>
20097 Numbering Scheme   20518 Numbering Scheme
20098 The text:start-numbering-at attribute specifies if footnote numbers start with a new number at the beginning of the document or at the beginning of each chapter or page.   20519 The text:start-numbering-at attribute specifies if footnote numbers start with a new number at the beginning of the document or at the beginning of each chapter or page.
20099 Note: [XSLT] does not have the capability to start with new footnote numbers on every page.   20520 Note: [XSLT] does not have the capability to start with new footnote numbers on every page.
20100 <define name="text-notes-configuration-content" combine="interleave">   20521 <define name="text-notes-configuration-content" combine="interleave">
20101         <optional>   20522         <optional>
20102                 <attribute name="text:start-numbering-at">   20523                 <attribute name="text:start-numbering-at">
20103                         <choice>   20524                         <choice>
20104                                 <value>document</value>   20525                                 <value>document</value>
20105                                 <value>chapter</value>   20526                                 <value>chapter</value>
20106                                 <value>page</value>   20527                                 <value>page</value>
20107                         </choice>   20528                         </choice>
20108                 </attribute>   20529                 </attribute>
20109         </optional>   20530         </optional>
20110 </define>   20531 </define>
20111 Footnotes Position   20532 Footnotes Position
20112 The text:footnotes-position attribute specifies one of the following positions for footnotes:   20533 The text:footnotes-position attribute specifies one of the following positions for footnotes:
20113 text: At the page where the footnote citation is located, immediately below the page's text.   20534 text: At the page where the footnote citation is located, immediately below the page's text.
20114 page: The bottom of the page where the footnote citation is located.   20535 page: The bottom of the page where the footnote citation is located.
20115 section: The end of the section   20536 section: The end of the section
20116 document: The end of the document.   20537 document: The end of the document.
20117 Note: [XSL] does not have the capability to display footnotes at the end of the document. However, an [XSLT] stylesheet may generate some other flow objects to display such footnotes.   20538 Note: [XSL] does not have the capability to display footnotes at the end of the document. However, an [XSLT] stylesheet may generate some other flow objects to display such footnotes.
20118 <define name="text-notes-configuration-content" combine="interleave">   20539 <define name="text-notes-configuration-content" combine="interleave">
20119         <optional>   20540         <optional>
20120                 <attribute name="text:footnotes-position">   20541                 <attribute name="text:footnotes-position">
20121                         <choice>   20542                         <choice>
20122                                 <value>text</value>   20543                                 <value>text</value>
20123                                 <value>page</value>   20544                                 <value>page</value>
20124                                 <value>section</value>   20545                                 <value>section</value>
20125                                 <value>document</value>   20546                                 <value>document</value>
20126                         </choice>   20547                         </choice>
20127                 </attribute>   20548                 </attribute>
20128         </optional>   20549         </optional>
20129 </define>   20550 </define>
20130 Footnote Continuation   20551 Footnote Continuation
20131 The footnote continuation elements specify:   20552 The footnote continuation elements specify:
20132 Text displayed at the end of a footnote that is continued on the next page   20553 Text displayed at the end of a footnote that is continued on the next page
20133 Text displayed before the continued text   20554 Text displayed before the continued text
20134 <define name="text-notes-configuration-content" combine="interleave">   20555 <define name="text-notes-configuration-content" combine="interleave">
20135         <optional>   20556         <optional>
20136                 <element name="text:note-continuation-notice-forward">   20557                 <element name="text:note-continuation-notice-forward">
20137                         <text/>   20558                         <text/>
20138                 </element>   20559                 </element>
20139         </optional>   20560         </optional>
20140 </define>   20561 </define>
20141 <define name="text-notes-configuration-content" combine="interleave">   20562 <define name="text-notes-configuration-content" combine="interleave">
20142         <optional>   20563         <optional>
20143                 <element name="text:note-continuation-notice-backward">   20564                 <element name="text:note-continuation-notice-backward">
20144                         <text/>   20565                         <text/>
20145                 </element>   20566                 </element>
20146         </optional>   20567         </optional>
20147 </define>   20568 </define>
20148 Example: Footnote configuration   20569 Example: Footnote configuration
20149 <text:notes-configuration   20570 <text:notes-configuration
20150         text:notes-type="footnote"   20571         text:notes-type="footnote"
20151         text:citation-style="Footnote symbol"   20572         text:citation-style="Footnote symbol"
20152         text:default-style="Footnote">   20573         text:default-style="Footnote">
20153         <text:note-continuation-notice-forward>" .."   20574         <text:note-continuation-notice-forward>" .."
20154         </text:note-continuation-notice-forward>   20575         </text:note-continuation-notice-forward>
20155         <text:note-continuation-notice-forward>".. "   20576         <text:note-continuation-notice-forward>".. "
20156         </text:note-continuation-notice-forward>   20577         </text:note-continuation-notice-forward>
20157 </text:notes-configuration>   20578 </text:notes-configuration>
20158 14.9.3Bibliography Configuration   20579 14.9.3Bibliography Configuration
20159 The bibliography configuration element <text:bibliography-configuration> is contained in the document's style section. It contains information how bibliography entries are displayed in-line, and how they are displayed in the bibliography index.   20580 The bibliography configuration element <text:bibliography-configuration> is contained in the document's style section. It contains information how bibliography entries are displayed in-line, and how they are displayed in the bibliography index.
20160 <define name="text-bibliography-configuration">   20581 <define name="text-bibliography-configuration">
20161         <element name="text:bibliography-configuration">   20582         <element name="text:bibliography-configuration">
20162                 <ref name="text-bibliography-configuration-attlist"/>   20583                 <ref name="text-bibliography-configuration-attlist"/>
20163                 <zeroOrMore>   20584                 <zeroOrMore>
20164                         <ref name="text-sort-key"/>   20585                         <ref name="text-sort-key"/>
20165                 </zeroOrMore>   20586                 </zeroOrMore>
20166         </element>   20587         </element>
20167 </define>   20588 </define>
20168 Prefix and Suffix   20589 Prefix and Suffix
20169 The text:prefix and text:suffix attributes contain a string that is displayed before and after an bibliography entry's short name or number if it occurs in the document body.   20590 The text:prefix and text:suffix attributes contain a string that is displayed before and after an bibliography entry's short name or number if it occurs in the document body.
20170 <define name="text-bibliography-configuration-attlist" combine="interleave">   20591 <define name="text-bibliography-configuration-attlist" combine="interleave">
20171         <optional>   20592         <optional>
20172                 <attribute name="text:prefix">   20593                 <attribute name="text:prefix">
20173                         <ref name="string"/>   20594                         <ref name="string"/>
20174                 </attribute>   20595                 </attribute>
20175         </optional>   20596         </optional>
20176         <optional>   20597         <optional>
20177                 <attribute name="text:suffix">   20598                 <attribute name="text:suffix">
20178                         <ref name="string"/>   20599                         <ref name="string"/>
20179                 </attribute>   20600                 </attribute>
20180         </optional>   20601         </optional>
20181 </define>   20602 </define>
20182 Numbered Entries   20603 Numbered Entries
20183 The text:numbered-entry attribute specifies whether a number is displayed for bibliography entries instead of their short name.   20604 The text:numbered-entry attribute specifies whether a number is displayed for bibliography entries instead of their short name.
20184 Example: With prefix and suffix "[" and "]" a bibliography entry with short name "Abc123" would be displayed as "[Abc123]" in the document body if text:numbered-entry has the value false, and for instance as “[5]”, if it has the value true.   20605 Example: With prefix and suffix "[" and "]" a bibliography entry with short name "Abc123" would be displayed as "[Abc123]" in the document body if text:numbered-entry has the value false, and for instance as “[5]”, if it has the value true.
20185 <define name="text-bibliography-configuration-attlist" combine="interleave">   20606 <define name="text-bibliography-configuration-attlist" combine="interleave">
20186         <optional>   20607         <optional>
20187                 <attribute name="text:numbered-entries" a:defaultValue="false">   20608                 <attribute name="text:numbered-entries" a:defaultValue="false">
20188                         <ref name="boolean"/>   20609                         <ref name="boolean"/>
20189                 </attribute>   20610                 </attribute>
20190         </optional>   20611         </optional>
20191 </define>   20612 </define>
20192 Sorting   20613 Sorting
20193 The text:sort-by-position attribute specifies whether bibliography entries are displayed in the order of their positions in the document, or by an arbitrary selection of entry fields, e.g., author name or publication date. In the later case, the collating order for entries is determined by the triplet language/country/sort-algorithm as specified in the attributes fo:language, fo:country and text:sort-algorithm. See also section 7.8.   20614 The text:sort-by-position attribute specifies whether bibliography entries are displayed in the order of their positions in the document, or by an arbitrary selection of entry fields, e.g., author name or publication date. In the later case, the collating order for entries is determined by the triplet language/country/sort-algorithm as specified in the attributes fo:language, fo:country and text:sort-algorithm. See also section 7.8.
20194 <define name="text-bibliography-configuration-attlist" combine="interleave">   20615 <define name="text-bibliography-configuration-attlist" combine="interleave">
20195         <optional>   20616         <optional>
20196                 <attribute name="text:sort-by-position" a:defaultValue="true">   20617                 <attribute name="text:sort-by-position" a:defaultValue="true">
20197                         <ref name="boolean"/>   20618                         <ref name="boolean"/>
20198                 </attribute>   20619                 </attribute>
20199         </optional>   20620         </optional>
20200         <optional>   20621         <optional>
20201                 <attribute name="fo:language">   20622                 <attribute name="fo:language">
20202                         <ref name="languageCode"/>   20623                         <ref name="languageCode"/>
20203                 </attribute>   20624                 </attribute>
20204         </optional>   20625         </optional>
20205         <optional>   20626         <optional>
20206                 <attribute name="fo:country">   20627                 <attribute name="fo:country">
20207                         <ref name="countryCode"/>   20628                         <ref name="countryCode"/>
20208                 </attribute>   20629                 </attribute>
20209         </optional>   20630         </optional>
20210         <optional>   20631         <optional>
20211                 <attribute name="text:sort-algorithm">   20632                 <attribute name="text:sort-algorithm">
20212                         <ref name="string"/>   20633                         <ref name="string"/>
20213                 </attribute>   20634                 </attribute>
20214         </optional>   20635         </optional>
20215 </define>   20636 </define>
20216 Sort Keys   20637 Sort Keys
20217 The <text:sort-key> element specifies a single sort key if bibliography entries are not displayed in document order. It has an attribute text:key, that contains the type of index entry data that should be used for sorting (see also section 7.1.4) and an attribute text:sort-ascending that specifies whether sorting takes pace in ascending or descending order.   20638 The <text:sort-key> element specifies a single sort key if bibliography entries are not displayed in document order. It has an attribute text:key, that contains the type of index entry data that should be used for sorting (see also section 7.1.4) and an attribute text:sort-ascending that specifies whether sorting takes pace in ascending or descending order.
20218 <define name="text-sort-key">   20639 <define name="text-sort-key">
20219         <element name="text:sort-key">   20640         <element name="text:sort-key">
20220                 <ref name="text-sort-key-attlist"/>   20641                 <ref name="text-sort-key-attlist"/>
20221                 <empty/>   20642                 <empty/>
20222         </element>   20643         </element>
20223 </define>   20644 </define>
20224     20645  
20225 <define name="text-sort-key-attlist" combine="interleave">   20646 <define name="text-sort-key-attlist" combine="interleave">
20226         <attribute name="text:key">   20647         <attribute name="text:key">
20227                 <choice>   20648                 <choice>
20228                         <value>address</value>   20649                         <value>address</value>
20229                         <value>annote</value>   20650                         <value>annote</value>
20230                         <value>author</value>   20651                         <value>author</value>
20231                         <value>bibliography-type</value>   20652                         <value>bibliography-type</value>
20232                         <value>booktitle</value>   20653                         <value>booktitle</value>
20233                         <value>chapter</value>   20654                         <value>chapter</value>
20234                         <value>custom1</value>   20655                         <value>custom1</value>
20235                         <value>custom2</value>   20656                         <value>custom2</value>
20236                         <value>custom3</value>   20657                         <value>custom3</value>
20237                         <value>custom4</value>   20658                         <value>custom4</value>
20238                         <value>custom5</value>   20659                         <value>custom5</value>
20239                         <value>edition</value>   20660                         <value>edition</value>
20240                         <value>editor</value>   20661                         <value>editor</value>
20241                         <value>howpublished</value>   20662                         <value>howpublished</value>
20242                         <value>identifier</value>   20663                         <value>identifier</value>
20243                         <value>institution</value>   20664                         <value>institution</value>
20244                         <value>isbn</value>   20665                         <value>isbn</value>
20245                         <value>issn</value>   20666                         <value>issn</value>
20246                         <value>journal</value>   20667                         <value>journal</value>
20247                         <value>month</value>   20668                         <value>month</value>
20248                         <value>note</value>   20669                         <value>note</value>
20249                         <value>number</value>   20670                         <value>number</value>
20250                         <value>organizations</value>   20671                         <value>organizations</value>
20251                         <value>pages</value>   20672                         <value>pages</value>
20252                         <value>publisher</value>   20673                         <value>publisher</value>
20253                         <value>report-type</value>   20674                         <value>report-type</value>
20254                         <value>school</value>   20675                         <value>school</value>
20255                         <value>series</value>   20676                         <value>series</value>
20256                         <value>title</value>   20677                         <value>title</value>
20257                         <value>url</value>   20678                         <value>url</value>
20258                         <value>volume</value>   20679                         <value>volume</value>
20259                         <value>year</value>   20680                         <value>year</value>
20260                 </choice>   20681                 </choice>
20261         </attribute>   20682         </attribute>
20262         <optional>   20683         <optional>
20263                 <attribute name="text:sort-ascending" a:defaultValue="true">   20684                 <attribute name="text:sort-ascending" a:defaultValue="true">
20264                         <ref name="boolean"/>   20685                         <ref name="boolean"/>
20265                 </attribute>   20686                 </attribute>
20266         </optional>   20687         </optional>
20267 </define>   20688 </define>
20268 14.10List Style   20689 14.10List Style
20269 List styles specify the formatting properties for lists. A <text:list-style> element contains a set of style elements for each list level, which are called list level styles. There are three different list level style elements, depending on whether this particular list level is to have a list label containing the list numbering, a bullet, or an image.   20690 List styles specify the formatting properties for lists. A <text:list-style> element contains a set of style elements for each list level, which are called list level styles. There are three different list level style elements, depending on whether this particular list level is to have a list label containing the list numbering, a bullet, or an image.
20270 If a list style is applied to a list but does not contain a list level specification for the suitable level, the list level style of the next lower level is used. If no suitable list level exists, a default style is used.   20691 If a list style is applied to a list but does not contain a list level specification for the suitable level, the list level style of the next lower level is used. If no suitable list level exists, a default style is used.
20271 <define name="text-list-style">   20692 <define name="text-list-style">
20272         <element name="text:list-style">   20693         <element name="text:list-style">
20273                 <ref name="text-list-style-attr"/>   20694                 <ref name="text-list-style-attr"/>
20274                 <zeroOrMore>   20695                 <zeroOrMore>
20275                         <ref name="text-list-style-content"/>   20696                         <ref name="text-list-style-content"/>
20276                 </zeroOrMore>   20697                 </zeroOrMore>
20277         </element>   20698         </element>
20278 </define>   20699 </define>
20279 Note: List styles contain different properties than paragraph or text styles. This is why they are represented by a different element.   20700 Note: List styles contain different properties than paragraph or text styles. This is why they are represented by a different element.
20280 The attributes that may be associated with the <text:list-style> element are:   20701 The attributes that may be associated with the <text:list-style> element are:
20281 Name   20702 Name
20282 Display name   20703 Display name
20283 Consecutive numbering   20704 Consecutive numbering
20284 Name   20705 Name
20285 The style:name attribute specifies the name of the list style.   20706 The style:name attribute specifies the name of the list style.
20286 <define name="text-list-style-attr" combine="interleave">   20707 <define name="text-list-style-attr" combine="interleave">
20287         <attribute name="style:name">   20708         <attribute name="style:name">
20288                 <ref name="styleName"/>   20709                 <ref name="styleName"/>
20289         </attribute>   20710         </attribute>
20290 </define>   20711 </define>
20291 Display Name   20712 Display Name
20292 The style:display-name attribute specifies the name of the list style as it should appear in the user interface. In contrast to the style name itself, this name may contain arbitrary characters. If this attribute is not present, the display name equals the style name.   20713 The style:display-name attribute specifies the name of the list style as it should appear in the user interface. In contrast to the style name itself, this name may contain arbitrary characters. If this attribute is not present, the display name equals the style name.
20293 <define name="text-list-style-attr" combine="interleave">   20714 <define name="text-list-style-attr" combine="interleave">
20294         <optional>   20715         <optional>
20295                 <attribute name="style:display-name">   20716                 <attribute name="style:display-name">
20296                         <ref name="string"/>   20717                         <ref name="string"/>
20297                 </attribute>   20718                 </attribute>
20298         </optional>   20719         </optional>
20299 </define>   20720 </define>
20300 Consecutive Numbering   20721 Consecutive Numbering
20301 The text:consecutive-numbering attribute specifies whether or not the list style uses consecutive numbering for all list levels or whether each list level restarts the numbering.   20722 The text:consecutive-numbering attribute specifies whether or not the list style uses consecutive numbering for all list levels or whether each list level restarts the numbering.
20302 <define name="text-list-style-attr" combine="interleave">   20723 <define name="text-list-style-attr" combine="interleave">
20303         <optional>   20724         <optional>
20304                 <attribute name="text:consecutive-numbering" a:defaultValue="false">   20725                 <attribute name="text:consecutive-numbering" a:defaultValue="false">
20305                         <ref name="boolean"/>   20726                         <ref name="boolean"/>
20306                 </attribute>   20727                 </attribute>
20307         </optional>   20728         </optional>
20308 </define>   20729 </define>
20309 14.10.1Common List-Level Style Attributes   20730 14.10.1Common List-Level Style Attributes
20310 The following attributes can be used on all list-level styles:   20731 The following attributes can be used on all list-level styles:
20311 Level   20732 Level
20312 The text:level attribute specifies the level of the number list style.   20733 The text:level attribute specifies the level of the number list style.
20313 <define name="text-list-level-style-attr">   20734 <define name="text-list-level-style-attr">
20314         <attribute name="text:level">   20735         <attribute name="text:level">
20315                 <ref name="positiveInteger"/>   20736                 <ref name="positiveInteger"/>
20316         </attribute>   20737         </attribute>
20317 </define>   20738 </define>
20318 14.10.2Number Level Style   20739 14.10.2Number Level Style
20319 A number level style specifies a list style where the list items are preceded by numbers.   20740 A number level style specifies a list style where the list items are preceded by numbers.
20320 <define name="text-list-style-content" combine="choice">   20741 <define name="text-list-style-content" combine="choice">
20321         <element name="text:list-level-style-number">   20742         <element name="text:list-level-style-number">
20322                 <ref name="text-list-level-style-attr"/>   20743                 <ref name="text-list-level-style-attr"/>
20323                 <ref name="text-list-level-style-number-attr"/>   20744                 <ref name="text-list-level-style-number-attr"/>
20324                 <optional>   20745                 <optional>
20325                         <ref name="style-list-level-properties"/>   20746                         <ref name="style-list-level-properties"/>
20326                 </optional>   20747                 </optional>
20327                 <optional>   20748                 <optional>
20328                         <ref name="style-text-properties"/>   20749                         <ref name="style-text-properties"/>
20329                 </optional>   20750                 </optional>
20330         </element>   20751         </element>
20331 </define>   20752 </define>
20332 The attributes that may be associated with the <text:list-level-style-number> element are:   20753 The attributes that may be associated with the <text:list-level-style-number> element are:
20333 Level (see section 14.10.1)   20754 Level (see section 14.10.1)
20334 Text style   20755 Text style
20335 Number format   20756 Number format
20336 Display levels   20757 Display levels
20337 Start value   20758 Start value
20338 Additional formatting properties may be contained in the <style:list-level-properties> and <style:text-properties> elements. See sections 15.12 and 15.4 for details.   20759 Additional formatting properties may be contained in the <style:list-level-properties> and <style:text-properties> elements. See sections 15.12 and 15.4 for details.
20339 Text Style   20760 Text Style
20340 The text:style-name attribute specifies the name of the character style to use to format the number of the list.   20761 The text:style-name attribute specifies the name of the character style to use to format the number of the list.
20341 <define name="text-list-level-style-number-attr" combine="interleave">   20762 <define name="text-list-level-style-number-attr" combine="interleave">
20342         <optional>   20763         <optional>
20343                 <attribute name="text:style-name">   20764                 <attribute name="text:style-name">
20344                         <ref name="styleNameRef"/>   20765                         <ref name="styleNameRef"/>
20345                 </attribute>   20766                 </attribute>
20346         </optional>   20767         </optional>
20347 </define>   20768 </define>
20348 Number Format   20769 Number Format
20349 See section 12.2 for detailed information on number format attributes. The attributes described in section 12.2 can also be associated with the <text:list-level-style-number> element. The style:num-format attribute can be empty. In this case, no number is displayed.   20770 See section 12.2 for detailed information on number format attributes. The attributes described in section 12.2 can also be associated with the <text:list-level-style-number> element. The style:num-format attribute can be empty. In this case, no number is displayed.
20350 <define name="text-list-level-style-number-attr" combine="interleave">   20771 <define name="text-list-level-style-number-attr" combine="interleave">
20351         <ref name="common-num-format-attlist"/>   20772         <ref name="common-num-format-attlist"/>
20352         <ref name="common-num-format-prefix-suffix-attlist"/>   20773         <ref name="common-num-format-prefix-suffix-attlist"/>
20353 </define>   20774 </define>
20354 Display Levels   20775 Display Levels
20355 The text:display-levels attribute specifies the number of levels whose numbers are displayed at the current level.   20776 The text:display-levels attribute specifies the number of levels whose numbers are displayed at the current level.
20356 <define name="text-list-level-style-number-attr" combine="interleave">   20777 <define name="text-list-level-style-number-attr" combine="interleave">
20357         <optional>   20778         <optional>
20358                 <attribute name="text:display-levels" a:defaultValue="1">   20779                 <attribute name="text:display-levels" a:defaultValue="1">
20359                         <ref name="positiveInteger"/>   20780                         <ref name="positiveInteger"/>
20360                 </attribute>   20781                 </attribute>
20361         </optional>   20782         </optional>
20362 </define>   20783 </define>
20363 Example: Given a third-level chapter number 1.2.3. Values of text:display-number from 1 to three would achieve the following results:   20784 Example: Given a third-level chapter number 1.2.3. Values of text:display-number from 1 to three would achieve the following results:
20364 text:display-number   20785 text:display-number
20365 display   20786 display
20366 1   20787 1
20367 1   20788 1
20368 2   20789 2
20369 1.2   20790 1.2
20370 3   20791 3
20371 1.2.3   20792 1.2.3
20372 Start Value   20793 Start Value
20373 The text:start-value attribute specifies the first number of a list item of the current level.   20794 The text:start-value attribute specifies the first number of a list item of the current level.
20374 <define name="text-list-level-style-number-attr" combine="interleave">   20795 <define name="text-list-level-style-number-attr" combine="interleave">
20375         <optional>   20796         <optional>
20376                 <attribute name="text:start-value" a:defaultValue="1">   20797                 <attribute name="text:start-value" a:defaultValue="1">
20377                         <ref name="positiveInteger"/>   20798                         <ref name="positiveInteger"/>
20378                 </attribute>   20799                 </attribute>
20379         </optional>   20800         </optional>
20380 </define>   20801 </define>
20381 14.10.3Bullet Level Style   20802 14.10.3Bullet Level Style
20382 A bullet level style element specifies a list style where the list items are preceded by bullets.   20803 A bullet level style element specifies a list style where the list items are preceded by bullets.
20383 <define name="text-list-style-content" combine="choice">   20804 <define name="text-list-style-content" combine="choice">
20384         <element name="text:list-level-style-bullet">   20805         <element name="text:list-level-style-bullet">
20385                 <ref name="text-list-level-style-attr"/>   20806                 <ref name="text-list-level-style-attr"/>
20386                 <ref name="text-list-level-style-bullet-attr"/>   20807                 <ref name="text-list-level-style-bullet-attr"/>
20387                 <optional>   20808                 <optional>
20388                         <ref name="style-list-level-properties"/>   20809                         <ref name="style-list-level-properties"/>
20389                 </optional>   20810                 </optional>
20390                 <optional>   20811                 <optional>
20391                         <ref name="style-text-properties"/>   20812                         <ref name="style-text-properties"/>
20392                 </optional>   20813                 </optional>
20393         </element>   20814         </element>
20394 </define>   20815 </define>
20395 The attributes that may be associated with the <text:list-level-style-bullet> element are:   20816 The attributes that may be associated with the <text:list-level-style-bullet> element are:
20396 Level (see section 14.10.1)   20817 Level (see section 14.10.1)
20397 Text style   20818 Text style
20398 Bullet character   20819 Bullet character
20399 Prefix and suffix   20820 Prefix and suffix
20400 Bullet relative size   20821 Bullet relative size
20401 Additional formatting properties may be contained in the <style:list-level-properties> and <style:text-properties> elements. See sections 15.12 and 15.4 for details.   20822 Additional formatting properties may be contained in the <style:list-level-properties> and <style:text-properties> elements. See sections 15.12 and 15.4 for details.
20402 Text Style   20823 Text Style
20403 The text:style-name attribute specifies the name of the character style to use to format the list bullet.   20824 The text:style-name attribute specifies the name of the character style to use to format the list bullet.
20404 <define name="text-list-level-style-bullet-attr" combine="interleave">   20825 <define name="text-list-level-style-bullet-attr" combine="interleave">
20405         <optional>   20826         <optional>
20406                 <attribute name="text:style-name">   20827                 <attribute name="text:style-name">
20407                         <ref name="styleNameRef"/>   20828                         <ref name="styleNameRef"/>
20408                 </attribute>   20829                 </attribute>
20409         </optional>   20830         </optional>
20410 </define>   20831 </define>
20411 Bullet Character   20832 Bullet Character
20412 The bullet character attribute specifies the [UNICODE] character to use as the bullet in a bullet level style.   20833 The bullet character attribute specifies the [UNICODE] character to use as the bullet in a bullet level style.
20413 Typical bullet characters are:   20834 Typical bullet characters are:
    -+ 20835 UNICODE Character Code
      20836 Typical Shape
      20837 UNICODE Character Name
      20838 Reference
20414 U+2022 = 20839 U+2022
    -+ 20840
      20841 BULLET
      20842 http://www.unicode.org/charts/PDF/U2000.pdf
20415 U+25CF = 20843 U+25CF
    -+ 20844 ?
      20845 BLACK CIRCLE
      20846 http://www.unicode.org/charts/PDF/U25A0.pdf
      20847 U+2714
      20848 ?
      20849 HEAVY CHECK MARK
      20850 U+2717
      20851 ?
      20852 BALLOT X
20416 U+2794 = 20853 U+2794
    -+ 20854 ?
      20855 HEAV WIDE-HEADED RIGHTWARDS ARROW
20417 U+27A2 = 20856 U+27A2
20418 U+2717 <> 20857 ?
20419 U+2714   20858 THREE-D TOP-LIGHTED RIGHTWARDS ARROWHEAD
      20859 http://www.unicode.org/charts/PDF/U2700.pdf
20420 These characters might not be available within some fonts. = 20860 These characters might not be available within some fonts.
20421 <define name="text-list-level-style-bullet-attr" combine="interleave">   20861 <define name="text-list-level-style-bullet-attr" combine="interleave">
20422         <attribute name="text:bullet-char">   20862         <attribute name="text:bullet-char">
20423                 <ref name="character"/>   20863                 <ref name="character"/>
20424         </attribute>   20864         </attribute>
20425 </define>   20865 </define>
20426 Prefix and Suffix   20866 Prefix and Suffix
20427 The attributes style:num-format-prefix and style:num-format-suffix specified in section 12.2 can be used to add characters before or behind the bullet character. <> 20867 The attributes style:num-prefix and style:num-suffix specified in section 12.2 can be used to add characters before or behind the bullet character.
20428 <define name="text-list-level-style-bullet-attr" combine="interleave"> = 20868 <define name="text-list-level-style-bullet-attr" combine="interleave">
20429         <ref name="common-num-format-prefix-suffix-attlist"/>   20869         <ref name="common-num-format-prefix-suffix-attlist"/>
20430 </define>   20870 </define>
20431 Bullet Relative Size   20871 Bullet Relative Size
20432 The text:bullet-relative-size attribute specifies a percentage value for the bullet size relative to the font size of the paragraphs in the bullet list. For example, if the value of the text:bullet-relative-size attribute is 75, the bullet used in the list is 75% of the font size for the paragraph.   20872 The text:bullet-relative-size attribute specifies a percentage value for the bullet size relative to the font size of the paragraphs in the bullet list. For example, if the value of the text:bullet-relative-size attribute is 75, the bullet used in the list is 75% of the font size for the paragraph.
20433 <define name="text-list-level-style-bullet-attr" combine="interleave">   20873 <define name="text-list-level-style-bullet-attr" combine="interleave">
20434         <optional>   20874         <optional>
20435                 <attribute name="text:bullet-relative-size">   20875                 <attribute name="text:bullet-relative-size">
20436                         <ref name="percent"/>   20876                         <ref name="percent"/>
20437                 </attribute>   20877                 </attribute>
20438         </optional>   20878         </optional>
20439 </define>   20879 </define>
20440 14.10.4Image Level Style   20880 14.10.4Image Level Style
20441 An image level style element specifies a list style where the list items are preceded by images. This element can be an [XLink] and can only be contained in list style elements.   20881 An image level style element specifies a list style where the list items are preceded by images. This element can be an [XLink] and can only be contained in list style elements.
20442 <define name="text-list-style-content" combine="choice">   20882 <define name="text-list-style-content" combine="choice">
20443         <element name="text:list-level-style-image">   20883         <element name="text:list-level-style-image">
20444                 <ref name="text-list-level-style-attr"/>   20884                 <ref name="text-list-level-style-attr"/>
20445                 <ref name="text-list-level-style-image-attr"/>   20885                 <ref name="text-list-level-style-image-attr"/>
20446                 <optional>   20886                 <optional>
20447                         <ref name="style-list-level-properties"/>   20887                         <ref name="style-list-level-properties"/>
20448                 </optional>   20888                 </optional>
20449         </element>   20889         </element>
20450 </define>   20890 </define>
20451 The following elements and attributes may be associated with the <text:list-level-style-image> element are:   20891 The following elements and attributes may be associated with the <text:list-level-style-image> element are:
20452 Level (see section 14.10.1)   20892 Level (see section 14.10.1)
20453 Image location   20893 Image location
20454 Additional formatting properties may be contained in the <style:list-level-properties> element. See section 15.12 for details.   20894 Additional formatting properties may be contained in the <style:list-level-properties> element. See section 15.12 for details.
20455 Image Location   20895 Image Location
20456 The image data can be stored in one of the following ways (see also section 9.3.2):   20896 The image data can be stored in one of the following ways (see also section 9.3.2):
20457 The image data is located in an external file. Use the xlink:href attribute described below to specify the location of the file.   20897 The image data is located in an external file. Use the xlink:href attribute described below to specify the location of the file.
20458 The image data is contained in the <text:list-level-style-image> element. The <text:list-level-style-image> element must contain an <office:binary-data> element that contains the image data in BASE64 encoding. In this situation, the xlink:href attribute is not required.   20898 The image data is contained in the <text:list-level-style-image> element. The <text:list-level-style-image> element must contain an <office:binary-data> element that contains the image data in BASE64 encoding. In this situation, the xlink:href attribute is not required.
20459 <define name="text-list-level-style-image-attr" combine="interleave">   20899 <define name="text-list-level-style-image-attr" combine="interleave">
20460         <choice>   20900         <choice>
20461                 <ref name="common-draw-data-attlist"/>   20901                 <ref name="common-draw-data-attlist"/>
20462                 <ref name="office-binary-data"/>   20902                 <ref name="office-binary-data"/>
20463         </choice>   20903         </choice>
20464 </define>   20904 </define>
20465 14.10.5List Level Style Example   20905 14.10.5List Level Style Example
20466 Example: List level style   20906 Example: List level style
20467 <text:list-style style:name="List 1">   20907 <text:list-style style:name="List 1">
20468         <text:list-level-style-number text:level="1"   20908         <text:list-level-style-number text:level="1"
20469                 fo:num-format="1"/>   20909                 fo:num-format="1"/>
20470         <text:list-level-style-bullet text:level="2"   20910         <text:list-level-style-bullet text:level="2"
20471                 text:bullet-char="-"   20911                 text:bullet-char="-"
20472                 text:style-name="Bullet Char"/>   20912                 text:style-name="Bullet Char"/>
20473         <text:list-level-style-image text:level="3" xlink:href="bullet.gif">   20913         <text:list-level-style-image text:level="3" xlink:href="bullet.gif">
20474                 <style:list-level-properties fo:width=".27cm" fo:height=".27cm"   20914                 <style:list-level-properties fo:width=".27cm" fo:height=".27cm"
20475                         style:vertical-pos="middle" style:vertical-rel="line"/>   20915                         style:vertical-pos="middle" style:vertical-rel="line"/>
20476         </text:list-level-style-image>   20916         </text:list-level-style-image>
20477 </text:list-style>   20917 </text:list-style>
20478 The following is the output from the above example:   20918 The following is the output from the above example:
20479 1.This is the first list item.   20919 1.This is the first list item.
20480 This is a continuation of the first list item.   20920 This is a continuation of the first list item.
20481 2.This is the second list item. It contains an unordered sub list.   20921 2.This is the second list item. It contains an unordered sub list.
20482 This is a sub list item.   20922 This is a sub list item.
20483 This is a sub list item.   20923 This is a sub list item.
20484 This is a sub list item.   20924 This is a sub list item.
20485 This is a sub sub list item.   20925 This is a sub sub list item.
20486 This is a sub sub list item.   20926 This is a sub sub list item.
20487 3.This is the third list item.   20927 3.This is the third list item.
20488 14.11Outline Style   20928 14.11Outline Style
20489 The outline style is a list style that is applied to all headings within a text document where the the heading's paragraph style does not define a list style to use itself. <> 20929 The outline style is a list style that is applied to all headings within a text document where the heading's paragraph style does not define a list style to use itself.
20490 The way in which the OpenDocument format represents outline numbering styles is very similar to the way it represents list styles. The <text:outline-style> element contains elements that specify the style of each outline level. It can be contained within the <office:styles> element only. = 20930 The way in which the OpenDocument format represents outline numbering styles is very similar to the way it represents list styles. The <text:outline-style> element contains elements that specify the style of each outline level. It can be contained within the <office:styles> element only.
20491 <define name="text-outline-style">   20931 <define name="text-outline-style">
20492         <element name="text:outline-style">   20932         <element name="text:outline-style">
20493                 <oneOrMore>   20933                 <oneOrMore>
20494                         <ref name="text-outline-level-style"/>   20934                         <ref name="text-outline-level-style"/>
20495                 </oneOrMore>   20935                 </oneOrMore>
20496         </element>   20936         </element>
20497 </define>   20937 </define>
20498 14.11.1Outline Level Style   20938 14.11.1Outline Level Style
20499 The <text:outline-level-style> element specifies the style for each outline level. This element is contained in <text:outline-style> elements only.   20939 The <text:outline-level-style> element specifies the style for each outline level. This element is contained in <text:outline-style> elements only.
20500 <define name="text-outline-level-style">   20940 <define name="text-outline-level-style">
20501         <element name="text:outline-level-style">   20941         <element name="text:outline-level-style">
20502                 <ref name="text-outline-level-style-attlist"/>   20942                 <ref name="text-outline-level-style-attlist"/>
20503                 <optional>   20943                 <optional>
20504                         <ref name="style-list-level-properties"/>   20944                         <ref name="style-list-level-properties"/>
20505                 </optional>   20945                 </optional>
20506                 <optional>   20946                 <optional>
20507                         <ref name="style-text-properties"/>   20947                         <ref name="style-text-properties"/>
20508                 </optional>   20948                 </optional>
20509         </element>   20949         </element>
20510 </define>   20950 </define>
20511 The attributes that may be associated with the <text:outline-level-style> element are:   20951 The attributes that may be associated with the <text:outline-level-style> element are:
20512 Level   20952 Level
20513 Text style   20953 Text style
20514 Number format   20954 Number format
20515 Display levels   20955 Display levels
20516 Start value   20956 Start value
20517 Additional formatting properties may be contained in the <style:list-level-properties> and <style:text-properties> element. See sections 15.12 and 15.4 for details.   20957 Additional formatting properties may be contained in the <style:list-level-properties> and <style:text-properties> element. See sections 15.12 and 15.4 for details.
20518 Level   20958 Level
20519 The text:level attribute specifies the level of the outline style.   20959 The text:level attribute specifies the level of the outline style.
20520 <define name="text-outline-level-style-attlist" combine="interleave">   20960 <define name="text-outline-level-style-attlist" combine="interleave">
20521         <attribute name="text:level">   20961         <attribute name="text:level">
20522                 <ref name="positiveInteger"/>   20962                 <ref name="positiveInteger"/>
20523         </attribute>   20963         </attribute>
20524 </define>   20964 </define>
20525 Text Style   20965 Text Style
20526 The text:style-name attribute specifies the name of the character style to use to format the number of the heading.   20966 The text:style-name attribute specifies the name of the character style to use to format the number of the heading.
20527 <define name="text-outline-level-style-attlist" combine="interleave">   20967 <define name="text-outline-level-style-attlist" combine="interleave">
20528         <optional>   20968         <optional>
20529                 <attribute name="text:style-name">   20969                 <attribute name="text:style-name">
20530                         <ref name="styleNameRef"/>   20970                         <ref name="styleNameRef"/>
20531                 </attribute>   20971                 </attribute>
20532         </optional>   20972         </optional>
20533 </define>   20973 </define>
20534 Number Format   20974 Number Format
20535 See section 14.10.2 for information on the number format attributes.   20975 See section 14.10.2 for information on the number format attributes.
20536 <define name="text-outline-level-style-attlist" combine="interleave">   20976 <define name="text-outline-level-style-attlist" combine="interleave">
20537         <ref name="common-num-format-attlist"/>   20977         <ref name="common-num-format-attlist"/>
20538         <ref name="common-num-format-prefix-suffix-attlist"/>   20978         <ref name="common-num-format-prefix-suffix-attlist"/>
20539 </define>   20979 </define>
20540 Display Levels   20980 Display Levels
20541 The text:display-levels attribute specifies the number of levels whose numbers are displayed at the current level. See also section 14.10.2.   20981 The text:display-levels attribute specifies the number of levels whose numbers are displayed at the current level. See also section 14.10.2.
20542 <define name="text-outline-level-style-attlist" combine="interleave">   20982 <define name="text-outline-level-style-attlist" combine="interleave">
20543         <optional>   20983         <optional>
20544                 <attribute name="text:display-levels" a:defaultValue="1">   20984                 <attribute name="text:display-levels" a:defaultValue="1">
20545                         <ref name="positiveInteger"/>   20985                         <ref name="positiveInteger"/>
20546                 </attribute>   20986                 </attribute>
20547         </optional>   20987         </optional>
20548 </define>   20988 </define>
20549 Start Value   20989 Start Value
20550 The text:start-value attribute specifies the first number of a heading of the current level.   20990 The text:start-value attribute specifies the first number of a heading of the current level.
20551 <define name="text-outline-level-style-attlist" combine="interleave">   20991 <define name="text-outline-level-style-attlist" combine="interleave">
20552         <optional>   20992         <optional>
20553                 <attribute name="text:start-value" a:defaultValue="1">   20993                 <attribute name="text:start-value" a:defaultValue="1">
20554                         <ref name="positiveInteger"/>   20994                         <ref name="positiveInteger"/>
20555                 </attribute>   20995                 </attribute>
20556         </optional>   20996         </optional>
20557 </define>   20997 </define>
20558 14.12Table Styles   20998 14.12Table Styles
20559 14.12.1Table Styles   20999 14.12.1Table Styles
20560 Table styles are <style:style> elements that have the family table. They can be used within all kind of applications to specify formatting properties for tables. They support the table properties as described in section 15.8.   21000 Table styles are <style:style> elements that have the family table. They can be used within all kind of applications to specify formatting properties for tables. They support the table properties as described in section 15.8.
20561 <define name="style-style-content" combine="choice">   21001 <define name="style-style-content" combine="choice">
20562         <group>   21002         <group>
20563                 <attribute name="style:family">   21003                 <attribute name="style:family">
20564                         <value>table</value>   21004                         <value>table</value>
20565                 </attribute>   21005                 </attribute>
20566                 <optional>   21006                 <optional>
20567                         <ref name="style-table-properties"/>   21007                         <ref name="style-table-properties"/>
20568                 </optional>   21008                 </optional>
20569         </group>   21009         </group>
20570 </define>   21010 </define>
20571 14.12.2Table Column Styles   21011 14.12.2Table Column Styles
20572 Table column styles are <style:style> elements that have the family table-column. They can be used within all kind of applications to specify formatting properties for table columns. They support the table column properties as described in section 15.9.   21012 Table column styles are <style:style> elements that have the family table-column. They can be used within all kind of applications to specify formatting properties for table columns. They support the table column properties as described in section 15.9.
20573 <define name="style-style-content" combine="choice">   21013 <define name="style-style-content" combine="choice">
20574         <group>   21014         <group>
20575                 <attribute name="style:family">   21015                 <attribute name="style:family">
20576                         <value>table-column</value>   21016                         <value>table-column</value>
20577                 </attribute>   21017                 </attribute>
20578                 <optional>   21018                 <optional>
20579                         <ref name="style-table-column-properties"/>   21019                         <ref name="style-table-column-properties"/>
20580                 </optional>   21020                 </optional>
20581         </group>   21021         </group>
20582 </define>   21022 </define>
20583 14.12.3Table Row Styles   21023 14.12.3Table Row Styles
20584 Table row styles are <style:style> elements that have the family table-row. They can be used within all kind of applications to specify formatting properties for table rows. They support the table properties as described in section 15.10.   21024 Table row styles are <style:style> elements that have the family table-row. They can be used within all kind of applications to specify formatting properties for table rows. They support the table properties as described in section 15.10.
20585 <define name="style-style-content" combine="choice">   21025 <define name="style-style-content" combine="choice">
20586         <group>   21026         <group>
20587                 <attribute name="style:family">   21027                 <attribute name="style:family">
20588                         <value>table-row</value>   21028                         <value>table-row</value>
20589                 </attribute>   21029                 </attribute>
20590                 <optional>   21030                 <optional>
20591                         <ref name="style-table-row-properties"/>   21031                         <ref name="style-table-row-properties"/>
20592                 </optional>   21032                 </optional>
20593         </group>   21033         </group>
20594 </define>   21034 </define>
20595 14.12.4Table Cell Styles   21035 14.12.4Table Cell Styles
20596 Table styles are <style:style> elements that have the family table-cell. They can be used within all kind of applications to specify formatting properties for table cells. They support the table properties as described in section 15.11 as well as the paragraph and text properties as described in sections 15.5 and 15.4. <> 21036 Table cell styles are <style:style> elements that have the family table-cell. They can be used within all kind of applications to specify formatting properties for table cells. They support the table properties as described in section 15.11 as well as the paragraph and text properties as described in sections 15.5 and 15.4.
20597 <define name="style-style-content" combine="choice"> = 21037 <define name="style-style-content" combine="choice">
20598         <group>   21038         <group>
20599                 <attribute name="style:family">   21039                 <attribute name="style:family">
20600                         <value>table-cell</value>   21040                         <value>table-cell</value>
20601                 </attribute>   21041                 </attribute>
20602                 <optional>   21042                 <optional>
20603                         <ref name="style-table-cell-properties"/>   21043                         <ref name="style-table-cell-properties"/>
20604                 </optional>   21044                 </optional>
20605                 <optional>   21045                 <optional>
20606                         <ref name="style-paragraph-properties"/>   21046                         <ref name="style-paragraph-properties"/>
20607                 </optional>   21047                 </optional>
20608                 <optional>   21048                 <optional>
20609                         <ref name="style-text-properties"/>   21049                         <ref name="style-text-properties"/>
20610                 </optional>   21050                 </optional>
20611         </group>   21051         </group>
20612 </define>   21052 </define>
20613 14.13Graphic Styles   21053 14.13Graphic Styles
20614 14.13.1Graphic and Presentation Styles   21054 14.13.1Graphic and Presentation Styles
20615 Graphic and presentation styles are <style:style> elements that have either the family graphic or presentation. Graphic styles with family graphic may occur within all kinds of applications, graphic styles with family presentation may occur only within presentation documents. Both kind of styles support the graphic properties described in section 15.17. They may also contain paragraph and text properties as described in sections 15.5 and 15.4.   21055 Graphic and presentation styles are <style:style> elements that have either the family graphic or presentation. Graphic styles with family graphic may occur within all kinds of applications, graphic styles with family presentation may occur only within presentation documents. Both kind of styles support the graphic properties described in section 15.17. They may also contain paragraph and text properties as described in sections 15.5 and 15.4.
20616 <define name="style-style-content" combine="choice">   21056 <define name="style-style-content" combine="choice">
20617         <group>   21057         <group>
20618                 <attribute name="style:family">   21058                 <attribute name="style:family">
20619                         <choice>   21059                         <choice>
20620                                 <value>graphic</value>   21060                                 <value>graphic</value>
20621                                 <value>presentation</value>   21061                                 <value>presentation</value>
20622                         </choice>   21062                         </choice>
20623                 </attribute>   21063                 </attribute>
20624                 <optional>   21064                 <optional>
20625                         <ref name="style-graphic-properties"/>   21065                         <ref name="style-graphic-properties"/>
20626                 </optional>   21066                 </optional>
20627                 <optional>   21067                 <optional>
20628                         <ref name="style-paragraph-properties"/>   21068                         <ref name="style-paragraph-properties"/>
20629                 </optional>   21069                 </optional>
20630                 <optional>   21070                 <optional>
20631                         <ref name="style-text-properties"/>   21071                         <ref name="style-text-properties"/>
20632                 </optional>   21072                 </optional>
20633         </group>   21073         </group>
20634 </define>   21074 </define>
20635     21075  
20636 <define name="style-graphic-properties">   21076 <define name="style-graphic-properties">
20637         <element name="style:graphic-properties">   21077         <element name="style:graphic-properties">
20638                 <ref name="style-graphic-properties-content"/>   21078                 <ref name="style-graphic-properties-content"/>
20639         </element>   21079         </element>
20640 </define>   21080 </define>
20641     21081  
20642 <define name="style-graphic-properties-content">   21082 <define name="style-graphic-properties-content">
20643         <ref name="style-properties-content"/>   21083         <ref name="style-properties-content"/>
20644 </define>   21084 </define>
20645     21085  
20646 <define name="style-graphic-properties-content-strict">   21086 <define name="style-graphic-properties-content-strict">
20647         <ref name="style-graphic-properties-attlist"/>   21087         <ref name="style-graphic-properties-attlist"/>
20648         <ref name="style-graphic-fill-properties-attlist"/>   21088         <ref name="style-graphic-fill-properties-attlist"/>
20649         <ref name="style-graphic-properties-elements"/>   21089         <ref name="style-graphic-properties-elements"/>
20650 </define>   21090 </define>
20651     21091  
20652 <define name=" style-graphic-properties-elements">   21092 <define name=" style-graphic-properties-elements">
20653         <empty/>   21093         <empty/>
20654 </define>   21094 </define>
20655 14.13.2Drawing Page Style   21095 14.13.2Drawing Page Style
20656 A drawing page style is a <style:style> element with family drawing-page. Within graphical applications, drawing page styles can be used to change the background of draw page. If a background is set with the help of a drawing page style, then it overrides the background of the master page that is assigned to the draw page, but not the shapes that are on the master page.   21096 A drawing page style is a <style:style> element with family drawing-page. Within graphical applications, drawing page styles can be used to change the background of draw page. If a background is set with the help of a drawing page style, then it overrides the background of the master page that is assigned to the draw page, but not the shapes that are on the master page.
20657 Within presentation applications, the draw page style additionally may contain presentation properties, for example, the duration for which a page is displayed or fade effects.   21097 Within presentation applications, the draw page style additionally may contain presentation properties, for example, the duration for which a page is displayed or fade effects.
20658 The properties that can be used in a draw page style to change the background are the ones described in section 15.14.   21098 The properties that can be used in a draw page style to change the background are the ones described in section 15.14.
20659 The presentation properties that can be used in a draw page style are described in section 15.36.   21099 The presentation properties that can be used in a draw page style are described in section 15.36.
20660 <define name="style-style-content" combine="choice">   21100 <define name="style-style-content" combine="choice">
20661         <group>   21101         <group>
20662                 <attribute name="style:family">   21102                 <attribute name="style:family">
20663                         <value>drawing-page</value>   21103                         <value>drawing-page</value>
20664                 </attribute>   21104                 </attribute>
20665                 <optional>   21105                 <optional>
20666                         <ref name="style-drawing-page-properties"/>   21106                         <ref name="style-drawing-page-properties"/>
20667                 </optional>   21107                 </optional>
20668         </group>   21108         </group>
20669 </define>   21109 </define>
20670     21110  
20671 <define name="style-drawing-page-properties">   21111 <define name="style-drawing-page-properties">
20672         <element name="style:drawing-page-properties">   21112         <element name="style:drawing-page-properties">
20673                 <ref name="style-drawing-page-properties-content"/>   21113                 <ref name="style-drawing-page-properties-content"/>
20674         </element>   21114         </element>
20675 </define>   21115 </define>
20676     21116  
20677 <define name="style-drawing-page-properties-content">   21117 <define name="style-drawing-page-properties-content">
20678         <ref name="style-properties-content"/>   21118         <ref name="style-properties-content"/>
20679 </define>   21119 </define>
20680     21120  
20681 <define name="style-drawing-page-properties-content-strict">   21121 <define name="style-drawing-page-properties-content-strict">
20682         <ref name="style-graphic-fill-properties-attlist"/>   21122         <ref name="style-graphic-fill-properties-attlist"/>
20683         <ref name="style-drawing-page-properties-attlist"/>   21123         <ref name="style-drawing-page-properties-attlist"/>
20684         <ref name="style-drawing-page-properties-elements"/>   21124         <ref name="style-drawing-page-properties-elements"/>
20685 </define>   21125 </define>
20686 14.14Enhanced Graphic Style Elements   21126 14.14Enhanced Graphic Style Elements
20687 The elements described in this section are enhanced graphic style. They cannot be used as automatic styles, that is, they have to be located in the <office:styles> section of a document. Like all other style elements, they are referenced to by a unique name. The following styles for filling graphic objects are available:   21127 The elements described in this section are enhanced graphic style. They cannot be used as automatic styles, that is, they have to be located in the <office:styles> section of a document. Like all other style elements, they are referenced to by a unique name. The following styles for filling graphic objects are available:
20688 Gradient   21128 Gradient
20689 SVG Gradient   21129 SVG Gradient
20690 Hatch   21130 Hatch
20691 Image   21131 Image
20692 Opacity Gradient   21132 Opacity Gradient
20693 Marker   21133 Marker
20694 Dash   21134 Dash
20695 Presentation Page Layout   21135 Presentation Page Layout
20696 14.14.1Gradient   21136 14.14.1Gradient
20697 The element <draw:gradient> defines a gradient for filling a drawing object. Gradients are not available as automatic styles.   21137 The element <draw:gradient> defines a gradient for filling a drawing object. Gradients are not available as automatic styles.
20698 <define name="draw-gradient">   21138 <define name="draw-gradient">
20699         <element name="draw:gradient">   21139         <element name="draw:gradient">
20700                 <ref name="common-draw-gradient-attlist"/>   21140                 <ref name="common-draw-gradient-attlist"/>
20701                 <ref name="draw-gradient-attlist"/>   21141                 <ref name="draw-gradient-attlist"/>
20702                 <empty/>   21142                 <empty/>
20703         </element>   21143         </element>
20704 </define>   21144 </define>
20705 The attributes that may be associated with the gradient element are:   21145 The attributes that may be associated with the gradient element are:
20706 Name   21146 Name
20707 Display name   21147 Display name
20708 Gradient style   21148 Gradient style
20709 Gradient center   21149 Gradient center
20710 Colors   21150 Colors
20711 Intensity   21151 Intensity
20712 Angle   21152 Angle
20713 Border   21153 Border
20714 Name   21154 Name
20715 The attribute draw:name uniquely identifies a gradient inside an <office:styles> element.   21155 The attribute draw:name uniquely identifies a gradient inside an <office:styles> element.
20716 <define name="common-draw-gradient-attlist" combine="interleave">   21156 <define name="common-draw-gradient-attlist" combine="interleave">
20717         <optional>   21157         <optional>
20718                 <attribute name="draw:name">   21158                 <attribute name="draw:name">
20719                         <ref name="styleName"/>   21159                         <ref name="styleName"/>
20720                 </attribute>   21160                 </attribute>
20721         </optional>   21161         </optional>
20722 </define>   21162 </define>
20723 Display Name   21163 Display Name
20724 The draw:display-name attribute specifies the name of the gradient as it should appear in the user interface. In contrast to the style name itself, this name may contain arbitrary characters. If this attribute is not present, the display name equals the style name.   21164 The draw:display-name attribute specifies the name of the gradient as it should appear in the user interface. In contrast to the style name itself, this name may contain arbitrary characters. If this attribute is not present, the display name equals the style name.
20725 <define name="common-draw-gradient-attlist" combine="interleave">   21165 <define name="common-draw-gradient-attlist" combine="interleave">
20726         <optional>   21166         <optional>
20727                 <attribute name="draw:display-name">   21167                 <attribute name="draw:display-name">
20728                         <ref name="string"/>   21168                         <ref name="string"/>
20729                 </attribute>   21169                 </attribute>
20730         </optional>   21170         </optional>
20731 </define>   21171 </define>
20732 Gradient Style   21172 Gradient Style
20733 The attribute draw:style specifies the style of the gradient. The gradient styles that an office application should support are linear, axial, radial, ellipsoid, square, and rectangular.   21173 The attribute draw:style specifies the style of the gradient. The gradient styles that an office application should support are linear, axial, radial, ellipsoid, square, and rectangular.
20734 <define name="common-draw-gradient-attlist" combine="interleave">   21174 <define name="common-draw-gradient-attlist" combine="interleave">
20735         <attribute name="draw:style">   21175         <attribute name="draw:style">
20736                 <ref name="gradient-style"/>   21176                 <ref name="gradient-style"/>
20737         </attribute>   21177         </attribute>
20738 </define>   21178 </define>
20739 <define name="gradient-style">   21179 <define name="gradient-style">
20740         <choice>   21180         <choice>
20741                 <value>linear</value>   21181                 <value>linear</value>
20742                 <value>axial</value>   21182                 <value>axial</value>
20743                 <value>radial</value>   21183                 <value>radial</value>
20744                 <value>ellipsoid</value>   21184                 <value>ellipsoid</value>
20745                 <value>square</value>   21185                 <value>square</value>
20746                 <value>rectangular</value>   21186                 <value>rectangular</value>
20747         </choice>   21187         </choice>
20748 </define>   21188 </define>
20749 Gradient Center   21189 Gradient Center
20750 If the gradient style is radial, ellipsoid, square, or rectangular, the gradient center attributes draw:cx and draw:cy  specifies the center of the geometry that is used for the gradient. The values of these attributes are always percentage values.   21190 If the gradient style is radial, ellipsoid, square, or rectangular, the gradient center attributes draw:cx and draw:cy  specifies the center of the geometry that is used for the gradient. The values of these attributes are always percentage values.
20751 <define name="common-draw-gradient-attlist" combine="interleave">   21191 <define name="common-draw-gradient-attlist" combine="interleave">
20752         <optional>   21192         <optional>
20753                 <attribute name="draw:cx">   21193                 <attribute name="draw:cx">
20754                         <ref name="percent"/>   21194                         <ref name="percent"/>
20755                 </attribute>   21195                 </attribute>
20756         </optional>   21196         </optional>
20757         <optional>   21197         <optional>
20758                 <attribute name="draw:cy">   21198                 <attribute name="draw:cy">
20759                         <ref name="percent"/>   21199                         <ref name="percent"/>
20760                 </attribute>   21200                 </attribute>
20761         </optional>   21201         </optional>
20762 </define>   21202 </define>
20763 Colors   21203 Colors
20764 The gradient interpolates between a start color and an end color, which are specified using the  attributes draw:start-color and draw:end-color.   21204 The gradient interpolates between a start color and an end color, which are specified using the  attributes draw:start-color and draw:end-color.
20765 <define name="draw-gradient-attlist" combine="interleave">   21205 <define name="draw-gradient-attlist" combine="interleave">
20766         <optional>   21206         <optional>
20767                 <attribute name="draw:start-color">   21207                 <attribute name="draw:start-color">
20768                         <ref name="color"/>   21208                         <ref name="color"/>
20769                 </attribute>   21209                 </attribute>
20770         </optional>   21210         </optional>
20771         <optional>   21211         <optional>
20772                 <attribute name="draw:end-color">   21212                 <attribute name="draw:end-color">
20773                         <ref name="color"/>   21213                         <ref name="color"/>
20774                 </attribute>   21214                 </attribute>
20775         </optional>   21215         </optional>
20776 </define>   21216 </define>
20777 Intensity   21217 Intensity
20778 The attributes draw:start-intensity and draw:end-intensity specify the intensity of the gradient's start and end color as percentage values. These attributes are optional. If the attributes are not specified, the colors are used as they are, that is at 100% intensity.   21218 The attributes draw:start-intensity and draw:end-intensity specify the intensity of the gradient's start and end color as percentage values. These attributes are optional. If the attributes are not specified, the colors are used as they are, that is at 100% intensity.
20779 <define name="draw-gradient-attlist" combine="interleave">   21219 <define name="draw-gradient-attlist" combine="interleave">
20780         <optional>   21220         <optional>
20781                 <attribute name="draw:start-intensity">   21221                 <attribute name="draw:start-intensity">
20782                         <ref name="percent"/>   21222                         <ref name="percent"/>
20783                 </attribute>   21223                 </attribute>
20784         </optional>   21224         </optional>
20785         <optional>   21225         <optional>
20786                 <attribute name="draw:end-intensity">   21226                 <attribute name="draw:end-intensity">
20787                         <ref name="percent"/>   21227                         <ref name="percent"/>
20788                 </attribute>   21228                 </attribute>
20789         </optional>   21229         </optional>
20790 </define>   21230 </define>
20791 Angle   21231 Angle
20792 The draw:angle attribute specifies an angle that rotates the axis at which the gradient values are interpolated. This attribute is ignored for radial style gradients.   21232 The draw:angle attribute specifies an angle that rotates the axis at which the gradient values are interpolated. This attribute is ignored for radial style gradients.
20793 <define name="common-draw-gradient-attlist" combine="interleave">   21233 <define name="common-draw-gradient-attlist" combine="interleave">
20794         <optional>   21234         <optional>
20795                 <attribute name="draw:angle">   21235                 <attribute name="draw:angle">
20796                         <ref name="integer"/>   21236                         <ref name="integer"/>
20797                 </attribute>   21237                 </attribute>
20798         </optional>   21238         </optional>
20799 </define>   21239 </define>
20800 Border   21240 Border
20801 Depending on the style of the gradient, the draw:border attribute specifies a percentage value which is used to scale a border which is filled by the start or end color only.   21241 Depending on the style of the gradient, the draw:border attribute specifies a percentage value which is used to scale a border which is filled by the start or end color only.
20802 For example, a border of 10% means that the first 10% of the gradient is colored completely in the start color and the remaining 90% are an interpolation between start and end color.   21242 For example, a border of 10% means that the first 10% of the gradient is colored completely in the start color and the remaining 90% are an interpolation between start and end color.
20803 <define name="common-draw-gradient-attlist" combine="interleave">   21243 <define name="common-draw-gradient-attlist" combine="interleave">
20804         <optional>   21244         <optional>
20805                 <attribute name="draw:border">   21245                 <attribute name="draw:border">
20806                         <ref name="percent"/>   21246                         <ref name="percent"/>
20807                 </attribute>   21247                 </attribute>
20808         </optional>   21248         </optional>
20809 </define>   21249 </define>
20810 14.14.2SVG Gradients   21250 14.14.2SVG Gradients
20811 In addition to the gradients specified in section 14.14.1, gradient may be defined by the SVG gradient elements <linearGradient> and <radialGradient> as specified in §13.2 of [SVG]. The following rules apply to SVG gradients if they are used in documents in OpenDocument format:   21251 In addition to the gradients specified in section 14.14.1, gradient may be defined by the SVG gradient elements <linearGradient> and <radialGradient> as specified in §13.2 of [SVG]. The following rules apply to SVG gradients if they are used in documents in OpenDocument format:
20812 The gradients must get a name. It is specified by the draw:name attribute.   21252 The gradients must get a name. It is specified by the draw:name attribute.
20813 For <linearGradient>, only the attributes gradientTransform, x1, y1, x2, y2 and spreadMethod will be evaluated.   21253 For <linearGradient>, only the attributes gradientTransform, x1, y1, x2, y2 and spreadMethod will be evaluated.
20814 For <radialGradient>, only the attributes gradientTransform, cx, cy, r, fx, fy and spreadMethod will be evaluated.   21254 For <radialGradient>, only the attributes gradientTransform, cx, cy, r, fx, fy and spreadMethod will be evaluated.
20815 The gradient will be calculated like having a gradientUnits of objectBoundingBox, regardless what the actual value of the attribute is.   21255 The gradient will be calculated like having a gradientUnits of objectBoundingBox, regardless what the actual value of the attribute is.
20816 The only child element that is evaluated is <stop>.   21256 The only child element that is evaluated is <stop>.
20817 For <stop>, only the attributes offset, stop-color and stop-opacity will be evaluated.   21257 For <stop>, only the attributes offset, stop-color and stop-opacity will be evaluated.
20818 <define name="svg-linearGradient">   21258 <define name="svg-linearGradient">
20819         <element name="svg:linearGradient">   21259         <element name="svg:linearGradient">
20820                 <ref name="common-svg-gradient-attlist"/>   21260                 <ref name="common-svg-gradient-attlist"/>
20821                 <optional>   21261                 <optional>
20822                         <attribute name="svg:x1" a:defaultValue="0%">   21262                         <attribute name="svg:x1" a:defaultValue="0%">
20823                                 <choice>   21263                                 <choice>
20824                                         <ref name="coordinate"/>   21264                                         <ref name="coordinate"/>
20825                                         <ref name="percent"/>   21265                                         <ref name="percent"/>
20826                                 </choice>                                 21266                                 </choice>                              
20827                         </attribute>   21267                         </attribute>
20828                 </optional>   21268                 </optional>
20829                 <optional>   21269                 <optional>
20830                         <attribute name="svg:y1" a:defaultValue="0%">   21270                         <attribute name="svg:y1" a:defaultValue="0%">
20831                                 <choice>   21271                                 <choice>
20832                                         <ref name="coordinate"/>   21272                                         <ref name="coordinate"/>
20833                                         <ref name="percent"/>   21273                                         <ref name="percent"/>
20834                                 </choice>                                 21274                                 </choice>                              
20835                         </attribute>   21275                         </attribute>
20836                 </optional>   21276                 </optional>
20837                 <optional>   21277                 <optional>
20838                         <attribute name="svg:x2" a:defaultValue="100%">   21278                         <attribute name="svg:x2" a:defaultValue="100%">
20839                                 <choice>   21279                                 <choice>
20840                                         <ref name="coordinate"/>   21280                                         <ref name="coordinate"/>
20841                                         <ref name="percent"/>   21281                                         <ref name="percent"/>
20842                                 </choice>                                 21282                                 </choice>                              
20843                         </attribute>   21283                         </attribute>
20844                 </optional>   21284                 </optional>
20845                 <optional>   21285                 <optional>
20846                         <attribute name="svg:y2" a:defaultValue="100%">   21286                         <attribute name="svg:y2" a:defaultValue="100%">
20847                                 <choice>   21287                                 <choice>
20848                                         <ref name="coordinate"/>   21288                                         <ref name="coordinate"/>
20849                                         <ref name="percent"/>   21289                                         <ref name="percent"/>
20850                                 </choice>                                 21290                                 </choice>                              
20851                         </attribute>   21291                         </attribute>
20852                 </optional>   21292                 </optional>
20853                 <zeroOrMore>   21293                 <zeroOrMore>
20854                         <ref name="svg-stop"/>   21294                         <ref name="svg-stop"/>
20855                 </zeroOrMore>   21295                 </zeroOrMore>
20856         </element>   21296         </element>
20857 </define>   21297 </define>
20858     21298  
20859 <define name="svg-radialGradient">   21299 <define name="svg-radialGradient">
20860         <element name="svg:radialGradient">   21300         <element name="svg:radialGradient">
20861                 <ref name="common-svg-gradient-attlist"/>   21301                 <ref name="common-svg-gradient-attlist"/>
20862                 <optional>   21302                 <optional>
20863                         <attribute name="svg:cx" a:defaultValue="50%">   21303                         <attribute name="svg:cx" a:defaultValue="50%">
20864                                 <choice>   21304                                 <choice>
20865                                         <ref name="coordinate"/>   21305                                         <ref name="coordinate"/>
20866                                         <ref name="percent"/>   21306                                         <ref name="percent"/>
20867                                 </choice>                                 21307                                 </choice>                              
20868                         </attribute>   21308                         </attribute>
20869                 </optional>   21309                 </optional>
20870                 <optional>   21310                 <optional>
20871                         <attribute name="svg:cy" a:defaultValue="50%">   21311                         <attribute name="svg:cy" a:defaultValue="50%">
20872                                 <choice>   21312                                 <choice>
20873                                         <ref name="coordinate"/>   21313                                         <ref name="coordinate"/>
20874                                         <ref name="percent"/>   21314                                         <ref name="percent"/>
20875                                 </choice>                                 21315                                 </choice>                              
20876                         </attribute>   21316                         </attribute>
20877                 </optional>   21317                 </optional>
20878                 <optional>   21318                 <optional>
20879                         <attribute name="svg:r" a:defaultValue="50%">   21319                         <attribute name="svg:r" a:defaultValue="50%">
20880                                 <choice>   21320                                 <choice>
20881                                         <ref name="coordinate"/>   21321                                         <ref name="coordinate"/>
20882                                         <ref name="percent"/>   21322                                         <ref name="percent"/>
20883                                 </choice>                                 21323                                 </choice>                              
20884                         </attribute>   21324                         </attribute>
20885                 </optional>   21325                 </optional>
20886                 <optional>   21326                 <optional>
20887                         <attribute name="svg:fx">   21327                         <attribute name="svg:fx">
20888                                 <choice>   21328                                 <choice>
20889                                         <ref name="coordinate"/>   21329                                         <ref name="coordinate"/>
20890                                         <ref name="percent"/>   21330                                         <ref name="percent"/>
20891                                 </choice>                                 21331                                 </choice>                              
20892                         </attribute>   21332                         </attribute>
20893                 </optional>   21333                 </optional>
20894                 <optional>   21334                 <optional>
20895                         <attribute name="svg:fy">   21335                         <attribute name="svg:fy">
20896                                 <choice>   21336                                 <choice>
20897                                         <ref name="coordinate"/>   21337                                         <ref name="coordinate"/>
20898                                         <ref name="percent"/>   21338                                         <ref name="percent"/>
20899                                 </choice>                                 21339                                 </choice>                              
20900                         </attribute>   21340                         </attribute>
20901                 </optional>   21341                 </optional>
20902                 <zeroOrMore>   21342                 <zeroOrMore>
20903                         <ref name="svg-stop"/>   21343                         <ref name="svg-stop"/>
20904                 </zeroOrMore>   21344                 </zeroOrMore>
20905         </element>   21345         </element>
20906 </define>   21346 </define>
20907     21347  
20908 <define name="svg-stop">   21348 <define name="svg-stop">
20909         <element name="svg:stop">   21349         <element name="svg:stop">
20910                 <attribute name="svg:offset">   21350                 <attribute name="svg:offset">
20911                         <choice>   21351                         <choice>
20912                                 <ref name="double"/>   21352                                 <ref name="double"/>
20913                                 <ref name="percent"/>   21353                                 <ref name="percent"/>
20914                         </choice>   21354                         </choice>
20915                 </attribute>   21355                 </attribute>
20916                 <optional>   21356                 <optional>
20917                         <attribute name="svg:stop-color">   21357                         <attribute name="svg:stop-color">
20918                                 <ref name="color"/>   21358                                 <ref name="color"/>
20919                         </attribute>   21359                         </attribute>
20920                 </optional>   21360                 </optional>
20921                 <optional>   21361                 <optional>
20922                         <attribute name="svg:stop-opacity">   21362                         <attribute name="svg:stop-opacity">
20923                                 <ref name="double"/>   21363                                 <ref name="double"/>
20924                         </attribute>   21364                         </attribute>
20925                 </optional>   21365                 </optional>
20926         </element>   21366         </element>
20927 </define>   21367 </define>
20928     21368  
20929 <define name="common-svg-gradient-attlist" combine="interleave">   21369 <define name="common-svg-gradient-attlist" combine="interleave">
20930         <optional>   21370         <optional>
20931                 <attribute name="svg:gradientUnits" a:defaultValue="objectBoundingBox">   21371                 <attribute name="svg:gradientUnits" a:defaultValue="objectBoundingBox">
20932                         <value>objectBoundingBox</value>   21372                         <value>objectBoundingBox</value>
20933                 </attribute>   21373                 </attribute>
20934         </optional>   21374         </optional>
20935         <optional>   21375         <optional>
20936                 <attribute name="svg:gradientTransform">   21376                 <attribute name="svg:gradientTransform">
20937                         <ref name="string"/>   21377                         <ref name="string"/>
20938                 </attribute>   21378                 </attribute>
20939         </optional>   21379         </optional>
20940         <optional>   21380         <optional>
20941                 <attribute name="svg:spreadMethod" a:defaultValue="pad">   21381                 <attribute name="svg:spreadMethod" a:defaultValue="pad">
20942                         <choice>   21382                         <choice>
20943                                 <value>pad</value>   21383                                 <value>pad</value>
20944                                 <value>reflect</value>   21384                                 <value>reflect</value>
20945                                 <value>repeat</value>   21385                                 <value>repeat</value>
20946                         </choice>   21386                         </choice>
20947                 </attribute>   21387                 </attribute>
20948         </optional>   21388         </optional>
20949 </define>   21389 </define>
20950 Name   21390 Name
20951 The attribute draw:name uniquely identifies a gradient inside an <office:styles> element. Like <draw:gradient> elements, SVG gradients are referenced by this name using the draw:fill-gradient-name attribute within a graphic style. SVG gradients cannot be referenced by a draw:opacity-name attribute. The result of referencing a SVG gradient with draw:fill-gradient-name attribute and an opacity gradient with a draw:opacity-name attribute at the same time is unspecified.   21391 The attribute draw:name uniquely identifies a gradient inside an <office:styles> element. Like <draw:gradient> elements, SVG gradients are referenced by this name using the draw:fill-gradient-name attribute within a graphic style. SVG gradients cannot be referenced by a draw:opacity-name attribute. The result of referencing a SVG gradient with draw:fill-gradient-name attribute and an opacity gradient with a draw:opacity-name attribute at the same time is unspecified.
20952 <define name="common-svg-gradient-attlist" combine="interleave">   21392 <define name="common-svg-gradient-attlist" combine="interleave">
20953         <attribute name="draw:name">   21393         <attribute name="draw:name">
20954                 <ref name="styleName"/>   21394                 <ref name="styleName"/>
20955         </attribute>   21395         </attribute>
20956 </define>   21396 </define>
20957 Display Name   21397 Display Name
20958 The draw:display-name attribute specifies the name of the gradient as it should appear in the user interface. In contrast to the style name itself, this name may contain arbitrary characters. If this attribute is not present, the display name equals the style name.   21398 The draw:display-name attribute specifies the name of the gradient as it should appear in the user interface. In contrast to the style name itself, this name may contain arbitrary characters. If this attribute is not present, the display name equals the style name.
20959 <define name="common-svg-gradient-attlist" combine="interleave">   21399 <define name="common-svg-gradient-attlist" combine="interleave">
20960         <optional>   21400         <optional>
20961                 <attribute name="draw:display-name">   21401                 <attribute name="draw:display-name">
20962                         <ref name="string"/>   21402                         <ref name="string"/>
20963                 </attribute>   21403                 </attribute>
20964         </optional>   21404         </optional>
20965 </define>   21405 </define>
20966 14.14.3Hatch   21406 14.14.3Hatch
20967 The <draw:hatch> element defines a hatch for filling graphic objects. A hatch is a simple pattern of straight lines that is repeated in the fill area. Hatches are not available as automatic styles.   21407 The <draw:hatch> element defines a hatch for filling graphic objects. A hatch is a simple pattern of straight lines that is repeated in the fill area. Hatches are not available as automatic styles.
20968 <define name="draw-hatch">   21408 <define name="draw-hatch">
20969         <element name="draw:hatch">   21409         <element name="draw:hatch">
20970                 <ref name="draw-hatch-attlist"/>   21410                 <ref name="draw-hatch-attlist"/>
20971                 <empty/>   21411                 <empty/>
20972         </element>   21412         </element>
20973 </define>   21413 </define>
20974 The attributes that may be associated with the hatch element are:   21414 The attributes that may be associated with the hatch element are:
20975 Name   21415 Name
20976 Display name   21416 Display name
20977 Style   21417 Style
20978 Color   21418 Color
20979 Distance   21419 Distance
20980 Angle   21420 Angle
20981 Background   21421 Background
20982 Name   21422 Name
20983 The draw:name attribute uniquely identifies a hatch inside an <office:styles> element.   21423 The draw:name attribute uniquely identifies a hatch inside an <office:styles> element.
20984 <define name="draw-hatch-attlist" combine="interleave">   21424 <define name="draw-hatch-attlist" combine="interleave">
20985         <attribute name="draw:name">   21425         <attribute name="draw:name">
20986                 <ref name="styleName"/>   21426                 <ref name="styleName"/>
20987         </attribute>   21427         </attribute>
20988 </define>   21428 </define>
20989 Display Name   21429 Display Name
20990 The draw:display-name attribute specifies the name of the hatch style as it should appear in the user interface. In contrast to the style name itself, this name may contain arbitrary characters. If this attribute is not present, the display name equals the style name.   21430 The draw:display-name attribute specifies the name of the hatch style as it should appear in the user interface. In contrast to the style name itself, this name may contain arbitrary characters. If this attribute is not present, the display name equals the style name.
20991 <define name="draw-hatch-attlist" combine="interleave">   21431 <define name="draw-hatch-attlist" combine="interleave">
20992         <optional>   21432         <optional>
20993                 <attribute name="draw:display-name">   21433                 <attribute name="draw:display-name">
20994                         <ref name="string"/>   21434                         <ref name="string"/>
20995                 </attribute>   21435                 </attribute>
20996         </optional>   21436         </optional>
20997 </define>   21437 </define>
20998 Style   21438 Style
20999 The draw:style attribute specifies the style of the hatch.   21439 The draw:style attribute specifies the style of the hatch.
21000 The hatch can have one of three styles: single, double, or triple.   21440 The hatch can have one of three styles: single, double, or triple.
21001 <define name="draw-hatch-attlist" combine="interleave">   21441 <define name="draw-hatch-attlist" combine="interleave">
21002         <attribute name="draw:style">   21442         <attribute name="draw:style">
21003                 <choice>   21443                 <choice>
21004                         <value>single</value>   21444                         <value>single</value>
21005                         <value>double</value>   21445                         <value>double</value>
21006                         <value>triple</value>   21446                         <value>triple</value>
21007                 </choice>   21447                 </choice>
21008         </attribute>   21448         </attribute>
21009 </define>   21449 </define>
21010 Color   21450 Color
21011 The draw:color attribute specifies the color of the hatch lines.   21451 The draw:color attribute specifies the color of the hatch lines.
21012 <define name="draw-hatch-attlist" combine="interleave">   21452 <define name="draw-hatch-attlist" combine="interleave">
21013         <optional>   21453         <optional>
21014                 <attribute name="draw:color">   21454                 <attribute name="draw:color">
21015                         <ref name="color"/>   21455                         <ref name="color"/>
21016                 </attribute>   21456                 </attribute>
21017         </optional>   21457         </optional>
21018 </define>   21458 </define>
21019 Distance   21459 Distance
21020 The draw:distance attribute specifies the distance between two hatch lines.   21460 The draw:distance attribute specifies the distance between two hatch lines.
21021 <define name="draw-hatch-attlist" combine="interleave">   21461 <define name="draw-hatch-attlist" combine="interleave">
21022         <optional>   21462         <optional>
21023                 <attribute name="draw:distance">   21463                 <attribute name="draw:distance">
21024                         <ref name="length"/>   21464                         <ref name="length"/>
21025                 </attribute>   21465                 </attribute>
21026         </optional>   21466         </optional>
21027 </define>   21467 </define>
21028 Angle   21468 Angle
21029 The draw:rotation attribute specified the rotation angle of the hatch lines.   21469 The draw:rotation attribute specified the rotation angle of the hatch lines.
21030 <define name="draw-hatch-attlist" combine="interleave">   21470 <define name="draw-hatch-attlist" combine="interleave">
21031         <optional>   21471         <optional>
21032                 <attribute name="draw:rotation">   21472                 <attribute name="draw:rotation">
21033                         <ref name="integer"/>   21473                         <ref name="integer"/>
21034                 </attribute>   21474                 </attribute>
21035         </optional>   21475         </optional>
21036 </define>   21476 </define>
21037 14.14.4Fill Image   21477 14.14.4Fill Image
21038 The <draw:fill-image> element specifies a link to a bitmap resource, for example, a .PNG file. This element follows the XLink specification. Fill image are not available as automatic styles.   21478 The <draw:fill-image> element specifies a link to a bitmap resource, for example, a .PNG file. This element follows the XLink specification. Fill image are not available as automatic styles.
21039 <define name="draw-fill-image">   21479 <define name="draw-fill-image">
21040         <element name="draw:fill-image">   21480         <element name="draw:fill-image">
21041                 <ref name="draw-fill-image-attlist"/>   21481                 <ref name="draw-fill-image-attlist"/>
21042                 <attribute name="xlink:href">   21482                 <attribute name="xlink:href">
21043                         <ref name="anyURI"/>   21483                         <ref name="anyURI"/>
21044                 </attribute>   21484                 </attribute>
21045                 <optional>   21485                 <optional>
21046                         <attribute name="xlink:type" a:defaultValue="simple">   21486                         <attribute name="xlink:type" a:defaultValue="simple">
21047                                 <choice>   21487                                 <choice>
21048                                         <value>simple</value>   21488                                         <value>simple</value>
21049                                 </choice>   21489                                 </choice>
21050                         </attribute>   21490                         </attribute>
21051                 </optional>   21491                 </optional>
21052                 <optional>   21492                 <optional>
21053                         <attribute name="xlink:show" a:defaultValue="embed">   21493                         <attribute name="xlink:show" a:defaultValue="embed">
21054                                 <choice>   21494                                 <choice>
21055                                         <value>embed</value>   21495                                         <value>embed</value>
21056                                 </choice>   21496                                 </choice>
21057                         </attribute>   21497                         </attribute>
21058                 </optional>   21498                 </optional>
21059                 <optional>   21499                 <optional>
21060                         <attribute name="xlink:actuate" a:defaultValue="onLoad">   21500                         <attribute name="xlink:actuate" a:defaultValue="onLoad">
21061                                 <choice>   21501                                 <choice>
21062                                         <value>onLoad</value>   21502                                         <value>onLoad</value>
21063                                 </choice>   21503                                 </choice>
21064                         </attribute>   21504                         </attribute>
21065                 </optional>   21505                 </optional>
21066                 <empty/>   21506                 <empty/>
21067         </element>   21507         </element>
21068 </define>   21508 </define>
21069 The attributes that may be associated with the fill image element are:   21509 The attributes that may be associated with the fill image element are:
21070 Name   21510 Name
21071 Display name   21511 Display name
21072 Size   21512 Size
21073 Name   21513 Name
21074 The draw:name attribute uniquely identifies a fill image inside an <office:styles> element.   21514 The draw:name attribute uniquely identifies a fill image inside an <office:styles> element.
21075 <define name="draw-fill-image-attlist" combine="interleave">   21515 <define name="draw-fill-image-attlist" combine="interleave">
21076         <attribute name="draw:name">   21516         <attribute name="draw:name">
21077                 <ref name="styleName"/>   21517                 <ref name="styleName"/>
21078         </attribute>   21518         </attribute>
21079 </define>   21519 </define>
21080 Display Name   21520 Display Name
21081 The draw:display-name attribute specifies the name of the fill image as it should appear in the user interface. In contrast to the style name itself, this name may contain arbitrary characters. If this attribute is not present, the display name equals the style name.   21521 The draw:display-name attribute specifies the name of the fill image as it should appear in the user interface. In contrast to the style name itself, this name may contain arbitrary characters. If this attribute is not present, the display name equals the style name.
21082 <define name="draw-fill-image-attlist" combine="interleave">   21522 <define name="draw-fill-image-attlist" combine="interleave">
21083         <optional>   21523         <optional>
21084                 <attribute name="draw:display-name">   21524                 <attribute name="draw:display-name">
21085                         <ref name="string"/>   21525                         <ref name="string"/>
21086                 </attribute>   21526                 </attribute>
21087         </optional>   21527         </optional>
21088 </define>   21528 </define>
21089 Size   21529 Size
21090 The optional attributes svg:width and svg:height specify the size of the linked image. These values are optional and are overridden by the physical size of the linked image resource. They can be used to get the size of an image before it is loaded.   21530 The optional attributes svg:width and svg:height specify the size of the linked image. These values are optional and are overridden by the physical size of the linked image resource. They can be used to get the size of an image before it is loaded.
21091 <define name="draw-fill-image-attlist" combine="interleave">   21531 <define name="draw-fill-image-attlist" combine="interleave">
21092         <optional>   21532         <optional>
21093                 <attribute name="svg:width">   21533                 <attribute name="svg:width">
21094                         <ref name="length"/>   21534                         <ref name="length"/>
21095                 </attribute>   21535                 </attribute>
21096         </optional>   21536         </optional>
21097         <optional>   21537         <optional>
21098                 <attribute name="svg:height">   21538                 <attribute name="svg:height">
21099                         <ref name="length"/>   21539                         <ref name="length"/>
21100                 </attribute>   21540                 </attribute>
21101         </optional>   21541         </optional>
21102 </define>   21542 </define>
21103 14.14.5Opacity Gradient   21543 14.14.5Opacity Gradient
21104 The <draw:opacity> element specifies an opacity gradient for a graphic object. An opacity gradient works like a gradient, except that the opacity is interpolated instead of the color. Opacity gradients are not available as automatic styles.   21544 The <draw:opacity> element specifies an opacity gradient for a graphic object. An opacity gradient works like a gradient, except that the opacity is interpolated instead of the color. Opacity gradients are not available as automatic styles.
21105 <define name="draw-opacity">   21545 <define name="draw-opacity">
21106         <element name="draw:opacity">   21546         <element name="draw:opacity">
21107                 <ref name="common-draw-gradient-attlist"/>   21547                 <ref name="common-draw-gradient-attlist"/>
21108                 <ref name="draw-opacity-attlist"/>   21548                 <ref name="draw-opacity-attlist"/>
21109                 <empty/>   21549                 <empty/>
21110         </element>   21550         </element>
21111 </define>   21551 </define>
21112 The attributes that may be associated with the <draw:opacity> element are:   21552 The attributes that may be associated with the <draw:opacity> element are:
21113 Name, Display name, Style, Opacity center, Angle, Border – see section 14.14.1.   21553 Name, Display name, Style, Opacity center, Angle, Border – see section 14.14.1.
21114 Opacity   21554 Opacity
21115 Opacity   21555 Opacity
21116 The opacity interpolates between a start and an end value.   21556 The opacity interpolates between a start and an end value.
21117 The values of the attributes draw:start and draw:end are percentages where 0% is fully transparent and 100% is fully opaque.   21557 The values of the attributes draw:start and draw:end are percentages where 0% is fully transparent and 100% is fully opaque.
21118 <define name="draw-opacity-attlist" combine="interleave">   21558 <define name="draw-opacity-attlist" combine="interleave">
21119         <optional>   21559         <optional>
21120                 <attribute name="draw:start">   21560                 <attribute name="draw:start">
21121                         <ref name="percent"/>   21561                         <ref name="percent"/>
21122                 </attribute>   21562                 </attribute>
21123         </optional>   21563         </optional>
21124         <optional>   21564         <optional>
21125                 <attribute name="draw:end">   21565                 <attribute name="draw:end">
21126                         <ref name="percent"/>   21566                         <ref name="percent"/>
21127                 </attribute>   21567                 </attribute>
21128         </optional>   21568         </optional>
21129 </define>   21569 </define>
21130 14.14.6Marker   21570 14.14.6Marker
21131 The element <draw:marker> represents a marker, which is used to draw polygons at the start and end points of strokes. Markers are not available as automatic styles.   21571 The element <draw:marker> represents a marker, which is used to draw polygons at the start and end points of strokes. Markers are not available as automatic styles.
21132 <define name="draw-marker">   21572 <define name="draw-marker">
21133         <element name="draw:marker">   21573         <element name="draw:marker">
21134                 <ref name="draw-marker-attlist"/>   21574                 <ref name="draw-marker-attlist"/>
21135                 <ref name="common-draw-viewbox-attlist"/>   21575                 <ref name="common-draw-viewbox-attlist"/>
21136                 <ref name="common-draw-path-data-attlist"/>   21576                 <ref name="common-draw-path-data-attlist"/>
21137                 <empty/>   21577                 <empty/>
21138         </element>   21578         </element>
21139 </define>   21579 </define>
21140 See sections 9.2.4 and 9.2.15 for information on the path data and viewbox attributes that may be associated with the <draw:marker> element.   21580 See sections 9.2.4 and 9.2.15 for information on the path data and viewbox attributes that may be associated with the <draw:marker> element.
21141 Name   21581 Name
21142 The draw:name attribute uniquely identifies a fill image inside an <office:styles> element.   21582 The draw:name attribute uniquely identifies a fill image inside an <office:styles> element.
21143 <define name="draw-marker-attlist" combine="interleave">   21583 <define name="draw-marker-attlist" combine="interleave">
21144         <attribute name="draw:name">   21584         <attribute name="draw:name">
21145                 <ref name="styleName"/>   21585                 <ref name="styleName"/>
21146         </attribute>   21586         </attribute>
21147 </define>   21587 </define>
21148 Display Name   21588 Display Name
21149 The draw:display-name attribute specifies the name of the marker as it should appear in the user interface. In contrast to the style name itself, this name may contain arbitrary characters. If this attribute is not present, the display name equals the style name.   21589 The draw:display-name attribute specifies the name of the marker as it should appear in the user interface. In contrast to the style name itself, this name may contain arbitrary characters. If this attribute is not present, the display name equals the style name.
21150 <define name="draw-marker-attlist" combine="interleave">   21590 <define name="draw-marker-attlist" combine="interleave">
21151         <optional>   21591         <optional>
21152                 <attribute name="draw:display-name">   21592                 <attribute name="draw:display-name">
21153                         <ref name="string"/>   21593                         <ref name="string"/>
21154                 </attribute>   21594                 </attribute>
21155         </optional>   21595         </optional>
21156 </define>   21596 </define>
21157 14.14.7Stroke Dash   21597 14.14.7Stroke Dash
21158 The dash element <draw:stroke-dash> represents a dash style that can be used to render strokes of shapes. Stroke dashes are not available as automatic styles.   21598 The dash element <draw:stroke-dash> represents a dash style that can be used to render strokes of shapes. Stroke dashes are not available as automatic styles.
21159 <define name="draw-stroke-dash">   21599 <define name="draw-stroke-dash">
21160         <element name="draw:stroke-dash">   21600         <element name="draw:stroke-dash">
21161                 <ref name="draw-stroke-dash-attlist"/>   21601                 <ref name="draw-stroke-dash-attlist"/>
21162                 <empty/>   21602                 <empty/>
21163         </element>   21603         </element>
21164 </define>   21604 </define>
21165 The attributes that may be associated with the <draw:stroke-dash> element are:   21605 The attributes that may be associated with the <draw:stroke-dash> element are:
21166 Name   21606 Name
21167 Display name   21607 Display name
21168 Style   21608 Style
21169 Dots   21609 Dots
21170 Distance   21610 Distance
21171 Name   21611 Name
21172 The attribute draw:name uniquely identifies a dash inside an <office:styles> element.   21612 The attribute draw:name uniquely identifies a dash inside an <office:styles> element.
21173 <define name="draw-stroke-dash-attlist" combine="interleave">   21613 <define name="draw-stroke-dash-attlist" combine="interleave">
21174         <attribute name="draw:name">   21614         <attribute name="draw:name">
21175                 <ref name="styleName"/>   21615                 <ref name="styleName"/>
21176         </attribute>   21616         </attribute>
21177 </define>   21617 </define>
21178 Display Name   21618 Display Name
21179 The draw:display-name attribute specifies the name of the dash as it should appear in the user interface. In contrast to the style name itself, this name may contain arbitrary characters. If this attribute is not present, the display name equals the style name.   21619 The draw:display-name attribute specifies the name of the dash as it should appear in the user interface. In contrast to the style name itself, this name may contain arbitrary characters. If this attribute is not present, the display name equals the style name.
21180 <define name="draw-stroke-dash-attlist" combine="interleave">   21620 <define name="draw-stroke-dash-attlist" combine="interleave">
21181         <optional>   21621         <optional>
21182                 <attribute name="draw:display-name">   21622                 <attribute name="draw:display-name">
21183                         <ref name="string"/>   21623                         <ref name="string"/>
21184                 </attribute>   21624                 </attribute>
21185         </optional>   21625         </optional>
21186 </define>   21626 </define>
21187 Style   21627 Style
21188 The attribute draw:style specifies whether the points of a dash are round or rectangular.   21628 The attribute draw:style specifies whether the points of a dash are round or rectangular.
21189 <define name="draw-stroke-dash-attlist" combine="interleave">   21629 <define name="draw-stroke-dash-attlist" combine="interleave">
21190         <optional>   21630         <optional>
21191                 <attribute name="draw:style">   21631                 <attribute name="draw:style">
21192                         <choice>   21632                         <choice>
21193                                 <value>rect</value>   21633                                 <value>rect</value>
21194                                 <value>round</value>   21634                                 <value>round</value>
21195                         </choice>   21635                         </choice>
21196                 </attribute>   21636                 </attribute>
21197         </optional>   21637         </optional>
21198 </define>   21638 </define>
21199 Dots   21639 Dots
21200 The attribute pairs draw:dots1, draw:dots1-length and draw:dots2, draw:dots2-length each define a repeating sequence of dots that are used to render a dash. Both sequences are used alternating. The draw:dots1 and  draw:dots2 attributes specify the number of dots to draw for both sequences, and the draw:dots1-length and draw:dots2-length attributes specify the length of each dot.   21640 The attribute pairs draw:dots1, draw:dots1-length and draw:dots2, draw:dots2-length each define a repeating sequence of dots that are used to render a dash. Both sequences are used alternating. The draw:dots1 and  draw:dots2 attributes specify the number of dots to draw for both sequences, and the draw:dots1-length and draw:dots2-length attributes specify the length of each dot.
21201 <define name="draw-stroke-dash-attlist" combine="interleave">   21641 <define name="draw-stroke-dash-attlist" combine="interleave">
21202         <optional>   21642         <optional>
21203                 <attribute name="draw:dots1">   21643                 <attribute name="draw:dots1">
21204                         <ref name="integer"/>   21644                         <ref name="integer"/>
21205                 </attribute>   21645                 </attribute>
21206         </optional>   21646         </optional>
21207         <optional>   21647         <optional>
21208                 <attribute name="draw:dots1-length">   21648                 <attribute name="draw:dots1-length">
21209                         <ref name="length"/>   21649                         <ref name="length"/>
21210                 </attribute>   21650                 </attribute>
21211         </optional>   21651         </optional>
21212         <optional>   21652         <optional>
21213                 <attribute name="draw:dots2">   21653                 <attribute name="draw:dots2">
21214                         <ref name="integer"/>   21654                         <ref name="integer"/>
21215                 </attribute>   21655                 </attribute>
21216         </optional>   21656         </optional>
21217         <optional>   21657         <optional>
21218                 <attribute name="draw:dots2-length">   21658                 <attribute name="draw:dots2-length">
21219                         <ref name="length"/>   21659                         <ref name="length"/>
21220                 </attribute>   21660                 </attribute>
21221         </optional>   21661         </optional>
21222 </define>   21662 </define>
21223 Distance   21663 Distance
21224 The draw:distance attribute specifies the distance between the dots of a dash.   21664 The draw:distance attribute specifies the distance between the dots of a dash.
21225 <define name="draw-stroke-dash-attlist" combine="interleave">   21665 <define name="draw-stroke-dash-attlist" combine="interleave">
21226         <optional>   21666         <optional>
21227                 <attribute name="draw:distance">   21667                 <attribute name="draw:distance">
21228                         <ref name="length"/>   21668                         <ref name="length"/>
21229                 </attribute>   21669                 </attribute>
21230         </optional>   21670         </optional>
21231 </define>   21671 </define>
21232 14.15Presentation Page Layouts   21672 14.15Presentation Page Layouts
21233 The element <style:presentation-page-layout> is a container for placeholders, which define a set of empty presentation objects, for example, a title or outline. These placeholders are used as templates for creating new presentation objects and to mark the size and position of an object if the presentation page layout of a drawing page is changed.   21673 The element <style:presentation-page-layout> is a container for placeholders, which define a set of empty presentation objects, for example, a title or outline. These placeholders are used as templates for creating new presentation objects and to mark the size and position of an object if the presentation page layout of a drawing page is changed.
21234 The <style:presentation-page-layout> element has an attribute style:name. It defines the name of the page layout. If a drawing page has been created using a presentation page layout, the name of the layout is contained in the draw page's presentation:presentation-page-layout-name attribute. The optional style:display-name attribute specifies the name of the presentation page layout as it should appear in the user interface.   21674 The <style:presentation-page-layout> element has an attribute style:name. It defines the name of the page layout. If a drawing page has been created using a presentation page layout, the name of the layout is contained in the draw page's presentation:presentation-page-layout-name attribute. The optional style:display-name attribute specifies the name of the presentation page layout as it should appear in the user interface.
21235 <define name="style-presentation-page-layout">   21675 <define name="style-presentation-page-layout">
21236         <element name="style:presentation-page-layout">   21676         <element name="style:presentation-page-layout">
21237                 <attribute name="style:name">   21677                 <attribute name="style:name">
21238                         <ref name="styleName"/>   21678                         <ref name="styleName"/>
21239                 </attribute>   21679                 </attribute>
21240                 <optional>   21680                 <optional>
21241                         <attribute name="style:display-name">   21681                         <attribute name="style:display-name">
21242                                 <ref name="string"/>   21682                                 <ref name="string"/>
21243                         </attribute>   21683                         </attribute>
21244                 </optional>   21684                 </optional>
21245                 <zeroOrMore>   21685                 <zeroOrMore>
21246                         <ref name="presentation-placeholder"/>   21686                         <ref name="presentation-placeholder"/>
21247                 </zeroOrMore>   21687                 </zeroOrMore>
21248         </element>   21688         </element>
21249 </define>   21689 </define>
21250 14.15.1Presentation Placeholder   21690 14.15.1Presentation Placeholder
21251 The element <presentation:placeholder> specifies a placeholder for presentation objects, for example, a title or outline.   21691 The element <presentation:placeholder> specifies a placeholder for presentation objects, for example, a title or outline.
21252 The element has the following attributes:   21692 The element has the following attributes:
21253 object: Specifies the kind of object the element is a placeholder for. The value equals the one of the presentation:class attribute for presentation shapes. See section 9.6.   21693 object: Specifies the kind of object the element is a placeholder for. The value equals the one of the presentation:class attribute for presentation shapes. See section 9.6.
21254 svg:x, svg:y, svg:width, svg:height: position and size attributes as specified in section 9.2.15, with the exception that percentage values are allowed for placeholders. <> 21694 svg:x, svg:y, svg:width, svg:height: position and size attributes as specified in section 9.2.15, with the exception that the attributes may take percentage values in addition to coordinates and lengths.
21255 <define name="presentation-placeholder"> = 21695 <define name="presentation-placeholder">
21256         <element name="presentation:placeholder">   21696         <element name="presentation:placeholder">
21257                 <attribute name="presentation:object">   21697                 <attribute name="presentation:object">
21258                         <ref name="presentation-classes"/>   21698                         <ref name="presentation-classes"/>
21259                 </attribute>   21699                 </attribute>
21260                 <attribute name="svg:x">   21700                 <attribute name="svg:x">
21261                         <choice>   21701                         <choice>
21262                                 <ref name="coordinate"/>   21702                                 <ref name="coordinate"/>
21263                                 <ref name="percent"/>   21703                                 <ref name="percent"/>
21264                         </choice>   21704                         </choice>
21265                 </attribute>   21705                 </attribute>
21266                 <attribute name="svg:y">   21706                 <attribute name="svg:y">
21267                         <choice>   21707                         <choice>
21268                                 <ref name="coordinate"/>   21708                                 <ref name="coordinate"/>
21269                                 <ref name="percent"/>   21709                                 <ref name="percent"/>
21270                         </choice>   21710                         </choice>
21271                 </attribute>   21711                 </attribute>
21272                 <attribute name="svg:width">   21712                 <attribute name="svg:width">
21273                         <choice>   21713                         <choice>
21274                                 <ref name="length"/>   21714                                 <ref name="length"/>
21275                                 <ref name="percent"/>   21715                                 <ref name="percent"/>
21276                         </choice>   21716                         </choice>
21277                 </attribute>   21717                 </attribute>
21278                 <attribute name="svg:height">   21718                 <attribute name="svg:height">
21279                         <choice>   21719                         <choice>
21280                                 <ref name="length"/>   21720                                 <ref name="length"/>
21281                                 <ref name="percent"/>   21721                                 <ref name="percent"/>
21282                         </choice>   21722                         </choice>
21283                 </attribute>   21723                 </attribute>
21284                 <empty/>   21724                 <empty/>
21285         </element>   21725         </element>
21286 </define>   21726 </define>
21287 14.16Chart Styles   21727 14.16Chart Styles
21288 Chart styles are <style:style> elements that have the family chart. They can be used within chart documents to specify formatting properties for the chart, but also for certain objects within a chart. They support the chart properties described in section 15.29, but also graphic, paragraph and text properties as described in sections 15.17, 15.5 and 15.4.   21728 Chart styles are <style:style> elements that have the family chart. They can be used within chart documents to specify formatting properties for the chart, but also for certain objects within a chart. They support the chart properties described in section 15.29, but also graphic, paragraph and text properties as described in sections 15.17, 15.5 and 15.4.
21289 <define name="style-style-content" combine="choice">   21729 <define name="style-style-content" combine="choice">
21290         <group>   21730         <group>
21291                 <attribute name="style:family">   21731                 <attribute name="style:family">
21292                         <value>chart</value>   21732                         <value>chart</value>
21293                 </attribute>   21733                 </attribute>
21294                 <optional>   21734                 <optional>
21295                         <ref name="style-chart-properties"/>   21735                         <ref name="style-chart-properties"/>
21296                 </optional>   21736                 </optional>
21297                 <optional>   21737                 <optional>
21298                         <ref name="style-graphic-properties"/>   21738                         <ref name="style-graphic-properties"/>
21299                 </optional>   21739                 </optional>
21300                 <optional>   21740                 <optional>
21301                         <ref name="style-paragraph-properties"/>   21741                         <ref name="style-paragraph-properties"/>
21302                 </optional>   21742                 </optional>
21303                 <optional>   21743                 <optional>
21304                         <ref name="style-text-properties"/>   21744                         <ref name="style-text-properties"/>
21305                 </optional>   21745                 </optional>
21306         </group>   21746         </group>
21307 </define>   21747 </define>
21308 15Formatting Properties   21748 15Formatting Properties
21309 A document can contain several style elements. To acquire a common set of formatting properties, all formatting properties are contained in formatting property elements which are included as a child elements of any style element. This container elements offers two important advantages, as follows:   21749 A document can contain several style elements. To acquire a common set of formatting properties, all formatting properties are contained in formatting property elements which are included as a child elements of any style element. This container elements offers two important advantages, as follows:
21310 Formatting properties can be addressed by [CSS2] or [XSLT] stylesheets regardless of the style type.   21750 Formatting properties can be addressed by [CSS2] or [XSLT] stylesheets regardless of the style type.
21311 Styles contain additional information that is not a formatting property, for example, the style name and parent style. It is good practice to separate this type of information.   21751 Styles contain additional information that is not a formatting property, for example, the style name and parent style. It is good practice to separate this type of information.
21312 The following formatting property elements do exist:   21752 The following formatting property elements do exist:
21313 <style:page-layout-properties> for page layout properties   21753 <style:page-layout-properties> for page layout properties
21314 <style:header-footer-properties> for page header and footer properties   21754 <style:header-footer-properties> for page header and footer properties
21315 <style:text-properties> for text properties   21755 <style:text-properties> for text properties
21316 <style:paragraph-properties> for paragraph properties.   21756 <style:paragraph-properties> for paragraph properties.
21317 <style:section-properties> for text section properties.   21757 <style:section-properties> for text section properties.
21318 <style:ruby-properties> for ruby section properties.   21758 <style:ruby-properties> for ruby section properties.
21319 <style:list-level-properties> for list properties.   21759 <style:list-level-properties> for list properties.
21320 <style:table-properties> for table properties.   21760 <style:table-properties> for table properties.
21321 <style:table-column-properties> for table column properties.   21761 <style:table-column-properties> for table column properties.
21322 <style:table-row-properties> for table row properties.   21762 <style:table-row-properties> for table row properties.
21323 <style:table-cell-properties> for table cell properties.   21763 <style:table-cell-properties> for table cell properties.
21324 <style:graphic-properties> for drawing object properties.   21764 <style:graphic-properties> for drawing object properties.
21325 15.1Simple and Complex Formatting Properties   21765 15.1Simple and Complex Formatting Properties
21326 15.1.1Simple Formatting Properties   21766 15.1.1Simple Formatting Properties
21327 Most formatting properties are simple and can be represented as attributes of the formatting property elements. Where possible, [XSL] attributes or attributes from other specifications are used to represent formatting properties. In this specification, the namespace prefix fo is used for XSL properties, that is properties that are part of the XSL namespace.   21767 Most formatting properties are simple and can be represented as attributes of the formatting property elements. Where possible, [XSL] attributes or attributes from other specifications are used to represent formatting properties. In this specification, the namespace prefix fo is used for XSL properties, that is properties that are part of the XSL namespace.
21328 In office application, there are very often formatting properties that cannot be specified independent of other formatting properties. If this is the case, and if some of the required properties are missing, the application assumes reasonable default values.   21768 In office application, there are very often formatting properties that cannot be specified independent of other formatting properties. If this is the case, and if some of the required properties are missing, the application assumes reasonable default values.
21329 Example: Simple style properties   21769 Example: Simple style properties
21330 This example shows a formatting property container that specifies an upper paragraph margin of 1 cm as well as a lower margin of 0.5 cm:   21770 This example shows a formatting property container that specifies an upper paragraph margin of 1 cm as well as a lower margin of 0.5 cm:
21331 <style:paragraph-properties fo:margin-left="1cm" fo:margin-bottom=".5cm"/>   21771 <style:paragraph-properties fo:margin-left="1cm" fo:margin-bottom=".5cm"/>
21332 15.1.2Complex Formatting Properties   21772 15.1.2Complex Formatting Properties
21333 If a formatting property is too complex to be represented by XML attributes, it is represented by an XML element. Each such property is represented by an element type of its own.   21773 If a formatting property is too complex to be represented by XML attributes, it is represented by an XML element. Each such property is represented by an element type of its own.
21334 Example: Complex formatting properties   21774 Example: Complex formatting properties
21335 This is an example of a formatting property container that specifies upper and lower margins as well as tab stop position at 2 and 4 cm.   21775 This is an example of a formatting property container that specifies upper and lower margins as well as tab stop position at 2 and 4 cm.
21336 <style:paragraph-properties>   21776 <style:paragraph-properties>
21337         <style:tab-stops>   21777         <style:tab-stops>
21338                 <style:tab-stop style:position="2cm"/>   21778                 <style:tab-stop style:position="2cm"/>
21339                 <style:tab-stop style:position="4cm"/>   21779                 <style:tab-stop style:position="4cm"/>
21340         </style:tab-stops>   21780         </style:tab-stops>
21341 </style:paragraph-properties>   21781 </style:paragraph-properties>
21342 15.1.3Processing Rules for Formatting Properties   21782 15.1.3Processing Rules for Formatting Properties
21343 In the OpenDocument schema the various <style:*-properties> elements may contain pre-defined formatting attributes and elements as well as custom formatting attributes and elements. The pre-defined attributes and elements have defined semantics, and are described within this chapter.   21783 In the OpenDocument schema the various <style:*-properties> elements may contain pre-defined formatting attributes and elements as well as custom formatting attributes and elements. The pre-defined attributes and elements have defined semantics, and are described within this chapter.
21344 Custom formatting attributes and elements are arbitrary attributes and elements inside <style:*-properties> elements. Their semantics are not defined in this specification,   21784 Custom formatting attributes and elements are arbitrary attributes and elements inside <style:*-properties> elements. Their semantics are not defined in this specification,
21345 Conforming applications in general should preserve both, pre-defined and custom formatting attributes and elements when editing the document.   21785 Conforming applications in general should preserve both, pre-defined and custom formatting attributes and elements when editing the document.
21346 <define name="style-properties-content">   21786 <define name="style-properties-content">
21347         <ref name="anyAttListOrElements"/>   21787         <ref name="anyAttListOrElements"/>
21348 </define>   21788 </define>
21349 15.2Page Layout Formatting Properties   21789 15.2Page Layout Formatting Properties
21350 The properties described in this section can be contained within style page layouts (see section 14.3) They are contained in a <style:page-layout-properties> element.   21790 The properties described in this section can be contained within style page layouts (see section 14.3) They are contained in a <style:page-layout-properties> element.
21351 Page size   21791 Page size
21352 Page number format   21792 Page number format
21353 Paper tray   21793 Paper tray
21354 Print orientation   21794 Print orientation
21355 Margins   21795 Margins
21356 Border   21796 Border
21357 Border line width   21797 Border line width
21358 Padding   21798 Padding
21359 Shadow   21799 Shadow
21360 Background   21800 Background
21361 Columns   21801 Columns
21362 Register-truth   21802 Register-truth
21363 Print   21803 Print
21364 Print page order   21804 Print page order
21365 First page number   21805 First page number
21366 Scale   21806 Scale
21367 Table centering   21807 Table centering
21368 Maximum footnote height   21808 Maximum footnote height
21369 Footnote separator   21809 Footnote separator
21370 <define name="style-page-layout-properties">   21810 <define name="style-page-layout-properties">
21371         <element name="style:page-layout-properties">   21811         <element name="style:page-layout-properties">
21372                 <ref name="style-page-layout-properties-content"/>   21812                 <ref name="style-page-layout-properties-content"/>
21373         </element>   21813         </element>
21374 </define>   21814 </define>
21375     21815  
21376 <define name="style-page-layout-properties-content">   21816 <define name="style-page-layout-properties-content">
21377         <ref name="style-properties-content"/>   21817         <ref name="style-properties-content"/>
21378 </define>   21818 </define>
21379     21819  
21380 <define name="style-page-layout-properties-content-strict">   21820 <define name="style-page-layout-properties-content-strict">
21381         <ref name="style-page-layout-properties-attlist"/>   21821         <ref name="style-page-layout-properties-attlist"/>
21382         <ref name="style-page-layout-properties-elements"/>   21822         <ref name="style-page-layout-properties-elements"/>
21383 </define>   21823 </define>
21384 15.2.1Page Size   21824 15.2.1Page Size
21385 The fo:page-width and fo:page-height attributes specify the physical size of the page.   21825 The fo:page-width and fo:page-height attributes specify the physical size of the page.
21386 The fo:page-width attribute must correspond to the orientation of the page. For example, if a page is printed in portrait, the fo:page-width attribute specifies the width of the shorter page side. If the page is printed in landscape, the fo:page-width attribute specifies the width of the longer page side.   21826 The fo:page-width attribute must correspond to the orientation of the page. For example, if a page is printed in portrait, the fo:page-width attribute specifies the width of the shorter page side. If the page is printed in landscape, the fo:page-width attribute specifies the width of the longer page side.
21387 <define name="style-page-layout-properties-attlist" combine="interleave">   21827 <define name="style-page-layout-properties-attlist" combine="interleave">
21388         <optional>   21828         <optional>
21389                 <attribute name="fo:page-width">   21829                 <attribute name="fo:page-width">
21390                         <ref name="length"/>   21830                         <ref name="length"/>
21391                 </attribute>   21831                 </attribute>
21392         </optional>   21832         </optional>
21393         <optional>   21833         <optional>
21394                 <attribute name="fo:page-height">   21834                 <attribute name="fo:page-height">
21395                         <ref name="length"/>   21835                         <ref name="length"/>
21396                 </attribute>   21836                 </attribute>
21397         </optional>   21837         </optional>
21398 </define>   21838 </define>
21399 15.2.2Page Number Format   21839 15.2.2Page Number Format
21400 The style:num-format,  style:num-prefix and style:num-suffix attributes specify a default number format for page styles, which is used to display page numbers within headers and footers. See section 12.2 for detailed information on number format attributes.   21840 The style:num-format,  style:num-prefix and style:num-suffix attributes specify a default number format for page styles, which is used to display page numbers within headers and footers. See section 12.2 for detailed information on number format attributes.
21401 The style:num-format attribute can be empty. In this case, no page number will be displayed by default.   21841 The style:num-format attribute can be empty. In this case, no page number will be displayed by default.
21402 <define name="style-page-layout-properties-attlist" combine="interleave">   21842 <define name="style-page-layout-properties-attlist" combine="interleave">
21403         <optional>   21843         <optional>
21404                 <ref name="common-num-format-attlist"/>   21844                 <ref name="common-num-format-attlist"/>
21405         </optional>   21845         </optional>
21406         <ref name="common-num-format-prefix-suffix-attlist"/>   21846         <ref name="common-num-format-prefix-suffix-attlist"/>
21407 </define>   21847 </define>
21408 15.2.3Paper Tray   21848 15.2.3Paper Tray
21409 The style:paper-tray-name attribute specifies the paper tray to use when printing the document. The names assigned to the printer trays depend on the printer. If the value of this attribute is default, the default tray specified in the printer configuration settings is used.   21849 The style:paper-tray-name attribute specifies the paper tray to use when printing the document. The names assigned to the printer trays depend on the printer. If the value of this attribute is default, the default tray specified in the printer configuration settings is used.
21410 <define name="style-page-layout-properties-attlist" combine="interleave">   21850 <define name="style-page-layout-properties-attlist" combine="interleave">
21411         <optional>   21851         <optional>
21412                 <attribute name="style:paper-tray-name">   21852                 <attribute name="style:paper-tray-name">
21413                         <choice>   21853                         <choice>
21414                                 <value>default</value>   21854                                 <value>default</value>
21415                                 <ref name="string"/>   21855                                 <ref name="string"/>
21416                         </choice>   21856                         </choice>
21417                 </attribute>   21857                 </attribute>
21418         </optional>   21858         </optional>
21419 </define>   21859 </define>
21420 15.2.4Print Orientation   21860 15.2.4Print Orientation
21421 The style:print-orientation attribute specifies the orientation of the printed page. The value of this attribute can be portrait or landscape.   21861 The style:print-orientation attribute specifies the orientation of the printed page. The value of this attribute can be portrait or landscape.
21422 <define name="style-page-layout-properties-attlist" combine="interleave">   21862 <define name="style-page-layout-properties-attlist" combine="interleave">
21423         <optional>   21863         <optional>
21424                 <attribute name="style:print-orientation">   21864                 <attribute name="style:print-orientation">
21425                         <choice>   21865                         <choice>
21426                                 <value>portrait</value>   21866                                 <value>portrait</value>
21427                                 <value>landscape</value>   21867                                 <value>landscape</value>
21428                         </choice>   21868                         </choice>
21429                 </attribute>   21869                 </attribute>
21430         </optional>   21870         </optional>
21431 </define>   21871 </define>
21432 15.2.5Margins   21872 15.2.5Margins
21433 The margins attributes fo:margin, fo:margin-top, fo:margin-bottom, fo:margin-left and fo:margin-right specify the size of the page margins. See sections 15.5.17, 15.5.20 and 15.5.21 for detailed information on these attributes. Percentage values are not supported.   21873 The margins attributes fo:margin, fo:margin-top, fo:margin-bottom, fo:margin-left and fo:margin-right specify the size of the page margins. See sections 15.5.17, 15.5.20 and 15.5.21 for detailed information on these attributes. Percentage values are not supported.
21434 <define name="style-page-layout-properties-attlist" combine="interleave">   21874 <define name="style-page-layout-properties-attlist" combine="interleave">
21435         <ref name="common-horizontal-margin-attlist"/>   21875         <ref name="common-horizontal-margin-attlist"/>
21436         <ref name="common-vertical-margin-attlist"/>   21876         <ref name="common-vertical-margin-attlist"/>
21437         <ref name="common-margin-attlist"/>   21877         <ref name="common-margin-attlist"/>
21438 </define>   21878 </define>
21439 15.2.6Border   21879 15.2.6Border
21440 The border attributes fo:border, fo:border-top, fo:border-bottom, fo:border-left  and fo:border-right specify the border properties of the page. See section 15.5.25 for detailed information on these attributes.   21880 The border attributes fo:border, fo:border-top, fo:border-bottom, fo:border-left  and fo:border-right specify the border properties of the page. See section 15.5.25 for detailed information on these attributes.
21441 <define name="style-page-layout-properties-attlist" combine="interleave">   21881 <define name="style-page-layout-properties-attlist" combine="interleave">
21442         <ref name="common-border-attlist"/>   21882         <ref name="common-border-attlist"/>
21443 </define>   21883 </define>
21444 15.2.7Border Line Width   21884 15.2.7Border Line Width
21445 If a page contains borders, the border line width attributes style:border-line-width, style:border-line-width-top, style:border-line-width-bottom, style:border-line-width-left and style:border-line-width-right specify the properties of the border lines of the page. See section 15.5.26 for detailed information on these attributes.   21885 If a page contains borders, the border line width attributes style:border-line-width, style:border-line-width-top, style:border-line-width-bottom, style:border-line-width-left and style:border-line-width-right specify the properties of the border lines of the page. See section 15.5.26 for detailed information on these attributes.
21446 <define name="style-page-layout-properties-attlist" combine="interleave">   21886 <define name="style-page-layout-properties-attlist" combine="interleave">
21447         <ref name="common-border-line-width-attlist"/>   21887         <ref name="common-border-line-width-attlist"/>
21448 </define>   21888 </define>
21449 15.2.8Padding   21889 15.2.8Padding
21450 The padding attributes fo:padding, fo:padding-top, fo:padding-bottom, fo:padding-left and fo:padding-right specify the padding properties of the page. See section 15.5.27 for detailed information on these attributes.   21890 The padding attributes fo:padding, fo:padding-top, fo:padding-bottom, fo:padding-left and fo:padding-right specify the padding properties of the page. See section 15.5.27 for detailed information on these attributes.
21451 <define name="style-page-layout-properties-attlist" combine="interleave">   21891 <define name="style-page-layout-properties-attlist" combine="interleave">
21452         <ref name="common-padding-attlist"/>   21892         <ref name="common-padding-attlist"/>
21453 </define>   21893 </define>
21454 15.2.9Shadow   21894 15.2.9Shadow
21455 The shadow attribute style:shadow specifies the shadow of the page. See section 15.5.28 for detailed information on this attribute.   21895 The shadow attribute style:shadow specifies the shadow of the page. See section 15.5.28 for detailed information on this attribute.
21456 <define name="style-page-layout-properties-attlist" combine="interleave">   21896 <define name="style-page-layout-properties-attlist" combine="interleave">
21457         <ref name="common-shadow-attlist"/>   21897         <ref name="common-shadow-attlist"/>
21458 </define>   21898 </define>
21459 15.2.10Background   21899 15.2.10Background
21460 The background attribute fo:background-color and the background element <style:background-image> specify the background properties of the page. See sections 15.5.23 and 15.5.24 for detailed information on this attribute and element.   21900 The background attribute fo:background-color and the background element <style:background-image> specify the background properties of the page. See sections 15.5.23 and 15.5.24 for detailed information on this attribute and element.
21461 <define name="style-page-layout-properties-attlist" combine="interleave">   21901 <define name="style-page-layout-properties-attlist" combine="interleave">
21462         <ref name="common-background-color-attlist"/>   21902         <ref name="common-background-color-attlist"/>
21463 </define>   21903 </define>
21464 <define name="style-page-layout-properties-elements" combine="interleave">   21904 <define name="style-page-layout-properties-elements" combine="interleave">
21465         <ref name="style-background-image"/>   21905         <ref name="style-background-image"/>
21466 </define>   21906 </define>
21467 15.2.11Columns   21907 15.2.11Columns
21468 The <style:columns> element specifies if the page contains columns. See section 15.7.3 for detailed information on this element.   21908 The <style:columns> element specifies if the page contains columns. See section 15.7.3 for detailed information on this element.
21469 <define name="style-page-layout-properties-elements" combine="interleave">   21909 <define name="style-page-layout-properties-elements" combine="interleave">
21470         <ref name="style-columns"/>   21910         <ref name="style-columns"/>
21471 </define>   21911 </define>
21472 15.2.12Register-truth   21912 15.2.12Register-truth
21473 The style:register-truth-ref-style-name attribute references a paragraph style. The line distance specified of the paragraph style is used as the reference line distance for all paragraphs  that have the register-truth feature enabled.   21913 The style:register-truth-ref-style-name attribute references a paragraph style. The line distance specified of the paragraph style is used as the reference line distance for all paragraphs  that have the register-truth feature enabled.
21474 <define name="style-page-layout-properties-attlist" combine="interleave">   21914 <define name="style-page-layout-properties-attlist" combine="interleave">
21475         <optional>   21915         <optional>
21476                 <attribute name="style:register-truth-ref-style-name">   21916                 <attribute name="style:register-truth-ref-style-name">
21477                         <ref name="styleNameRef"/>   21917                         <ref name="styleNameRef"/>
21478                 </attribute>   21918                 </attribute>
21479         </optional>   21919         </optional>
21480 </define>   21920 </define>
21481 15.2.13Print   21921 15.2.13Print
21482 The style:print attribute specifies which components in a spreadsheet document to print.   21922 The style:print attribute specifies which components in a spreadsheet document to print.
21483 The value of this attribute is a list of the following values separated by blanks:   21923 The value of this attribute is a list of the following values separated by blanks:
21484 headers   21924 headers
21485 grid   21925 grid
21486 annotations   21926 annotations
21487 objects (including graphics)   21927 objects (including graphics)
21488 charts   21928 charts
21489 drawings   21929 drawings
21490 formulas   21930 formulas
21491 zero-values   21931 zero-values
21492 <define name="style-page-layout-properties-attlist" combine="interleave">   21932 <define name="style-page-layout-properties-attlist" combine="interleave">
21493         <optional>   21933         <optional>
21494                 <attribute name="style:print">   21934                 <attribute name="style:print">
21495                         <list>   21935                         <list>
21496                                 <zeroOrMore>   21936                                 <zeroOrMore>
21497                                         <choice>   21937                                         <choice>
21498                                                 <value>headers</value>   21938                                                 <value>headers</value>
21499                                                 <value>grid</value>   21939                                                 <value>grid</value>
21500                                                 <value>annotations</value>   21940                                                 <value>annotations</value>
21501                                                 <value>objects</value>   21941                                                 <value>objects</value>
21502                                                 <value>charts</value>   21942                                                 <value>charts</value>
21503                                                 <value>drawings</value>   21943                                                 <value>drawings</value>
21504                                                 <value>formulas</value>   21944                                                 <value>formulas</value>
21505                                                 <value>zero-values</value>   21945                                                 <value>zero-values</value>
21506                                         </choice>   21946                                         </choice>
21507                                 </zeroOrMore>   21947                                 </zeroOrMore>
21508                         </list>   21948                         </list>
21509                 </attribute>   21949                 </attribute>
21510         </optional>   21950         </optional>
21511 </define>   21951 </define>
21512 15.2.14Print Page Order   21952 15.2.14Print Page Order
21513 The style:print-page-order attribute specifies the order in which data in a spreadsheet is numbered and printed when the data does not fit on one printed page.   21953 The style:print-page-order attribute specifies the order in which data in a spreadsheet is numbered and printed when the data does not fit on one printed page.
21514 The value of this attribute can be ttb or ltr. Use ttb to print the data vertically from the left column to the bottom row of the sheet. Use ltr to print the data horizontally from the top row to the right column of the sheet.   21954 The value of this attribute can be ttb or ltr. Use ttb to print the data vertically from the left column to the bottom row of the sheet. Use ltr to print the data horizontally from the top row to the right column of the sheet.
21515 <define name="style-page-layout-properties-attlist" combine="interleave">   21955 <define name="style-page-layout-properties-attlist" combine="interleave">
21516         <optional>   21956         <optional>
21517                 <attribute name="style:print-page-order">   21957                 <attribute name="style:print-page-order">
21518                         <choice>   21958                         <choice>
21519                                 <value>ttb</value>   21959                                 <value>ttb</value>
21520                                 <value>ltr</value>   21960                                 <value>ltr</value>
21521                         </choice>   21961                         </choice>
21522                 </attribute>   21962                 </attribute>
21523         </optional>   21963         </optional>
21524 </define>   21964 </define>
21525 15.2.15First Page Number   21965 15.2.15First Page Number
21526 The style:first-page-number specifies the number of the first page of a text or graphical document, or for the first page of a table within a spreadsheet document.   21966 The style:first-page-number specifies the number of the first page of a text or graphical document, or for the first page of a table within a spreadsheet document.
21527 The value of this attribute can be an integer or continue. If the value is continue, the page number is the preceding page number incremented by 1. The default first page number is 1.   21967 The value of this attribute can be an integer or continue. If the value is continue, the page number is the preceding page number incremented by 1. The default first page number is 1.
21528 <define name="style-page-layout-properties-attlist" combine="interleave">   21968 <define name="style-page-layout-properties-attlist" combine="interleave">
21529         <optional>   21969         <optional>
21530                 <attribute name="style:first-page-number">   21970                 <attribute name="style:first-page-number">
21531                         <choice>   21971                         <choice>
21532                                 <ref name="positiveInteger"/>   21972                                 <ref name="positiveInteger"/>
21533                                 <value>continue</value>   21973                                 <value>continue</value>
21534                         </choice>   21974                         </choice>
21535                 </attribute>   21975                 </attribute>
21536         </optional>   21976         </optional>
21537 </define>   21977 </define>
21538 15.2.16Scale   21978 15.2.16Scale
21539 The style:scale-to and style:scale-to-pages attributes specify how the application should scale spreadsheet documents for printing.   21979 The style:scale-to and style:scale-to-pages attributes specify how the application should scale spreadsheet documents for printing.
21540 The style:scale-to attribute specifies that the document is scaled to a percentage value, where 100% equals no scaling. When using this attribute, all pages are enlarged or reduced in size while printing.   21980 The style:scale-to attribute specifies that the document is scaled to a percentage value, where 100% equals no scaling. When using this attribute, all pages are enlarged or reduced in size while printing.
21541 The style:scale-to-pages attribute specifies the number of pages on which the the document should be printed. The document is then scaled to fit the defined number of pages.   21981 The style:scale-to-pages attribute specifies the number of pages on which the the document should be printed. The document is then scaled to fit the defined number of pages.
21542 If none of these attributes are present, the document is not scaled.   21982 If none of these attributes are present, the document is not scaled.
21543 <define name="style-page-layout-properties-attlist" combine="interleave">   21983 <define name="style-page-layout-properties-attlist" combine="interleave">
21544         <optional>   21984         <optional>
21545                 <attribute name="style:scale-to">   21985                 <attribute name="style:scale-to">
21546                         <ref name="percent"/>   21986                         <ref name="percent"/>
21547                 </attribute>   21987                 </attribute>
21548         </optional>   21988         </optional>
21549         <optional>   21989         <optional>
21550                 <attribute name="style:scale-to-pages">   21990                 <attribute name="style:scale-to-pages">
21551                         <ref name="positiveInteger"/>   21991                         <ref name="positiveInteger"/>
21552                 </attribute>   21992                 </attribute>
21553         </optional>   21993         </optional>
21554 </define>   21994 </define>
21555 15.2.17Table Centering   21995 15.2.17Table Centering
21556 The style:table-centering attribute specifies how the application should center tables on the page. This attribute only applies to spreadsheet documents.   21996 The style:table-centering attribute specifies how the application should center tables on the page. This attribute only applies to spreadsheet documents.
21557 The value of this attribute can be horizontal, vertical, both, or none. If this attribute is not present, the table is not centered.   21997 The value of this attribute can be horizontal, vertical, both, or none. If this attribute is not present, the table is not centered.
21558 <define name="style-page-layout-properties-attlist" combine="interleave">   21998 <define name="style-page-layout-properties-attlist" combine="interleave">
21559         <optional>   21999         <optional>
21560                 <attribute name="style:table-centering">   22000                 <attribute name="style:table-centering">
21561                         <choice>   22001                         <choice>
21562                                 <value>horizontal</value>   22002                                 <value>horizontal</value>
21563                                 <value>vertical</value>   22003                                 <value>vertical</value>
21564                                 <value>both</value>   22004                                 <value>both</value>
21565                                 <value>none</value>   22005                                 <value>none</value>
21566                         </choice>   22006                         </choice>
21567                 </attribute>   22007                 </attribute>
21568         </optional>   22008         </optional>
21569 </define>   22009 </define>
21570 15.2.18Maximum Footnote Height   22010 15.2.18Maximum Footnote Height
21571 The style:footnote-max-height attribute specifies the maximum amount of space on the page that a footnote can occupy. The value of the attribute is a length, which determines the maximum height of the footnote area.   22011 The style:footnote-max-height attribute specifies the maximum amount of space on the page that a footnote can occupy. The value of the attribute is a length, which determines the maximum height of the footnote area.
21572 If the value of this attribute is set to 0in, there is no limit to the amount of space that the footnote can occupy.   22012 If the value of this attribute is set to 0in, there is no limit to the amount of space that the footnote can occupy.
21573 <define name="style-page-layout-properties-attlist" combine="interleave">   22013 <define name="style-page-layout-properties-attlist" combine="interleave">
21574         <optional>   22014         <optional>
21575                 <attribute name="style:footnote-max-height">   22015                 <attribute name="style:footnote-max-height">
21576                         <ref name="length"/>   22016                         <ref name="length"/>
21577                 </attribute>   22017                 </attribute>
21578         </optional>   22018         </optional>
21579 </define>   22019 </define>
21580 15.2.19Writing Mode   22020 15.2.19Writing Mode
21581 The style:writing mode attribute specifies the writing mode that should is used by all paragraphs that appear on the page. See section 15.5.36 for details. The value page is not allowed within page layouts.   22021 The style:writing mode attribute specifies the writing mode that should is used by all paragraphs that appear on the page. See section 15.5.36 for details. The value page is not allowed within page layouts.
21582 <define name="style-page-layout-properties-attlist" combine="interleave">   22022 <define name="style-page-layout-properties-attlist" combine="interleave">
21583         <ref name="common-writing-mode-attlist"/>   22023         <ref name="common-writing-mode-attlist"/>
21584 </define>   22024 </define>
21585 15.2.20Footnote Separator   22025 15.2.20Footnote Separator
21586 The <style:footnote-sep> element describes the line that separates the footnote area from the body text area on a page.   22026 The <style:footnote-sep> element describes the line that separates the footnote area from the body text area on a page.
21587 The <style:footnote-sep> element supports the following attributes:   22027 The <style:footnote-sep> element supports the following attributes:
21588 style:width – specifies the width or thickness of the line.   22028 style:width – specifies the width or thickness of the line.
21589 style:rel-width – specifies the length of the line as a percentage of the body text area.   22029 style:rel-width – specifies the length of the line as a percentage of the body text area.
21590 style:color – specifies the color of the line.   22030 style:color – specifies the color of the line.
21591 style:adjustment – specifies how the line is aligned on the page, that is left, right, or center.   22031 style:adjustment – specifies how the line is aligned on the page, that is left, right, or center.
21592 style:distance-before-sep  – specifies the space between the body text area and the footnote line.   22032 style:distance-before-sep  – specifies the space between the body text area and the footnote line.
21593 style:distance-after-sep – specifies the space between the footnote line and the footnote text.   22033 style:distance-after-sep – specifies the space between the footnote line and the footnote text.
21594 style:line-style – specifies the style of the line.   22034 style:line-style – specifies the style of the line.
21595 <define name="style-page-layout-properties-elements" combine="interleave">   22035 <define name="style-page-layout-properties-elements" combine="interleave">
21596         <ref name="style-footnote-sep"/>   22036         <ref name="style-footnote-sep"/>
21597 </define>   22037 </define>
21598     22038  
21599 <define name="style-footnote-sep">   22039 <define name="style-footnote-sep">
21600         <optional>   22040         <optional>
21601                 <element name="style:footnote-sep">   22041                 <element name="style:footnote-sep">
21602                         <ref name="style-footnote-sep-attlist"/>   22042                         <ref name="style-footnote-sep-attlist"/>
21603                         <empty/>   22043                         <empty/>
21604                 </element>   22044                 </element>
21605         </optional>   22045         </optional>
21606 </define>   22046 </define>
21607 <define name="style-footnote-sep-attlist" combine="interleave">   22047 <define name="style-footnote-sep-attlist" combine="interleave">
21608         <optional>   22048         <optional>
21609                 <attribute name="style:width">   22049                 <attribute name="style:width">
21610                         <ref name="length"/>   22050                         <ref name="length"/>
21611                 </attribute>   22051                 </attribute>
21612         </optional>   22052         </optional>
21613         <optional>   22053         <optional>
21614                 <attribute name="style:rel-width">   22054                 <attribute name="style:rel-width">
21615                         <ref name="percent"/>   22055                         <ref name="percent"/>
21616                 </attribute>   22056                 </attribute>
21617         </optional>   22057         </optional>
21618         <optional>   22058         <optional>
21619                 <attribute name="style:color">   22059                 <attribute name="style:color">
21620                         <ref name="color"/>   22060                         <ref name="color"/>
21621                 </attribute>   22061                 </attribute>
21622         </optional>   22062         </optional>
21623         <optional>   22063         <optional>
21624                 <attribute name="style:line-style">   22064                 <attribute name="style:line-style">
21625                         <ref name="lineStyle"/>   22065                         <ref name="lineStyle"/>
21626                 </attribute>   22066                 </attribute>
21627         </optional>   22067         </optional>
21628         <optional>   22068         <optional>
21629                 <attribute name="style:adjustment" a:defaultValue="left">   22069                 <attribute name="style:adjustment" a:defaultValue="left">
21630                         <choice>   22070                         <choice>
21631                                 <value>left</value>   22071                                 <value>left</value>
21632                                 <value>center</value>   22072                                 <value>center</value>
21633                                 <value>right</value>   22073                                 <value>right</value>
21634                         </choice>   22074                         </choice>
21635                 </attribute>   22075                 </attribute>
21636         </optional>   22076         </optional>
21637         <optional>   22077         <optional>
21638                 <attribute name="style:distance-before-sep">   22078                 <attribute name="style:distance-before-sep">
21639                         <ref name="length"/>   22079                         <ref name="length"/>
21640                 </attribute>   22080                 </attribute>
21641         </optional>   22081         </optional>
21642         <optional>   22082         <optional>
21643                 <attribute name="style:distance-after-sep">   22083                 <attribute name="style:distance-after-sep">
21644                         <ref name="length"/>   22084                         <ref name="length"/>
21645                 </attribute>   22085                 </attribute>
21646         </optional>   22086         </optional>
21647 </define>   22087 </define>
21648 15.2.21Layout Grid   22088 15.2.21Layout Grid
21649 The style:layout-grid-mode property enables Asian layout grids. It has the following values:   22089 The style:layout-grid-mode property enables Asian layout grids. It has the following values:
21650 none: Disables the layout grid.   22090 none: Disables the layout grid.
21651 lines: Enables a line layout, this is, the page is divided in a fixed number of lines. The exact number of lines depends on the other grid layout properties described below. There is no space between the layout grid lines. The layout grid itself is centered on the page.   22091 lines: Enables a line layout, this is, the page is divided in a fixed number of lines. The exact number of lines depends on the other grid layout properties described below. There is no space between the layout grid lines. The layout grid itself is centered on the page.
21652 both: Like lines, except that the lines are divided into square cells. The number of cells per line depends on the line height, where the line height is the sum of the base height and the ruby height as specified below. Within a layout cell, nor more than one Asian [UNICODE] character is displayed. Asian characters that do not fit into a single cell are displayed centered into as many cells as required. Non Asian text is centered within as many cells as required.   22092 both: Like lines, except that the lines are divided into square cells. The number of cells per line depends on the line height, where the line height is the sum of the base height and the ruby height as specified below. Within a layout cell, nor more than one Asian [UNICODE] character is displayed. Asian characters that do not fit into a single cell are displayed centered into as many cells as required. Non Asian text is centered within as many cells as required.
21653 <define name="style-page-layout-properties-attlist" combine="interleave">   22093 <define name="style-page-layout-properties-attlist" combine="interleave">
21654         <optional>   22094         <optional>
21655                 <attribute name="style:layout-grid-mode">   22095                 <attribute name="style:layout-grid-mode">
21656                         <choice>   22096                         <choice>
21657                                 <value>none</value>   22097                                 <value>none</value>
21658                                 <value>line</value>   22098                                 <value>line</value>
21659                                 <value>both</value>   22099                                 <value>both</value>
21660                         </choice>   22100                         </choice>
21661                 </attribute>   22101                 </attribute>
21662         </optional>   22102         </optional>
21663 </define>   22103 </define>
21664 15.2.22Layout Grid Base Height   22104 15.2.22Layout Grid Base Height
21665 The style:layout-grid-base-height attribute specifies the height reserved in the layout grid lines for non ruby text.   22105 The style:layout-grid-base-height attribute specifies the height reserved in the layout grid lines for non ruby text.
21666 <define name="style-page-layout-properties-attlist" combine="interleave">   22106 <define name="style-page-layout-properties-attlist" combine="interleave">
21667         <optional>   22107         <optional>
21668                 <attribute name="style:layout-grid-base-height">   22108                 <attribute name="style:layout-grid-base-height">
21669                         <ref name="length"/>   22109                         <ref name="length"/>
21670                 </attribute>   22110                 </attribute>
21671         </optional>   22111         </optional>
21672 </define>   22112 </define>
21673 15.2.23Layout Grid Ruby Height   22113 15.2.23Layout Grid Ruby Height
21674 The style:layout-grid-ruby-height attribute specifies the height reserved in the layout grid lines for ruby text.   22114 The style:layout-grid-ruby-height attribute specifies the height reserved in the layout grid lines for ruby text.
21675 <define name="style-page-layout-properties-attlist" combine="interleave">   22115 <define name="style-page-layout-properties-attlist" combine="interleave">
21676         <optional>   22116         <optional>
21677                 <attribute name="style:layout-grid-ruby-height">   22117                 <attribute name="style:layout-grid-ruby-height">
21678                         <ref name="length"/>   22118                         <ref name="length"/>
21679                 </attribute>   22119                 </attribute>
21680         </optional>   22120         </optional>
21681 </define>   22121 </define>
21682 15.2.24Layout Grid Lines   22122 15.2.24Layout Grid Lines
21683 The style:layout-grid-lines attribute specifies the number of layout grid lines per page. The number of lines actually displayed may be smaller than specified if the page has not enough space to display the specified number of lines with the specified line height (i.e., the sum of the base and ruby height).   22123 The style:layout-grid-lines attribute specifies the number of layout grid lines per page. The number of lines actually displayed may be smaller than specified if the page has not enough space to display the specified number of lines with the specified line height (i.e., the sum of the base and ruby height).
21684 <define name="style-page-layout-properties-attlist" combine="interleave">   22124 <define name="style-page-layout-properties-attlist" combine="interleave">
21685         <optional>   22125         <optional>
21686                 <attribute name="style:layout-grid-lines">   22126                 <attribute name="style:layout-grid-lines">
21687                         <ref name="positiveInteger"/>   22127                         <ref name="positiveInteger"/>
21688                 </attribute>   22128                 </attribute>
21689         </optional>   22129         </optional>
21690 </define>   22130 </define>
21691 15.2.25Layout Grid Color   22131 15.2.25Layout Grid Color
21692 The style:layout-grid-color attribute specifies the color of the layout grid border lines.   22132 The style:layout-grid-color attribute specifies the color of the layout grid border lines.
21693 <define name="style-page-layout-properties-attlist" combine="interleave">   22133 <define name="style-page-layout-properties-attlist" combine="interleave">
21694         <optional>   22134         <optional>
21695                 <attribute name="style:layout-grid-color">   22135                 <attribute name="style:layout-grid-color">
21696                         <ref name="color"/>   22136                         <ref name="color"/>
21697                 </attribute>   22137                 </attribute>
21698         </optional>   22138         </optional>
21699 </define>   22139 </define>
21700 15.2.26Layout Grid Ruby Below   22140 15.2.26Layout Grid Ruby Below
21701 The style:layout-grid-ruby-below attribute specifies whether ruby text is displayed above or below the base text.   22141 The style:layout-grid-ruby-below attribute specifies whether ruby text is displayed above or below the base text.
21702 <define name="style-page-layout-properties-attlist" combine="interleave">   22142 <define name="style-page-layout-properties-attlist" combine="interleave">
21703         <optional>   22143         <optional>
21704                 <attribute name="style:layout-grid-ruby-below">   22144                 <attribute name="style:layout-grid-ruby-below">
21705                         <ref name="boolean"/>   22145                         <ref name="boolean"/>
21706                 </attribute>   22146                 </attribute>
21707         </optional>   22147         </optional>
21708 </define>   22148 </define>
21709 15.2.27Layout Grid Print   22149 15.2.27Layout Grid Print
21710 The style:layout-grid-ruby-print attribute specifies whether the layout grid border lines are printed.   22150 The style:layout-grid-ruby-print attribute specifies whether the layout grid border lines are printed.
21711 <define name="style-page-layout-properties-attlist" combine="interleave">   22151 <define name="style-page-layout-properties-attlist" combine="interleave">
21712         <optional>   22152         <optional>
21713                 <attribute name="style:layout-grid-print">   22153                 <attribute name="style:layout-grid-print">
21714                         <ref name="boolean"/>   22154                         <ref name="boolean"/>
21715                 </attribute>   22155                 </attribute>
21716         </optional>   22156         </optional>
21717 </define>   22157 </define>
21718 15.2.28Layout Grid Display   22158 15.2.28Layout Grid Display
21719 The style:layout-grid-ruby-print attribute specifies whether the layout grid border lines are displayed.   22159 The style:layout-grid-ruby-print attribute specifies whether the layout grid border lines are displayed.
21720 <define name="style-page-layout-properties-attlist" combine="interleave">   22160 <define name="style-page-layout-properties-attlist" combine="interleave">
21721         <optional>   22161         <optional>
21722                 <attribute name="style:layout-grid-display">   22162                 <attribute name="style:layout-grid-display">
21723                         <ref name="boolean"/>   22163                         <ref name="boolean"/>
21724                 </attribute>   22164                 </attribute>
21725         </optional>   22165         </optional>
21726 </define>   22166 </define>
21727 15.3Header Footer Formatting Properties   22167 15.3Header Footer Formatting Properties
21728 The properties described in this section can be contained within the header and footer style elements contained in page layouts (see section 14.3) They are contained in a <style:header-footer-properties> element.   22168 The properties described in this section can be contained within the header and footer style elements contained in page layouts (see section 14.3) They are contained in a <style:header-footer-properties> element.
21729 These attributes are:   22169 These attributes are:
21730 Fixed and minimum heights - see section 15.27   22170 Fixed and minimum heights - see section 15.27
21731 Left and right margins - see section 15.5.17   22171 Left and right margins - see section 15.5.17
21732 Bottom (for headers only) and top (for footers only) margins - see section 15.5.20.   22172 Bottom (for headers only) and top (for footers only) margins - see section 15.5.20.
21733 Borders - see section 15.5.25 and 15.5.26   22173 Borders - see section 15.5.25 and 15.5.26
21734 Shadows – see section 15.5.28   22174 Shadows – see section 15.5.28
21735 Backgrounds – see section 15.5.23 and 15.5.24.   22175 Backgrounds – see section 15.5.23 and 15.5.24.
21736 Dynamic-Spacing   22176 Dynamic-Spacing
21737 <define name="style-header-footer-properties">   22177 <define name="style-header-footer-properties">
21738         <element name="style:header-footer-properties">   22178         <element name="style:header-footer-properties">
21739                 <ref name="style-header-footer-properties-content"/>   22179                 <ref name="style-header-footer-properties-content"/>
21740         </element>   22180         </element>
21741 </define>   22181 </define>
21742     22182  
21743 <define name="style-header-footer-properties-content">   22183 <define name="style-header-footer-properties-content">
21744         <ref name="style-properties-content"/>   22184         <ref name="style-properties-content"/>
21745 </define>   22185 </define>
21746     22186  
21747 <define name="style-header-footer-properties-content-strict">   22187 <define name="style-header-footer-properties-content-strict">
21748                 <ref name="style-header-footer-properties-attlist"/>   22188                 <ref name="style-header-footer-properties-attlist"/>
21749                 <ref name="style-header-footer-properties-elements"/>   22189                 <ref name="style-header-footer-properties-elements"/>
21750 </define>   22190 </define>
21751 15.3.1Fixed and Minimum heights   22191 15.3.1Fixed and Minimum heights
21752 The attributes svg:height and fo:min-height properties specify a fixed or a minimum height for the header or footer.   22192 The attributes svg:height and fo:min-height properties specify a fixed or a minimum height for the header or footer.
21753 <define name="style-header-footer-properties-attlist" combine="interleave">   22193 <define name="style-header-footer-properties-attlist" combine="interleave">
21754         <optional>   22194         <optional>
21755                 <attribute name="svg:height">   22195                 <attribute name="svg:height">
21756                         <ref name="length"/>   22196                         <ref name="length"/>
21757                 </attribute>   22197                 </attribute>
21758         </optional>   22198         </optional>
21759         <optional>   22199         <optional>
21760                 <attribute name="fo:min-height">   22200                 <attribute name="fo:min-height">
21761                         <ref name="length"/>   22201                         <ref name="length"/>
21762                 </attribute>   22202                 </attribute>
21763         </optional>   22203         </optional>
21764 </define>   22204 </define>
21765 15.3.2Margins   22205 15.3.2Margins
21766 The margins attributes fo:margin,  fo:margin-top, fo:margin-bottom, fo:margin-left and fo:margin-right specify the size of the header and footer margins. See sections 15.5.17, 15.5.20 and 15.5.21 for detailed information on these attributes. Percentage values are not supported. Bottom margins are only supported for headers, top margins only for footers.   22206 The margins attributes fo:margin,  fo:margin-top, fo:margin-bottom, fo:margin-left and fo:margin-right specify the size of the header and footer margins. See sections 15.5.17, 15.5.20 and 15.5.21 for detailed information on these attributes. Percentage values are not supported. Bottom margins are only supported for headers, top margins only for footers.
21767 <define name="style-header-footer-properties-attlist" combine="interleave">   22207 <define name="style-header-footer-properties-attlist" combine="interleave">
21768         <ref name="common-horizontal-margin-attlist"/>   22208         <ref name="common-horizontal-margin-attlist"/>
21769         <ref name="common-vertical-margin-attlist"/>   22209         <ref name="common-vertical-margin-attlist"/>
21770         <ref name="common-margin-attlist"/>   22210         <ref name="common-margin-attlist"/>
21771 </define>   22211 </define>
21772 15.3.3Border   22212 15.3.3Border
21773 The border attributes fo:border, fo:border-top, fo:border-bottom, fo:border-left  and fo:border-right specify the border properties of the headers and footers. See section 15.5.25 for detailed information on these attributes.   22213 The border attributes fo:border, fo:border-top, fo:border-bottom, fo:border-left  and fo:border-right specify the border properties of the headers and footers. See section 15.5.25 for detailed information on these attributes.
21774 <define name="style-header-footer-properties-attlist" combine="interleave">   22214 <define name="style-header-footer-properties-attlist" combine="interleave">
21775         <ref name="common-border-attlist"/>   22215         <ref name="common-border-attlist"/>
21776 </define>   22216 </define>
21777 15.3.4Border Line Width   22217 15.3.4Border Line Width
21778 If a page contains borders, the border line width attributes style:border-line-width, style:border-line-width-top, style:border-line-width-bottom, style:border-line-width-left and style:border-line-width-right specify the properties of the border lines of the headers and footers. See section 15.5.26 for detailed information on these attributes.   22218 If a page contains borders, the border line width attributes style:border-line-width, style:border-line-width-top, style:border-line-width-bottom, style:border-line-width-left and style:border-line-width-right specify the properties of the border lines of the headers and footers. See section 15.5.26 for detailed information on these attributes.
21779 <define name="style-header-footer-properties-attlist" combine="interleave">   22219 <define name="style-header-footer-properties-attlist" combine="interleave">
21780         <ref name="common-border-line-width-attlist"/>   22220         <ref name="common-border-line-width-attlist"/>
21781 </define>   22221 </define>
21782 15.3.5Padding   22222 15.3.5Padding
21783 The padding attributes fo:padding, fo:padding-top, fo:padding-bottom, fo:padding-left and fo:padding-right specify the padding properties of the headers and footers. See section 15.5.27 for detailed information on these attributes.   22223 The padding attributes fo:padding, fo:padding-top, fo:padding-bottom, fo:padding-left and fo:padding-right specify the padding properties of the headers and footers. See section 15.5.27 for detailed information on these attributes.
21784 <define name="style-header-footer-properties-attlist" combine="interleave">   22224 <define name="style-header-footer-properties-attlist" combine="interleave">
21785         <ref name="common-padding-attlist"/>   22225         <ref name="common-padding-attlist"/>
21786 </define>   22226 </define>
21787 15.3.6Background   22227 15.3.6Background
21788 The background attribute fo:background-color and the background element <style:background-image> specify the background properties of the header or footer. See sections 15.5.23 and 15.5.24 for detailed information on this attribute and element.   22228 The background attribute fo:background-color and the background element <style:background-image> specify the background properties of the header or footer. See sections 15.5.23 and 15.5.24 for detailed information on this attribute and element.
21789 <define name="style-header-footer-properties-attlist" combine="interleave">   22229 <define name="style-header-footer-properties-attlist" combine="interleave">
21790         <ref name="common-background-color-attlist"/>   22230         <ref name="common-background-color-attlist"/>
21791 </define>   22231 </define>
21792 <define name="style-header-footer-properties-elements" combine="interleave">   22232 <define name="style-header-footer-properties-elements" combine="interleave">
21793         <ref name="style-background-image"/>   22233         <ref name="style-background-image"/>
21794 </define>   22234 </define>
21795 15.3.7Shadow   22235 15.3.7Shadow
21796 The shadow attribute style:shadow specifies the shadow of the headers and footers. See section 15.5.28 for detailed information on this attribute.   22236 The shadow attribute style:shadow specifies the shadow of the headers and footers. See section 15.5.28 for detailed information on this attribute.
21797 <define name="style-header-footer-properties-attlist" combine="interleave">   22237 <define name="style-header-footer-properties-attlist" combine="interleave">
21798         <ref name="common-shadow-attlist"/>   22238         <ref name="common-shadow-attlist"/>
21799 </define>   22239 </define>
21800 15.3.8Dynamic Spacing   22240 15.3.8Dynamic Spacing
21801 The style:dynamic-spacing property specifies whether or not the header or footer grows into the space between the page body and the header or footer before the height of the page body becomes smaller. If the value of this attribute is true, the header or footers first grows into the space between the header and footer and the page body.   22241 The style:dynamic-spacing property specifies whether or not the header or footer grows into the space between the page body and the header or footer before the height of the page body becomes smaller. If the value of this attribute is true, the header or footers first grows into the space between the header and footer and the page body.
21802 <define name="style-header-footer-attlist" combine="interleave"> <> 22242 <define name="style-header-footer-properties-attlist" combine="interleave">
21803         <optional> = 22243         <optional>
21804                 <attribute name="style:dynamic-spacing">   22244                 <attribute name="style:dynamic-spacing">
21805                         <ref name="boolean"/>   22245                         <ref name="boolean"/>
21806                 </attribute>   22246                 </attribute>
21807         </optional>   22247         </optional>
21808 </define>   22248 </define>
21809 15.4Text Formatting Properties   22249 15.4Text Formatting Properties
21810 The properties described in this section can be contained within text styles (see section 14.8.1), but also within other styles, like paragraph styles (see section 14.8.2) or cell styles (see section 14.12.4) They are contained in a <style:text-properties> element.   22250 The properties described in this section can be contained within text styles (see section 14.8.1), but also within other styles, like paragraph styles (see section 14.8.2) or cell styles (see section 14.12.4) They are contained in a <style:text-properties> element.
21811 <define name="style-text-properties">   22251 <define name="style-text-properties">
21812         <element name="style:text-properties">   22252         <element name="style:text-properties">
21813                 <ref name="style-text-properties-content"/>   22253                 <ref name="style-text-properties-content"/>
21814         </element>   22254         </element>
21815 </define>   22255 </define>
21816     22256  
21817 <define name="style-text-properties-content">   22257 <define name="style-text-properties-content">
21818         <ref name="style-properties-content"/>   22258         <ref name="style-properties-content"/>
21819 </define>   22259 </define>
21820     22260  
21821 <define name="style-text-properties-content-strict">   22261 <define name="style-text-properties-content-strict">
21822         <ref name="style-text-properties-attlist"/>   22262         <ref name="style-text-properties-attlist"/>
21823         <ref name="style-text-properties-elements"/>   22263         <ref name="style-text-properties-elements"/>
21824 </define>   22264 </define>
21825     22265  
21826 <define name="style-text-properties-elements">   22266 <define name="style-text-properties-elements">
21827         <empty/>   22267         <empty/>
21828 </define>   22268 </define>
21829 15.4.1Font Variant   22269 15.4.1Font Variant
21830 Use the fo:font-variant property to switch the option to display text as small capitalized letters on or off. See §7.8.8 of [XSL] for details.   22270 Use the fo:font-variant property to switch the option to display text as small capitalized letters on or off. See §7.8.8 of [XSL] for details.
21831 For some implementations, the fo:font-variant and fo:text-transform properties are mutually exclusive. If both properties are used simultaneously, the result is undefined except that the fo:text-transform value is none and the fo:font-variant value is normal.   22271 For some implementations, the fo:font-variant and fo:text-transform properties are mutually exclusive. If both properties are used simultaneously, the result is undefined except that the fo:text-transform value is none and the fo:font-variant value is normal.
21832 <define name="style-text-properties-attlist" combine="interleave">   22272 <define name="style-text-properties-attlist" combine="interleave">
21833         <optional>   22273         <optional>
21834                 <attribute name="fo:font-variant">   22274                 <attribute name="fo:font-variant">
21835                         <ref name="fontVariant"/>   22275                         <ref name="fontVariant"/>
21836                 </attribute>   22276                 </attribute>
21837         </optional>   22277         </optional>
21838 </define>   22278 </define>
21839     22279  
21840 <define name="fontVariant">   22280 <define name="fontVariant">
21841         <choice>   22281         <choice>
21842                 <value>normal</value>   22282                 <value>normal</value>
21843                 <value>small-caps</value>   22283                 <value>small-caps</value>
21844         </choice>   22284         </choice>
21845 </define>   22285 </define>
21846 15.4.2Text Transformations   22286 15.4.2Text Transformations
21847 Use the fo:text-transform property to describe text transformations to uppercase, lowercase, and capitalization. See §7.16.6 of [XSL] for details.   22287 Use the fo:text-transform property to describe text transformations to uppercase, lowercase, and capitalization. See §7.16.6 of [XSL] for details.
21848 For some implementations, the fo:font-variant and fo:text-transform properties are mutually exclusive. If both properties are attached used simultaneously, the result is undefined except that the fo:text-transform value is none and the fo:font-variant value is normal.   22288 For some implementations, the fo:font-variant and fo:text-transform properties are mutually exclusive. If both properties are attached used simultaneously, the result is undefined except that the fo:text-transform value is none and the fo:font-variant value is normal.
21849 <define name="style-text-properties-attlist" combine="interleave">   22289 <define name="style-text-properties-attlist" combine="interleave">
21850         <optional>   22290         <optional>
21851                 <attribute name="fo:text-transform">   22291                 <attribute name="fo:text-transform">
21852                         <choice>   22292                         <choice>
21853                                 <value>none</value>   22293                                 <value>none</value>
21854                                 <value>lowercase</value>   22294                                 <value>lowercase</value>
21855                                 <value>uppercase</value>   22295                                 <value>uppercase</value>
21856                                 <value>capitalize</value>   22296                                 <value>capitalize</value>
21857                         </choice>   22297                         </choice>
21858                 </attribute>   22298                 </attribute>
21859         </optional>   22299         </optional>
21860 </define>   22300 </define>
21861 15.4.3Color   22301 15.4.3Color
21862 Use the fo:color property to specify the foreground color of text. See §7.17.1 of [XSL] for details.   22302 Use the fo:color property to specify the foreground color of text. See §7.17.1 of [XSL] for details.
21863 <define name="style-text-properties-attlist" combine="interleave">   22303 <define name="style-text-properties-attlist" combine="interleave">
21864         <optional>   22304         <optional>
21865                         <attribute name="fo:color">   22305                         <attribute name="fo:color">
21866                         <ref name="color"/>   22306                         <ref name="color"/>
21867                 </attribute>   22307                 </attribute>
21868         </optional>   22308         </optional>
21869 </define>   22309 </define>
21870 15.4.4Window Font Color   22310 15.4.4Window Font Color
21871 Use the style:use-window-font-color property to specify whether or not the window foreground color should be as used as the foreground color for a light background color and white for a dark background color.   22311 Use the style:use-window-font-color property to specify whether or not the window foreground color should be as used as the foreground color for a light background color and white for a dark background color.
21872 <define name="style-text-properties-attlist" combine="interleave">   22312 <define name="style-text-properties-attlist" combine="interleave">
21873         <optional>   22313         <optional>
21874                 <attribute name="style:use-window-font-color">   22314                 <attribute name="style:use-window-font-color">
21875                         <ref name="boolean"/>   22315                         <ref name="boolean"/>
21876                 </attribute>   22316                 </attribute>
21877         </optional>   22317         </optional>
21878 </define>   22318 </define>
21879 15.4.5Text Outline   22319 15.4.5Text Outline
21880 Use the style:text-outline property to specify whether to display an outline of text or the text itself. This attribute can have a value of true or false.   22320 Use the style:text-outline property to specify whether to display an outline of text or the text itself. This attribute can have a value of true or false.
21881 <define name="style-text-properties-attlist" combine="interleave">   22321 <define name="style-text-properties-attlist" combine="interleave">
21882         <optional>   22322         <optional>
21883                 <attribute name="style:text-outline">   22323                 <attribute name="style:text-outline">
21884                         <ref name="boolean"/>   22324                         <ref name="boolean"/>
21885                 </attribute>   22325                 </attribute>
21886         </optional>   22326         </optional>
21887 </define>   22327 </define>
21888 15.4.6Line-Through Type   22328 15.4.6Line-Through Type
21889 Use the style:text-line-through-type property to specify whether text is lined through, and if so, whether a single or double line will be used. See section 15.4.28 for details.   22329 Use the style:text-line-through-type property to specify whether text is lined through, and if so, whether a single or double line will be used. See section 15.4.28 for details.
21890 <define name="style-text-properties-attlist" combine="interleave">   22330 <define name="style-text-properties-attlist" combine="interleave">
21891         <optional>   22331         <optional>
21892                 <attribute name="style:text-line-through-type">   22332                 <attribute name="style:text-line-through-type">
21893                         <ref name="lineType"/>   22333                         <ref name="lineType"/>
21894                 </attribute>   22334                 </attribute>
21895         </optional>   22335         </optional>
21896 </define>   22336 </define>
21897 15.4.7Line-Through Style   22337 15.4.7Line-Through Style
21898 Use the style:text-line-through-style property to specify if and how text is lined through. This property is similar to the [CSS3Text] text-line-style property, except that it has the additional value long-dash and that it does not have the value double. Instead of this, the attribute style:text:line-through-type can be used to turn each line style into a double line. See §9.2 of [CSS3Text] for details. See also section 15.4.29.   22338 Use the style:text-line-through-style property to specify if and how text is lined through. This property is similar to the [CSS3Text] text-line-style property, except that it has the additional value long-dash and that it does not have the value double. Instead of this, the attribute style:text:line-through-type can be used to turn each line style into a double line. See §9.2 of [CSS3Text] for details. See also section 15.4.29.
21899 <define name="style-text-properties-attlist" combine="interleave">   22339 <define name="style-text-properties-attlist" combine="interleave">
21900         <optional>   22340         <optional>
21901                 <attribute name="style:text-line-through-style">   22341                 <attribute name="style:text-line-through-style">
21902                         <ref name="lineStyle"/>   22342                         <ref name="lineStyle"/>
21903                 </attribute>   22343                 </attribute>
21904         </optional>   22344         </optional>
21905 </define>   22345 </define>
21906 15.4.8Line-Through Width   22346 15.4.8Line-Through Width
21907 Use the style:text-line-through-width property to specifies the width of a line-through line. This property is very similar to the [CSS3Text] text-line-through-width property, except that it has an additional value bold. bold specifies a line width that is calculated from the font sizes like an auto width, but is wider than an auto width. See §9.3 of [CSS3Text] for details. See also section 15.4.30.   22347 Use the style:text-line-through-width property to specifies the width of a line-through line. This property is very similar to the [CSS3Text] text-line-through-width property, except that it has an additional value bold. bold specifies a line width that is calculated from the font sizes like an auto width, but is wider than an auto width. See §9.3 of [CSS3Text] for details. See also section 15.4.30.
21908 <define name="style-text-properties-attlist" combine="interleave">   22348 <define name="style-text-properties-attlist" combine="interleave">
21909         <optional>   22349         <optional>
21910                 <attribute name="style:text-line-through-width">   22350                 <attribute name="style:text-line-through-width">
21911                         <ref name="lineWidth"/>   22351                         <ref name="lineWidth"/>
21912                 </attribute>   22352                 </attribute>
21913         </optional>   22353         </optional>
21914 </define>   22354 </define>
21915 15.4.9Line-Through Color   22355 15.4.9Line-Through Color
21916 Use the style:text-line-through-color property to specify the color that is used to line- through text. The value of this property is either font-color or a color. If the value is font-color, the current text color is used for underlining.   22356 Use the style:text-line-through-color property to specify the color that is used to line- through text. The value of this property is either font-color or a color. If the value is font-color, the current text color is used for underlining.
21917 <define name="style-text-properties-attlist" combine="interleave">   22357 <define name="style-text-properties-attlist" combine="interleave">
21918         <optional>   22358         <optional>
21919                 <attribute name="style:text-line-through-color">   22359                 <attribute name="style:text-line-through-color">
21920                         <choice>   22360                         <choice>
21921                                 <value>font-color</value>   22361                                 <value>font-color</value>
21922                                 <ref name="color"/>   22362                                 <ref name="color"/>
21923                         </choice>   22363                         </choice>
21924                 </attribute>   22364                 </attribute>
21925         </optional>   22365         </optional>
21926 </define>   22366 </define>
21927 15.4.10Line-Through Text   22367 15.4.10Line-Through Text
21928 The style:text-line-through-text attribute is evaluated only if the value of style:text-line-through-style attribute is different than none. If the attribute value is not empty, the attribute value string is used for line-through instead of the line that has been specified, provided that the application supports line-through with text. If the application does not support line-through with text, the attribute is ignored, this means, style:text-line-through-style will be evaluated only. If the application supports line-through with single characters only, and the text-line-through-text has more than one character, the first character of the line-through-text should be used only. If the applications supports line-through with with certain characters only (like "x" or "/"), the application should use one of these characters if the text-line-through-text specifies characters that are not supported. In other words: line-through with text has a higher priority than line-through with lines, even if the line-through text that is specified has to be adapted to be usable by the application.   22368 The style:text-line-through-text attribute is evaluated only if the value of style:text-line-through-style attribute is different than none. If the attribute value is not empty, the attribute value string is used for line-through instead of the line that has been specified, provided that the application supports line-through with text. If the application does not support line-through with text, the attribute is ignored, this means, style:text-line-through-style will be evaluated only. If the application supports line-through with single characters only, and the text-line-through-text has more than one character, the first character of the line-through-text should be used only. If the applications supports line-through with with certain characters only (like "x" or "/"), the application should use one of these characters if the text-line-through-text specifies characters that are not supported. In other words: line-through with text has a higher priority than line-through with lines, even if the line-through text that is specified has to be adapted to be usable by the application.
21929 <define name="style-text-properties-attlist" combine="interleave">   22369 <define name="style-text-properties-attlist" combine="interleave">
21930         <optional>   22370         <optional>
21931                 <attribute name="style:text-line-through-text">   22371                 <attribute name="style:text-line-through-text">
21932                         <ref name="string"/>   22372                         <ref name="string"/>
21933                 </attribute>   22373                 </attribute>
21934         </optional>   22374         </optional>
21935 </define>   22375 </define>
21936 15.4.11Line-Through Text Style   22376 15.4.11Line-Through Text Style
21937 The style:text-line-through-text-style specifies a text style that is applied to the text-line-through characters. It is not applied to line-through lines. If the attribute appears in an automatic style, it may reference either an automatic text style or a common style. If the attribute appears in a common style, it may reference a common style only.   22377 The style:text-line-through-text-style specifies a text style that is applied to the text-line-through characters. It is not applied to line-through lines. If the attribute appears in an automatic style, it may reference either an automatic text style or a common style. If the attribute appears in a common style, it may reference a common style only.
21938 <define name="style-text-properties-attlist" combine="interleave">   22378 <define name="style-text-properties-attlist" combine="interleave">
21939         <optional>   22379         <optional>
21940                 <attribute name="style:text-line-through-text-style">   22380                 <attribute name="style:text-line-through-text-style">
21941                         <ref name="styleNameRef"/>   22381                         <ref name="styleNameRef"/>
21942                 </attribute>   22382                 </attribute>
21943         </optional>   22383         </optional>
21944 </define>   22384 </define>
21945 15.4.12Text Position   22385 15.4.12Text Position
21946 Use the style:text-position formatting property to specify whether text is positioned above or below the baseline and to specify the relative font height that is used for this text.   22386 Use the style:text-position formatting property to specify whether text is positioned above or below the baseline and to specify the relative font height that is used for this text.
21947 This attribute can have one or two values.   22387 This attribute can have one or two values.
21948 The first value must be present and specifies the vertical text position as a percentage that relates to the current font height or it takes one of the values sub or super. Negative percentages or the sub value place the text below the baseline. Positive percentages or the super value place the text above the baseline. If sub or super is specified, the application can choose an appropriate text position.   22388 The first value must be present and specifies the vertical text position as a percentage that relates to the current font height or it takes one of the values sub or super. Negative percentages or the sub value place the text below the baseline. Positive percentages or the super value place the text above the baseline. If sub or super is specified, the application can choose an appropriate text position.
21949 The second value is optional and specifies the font height as a percentage that relates to the current font-height. If this value is not specified, an appropriate font height is used. Although this value may change the font height that is displayed, it never changes the current font height that is used for additional calculations.   22389 The second value is optional and specifies the font height as a percentage that relates to the current font-height. If this value is not specified, an appropriate font height is used. Although this value may change the font height that is displayed, it never changes the current font height that is used for additional calculations.
21950 <define name="style-text-properties-attlist" combine="interleave">   22390 <define name="style-text-properties-attlist" combine="interleave">
21951         <optional>   22391         <optional>
21952                 <attribute name="style:text-position">   22392                 <attribute name="style:text-position">
21953                         <list>   22393                         <list>
21954                                 <choice>   22394                                 <choice>
21955                                         <ref name="percent"/>   22395                                         <ref name="percent"/>
21956                                         <value>super</value>   22396                                         <value>super</value>
21957                                         <value>sub</value>   22397                                         <value>sub</value>
21958                                 </choice>   22398                                 </choice>
21959                                 <optional>   22399                                 <optional>
21960                                         <ref name="percent"/>   22400                                         <ref name="percent"/>
21961                                 </optional>   22401                                 </optional>
21962                         </list>   22402                         </list>
21963                 </attribute>   22403                 </attribute>
21964         </optional>   22404         </optional>
21965 </define>   22405 </define>
21966 15.4.13Font Name   22406 15.4.13Font Name
21967 Use the style:font-name, style:font-name-asian and style:font-name-complex properties to assign a font to the text.   22407 Use the style:font-name, style:font-name-asian and style:font-name-complex properties to assign a font to the text.
21968 The values of these attributes form the name of a font that is declared by a <style:font-face> element within the <office:font-face-decls> element.   22408 The values of these attributes form the name of a font that is declared by a <style:font-face> element within the <office:font-face-decls> element.
21969 The style:font-name-asian attribute is evaluated for [UNICODE] characters that are CJK characters.   22409 The style:font-name-asian attribute is evaluated for [UNICODE] characters that are CJK characters.
21970 The style:font-name-complex attribute is evaluated for [UNICODE] characters that are complex text layout (CTL) characters.   22410 The style:font-name-complex attribute is evaluated for [UNICODE] characters that are complex text layout (CTL) characters.
21971 The style:font-name attribute is evaluated for any other [UNICODE] character.   22411 The style:font-name attribute is evaluated for any other [UNICODE] character.
21972 <define name="style-text-properties-attlist" combine="interleave">   22412 <define name="style-text-properties-attlist" combine="interleave">
21973         <optional>   22413         <optional>
21974                 <attribute name="style:font-name">   22414                 <attribute name="style:font-name">
21975                         <ref name="string"/>   22415                         <ref name="string"/>
21976                 </attribute>   22416                 </attribute>
21977         </optional>   22417         </optional>
21978         <optional>   22418         <optional>
21979                 <attribute name="style:font-name-asian">   22419                 <attribute name="style:font-name-asian">
21980                         <ref name="string"/>   22420                         <ref name="string"/>
21981                 </attribute>   22421                 </attribute>
21982         </optional>   22422         </optional>
21983         <optional>   22423         <optional>
21984                 <attribute name="style:font-name-complex">   22424                 <attribute name="style:font-name-complex">
21985                         <ref name="string"/>   22425                         <ref name="string"/>
21986                 </attribute>   22426                 </attribute>
21987         </optional>   22427         </optional>
21988 </define>   22428 </define>
21989 15.4.14Font Family   22429 15.4.14Font Family
21990 Use the fo:font-family, style:font-family-asian and style:font-family-complex properties to specify the font family for the text.   22430 Use the fo:font-family, style:font-family-asian and style:font-family-complex properties to specify the font family for the text.
21991 These attributes may be used instead of the font name attributes to specify the properties of a font individually. However, it is advisable to use the style:font-name attributes instead. See section 15.4.13 for information about when Asian and complex variants of the attribute are evaluated. See also §7.8.2 of [XSL].   22431 These attributes may be used instead of the font name attributes to specify the properties of a font individually. However, it is advisable to use the style:font-name attributes instead. See section 15.4.13 for information about when Asian and complex variants of the attribute are evaluated. See also §7.8.2 of [XSL].
21992 <define name="style-text-properties-attlist" combine="interleave">   22432 <define name="style-text-properties-attlist" combine="interleave">
21993         <optional>   22433         <optional>
21994                 <attribute name="fo:font-family">   22434                 <attribute name="fo:font-family">
21995                         <ref name="string"/>   22435                         <ref name="string"/>
21996                 </attribute>   22436                 </attribute>
21997         </optional>   22437         </optional>
21998         <optional>   22438         <optional>
21999                 <attribute name="style:font-family-asian">   22439                 <attribute name="style:font-family-asian">
22000                         <ref name="string"/>   22440                         <ref name="string"/>
22001                 </attribute>   22441                 </attribute>
22002         </optional>   22442         </optional>
22003         <optional>   22443         <optional>
22004                 <attribute name="style:font-family-complex">   22444                 <attribute name="style:font-family-complex">
22005                         <ref name="string"/>   22445                         <ref name="string"/>
22006                 </attribute>   22446                 </attribute>
22007         </optional>   22447         </optional>
22008 </define>   22448 </define>
22009 15.4.15Font Family Generic   22449 15.4.15Font Family Generic
22010 Use the style:font-family-generic, style:font-family-generic-asian and style:font-family-generic-complex properties to specify a generic font family name.   22450 Use the style:font-family-generic, style:font-family-generic-asian and style:font-family-generic-complex properties to specify a generic font family name.
22011 These properties are ignored if there is no corresponding fo:font-family property attached to the same properties element.   22451 These properties are ignored if there is no corresponding fo:font-family property attached to the same properties element.
22012 Although it is recommended to use the font name attributes (see section 15.4.13), these properties may be used instead of them to specify the properties of a font.   22452 Although it is recommended to use the font name attributes (see section 15.4.13), these properties may be used instead of them to specify the properties of a font.
22013 See section 15.4.13 for information about when the Asian and complex variants of the attribute are evaluated.   22453 See section 15.4.13 for information about when the Asian and complex variants of the attribute are evaluated.
22014 <define name="style-text-properties-attlist" combine="interleave">   22454 <define name="style-text-properties-attlist" combine="interleave">
22015         <optional>   22455         <optional>
22016                 <attribute name="style:font-family-generic">   22456                 <attribute name="style:font-family-generic">
22017                         <ref name="fontFamilyGeneric"/>   22457                         <ref name="fontFamilyGeneric"/>
22018                 </attribute>   22458                 </attribute>
22019         </optional>   22459         </optional>
22020         <optional>   22460         <optional>
22021                 <attribute name="style:font-family-generic-asian">   22461                 <attribute name="style:font-family-generic-asian">
22022                         <ref name="fontFamilyGeneric"/>   22462                         <ref name="fontFamilyGeneric"/>
22023                 </attribute>   22463                 </attribute>
22024         </optional>   22464         </optional>
22025         <optional>   22465         <optional>
22026                 <attribute name="style:font-family-generic-complex">   22466                 <attribute name="style:font-family-generic-complex">
22027                         <ref name="fontFamilyGeneric"/>   22467                         <ref name="fontFamilyGeneric"/>
22028                 </attribute>   22468                 </attribute>
22029         </optional>   22469         </optional>
22030 </define>   22470 </define>
22031     22471  
22032 <define name="fontFamilyGeneric">   22472 <define name="fontFamilyGeneric">
22033         <choice>   22473         <choice>
22034                 <value>roman</value>   22474                 <value>roman</value>
22035                 <value>swiss</value>   22475                 <value>swiss</value>
22036                 <value>modern</value>   22476                 <value>modern</value>
22037                 <value>decorative</value>   22477                 <value>decorative</value>
22038                 <value>script</value>   22478                 <value>script</value>
22039                 <value>system</value>   22479                 <value>system</value>
22040         </choice>   22480         </choice>
22041 </define>   22481 </define>
22042 15.4.16Font Style   22482 15.4.16Font Style
22043 Use the style:font-style-name, style:font-style-name-asian and style:font-style-name-complex properties to specify a font style name.   22483 Use the style:font-style-name, style:font-style-name-asian and style:font-style-name-complex properties to specify a font style name.
22044 These properties are ignored if there is no corresponding fo:font-family property attached to the same properties element.   22484 These properties are ignored if there is no corresponding fo:font-family property attached to the same properties element.
22045 Although it is recommended to use the font name attributes (see section 15.4.13), these properties may be used instead of them to specify the properties of a font.   22485 Although it is recommended to use the font name attributes (see section 15.4.13), these properties may be used instead of them to specify the properties of a font.
22046 See section 15.4.13 for information about when the Asian and complex variants of the attribute are evaluated.   22486 See section 15.4.13 for information about when the Asian and complex variants of the attribute are evaluated.
22047 <define name="style-text-properties-attlist" combine="interleave">   22487 <define name="style-text-properties-attlist" combine="interleave">
22048         <optional>   22488         <optional>
22049                 <attribute name="style:font-style-name">   22489                 <attribute name="style:font-style-name">
22050                         <ref name="string"/>   22490                         <ref name="string"/>
22051                 </attribute>   22491                 </attribute>
22052         </optional>   22492         </optional>
22053         <optional>   22493         <optional>
22054                 <attribute name="style:font-style-name-asian">   22494                 <attribute name="style:font-style-name-asian">
22055                         <ref name="string"/>   22495                         <ref name="string"/>
22056                 </attribute>   22496                 </attribute>
22057         </optional>   22497         </optional>
22058         <optional>   22498         <optional>
22059                 <attribute name="style:font-style-name-complex">   22499                 <attribute name="style:font-style-name-complex">
22060                         <ref name="string"/>   22500                         <ref name="string"/>
22061                 </attribute>   22501                 </attribute>
22062         </optional>   22502         </optional>
22063 </define>   22503 </define>
22064 15.4.17Font Pitch   22504 15.4.17Font Pitch
22065 Use the style:font-pitch, style:font-pitch and style:font-pitch-complex properties to specify whether a font has a fixed or variable width.   22505 Use the style:font-pitch, style:font-pitch and style:font-pitch-complex properties to specify whether a font has a fixed or variable width.
22066 These properties are ignored if there is no corresponding fo:font-family property attached to the same properties element.   22506 These properties are ignored if there is no corresponding fo:font-family property attached to the same properties element.
22067 Although it is recommended to use the font name attributes (see section 15.4.13), these properties may be used instead of them to specify the properties of a font.   22507 Although it is recommended to use the font name attributes (see section 15.4.13), these properties may be used instead of them to specify the properties of a font.
22068 See section 15.4.13 for information about when the Asian and complex variants of the attribute are evaluated.   22508 See section 15.4.13 for information about when the Asian and complex variants of the attribute are evaluated.
22069 <define name="style-text-properties-attlist" combine="interleave">   22509 <define name="style-text-properties-attlist" combine="interleave">
22070         <optional>   22510         <optional>
22071                 <attribute name="style:font-pitch">   22511                 <attribute name="style:font-pitch">
22072                         <ref name="fontPitch"/>   22512                         <ref name="fontPitch"/>
22073                 </attribute>   22513                 </attribute>
22074         </optional>   22514         </optional>
22075         <optional>   22515         <optional>
22076                 <attribute name="style:font-pitch-asian">   22516                 <attribute name="style:font-pitch-asian">
22077                         <ref name="fontPitch"/>   22517                         <ref name="fontPitch"/>
22078                 </attribute>   22518                 </attribute>
22079         </optional>   22519         </optional>
22080         <optional>   22520         <optional>
22081                 <attribute name="style:font-pitch-complex">   22521                 <attribute name="style:font-pitch-complex">
22082                         <ref name="fontPitch"/>   22522                         <ref name="fontPitch"/>
22083                 </attribute>   22523                 </attribute>
22084         </optional>   22524         </optional>
22085 </define>   22525 </define>
22086     22526  
22087 <define name="fontPitch">   22527 <define name="fontPitch">
22088         <choice>   22528         <choice>
22089                 <value>fixed</value>   22529                 <value>fixed</value>
22090                 <value>variable</value>   22530                 <value>variable</value>
22091         </choice>   22531         </choice>
22092 </define>   22532 </define>
22093 15.4.18Font Character Set   22533 15.4.18Font Character Set
22094 Use the style:font-charset, style:font-charset-asian and style:font-charset-complex properties to specify the character set of a font.   22534 Use the style:font-charset, style:font-charset-asian and style:font-charset-complex properties to specify the character set of a font.
22095 The value of these attributes can be x-symbol or the character encoding in the notation described in the §4.3.3 of [XML1.0]. If the value is x-symbol, all characters that are displayed using this font must be contained in the [UNICODE] character range 0xf000 to 0xf0ff.   22535 The value of these attributes can be x-symbol or the character encoding in the notation described in the §4.3.3 of [XML1.0]. If the value is x-symbol, all characters that are displayed using this font must be contained in the [UNICODE] character range 0xf000 to 0xf0ff.
22096 These properties are ignored if there is no corresponding fo:font-family property attached to the same properties element.   22536 These properties are ignored if there is no corresponding fo:font-family property attached to the same properties element.
22097 Although it is recommended to use the font name attributes (see section 15.4.13), these properties may be used instead of them to specify the properties of a font.   22537 Although it is recommended to use the font name attributes (see section 15.4.13), these properties may be used instead of them to specify the properties of a font.
22098 See section 15.4.13 for information about when the Asian and complex variants of the attribute are evaluated.   22538 See section 15.4.13 for information about when the Asian and complex variants of the attribute are evaluated.
22099 <define name="style-text-properties-attlist" combine="interleave">   22539 <define name="style-text-properties-attlist" combine="interleave">
22100         <optional>   22540         <optional>
22101                 <attribute name="style:font-charset">   22541                 <attribute name="style:font-charset">
22102                         <ref name="textEncoding"/>   22542                         <ref name="textEncoding"/>
22103                 </attribute>   22543                 </attribute>
22104         </optional>   22544         </optional>
    -+ 22545         <optional>
      22546                 <attribute name="style:font-charset-asian">
      22547                         <ref name="textEncoding"/>
      22548                 </attribute>
      22549         </optional>
      22550         <optional>
      22551                 <attribute name="style:font-charset-complex">
      22552                         <ref name="textEncoding"/>
      22553                 </attribute>
      22554         </optional>
22105 </define> = 22555 </define>
22106     22556  
22107 <define name="textEncoding">   22557 <define name="textEncoding">
22108         <data type="string">   22558         <data type="string">
22109                 <param name="pattern">[A-Za-z][A-Za-z0-9._\-]*</param>   22559                 <param name="pattern">[A-Za-z][A-Za-z0-9._\-]*</param>
22110         </data>   22560         </data>
22111 </define>   22561 </define>
22112 15.4.19Font Size   22562 15.4.19Font Size
22113 Use the fo:font-size, style:font-size-asian and style:font-size-complex properties to specify the size of font.   22563 Use the fo:font-size, style:font-size-asian and style:font-size-complex properties to specify the size of font.
22114 The value of these property is either an absolute length or a percentage as described in §8.8.4 of [XSL]. In contrast to XSL, percentage values can be used within common styles only and relates to the font height of the parent style rather than to the font height of the attributes neighborhood. Absolute font heights such as medium, large, x-large, and so on, and relative font heights such as smaller, and larger are not supported.   22564 The value of these property is either an absolute length or a percentage as described in §8.8.4 of [XSL]. In contrast to XSL, percentage values can be used within common styles only and relates to the font height of the parent style rather than to the font height of the attributes neighborhood. Absolute font heights such as medium, large, x-large, and so on, and relative font heights such as smaller, and larger are not supported.
22115 See section 15.4.13 for information about when the Asian and complex variants of the attribute are evaluated.   22565 See section 15.4.13 for information about when the Asian and complex variants of the attribute are evaluated.
22116 <define name="style-text-properties-attlist" combine="interleave">   22566 <define name="style-text-properties-attlist" combine="interleave">
22117         <optional>   22567         <optional>
22118                 <attribute name="fo:font-size">   22568                 <attribute name="fo:font-size">
22119                         <choice>   22569                         <choice>
22120                                 <ref name="positiveLength"/>   22570                                 <ref name="positiveLength"/>
22121                                 <ref name="percent"/>   22571                                 <ref name="percent"/>
22122                         </choice>   22572                         </choice>
22123                 </attribute>   22573                 </attribute>
22124         </optional>   22574         </optional>
22125         <optional>   22575         <optional>
22126                 <attribute name="style:font-size-asian">   22576                 <attribute name="style:font-size-asian">
22127                         <choice>   22577                         <choice>
22128                                 <ref name="positiveLength"/>   22578                                 <ref name="positiveLength"/>
22129                                 <ref name="percent"/>   22579                                 <ref name="percent"/>
22130                         </choice>   22580                         </choice>
22131                 </attribute>   22581                 </attribute>
22132         </optional>   22582         </optional>
22133         <optional>   22583         <optional>
22134                 <attribute name="style:font-size-complex">   22584                 <attribute name="style:font-size-complex">
22135                         <choice>   22585                         <choice>
22136                                 <ref name="positiveLength"/>   22586                                 <ref name="positiveLength"/>
22137                                 <ref name="percent"/>   22587                                 <ref name="percent"/>
22138                         </choice>   22588                         </choice>
22139                 </attribute>   22589                 </attribute>
22140         </optional>   22590         </optional>
22141 </define>   22591 </define>
22142 15.4.20Relative Font Size   22592 15.4.20Relative Font Size
22143 Use the style:font-size-rel, style:font-size-rel-asian and style:font-size-rel-complex properties to specify a relative font size change.   22593 Use the style:font-size-rel, style:font-size-rel-asian and style:font-size-rel-complex properties to specify a relative font size change.
22144 These properties specify a relative font size change as a length such as  +1pt, -3pt. It cannot be used within automatic styles. The size changes relates to the font size setting that applies to the parent style of the style.   22594 These properties specify a relative font size change as a length such as  +1pt, -3pt. It cannot be used within automatic styles. The size changes relates to the font size setting that applies to the parent style of the style.
22145 See section 15.4.13 for information about when the Asian and complex variants of the attribute are evaluated.   22595 See section 15.4.13 for information about when the Asian and complex variants of the attribute are evaluated.
22146 <define name="style-text-properties-attlist" combine="interleave">   22596 <define name="style-text-properties-attlist" combine="interleave">
22147         <optional>   22597         <optional>
22148                 <attribute name="style:font-size-rel">   22598                 <attribute name="style:font-size-rel">
22149                         <ref name="length"/>   22599                         <ref name="length"/>
22150                 </attribute>   22600                 </attribute>
22151         </optional>   22601         </optional>
22152         <optional>   22602         <optional>
22153                 <attribute name="style:font-size-rel-asian">   22603                 <attribute name="style:font-size-rel-asian">
22154                         <ref name="length"/>   22604                         <ref name="length"/>
22155                 </attribute>   22605                 </attribute>
22156         </optional>   22606         </optional>
22157         <optional>   22607         <optional>
22158                 <attribute name="style:font-size-rel-complex">   22608                 <attribute name="style:font-size-rel-complex">
22159                         <ref name="length"/>   22609                         <ref name="length"/>
22160                 </attribute>   22610                 </attribute>
22161         </optional>   22611         </optional>
22162 </define>   22612 </define>
22163 15.4.21Script Type   22613 15.4.21Script Type
22164 The style:script-type property may be used to specify which script dependent attributes (like fo:font-family, style:font-family-asian, style:font-family-complex) are currently active for some text. The attribute should be evaluated by applications that do not support script types to select the correct script dependent properties. Application that support script types may also evaluate the attribute and overwrite the script type they would evaluate for a certain character, but they don't have to.   22614 The style:script-type property may be used to specify which script dependent attributes (like fo:font-family, style:font-family-asian, style:font-family-complex) are currently active for some text. The attribute should be evaluated by applications that do not support script types to select the correct script dependent properties. Application that support script types may also evaluate the attribute and overwrite the script type they would evaluate for a certain character, but they don't have to.
22165 The usage of this property simplifies for instance transformations from and to [CSS2]/[XSL] and other formats that don't have script-dependent attributes, and also can be used to assign script-types to weak [UNICODE] characters, where application may choose different script types.   22615 The usage of this property simplifies for instance transformations from and to [CSS2]/[XSL] and other formats that don't have script-dependent attributes, and also can be used to assign script-types to weak [UNICODE] characters, where application may choose different script types.
22166 The values of this property are latin, asian, complex and ignore. The value ignore can be used only within default styles. If it is set, all script-dependent attributes are applied to all script types. This would mean for example that a fo:font-family would be applied to all script types as well as a style:font-family-asian or style:font-family-complex. This simplifies saving documents with application that do not support a script type.   22616 The values of this property are latin, asian, complex and ignore. The value ignore can be used only within default styles. If it is set, all script-dependent attributes are applied to all script types. This would mean for example that a fo:font-family would be applied to all script types as well as a style:font-family-asian or style:font-family-complex. This simplifies saving documents with application that do not support a script type.
22167 <define name="style-text-properties-attlist" combine="interleave">   22617 <define name="style-text-properties-attlist" combine="interleave">
22168         <optional>   22618         <optional>
22169                 <attribute name="style:script-type">   22619                 <attribute name="style:script-type">
22170                         <choice>   22620                         <choice>
22171                                 <value>latin</value>   22621                                 <value>latin</value>
22172                                 <value>asian</value>   22622                                 <value>asian</value>
22173                                 <value>complex</value>   22623                                 <value>complex</value>
22174                                 <value>ignore</value>   22624                                 <value>ignore</value>
22175                         </choice>   22625                         </choice>
22176                 </attribute>   22626                 </attribute>
22177         </optional>   22627         </optional>
22178 </define>   22628 </define>
22179 15.4.22Letter Spacing   22629 15.4.22Letter Spacing
22180 Use the fo:letter-spacing property to specify the amount of space between letters. The value of this property can be normal or it can specify a length. See §7.16.2 of [XSL] for details.   22630 Use the fo:letter-spacing property to specify the amount of space between letters. The value of this property can be normal or it can specify a length. See §7.16.2 of [XSL] for details.
22181 <define name="style-text-properties-attlist" combine="interleave">   22631 <define name="style-text-properties-attlist" combine="interleave">
22182         <optional>   22632         <optional>
22183                 <attribute name="fo:letter-spacing">   22633                 <attribute name="fo:letter-spacing">
22184                         <choice>   22634                         <choice>
22185                                 <ref name="length"/>   22635                                 <ref name="length"/>
22186                                 <value>normal</value>   22636                                 <value>normal</value>
22187                         </choice>   22637                         </choice>
22188                 </attribute>   22638                 </attribute>
22189         </optional>   22639         </optional>
22190 </define>   22640 </define>
22191 15.4.23Language   22641 15.4.23Language
22192 Use the fo:language, fo:language-asian and fo:language-complex properties to specify the language of the text. See §7.9.2 of [XSL] for details.   22642 Use the fo:language, fo:language-asian and fo:language-complex properties to specify the language of the text. See §7.9.2 of [XSL] for details.
22193 Some applications ignore these properties if they are not specified together with the corresponding fo:country property.   22643 Some applications ignore these properties if they are not specified together with the corresponding fo:country property.
22194 See section 15.4.13 for information about when the Asian and complex variants of the attribute are evaluated.   22644 See section 15.4.13 for information about when the Asian and complex variants of the attribute are evaluated.
22195 fo:language, fo:language-asian and fo:language-complex   22645 fo:language, fo:language-asian and fo:language-complex
22196 <define name="style-text-properties-attlist" combine="interleave">   22646 <define name="style-text-properties-attlist" combine="interleave">
22197         <optional>   22647         <optional>
22198                 <attribute name="fo:language">   22648                 <attribute name="fo:language">
22199                         <ref name="languageCode"/>   22649                         <ref name="languageCode"/>
22200                 </attribute>   22650                 </attribute>
22201         </optional>   22651         </optional>
22202         <optional>   22652         <optional>
22203                 <attribute name="style:language-asian">   22653                 <attribute name="style:language-asian">
22204                         <ref name="languageCode"/>   22654                         <ref name="languageCode"/>
22205                 </attribute>   22655                 </attribute>
22206         </optional>   22656         </optional>
22207         <optional>   22657         <optional>
22208                 <attribute name="style:language-complex">   22658                 <attribute name="style:language-complex">
22209                         <ref name="languageCode"/>   22659                         <ref name="languageCode"/>
22210                 </attribute>   22660                 </attribute>
22211         </optional>   22661         </optional>
22212 </define>   22662 </define>
22213 15.4.24Country   22663 15.4.24Country
22214 Use the fo:country, style:country-asian and style:country-complex properties to specify the country of the text. See §7.9.1 of [XSL] for details.   22664 Use the fo:country, style:country-asian and style:country-complex properties to specify the country of the text. See §7.9.1 of [XSL] for details.
22215 Some application ignore these properties if they are not specified together with the corresponding fo:language property.   22665 Some application ignore these properties if they are not specified together with the corresponding fo:language property.
22216 See section 15.4.13 for information about when the Asian and complex variants of the attribute are evaluated.   22666 See section 15.4.13 for information about when the Asian and complex variants of the attribute are evaluated.
22217 <define name="style-text-properties-attlist" combine="interleave">   22667 <define name="style-text-properties-attlist" combine="interleave">
22218         <optional>   22668         <optional>
22219                 <attribute name="fo:country">   22669                 <attribute name="fo:country">
22220                         <ref name="countryCode"/>   22670                         <ref name="countryCode"/>
22221                 </attribute>   22671                 </attribute>
22222         </optional>   22672         </optional>
22223         <optional>   22673         <optional>
22224                 <attribute name="style:country-asian">   22674                 <attribute name="style:country-asian">
22225                         <ref name="countryCode"/>   22675                         <ref name="countryCode"/>
22226                 </attribute>   22676                 </attribute>
22227         </optional>   22677         </optional>
22228         <optional>   22678         <optional>
22229                 <attribute name="style:country-complex">   22679                 <attribute name="style:country-complex">
22230                         <ref name="countryCode"/>   22680                         <ref name="countryCode"/>
22231                 </attribute>   22681                 </attribute>
22232         </optional>   22682         </optional>
22233 </define>   22683 </define>
22234 15.4.25Font Style   22684 15.4.25Font Style
22235 Use the fo:font-style, style:font-style-asian and style:font-style-complex properties to specify whether to use normal or italic font face. See §7.8.7 of [XSL] for details.   22685 Use the fo:font-style, style:font-style-asian and style:font-style-complex properties to specify whether to use normal or italic font face. See §7.8.7 of [XSL] for details.
22236 See section 15.4.13 for information about when the Asian and complex variants of the attribute are evaluated.   22686 See section 15.4.13 for information about when the Asian and complex variants of the attribute are evaluated.
22237 <define name="style-text-properties-attlist" combine="interleave">   22687 <define name="style-text-properties-attlist" combine="interleave">
22238         <optional>   22688         <optional>
22239                 <attribute name="fo:font-style">   22689                 <attribute name="fo:font-style">
22240                         <ref name="fontStyle"/>   22690                         <ref name="fontStyle"/>
22241                 </attribute>   22691                 </attribute>
22242         </optional>   22692         </optional>
22243         <optional>   22693         <optional>
22244                 <attribute name="style:font-style-asian">   22694                 <attribute name="style:font-style-asian">
22245                         <ref name="fontStyle"/>   22695                         <ref name="fontStyle"/>
22246                 </attribute>   22696                 </attribute>
22247         </optional>   22697         </optional>
22248         <optional>   22698         <optional>
22249                 <attribute name="style:font-style-complex">   22699                 <attribute name="style:font-style-complex">
22250                         <ref name="fontStyle"/>   22700                         <ref name="fontStyle"/>
22251                 </attribute>   22701                 </attribute>
22252         </optional>   22702         </optional>
22253 </define>   22703 </define>
22254     22704  
22255 <define name="fontStyle">   22705 <define name="fontStyle">
22256         <choice>   22706         <choice>
22257                 <value>normal</value>   22707                 <value>normal</value>
22258                 <value>italic</value>   22708                 <value>italic</value>
22259                 <value>oblique</value>   22709                 <value>oblique</value>
22260         </choice>   22710         </choice>
22261 </define>   22711 </define>
22262 15.4.26Font Relief   22712 15.4.26Font Relief
22263 Use the style:font-relief property to specify whether the font should be embossed, engraved, or neither.   22713 Use the style:font-relief property to specify whether the font should be embossed, engraved, or neither.
22264 <define name="style-text-properties-attlist" combine="interleave">   22714 <define name="style-text-properties-attlist" combine="interleave">
22265         <optional>   22715         <optional>
22266                 <attribute name="style:font-relief">   22716                 <attribute name="style:font-relief">
22267                         <choice>   22717                         <choice>
22268                         <value>none</value>   22718                         <value>none</value>
22269                                 <value>embossed</value>   22719                                 <value>embossed</value>
22270                                 <value>engraved</value>   22720                                 <value>engraved</value>
22271                         </choice>   22721                         </choice>
22272                 </attribute>   22722                 </attribute>
22273         </optional>   22723         </optional>
22274 </define>   22724 </define>
22275 15.4.27Text Shadow   22725 15.4.27Text Shadow
22276 Use the fo:text-shadow property to specify the text shadow style to use. See §7.16.5 of [XSL] for details.   22726 Use the fo:text-shadow property to specify the text shadow style to use. See §7.16.5 of [XSL] for details.
22277 Some applications may only supports a limited number of shadow effects, for instance a default text shadow style only.   22727 Some applications may only supports a limited number of shadow effects, for instance a default text shadow style only.
22278 <define name="style-text-properties-attlist" combine="interleave">   22728 <define name="style-text-properties-attlist" combine="interleave">
22279         <optional>   22729         <optional>
22280                 <attribute name="fo:text-shadow">   22730                 <attribute name="fo:text-shadow">
22281                         <ref name="shadowType"/>   22731                         <ref name="shadowType"/>
22282                 </attribute>   22732                 </attribute>
22283         </optional>   22733         </optional>
22284 </define>   22734 </define>
22285     22735  
22286 <define name="shadowType">   22736 <define name="shadowType">
22287         <choice>   22737         <choice>
22288                 <value>none</value>   22738                 <value>none</value>
22289                 <!-- The following string must match an XSL shadow decl -->   22739                 <!-- The following string must match an XSL shadow decl -->
22290                 <ref name="string"/>   22740                 <ref name="string"/>
22291         </choice>   22741         </choice>
22292 </define>   22742 </define>
22293 15.4.28Underlining Type   22743 15.4.28Underlining Type
22294 Use the style:text-underline-type property to specify whether text is underlined, and if so, whether a single or double line will be used for underlining.   22744 Use the style:text-underline-type property to specify whether text is underlined, and if so, whether a single or double line will be used for underlining.
22295 <define name="style-text-properties-attlist" combine="interleave">   22745 <define name="style-text-properties-attlist" combine="interleave">
22296         <optional>   22746         <optional>
22297                 <attribute name="style:text-underline-type">   22747                 <attribute name="style:text-underline-type">
22298                         <ref name="lineType"/>   22748                         <ref name="lineType"/>
22299                 </attribute>   22749                 </attribute>
22300         </optional>   22750         </optional>
22301 </define>   22751 </define>
22302     22752  
22303 <define name="lineType">   22753 <define name="lineType">
22304         <choice>   22754         <choice>
22305                 <value>none</value>   22755                 <value>none</value>
22306                 <value>single</value>   22756                 <value>single</value>
22307                 <value>double</value>   22757                 <value>double</value>
22308         </choice>   22758         </choice>
22309 </define>   22759 </define>
22310 15.4.29Underlining Style   22760 15.4.29Underlining Style
22311 Use the style:text-underline-style property to specify if and how text is underlined. The value of this property is the underlining style for the text, for example, single, dotted, dash. This property is similar to the [CSS3Text] text-underline-style property, except that has the additional value long-dash and that it does not have the value double. Instead of this, the attribute style:text:underline-type can be used to turn each line style into a double line. See §9.2 of [CSS3Text] for details.   22761 Use the style:text-underline-style property to specify if and how text is underlined. The value of this property is the underlining style for the text, for example, single, dotted, dash. This property is similar to the [CSS3Text] text-underline-style property, except that has the additional value long-dash and that it does not have the value double. Instead of this, the attribute style:text:underline-type can be used to turn each line style into a double line. See §9.2 of [CSS3Text] for details.
22312 <define name="style-text-properties-attlist" combine="interleave">   22762 <define name="style-text-properties-attlist" combine="interleave">
22313         <optional>   22763         <optional>
22314                 <attribute name="style:text-underline-style">   22764                 <attribute name="style:text-underline-style">
22315                         <ref name="lineStyle"/>   22765                         <ref name="lineStyle"/>
22316                 </attribute>   22766                 </attribute>
22317         </optional>   22767         </optional>
22318 </define>   22768 </define>
22319     22769  
22320 <define name="lineStyle">   22770 <define name="lineStyle">
22321         <choice>   22771         <choice>
22322                 <value>none</value>   22772                 <value>none</value>
22323                 <value>solid</value>   22773                 <value>solid</value>
22324                 <value>dotted</value>   22774                 <value>dotted</value>
22325                 <value>dash</value>   22775                 <value>dash</value>
22326                 <value>long-dash</value>   22776                 <value>long-dash</value>
22327                 <value>dot-dash</value>   22777                 <value>dot-dash</value>
22328                 <value>dot-dot-dash</value>   22778                 <value>dot-dot-dash</value>
22329                 <value>wave</value>   22779                 <value>wave</value>
22330         </choice>   22780         </choice>
22331 </define>   22781 </define>
22332 15.4.30Underling Width   22782 15.4.30Underling Width
22333 Use the style:text-underline-width property specifies the width of an underline. This property is very similar to the [CSS3Text] text-underline-width property, except that it has an additional value bold. bold specifies a line width that is calculated from the font sizes like an auto width, but is wider than an auto width. See §9.3 of [CSS3Text] for details.   22783 Use the style:text-underline-width property specifies the width of an underline. This property is very similar to the [CSS3Text] text-underline-width property, except that it has an additional value bold. bold specifies a line width that is calculated from the font sizes like an auto width, but is wider than an auto width. See §9.3 of [CSS3Text] for details.
22334 <define name="style-text-properties-attlist" combine="interleave">   22784 <define name="style-text-properties-attlist" combine="interleave">
22335         <optional>   22785         <optional>
22336                 <attribute name="style:text-underline-width">   22786                 <attribute name="style:text-underline-width">
22337                         <ref name="lineWidth"/>   22787                         <ref name="lineWidth"/>
22338                 </attribute>   22788                 </attribute>
22339         </optional>   22789         </optional>
22340 </define>   22790 </define>
22341     22791  
22342 <define name="lineWidth">   22792 <define name="lineWidth">
22343         <choice>   22793         <choice>
22344                 <value>auto</value>   22794                 <value>auto</value>
22345                 <value>normal</value>   22795                 <value>normal</value>
22346                 <value>bold</value>   22796                 <value>bold</value>
22347                 <value>thin</value>   22797                 <value>thin</value>
22348                 <value>dash</value>   22798                 <value>dash</value>
22349                 <value>medium</value>   22799                 <value>medium</value>
22350                 <value>thick</value>   22800                 <value>thick</value>
22351                 <ref name="positiveInteger"/>   22801                 <ref name="positiveInteger"/>
22352                 <ref name="percent"/>   22802                 <ref name="percent"/>
22353                 <ref name="positiveLength"/>   22803                 <ref name="positiveLength"/>
22354         </choice>   22804         </choice>
22355 </define>   22805 </define>
22356 15.4.31Underline Color   22806 15.4.31Underline Color
22357 Use the style:text-underline-color property to specify the color that is used to underline text. The value of this property is either font-color or a color. If the value is font-color, the current text color is used for underlining.   22807 Use the style:text-underline-color property to specify the color that is used to underline text. The value of this property is either font-color or a color. If the value is font-color, the current text color is used for underlining.
22358 <define name="style-text-properties-attlist" combine="interleave">   22808 <define name="style-text-properties-attlist" combine="interleave">
22359         <optional>   22809         <optional>
22360                 <attribute name="style:text-underline-color">   22810                 <attribute name="style:text-underline-color">
22361                         <choice>   22811                         <choice>
22362                                 <value>font-color</value>   22812                                 <value>font-color</value>
22363                                 <ref name="color"/>   22813                                 <ref name="color"/>
22364                         </choice>   22814                         </choice>
22365                 </attribute>   22815                 </attribute>
22366         </optional>   22816         </optional>
22367 </define>   22817 </define>
22368 15.4.32Font Weight   22818 15.4.32Font Weight
22369 Use the fo:font-weight, style:font-weight-asian and style:font-weight-complex properties to specify the weight of the font. See §7.8.9 of [XSL] for details.   22819 Use the fo:font-weight, style:font-weight-asian and style:font-weight-complex properties to specify the weight of the font. See §7.8.9 of [XSL] for details.
22370 The relative values lighter or bolder are not supported and only a few distinct numerical values are supported. Unsupported numerical values are rounded off to the next supported value.   22820 The relative values lighter or bolder are not supported and only a few distinct numerical values are supported. Unsupported numerical values are rounded off to the next supported value.
22371 See section 15.4.13 for information about when the Asian and complex variants of the attribute are evaluated.   22821 See section 15.4.13 for information about when the Asian and complex variants of the attribute are evaluated.
22372 <define name="style-text-properties-attlist" combine="interleave">   22822 <define name="style-text-properties-attlist" combine="interleave">
22373         <optional>   22823         <optional>
22374                 <attribute name="fo:font-weight">   22824                 <attribute name="fo:font-weight">
22375                         <ref name="fontWeight"/>   22825                         <ref name="fontWeight"/>
22376                 </attribute>   22826                 </attribute>
22377         </optional>   22827         </optional>
22378         <optional>   22828         <optional>
22379                 <attribute name="style:font-weight-asian">   22829                 <attribute name="style:font-weight-asian">
22380                         <ref name="fontWeight"/>   22830                         <ref name="fontWeight"/>
22381                 </attribute>   22831                 </attribute>
22382         </optional>   22832         </optional>
22383         <optional>   22833         <optional>
22384                 <attribute name="style:font-weight-complex">   22834                 <attribute name="style:font-weight-complex">
22385                         <ref name="fontWeight"/>   22835                         <ref name="fontWeight"/>
22386                 </attribute>   22836                 </attribute>
22387         </optional>   22837         </optional>
22388 </define>   22838 </define>
22389     22839  
22390 <define name="fontWeight">   22840 <define name="fontWeight">
22391         <choice>   22841         <choice>
22392                 <value>normal</value>   22842                 <value>normal</value>
22393                 <value>bold</value>   22843                 <value>bold</value>
22394                 <value>100</value>   22844                 <value>100</value>
22395                 <value>200</value>   22845                 <value>200</value>
22396                 <value>300</value>   22846                 <value>300</value>
22397                 <value>400</value>   22847                 <value>400</value>
22398                 <value>500</value>   22848                 <value>500</value>
22399                 <value>600</value>   22849                 <value>600</value>
22400                 <value>700</value>   22850                 <value>700</value>
22401                 <value>800</value>   22851                 <value>800</value>
22402                 <value>900</value>   22852                 <value>900</value>
22403         </choice>   22853         </choice>
22404 </define>   22854 </define>
22405 15.4.33Text Underline Word Mode   22855 15.4.33Text Underline Word Mode
22406 Use the style:text-underline-mode property to specify whether underlining is applied to words only or to portions of text. If underlining is applied to text portions, the spaces between words and the words are underlined. This property is very similar to the text-underline-mode property of [CSS3Text]. See § 9.5 of [CSS3Text] for details.   22856 Use the style:text-underline-mode property to specify whether underlining is applied to words only or to portions of text. If underlining is applied to text portions, the spaces between words and the words are underlined. This property is very similar to the text-underline-mode property of [CSS3Text]. See § 9.5 of [CSS3Text] for details.
22407 <define name="style-text-properties-attlist" combine="interleave">   22857 <define name="style-text-properties-attlist" combine="interleave">
22408         <optional>   22858         <optional>
22409                 <attribute name="style:text-underline-mode">   22859                 <attribute name="style:text-underline-mode">
22410                         <ref name="lineMode"/>   22860                         <ref name="lineMode"/>
22411                 </attribute>   22861                 </attribute>
22412         </optional>   22862         </optional>
22413 </define>   22863 </define>
22414     22864  
22415 <define name="lineMode">   22865 <define name="lineMode">
22416         <choice>   22866         <choice>
22417                 <value>continuous</value>   22867                 <value>continuous</value>
22418                 <value>skip-white-space</value>   22868                 <value>skip-white-space</value>
22419         </choice>   22869         </choice>
22420 </define>   22870 </define>
22421 15.4.34Text Line-Through Word Mode   22871 15.4.34Text Line-Through Word Mode
22422 Use the style:text-line-through-mode property to specify whether lining through is applied to words only or to portions of text. If lining through is applied to text portions, the spaces between words and the words are line-through. This property is very similar to the text-line-through-mode property of [CSS3Text]. See § 9.5 of [CSS3Text] for details.   22872 Use the style:text-line-through-mode property to specify whether lining through is applied to words only or to portions of text. If lining through is applied to text portions, the spaces between words and the words are line-through. This property is very similar to the text-line-through-mode property of [CSS3Text]. See § 9.5 of [CSS3Text] for details.
22423 <define name="style-text-properties-attlist" combine="interleave">   22873 <define name="style-text-properties-attlist" combine="interleave">
22424         <optional>   22874         <optional>
22425                 <attribute name="style:text-line-through-mode">   22875                 <attribute name="style:text-line-through-mode">
22426                         <ref name="lineMode"/>   22876                         <ref name="lineMode"/>
22427                 </attribute>   22877                 </attribute>
22428         </optional>   22878         </optional>
22429 </define>   22879 </define>
22430 15.4.35Letter Kerning   22880 15.4.35Letter Kerning
22431 Use the style:letter-kerning property to enable or disable kerning between characters.   22881 Use the style:letter-kerning property to enable or disable kerning between characters.
22432 <define name="style-text-properties-attlist" combine="interleave">   22882 <define name="style-text-properties-attlist" combine="interleave">
22433         <optional>   22883         <optional>
22434                 <attribute name="style:letter-kerning">   22884                 <attribute name="style:letter-kerning">
22435                         <ref name="boolean"/>   22885                         <ref name="boolean"/>
22436                 </attribute>   22886                 </attribute>
22437         </optional>   22887         </optional>
22438 </define>   22888 </define>
22439 15.4.36Text Blinking   22889 15.4.36Text Blinking
22440 Use the style:text-blinking property to specify whether or not text blinks.   22890 Use the style:text-blinking property to specify whether or not text blinks.
22441 <define name="style-text-properties-attlist" combine="interleave">   22891 <define name="style-text-properties-attlist" combine="interleave">
22442         <optional>   22892         <optional>
22443                 <attribute name="style:text-blinking">   22893                 <attribute name="style:text-blinking">
22444                         <ref name="boolean"/>   22894                         <ref name="boolean"/>
22445                 </attribute>   22895                 </attribute>
22446         </optional>   22896         </optional>
22447 </define>   22897 </define>
22448 15.4.37Text Background Color   22898 15.4.37Text Background Color
22449 Use the fo:background-color property to specify the background color to apply to characters. See §7.7.2 of [XSL] for details.   22899 Use the fo:background-color property to specify the background color to apply to characters. See §7.7.2 of [XSL] for details.
22450 The value of this property can be transparent or a color. See also section 15.5.23.   22900 The value of this property can be transparent or a color. See also section 15.5.23.
22451 <define name="style-text-properties-attlist" combine="interleave">   22901 <define name="style-text-properties-attlist" combine="interleave">
22452         <ref name="common-background-color-attlist"/>   22902         <ref name="common-background-color-attlist"/>
22453 </define>   22903 </define>
22454 15.4.38Text Combine   22904 15.4.38Text Combine
22455 Use the style:text-combine property to combine characters so that they are displayed within two lines.   22905 Use the style:text-combine property to combine characters so that they are displayed within two lines.
22456 The value of this attribute can be none, letters or lines.   22906 The value of this attribute can be none, letters or lines.
22457 If the value is lines, all characters with this attribute value that immediately follow each other are displayed within two lines of approximately the same length. There can be a line break between any two characters to meet this constraint.   22907 If the value is lines, all characters with this attribute value that immediately follow each other are displayed within two lines of approximately the same length. There can be a line break between any two characters to meet this constraint.
22458 If the value of the attribute is letters, up to 5 characters are combined within two lines. Any additional character is displayed as normal text.   22908 If the value of the attribute is letters, up to 5 characters are combined within two lines. Any additional character is displayed as normal text.
22459 <define name="style-text-properties-attlist" combine="interleave">   22909 <define name="style-text-properties-attlist" combine="interleave">
22460         <optional>   22910         <optional>
22461                 <attribute name="style:text-combine">   22911                 <attribute name="style:text-combine">
22462                         <choice>   22912                         <choice>
22463                                 <value>none</value>   22913                                 <value>none</value>
22464                                 <value>letters</value>   22914                                 <value>letters</value>
22465                                 <value>lines</value>   22915                                 <value>lines</value>
22466                         </choice>   22916                         </choice>
22467                 </attribute>   22917                 </attribute>
22468         </optional>   22918         </optional>
22469 </define>   22919 </define>
22470 15.4.39Text Combine Start and End Characters   22920 15.4.39Text Combine Start and End Characters
22471 Use the two properties style:text-combine-start-char and style:text-combine-end-char to specify a start and end character that is displayed before and after a portion of text whose style:text-combine property has a value of lines.   22921 Use the two properties style:text-combine-start-char and style:text-combine-end-char to specify a start and end character that is displayed before and after a portion of text whose style:text-combine property has a value of lines.
22472 <define name="style-text-properties-attlist" combine="interleave">   22922 <define name="style-text-properties-attlist" combine="interleave">
22473         <optional>   22923         <optional>
22474                 <attribute name="style:text-combine-start-char">   22924                 <attribute name="style:text-combine-start-char">
22475                         <ref name="character"/>   22925                         <ref name="character"/>
22476                 </attribute>   22926                 </attribute>
22477         </optional>   22927         </optional>
22478         <optional>   22928         <optional>
22479                 <attribute name="style:text-combine-end-char">   22929                 <attribute name="style:text-combine-end-char">
22480                         <ref name="character"/>   22930                         <ref name="character"/>
22481                 </attribute>   22931                 </attribute>
22482         </optional>   22932         </optional>
22483 </define>   22933 </define>
22484 15.4.40Text Emphasis   22934 15.4.40Text Emphasis
22485 Use the style:text-emphasize property to emphasize text in Asian documents.   22935 Use the style:text-emphasize property to emphasize text in Asian documents.
22486 The value of this attribute consists of two space-separated values.   22936 The value of this attribute consists of two space-separated values.
22487 The first value represents the style to use for emphasis and it can be none, accent, dot, circle, or disc.   22937 The first value represents the style to use for emphasis and it can be none, accent, dot, circle, or disc.
22488 The second value represents the position of the emphasis and it can be above or below. If the first value is none, this value can be omitted.   22938 The second value represents the position of the emphasis and it can be above or below. If the first value is none, this value can be omitted.
22489 <define name="style-text-properties-attlist" combine="interleave">   22939 <define name="style-text-properties-attlist" combine="interleave">
22490         <optional>   22940         <optional>
22491                 <attribute name="style:text-emphasize">   22941                 <attribute name="style:text-emphasize">
22492                         <choice>   22942                         <choice>
22493                                 <value>none</value>   22943                                 <value>none</value>
22494                                 <list>   22944                                 <list>
22495                                         <choice>   22945                                         <choice>
22496                                                 <value>none</value>   22946                                                 <value>none</value>
22497                                                 <value>accent</value>   22947                                                 <value>accent</value>
22498                                                 <value>dot</value>   22948                                                 <value>dot</value>
22499                                                 <value>circle</value>   22949                                                 <value>circle</value>
22500                                                 <value>disc</value>   22950                                                 <value>disc</value>
22501                                         </choice>   22951                                         </choice>
22502                                         <choice>   22952                                         <choice>
22503                                                 <value>above</value>   22953                                                 <value>above</value>
22504                                                 <value>below</value>   22954                                                 <value>below</value>
22505                                         </choice>   22955                                         </choice>
22506                                 </list>   22956                                 </list>
22507                         </choice>   22957                         </choice>
22508                 </attribute>   22958                 </attribute>
22509         </optional>   22959         </optional>
22510 </define>   22960 </define>
22511 15.4.41Text Scale   22961 15.4.41Text Scale
22512 Use the style:text-scale property to decrease or increase the width of the text by scaling the font width.   22962 Use the style:text-scale property to decrease or increase the width of the text by scaling the font width.
22513 <define name="style-text-properties-attlist" combine="interleave">   22963 <define name="style-text-properties-attlist" combine="interleave">
22514         <optional>   22964         <optional>
22515                 <attribute name="style:text-scale">   22965                 <attribute name="style:text-scale">
22516                         <ref name="percent"/>   22966                         <ref name="percent"/>
22517                 </attribute>   22967                 </attribute>
22518         </optional>   22968         </optional>
22519 </define>   22969 </define>
22520 15.4.42Text Rotation Angle   22970 15.4.42Text Rotation Angle
22521 The style:text-rotation-angle property specifies an angle to which text is rotated. The value of this attribute can be 0, 90, or 270. For any angle greater than 359 the remainder of a division by 360 is used. Any angle other than 0, 90 or 270 is rounded to the nearest possible value.   22971 The style:text-rotation-angle property specifies an angle to which text is rotated. The value of this attribute can be 0, 90, or 270. For any angle greater than 359 the remainder of a division by 360 is used. Any angle other than 0, 90 or 270 is rounded to the nearest possible value.
22522 If this attribute is specified for more than one character, all text containing these characters is rotated.   22972 If this attribute is specified for more than one character, all text containing these characters is rotated.
22523 <define name="style-text-properties-attlist" combine="interleave">   22973 <define name="style-text-properties-attlist" combine="interleave">
22524         <optional>   22974         <optional>
22525                 <attribute name="style:text-rotation-angle">   22975                 <attribute name="style:text-rotation-angle">
22526                         <ref name="integer"/>   22976                         <ref name="integer"/>
22527                 </attribute>   22977                 </attribute>
22528         </optional>   22978         </optional>
22529 </define>   22979 </define>
22530 15.4.43Text Rotation Scale   22980 15.4.43Text Rotation Scale
22531 If text is rotated, the style:text-rotation-scale property specifies whether the width of the text should be scaled to fit into the current line height or the width of the text should remain fixed, therefore changing the current line height.   22981 If text is rotated, the style:text-rotation-scale property specifies whether the width of the text should be scaled to fit into the current line height or the width of the text should remain fixed, therefore changing the current line height.
22532 <define name="style-text-properties-attlist" combine="interleave">   22982 <define name="style-text-properties-attlist" combine="interleave">
22533         <optional>   22983         <optional>
22534                 <attribute name="style:text-rotation-scale">   22984                 <attribute name="style:text-rotation-scale">
22535                         <choice>   22985                         <choice>
22536                                 <value>fixed</value>   22986                                 <value>fixed</value>
22537                                 <value>line-height</value>   22987                                 <value>line-height</value>
22538                         </choice>   22988                         </choice>
22539                 </attribute>   22989                 </attribute>
22540         </optional>   22990         </optional>
22541 </define>   22991 </define>
22542 15.4.44Hyphenation   22992 15.4.44Hyphenation
22543 Use the fo:hyphenate property to enable or disable automatic hyphenation. See §7.9.4 of [XSL] for details.   22993 Use the fo:hyphenate property to enable or disable automatic hyphenation. See §7.9.4 of [XSL] for details.
22544 Some application might not support setting the properties fo:hyphenate, fo:hyphenation-keep, fo:hyphenation-remain-char-count,  fo:hyphenation-push-char-count and fo:hyphenation-ladder-count independent of each other within a style. A reasonable default for fo:hyphenate in this case is false.   22994 Some application might not support setting the properties fo:hyphenate, fo:hyphenation-keep, fo:hyphenation-remain-char-count,  fo:hyphenation-push-char-count and fo:hyphenation-ladder-count independent of each other within a style. A reasonable default for fo:hyphenate in this case is false.
22545 <define name="style-text-properties-attlist" combine="interleave">   22995 <define name="style-text-properties-attlist" combine="interleave">
22546         <optional>   22996         <optional>
22547                 <attribute name="fo:hyphenate">   22997                 <attribute name="fo:hyphenate">
22548                         <ref name="boolean"/>   22998                         <ref name="boolean"/>
22549                 </attribute>   22999                 </attribute>
22550         </optional>   23000         </optional>
22551 </define>   23001 </define>
22552 15.4.45Hyphenation Remain Char Count   23002 15.4.45Hyphenation Remain Char Count
22553 Use the fo:hyphenation-remain-char-count property to specify the number of characters that must be present before a hyphenation character. See §7.9.7 of [XSL] for details.   23003 Use the fo:hyphenation-remain-char-count property to specify the number of characters that must be present before a hyphenation character. See §7.9.7 of [XSL] for details.
22554 Some application might not support setting the properties fo:hyphenate, fo:hyphenation-keep, fo:hyphenation-remain-char-count,  fo:hyphenation-push-char-count and fo:hyphenation-ladder-count independent of each other within a style. A reasonable default for fo:hyphenation-remain-char-count in this case is 0.   23004 Some application might not support setting the properties fo:hyphenate, fo:hyphenation-keep, fo:hyphenation-remain-char-count,  fo:hyphenation-push-char-count and fo:hyphenation-ladder-count independent of each other within a style. A reasonable default for fo:hyphenation-remain-char-count in this case is 0.
22555 <define name="style-text-properties-attlist" combine="interleave">   23005 <define name="style-text-properties-attlist" combine="interleave">
22556         <optional>   23006         <optional>
22557                 <attribute name="fo:hyphenation-remain-char-count">   23007                 <attribute name="fo:hyphenation-remain-char-count">
22558                         <ref name="positiveInteger"/>   23008                         <ref name="positiveInteger"/>
22559                 </attribute>   23009                 </attribute>
22560         </optional>   23010         </optional>
22561 </define>   23011 </define>
22562 15.4.46Hyphenation Push Char Count   23012 15.4.46Hyphenation Push Char Count
22563 Use the fo:hyphenation-push-char-count property to specify the minimum number of characters that are moved to the next line. See §7.9.6 of [XSL] for details.   23013 Use the fo:hyphenation-push-char-count property to specify the minimum number of characters that are moved to the next line. See §7.9.6 of [XSL] for details.
22564 Some application might not support setting the properties fo:hyphenate, fo:hyphenation-keep, fo:hyphenation-remain-char-count,  fo:hyphenation-push-char-count and fo:hyphenation-ladder-count independent of each other within a style. A reasonable default for fo:hyphenation-push-char-count in this case is 0.   23014 Some application might not support setting the properties fo:hyphenate, fo:hyphenation-keep, fo:hyphenation-remain-char-count,  fo:hyphenation-push-char-count and fo:hyphenation-ladder-count independent of each other within a style. A reasonable default for fo:hyphenation-push-char-count in this case is 0.
22565 <define name="style-text-properties-attlist" combine="interleave">   23015 <define name="style-text-properties-attlist" combine="interleave">
22566         <optional>   23016         <optional>
22567                 <attribute name="fo:hyphenation-push-char-count">   23017                 <attribute name="fo:hyphenation-push-char-count">
22568                         <ref name="positiveInteger"/>   23018                         <ref name="positiveInteger"/>
22569                 </attribute>   23019                 </attribute>
22570         </optional>   23020         </optional>
22571 </define>   23021 </define>
22572 15.4.47Hidden or Conditional Text   23022 15.4.47Hidden or Conditional Text
22573 The text:display property allows text to be hidden. This can be made dependent on a condition as well. This attributes and its values are the same as for text:display attribute on text sections (see also section 4.4). The values of this attribute may be any of:   23023 The text:display property allows text to be hidden. This can be made dependent on a condition as well. This attributes and its values are the same as for text:display attribute on text sections (see also section 4.4). The values of this attribute may be any of:
22574 true – the text will be displayed normally. This is the default.   23024 true – the text will be displayed normally. This is the default.
22575 none – the text will be hidden.   23025 none – the text will be hidden.
22576 condition – a condition determines whether the text will be displayed or hidden. In this case, a text:condition attribute must be present specifying the condition.   23026 condition – a condition determines whether the text will be displayed or hidden. In this case, a text:condition attribute must be present specifying the condition.
22577 <define name="style-text-properties-attlist" combine="interleave">   23027 <define name="style-text-properties-attlist" combine="interleave">
22578         <choice>   23028         <choice>
22579                 <attribute name="text:display">   23029                 <attribute name="text:display">
22580                         <value>true</value>   23030                         <value>true</value>
22581                 </attribute>   23031                 </attribute>
22582                 <attribute name="text:display">   23032                 <attribute name="text:display">
22583                         <value>none</value>   23033                         <value>none</value>
22584                 </attribute>   23034                 </attribute>
22585                 <group>   23035                 <group>
22586                         <attribute name="text:display">   23036                         <attribute name="text:display">
22587                                 <value>condition</value>   23037                                 <value>condition</value>
22588                         </attribute>   23038                         </attribute>
22589                         <attribute name="text:condition">   23039                         <attribute name="text:condition">
22590                                 <value>none</value>   23040                                 <value>none</value>
22591                         </attribute>   23041                         </attribute>
22592                 </group>   23042                 </group>
22593                 <empty/>   23043                 <empty/>
22594         </choice>   23044         </choice>
22595 </define>   23045 </define>
22596 15.5Paragraph Formatting Properties   23046 15.5Paragraph Formatting Properties
22597 The properties described in this section can be contained within paragraph styles (see section 14.8.2), but also within other styles, like cell styles (see section 14.12.4) They are contained in a <style:paragraph-properties> element.   23047 The properties described in this section can be contained within paragraph styles (see section 14.8.2), but also within other styles, like cell styles (see section 14.12.4) They are contained in a <style:paragraph-properties> element.
22598 <define name="style-paragraph-properties">   23048 <define name="style-paragraph-properties">
22599         <element name="style:paragraph-properties">   23049         <element name="style:paragraph-properties">
22600                 <ref name="style-paragraph-properties-content"/>   23050                 <ref name="style-paragraph-properties-content"/>
22601         </element>   23051         </element>
22602 </define>   23052 </define>
22603     23053  
22604 <define name="style-paragraph-properties-content">   23054 <define name="style-paragraph-properties-content">
22605         <ref name="style-properties-content"/>   23055         <ref name="style-properties-content"/>
22606 </define>   23056 </define>
22607     23057  
22608 <define name="style-paragraph-properties-content-strict">   23058 <define name="style-paragraph-properties-content-strict">
22609         <ref name="style-paragraph-properties-attlist"/>   23059         <ref name="style-paragraph-properties-attlist"/>
22610         <ref name="style-paragraph-properties-elements"/>   23060         <ref name="style-paragraph-properties-elements"/>
22611 </define>   23061 </define>
22612 15.5.1Fixed Line Height   23062 15.5.1Fixed Line Height
22613 Use the fo:line-height property to specify a fixed line height either as a length or a percentage that relates to the highest character in a line. A special value of normal activates the default line height calculation. It is also used to deactivate the effects of the style:line-height-at-least and style:line-spacing properties. The value of this property can be a length, a percentage, or a value of normal. See §7.15.4 of [XSL] for details.   23063 Use the fo:line-height property to specify a fixed line height either as a length or a percentage that relates to the highest character in a line. A special value of normal activates the default line height calculation. It is also used to deactivate the effects of the style:line-height-at-least and style:line-spacing properties. The value of this property can be a length, a percentage, or a value of normal. See §7.15.4 of [XSL] for details.
22614 <define name="style-paragraph-properties-attlist" combine="interleave">   23064 <define name="style-paragraph-properties-attlist" combine="interleave">
22615         <optional>   23065         <optional>
22616                 <attribute name="fo:line-height">   23066                 <attribute name="fo:line-height">
22617                         <choice>   23067                         <choice>
22618                                 <value>normal</value>   23068                                 <value>normal</value>
22619                                 <ref name="nonNegativeLength"/>   23069                                 <ref name="nonNegativeLength"/>
22620                                 <ref name="percent"/>   23070                                 <ref name="percent"/>
22621                         </choice>   23071                         </choice>
22622                 </attribute>   23072                 </attribute>
22623         </optional>   23073         </optional>
22624 </define>   23074 </define>
22625 15.5.2Minimum Line Height   23075 15.5.2Minimum Line Height
22626 Use the style:line-height-at-least property to specify a minimum line height. The value of this property is a length. There is no normal value for the property.   23076 Use the style:line-height-at-least property to specify a minimum line height. The value of this property is a length. There is no normal value for the property.
22627 <define name="style-paragraph-properties-attlist" combine="interleave">   23077 <define name="style-paragraph-properties-attlist" combine="interleave">
22628         <optional>   23078         <optional>
22629                 <attribute name="style:line-height-at-least">   23079                 <attribute name="style:line-height-at-least">
22630                         <ref name="nonNegativeLength"/>   23080                         <ref name="nonNegativeLength"/>
22631                 </attribute>   23081                 </attribute>
22632         </optional>   23082         </optional>
22633 </define>   23083 </define>
22634 15.5.3Line Distance   23084 15.5.3Line Distance
22635 Use the style:line-spacing property to specify a fixed distance between two lines. There is no normal value for this property.   23085 Use the style:line-spacing property to specify a fixed distance between two lines. There is no normal value for this property.
22636 <define name="style-paragraph-properties-attlist" combine="interleave">   23086 <define name="style-paragraph-properties-attlist" combine="interleave">
22637         <optional>   23087         <optional>
22638                 <attribute name="style:line-spacing">   23088                 <attribute name="style:line-spacing">
22639                         <ref name="length"/>   23089                         <ref name="length"/>
22640                 </attribute>   23090                 </attribute>
22641         </optional>   23091         </optional>
22642 </define>   23092 </define>
22643 15.5.4Font-Independent Line Spacing   23093 15.5.4Font-Independent Line Spacing
22644 The style:font-independent-line-spacing property specifies if font independent line spacing is used. If the  attribute's value is true, then the line height is calculated only from the font height as specified by the font size attributes fo:font-size, style:font-size-asian and style:font-size-complex. If the value is false, the font metric of the actual font is taken into account.   23094 The style:font-independent-line-spacing property specifies if font independent line spacing is used. If the  attribute's value is true, then the line height is calculated only from the font height as specified by the font size attributes fo:font-size, style:font-size-asian and style:font-size-complex. If the value is false, the font metric of the actual font is taken into account.
22645 <define name="style-paragraph-properties-attlist" combine="interleave">   23095 <define name="style-paragraph-properties-attlist" combine="interleave">
22646         <optional>   23096         <optional>
22647                 <attribute name="style:font-independent-line-spacing">   23097                 <attribute name="style:font-independent-line-spacing">
22648                         <ref name="boolean"/>   23098                         <ref name="boolean"/>
22649                 </attribute>   23099                 </attribute>
22650         </optional>   23100         </optional>
22651 </define>   23101 </define>
22652 15.5.5Text Align   23102 15.5.5Text Align
22653 Use the fo:text-align property to specify how to align text in paragraphs.   23103 Use the fo:text-align property to specify how to align text in paragraphs.
22654 The value of this property can be start, end, left, right, center, or justify. See §7.15.9 of [XSL] for details. The values inside and outside are not supported.   23104 The value of this property can be start, end, left, right, center, or justify. See §7.15.9 of [XSL] for details. The values inside and outside are not supported.
22655 If there are no values specified for the fo:text-align-last and style:justify-single-word properties within the same item set element, the values of these properties are set to start and false respectively.   23105 If there are no values specified for the fo:text-align-last and style:justify-single-word properties within the same item set element, the values of these properties are set to start and false respectively.
22656 <define name="style-paragraph-properties-attlist" combine="interleave">   23106 <define name="style-paragraph-properties-attlist" combine="interleave">
22657         <ref name="common-text-align"/>   23107         <ref name="common-text-align"/>
22658 </define>   23108 </define>
22659     23109  
22660 <define name="common-text-align">   23110 <define name="common-text-align">
22661         <optional>   23111         <optional>
22662                 <attribute name="fo:text-align">   23112                 <attribute name="fo:text-align">
22663                         <choice>   23113                         <choice>
22664                                 <value>start</value>   23114                                 <value>start</value>
22665                                 <value>end</value>   23115                                 <value>end</value>
22666                                 <value>left</value>   23116                                 <value>left</value>
22667                                 <value>right</value>   23117                                 <value>right</value>
22668                                 <value>center</value>   23118                                 <value>center</value>
22669                                 <value>justify</value>   23119                                 <value>justify</value>
22670                         </choice>   23120                         </choice>
22671                 </attribute>   23121                 </attribute>
22672         </optional>   23122         </optional>
22673 </define>   23123 </define>
22674 15.5.6Text Align of Last Line   23124 15.5.6Text Align of Last Line
22675 Use the fo:text-align-last property to specify how to align the last line of a justified paragraph. See §7.15.9 of [XSL] for details. The only values of this property that are supported are start, center, or justify.   23125 Use the fo:text-align-last property to specify how to align the last line of a justified paragraph. See §7.15.9 of [XSL] for details. The only values of this property that are supported are start, center, or justify.
22676 This property is ignored if it not accompanied by an fo:text-align property.   23126 This property is ignored if it not accompanied by an fo:text-align property.
22677 If there are no values specified for the fo:text-align and style:justify-single-word properties, these values of these properties is set to start and false respectively.   23127 If there are no values specified for the fo:text-align and style:justify-single-word properties, these values of these properties is set to start and false respectively.
22678 <define name="style-paragraph-properties-attlist" combine="interleave">   23128 <define name="style-paragraph-properties-attlist" combine="interleave">
22679         <optional>   23129         <optional>
22680                 <attribute name="fo:text-align-last">   23130                 <attribute name="fo:text-align-last">
22681                         <choice>   23131                         <choice>
22682                                 <value>start</value>   23132                                 <value>start</value>
22683                                 <value>center</value>   23133                                 <value>center</value>
22684                                 <value>justify</value>   23134                                 <value>justify</value>
22685                         </choice>   23135                         </choice>
22686                 </attribute>   23136                 </attribute>
22687         </optional>   23137         </optional>
22688 </define>   23138 </define>
22689 15.5.7Justify Single Word   23139 15.5.7Justify Single Word
22690 If the last line in a paragraph is justified, use the style:justify-single-word property to specify whether or not a single word should be justified.   23140 If the last line in a paragraph is justified, use the style:justify-single-word property to specify whether or not a single word should be justified.
22691 If there are no values specified for the fo:text-align and fo:text-align-last properties, the values of these properties are set to start. This means that specifying a style:justify-single-word property without specifying a fo:text-align and fo:text-align-last property has no effect.   23141 If there are no values specified for the fo:text-align and fo:text-align-last properties, the values of these properties are set to start. This means that specifying a style:justify-single-word property without specifying a fo:text-align and fo:text-align-last property has no effect.
22692 <define name="style-paragraph-properties-attlist" combine="interleave">   23142 <define name="style-paragraph-properties-attlist" combine="interleave">
22693         <optional>   23143         <optional>
22694                 <attribute name="style:justify-single-word">   23144                 <attribute name="style:justify-single-word">
22695                         <ref name="boolean"/>   23145                         <ref name="boolean"/>
22696                 </attribute>   23146                 </attribute>
22697         </optional>   23147         </optional>
22698 </define>   23148 </define>
22699 15.5.8Keep Together   23149 15.5.8Keep Together
22700 Use the fo:keep-together property to control whether the lines of a paragraph should be kept together on the same page or column (if the value is always), or whether breaks are allowed within the paragraph (if the value is auto). See §7.19.3 of [XSL] for details.   23150 Use the fo:keep-together property to control whether the lines of a paragraph should be kept together on the same page or column (if the value is always), or whether breaks are allowed within the paragraph (if the value is auto). See §7.19.3 of [XSL] for details.
22701 <define name="style-paragraph-properties-attlist" combine="interleave">   23151 <define name="style-paragraph-properties-attlist" combine="interleave">
22702         <optional>   23152         <optional>
22703                 <attribute name="fo:keep-together">   23153                 <attribute name="fo:keep-together">
22704                         <choice>   23154                         <choice>
22705                                 <value>auto</value>   23155                                 <value>auto</value>
22706                                 <value>always</value>   23156                                 <value>always</value>
22707                         </choice>   23157                         </choice>
22708                 </attribute>   23158                 </attribute>
22709         </optional>   23159         </optional>
22710 </define>   23160 </define>
22711 15.5.9Widows   23161 15.5.9Widows
22712 Use the fo:widows property to specify the minimum number of lines allowed at the top of a page to avoid paragraph widows. See §7.19.7 of [XSL] for details.   23162 Use the fo:widows property to specify the minimum number of lines allowed at the top of a page to avoid paragraph widows. See §7.19.7 of [XSL] for details.
22713 <define name="style-paragraph-properties-attlist" combine="interleave">   23163 <define name="style-paragraph-properties-attlist" combine="interleave">
22714         <optional>   23164         <optional>
22715                 <attribute name="fo:widows">   23165                 <attribute name="fo:widows">
22716                         <ref name="nonNegativeInteger"/>   23166                         <ref name="nonNegativeInteger"/>
22717                 </attribute>   23167                 </attribute>
22718         </optional>   23168         </optional>
22719 </define>   23169 </define>
22720 15.5.10Orphans   23170 15.5.10Orphans
22721 Use the fo:orphans property to specify the minimum number of lines required at the bottom of a page to avoid paragraph orphans. See  See §7.19.6 of [XSL] for details.   23171 Use the fo:orphans property to specify the minimum number of lines required at the bottom of a page to avoid paragraph orphans. See  See §7.19.6 of [XSL] for details.
22722 <define name="style-paragraph-properties-attlist" combine="interleave">   23172 <define name="style-paragraph-properties-attlist" combine="interleave">
22723         <optional>   23173         <optional>
22724                 <attribute name="fo:orphans">   23174                 <attribute name="fo:orphans">
22725                         <ref name="nonNegativeInteger"/>   23175                         <ref name="nonNegativeInteger"/>
22726                 </attribute>   23176                 </attribute>
22727         </optional>   23177         </optional>
22728 </define>   23178 </define>
22729 15.5.11Tab Stops   23179 15.5.11Tab Stops
22730 Use the tab stop element <style:tab-stops> to specify tab stop definitions.   23180 Use the tab stop element <style:tab-stops> to specify tab stop definitions.
22731 Every tab stop position is represented by a single <style:tab-stop> element that is contained in the <style:tab-stops> element.   23181 Every tab stop position is represented by a single <style:tab-stop> element that is contained in the <style:tab-stops> element.
22732 <define name="style-paragraph-properties-elements" combine="interleave">   23182 <define name="style-paragraph-properties-elements" combine="interleave">
22733         <ref name="style-tab-stops"/>   23183         <ref name="style-tab-stops"/>
22734 </define>   23184 </define>
22735     23185  
22736 <define name="style-tab-stops">   23186 <define name="style-tab-stops">
22737         <optional>   23187         <optional>
22738                 <element name="style:tab-stops">   23188                 <element name="style:tab-stops">
22739                         <zeroOrMore>   23189                         <zeroOrMore>
22740                                 <ref name="style-tab-stop"/>   23190                                 <ref name="style-tab-stop"/>
22741                         </zeroOrMore>   23191                         </zeroOrMore>
22742                 </element>   23192                 </element>
22743         </optional>   23193         </optional>
22744 </define>   23194 </define>
22745     23195  
22746 <define name="style-tab-stop">   23196 <define name="style-tab-stop">
22747         <element name="style:tab-stop">   23197         <element name="style:tab-stop">
22748                 <ref name="style-tab-stop-attlist"/>   23198                 <ref name="style-tab-stop-attlist"/>
22749                 <empty/>   23199                 <empty/>
22750         </element>   23200         </element>
22751 </define>   23201 </define>
22752 The attributes that may be associated with the  <style:tab-stop> elements are:   23202 The attributes that may be associated with the  <style:tab-stop> elements are:
22753 Tab position   23203 Tab position
22754 Tab type   23204 Tab type
22755 Delimiter character   23205 Delimiter character
22756 Leader type   23206 Leader type
22757 Leader style   23207 Leader style
22758 Leader width   23208 Leader width
22759 Leader color   23209 Leader color
22760 Leader text   23210 Leader text
22761 Leader text style   23211 Leader text style
22762 Tab Position   23212 Tab Position
22763 The style:position attribute specifies the position of a tab stop.   23213 The style:position attribute specifies the position of a tab stop.
22764 This attribute is associated with the <style:tab-stop> element and its value is a length.   23214 This attribute is associated with the <style:tab-stop> element and its value is a length.
22765 <define name="style-tab-stop-attlist" combine="interleave">   23215 <define name="style-tab-stop-attlist" combine="interleave">
22766         <attribute name="style:position">   23216         <attribute name="style:position">
22767                 <ref name="nonNegativeLength"/>   23217                 <ref name="nonNegativeLength"/>
22768         </attribute>   23218         </attribute>
22769 </define>   23219 </define>
22770 Tab Type   23220 Tab Type
22771 The style:type attribute specifies the type of tab stop.   23221 The style:type attribute specifies the type of tab stop.
22772 This attribute is associated with the <style:tab-stop> element and its value can be left, center, right or char.   23222 This attribute is associated with the <style:tab-stop> element and its value can be left, center, right or char.
22773 <define name="style-tab-stop-attlist" combine="interleave">   23223 <define name="style-tab-stop-attlist" combine="interleave">
22774         <choice>   23224         <choice>
22775                 <optional>   23225                 <optional>
22776                         <attribute name="style:type" a:defaultValue="left">   23226                         <attribute name="style:type" a:defaultValue="left">
22777                                 <choice>   23227                                 <choice>
22778                                         <value>left</value>   23228                                         <value>left</value>
22779                                         <value>center</value>   23229                                         <value>center</value>
22780                                         <value>right</value>   23230                                         <value>right</value>
22781                                 </choice>   23231                                 </choice>
22782                         </attribute>   23232                         </attribute>
22783                 </optional>   23233                 </optional>
22784                 <group>   23234                 <group>
22785                         <attribute name="style:type">   23235                         <attribute name="style:type">
22786                                 <value>char</value>   23236                                 <value>char</value>
22787                         </attribute>   23237                         </attribute>
22788                         <ref name="style-tab-stop-char-attlist"/>   23238                         <ref name="style-tab-stop-char-attlist"/>
22789                 </group>   23239                 </group>
22790         </choice>   23240         </choice>
22791 </define>   23241 </define>
22792 Delimiter Character   23242 Delimiter Character
22793 The style:char attribute specifies the delimiter character for tab stops of type char.   23243 The style:char attribute specifies the delimiter character for tab stops of type char.
22794 This attribute is associated with the <style:tab-stop> element and it must be present if the value of the style:type attribute is char. If the value of style:type attribute is not char, it is ignored.   23244 This attribute is associated with the <style:tab-stop> element and it must be present if the value of the style:type attribute is char. If the value of style:type attribute is not char, it is ignored.
22795 The value of the attribute must be a single [UNICODE] character.   23245 The value of the attribute must be a single [UNICODE] character.
22796 <define name="style-tab-stop-char-attlist" combine="interleave">   23246 <define name="style-tab-stop-char-attlist" combine="interleave">
22797         <attribute name="style:char">   23247         <attribute name="style:char">
22798                 <ref name="character"/>   23248                 <ref name="character"/>
22799         </attribute>   23249         </attribute>
22800 </define>   23250 </define>
22801 Leader Type   23251 Leader Type
22802 Use the style:leader-type attribute to specify whether a leader line should be drawn, and if so, whether a single or double line will be used. See also section 15.4.28.   23252 Use the style:leader-type attribute to specify whether a leader line should be drawn, and if so, whether a single or double line will be used. See also section 15.4.28.
22803 <define name="style-tab-stop-attlist" combine="interleave">   23253 <define name="style-tab-stop-attlist" combine="interleave">
22804         <optional>   23254         <optional>
22805                 <attribute name="style:leader-type">   23255                 <attribute name="style:leader-type">
22806                         <ref name="lineType"/>   23256                         <ref name="lineType"/>
22807                 </attribute>   23257                 </attribute>
22808         </optional>   23258         </optional>
22809 </define>   23259 </define>
22810 Leader Style   23260 Leader Style
22811 Use the style:leader-style property to specify if and how a leader line is drawn. The line styles that can be used are described in section 15.4.29.   23261 Use the style:leader-style property to specify if and how a leader line is drawn. The line styles that can be used are described in section 15.4.29.
22812 <define name="style-tab-stop-attlist" combine="interleave">   23262 <define name="style-tab-stop-attlist" combine="interleave">
22813         <optional>   23263         <optional>
22814                 <attribute name="style:leader-style">   23264                 <attribute name="style:leader-style">
22815                         <ref name="lineStyle"/>   23265                         <ref name="lineStyle"/>
22816                 </attribute>   23266                 </attribute>
22817         </optional>   23267         </optional>
22818 </define>   23268 </define>
22819 Leader Width   23269 Leader Width
22820 Use the style:leader-width property to specifies the width of a leader line. See section 15.4.30 for the values of this attribute.   23270 Use the style:leader-width property to specifies the width of a leader line. See section 15.4.30 for the values of this attribute.
22821 <define name="style-tab-stop-attlist" combine="interleave">   23271 <define name="style-tab-stop-attlist" combine="interleave">
22822         <optional>   23272         <optional>
22823                 <attribute name="style:leader-width">   23273                 <attribute name="style:leader-width">
22824                         <ref name="lineWidth"/>   23274                         <ref name="lineWidth"/>
22825                 </attribute>   23275                 </attribute>
22826         </optional>   23276         </optional>
22827 </define>   23277 </define>
22828 Leader Color   23278 Leader Color
22829 Use the style:leader-color property to specify the color that is for the leader line. The value of this property is either font-color or a color. If the value is font-color, the current text color is used for the leader line.   23279 Use the style:leader-color property to specify the color that is for the leader line. The value of this property is either font-color or a color. If the value is font-color, the current text color is used for the leader line.
22830 <define name="style-tab-stop-attlist" combine="interleave">   23280 <define name="style-tab-stop-attlist" combine="interleave">
22831         <optional>   23281         <optional>
22832                 <attribute name="style:leader-color">   23282                 <attribute name="style:leader-color">
22833                         <choice>   23283                         <choice>
22834                                 <value>font-color</value>   23284                                 <value>font-color</value>
22835                                 <ref name="color"/>   23285                                 <ref name="color"/>
22836                         </choice>   23286                         </choice>
22837                 </attribute>   23287                 </attribute>
22838         </optional>   23288         </optional>
22839 </define>   23289 </define>
22840 Leader Text   23290 Leader Text
22841 The style:leader-text attribute specifies the leader text to use for tab stops. If the attribute value is not empty, the attribute value string is used as leader instead of the line that has been specified, provided that the application supports textual leaders. If the application does not support textual, the attribute is ignored, this means, style:leader-style will be evaluated only. If the application supports textual consisting of a single characters only, and the leader text has more than one character, the first character of the leader text should be used only. If the applications supports textual leaders with with certain characters only (like "." or "_"), the application should use one of these characters if the leader-text specifies characters that are not supported. In other words: textual leaders have a higher priority than line leaders, even if the leader text that is specified has to be adapted to be usable by the application.   23291 The style:leader-text attribute specifies the leader text to use for tab stops. If the attribute value is not empty, the attribute value string is used as leader instead of the line that has been specified, provided that the application supports textual leaders. If the application does not support textual, the attribute is ignored, this means, style:leader-style will be evaluated only. If the application supports textual consisting of a single characters only, and the leader text has more than one character, the first character of the leader text should be used only. If the applications supports textual leaders with with certain characters only (like "." or "_"), the application should use one of these characters if the leader-text specifies characters that are not supported. In other words: textual leaders have a higher priority than line leaders, even if the leader text that is specified has to be adapted to be usable by the application.
22842 This attribute is associated with the <style:tab-stop> element and its value must be a single [UNICODE] character.   23292 This attribute is associated with the <style:tab-stop> element and its value must be a single [UNICODE] character.
22843 <define name="style-tab-stop-attlist" combine="interleave">   23293 <define name="style-tab-stop-attlist" combine="interleave">
22844         <optional>   23294         <optional>
22845                 <attribute name="style:leader-text" a:defaultValue=" ">   23295                 <attribute name="style:leader-text" a:defaultValue=" ">
22846                         <ref name="string"/>   23296                         <ref name="string"/>
22847                 </attribute>   23297                 </attribute>
22848         </optional>   23298         </optional>
22849 </define>   23299 </define>
22850 Leader Text Style   23300 Leader Text Style
22851 The style:leader-text-style specifies a text style that is applied to a textual leader. It is not applied to leader lines. If the attribute appears in an automatic style, it may reference either an automatic text style or a common style. If the attribute appears in a common style, it may reference a common style only.   23301 The style:leader-text-style specifies a text style that is applied to a textual leader. It is not applied to leader lines. If the attribute appears in an automatic style, it may reference either an automatic text style or a common style. If the attribute appears in a common style, it may reference a common style only.
22852 <define name="style-tab-stop-attlist" combine="interleave">   23302 <define name="style-tab-stop-attlist" combine="interleave">
22853         <optional>   23303         <optional>
22854                 <attribute name="style:leader-text-style">   23304                 <attribute name="style:leader-text-style">
22855                         <ref name="styleNameRef"/>   23305                         <ref name="styleNameRef"/>
22856                 </attribute>   23306                 </attribute>
22857         </optional>   23307         </optional>
22858 </define>   23308 </define>
22859 15.5.12Tab Stop Distance   23309 15.5.12Tab Stop Distance
22860 The attribute style:tab-stop-distance specifies the distance between default tab stops. A default tab stop is repeated automatically after the specified distance. Default tab stops usually are only evaluated if they are specified within a default style (see section 14.2).   23310 The attribute style:tab-stop-distance specifies the distance between default tab stops. A default tab stop is repeated automatically after the specified distance. Default tab stops usually are only evaluated if they are specified within a default style (see section 14.2).
22861 <define name="style-paragraph-properties-attlist" combine="interleave">   23311 <define name="style-paragraph-properties-attlist" combine="interleave">
22862         <optional>   23312         <optional>
22863                 <attribute name="style:tab-stop-distance">   23313                 <attribute name="style:tab-stop-distance">
22864                         <ref name="nonNegativeLength"/>   23314                         <ref name="nonNegativeLength"/>
22865                 </attribute>   23315                 </attribute>
22866         </optional>   23316         </optional>
22867 </define>   23317 </define>
22868 15.5.13Hyphenation Keep   23318 15.5.13Hyphenation Keep
22869 Use the fo:hyphenation-keep property to enable or disable the hyphenation of the last word on a page. See §7.15.1 of [XSL] for details.   23319 Use the fo:hyphenation-keep property to enable or disable the hyphenation of the last word on a page. See §7.15.1 of [XSL] for details.
22870 Some application might not support setting the properties fo:hyphenate, fo:hyphenation-keep, fo:hyphenation-remain-char-count,  fo:hyphenation-push-char-count and fo:hyphenation-ladder-count independent of each other within a style. A reasonable default for fo:hyphenation-keep in this case is auto.   23320 Some application might not support setting the properties fo:hyphenate, fo:hyphenation-keep, fo:hyphenation-remain-char-count,  fo:hyphenation-push-char-count and fo:hyphenation-ladder-count independent of each other within a style. A reasonable default for fo:hyphenation-keep in this case is auto.
22871 <define name="style-paragraph-properties-attlist" combine="interleave">   23321 <define name="style-paragraph-properties-attlist" combine="interleave">
22872         <optional>   23322         <optional>
22873                 <attribute name="fo:hyphenation-keep">   23323                 <attribute name="fo:hyphenation-keep">
22874                         <choice>   23324                         <choice>
22875                                 <value>auto</value>   23325                                 <value>auto</value>
22876                                 <value>page</value>   23326                                 <value>page</value>
22877                         </choice>   23327                         </choice>
22878                 </attribute>   23328                 </attribute>
22879         </optional>   23329         </optional>
22880 </define>   23330 </define>
22881 15.5.14Maximum Hyphens   23331 15.5.14Maximum Hyphens
22882 Use the fo:hyphenation-ladder-count property to specify the maximum number of successive lines that can contain a hyphenated word. See §7.15.2 of [XSL] for details.   23332 Use the fo:hyphenation-ladder-count property to specify the maximum number of successive lines that can contain a hyphenated word. See §7.15.2 of [XSL] for details.
22883 Some application might not support setting the properties fo:hyphenate, fo:hyphenation-keep, fo:hyphenation-remain-char-count,  fo:hyphenation-push-char-count and fo:hyphenation-ladder-count independent of each other within a style. A reasonable default for fo:hyphenation-push-char-count in this case is no-limit.   23333 Some application might not support setting the properties fo:hyphenate, fo:hyphenation-keep, fo:hyphenation-remain-char-count,  fo:hyphenation-push-char-count and fo:hyphenation-ladder-count independent of each other within a style. A reasonable default for fo:hyphenation-push-char-count in this case is no-limit.
22884 <define name="style-paragraph-properties-attlist" combine="interleave">   23334 <define name="style-paragraph-properties-attlist" combine="interleave">
22885         <optional>   23335         <optional>
22886                 <attribute name="fo:hyphenation-ladder-count">   23336                 <attribute name="fo:hyphenation-ladder-count">
22887                         <choice>   23337                         <choice>
22888                                 <value>no-limit</value>   23338                                 <value>no-limit</value>
22889                                 <ref name="positiveInteger"/>   23339                                 <ref name="positiveInteger"/>
22890                         </choice>   23340                         </choice>
22891                 </attribute>   23341                 </attribute>
22892         </optional>   23342         </optional>
22893 </define>   23343 </define>
22894 15.5.15Drop Caps   23344 15.5.15Drop Caps
22895 Use the <style:drop-cap> element to specify if the first character or more of a paragraph is displayed in a larger font. This element can be contained in a <style:paragraph-properties> element.   23345 Use the <style:drop-cap> element to specify if the first character or more of a paragraph is displayed in a larger font. This element can be contained in a <style:paragraph-properties> element.
22896 <define name="style-paragraph-properties-elements" combine="interleave">   23346 <define name="style-paragraph-properties-elements" combine="interleave">
22897         <ref name="style-drop-cap"/>   23347         <ref name="style-drop-cap"/>
22898 </define>   23348 </define>
22899     23349  
22900 <define name="style-drop-cap">   23350 <define name="style-drop-cap">
22901         <optional>   23351         <optional>
22902                 <element name="style:drop-cap">   23352                 <element name="style:drop-cap">
22903                         <ref name="style-drop-cap-attlist"/>   23353                         <ref name="style-drop-cap-attlist"/>
22904                         <empty/>   23354                         <empty/>
22905                 </element>   23355                 </element>
22906         </optional>   23356         </optional>
22907 </define>   23357 </define>
22908 The attributes that may be associated with the <style:drop-cap> element are:   23358 The attributes that may be associated with the <style:drop-cap> element are:
22909 Length   23359 Length
22910 Lines   23360 Lines
22911 Distance   23361 Distance
22912 Text style   23362 Text style
22913 Length   23363 Length
22914 The style:length attribute specifies the number of characters that are dropped.   23364 The style:length attribute specifies the number of characters that are dropped.
22915 The value of this attribute can be a number or word, which indicates that the first word should be dropped.   23365 The value of this attribute can be a number or word, which indicates that the first word should be dropped.
22916 <define name="style-drop-cap-attlist" combine="interleave">   23366 <define name="style-drop-cap-attlist" combine="interleave">
22917         <optional>   23367         <optional>
22918                 <attribute name="style:length" a:defaultValue="1">   23368                 <attribute name="style:length" a:defaultValue="1">
22919                         <choice>   23369                         <choice>
22920                                 <value>word</value>   23370                                 <value>word</value>
22921                                 <ref name="positiveInteger"/>   23371                                 <ref name="positiveInteger"/>
22922                         </choice>   23372                         </choice>
22923                 </attribute>   23373                 </attribute>
22924         </optional>   23374         </optional>
22925 </define>   23375 </define>
22926 Lines   23376 Lines
22927 The style:lines attribute specifies the number of lines that the dropped characters should encircle. If the value of this attribute is 1 or 0, drop caps is disabled.   23377 The style:lines attribute specifies the number of lines that the dropped characters should encircle. If the value of this attribute is 1 or 0, drop caps is disabled.
22928 <define name="style-drop-cap-attlist" combine="interleave">   23378 <define name="style-drop-cap-attlist" combine="interleave">
22929         <optional>   23379         <optional>
22930                 <attribute name="style:lines" a:defaultValue="1">   23380                 <attribute name="style:lines" a:defaultValue="1">
22931                         <ref name="positiveInteger"/>   23381                         <ref name="positiveInteger"/>
22932                 </attribute>   23382                 </attribute>
22933         </optional>   23383         </optional>
22934 </define>   23384 </define>
22935 Distance   23385 Distance
22936 The style:distance attribute specifies the distance between the last dropped character and the first of the remaining characters of each line. The value of this attribute is a length.   23386 The style:distance attribute specifies the distance between the last dropped character and the first of the remaining characters of each line. The value of this attribute is a length.
22937 <define name="style-drop-cap-attlist" combine="interleave">   23387 <define name="style-drop-cap-attlist" combine="interleave">
22938         <optional>   23388         <optional>
22939                 <attribute name="style:distance" a:defaultValue="0cm">   23389                 <attribute name="style:distance" a:defaultValue="0cm">
22940                         <ref name="length"/>   23390                         <ref name="length"/>
22941                 </attribute>   23391                 </attribute>
22942         </optional>   23392         </optional>
22943 </define>   23393 </define>
22944 Text Style   23394 Text Style
22945 The style:style-name attribute specifies the text style to apply to the dropped characters.   23395 The style:style-name attribute specifies the text style to apply to the dropped characters.
22946 <define name="style-drop-cap-attlist" combine="interleave">   23396 <define name="style-drop-cap-attlist" combine="interleave">
22947         <optional>   23397         <optional>
22948                 <attribute name="style:style-name">   23398                 <attribute name="style:style-name">
22949                         <ref name="styleNameRef"/>   23399                         <ref name="styleNameRef"/>
22950                 </attribute>   23400                 </attribute>
22951         </optional>   23401         </optional>
22952 </define>   23402 </define>
22953 15.5.16Register True   23403 15.5.16Register True
22954 The style:register-true property specifies whether the lines on both sides of a printed page match when a document is printed using two-sided printing,  It also ensures that the text in page columns or text box columns is arranged in such a way that the text baselines seem to run from one column to another. See also section 15.2.12.   23404 The style:register-true property specifies whether the lines on both sides of a printed page match when a document is printed using two-sided printing,  It also ensures that the text in page columns or text box columns is arranged in such a way that the text baselines seem to run from one column to another. See also section 15.2.12.
22955 <define name="style-paragraph-properties-attlist" combine="interleave">   23405 <define name="style-paragraph-properties-attlist" combine="interleave">
22956                 <optional>   23406                 <optional>
22957                         <attribute name="style:register-true">   23407                         <attribute name="style:register-true">
22958                                 <ref name="boolean"/>   23408                                 <ref name="boolean"/>
22959                         </attribute>   23409                         </attribute>
22960                 </optional>   23410                 </optional>
22961         </define>   23411         </define>
22962 15.5.17Left and Right Margins   23412 15.5.17Left and Right Margins
22963 Use the fo:margin-left and fo:margin-right properties to specify the left and right margins for a paragraph. See §7.10.3 and §7.10.4 of [XSL] for details. The value auto is not supported. Percentage values are only supported in common styles. They here relate to the corresponding margin of the parent style. <> 23413 Use the fo:margin-left and fo:margin-right properties to specify the left and right margins for a paragraph. See §7.10.3 and §7.10.4 of [XSL] for details. The attributes' values are lengths. If the attribute is contained in a common style, the attributes' values may be also percentages. They here relate to the corresponding margin of the parent style.
22964 For some applications. these two properties must be used simultaneously and also together with the fo:text-indent property. If any of the properties is missing, its value is assumed to be 0cm. = 23414 For some applications. these two properties must be used simultaneously and also together with the fo:text-indent property. If any of the properties is missing, its value is assumed to be 0cm.
22965 <define name="style-paragraph-properties-attlist" combine="interleave">   23415 <define name="style-paragraph-properties-attlist" combine="interleave">
22966         <ref name="common-horizontal-margin-attlist"/>   23416         <ref name="common-horizontal-margin-attlist"/>
22967 </define>   23417 </define>
22968     23418  
22969 <define name="common-horizontal-margin-attlist">   23419 <define name="common-horizontal-margin-attlist">
22970         <optional>   23420         <optional>
22971                 <attribute name="fo:margin-left">   23421                 <attribute name="fo:margin-left">
22972                         <choice>   23422                         <choice>
22973                                 <ref name="length"/>   23423                                 <ref name="length"/>
22974                                 <ref name="percent"/>   23424                                 <ref name="percent"/>
22975                         </choice>   23425                         </choice>
22976                 </attribute>   23426                 </attribute>
22977         </optional>   23427         </optional>
22978         <optional>   23428         <optional>
22979                 <attribute name="fo:margin-right">   23429                 <attribute name="fo:margin-right">
22980                         <choice>   23430                         <choice>
22981                                 <ref name="length"/>   23431                                 <ref name="length"/>
22982                                 <ref name="percent"/>   23432                                 <ref name="percent"/>
22983                         </choice>   23433                         </choice>
22984                 </attribute>   23434                 </attribute>
22985         </optional>   23435         </optional>
22986 </define>   23436 </define>
22987 15.5.18Text Indent   23437 15.5.18Text Indent
22988 Use the fo:text-indent property to specify a positive or negative indent for the first line of a paragraph. See §7.15.11 of [XSL] for details. Percentage values are only supported in common styles. They here relate to the corresponding margin of the parent style. <> 23438 Use the fo:text-indent property to specify a positive or negative indent for the first line of a paragraph. See §7.15.11 of [XSL] for details. The attribute's value is a length. If the attribute is contained in a common style, the attribute's value may be also a percentage. It here relates to the corresponding margin of the parent style.
22989 For some applications. the fo:text-indent property must be used together with the fo:margin-left and fo:margin-right properties. If any of these properties is missing, its value is assumed to be 0cm. = 23439 For some applications. the fo:text-indent property must be used together with the fo:margin-left and fo:margin-right properties. If any of these properties is missing, its value is assumed to be 0cm.
22990 <define name="style-paragraph-properties-attlist" combine="interleave">   23440 <define name="style-paragraph-properties-attlist" combine="interleave">
22991         <optional>   23441         <optional>
22992                 <attribute name="fo:text-indent">   23442                 <attribute name="fo:text-indent">
22993                         <choice>   23443                         <choice>
22994                                 <ref name="length"/>   23444                                 <ref name="length"/>
22995                                 <ref name="percent"/>   23445                                 <ref name="percent"/>
22996                         </choice>   23446                         </choice>
22997                 </attribute>   23447                 </attribute>
22998         </optional>   23448         </optional>
22999 </define>   23449 </define>
23000 15.5.19Automatic Text Indent   23450 15.5.19Automatic Text Indent
23001 Use the style:auto-text-indent property to specify that the first line of a paragraph is indented by a value that is based on the current font size.   23451 Use the style:auto-text-indent property to specify that the first line of a paragraph is indented by a value that is based on the current font size.
23002 For some applications. the style:auto-text-indent property must be used together with the fo:margin-left and fo:margin-right properties. If any of these properties is missing, its value is assumed to be 0cm.   23452 For some applications. the style:auto-text-indent property must be used together with the fo:margin-left and fo:margin-right properties. If any of these properties is missing, its value is assumed to be 0cm.
23003 If this property has a value of true and is used together with a fo:text-indent property, then the fo:text-indent property is ignored.   23453 If this property has a value of true and is used together with a fo:text-indent property, then the fo:text-indent property is ignored.
23004 <define name="style-paragraph-properties-attlist" combine="interleave">   23454 <define name="style-paragraph-properties-attlist" combine="interleave">
23005         <optional>   23455         <optional>
23006                 <attribute name="style:auto-text-indent">   23456                 <attribute name="style:auto-text-indent">
23007                         <ref name="boolean"/>   23457                         <ref name="boolean"/>
23008                 </attribute>   23458                 </attribute>
23009         </optional>   23459         </optional>
23010 </define>   23460 </define>
23011 15.5.20Top and Bottom Margins   23461 15.5.20Top and Bottom Margins
23012 Use the fo:margin-top and fo:margin-bottom properties to specify the top and bottom margins for paragraphs. See §7.10.1 and §7.10.2 of [XSL] for details. The value auto is not supported. Percentage values are only supported in common styles. They here relate to the corresponding margin of the parent style. <> 23462 Use the fo:margin-top and fo:margin-bottom properties to specify the top and bottom margins for paragraphs. See §7.10.1 and §7.10.2 of [XSL] for details. The attributes' values are lengths. If the attribute is contained in a common style, the attributes' values may be also percentages. They here relate to the corresponding margin of the parent style.
23013 For some applications. these two properties must be used simultaneously. If any of the properties is missing, its value is assumed to be 0cm. = 23463 For some applications. these two properties must be used simultaneously. If any of the properties is missing, its value is assumed to be 0cm.
23014 <define name="style-paragraph-properties-attlist" combine="interleave">   23464 <define name="style-paragraph-properties-attlist" combine="interleave">
23015         <ref name="common-vertical-margin-attlist"/>   23465         <ref name="common-vertical-margin-attlist"/>
23016 </define>   23466 </define>
23017     23467  
23018 <define name="common-vertical-margin-attlist">   23468 <define name="common-vertical-margin-attlist">
23019         <optional>   23469         <optional>
23020                 <attribute name="fo:margin-top">   23470                 <attribute name="fo:margin-top">
23021                         <choice>   23471                         <choice>
23022                                 <ref name="nonNegativeLength"/>   23472                                 <ref name="nonNegativeLength"/>
23023                                 <ref name="percent"/>   23473                                 <ref name="percent"/>
23024                         </choice>   23474                         </choice>
23025                 </attribute>   23475                 </attribute>
23026         </optional>   23476         </optional>
23027         <optional>   23477         <optional>
23028                 <attribute name="fo:margin-bottom">   23478                 <attribute name="fo:margin-bottom">
23029                         <choice>   23479                         <choice>
23030                                 <ref name="nonNegativeLength"/>   23480                                 <ref name="nonNegativeLength"/>
23031                                 <ref name="percent"/>   23481                                 <ref name="percent"/>
23032                         </choice>   23482                         </choice>
23033                 </attribute>   23483                 </attribute>
23034         </optional>   23484         </optional>
23035 </define>   23485 </define>
23036 15.5.21Margins   23486 15.5.21Margins
23037 Use the fo:margin property to specify the top, bottom, left and right margins for paragraphs simultaneously. See §7.29.4 of [XSL] and sections 15.5.17 and 15.5.20 for details.   23487 Use the fo:margin property to specify the top, bottom, left and right margins for paragraphs simultaneously. See §7.29.4 of [XSL] and sections 15.5.17 and 15.5.20 for details.
23038 <define name="style-paragraph-properties-attlist" combine="interleave">   23488 <define name="style-paragraph-properties-attlist" combine="interleave">
23039         <ref name="common-margin-attlist"/>   23489         <ref name="common-margin-attlist"/>
23040 </define>   23490 </define>
23041     23491  
23042 <define name="common-margin-attlist">   23492 <define name="common-margin-attlist">
23043         <optional>   23493         <optional>
23044                 <attribute name="fo:margin">   23494                 <attribute name="fo:margin">
23045                         <choice>   23495                         <choice>
23046                                 <ref name="nonNegativeLength"/>   23496                                 <ref name="nonNegativeLength"/>
23047                                 <ref name="percent"/>   23497                                 <ref name="percent"/>
23048                         </choice>   23498                         </choice>
23049                 </attribute>   23499                 </attribute>
23050         </optional>   23500         </optional>
23051 </define>   23501 </define>
23052 15.5.22Break Before and Break After   23502 15.5.22Break Before and Break After
23053 Use the fo:break-before and fo:break-after properties to insert a page or column break before or after a paragraph. See §7.19.1 and §7.19.2 of [XSL] for details. The values odd-page and even-page are not supported.   23503 Use the fo:break-before and fo:break-after properties to insert a page or column break before or after a paragraph. See §7.19.1 and §7.19.2 of [XSL] for details. The values odd-page and even-page are not supported.
23054 These two properties are mutually exclusive. If they are used simultaneously, the result is undefined.   23504 These two properties are mutually exclusive. If they are used simultaneously, the result is undefined.
23055 <define name="style-paragraph-properties-attlist" combine="interleave">   23505 <define name="style-paragraph-properties-attlist" combine="interleave">
23056         <ref name="common-break-attlist"/>   23506         <ref name="common-break-attlist"/>
23057 </define>   23507 </define>
23058     23508  
23059 <define name="common-break-attlist">   23509 <define name="common-break-attlist">
23060         <optional>   23510         <optional>
23061                 <attribute name="fo:break-before">   23511                 <attribute name="fo:break-before">
23062                         <choice>   23512                         <choice>
23063                                 <value>auto</value>   23513                                 <value>auto</value>
23064                                 <value>column</value>   23514                                 <value>column</value>
23065                                 <value>page</value>   23515                                 <value>page</value>
23066                         </choice>   23516                         </choice>
23067                 </attribute>   23517                 </attribute>
23068         </optional>   23518         </optional>
23069         <optional>   23519         <optional>
23070                 <attribute name="fo:break-after">   23520                 <attribute name="fo:break-after">
23071                         <choice>   23521                         <choice>
23072                                 <value>auto</value>   23522                                 <value>auto</value>
23073                                 <value>column</value>   23523                                 <value>column</value>
23074                                 <value>page</value>   23524                                 <value>page</value>
23075                         </choice>   23525                         </choice>
23076                 </attribute>   23526                 </attribute>
23077         </optional>   23527         </optional>
23078 </define>   23528 </define>
23079 15.5.23Paragraph Background Color   23529 15.5.23Paragraph Background Color
23080 Use the fo:background-color property to specify the background color of a paragraph. See §7.7.2 of [XSL] for details.   23530 Use the fo:background-color property to specify the background color of a paragraph. See §7.7.2 of [XSL] for details.
23081 The value of this attribute can be either transparent or it can be a color. If the value is transparent, it switches off any background image that is specified by a <style:background-image> element simultaneously.   23531 The value of this attribute can be either transparent or it can be a color. If the value is transparent, it switches off any background image that is specified by a <style:background-image> element simultaneously.
23082 <define name="style-paragraph-properties-attlist" combine="interleave">   23532 <define name="style-paragraph-properties-attlist" combine="interleave">
23083         <ref name="common-background-color-attlist"/>   23533         <ref name="common-background-color-attlist"/>
23084 </define>   23534 </define>
23085     23535  
23086 <define name="common-background-color-attlist">   23536 <define name="common-background-color-attlist">
23087         <optional>   23537         <optional>
23088                 <attribute name="fo:background-color">   23538                 <attribute name="fo:background-color">
23089                         <choice>   23539                         <choice>
23090                                 <value>transparent</value>   23540                                 <value>transparent</value>
23091                                 <ref name="color"/>   23541                                 <ref name="color"/>
23092                         </choice>   23542                         </choice>
23093                 </attribute>   23543                 </attribute>
23094         </optional>   23544         </optional>
23095 </define>   23545 </define>
23096 15.5.24Paragraph Background Image   23546 15.5.24Paragraph Background Image
23097 Use the <style:background-image> element to specify a background image for a paragraph.   23547 Use the <style:background-image> element to specify a background image for a paragraph.
23098 The background image can be stored in one of the following ways (see also section 9.3.2):   23548 The background image can be stored in one of the following ways (see also section 9.3.2):
23099 The image data is stored in an external file. Use the [XLink] attributes to specify the location of the image.   23549 The image data is stored in an external file. Use the [XLink] attributes to specify the location of the image.
23100 The image data is contained in an <office:binary-data> sub-element in BASE64 encoding.   23550 The image data is contained in an <office:binary-data> sub-element in BASE64 encoding.
23101 If the <style:background-image> element is empty and if there is no color specified by an fo:background-color element in the same properties element, the background color is set to transparent.   23551 If the <style:background-image> element is empty and if there is no color specified by an fo:background-color element in the same properties element, the background color is set to transparent.
23102 <define name="style-paragraph-properties-elements" combine="interleave">   23552 <define name="style-paragraph-properties-elements" combine="interleave">
23103         <ref name="style-background-image"/>   23553         <ref name="style-background-image"/>
23104 </define>   23554 </define>
23105     23555  
23106 <define name="style-background-image">   23556 <define name="style-background-image">
23107         <optional>   23557         <optional>
23108                 <element name="style:background-image">   23558                 <element name="style:background-image">
23109                         <ref name="style-background-image-attlist"/>   23559                         <ref name="style-background-image-attlist"/>
23110                         <choice>   23560                         <choice>
23111                                 <ref name="common-draw-data-attlist"/>   23561                                 <ref name="common-draw-data-attlist"/>
23112                                 <ref name="office-binary-data"/>   23562                                 <ref name="office-binary-data"/>
23113                                 <empty/>   23563                                 <empty/>
23114                         </choice>   23564                         </choice>
23115                 </element>   23565                 </element>
23116         </optional>   23566         </optional>
23117 </define>   23567 </define>
23118 The attributes that may be associated with the <style:background-image> element are:   23568 The attributes that may be associated with the <style:background-image> element are:
23119 Repetition   23569 Repetition
23120 Position   23570 Position
23121 Filter   23571 Filter
23122 Opacity   23572 Opacity
23123 Repetition   23573 Repetition
23124 The style:repeat attribute specifies whether a background image is repeated or stretched in a paragraph.   23574 The style:repeat attribute specifies whether a background image is repeated or stretched in a paragraph.
23125 This attribute is attached to the <style:background-image> element and its value can be no-repeat, repeat, or stretch.   23575 This attribute is attached to the <style:background-image> element and its value can be no-repeat, repeat, or stretch.
23126 <define name="style-background-image-attlist" combine="interleave">   23576 <define name="style-background-image-attlist" combine="interleave">
23127         <optional>   23577         <optional>
23128                 <attribute name="style:repeat" a:defaultValue="repeat">   23578                 <attribute name="style:repeat" a:defaultValue="repeat">
23129                         <choice>   23579                         <choice>
23130                                 <value>no-repeat</value>   23580                                 <value>no-repeat</value>
23131                                 <value>repeat</value>   23581                                 <value>repeat</value>
23132                                 <value>stretch</value>   23582                                 <value>stretch</value>
23133                         </choice>   23583                         </choice>
23134                 </attribute>   23584                 </attribute>
23135         </optional>   23585         </optional>
23136 </define>   23586 </define>
23137 Position   23587 Position
23138 The style:position attribute specifies where to position a background image in a paragraph.   23588 The style:position attribute specifies where to position a background image in a paragraph.
23139 This attribute is attached to the <style:background-image> element and its value can be a space separated combination of top, center or bottom for the vertical position and left, center or right for the horizontal position. The vertical and horizontal positions can be specified in any order. If one position is specified,  the other position defaults to center.   23589 This attribute is attached to the <style:background-image> element and its value can be a space separated combination of top, center or bottom for the vertical position and left, center or right for the horizontal position. The vertical and horizontal positions can be specified in any order. If one position is specified,  the other position defaults to center.
23140 <define name="style-background-image-attlist" combine="interleave">   23590 <define name="style-background-image-attlist" combine="interleave">
23141         <optional>   23591         <optional>
23142                 <attribute name="style:position" a:defaultValue="center">   23592                 <attribute name="style:position" a:defaultValue="center">
23143                         <choice>   23593                         <choice>
23144                                 <value>left</value>   23594                                 <value>left</value>
23145                                 <value>center</value>   23595                                 <value>center</value>
23146                                 <value>right</value>   23596                                 <value>right</value>
23147                                 <value>top</value>   23597                                 <value>top</value>
23148                                 <value>bottom</value>   23598                                 <value>bottom</value>
23149                                 <list>   23599                                 <list>
23150                                         <ref name="horiBackPos"/>   23600                                         <ref name="horiBackPos"/>
23151                                         <ref name="vertBackPos"/>   23601                                         <ref name="vertBackPos"/>
23152                                 </list>   23602                                 </list>
23153                                 <list>   23603                                 <list>
23154                                         <ref name="vertBackPos"/>   23604                                         <ref name="vertBackPos"/>
23155                                         <ref name="horiBackPos"/>   23605                                         <ref name="horiBackPos"/>
23156                                 </list>   23606                                 </list>
23157                         </choice>   23607                         </choice>
23158                 </attribute>   23608                 </attribute>
23159         </optional>   23609         </optional>
23160 </define>   23610 </define>
23161     23611  
23162 <define name="horiBackPos">   23612 <define name="horiBackPos">
23163         <choice>   23613         <choice>
23164                 <value>left</value>   23614                 <value>left</value>
23165                 <value>center</value>   23615                 <value>center</value>
23166                 <value>right</value>   23616                 <value>right</value>
23167         </choice>   23617         </choice>
23168 </define>   23618 </define>
23169 <define name="vertBackPos">   23619 <define name="vertBackPos">
23170         <choice>   23620         <choice>
23171                 <value>top</value>   23621                 <value>top</value>
23172                 <value>center</value>   23622                 <value>center</value>
23173                 <value>bottom</value>   23623                 <value>bottom</value>
23174         </choice>   23624         </choice>
23175 </define>   23625 </define>
23176 Filter   23626 Filter
23177 The style:filter-name attribute specifies the application specific filter name that is used to load the image into the document.   23627 The style:filter-name attribute specifies the application specific filter name that is used to load the image into the document.
23178 This attribute is attached to the <style:background-image> element.   23628 This attribute is attached to the <style:background-image> element.
23179 <define name="style-background-image-attlist" combine="interleave">   23629 <define name="style-background-image-attlist" combine="interleave">
23180         <optional>   23630         <optional>
23181                 <attribute name="style:filter-name">   23631                 <attribute name="style:filter-name">
23182                         <ref name="string"/>   23632                         <ref name="string"/>
23183                 </attribute>   23633                 </attribute>
23184         </optional>   23634         </optional>
23185 </define>   23635 </define>
23186 Opacity   23636 Opacity
23187 The draw:opacity attribute specifies the opacity of the background image. The value is a percentage, where 0% is fully transparent and 100% is fully opaque.   23637 The draw:opacity attribute specifies the opacity of the background image. The value is a percentage, where 0% is fully transparent and 100% is fully opaque.
23188 <define name="style-background-image-attlist" combine="interleave">   23638 <define name="style-background-image-attlist" combine="interleave">
23189         <optional>   23639         <optional>
23190                 <attribute name="draw:opacity">   23640                 <attribute name="draw:opacity">
23191                         <ref name="percent"/>   23641                         <ref name="percent"/>
23192                 </attribute>   23642                 </attribute>
23193         </optional>   23643         </optional>
23194 </define>   23644 </define>
23195 15.5.25Border   23645 15.5.25Border
23196 Use the border properties fo:border, fo:border-top, fo:border-bottom, fo:border-left and fo:border-right to specify the border properties for paragraphs. See §7.29.3 - §7.29.7 of [XSL] for details.   23646 Use the border properties fo:border, fo:border-top, fo:border-bottom, fo:border-left and fo:border-right to specify the border properties for paragraphs. See §7.29.3 - §7.29.7 of [XSL] for details.
23197 The fo:border property applies to all four sides of a paragraph while the other properties apply to one side only.   23647 The fo:border property applies to all four sides of a paragraph while the other properties apply to one side only.
23198 For some applications, all four borders must be set simultaneously by using either the fo:border property or by attaching all four of the other border properties to a properties element. In the latter case, if one or more of the properties is missing their values are assumed to be none.   23648 For some applications, all four borders must be set simultaneously by using either the fo:border property or by attaching all four of the other border properties to a properties element. In the latter case, if one or more of the properties is missing their values are assumed to be none.
23199 There may be also restriction regarding the border styles and widths that are supported. In addition to this, some applications may add a default padding for sides that have a border.   23649 There may be also restriction regarding the border styles and widths that are supported. In addition to this, some applications may add a default padding for sides that have a border.
23200 <define name="style-paragraph-properties-attlist" combine="interleave">   23650 <define name="style-paragraph-properties-attlist" combine="interleave">
23201         <ref name="common-border-attlist"/>   23651         <ref name="common-border-attlist"/>
23202 </define>   23652 </define>
23203     23653  
23204 <define name="common-border-attlist">   23654 <define name="common-border-attlist">
23205         <optional>   23655         <optional>
23206                 <attribute name="fo:border">   23656                 <attribute name="fo:border">
23207                         <ref name="string"/>   23657                         <ref name="string"/>
23208                 </attribute>   23658                 </attribute>
23209         </optional>   23659         </optional>
23210         <optional>   23660         <optional>
23211                 <attribute name="fo:border-top">   23661                 <attribute name="fo:border-top">
23212                         <ref name="string"/>   23662                         <ref name="string"/>
23213                 </attribute>   23663                 </attribute>
23214         </optional>   23664         </optional>
23215         <optional>   23665         <optional>
23216                 <attribute name="fo:border-bottom">   23666                 <attribute name="fo:border-bottom">
23217                         <ref name="string"/>   23667                         <ref name="string"/>
23218                 </attribute>   23668                 </attribute>
23219         </optional>   23669         </optional>
23220         <optional>   23670         <optional>
23221                 <attribute name="fo:border-left">   23671                 <attribute name="fo:border-left">
23222                         <ref name="string"/>   23672                         <ref name="string"/>
23223                 </attribute>   23673                 </attribute>
23224         </optional>   23674         </optional>
23225         <optional>   23675         <optional>
23226                 <attribute name="fo:border-right">   23676                 <attribute name="fo:border-right">
23227                         <ref name="string"/>   23677                         <ref name="string"/>
23228                 </attribute>   23678                 </attribute>
23229         </optional>   23679         </optional>
23230 </define>   23680 </define>
23231 15.5.26Border Line Width   23681 15.5.26Border Line Width
23232 If the line style for a border is double, use the border line properties style:border-line-width, style:border-line-width-top, style:border-line-width-bottom, style:border-line-width-left and style:border-line-width-right to individually specify the width of the inner and outer lines and the distance between them.   23682 If the line style for a border is double, use the border line properties style:border-line-width, style:border-line-width-top, style:border-line-width-bottom, style:border-line-width-left and style:border-line-width-right to individually specify the width of the inner and outer lines and the distance between them.
23233 The style:border-line-width specifies the line widths of all four sides, while the other attributes specify the line widths of one side only.   23683 The style:border-line-width specifies the line widths of all four sides, while the other attributes specify the line widths of one side only.
23234 The value of the attributes can be a list of three space-separated lengths, as follows:   23684 The value of the attributes can be a list of three space-separated lengths, as follows:
23235 The first value specifies the width of the inner line   23685 The first value specifies the width of the inner line
23236 The second value specified the distance between the two lines   23686 The second value specified the distance between the two lines
23237 The third value specifies the width of the outer line   23687 The third value specifies the width of the outer line
23238 The result of specifying a border line width without specifying a border width style of double for the same border is undefined.   23688 The result of specifying a border line width without specifying a border width style of double for the same border is undefined.
23239 <define name="style-paragraph-properties-attlist" combine="interleave">   23689 <define name="style-paragraph-properties-attlist" combine="interleave">
23240         <ref name="common-border-line-width-attlist"/>   23690         <ref name="common-border-line-width-attlist"/>
23241 </define>   23691 </define>
23242     23692  
23243 <define name="common-border-line-width-attlist">   23693 <define name="common-border-line-width-attlist">
23244         <optional>   23694         <optional>
23245                 <attribute name="style:border-line-width">   23695                 <attribute name="style:border-line-width">
23246                         <ref name="borderWidths"/>   23696                         <ref name="borderWidths"/>
23247                 </attribute>   23697                 </attribute>
23248         </optional>   23698         </optional>
23249         <optional>   23699         <optional>
23250                 <attribute name="style:border-line-width-top">   23700                 <attribute name="style:border-line-width-top">
23251                         <ref name="borderWidths"/>   23701                         <ref name="borderWidths"/>
23252                 </attribute>   23702                 </attribute>
23253         </optional>   23703         </optional>
23254         <optional>   23704         <optional>
23255                 <attribute name="style:border-line-width-bottom">   23705                 <attribute name="style:border-line-width-bottom">
23256                         <ref name="borderWidths"/>   23706                         <ref name="borderWidths"/>
23257                 </attribute>   23707                 </attribute>
23258         </optional>   23708         </optional>
23259         <optional>   23709         <optional>
23260                 <attribute name="style:border-line-width-left">   23710                 <attribute name="style:border-line-width-left">
23261                         <ref name="borderWidths"/>   23711                         <ref name="borderWidths"/>
23262                 </attribute>   23712                 </attribute>
23263         </optional>   23713         </optional>
23264         <optional>   23714         <optional>
23265                 <attribute name="style:border-line-width-right">   23715                 <attribute name="style:border-line-width-right">
23266                         <ref name="borderWidths"/>   23716                         <ref name="borderWidths"/>
23267                 </attribute>   23717                 </attribute>
23268         </optional>   23718         </optional>
23269 </define>   23719 </define>
23270     23720  
23271 <define name="borderWidths">   23721 <define name="borderWidths">
23272         <list>   23722         <list>
23273                 <ref name="positiveLength"/>   23723                 <ref name="positiveLength"/>
23274                 <ref name="positiveLength"/>   23724                 <ref name="positiveLength"/>
23275                 <ref name="positiveLength"/>   23725                 <ref name="positiveLength"/>
23276         </list>   23726         </list>
23277 </define>   23727 </define>
23278 15.5.27Padding   23728 15.5.27Padding
23279 Use the padding properties fo:padding, fo:padding-top, fo:padding-bottom, fo:padding-left and fo:padding-right to specify the spacing around a paragraph. See §7.29.15 and §7.7.35- §7.7.38 of [XSL] for details.   23729 Use the padding properties fo:padding, fo:padding-top, fo:padding-bottom, fo:padding-left and fo:padding-right to specify the spacing around a paragraph. See §7.29.15 and §7.7.35- §7.7.38 of [XSL] for details.
23280 For some application, the value of these properties can be a non-zero value only if there is a border at the same side and the border is specified within the same properties element. If a properties element contains a padding specification for one but not all four sides, some applications may also assign a zero or a default padding to these sides depending on whether or not there is a border at that side. There might be also other restriction regarding the combination of borders and paddings.   23730 For some application, the value of these properties can be a non-zero value only if there is a border at the same side and the border is specified within the same properties element. If a properties element contains a padding specification for one but not all four sides, some applications may also assign a zero or a default padding to these sides depending on whether or not there is a border at that side. There might be also other restriction regarding the combination of borders and paddings.
23281 <define name="style-paragraph-properties-attlist" combine="interleave">   23731 <define name="style-paragraph-properties-attlist" combine="interleave">
23282         <ref name="common-padding-attlist"/>   23732         <ref name="common-padding-attlist"/>
23283 </define>   23733 </define>
23284     23734  
23285 <define name="common-padding-attlist">   23735 <define name="common-padding-attlist">
23286         <optional>   23736         <optional>
23287                 <attribute name="fo:padding">   23737                 <attribute name="fo:padding">
23288                         <ref name="nonNegativeLength"/>   23738                         <ref name="nonNegativeLength"/>
23289                 </attribute>   23739                 </attribute>
23290         </optional>   23740         </optional>
23291         <optional>   23741         <optional>
23292                 <attribute name="fo:padding-top">   23742                 <attribute name="fo:padding-top">
23293                         <ref name="nonNegativeLength"/>   23743                         <ref name="nonNegativeLength"/>
23294                 </attribute>   23744                 </attribute>
23295         </optional>   23745         </optional>
23296         <optional>   23746         <optional>
23297                 <attribute name="fo:padding-bottom">   23747                 <attribute name="fo:padding-bottom">
23298                         <ref name="nonNegativeLength"/>   23748                         <ref name="nonNegativeLength"/>
23299                 </attribute>   23749                 </attribute>
23300         </optional>   23750         </optional>
23301         <optional>   23751         <optional>
23302                 <attribute name="fo:padding-left">   23752                 <attribute name="fo:padding-left">
23303                         <ref name="nonNegativeLength"/>   23753                         <ref name="nonNegativeLength"/>
23304                 </attribute>   23754                 </attribute>
23305         </optional>   23755         </optional>
23306         <optional>   23756         <optional>
23307                 <attribute name="fo:padding-right">   23757                 <attribute name="fo:padding-right">
23308                         <ref name="nonNegativeLength"/>   23758                         <ref name="nonNegativeLength"/>
23309                 </attribute>   23759                 </attribute>
23310         </optional>   23760         </optional>
23311 </define>   23761 </define>
23312 15.5.28Shadow   23762 15.5.28Shadow
23313 Use the style:shadow property to specify a shadow effect for the paragraph.   23763 Use the style:shadow property to specify a shadow effect for the paragraph.
23314 The valid values for this attribute are the same as the values for the fo:text-shadow property. See section 15.4.27 for information.   23764 The valid values for this attribute are the same as the values for the fo:text-shadow property. See section 15.4.27 for information.
23315 Some applications may only supports a limited number of shadow effects, for instance only one effect where the the horizontal and vertical positions have the same value.   23765 Some applications may only supports a limited number of shadow effects, for instance only one effect where the the horizontal and vertical positions have the same value.
23316 <define name="style-paragraph-properties-attlist" combine="interleave">   23766 <define name="style-paragraph-properties-attlist" combine="interleave">
23317         <ref name="common-shadow-attlist"/>   23767         <ref name="common-shadow-attlist"/>
23318 </define>   23768 </define>
23319     23769  
23320 <define name="common-shadow-attlist">   23770 <define name="common-shadow-attlist">
23321         <optional>   23771         <optional>
23322                 <attribute name="style:shadow">   23772                 <attribute name="style:shadow">
23323                         <ref name="shadowType"/>   23773                         <ref name="shadowType"/>
23324                 </attribute>   23774                 </attribute>
23325         </optional>   23775         </optional>
23326 </define>   23776 </define>
23327 15.5.29Keep with Next   23777 15.5.29Keep with Next
23328 Use the fo:keep-with-next property to specify whether or not to keep the current paragraph and the next paragraph together on a page or in a column after a break is inserted. See §7.9.14 of  [XSL] for details. The only supported values are auto and always.   23778 Use the fo:keep-with-next property to specify whether or not to keep the current paragraph and the next paragraph together on a page or in a column after a break is inserted. See §7.9.14 of  [XSL] for details. The only supported values are auto and always.
23329 <define name="style-paragraph-properties-attlist" combine="interleave">   23779 <define name="style-paragraph-properties-attlist" combine="interleave">
23330         <ref name="common-keep-with-next-attlist"/>   23780         <ref name="common-keep-with-next-attlist"/>
23331 </define>   23781 </define>
23332     23782  
23333 <define name="common-keep-with-next-attlist">   23783 <define name="common-keep-with-next-attlist">
23334         <optional>   23784         <optional>
23335                 <attribute name="fo:keep-with-next">   23785                 <attribute name="fo:keep-with-next">
23336                         <choice>   23786                         <choice>
23337                                 <value>auto</value>   23787                                 <value>auto</value>
23338                                 <value>always</value>   23788                                 <value>always</value>
23339                         </choice>   23789                         </choice>
23340                 </attribute>   23790                 </attribute>
23341         </optional>   23791         </optional>
23342 </define>   23792 </define>
23343 15.5.30Line Numbering   23793 15.5.30Line Numbering
23344 The text:number-lines attribute controls whether or not lines are numbered.   23794 The text:number-lines attribute controls whether or not lines are numbered.
23345 <define name="style-paragraph-properties-attlist" combine="interleave">   23795 <define name="style-paragraph-properties-attlist" combine="interleave">
23346         <optional>   23796         <optional>
23347                 <attribute name="text:number-lines" a:defaultValue="false">   23797                 <attribute name="text:number-lines" a:defaultValue="false">
23348                         <ref name="boolean"/>   23798                         <ref name="boolean"/>
23349                 </attribute>   23799                 </attribute>
23350         </optional>   23800         </optional>
23351 </define>   23801 </define>
23352 15.5.31Line Number Start Value   23802 15.5.31Line Number Start Value
23353 The text:line-number  property specifies a new start value for line numbering. The attribute is only recognized if there is also a text:number-lines attribute with a value of true in the same properties element.   23803 The text:line-number  property specifies a new start value for line numbering. The attribute is only recognized if there is also a text:number-lines attribute with a value of true in the same properties element.
23354 <define name="style-paragraph-properties-attlist" combine="interleave">   23804 <define name="style-paragraph-properties-attlist" combine="interleave">
23355         <optional>   23805         <optional>
23356                 <attribute name="text:line-number">   23806                 <attribute name="text:line-number">
23357                         <ref name="nonNegativeInteger"/>   23807                         <ref name="nonNegativeInteger"/>
23358                 </attribute>   23808                 </attribute>
23359         </optional>   23809         </optional>
23360 </define>   23810 </define>
23361 15.5.32Text Autospace   23811 15.5.32Text Autospace
23362 Use the style:text-autospace property to specify whether to add space between Asian, western, and complex text.   23812 Use the style:text-autospace property to specify whether to add space between Asian, western, and complex text.
23363 The possible values are none and ideograph-alpha.   23813 The possible values are none and ideograph-alpha.
23364 <define name="style-paragraph-properties-attlist" combine="interleave">   23814 <define name="style-paragraph-properties-attlist" combine="interleave">
23365         <optional>   23815         <optional>
23366                 <attribute name="style:text-autospace">   23816                 <attribute name="style:text-autospace">
23367                         <choice>   23817                         <choice>
23368                                 <value>none</value>   23818                                 <value>none</value>
23369                                 <value>ideograph-alpha</value>   23819                                 <value>ideograph-alpha</value>
23370                         </choice>   23820                         </choice>
23371                 </attribute>   23821                 </attribute>
23372         </optional>   23822         </optional>
23373 </define>   23823 </define>
23374 15.5.33Punctuation Wrap   23824 15.5.33Punctuation Wrap
23375 Use the style:punctuation-wrap property to determine whether or not a punctuation mark, if one is present, can be hanging, that is, whether it can placed in the margin area at the end of a full line of text. This is a common setting in East Asian typography.   23825 Use the style:punctuation-wrap property to determine whether or not a punctuation mark, if one is present, can be hanging, that is, whether it can placed in the margin area at the end of a full line of text. This is a common setting in East Asian typography.
23376 <define name="style-paragraph-properties-attlist" combine="interleave">   23826 <define name="style-paragraph-properties-attlist" combine="interleave">
23377         <optional>   23827         <optional>
23378                 <attribute name="style:punctuation-wrap">   23828                 <attribute name="style:punctuation-wrap">
23379                         <choice>   23829                         <choice>
23380                                 <value>simple</value>   23830                                 <value>simple</value>
23381                                 <value>hanging</value>   23831                                 <value>hanging</value>
23382                         </choice>   23832                         </choice>
23383                 </attribute>   23833                 </attribute>
23384         </optional>   23834         </optional>
23385 </define>   23835 </define>
23386 15.5.34Line Break   23836 15.5.34Line Break
23387 Use the style:line-break property to select the set of line breaking rules to use for text. If the value is strict, line breaks are forbidden between certain user and application configurable characters. If the value is normal, line breaks may occur between arbitrary characters.   23837 Use the style:line-break property to select the set of line breaking rules to use for text. If the value is strict, line breaks are forbidden between certain user and application configurable characters. If the value is normal, line breaks may occur between arbitrary characters.
23388 <define name="style-paragraph-properties-attlist" combine="interleave">   23838 <define name="style-paragraph-properties-attlist" combine="interleave">
23389         <optional>   23839         <optional>
23390                 <attribute name="style:line-break">   23840                 <attribute name="style:line-break">
23391                         <choice>   23841                         <choice>
23392                                 <value>normal</value>   23842                                 <value>normal</value>
23393                                 <value>strict</value>   23843                                 <value>strict</value>
23394                         </choice>   23844                         </choice>
23395                 </attribute>   23845                 </attribute>
23396         </optional>   23846         </optional>
23397 </define>   23847 </define>
23398 15.5.35Vertical Alignment   23848 15.5.35Vertical Alignment
23399 The style:vertical-align property specifies the vertical position of a character. By default characters are aligned according to their baseline, which is the default for most European languages. This is also the alignment used in this specification. Alternatively, characters may be vertically aligned as follows:   23849 The style:vertical-align property specifies the vertical position of a character. By default characters are aligned according to their baseline, which is the default for most European languages. This is also the alignment used in this specification. Alternatively, characters may be vertically aligned as follows:
23400 bottom  — To the bottom of the line.   23850 bottom  — To the bottom of the line.
23401 top  —To the top of the line.   23851 top  —To the top of the line.
23402 middle  —To the center of the line.   23852 middle  —To the center of the line.
23403 auto  — Automatically, which sets the vertical alignment to suit the text rotation. Text that is rotated 0 or 90 degrees is aligned to the baseline, while text that is rotated 270 degrees is aligned to the center of the line.   23853 auto  — Automatically, which sets the vertical alignment to suit the text rotation. Text that is rotated 0 or 90 degrees is aligned to the baseline, while text that is rotated 270 degrees is aligned to the center of the line.
23404 The following graphic illustrates the effect of the vertical alignment property when it is set to baseline, top, bottom, and center respectively. <> 23854 The following graphic illustrates the effect of the vertical alignment property when it is set to baseline, top, bottom, and middle respectively.
23405   = 23855  
23406 <define name="style-paragraph-properties-attlist" combine="interleave">   23856 <define name="style-paragraph-properties-attlist" combine="interleave">
23407         <optional>   23857         <optional>
23408                 <attribute name="style:vertical-align" a:defaultValue="auto">   23858                 <attribute name="style:vertical-align" a:defaultValue="auto">
23409                         <choice>   23859                         <choice>
23410                                 <value>top</value>   23860                                 <value>top</value>
23411                                 <value>middle</value>   23861                                 <value>middle</value>
23412                                 <value>bottom</value>   23862                                 <value>bottom</value>
23413                                 <value>auto</value>   23863                                 <value>auto</value>
    -+ 23864                                 <value>baseline</value>
23414                         </choice> = 23865                         </choice>
23415                 </attribute>   23866                 </attribute>
23416         </optional>   23867         </optional>
23417 </define>   23868 </define>
23418 15.5.36Writing Mode   23869 15.5.36Writing Mode
23419 The style:writing mode attribute specifies the writing mode of a paragraph. The attribute is similar to the writing-mode attribute specified in §7.27.7 of [XSL], except hat it has the additional value page. This value specifies that the writing mode is inherited from the page that contains the paragraph.   23870 The style:writing mode attribute specifies the writing mode of a paragraph. The attribute is similar to the writing-mode attribute specified in §7.27.7 of [XSL], except hat it has the additional value page. This value specifies that the writing mode is inherited from the page that contains the paragraph.
23420 <define name="style-paragraph-properties-attlist" combine="interleave">   23871 <define name="style-paragraph-properties-attlist" combine="interleave">
23421         <ref name="common-writing-mode-attlist"/>   23872         <ref name="common-writing-mode-attlist"/>
23422 </define>   23873 </define>
23423     23874  
23424 <define name="common-writing-mode-attlist">   23875 <define name="common-writing-mode-attlist">
23425         <optional>   23876         <optional>
23426                 <attribute name="style:writing-mode">   23877                 <attribute name="style:writing-mode">
23427                         <choice>   23878                         <choice>
23428                                 <value>lr-tb</value>   23879                                 <value>lr-tb</value>
23429                                 <value>rl-tb</value>   23880                                 <value>rl-tb</value>
23430                                 <value>tb-rl</value>   23881                                 <value>tb-rl</value>
23431                                 <value>tb-lr</value>   23882                                 <value>tb-lr</value>
23432                                 <value>lr</value>   23883                                 <value>lr</value>
23433                                 <value>rl</value>   23884                                 <value>rl</value>
23434                                 <value>tb</value>   23885                                 <value>tb</value>
23435                                 <value>page</value>   23886                                 <value>page</value>
23436                         </choice>   23887                         </choice>
23437                 </attribute>   23888                 </attribute>
23438         </optional>   23889         </optional>
23439 </define>   23890 </define>
23440 15.5.37Automatic Writing Mode   23891 15.5.37Automatic Writing Mode
23441 If the style:writing-mode-automatic attribute is given for a paragraph and if its value is true, then an application is allowed to recalculate the writing mode of the paragraph based on its content whenever the content changes. The actual value for the writing-mode should be contained in style:writing-mode attribute, so that applications that do not support an automatic writing mode calculation or use a different algorithm always know the actual value.   23892 If the style:writing-mode-automatic attribute is given for a paragraph and if its value is true, then an application is allowed to recalculate the writing mode of the paragraph based on its content whenever the content changes. The actual value for the writing-mode should be contained in style:writing-mode attribute, so that applications that do not support an automatic writing mode calculation or use a different algorithm always know the actual value.
23442 By specifying a fo:text-align='start' attribute additionally, the text alignment can be adapted to the writing mode simultaneously.   23893 By specifying a fo:text-align='start' attribute additionally, the text alignment can be adapted to the writing mode simultaneously.
23443 <define name="style-paragraph-properties-attlist" combine="interleave">   23894 <define name="style-paragraph-properties-attlist" combine="interleave">
23444         <optional>   23895         <optional>
23445                 <attribute name="style:writing-mode-automatic">   23896                 <attribute name="style:writing-mode-automatic">
23446                         <ref name="boolean"/>   23897                         <ref name="boolean"/>
23447                 </attribute>   23898                 </attribute>
23448         </optional>   23899         </optional>
23449 </define>   23900 </define>
23450 15.5.38Snap To Layout   23901 15.5.38Snap To Layout
23451 The style:snap-to layout-grid attribute specifies whether the paragraph should consider the layout grid settings of the page. See section 15.2.21.   23902 The style:snap-to layout-grid attribute specifies whether the paragraph should consider the layout grid settings of the page. See section 15.2.21.
23452 <define name="style-paragraph-properties-attlist" combine="interleave">   23903 <define name="style-paragraph-properties-attlist" combine="interleave">
23453         <optional>   23904         <optional>
23454                 <attribute name="style:snap-to-layout-grid">   23905                 <attribute name="style:snap-to-layout-grid">
23455                         <ref name="boolean"/>   23906                         <ref name="boolean"/>
23456                 </attribute>   23907                 </attribute>
23457         </optional>   23908         </optional>
23458 </define>   23909 </define>
23459 15.5.39Page Number   23910 15.5.39Page Number
23460 If a paragraph style specifies a master page that should be applied beginning from the start of the paragraph, the style:page-number attribute specifies the page number that should be used for new page.   23911 If a paragraph style specifies a master page that should be applied beginning from the start of the paragraph, the style:page-number attribute specifies the page number that should be used for new page.
    -+ 23912 The attribute value can be an integer value or the value auto. An integer value specifies the page number of the new page directly. The value auto specifies that the page gets the page number of the previous page, incremented by one.
23461 <define name="style-paragraph-properties-attlist" combine="interleave"> = 23913 <define name="style-paragraph-properties-attlist" combine="interleave">
23462         <ref name="common-page-number-attlist"/>   23914         <ref name="common-page-number-attlist"/>
23463 </define>   23915 </define>
23464     23916  
23465 <define name="common-page-number-attlist">   23917 <define name="common-page-number-attlist">
23466         <optional>   23918         <optional>
23467                 <attribute name="style:page-number">   23919                 <attribute name="style:page-number">
    <> 23920                         <choice>
23468                         <ref name="positiveInteger"/>   23921                                 <ref name="positiveInteger"/>
      23922                                 <value>auto</value>
      23923                         </choice>
23469                 </attribute> = 23924                 </attribute>
23470         </optional>   23925         </optional>
23471 </define>   23926 </define>
23472 15.5.40Background Transparency   23927 15.5.40Background Transparency
23473 <define name="style-paragraph-properties-attlist" combine="interleave">   23928 <define name="style-paragraph-properties-attlist" combine="interleave">
23474         <optional>   23929         <optional>
23475                 <attribute name="style:background-transparency">   23930                 <attribute name="style:background-transparency">
23476                         <ref name="percent"/>   23931                         <ref name="percent"/>
23477                 </attribute>   23932                 </attribute>
23478         </optional>   23933         </optional>
23479 </define>   23934 </define>
23480 15.6Ruby Text Formatting Properties   23935 15.6Ruby Text Formatting Properties
23481 The properties described in this section can be used within ruby styles (see section 14.8.4 for details). They are contained in a <style:ruby-properties> element.   23936 The properties described in this section can be used within ruby styles (see section 14.8.4 for details). They are contained in a <style:ruby-properties> element.
23482 <define name="style-ruby-properties">   23937 <define name="style-ruby-properties">
23483         <element name="style:ruby-properties">   23938         <element name="style:ruby-properties">
23484                 <ref name="style-ruby-properties-content"/>   23939                 <ref name="style-ruby-properties-content"/>
23485         </element>   23940         </element>
23486 </define>   23941 </define>
23487     23942  
23488 <define name="style-ruby-properties-content">   23943 <define name="style-ruby-properties-content">
23489         <ref name="style-properties-content"/>   23944         <ref name="style-properties-content"/>
23490 </define>   23945 </define>
23491     23946  
23492 <define name="style-ruby-properties-content-strict">   23947 <define name="style-ruby-properties-content-strict">
23493         <ref name="style-ruby-properties-attlist"/>   23948         <ref name="style-ruby-properties-attlist"/>
23494         <ref name="style-ruby-properties-elements"/>   23949         <ref name="style-ruby-properties-elements"/>
23495 </define>   23950 </define>
23496     23951  
23497 <define name="style-ruby-properties-elements">   23952 <define name="style-ruby-properties-elements">
23498         <empty/>   23953         <empty/>
23499 </define>   23954 </define>
23500 15.6.1Ruby Position   23955 15.6.1Ruby Position
23501 This property specifies the position of the ruby text relative to the ruby base.   23956 This property specifies the position of the ruby text relative to the ruby base.
23502 <define name="style-ruby-properties-attlist" combine="interleave">   23957 <define name="style-ruby-properties-attlist" combine="interleave">
23503         <optional>   23958         <optional>
23504                 <attribute name="style:ruby-position">   23959                 <attribute name="style:ruby-position">
23505                         <choice>   23960                         <choice>
23506                                 <value>above</value>   23961                                 <value>above</value>
23507                                 <value>below</value>   23962                                 <value>below</value>
23508                         </choice>   23963                         </choice>
23509                 </attribute>   23964                 </attribute>
23510         </optional>   23965         </optional>
23511 </define>   23966 </define>
23512 15.6.2Ruby Alignment   23967 15.6.2Ruby Alignment
23513 This property specifies the alignment of the ruby text relative to the ruby base.   23968 This property specifies the alignment of the ruby text relative to the ruby base.
23514 <define name="style-ruby-properties-attlist" combine="interleave">   23969 <define name="style-ruby-properties-attlist" combine="interleave">
23515         <optional>   23970         <optional>
23516                 <attribute name="style:ruby-align">   23971                 <attribute name="style:ruby-align">
23517                         <choice>   23972                         <choice>
23518                                 <value>left</value>   23973                                 <value>left</value>
23519                                 <value>center</value>   23974                                 <value>center</value>
23520                                 <value>right</value>   23975                                 <value>right</value>
23521                                 <value>distribute-letter</value>   23976                                 <value>distribute-letter</value>
23522                                 <value>distribute-space</value>   23977                                 <value>distribute-space</value>
23523                         </choice>   23978                         </choice>
23524                 </attribute>   23979                 </attribute>
23525         </optional>   23980         </optional>
23526 </define>   23981 </define>
23527 15.7Section Formatting Properties   23982 15.7Section Formatting Properties
23528 The properties described in this section can be used within section styles (see section 14.8.3 for details). They are contained in a <style:section-properties> element.   23983 The properties described in this section can be used within section styles (see section 14.8.3 for details). They are contained in a <style:section-properties> element.
23529 <define name="style-section-properties">   23984 <define name="style-section-properties">
23530         <element name="style:section-properties">   23985         <element name="style:section-properties">
23531                 <ref name="style-section-properties-content"/>   23986                 <ref name="style-section-properties-content"/>
23532         </element>   23987         </element>
23533 </define>   23988 </define>
23534     23989  
23535 <define name="style-section-properties-content">   23990 <define name="style-section-properties-content">
23536         <ref name="style-properties-content"/>   23991         <ref name="style-properties-content"/>
23537 </define>   23992 </define>
23538     23993  
23539 <define name="style-section-properties-content-strict">   23994 <define name="style-section-properties-content-strict">
23540         <ref name="style-section-properties-attlist"/>   23995         <ref name="style-section-properties-attlist"/>
23541         <ref name="style-section-properties-elements"/>   23996         <ref name="style-section-properties-elements"/>
23542 </define>   23997 </define>
23543 15.7.1Section Background   23998 15.7.1Section Background
23544 The background attribute fo:background-color and the background element <style:background-image> specify the background properties of the section. See sections 15.5.23 and 15.5.24 for detailed information on this attribute and element.   23999 The background attribute fo:background-color and the background element <style:background-image> specify the background properties of the section. See sections 15.5.23 and 15.5.24 for detailed information on this attribute and element.
23545 <define name="style-section-properties-attlist" combine="interleave">   24000 <define name="style-section-properties-attlist" combine="interleave">
23546         <ref name="common-background-color-attlist"/>   24001         <ref name="common-background-color-attlist"/>
23547 </define>   24002 </define>
23548 <define name="style-section-properties-elements" combine="interleave">   24003 <define name="style-section-properties-elements" combine="interleave">
23549         <ref name="style-background-image"/>   24004         <ref name="style-background-image"/>
23550 </define>   24005 </define>
23551 15.7.2Margins   24006 15.7.2Margins
23552 The margins attributes fo:margin-left and fo:margin-right specify the size of the section margins. See sections 15.5.17 for detailed information on these attributes. Percentage values are not supported.   24007 The margins attributes fo:margin-left and fo:margin-right specify the size of the section margins. See sections 15.5.17 for detailed information on these attributes. Percentage values are not supported.
23553 <define name="style-section-properties-attlist" combine="interleave">   24008 <define name="style-section-properties-attlist" combine="interleave">
23554         <ref name="common-horizontal-margin-attlist"/>   24009         <ref name="common-horizontal-margin-attlist"/>
23555 </define>   24010 </define>
23556 15.7.3Columns   24011 15.7.3Columns
23557 The <style:columns> element contains  <style:column> elements that specify each column individually (see section 15.7.4). If these elements are not present, all columns are assigned the same width.   24012 The <style:columns> element contains  <style:column> elements that specify each column individually (see section 15.7.4). If these elements are not present, all columns are assigned the same width.
23558 The <style:columns> can contain a <style:column-sep> element that describes the separator line between columns. See section 15.7.5 for information on this element.   24013 The <style:columns> can contain a <style:column-sep> element that describes the separator line between columns. See section 15.7.5 for information on this element.
23559 <define name="style-section-properties-elements" combine="interleave">   24014 <define name="style-section-properties-elements" combine="interleave">
23560         <ref name="style-columns"/>   24015         <ref name="style-columns"/>
23561 </define>   24016 </define>
23562     24017  
23563 <define name="style-columns">   24018 <define name="style-columns">
23564         <optional>   24019         <optional>
23565                 <element name="style:columns">   24020                 <element name="style:columns">
23566                         <ref name="style-columns-attlist"/>   24021                         <ref name="style-columns-attlist"/>
23567                         <optional>   24022                         <optional>
23568                                 <ref name="style-column-sep"/>   24023                                 <ref name="style-column-sep"/>
23569                         </optional>   24024                         </optional>
23570                         <zeroOrMore>   24025                         <zeroOrMore>
23571                                 <ref name="style-column"/>   24026                                 <ref name="style-column"/>
23572                         </zeroOrMore>   24027                         </zeroOrMore>
23573                 </element>   24028                 </element>
23574         </optional>   24029         </optional>
23575 </define>   24030 </define>
23576 The attributes that may be associated with the <style:columns> element are:   24031 The attributes that may be associated with the <style:columns> element are:
23577 Column count   24032 Column count
23578 Column gap   24033 Column gap
23579 Column Count   24034 Column Count
23580 The fo:columns-count attribute specifies the number of columns in a section.   24035 The fo:columns-count attribute specifies the number of columns in a section.
23581 <define name="style-columns-attlist" combine="interleave">   24036 <define name="style-columns-attlist" combine="interleave">
23582         <attribute name="fo:column-count">   24037         <attribute name="fo:column-count">
23583                 <ref name="positiveInteger"/>   24038                 <ref name="positiveInteger"/>
23584         </attribute>   24039         </attribute>
23585 </define>   24040 </define>
23586 Note: This attribute has the same name as an [XSL] property but it is attached to a different element.   24041 Note: This attribute has the same name as an [XSL] property but it is attached to a different element.
23587 Column Gap   24042 Column Gap
23588 If the <style:columns> element does not contain individual <style:column> elements, then the gap between columns may be specified by the fo:column-gap attribute. If there are individual column elements, this attribute is ignored.   24043 If the <style:columns> element does not contain individual <style:column> elements, then the gap between columns may be specified by the fo:column-gap attribute. If there are individual column elements, this attribute is ignored.
23589 <define name="style-columns-attlist" combine="interleave">   24044 <define name="style-columns-attlist" combine="interleave">
23590         <optional>   24045         <optional>
23591                 <attribute name="fo:column-gap">   24046                 <attribute name="fo:column-gap">
23592                         <ref name="length"/>   24047                         <ref name="length"/>
23593                 </attribute>   24048                 </attribute>
23594         </optional>   24049         </optional>
23595 </define>   24050 </define>
23596 Note: This attribute has the same name as an [XSL] property but it is attached to a different element.   24051 Note: This attribute has the same name as an [XSL] property but it is attached to a different element.
23597 15.7.4Column Specification   24052 15.7.4Column Specification
23598 The <style:column> element can be contained in a <style:columns> element, to specify details of an individual column. This element is contained in the <styles:columns> element. There can be either no column elements or there can be the same number of column elements as specified by the fo:column-count attribute.   24053 The <style:column> element can be contained in a <style:columns> element, to specify details of an individual column. This element is contained in the <styles:columns> element. There can be either no column elements or there can be the same number of column elements as specified by the fo:column-count attribute.
23599 <define name="style-column">   24054 <define name="style-column">
23600         <element name="style:column">   24055         <element name="style:column">
23601                 <ref name="style-column-attlist"/>   24056                 <ref name="style-column-attlist"/>
23602         </element>   24057         </element>
23603 </define>   24058 </define>
23604 Note: In [XSL], it is not possible to specify columns individually.   24059 Note: In [XSL], it is not possible to specify columns individually.
23605 The attributes that may be associated with the <style:column> element are:   24060 The attributes that may be associated with the <style:column> element are:
23606 Column width   24061 Column width
23607 Column left, right, upper, and lower space   24062 Column left, right, upper, and lower space
23608 Column Width   24063 Column Width
23609 Use the style:rel-width attribute to specify the width of a column. The column widths are specified as number values instead of lengths. To get the absolute column width, the space that is available for a columned area is distributed among the columns proportional to these numbers.   24064 Use the style:rel-width attribute to specify the width of a column. The column widths are specified as number values instead of lengths. To get the absolute column width, the space that is available for a columned area is distributed among the columns proportional to these numbers.
23610 The column width is not specified in a percentage length, but rather in terms of relative weights, that is, a number followed by a '*' character. The total space available for the entire table is distributed among its columns according to its relative widths. For example, if three columns are assigned the relative widths 1, 2 and 3, then the first column will take up 1/6 of the available width, the second will take up 1/3, and the last column will take up 1/2 of the available space. To achieve these figures, all given relative widths must be summed up (six in the example), and then each column will get as much space as the proportion of its own relative width to the sum of all relative widths indicates (3/6 = 1/2 for the last column in the example).   24065 The column width is not specified in a percentage length, but rather in terms of relative weights, that is, a number followed by a '*' character. The total space available for the entire table is distributed among its columns according to its relative widths. For example, if three columns are assigned the relative widths 1, 2 and 3, then the first column will take up 1/6 of the available width, the second will take up 1/3, and the last column will take up 1/2 of the available space. To achieve these figures, all given relative widths must be summed up (six in the example), and then each column will get as much space as the proportion of its own relative width to the sum of all relative widths indicates (3/6 = 1/2 for the last column in the example).
23611 <define name="style-column-attlist" combine="interleave">   24066 <define name="style-column-attlist" combine="interleave">
23612         <attribute name="style:rel-width">   24067         <attribute name="style:rel-width">
23613                 <ref name="relativeLength"/>   24068                 <ref name="relativeLength"/>
23614         </attribute>   24069         </attribute>
23615 </define>   24070 </define>
23616 Column Left, Right, Upper, and Lower Space   24071 Column Left, Right, Upper, and Lower Space
23617 For each column, its left, right, upper, and lower space may be specified. The right space of a column together with the left space of the next column corresponds to the gap between two columns. If a columned area contains a separator line between columns, the space that is occupied by the line is contained within the left and right spaces and therefore is not added to them.   24072 For each column, its left, right, upper, and lower space may be specified. The right space of a column together with the left space of the next column corresponds to the gap between two columns. If a columned area contains a separator line between columns, the space that is occupied by the line is contained within the left and right spaces and therefore is not added to them.
23618 <define name="style-column-attlist" combine="interleave">   24073 <define name="style-column-attlist" combine="interleave">
23619         <optional>   24074         <optional>
23620                 <attribute name="fo:start-indent" a:defaultValue="0cm">   24075                 <attribute name="fo:start-indent" a:defaultValue="0cm">
23621                         <ref name="length"/>   24076                         <ref name="length"/>
23622                 </attribute>   24077                 </attribute>
23623         </optional>   24078         </optional>
23624 </define>   24079 </define>
23625 <define name="style-column-attlist" combine="interleave">   24080 <define name="style-column-attlist" combine="interleave">
23626         <optional>   24081         <optional>
23627                 <attribute name="fo:end-indent" a:defaultValue="0cm">   24082                 <attribute name="fo:end-indent" a:defaultValue="0cm">
23628                         <ref name="length"/>   24083                         <ref name="length"/>
23629                 </attribute>   24084                 </attribute>
23630         </optional>   24085         </optional>
23631 </define>   24086 </define>
23632 <define name="style-column-attlist" combine="interleave">   24087 <define name="style-column-attlist" combine="interleave">
23633         <optional>   24088         <optional>
23634                 <attribute name="fo:space-before" a:defaultValue="0cm">   24089                 <attribute name="fo:space-before" a:defaultValue="0cm">
23635                         <ref name="length"/>   24090                         <ref name="length"/>
23636                 </attribute>   24091                 </attribute>
23637         </optional>   24092         </optional>
23638 </define>   24093 </define>
23639 <define name="style-column-attlist" combine="interleave">   24094 <define name="style-column-attlist" combine="interleave">
23640         <optional>   24095         <optional>
23641                 <attribute name="fo:space-after" a:defaultValue="0cm">   24096                 <attribute name="fo:space-after" a:defaultValue="0cm">
23642                         <ref name="length"/>   24097                         <ref name="length"/>
23643                 </attribute>   24098                 </attribute>
23644         </optional>   24099         </optional>
23645 </define>   24100 </define>
23646 15.7.5Column Separator   24101 15.7.5Column Separator
23647 The <style:column-sep> element specifies the separator line to use between columns. This element can be contained in a <style:columns> element to specify the type of separator line to use between columns.   24102 The <style:column-sep> element specifies the separator line to use between columns. This element can be contained in a <style:columns> element to specify the type of separator line to use between columns.
23648 <define name="style-column-sep">   24103 <define name="style-column-sep">
23649         <element name="style:column-sep">   24104         <element name="style:column-sep">
23650                 <ref name="style-column-sep-attlist"/>   24105                 <ref name="style-column-sep-attlist"/>
23651         </element>   24106         </element>
23652 </define>   24107 </define>
23653 Note: [XSL] does not support column separators.   24108 Note: [XSL] does not support column separators.
23654 The attributes that may be associated with the <style:column-sep> element are:   24109 The attributes that may be associated with the <style:column-sep> element are:
23655 Line style   24110 Line style
23656 Line width   24111 Line width
23657 Line height   24112 Line height
23658 Vertical line alignment   24113 Vertical line alignment
23659 Line color   24114 Line color
23660 Line Style   24115 Line Style
23661 Use the style:style attribute to specify the line style of the column separator line.   24116 Use the style:style attribute to specify the line style of the column separator line.
23662 <define name="style-column-sep-attlist" combine="interleave">   24117 <define name="style-column-sep-attlist" combine="interleave">
23663         <optional>   24118         <optional>
23664                 <attribute name="style:style" a:defaultValue="solid">   24119                 <attribute name="style:style" a:defaultValue="solid">
23665                         <choice>   24120                         <choice>
23666                                 <value>none</value>   24121                                 <value>none</value>
23667                                 <value>solid</value>   24122                                 <value>solid</value>
23668                                 <value>dotted</value>   24123                                 <value>dotted</value>
23669                                 <value>dashed</value>   24124                                 <value>dashed</value>
23670                                 <value>dot-dashed</value>   24125                                 <value>dot-dashed</value>
23671                         </choice>   24126                         </choice>
23672                 </attribute>   24127                 </attribute>
23673         </optional>   24128         </optional>
23674 </define>   24129 </define>
23675 Line Width   24130 Line Width
23676 Use the style:width attribute to specify the width of the column separator line.   24131 Use the style:width attribute to specify the width of the column separator line.
23677 <define name="style-column-sep-attlist" combine="interleave">   24132 <define name="style-column-sep-attlist" combine="interleave">
23678         <attribute name="style:width">   24133         <attribute name="style:width">
23679                 <ref name="length"/>   24134                 <ref name="length"/>
23680         </attribute>   24135         </attribute>
23681 </define>   24136 </define>
23682 Line Height   24137 Line Height
23683 Use the style:height to specify the height of the column separator line. The value of this attribute is a percentage that relates to the height of the columned area.   24138 Use the style:height to specify the height of the column separator line. The value of this attribute is a percentage that relates to the height of the columned area.
23684 <define name="style-column-sep-attlist" combine="interleave">   24139 <define name="style-column-sep-attlist" combine="interleave">
23685         <optional>   24140         <optional>
23686                 <attribute name="style:height" a:defaultValue="100%">   24141                 <attribute name="style:height" a:defaultValue="100%">
23687                         <ref name="percent"/>   24142                         <ref name="percent"/>
23688                 </attribute>   24143                 </attribute>
23689         </optional>   24144         </optional>
23690 </define>   24145 </define>
23691 Vertical Line Alignment   24146 Vertical Line Alignment
23692 Use the style:vertical-align attribute to specify how to vertically align a line that is less than 100% of its height within the columned area. The value of this attribute can be either top, middle, or bottom.   24147 Use the style:vertical-align attribute to specify how to vertically align a line that is less than 100% of its height within the columned area. The value of this attribute can be either top, middle, or bottom.
23693 <define name="style-column-sep-attlist" combine="interleave">   24148 <define name="style-column-sep-attlist" combine="interleave">
23694         <optional>   24149         <optional>
23695                 <attribute name="style:vertical-align" a:defaultValue="top">   24150                 <attribute name="style:vertical-align" a:defaultValue="top">
23696                         <choice>   24151                         <choice>
23697                                 <value>top</value>   24152                                 <value>top</value>
23698                                 <value>middle</value>   24153                                 <value>middle</value>
23699                                 <value>bottom</value>   24154                                 <value>bottom</value>
23700                         </choice>   24155                         </choice>
23701                 </attribute>   24156                 </attribute>
23702         </optional>   24157         </optional>
23703 </define>   24158 </define>
23704 Line Color   24159 Line Color
23705 Use the style:color attribute to specify the color of the column separator line.   24160 Use the style:color attribute to specify the color of the column separator line.
23706 <define name="style-column-sep-attlist" combine="interleave">   24161 <define name="style-column-sep-attlist" combine="interleave">
23707         <optional>   24162         <optional>
23708                 <attribute name="style:color" a:defaultValue="#000000">   24163                 <attribute name="style:color" a:defaultValue="#000000">
23709                         <ref name="color"/>   24164                         <ref name="color"/>
23710                 </attribute>   24165                 </attribute>
23711         </optional>   24166         </optional>
23712 </define>   24167 </define>
23713 15.7.6Protect   24168 15.7.6Protect
23714 Sections marked with the style:protect attribute should not be changed. The user interface should prevent the user from manually making any changes. The style:protect attribute should be set by default for linked sections or indexes. Removing the protection makes these sections accessible to the user, but updating the links or the index will not preserve the changes.   24169 Sections marked with the style:protect attribute should not be changed. The user interface should prevent the user from manually making any changes. The style:protect attribute should be set by default for linked sections or indexes. Removing the protection makes these sections accessible to the user, but updating the links or the index will not preserve the changes.
23715 <define name="style-section-properties-attlist" combine="interleave">   24170 <define name="style-section-properties-attlist" combine="interleave">
23716         <optional>   24171         <optional>
23717                 <attribute name="style:protect" a:defaultValue="false">   24172                 <attribute name="style:protect" a:defaultValue="false">
23718                         <ref name="boolean"/>   24173                         <ref name="boolean"/>
23719                 </attribute>   24174                 </attribute>
23720         </optional>   24175         </optional>
23721 </define>   24176 </define>
23722 15.7.7Don't Balance Text Columns   24177 15.7.7Don't Balance Text Columns
23723 The text:dont-balance-text-columns attribute specifies whether the text column content should be evenly distributed over all text columns or not.   24178 The text:dont-balance-text-columns attribute specifies whether the text column content should be evenly distributed over all text columns or not.
23724 <define name="style-section-properties-attlist" combine="interleave">   24179 <define name="style-section-properties-attlist" combine="interleave">
23725         <optional>   24180         <optional>
23726                 <attribute name="text:dont-balance-text-columns">   24181                 <attribute name="text:dont-balance-text-columns">
23727                         <ref name="boolean"/>   24182                         <ref name="boolean"/>
23728                 </attribute>   24183                 </attribute>
23729         </optional>   24184         </optional>
23730 </define>   24185 </define>
23731 15.7.8Writing Mode   24186 15.7.8Writing Mode
23732 The style:writing-mode attribute specifies the writing mode that should be used for the  section. See section 15.5.36 for details.   24187 The style:writing-mode attribute specifies the writing mode that should be used for the  section. See section 15.5.36 for details.
23733 <define name="style-section-properties-attlist" combine="interleave">   24188 <define name="style-section-properties-attlist" combine="interleave">
23734         <ref name="common-writing-mode-attlist"/>   24189         <ref name="common-writing-mode-attlist"/>
23735 </define>   24190 </define>
23736 15.7.9Notes Configuration   24191 15.7.9Notes Configuration
23737 A section style may contain have its own notes configurations (see section 14.9.2). If this is the case, notes of the corresponding notes type are displayed at the end of the columns of the section or the section itself instead of the end of the page's columns or the end of the document.   24192 A section style may contain have its own notes configurations (see section 14.9.2). If this is the case, notes of the corresponding notes type are displayed at the end of the columns of the section or the section itself instead of the end of the page's columns or the end of the document.
23738 <define name="style-section-properties-elements" combine="interleave">   24193 <define name="style-section-properties-elements" combine="interleave">
23739         <zeroOrMore>   24194         <zeroOrMore>
23740                 <ref name="text-notes-configuration"/>   24195                 <ref name="text-notes-configuration"/>
23741         </zeroOrMore>   24196         </zeroOrMore>
23742 </define>   24197 </define>
23743 15.8Table Formatting Properties   24198 15.8Table Formatting Properties
23744 The properties described in this section can be contained within table styles (see section 14.12.1) They are contained in a <style:table-properties> element.   24199 The properties described in this section can be contained within table styles (see section 14.12.1) They are contained in a <style:table-properties> element.
23745 <define name="style-table-properties">   24200 <define name="style-table-properties">
23746         <element name="style:table-properties">   24201         <element name="style:table-properties">
23747                 <ref name="style-table-properties-content"/>   24202                 <ref name="style-table-properties-content"/>
23748         </element>   24203         </element>
23749 </define>   24204 </define>
23750     24205  
23751 <define name="style-table-properties-content">   24206 <define name="style-table-properties-content">
23752         <ref name="style-properties-content"/>   24207         <ref name="style-properties-content"/>
23753 </define>   24208 </define>
23754     24209  
23755 <define name="style-table-properties-content-strict">   24210 <define name="style-table-properties-content-strict">
23756         <ref name="style-table-properties-attlist"/>   24211         <ref name="style-table-properties-attlist"/>
23757         <ref name="style-table-properties-elements"/>   24212         <ref name="style-table-properties-elements"/>
23758 </define>   24213 </define>
23759 15.8.1Table Width   24214 15.8.1Table Width
23760 Every table must have a fixed width. This width is specified by the style:width attribute.   24215 Every table must have a fixed width. This width is specified by the style:width attribute.
23761 The width of a table may be also specified relative to the width of the area that the table is in. In this case, the width is specified as a percentage using the style:rel-width attribute. User agents that support specifying the relative width of a table can specify widths in this way, but it is not essential.   24216 The width of a table may be also specified relative to the width of the area that the table is in. In this case, the width is specified as a percentage using the style:rel-width attribute. User agents that support specifying the relative width of a table can specify widths in this way, but it is not essential.
23762 The reasons why every table must have a fixed width and relative widths are only an option are as follows:   24217 The reasons why every table must have a fixed width and relative widths are only an option are as follows:
23763 Specifying the width of a table by a percentage is useful for current web browsers and other applications where the percentage is relative to the width of a window. But it may cause problems if the percentage relates to a fixed paper width.   24218 Specifying the width of a table by a percentage is useful for current web browsers and other applications where the percentage is relative to the width of a window. But it may cause problems if the percentage relates to a fixed paper width.
23764 Relative widths can also cause problems for applications such as spreadsheet applications, where there is no requirement for a table to fit on a page.   24219 Relative widths can also cause problems for applications such as spreadsheet applications, where there is no requirement for a table to fit on a page.
23765 However, if an application supports relative widths, it is relatively easy to program the application to calculate a fixed table width, based on a percentage.   24220 However, if an application supports relative widths, it is relatively easy to program the application to calculate a fixed table width, based on a percentage.
23766 <define name="style-table-properties-attlist" combine="interleave">   24221 <define name="style-table-properties-attlist" combine="interleave">
23767         <optional>   24222         <optional>
23768                 <attribute name="style:width">   24223                 <attribute name="style:width">
23769                         <ref name="positiveLength"/>   24224                         <ref name="positiveLength"/>
23770                 </attribute>   24225                 </attribute>
23771         </optional>   24226         </optional>
23772         <optional>   24227         <optional>
23773                 <attribute name="style:rel-width">   24228                 <attribute name="style:rel-width">
23774                         <ref name="percent"/>   24229                         <ref name="percent"/>
23775                 </attribute>   24230                 </attribute>
23776         </optional>   24231         </optional>
23777 </define>   24232 </define>
23778 15.8.2Table Alignment   24233 15.8.2Table Alignment
23779 A table alignment property table:align specifies the horizontal alignment of a table.   24234 A table alignment property table:align specifies the horizontal alignment of a table.
23780 The options for a table alignment property are as follows:   24235 The options for a table alignment property are as follows:
23781 left — The table aligns to the left.   24236 left — The table aligns to the left.
23782 center — The table aligns to the center.   24237 center — The table aligns to the center.
23783 right — The table aligns to the right.   24238 right — The table aligns to the right.
23784 margins — The table fills all the space between the left and right margins.   24239 margins — The table fills all the space between the left and right margins.
23785 User agents that do not support the margins value, may treat this value as left.   24240 User agents that do not support the margins value, may treat this value as left.
23786 <define name="style-table-properties-attlist" combine="interleave">   24241 <define name="style-table-properties-attlist" combine="interleave">
23787         <optional>   24242         <optional>
23788                 <attribute name="table:align">   24243                 <attribute name="table:align">
23789                         <choice>   24244                         <choice>
23790                                 <value>left</value>   24245                                 <value>left</value>
23791                                 <value>center</value>   24246                                 <value>center</value>
23792                                 <value>right</value>   24247                                 <value>right</value>
23793                                 <value>margins</value>   24248                                 <value>margins</value>
23794                         </choice>   24249                         </choice>
23795                 </attribute>   24250                 </attribute>
23796         </optional>   24251         </optional>
23797 </define>   24252 </define>
23798 15.8.3Table Left and Right Margin   24253 15.8.3Table Left and Right Margin
23799 The fo:margin-left and fo:margin-right properties specify the distance of the table from the left and right margins. See section 15.5.17 for a full explanation of left and right margin properties. An application may recognize table margins, but this is not essential.   24254 The fo:margin-left and fo:margin-right properties specify the distance of the table from the left and right margins. See section 15.5.17 for a full explanation of left and right margin properties. An application may recognize table margins, but this is not essential.
23800 Tables that align to the left or to the center ignore right margins, and tables align to the right or to the center ignore left margins.   24255 Tables that align to the left or to the center ignore right margins, and tables align to the right or to the center ignore left margins.
23801 <define name="style-table-properties-attlist" combine="interleave">   24256 <define name="style-table-properties-attlist" combine="interleave">
23802         <ref name="common-horizontal-margin-attlist"/>   24257         <ref name="common-horizontal-margin-attlist"/>
23803 </define>   24258 </define>
23804 15.8.4Table Top and Bottom Margin   24259 15.8.4Table Top and Bottom Margin
23805 The fo:margin-top and fo:margin-bottom properties specify the distance of the table from the top and bottom. See section 15.5.20 for a full explanation of top and bottom margin properties.   24260 The fo:margin-top and fo:margin-bottom properties specify the distance of the table from the top and bottom. See section 15.5.20 for a full explanation of top and bottom margin properties.
23806 <define name="style-table-properties-attlist" combine="interleave">   24261 <define name="style-table-properties-attlist" combine="interleave">
23807         <ref name="common-vertical-margin-attlist"/>   24262         <ref name="common-vertical-margin-attlist"/>
23808 </define>   24263 </define>
23809 15.8.5Table Margins   24264 15.8.5Table Margins
23810 The fo:margin property specifies the distance of the table from the left, right, top and bottom. See section 15.5.21 for a full explanation of this property.   24265 The fo:margin property specifies the distance of the table from the left, right, top and bottom. See section 15.5.21 for a full explanation of this property.
23811 <define name="style-table-properties-attlist" combine="interleave">   24266 <define name="style-table-properties-attlist" combine="interleave">
23812         <ref name="common-margin-attlist"/>   24267         <ref name="common-margin-attlist"/>
23813 </define>   24268 </define>
23814 15.8.6Page Number   24269 15.8.6Page Number
23815 If the table style specifies a master page that should be applied beginning from the start of the table, the style:page-number attribute specifies the page number that should be used for the first page of the table. See also section 15.5.39.   24270 If the table style specifies a master page that should be applied beginning from the start of the table, the style:page-number attribute specifies the page number that should be used for the first page of the table. See also section 15.5.39.
23816 <define name="style-table-properties-attlist" combine="interleave">   24271 <define name="style-table-properties-attlist" combine="interleave">
23817         <ref name="common-page-number-attlist"/>   24272         <ref name="common-page-number-attlist"/>
23818 </define>   24273 </define>
23819 15.8.7Break Before and Break After   24274 15.8.7Break Before and Break After
23820 The fo:break-before and fo:break-after properties insert a page or column break before or after a table. See section 15.5.22 for a full explanation of these properties.   24275 The fo:break-before and fo:break-after properties insert a page or column break before or after a table. See section 15.5.22 for a full explanation of these properties.
23821 <define name="style-table-properties-attlist" combine="interleave">   24276 <define name="style-table-properties-attlist" combine="interleave">
23822         <ref name="common-break-attlist"/>   24277         <ref name="common-break-attlist"/>
23823 </define>   24278 </define>
23824 15.8.8Table Background and Background Image   24279 15.8.8Table Background and Background Image
23825 The background attribute fo:background-color and the background element <style:background-image> specify the background properties of the table. See sections 15.5.23 and 15.5.24 for detailed information on this attribute and element.   24280 The background attribute fo:background-color and the background element <style:background-image> specify the background properties of the table. See sections 15.5.23 and 15.5.24 for detailed information on this attribute and element.
23826 <define name="style-table-properties-attlist" combine="interleave">   24281 <define name="style-table-properties-attlist" combine="interleave">
23827         <ref name="common-background-color-attlist"/>   24282         <ref name="common-background-color-attlist"/>
23828 </define>   24283 </define>
23829 <define name="style-table-properties-elements" combine="interleave">   24284 <define name="style-table-properties-elements" combine="interleave">
23830         <ref name="style-background-image"/>   24285         <ref name="style-background-image"/>
23831 </define>   24286 </define>
23832 15.8.9Table Shadow   24287 15.8.9Table Shadow
23833 The style:shadow property specifies that a shadow visual effect appears on a table. See section 15.5.28 for a full explanation of this property.   24288 The style:shadow property specifies that a shadow visual effect appears on a table. See section 15.5.28 for a full explanation of this property.
23834 <define name="style-table-properties-attlist" combine="interleave">   24289 <define name="style-table-properties-attlist" combine="interleave">
23835         <ref name="common-shadow-attlist"/>   24290         <ref name="common-shadow-attlist"/>
23836 </define>   24291 </define>
23837 15.8.10Keep with Next   24292 15.8.10Keep with Next
23838 The fo:keep-with-next property specifies that a table stays with the paragraph that follows it. See section 15.5.29 for a full explanation of this property.   24293 The fo:keep-with-next property specifies that a table stays with the paragraph that follows it. See section 15.5.29 for a full explanation of this property.
23839 <define name="style-table-properties-attlist" combine="interleave">   24294 <define name="style-table-properties-attlist" combine="interleave">
23840         <ref name="common-keep-with-next-attlist"/>   24295         <ref name="common-keep-with-next-attlist"/>
23841 </define>   24296 </define>
23842 15.8.11May Break Between Rows   24297 15.8.11May Break Between Rows
23843 The style:may-break-between-rows property specifies that a page break may occur inside a table.   24298 The style:may-break-between-rows property specifies that a page break may occur inside a table.
23844 <define name="style-table-properties-attlist" combine="interleave">   24299 <define name="style-table-properties-attlist" combine="interleave">
23845         <optional>   24300         <optional>
23846                 <attribute name="style:may-break-between-rows">   24301                 <attribute name="style:may-break-between-rows">
23847                         <ref name="boolean"/>   24302                         <ref name="boolean"/>
23848                 </attribute>   24303                 </attribute>
23849         </optional>   24304         </optional>
23850 </define>   24305 </define>
23851 15.8.12Border Model Property   24306 15.8.12Border Model Property
23852 The table:border-model property specifies what border model to use when creating a table with a border. There are two types of border model, as follows:   24307 The table:border-model property specifies what border model to use when creating a table with a border. There are two types of border model, as follows:
23853 Collapsing border model   24308 Collapsing border model
23854 When two adjacent cells have different borders, the wider border appears as the border between the cells. Each cell receives half of the width of the border.   24309 When two adjacent cells have different borders, the wider border appears as the border between the cells. Each cell receives half of the width of the border.
23855 Separating border model   24310 Separating border model
23856 Borders appear within the cell that specifies the border.   24311 Borders appear within the cell that specifies the border.
23857 Both border models are very similar to the collapsing and separating border models of [XSL] and [CSS2]. They differ in how border widths relate to row and column widths.   24312 Both border models are very similar to the collapsing and separating border models of [XSL] and [CSS2]. They differ in how border widths relate to row and column widths.
23858 In OpenDocument, a row height or column width includes any space required to display borders or padding. This means that, while the width and height of the content area is less than the column width and row height, the sum of the widths of all columns is equal to the total width of the table.   24313 In OpenDocument, a row height or column width includes any space required to display borders or padding. This means that, while the width and height of the content area is less than the column width and row height, the sum of the widths of all columns is equal to the total width of the table.
23859 In XSL and CSS2, a column width or row height specifies the width or height of the content area of a cell. This means that the sum of the widths of all columns is less than the width of the table.   24314 In XSL and CSS2, a column width or row height specifies the width or height of the content area of a cell. This means that the sum of the widths of all columns is less than the width of the table.
23860 <define name="style-table-properties-attlist" combine="interleave">   24315 <define name="style-table-properties-attlist" combine="interleave">
23861         <optional>   24316         <optional>
23862                 <attribute name="table:border-model">   24317                 <attribute name="table:border-model">
23863                         <choice>   24318                         <choice>
23864                                 <value>collapsing</value>   24319                                 <value>collapsing</value>
23865                                 <value>separating</value>   24320                                 <value>separating</value>
23866                         </choice>   24321                         </choice>
23867                 </attribute>   24322                 </attribute>
23868         </optional>   24323         </optional>
23869 </define>   24324 </define>
23870 15.8.13Writing Mode   24325 15.8.13Writing Mode
23871 The style:writing-mode attribute specifies the writing mode that should is used for the table. See section 15.5.36 for details.   24326 The style:writing-mode attribute specifies the writing mode that should is used for the table. See section 15.5.36 for details.
23872 <define name="style-table-properties-attlist" combine="interleave">   24327 <define name="style-table-properties-attlist" combine="interleave">
23873         <ref name="common-writing-mode-attlist"/>   24328         <ref name="common-writing-mode-attlist"/>
23874 </define>   24329 </define>
23875 15.8.14Display   24330 15.8.14Display
23876 The table:display attribute specifies whether or not a table is displayed.   24331 The table:display attribute specifies whether or not a table is displayed.
23877 <define name="style-table-properties-attlist" combine="interleave">   24332 <define name="style-table-properties-attlist" combine="interleave">
23878         <optional>   24333         <optional>
23879                 <attribute name="table:display">   24334                 <attribute name="table:display">
23880                         <ref name="boolean"/>   24335                         <ref name="boolean"/>
23881                 </attribute>   24336                 </attribute>
23882         </optional>   24337         </optional>
23883 </define>   24338 </define>
23884 15.9Column Formatting Properties   24339 15.9Column Formatting Properties
23885 The properties described in this section can be contained within table column styles (see section 14.12.2) They are contained in a <style:table-column-properties> element.   24340 The properties described in this section can be contained within table column styles (see section 14.12.2) They are contained in a <style:table-column-properties> element.
23886 <define name="style-table-column-properties">   24341 <define name="style-table-column-properties">
23887         <element name="style:table-column-properties">   24342         <element name="style:table-column-properties">
23888                 <ref name="style-table-column-properties-content"/>   24343                 <ref name="style-table-column-properties-content"/>
23889         </element>   24344         </element>
23890 </define>   24345 </define>
23891     24346  
23892 <define name="style-table-column-properties-content">   24347 <define name="style-table-column-properties-content">
23893         <ref name="style-properties-content"/>   24348         <ref name="style-properties-content"/>
23894 </define>   24349 </define>
23895     24350  
23896 <define name="style-table-column-properties-content-strict">   24351 <define name="style-table-column-properties-content-strict">
23897         <ref name="style-table-column-properties-attlist"/>   24352         <ref name="style-table-column-properties-attlist"/>
23898         <ref name="style-table-column-properties-elements"/>   24353         <ref name="style-table-column-properties-elements"/>
23899 </define>   24354 </define>
23900     24355  
23901 <define name="style-table-column-properties-elements">   24356 <define name="style-table-column-properties-elements">
23902         <empty/>   24357         <empty/>
23903 </define>   24358 </define>
23904 15.9.1Column Width   24359 15.9.1Column Width
23905 Every table column must have a fixed width. This width is specified by the style:column-width attribute.   24360 Every table column must have a fixed width. This width is specified by the style:column-width attribute.
23906 The width of a column may be also specified relative to the other column widths. Applications that support specifying the relative width of a column may specify widths in this way, but it is not essential.   24361 The width of a column may be also specified relative to the other column widths. Applications that support specifying the relative width of a column may specify widths in this way, but it is not essential.
23907 A relative width is specified by the style:rel-column-width property that takes a number value, followed by a '*' character. If rc is the relative with of the column, rs the sum of all relative columns widths, and ws the absolute width that is available for these columns, then the absolute with wc of the column is wc=rcws/rs.   24362 A relative width is specified by the style:rel-column-width property that takes a number value, followed by a '*' character. If rc is the relative with of the column, rs the sum of all relative columns widths, and ws the absolute width that is available for these columns, then the absolute with wc of the column is wc=rcws/rs.
23908 <define name="style-table-column-properties-attlist" combine="interleave">   24363 <define name="style-table-column-properties-attlist" combine="interleave">
23909         <optional>   24364         <optional>
23910                 <attribute name="style:column-width">   24365                 <attribute name="style:column-width">
23911                         <ref name="positiveLength"/>   24366                         <ref name="positiveLength"/>
23912                 </attribute>   24367                 </attribute>
23913         </optional>   24368         </optional>
23914         <optional>   24369         <optional>
23915                 <attribute name="style:rel-column-width">   24370                 <attribute name="style:rel-column-width">
23916                         <ref name="relativeLength"/>   24371                         <ref name="relativeLength"/>
23917                 </attribute>   24372                 </attribute>
23918         </optional>   24373         </optional>
23919 </define>   24374 </define>
23920 15.9.2Optimal Table Column Width   24375 15.9.2Optimal Table Column Width
23921 The style:use-optimal-column-width attribute specifies that the column width should be recalculated automatically if some content in the column changes.   24376 The style:use-optimal-column-width attribute specifies that the column width should be recalculated automatically if some content in the column changes.
23922 <define name="style-table-column-properties-attlist" combine="interleave">   24377 <define name="style-table-column-properties-attlist" combine="interleave">
23923         <optional>   24378         <optional>
23924                 <attribute name="style:use-optimal-column-width">   24379                 <attribute name="style:use-optimal-column-width">
23925                         <ref name="boolean"/>   24380                         <ref name="boolean"/>
23926                 </attribute>   24381                 </attribute>
23927         </optional>   24382         </optional>
23928 </define>   24383 </define>
23929 15.9.3Break Before and Break After   24384 15.9.3Break Before and Break After
23930 The fo:break-before and fo:break-after properties insert a page or column break before or after a table column. See section 15.5.22 for a full explanation of these properties.   24385 The fo:break-before and fo:break-after properties insert a page or column break before or after a table column. See section 15.5.22 for a full explanation of these properties.
23931 <define name="style-table-column-properties-attlist" combine="interleave">   24386 <define name="style-table-column-properties-attlist" combine="interleave">
23932         <ref name="common-break-attlist"/>   24387         <ref name="common-break-attlist"/>
23933 </define>   24388 </define>
23934 15.10Table Row Formatting Properties   24389 15.10Table Row Formatting Properties
23935 The properties described in this section can be contained within table column styles (see section 14.12.3) They are contained in a <style:table-column-properties> element. <> 24390 The properties described in this section can be contained within table row styles (see section 14.12.3) They are contained in a <style:table-row-properties> element.
23936 <define name="style-table-row-properties"> = 24391 <define name="style-table-row-properties">
23937         <element name="style:table-row-properties">   24392         <element name="style:table-row-properties">
23938                 <ref name="style-table-row-properties-content"/>   24393                 <ref name="style-table-row-properties-content"/>
23939         </element>   24394         </element>
23940 </define>   24395 </define>
23941     24396  
23942 <define name="style-table-row-properties-content">   24397 <define name="style-table-row-properties-content">
23943         <ref name="style-properties-content"/>   24398         <ref name="style-properties-content"/>
23944 </define>   24399 </define>
23945     24400  
23946 <define name="style-table-row-properties-content-strict">   24401 <define name="style-table-row-properties-content-strict">
23947         <ref name="style-table-row-properties-attlist"/>   24402         <ref name="style-table-row-properties-attlist"/>
23948         <ref name="style-table-row-properties-elements"/>   24403         <ref name="style-table-row-properties-elements"/>
23949 </define>   24404 </define>
23950 15.10.1Row Height   24405 15.10.1Row Height
23951 The style:row-height and style:min-row-height properties specifies the height of a table row. By default, the row height is the height of the tallest item in the row.   24406 The style:row-height and style:min-row-height properties specifies the height of a table row. By default, the row height is the height of the tallest item in the row.
23952 The style:row-height property specifies a fixed row height, while the style:min-row-height property specifies a fixed height.   24407 The style:row-height property specifies a fixed row height, while the style:min-row-height property specifies a fixed height.
23953 <define name="style-table-row-properties-attlist" combine="interleave">   24408 <define name="style-table-row-properties-attlist" combine="interleave">
23954         <optional>   24409         <optional>
23955                 <attribute name="style:row-height">   24410                 <attribute name="style:row-height">
23956                         <ref name="positiveLength"/>   24411                         <ref name="positiveLength"/>
23957                 </attribute>   24412                 </attribute>
23958         </optional>   24413         </optional>
23959         <optional>   24414         <optional>
23960                 <attribute name="style:min-row-height">   24415                 <attribute name="style:min-row-height">
23961                         <ref name="nonNegativeLength"/>   24416                         <ref name="nonNegativeLength"/>
23962                 </attribute>   24417                 </attribute>
23963         </optional>   24418         </optional>
23964 </define>   24419 </define>
23965 15.10.2Optimal Table Row Height   24420 15.10.2Optimal Table Row Height
23966 The style:use-optimal-row-height attribute specifies that the row height should be recalculated automatically if some content in the row changes.   24421 The style:use-optimal-row-height attribute specifies that the row height should be recalculated automatically if some content in the row changes.
23967 <define name="style-table-row-properties-attlist" combine="interleave">   24422 <define name="style-table-row-properties-attlist" combine="interleave">
23968         <optional>   24423         <optional>
23969                 <attribute name="style:use-optimal-row-height">   24424                 <attribute name="style:use-optimal-row-height">
23970                         <ref name="boolean"/>   24425                         <ref name="boolean"/>
23971                 </attribute>   24426                 </attribute>
23972         </optional>   24427         </optional>
23973 </define>   24428 </define>
23974 15.10.3Row Background   24429 15.10.3Row Background
23975 The background attribute fo:background-color and the background element <style:background-image> specify the background properties of the table. See sections 15.5.23 and 15.5.24 for detailed information on this attribute and element.   24430 The background attribute fo:background-color and the background element <style:background-image> specify the background properties of the table. See sections 15.5.23 and 15.5.24 for detailed information on this attribute and element.
23976 <define name="style-table-row-properties-attlist" combine="interleave">   24431 <define name="style-table-row-properties-attlist" combine="interleave">
23977         <ref name="common-background-color-attlist"/>   24432         <ref name="common-background-color-attlist"/>
23978 </define>   24433 </define>
23979 <define name="style-table-row-properties-elements" combine="interleave">   24434 <define name="style-table-row-properties-elements" combine="interleave">
23980         <ref name="style-background-image"/>   24435         <ref name="style-background-image"/>
23981 </define>   24436 </define>
23982 15.10.4Break Before and Break After   24437 15.10.4Break Before and Break After
23983 The fo:break-before and fo:break-after properties insert a page or column break before or after a table column. See section 15.5.22 for a full explanation of these properties. <> 24438 The fo:break-before and fo:break-after properties insert a page or row break before or after a table row. See section 15.5.22 for a full explanation of these properties.
23984 <define name="style-table-row-properties-attlist" combine="interleave"> = 24439 <define name="style-table-row-properties-attlist" combine="interleave">
23985         <ref name="common-break-attlist"/>   24440         <ref name="common-break-attlist"/>
23986 </define>   24441 </define>
23987 15.10.5Keep Together   24442 15.10.5Keep Together
23988 Use the fo:keep-together property to control whether the contents of a table cell should be kept together on the same page or column (if the value is always), or whether breaks are allowed within the cell (if the value is auto). See §7.19.3 of [XSL] for details.   24443 Use the fo:keep-together property to control whether the contents of a table cell should be kept together on the same page or column (if the value is always), or whether breaks are allowed within the cell (if the value is auto). See §7.19.3 of [XSL] for details.
23989 <define name="style-table-row-properties-attlist" combine="interleave">   24444 <define name="style-table-row-properties-attlist" combine="interleave">
23990         <optional>   24445         <optional>
23991                 <attribute name="fo:keep-together">   24446                 <attribute name="fo:keep-together">
23992                         <choice>   24447                         <choice>
23993                                 <value>auto</value>   24448                                 <value>auto</value>
23994                                 <value>always</value>   24449                                 <value>always</value>
23995                         </choice>   24450                         </choice>
23996                 </attribute>   24451                 </attribute>
23997         </optional>   24452         </optional>
23998 </define>   24453 </define>
23999 15.11Table Cell Formatting Properties   24454 15.11Table Cell Formatting Properties
24000 The properties described in this section can be contained within table cell styles (see section 14.12.4) They are contained in a <style:table-column-properties> element.   24455 The properties described in this section can be contained within table cell styles (see section 14.12.4) They are contained in a <style:table-column-properties> element.
24001 <define name="style-table-cell-properties">   24456 <define name="style-table-cell-properties">
24002         <element name="style:table-cell-properties">   24457         <element name="style:table-cell-properties">
24003                 <ref name="style-table-cell-properties-content"/>   24458                 <ref name="style-table-cell-properties-content"/>
24004         </element>   24459         </element>
24005 </define>   24460 </define>
24006     24461  
24007 <define name="style-table-cell-properties-content">   24462 <define name="style-table-cell-properties-content">
24008         <ref name="style-properties-content"/>   24463         <ref name="style-properties-content"/>
24009 </define>   24464 </define>
24010     24465  
24011 <define name="style-table-cell-properties-content-strict">   24466 <define name="style-table-cell-properties-content-strict">
24012         <ref name="style-table-cell-properties-attlist"/>   24467         <ref name="style-table-cell-properties-attlist"/>
24013         <ref name="style-table-cell-properties-elements"/>   24468         <ref name="style-table-cell-properties-elements"/>
24014 </define>   24469 </define>
24015 15.11.1Vertical Alignment   24470 15.11.1Vertical Alignment
24016 The vertical alignment property style:vertical-align is used to specify the vertical alignment of text in a table cell.   24471 The vertical alignment property style:vertical-align is used to specify the vertical alignment of text in a table cell.
24017 The options for the vertical alignment property are as follows:   24472 The options for the vertical alignment property are as follows:
24018 top — Aligns text vertically with the top of the cell.   24473 top — Aligns text vertically with the top of the cell.
24019 middle — Aligns text vertically with the middle of the cell.   24474 middle — Aligns text vertically with the middle of the cell.
24020 bottom — Aligns text vertically with the bottom of the cell.   24475 bottom — Aligns text vertically with the bottom of the cell.
24021 automatic – The application decide how to align the text.   24476 automatic – The application decide how to align the text.
24022 <define name="style-table-cell-properties-attlist" combine="interleave">   24477 <define name="style-table-cell-properties-attlist" combine="interleave">
24023         <optional>   24478         <optional>
24024                 <attribute name="style:vertical-align">   24479                 <attribute name="style:vertical-align">
24025                         <choice>   24480                         <choice>
24026                                 <value>top</value>   24481                                 <value>top</value>
24027                                 <value>middle</value>   24482                                 <value>middle</value>
24028                                 <value>bottom</value>   24483                                 <value>bottom</value>
24029                                 <value>automatic</value>   24484                                 <value>automatic</value>
24030                         </choice>   24485                         </choice>
24031                         </attribute>   24486                         </attribute>
24032         </optional>   24487         </optional>
24033 </define>   24488 </define>
24034 15.11.2Text Align Source   24489 15.11.2Text Align Source
24035 The style:text-align-source property specifies the source of the text-align property. If the value of this attribute is fix, the value of the fo:text-align property is used. If the value is value-type, the text alignment depends on the value-type of the cell.   24490 The style:text-align-source property specifies the source of the text-align property. If the value of this attribute is fix, the value of the fo:text-align property is used. If the value is value-type, the text alignment depends on the value-type of the cell.
24036 <define name="style-table-cell-properties-attlist" combine="interleave">   24491 <define name="style-table-cell-properties-attlist" combine="interleave">
24037         <optional>   24492         <optional>
24038                 <attribute name="style:text-align-source">   24493                 <attribute name="style:text-align-source">
24039                         <choice>   24494                         <choice>
24040                                 <value>fix</value>   24495                                 <value>fix</value>
24041                                 <value>value-type</value>   24496                                 <value>value-type</value>
24042                         </choice>   24497                         </choice>
24043                 </attribute>   24498                 </attribute>
24044         </optional>   24499         </optional>
24045 </define>   24500 </define>
24046 15.11.3Direction   24501 15.11.3Direction
24047 The style:direction property specifies the direction of characters in a cell. The most common direction is left to right (ltr). The other direction is top to bottom (ttb), where the characters in the cell are stacked but not rotated.   24502 The style:direction property specifies the direction of characters in a cell. The most common direction is left to right (ltr). The other direction is top to bottom (ttb), where the characters in the cell are stacked but not rotated.
24048 <define name="style-table-cell-properties-attlist" combine="interleave">   24503 <define name="style-table-cell-properties-attlist" combine="interleave">
24049         <ref name="common-style-direction-attlist"/>   24504         <ref name="common-style-direction-attlist"/>
24050 </define>   24505 </define>
24051     24506  
24052 <define name="common-style-direction-attlist">   24507 <define name="common-style-direction-attlist">
24053         <optional>   24508         <optional>
24054                 <attribute name="style:direction">   24509                 <attribute name="style:direction">
24055                         <choice>   24510                         <choice>
24056                                 <value>ltr</value>   24511                                 <value>ltr</value>
24057                                 <value>ttb</value>   24512                                 <value>ttb</value>
24058                         </choice>   24513                         </choice>
24059                 </attribute>   24514                 </attribute>
24060         </optional>   24515         </optional>
24061 </define>   24516 </define>
24062 15.11.4Vertical Glyph Orientation   24517 15.11.4Vertical Glyph Orientation
24063 The style:glyph-orientation-vertical property specifies the vertical glyph orientation. The property specifies an angle or automatic mode. The only possible angle is 0, which disables this feature.   24518 The style:glyph-orientation-vertical property specifies the vertical glyph orientation. The property specifies an angle or automatic mode. The only possible angle is 0, which disables this feature.
24064 <define name="style-table-cell-properties-attlist" combine="interleave">   24519 <define name="style-table-cell-properties-attlist" combine="interleave">
24065         <optional>   24520         <optional>
24066                 <attribute name="style:glyph-orientation-vertical">   24521                 <attribute name="style:glyph-orientation-vertical">
24067                         <choice>   24522                         <choice>
24068                                 <value>auto</value>   24523                                 <value>auto</value>
24069                                 <value>0</value>   24524                                 <value>0</value>
24070                         </choice>   24525                         </choice>
24071                 </attribute>   24526                 </attribute>
24072         </optional>   24527         </optional>
24073 </define>   24528 </define>
24074 15.11.5Cell Shadow   24529 15.11.5Cell Shadow
24075 The style:shadow property specifies that a shadow visual effect appears on a table cell. See section 15.5.28 for a full explanation of this property.   24530 The style:shadow property specifies that a shadow visual effect appears on a table cell. See section 15.5.28 for a full explanation of this property.
24076 <define name="style-table-cell-properties-attlist" combine="interleave">   24531 <define name="style-table-cell-properties-attlist" combine="interleave">
24077         <ref name="common-shadow-attlist"/>   24532         <ref name="common-shadow-attlist"/>
24078 </define>   24533 </define>
24079 15.11.6Cell Background   24534 15.11.6Cell Background
24080 The background attribute fo:background-color and the background element <style:background-image> specify the background properties of the table cell. See sections 15.5.23 and 15.5.24 for detailed information on this attribute and element.   24535 The background attribute fo:background-color and the background element <style:background-image> specify the background properties of the table cell. See sections 15.5.23 and 15.5.24 for detailed information on this attribute and element.
24081 <define name="style-table-cell-properties-attlist" combine="interleave">   24536 <define name="style-table-cell-properties-attlist" combine="interleave">
24082         <ref name="common-background-color-attlist"/>   24537         <ref name="common-background-color-attlist"/>
24083 </define>   24538 </define>
24084 <define name="style-table-cell-properties-elements" combine="interleave">   24539 <define name="style-table-cell-properties-elements" combine="interleave">
24085         <ref name="style-background-image"/>   24540         <ref name="style-background-image"/>
24086 </define>   24541 </define>
24087 15.11.7Cell Border   24542 15.11.7Cell Border
24088 The border attributes fo:border, fo:border-top, fo:border-bottom, fo:border-left  and fo:border-right specify the border properties of the table cell. See section 15.5.25 for detailed information on these attributes.   24543 The border attributes fo:border, fo:border-top, fo:border-bottom, fo:border-left  and fo:border-right specify the border properties of the table cell. See section 15.5.25 for detailed information on these attributes.
24089 <define name="style-table-cell-properties-attlist" combine="interleave">   24544 <define name="style-table-cell-properties-attlist" combine="interleave">
24090         <ref name="common-border-attlist"/>   24545         <ref name="common-border-attlist"/>
24091 </define>   24546 </define>
24092 15.11.8Diagonal Lines   24547 15.11.8Diagonal Lines
24093 Spreadsheet cells can also have diagonal lines, which follow the same specification as borders.   24548 Spreadsheet cells can also have diagonal lines, which follow the same specification as borders.
24094 style:diagonal-tl-br defines the style of "border" to use for the topleft-bottomright diagonal (see section 15.5.25 for detailed information). In case of a double line, style:diagonal-bl-tr-widths allows to specify the width of the inner and outer lines and the distance between them  (see section 15.5.26 for detailed information).   24549 style:diagonal-tl-br defines the style of "border" to use for the topleft-bottomright diagonal (see section 15.5.25 for detailed information). In case of a double line, style:diagonal-bl-tr-widths allows to specify the width of the inner and outer lines and the distance between them  (see section 15.5.26 for detailed information).
24095 style:diagonal-bl-tr and style:diagonal-tl-br-widths define the same properties for the bottomleft-topright diagonal.   24550 style:diagonal-bl-tr and style:diagonal-tl-br-widths define the same properties for the bottomleft-topright diagonal.
24096 <define name="style-table-cell-properties-attlist" combine="interleave">   24551 <define name="style-table-cell-properties-attlist" combine="interleave">
24097         <optional>   24552         <optional>
24098                 <attribute name="style:diagonal-tl-br">   24553                 <attribute name="style:diagonal-tl-br">
24099                         <ref name="string"/>   24554                         <ref name="string"/>
24100                 </attribute>   24555                 </attribute>
24101         </optional>   24556         </optional>
24102         <optional>   24557         <optional>
24103                 <attribute name="style:diagonal-tl-br-widths">   24558                 <attribute name="style:diagonal-tl-br-widths">
24104                         <ref name="borderWidths"/>   24559                         <ref name="borderWidths"/>
24105                 </attribute>   24560                 </attribute>
24106         </optional>   24561         </optional>
24107         <optional>   24562         <optional>
24108                 <attribute name="style:diagonal-bl-tr">   24563                 <attribute name="style:diagonal-bl-tr">
24109                         <ref name="string"/>   24564                         <ref name="string"/>
24110                 </attribute>   24565                 </attribute>
24111         </optional>   24566         </optional>
24112         <optional>   24567         <optional>
24113                 <attribute name="style:diagonal-bl-tr-widths">   24568                 <attribute name="style:diagonal-bl-tr-widths">
24114                         <ref name="borderWidths"/>   24569                         <ref name="borderWidths"/>
24115                 </attribute>   24570                 </attribute>
24116         </optional>   24571         </optional>
24117 </define>   24572 </define>
24118 15.11.9Border Line Width   24573 15.11.9Border Line Width
24119 The border line width attributes style:border-line-width, style:border-line-width-top, style:border-line-width-bottom, style:border-line-width-left and style:border-line-width-right specify the properties of the border lines of the page. See section 15.5.26 for detailed information on these attributes.   24574 The border line width attributes style:border-line-width, style:border-line-width-top, style:border-line-width-bottom, style:border-line-width-left and style:border-line-width-right specify the properties of the border lines of the page. See section 15.5.26 for detailed information on these attributes.
24120 <define name="style-table-cell-properties-attlist" combine="interleave">   24575 <define name="style-table-cell-properties-attlist" combine="interleave">
24121         <ref name="common-border-line-width-attlist"/>   24576         <ref name="common-border-line-width-attlist"/>
24122 </define>   24577 </define>
24123 15.11.10Padding   24578 15.11.10Padding
24124 The padding attributes fo:padding, fo:padding-top, fo:padding-bottom, fo:padding-left and fo:padding-right specify the padding properties of the table cell. See section 15.5.27 for detailed information on these attributes.   24579 The padding attributes fo:padding, fo:padding-top, fo:padding-bottom, fo:padding-left and fo:padding-right specify the padding properties of the table cell. See section 15.5.27 for detailed information on these attributes.
24125 <define name="style-table-cell-properties-attlist" combine="interleave">   24580 <define name="style-table-cell-properties-attlist" combine="interleave">
24126         <ref name="common-padding-attlist"/>   24581         <ref name="common-padding-attlist"/>
24127 </define>   24582 </define>
24128 15.11.11Wrap Option   24583 15.11.11Wrap Option
24129 The fo:wrap-option property specifies whether text wraps within a table cell. See §7.5.13 of [XSL] for details. If wrapping is disabled, the application determines whether the clipped text is visible or hidden. If the text is hidden applications may support a scrolling mechanism to access the text. This is similar to setting a fo:overflow property to a value of auto. See also §7.20.2 of [XSL].   24584 The fo:wrap-option property specifies whether text wraps within a table cell. See §7.5.13 of [XSL] for details. If wrapping is disabled, the application determines whether the clipped text is visible or hidden. If the text is hidden applications may support a scrolling mechanism to access the text. This is similar to setting a fo:overflow property to a value of auto. See also §7.20.2 of [XSL].
24130 <define name="style-table-cell-properties-attlist" combine="interleave">   24585 <define name="style-table-cell-properties-attlist" combine="interleave">
24131         <optional>   24586         <optional>
24132                 <attribute name="fo:wrap-option">   24587                 <attribute name="fo:wrap-option">
24133                         <choice>   24588                         <choice>
24134                                 <value>no-wrap</value>   24589                                 <value>no-wrap</value>
24135                                 <value>wrap</value>   24590                                 <value>wrap</value>
24136                         </choice>   24591                         </choice>
24137                 </attribute>   24592                 </attribute>
24138         </optional>   24593         </optional>
24139 </define>   24594 </define>
24140 15.11.12Rotation Angle   24595 15.11.12Rotation Angle
24141 The style:rotation-angle property specifies the rotation angle of the cell content in degrees.   24596 The style:rotation-angle property specifies the rotation angle of the cell content in degrees.
24142 <define name="style-table-cell-properties-attlist" combine="interleave">   24597 <define name="style-table-cell-properties-attlist" combine="interleave">
24143         <ref name="common-rotation-angle-attlist"/>   24598         <ref name="common-rotation-angle-attlist"/>
24144 </define>   24599 </define>
24145     24600  
24146 <define name="common-rotation-angle-attlist">   24601 <define name="common-rotation-angle-attlist">
24147         <optional>   24602         <optional>
24148                 <attribute name="style:rotation-angle">   24603                 <attribute name="style:rotation-angle">
24149                         <ref name="nonNegativeInteger"/>   24604                         <ref name="nonNegativeInteger"/>
24150                 </attribute>   24605                 </attribute>
24151         </optional>   24606         </optional>
24152 </define>   24607 </define>
24153 15.11.13Rotation Align   24608 15.11.13Rotation Align
24154 The style:rotation-align property specifies how the edge of the text in a cell is aligned after a rotation. There are four alignment options: "none", "bottom", "top", or "center".   24609 The style:rotation-align property specifies how the edge of the text in a cell is aligned after a rotation. There are four alignment options: "none", "bottom", "top", or "center".
24155 Alignment   24610 Alignment
24156 Text is...   24611 Text is...
24157 Borders and background are...   24612 Borders and background are...
24158 None.   24613 None.
24159 Rotated.   24614 Rotated.
24160 Unchanged.   24615 Unchanged.
24161 Bottom of the cell.   24616 Bottom of the cell.
24162 Top of the cell.   24617 Top of the cell.
24163 Center of the cell.   24618 Center of the cell.
24164 Rotated and may overlap with other cells if the text is longer than the length of the cell.   24619 Rotated and may overlap with other cells if the text is longer than the length of the cell.
24165 Positioned parallel to the text, whereby the upper or lower edge is drawn at the original position of the cell.   24620 Positioned parallel to the text, whereby the upper or lower edge is drawn at the original position of the cell.
24166     24621  
24167 <define name="style-table-cell-properties-attlist" combine="interleave">   24622 <define name="style-table-cell-properties-attlist" combine="interleave">
24168         <optional>   24623         <optional>
24169                 <attribute name="style:rotation-align">   24624                 <attribute name="style:rotation-align">
24170                         <choice>   24625                         <choice>
24171                                 <value>none</value>   24626                                 <value>none</value>
24172                                 <value>bottom</value>   24627                                 <value>bottom</value>
24173                                 <value>top</value>   24628                                 <value>top</value>
24174                                 <value>center</value>   24629                                 <value>center</value>
24175                         </choice>   24630                         </choice>
24176                 </attribute>   24631                 </attribute>
24177         </optional>   24632         </optional>
24178 </define>   24633 </define>
24179 15.11.14Cell Protect   24634 15.11.14Cell Protect
24180 The style:cell-protect property specifies how a cell is protected.   24635 The style:cell-protect property specifies how a cell is protected.
24181 This attribute is only evaluated if the current table is protected (see section 8.1.1). The value of the attribute can be "none", "hidden-and-protected", or a space-separated list containing the values "protected" or "formula-hidden".   24636 This attribute is only evaluated if the current table is protected (see section 8.1.1). The value of the attribute can be "none", "hidden-and-protected", or a space-separated list containing the values "protected" or "formula-hidden".
24182 <define name="style-table-cell-properties-attlist" combine="interleave">   24637 <define name="style-table-cell-properties-attlist" combine="interleave">
24183         <optional>   24638         <optional>
24184                 <attribute name="style:cell-protect">   24639                 <attribute name="style:cell-protect">
24185                         <choice>   24640                         <choice>
24186                                 <value>none</value>   24641                                 <value>none</value>
24187                                 <value>hidden-and-protected</value>   24642                                 <value>hidden-and-protected</value>
24188                                 <list>   24643                                 <list>
24189                                         <oneOrMore>   24644                                         <oneOrMore>
24190                                                 <choice>   24645                                                 <choice>
24191                                                         <value>protected</value>   24646                                                         <value>protected</value>
24192                                                         <value>formula-hidden</value>   24647                                                         <value>formula-hidden</value>
24193                                                 </choice>   24648                                                 </choice>
24194                                         </oneOrMore>   24649                                         </oneOrMore>
24195                                 </list>   24650                                 </list>
24196                         </choice>   24651                         </choice>
24197                 </attribute>   24652                 </attribute>
24198         </optional>   24653         </optional>
24199 </define>   24654 </define>
24200 15.11.15Print Content   24655 15.11.15Print Content
24201 The style:print-content property specifies whether or not the cell content is printed.   24656 The style:print-content property specifies whether or not the cell content is printed.
24202 <define name="style-table-cell-properties-attlist" combine="interleave">   24657 <define name="style-table-cell-properties-attlist" combine="interleave">
24203         <optional>   24658         <optional>
24204                 <attribute name="style:print-content">   24659                 <attribute name="style:print-content">
24205                         <ref name="boolean"/>   24660                         <ref name="boolean"/>
24206                 </attribute>   24661                 </attribute>
24207         </optional>   24662         </optional>
24208 </define>   24663 </define>
24209 15.11.16Decimal places   24664 15.11.16Decimal places
24210 The style:decimal-places attribute specifies the maximum number of decimal places that are displayed if numbers are formatted by a data style that has no setting for number of decimal places itself. See also section 14.7.9.   24665 The style:decimal-places attribute specifies the maximum number of decimal places that are displayed if numbers are formatted by a data style that has no setting for number of decimal places itself. See also section 14.7.9.
24211 This property is usually only evaluated if it is contained in a default style (see section 14.2).   24666 This property is usually only evaluated if it is contained in a default style (see section 14.2).
24212 <define name="style-table-cell-properties-attlist" combine="interleave">   24667 <define name="style-table-cell-properties-attlist" combine="interleave">
24213         <optional>   24668         <optional>
24214                 <attribute name="style:decimal-places">   24669                 <attribute name="style:decimal-places">
24215                         <ref name="nonNegativeInteger"/>   24670                         <ref name="nonNegativeInteger"/>
24216                 </attribute>   24671                 </attribute>
24217         </optional>   24672         </optional>
24218 </define>   24673 </define>
24219 15.11.17Repeat Content   24674 15.11.17Repeat Content
24220 The style:repeat-content property specifies whether the content of a cell is displayed as many times as there is space left in the cell's writing direction. Only full instances of the text are displayed. The property has no effect for cell content that contains a line break. This property is for instance used to "fill" a table cell with "-" or "x" characters so that no other data can be entered.   24675 The style:repeat-content property specifies whether the content of a cell is displayed as many times as there is space left in the cell's writing direction. Only full instances of the text are displayed. The property has no effect for cell content that contains a line break. This property is for instance used to "fill" a table cell with "-" or "x" characters so that no other data can be entered.
24221 <define name="style-table-cell-properties-attlist" combine="interleave">   24676 <define name="style-table-cell-properties-attlist" combine="interleave">
24222         <optional>   24677         <optional>
24223                 <attribute name="style:repeat-content">   24678                 <attribute name="style:repeat-content">
24224                         <ref name="boolean"/>   24679                         <ref name="boolean"/>
24225                 </attribute>   24680                 </attribute>
24226         </optional>   24681         </optional>
24227 </define>   24682 </define>
24228 15.11.18Shrink To Fit   24683 15.11.18Shrink To Fit
24229 The style:shrink-to-fit property specifies whether the content of a cell, if necessary, gets shrunk to fit into the cell. Shrinking does mean that the cell's font size is decreased, so that the complete text fits into the cell. The property has no effect on cells where the cell content fits already into the cell.   24684 The style:shrink-to-fit property specifies whether the content of a cell, if necessary, gets shrunk to fit into the cell. Shrinking does mean that the cell's font size is decreased, so that the complete text fits into the cell. The property has no effect on cells where the cell content fits already into the cell.
24230 <define name="style-table-cell-properties-attlist" combine="interleave">   24685 <define name="style-table-cell-properties-attlist" combine="interleave">
24231         <optional>   24686         <optional>
24232                 <attribute name="style:shrink-to-fit">   24687                 <attribute name="style:shrink-to-fit">
24233                         <ref name="boolean"/>   24688                         <ref name="boolean"/>
24234                 </attribute>   24689                 </attribute>
24235         </optional>   24690         </optional>
24236 </define>   24691 </define>
24237 15.12List-Level Style Properties   24692 15.12List-Level Style Properties
24238 The properties described in this section can be contained within the various list style level elements (see section 14.10). They are contained in a <style:list-level-properties> element.   24693 The properties described in this section can be contained within the various list style level elements (see section 14.10). They are contained in a <style:list-level-properties> element.
24239 <define name="style-list-level-properties">   24694 <define name="style-list-level-properties">
24240         <element name="style:list-level-properties">   24695         <element name="style:list-level-properties">
24241                 <ref name="style-list-level-properties-content"/>   24696                 <ref name="style-list-level-properties-content"/>
24242         </element>   24697         </element>
24243 </define>   24698 </define>
24244     24699  
24245 <define name="style-list-level-properties-content">   24700 <define name="style-list-level-properties-content">
24246         <ref name="style-properties-content"/>   24701         <ref name="style-properties-content"/>
24247 </define>   24702 </define>
24248     24703  
24249 <define name="style-list-level-properties-content-strict">   24704 <define name="style-list-level-properties-content-strict">
24250         <ref name="style-list-level-properties-attlist"/>   24705         <ref name="style-list-level-properties-attlist"/>
24251         <ref name="style-list-level-properties-elements"/>   24706         <ref name="style-list-level-properties-elements"/>
24252 </define>   24707 </define>
24253     24708  
24254 <define name="style-list-level-properties-elements">   24709 <define name="style-list-level-properties-elements">
24255         <empty/>   24710         <empty/>
24256 </define>   24711 </define>
24257 Label Alignment   24712 Label Alignment
24258 The fo:text-align attribute specifies the horizontal alignment of a label (number) within the width specified by the text:min-label-width attribute. See also section 15.5.5,   24713 The fo:text-align attribute specifies the horizontal alignment of a label (number) within the width specified by the text:min-label-width attribute. See also section 15.5.5,
24259 <define name="style-list-level-properties-attlist" combine="interleave">   24714 <define name="style-list-level-properties-attlist" combine="interleave">
24260         <ref name="common-text-align"/>   24715         <ref name="common-text-align"/>
24261 </define>   24716 </define>
24262 Start Indent   24717 Start Indent
24263 The text:space-before attribute specifies the space to include before the number for all paragraphs at this level. If a paragraph has a left margin that is greater than 0, the actual position of the list label box is the left margin width plus the start indent value.   24718 The text:space-before attribute specifies the space to include before the number for all paragraphs at this level. If a paragraph has a left margin that is greater than 0, the actual position of the list label box is the left margin width plus the start indent value.
24264 This attribute can be associated with an item set element that is contained in a <text:list-level-style-*> element.   24719 This attribute can be associated with an item set element that is contained in a <text:list-level-style-*> element.
24265 The value of the attribute is an absolute value. This means that when the position of a label is calculated the start indent value of the current level is only considered. The start indent values for lower levels do not affect the label position.   24720 The value of the attribute is an absolute value. This means that when the position of a label is calculated the start indent value of the current level is only considered. The start indent values for lower levels do not affect the label position.
24266 <define name="style-list-level-properties-attlist" combine="interleave">   24721 <define name="style-list-level-properties-attlist" combine="interleave">
24267         <optional>   24722         <optional>
24268                 <attribute name="text:space-before">   24723                 <attribute name="text:space-before">
24269                         <ref name="nonNegativeLength"/>   24724                         <ref name="nonNegativeLength"/>
24270                 </attribute>   24725                 </attribute>
24271         </optional>   24726         </optional>
24272 </define>   24727 </define>
24273 Minimum Label Width   24728 Minimum Label Width
24274 The text:min-label-width attribute specifies the minimum width of a number.   24729 The text:min-label-width attribute specifies the minimum width of a number.
24275 This attribute can be associated with an item set element that is contained in a <text:list-level-style-*> element.   24730 This attribute can be associated with an item set element that is contained in a <text:list-level-style-*> element.
24276 The label can be aligned horizontally with the width using an fo:text-align property. See the Label Alignment attribute below for more information.   24731 The label can be aligned horizontally with the width using an fo:text-align property. See the Label Alignment attribute below for more information.
24277 <define name="style-list-level-properties-attlist" combine="interleave">   24732 <define name="style-list-level-properties-attlist" combine="interleave">
24278         <optional>   24733         <optional>
24279                 <attribute name="text:min-label-width">   24734                 <attribute name="text:min-label-width">
24280                         <ref name="nonNegativeLength"/>   24735                         <ref name="nonNegativeLength"/>
24281                 </attribute>   24736                 </attribute>
24282         </optional>   24737         </optional>
24283 </define>   24738 </define>
24284 Minimum Label Distance   24739 Minimum Label Distance
24285 The text:min-label-distance attribute specifies the minimum distance between the number and the text of the list item.   24740 The text:min-label-distance attribute specifies the minimum distance between the number and the text of the list item.
24286 This attribute can be associated with an item set element that is contained in a <text:list-level-style-*> element.   24741 This attribute can be associated with an item set element that is contained in a <text:list-level-style-*> element.
24287 <define name="style-list-level-properties-attlist" combine="interleave">   24742 <define name="style-list-level-properties-attlist" combine="interleave">
24288         <optional>   24743         <optional>
24289                 <attribute name="text:min-label-distance">   24744                 <attribute name="text:min-label-distance">
24290                         <ref name="nonNegativeLength"/>   24745                         <ref name="nonNegativeLength"/>
24291                 </attribute>   24746                 </attribute>
24292         </optional>   24747         </optional>
24293 </define>   24748 </define>
24294 Font Name   24749 Font Name
24295 The style:font-name attribute species the name of a font that is used to display a bullet character. See also section 15.4.13.   24750 The style:font-name attribute species the name of a font that is used to display a bullet character. See also section 15.4.13.
24296 <define name="style-list-level-properties-attlist" combine="interleave">   24751 <define name="style-list-level-properties-attlist" combine="interleave">
24297         <optional>   24752         <optional>
24298                 <attribute name="style:font-name">   24753                 <attribute name="style:font-name">
24299                         <ref name="string"/>   24754                         <ref name="string"/>
24300                 </attribute>   24755                 </attribute>
24301         </optional>   24756         </optional>
24302 </define>   24757 </define>
24303 Image Size   24758 Image Size
24304 The size of the image is specified by the following attributes:   24759 The size of the image is specified by the following attributes:
24305 <define name="style-list-level-properties-attlist" combine="interleave">   24760 <define name="style-list-level-properties-attlist" combine="interleave">
24306         <optional>   24761         <optional>
24307                 <attribute name="fo:width">   24762                 <attribute name="fo:width">
24308                         <ref name="positiveLength"/>   24763                         <ref name="positiveLength"/>
24309                 </attribute>   24764                 </attribute>
24310         </optional>   24765         </optional>
24311         <optional>   24766         <optional>
24312                 <attribute name="fo:height">   24767                 <attribute name="fo:height">
24313                         <ref name="positiveLength"/>   24768                         <ref name="positiveLength"/>
24314                 </attribute>   24769                 </attribute>
24315         </optional>   24770         </optional>
24316 </define>   24771 </define>
24317 Vertical Alignment   24772 Vertical Alignment
24318 The vertical alignment of the image is specified by the style:vertical-pos and style:vertical-rel properties. See sections 15.27.11 and 15.27.12 for details.   24773 The vertical alignment of the image is specified by the style:vertical-pos and style:vertical-rel properties. See sections 15.27.11 and 15.27.12 for details.
24319 <define name="style-list-level-properties-attlist" combine="interleave">   24774 <define name="style-list-level-properties-attlist" combine="interleave">
24320         <ref name="common-vertical-rel-attlist"/>   24775         <ref name="common-vertical-rel-attlist"/>
24321         <ref name="common-vertical-pos-attlist"/>   24776         <ref name="common-vertical-pos-attlist"/>
24322 </define>   24777 </define>
24323 15.13Stroke Properties   24778 15.13Stroke Properties
24324 The following stroke properties are used to define drawing object line characteristics. They are available for drawing objects contained in all kinds of applications.   24779 The following stroke properties are used to define drawing object line characteristics. They are available for drawing objects contained in all kinds of applications.
24325 Style   24780 Style
24326 Dash   24781 Dash
24327 Width   24782 Width
24328 Color   24783 Color
24329 Start marker   24784 Start marker
24330 End marker   24785 End marker
24331 Start marker width   24786 Start marker width
24332 End marker width   24787 End marker width
24333 Start marker center   24788 Start marker center
24334 End marker center   24789 End marker center
24335 Opacity   24790 Opacity
24336 Joint   24791 Joint
24337 The properties described in this section can be contained within style elements <style:style> whose family is either graphic or presentation. They are contained in a <style:graphic-properties> element.   24792 The properties described in this section can be contained within style elements <style:style> whose family is either graphic or presentation. They are contained in a <style:graphic-properties> element.
24338 15.13.1Stroke Style   24793 15.13.1Stroke Style
24339 The attribute draw:stroke specifies the style of the stroke on the current object. The value none means that no stroke is drawn, and the value solid means that a solid stroke is drawn. If the value is dash, the stroke referenced by the draw:stroke-dash property is drawn.   24794 The attribute draw:stroke specifies the style of the stroke on the current object. The value none means that no stroke is drawn, and the value solid means that a solid stroke is drawn. If the value is dash, the stroke referenced by the draw:stroke-dash property is drawn.
24340 <define name="style-graphic-properties-attlist" combine="interleave">   24795 <define name="style-graphic-properties-attlist" combine="interleave">
24341         <optional>   24796         <optional>
24342                 <attribute name="draw:stroke">   24797                 <attribute name="draw:stroke">
24343                         <choice>   24798                         <choice>
24344                                 <value>none</value>   24799                                 <value>none</value>
24345                                 <value>dash</value>   24800                                 <value>dash</value>
24346                                 <value>solid</value>   24801                                 <value>solid</value>
24347                         </choice>   24802                         </choice>
24348                 </attribute>   24803                 </attribute>
24349         </optional>   24804         </optional>
24350 </define>   24805 </define>
24351 15.13.2Dash   24806 15.13.2Dash
24352 The attribute draw:stroke-dash specifies the dash style that is used for the stroke. See section 14.14.7 for dash styles.   24807 The attribute draw:stroke-dash specifies the dash style that is used for the stroke. See section 14.14.7 for dash styles.
24353 <define name="style-graphic-properties-attlist" combine="interleave">   24808 <define name="style-graphic-properties-attlist" combine="interleave">
24354         <optional>   24809         <optional>
24355                 <attribute name="draw:stroke-dash">   24810                 <attribute name="draw:stroke-dash">
24356                         <ref name="styleNameRef"/>   24811                         <ref name="styleNameRef"/>
24357                 </attribute>   24812                 </attribute>
24358         </optional>   24813         </optional>
24359 </define>   24814 </define>
24360 15.13.3Multiple Dashes   24815 15.13.3Multiple Dashes
24361 The attribute draw:stroke-dash-names specifies a list of dash styles that are used for the stroke in addition to the dash specified by the draw:stroke-dash attribute. See section 15.13.2 for the draw:stroke-dash attribute and section 14.14.7 for dash styles.   24816 The attribute draw:stroke-dash-names specifies a list of dash styles that are used for the stroke in addition to the dash specified by the draw:stroke-dash attribute. See section 15.13.2 for the draw:stroke-dash attribute and section 14.14.7 for dash styles.
24362 <define name="style-graphic-properties-attlist" combine="interleave">   24817 <define name="style-graphic-properties-attlist" combine="interleave">
24363         <optional>   24818         <optional>
24364                 <attribute name="draw:stroke-dash-names">   24819                 <attribute name="draw:stroke-dash-names">
24365                         <ref name="styleNameRefs"/>   24820                         <ref name="styleNameRefs"/>
24366                 </attribute>   24821                 </attribute>
24367         </optional>   24822         </optional>
24368 </define>   24823 </define>
24369 15.13.4Width   24824 15.13.4Width
24370 The attribute svg:stroke-width specifies the width of the stroke on the current object.   24825 The attribute svg:stroke-width specifies the width of the stroke on the current object.
24371 <define name="style-graphic-properties-attlist" combine="interleave">   24826 <define name="style-graphic-properties-attlist" combine="interleave">
24372         <optional>   24827         <optional>
24373                 <attribute name="svg:stroke-width">   24828                 <attribute name="svg:stroke-width">
24374                         <ref name="length"/>   24829                         <ref name="length"/>
24375                 </attribute>   24830                 </attribute>
24376         </optional>   24831         </optional>
24377 </define>   24832 </define>
24378 15.13.5Color   24833 15.13.5Color
24379 The attribute svg:stroke-color specifies the color of the stroke on the current object.   24834 The attribute svg:stroke-color specifies the color of the stroke on the current object.
24380 <define name="style-graphic-properties-attlist" combine="interleave">   24835 <define name="style-graphic-properties-attlist" combine="interleave">
24381         <optional>   24836         <optional>
24382                 <attribute name="svg:stroke-color">   24837                 <attribute name="svg:stroke-color">
24383                         <ref name="color"/>   24838                         <ref name="color"/>
24384                 </attribute>   24839                 </attribute>
24385         </optional>   24840         </optional>
24386 </define>   24841 </define>
24387 15.13.6Start Marker   24842 15.13.6Start Marker
24388 The attribute draw:marker-start specifies a line start marker, which is a path that can be connected to the start of a stroke. See section 14.14.6 for markers.   24843 The attribute draw:marker-start specifies a line start marker, which is a path that can be connected to the start of a stroke. See section 14.14.6 for markers.
24389 <define name="style-graphic-properties-attlist" combine="interleave">   24844 <define name="style-graphic-properties-attlist" combine="interleave">
24390         <optional>   24845         <optional>
24391                 <attribute name="draw:marker-start">   24846                 <attribute name="draw:marker-start">
24392                         <ref name="styleNameRef"/>   24847                         <ref name="styleNameRef"/>
24393                 </attribute>   24848                 </attribute>
24394         </optional>   24849         </optional>
24395 </define>   24850 </define>
24396 15.13.7End Marker   24851 15.13.7End Marker
24397 The attribute draw:marker-end specifies a stroke end marker, which is a path that can be connected to the end of a stroke. See section 14.14.6 for markers.   24852 The attribute draw:marker-end specifies a stroke end marker, which is a path that can be connected to the end of a stroke. See section 14.14.6 for markers.
24398 <define name="style-graphic-properties-attlist" combine="interleave">   24853 <define name="style-graphic-properties-attlist" combine="interleave">
24399         <optional>   24854         <optional>
24400                 <attribute name="draw:marker-end">   24855                 <attribute name="draw:marker-end">
24401                         <ref name="styleNameRef"/>   24856                         <ref name="styleNameRef"/>
24402                 </attribute>   24857                 </attribute>
24403         </optional>   24858         </optional>
24404 </define>   24859 </define>
24405 15.13.8Start Marker Width   24860 15.13.8Start Marker Width
24406 The attribute draw:marker-start-width specifies the width of the marker at the start of the stroke.   24861 The attribute draw:marker-start-width specifies the width of the marker at the start of the stroke.
24407 <define name="style-graphic-properties-attlist" combine="interleave">   24862 <define name="style-graphic-properties-attlist" combine="interleave">
24408         <optional>   24863         <optional>
24409                 <attribute name="draw:marker-start-width">   24864                 <attribute name="draw:marker-start-width">
24410                         <ref name="length"/>   24865                         <ref name="length"/>
24411                 </attribute>   24866                 </attribute>
24412         </optional>   24867         </optional>
24413 </define>   24868 </define>
24414 15.13.9End Marker Width   24869 15.13.9End Marker Width
24415 The attribute draw:marker-end-width specifies the width of the marker at the end of the stroke.   24870 The attribute draw:marker-end-width specifies the width of the marker at the end of the stroke.
24416 <define name="style-graphic-properties-attlist" combine="interleave">   24871 <define name="style-graphic-properties-attlist" combine="interleave">
24417         <optional>   24872         <optional>
24418                 <attribute name="draw:marker-end-width">   24873                 <attribute name="draw:marker-end-width">
24419                         <ref name="length"/>   24874                         <ref name="length"/>
24420                 </attribute>   24875                 </attribute>
24421         </optional>   24876         </optional>
24422 </define>   24877 </define>
24423 15.13.10Start Marker Center   24878 15.13.10Start Marker Center
24424 The attribute draw:marker-start-center specifies whether or not a start marker is centered at the start of a stroke.   24879 The attribute draw:marker-start-center specifies whether or not a start marker is centered at the start of a stroke.
24425 <define name="style-graphic-properties-attlist" combine="interleave">   24880 <define name="style-graphic-properties-attlist" combine="interleave">
24426         <optional>   24881         <optional>
24427                 <attribute name="draw:marker-start-center">   24882                 <attribute name="draw:marker-start-center">
24428                         <ref name="boolean"/>   24883                         <ref name="boolean"/>
24429                 </attribute>   24884                 </attribute>
24430         </optional>   24885         </optional>
24431 </define>   24886 </define>
24432 15.13.11End Marker Center   24887 15.13.11End Marker Center
24433 The attribute draw:marker-end-center specifies whether or not an end marker is centered at the end of a stroke.   24888 The attribute draw:marker-end-center specifies whether or not an end marker is centered at the end of a stroke.
24434 <define name="style-graphic-properties-attlist" combine="interleave">   24889 <define name="style-graphic-properties-attlist" combine="interleave">
24435         <optional>   24890         <optional>
24436                 <attribute name="draw:marker-end-center">   24891                 <attribute name="draw:marker-end-center">
24437                         <ref name="boolean"/>   24892                         <ref name="boolean"/>
24438                 </attribute>   24893                 </attribute>
24439         </optional>   24894         </optional>
24440 </define>   24895 </define>
24441 15.13.12Opacity   24896 15.13.12Opacity
24442 The attribute svg:stroke-opacity specifies the opacity of a stroke. The value of this attribute can be a number between 0 (fully transparent) and 1 (fully opaque) or a percentage.   24897 The attribute svg:stroke-opacity specifies the opacity of a stroke. The value of this attribute can be a number between 0 (fully transparent) and 1 (fully opaque) or a percentage.
24443 <define name="style-graphic-properties-attlist" combine="interleave">   24898 <define name="style-graphic-properties-attlist" combine="interleave">
24444         <optional>   24899         <optional>
24445                 <attribute name="svg:stroke-opacity">   24900                 <attribute name="svg:stroke-opacity">
24446                         <choice>   24901                         <choice>
24447                                 <data type="double">   24902                                 <data type="double">
24448                                         <param name="minInclusive">0</param>   24903                                         <param name="minInclusive">0</param>
24449                                         <param name="maxInclusive">1</param>   24904                                         <param name="maxInclusive">1</param>
24450                                 </data>   24905                                 </data>
24451                                 <ref name="percent"/>   24906                                 <ref name="percent"/>
24452                         </choice>   24907                         </choice>
24453                 </attribute>   24908                 </attribute>
24454         </optional>   24909         </optional>
24455 </define>   24910 </define>
24456 15.13.13Line Join   24911 15.13.13Line Join
24457 The attribute draw:stroke-linejoin specifies the shape at the corners of paths or other vector shapes, when they are stroked. The values are the same as for [SVG]'s stroke-linejoin attribute, except that the attribute in addition to the values supported by SVG may have the value middle, which means that the mean value between the joints is used.   24912 The attribute draw:stroke-linejoin specifies the shape at the corners of paths or other vector shapes, when they are stroked. The values are the same as for [SVG]'s stroke-linejoin attribute, except that the attribute in addition to the values supported by SVG may have the value middle, which means that the mean value between the joints is used.
24458 <define name="style-graphic-properties-attlist" combine="interleave">   24913 <define name="style-graphic-properties-attlist" combine="interleave">
24459         <optional>   24914         <optional>
24460                 <attribute name="draw:stroke-linejoin">   24915                 <attribute name="draw:stroke-linejoin">
24461                         <choice>   24916                         <choice>
24462                                 <value>miter</value>   24917                                 <value>miter</value>
24463                                 <value>round</value>   24918                                 <value>round</value>
24464                                 <value>bevel</value>   24919                                 <value>bevel</value>
24465                                 <value>middle</value>   24920                                 <value>middle</value>
24466                                 <value>none</value>   24921                                 <value>none</value>
24467                                 <value>inherit</value>   24922                                 <value>inherit</value>
24468                         </choice>   24923                         </choice>
24469                 </attribute>   24924                 </attribute>
24470         </optional>   24925         </optional>
24471 </define>   24926 </define>
24472 15.14Fill Properties   24927 15.14Fill Properties
24473 The following fill properties are used to define drawing object fill characteristics. They are available for drawing objects contained in all kinds of applications.   24928 The following fill properties are used to define drawing object fill characteristics. They are available for drawing objects contained in all kinds of applications.
24474 Style   24929 Style
24475 Color   24930 Color
24476 Gradient   24931 Gradient
24477 Gradient step count   24932 Gradient step count
24478 Hatch   24933 Hatch
24479 Solid hatch   24934 Solid hatch
24480 Bitmap   24935 Bitmap
24481 Opacity   24936 Opacity
24482 Fill rule   24937 Fill rule
24483 15.14.1Fill Style   24938 15.14.1Fill Style
24484 The attribute draw:fill specifies the fill style for a graphic object. Graphic objects that are not closed, such as a path without a closepath at the end, will not be filled. The fill operation does not automatically close all open subpaths by connecting the last point of the subpath with the first point of the subpath before painting the fill. The attribute has the following values:   24939 The attribute draw:fill specifies the fill style for a graphic object. Graphic objects that are not closed, such as a path without a closepath at the end, will not be filled. The fill operation does not automatically close all open subpaths by connecting the last point of the subpath with the first point of the subpath before painting the fill. The attribute has the following values:
24485 none: the drawing object is not filled.   24940 none: the drawing object is not filled.
24486 solid: the drawing object is filled with color specified by the draw:fill-color attribute.   24941 solid: the drawing object is filled with color specified by the draw:fill-color attribute.
24487 bitmap: the drawing object is filled with the bitmap specified by the draw:fill-image-name attribute.   24942 bitmap: the drawing object is filled with the bitmap specified by the draw:fill-image-name attribute.
24488 gradient: the drawing object is filled with the gradient specified by the draw:fill-gradient-name attribute.   24943 gradient: the drawing object is filled with the gradient specified by the draw:fill-gradient-name attribute.
24489 hatch: the drawing object is filled with the hatch specified by the draw:fill-hatch-name attribute.   24944 hatch: the drawing object is filled with the hatch specified by the draw:fill-hatch-name attribute.
24490 <define name="style-graphic-fill-properties-attlist" combine="interleave">   24945 <define name="style-graphic-fill-properties-attlist" combine="interleave">
24491         <optional>   24946         <optional>
24492                 <attribute name="draw:fill">   24947                 <attribute name="draw:fill">
24493                         <choice>   24948                         <choice>
24494                                 <value>none</value>   24949                                 <value>none</value>
24495                                 <value>solid</value>   24950                                 <value>solid</value>
24496                                 <value>bitmap</value>   24951                                 <value>bitmap</value>
24497                                 <value>gradient</value>   24952                                 <value>gradient</value>
24498                                 <value>hatch</value>   24953                                 <value>hatch</value>
24499                         </choice>   24954                         </choice>
24500                 </attribute>   24955                 </attribute>
24501         </optional>   24956         </optional>
24502 </define>   24957 </define>
24503 15.14.2Color   24958 15.14.2Color
24504 The attribute draw:fill-color specifies the color of the fill for a graphic object. It is used only if the draw:fill attribute has the value solid.   24959 The attribute draw:fill-color specifies the color of the fill for a graphic object. It is used only if the draw:fill attribute has the value solid.
24505 <define name="style-graphic-fill-properties-attlist" combine="interleave">   24960 <define name="style-graphic-fill-properties-attlist" combine="interleave">
24506         <optional>   24961         <optional>
24507                 <attribute name="draw:fill-color">   24962                 <attribute name="draw:fill-color">
24508                         <ref name="color"/>   24963                         <ref name="color"/>
24509                 </attribute>   24964                 </attribute>
24510         </optional>   24965         </optional>
24511 </define>   24966 </define>
24512 15.14.3Secondary Fill Color   24967 15.14.3Secondary Fill Color
24513 The draw:secondary-fill-color attribute specifies the secondary fill color. It may be used as fill color for the extrusion.   24968 The draw:secondary-fill-color attribute specifies the secondary fill color. It may be used as fill color for the extrusion.
24514 <define name="style-graphic-fill-properties-attlist" combine="interleave">   24969 <define name="style-graphic-fill-properties-attlist" combine="interleave">
24515         <optional>   24970         <optional>
24516                 <attribute name="draw:secondary-fill-color">   24971                 <attribute name="draw:secondary-fill-color">
24517                         <ref name="color"/>   24972                         <ref name="color"/>
24518                 </attribute>   24973                 </attribute>
24519         </optional>   24974         </optional>
24520 </define>   24975 </define>
24521 15.14.4Gradient   24976 15.14.4Gradient
24522 The attribute draw:fill-gradient-name specifies a gradient style that is used for filling graphic objects. It is used only if the draw:fill attribute has the value gradient. See section 14.14.1 and 14.14.2 for gradients.   24977 The attribute draw:fill-gradient-name specifies a gradient style that is used for filling graphic objects. It is used only if the draw:fill attribute has the value gradient. See section 14.14.1 and 14.14.2 for gradients.
24523 <define name="style-graphic-fill-properties-attlist" combine="interleave">   24978 <define name="style-graphic-fill-properties-attlist" combine="interleave">
24524         <optional>   24979         <optional>
24525                 <attribute name="draw:fill-gradient-name">   24980                 <attribute name="draw:fill-gradient-name">
24526                         <ref name="styleNameRef"/>   24981                         <ref name="styleNameRef"/>
24527                 </attribute>   24982                 </attribute>
24528         </optional>   24983         </optional>
24529 </define>   24984 </define>
24530 15.14.5Gradient Step Count   24985 15.14.5Gradient Step Count
24531 If a gradient is used for filling, the attribute draw:gradient-step-count can be used to set the gradient step count of the color interpolation to be a fixed value. By default, the step count is automatically calculated based on the size and resolution of the filled area.   24986 If a gradient is used for filling, the attribute draw:gradient-step-count can be used to set the gradient step count of the color interpolation to be a fixed value. By default, the step count is automatically calculated based on the size and resolution of the filled area.
24532 A step count less than 3 is not valid as there would be no interpolation possible. Values above 256 may not be supported or may result in performance issues.   24987 A step count less than 3 is not valid as there would be no interpolation possible. Values above 256 may not be supported or may result in performance issues.
24533 <define name="style-graphic-fill-properties-attlist" combine="interleave">   24988 <define name="style-graphic-fill-properties-attlist" combine="interleave">
24534         <optional>   24989         <optional>
24535                 <attribute name="draw:gradient-step-count">   24990                 <attribute name="draw:gradient-step-count">
24536                         <ref name="nonNegativeInteger"/>   24991                         <ref name="nonNegativeInteger"/>
24537                 </attribute>   24992                 </attribute>
24538         </optional>   24993         </optional>
24539 </define>   24994 </define>
24540 15.14.6Hatch   24995 15.14.6Hatch
24541 The attribute draw:fill-hatch-name specifies a hatch style that is used for filling. It is used only if the draw:fill attribute has the value hatch. See section 14.14.3 for hatches.   24996 The attribute draw:fill-hatch-name specifies a hatch style that is used for filling. It is used only if the draw:fill attribute has the value hatch. See section 14.14.3 for hatches.
24542 <define name="style-graphic-fill-properties-attlist" combine="interleave">   24997 <define name="style-graphic-fill-properties-attlist" combine="interleave">
24543         <optional>   24998         <optional>
24544                 <attribute name="draw:fill-hatch-name">   24999                 <attribute name="draw:fill-hatch-name">
24545                         <ref name="styleNameRef"/>   25000                         <ref name="styleNameRef"/>
24546                 </attribute>   25001                 </attribute>
24547         </optional>   25002         </optional>
24548 </define>   25003 </define>
24549 15.14.7Solid Hatch   25004 15.14.7Solid Hatch
24550 The attribute draw:fill-hatch-solid specifies whether the background of a hatch filling is solid or transparent.   25005 The attribute draw:fill-hatch-solid specifies whether the background of a hatch filling is solid or transparent.
24551 <define name="style-graphic-fill-properties-attlist" combine="interleave">   25006 <define name="style-graphic-fill-properties-attlist" combine="interleave">
24552         <optional>   25007         <optional>
24553                 <attribute name="draw:fill-hatch-solid">   25008                 <attribute name="draw:fill-hatch-solid">
24554                         <ref name="boolean"/>   25009                         <ref name="boolean"/>
24555                 </attribute>   25010                 </attribute>
24556         </optional>   25011         </optional>
24557 </define>   25012 </define>
24558 15.14.8Fill Image   25013 15.14.8Fill Image
24559 The attribute draw:fill-image-name specifies a fill image that is used for filling. It is used only if the draw:fill attribute has the value bitmap. See section 14.14.4 for fill images.   25014 The attribute draw:fill-image-name specifies a fill image that is used for filling. It is used only if the draw:fill attribute has the value bitmap. See section 14.14.4 for fill images.
24560 <define name="style-graphic-fill-properties-attlist" combine="interleave">   25015 <define name="style-graphic-fill-properties-attlist" combine="interleave">
24561         <optional>   25016         <optional>
24562                 <attribute name="draw:fill-image-name">   25017                 <attribute name="draw:fill-image-name">
24563                         <ref name="styleNameRef"/>   25018                         <ref name="styleNameRef"/>
24564                 </attribute>   25019                 </attribute>
24565         </optional>   25020         </optional>
24566 </define>   25021 </define>
24567 15.14.9Fill Image Rendering Style   25022 15.14.9Fill Image Rendering Style
24568 If an image is used for filling, the bitmap image can either be rendered in the given size, stretched to the filled area, or tiled over the area. The attribute style:repeat specifies how the bitmap image should be treated.   25023 If an image is used for filling, the bitmap image can either be rendered in the given size, stretched to the filled area, or tiled over the area. The attribute style:repeat specifies how the bitmap image should be treated.
24569 The value of the attribute can be no-repeat, repeat, or stretch.   25024 The value of the attribute can be no-repeat, repeat, or stretch.
24570 <define name="style-graphic-fill-properties-attlist" combine="interleave">   25025 <define name="style-graphic-fill-properties-attlist" combine="interleave">
24571         <optional>   25026         <optional>
24572                 <attribute name="style:repeat">   25027                 <attribute name="style:repeat">
24573                         <choice>   25028                         <choice>
24574                                 <value>no-repeat</value>   25029                                 <value>no-repeat</value>
24575                                 <value>repeat</value>   25030                                 <value>repeat</value>
24576                                 <value>stretch</value>   25031                                 <value>stretch</value>
24577                         </choice>   25032                         </choice>
24578                 </attribute>   25033                 </attribute>
24579         </optional>   25034         </optional>
24580 </define>   25035 </define>
24581 15.14.10Fill Image Size   25036 15.14.10Fill Image Size
24582 If an image is used for filling, the optional attributes draw:fill-image-width and draw:fill-image-height can be used to override the logical size of the source image data. If the value of the style:repeat attribute is stretch, these attributes are ignored.   25037 If an image is used for filling, the optional attributes draw:fill-image-width and draw:fill-image-height can be used to override the logical size of the source image data. If the value of the style:repeat attribute is stretch, these attributes are ignored.
24583 <define name="style-graphic-fill-properties-attlist" combine="interleave">   25038 <define name="style-graphic-fill-properties-attlist" combine="interleave">
24584         <optional>   25039         <optional>
24585                 <attribute name="draw:fill-image-width">   25040                 <attribute name="draw:fill-image-width">
24586                         <choice>   25041                         <choice>
24587                                 <ref name="length"/>   25042                                 <ref name="length"/>
24588                                 <ref name="percent"/>   25043                                 <ref name="percent"/>
24589                         </choice>   25044                         </choice>
24590                 </attribute>   25045                 </attribute>
24591         </optional>   25046         </optional>
24592         <optional>   25047         <optional>
24593                 <attribute name="draw:fill-image-height">   25048                 <attribute name="draw:fill-image-height">
24594                         <choice>   25049                         <choice>
24595                                 <ref name="length"/>   25050                                 <ref name="length"/>
24596                                 <ref name="percent"/>   25051                                 <ref name="percent"/>
24597                         </choice>   25052                         </choice>
24598                 </attribute>   25053                 </attribute>
24599         </optional>   25054         </optional>
24600 </define>   25055 </define>
24601 15.14.11Fill Image Tile Reference Point   25056 15.14.11Fill Image Tile Reference Point
24602 If an image is used for filling, the attributes draw:fill-image-ref-point, draw:fill-image-ref-point-x and draw:fill-image-ref-point-y specify the reference position of the image. The draw:fill-image-ref-point attribute specifies the position as an alignment of the image within the filling area, while the draw:fill-image-ref-point-x and draw:fill-image-ref-point-y attributes specify an horizontal and vertical movement as percentage values, where the percentage value relates to the image width and height. If an alignment and a movement is specified at the same time, the image first is aligned and afterwards moved.   25057 If an image is used for filling, the attributes draw:fill-image-ref-point, draw:fill-image-ref-point-x and draw:fill-image-ref-point-y specify the reference position of the image. The draw:fill-image-ref-point attribute specifies the position as an alignment of the image within the filling area, while the draw:fill-image-ref-point-x and draw:fill-image-ref-point-y attributes specify an horizontal and vertical movement as percentage values, where the percentage value relates to the image width and height. If an alignment and a movement is specified at the same time, the image first is aligned and afterwards moved.
24603 These attributes are only interpreted if the value of the current style:repeat attribute is repeat.   25058 These attributes are only interpreted if the value of the current style:repeat attribute is repeat.
24604 <define name="style-graphic-fill-properties-attlist" combine="interleave">   25059 <define name="style-graphic-fill-properties-attlist" combine="interleave">
24605         <optional>   25060         <optional>
24606                 <attribute name="draw:fill-image-ref-point-x">   25061                 <attribute name="draw:fill-image-ref-point-x">
24607                         <ref name="percent"/>   25062                         <ref name="percent"/>
24608                 </attribute>   25063                 </attribute>
24609         </optional>   25064         </optional>
24610         <optional>   25065         <optional>
24611                 <attribute name="draw:fill-image-ref-point-y">   25066                 <attribute name="draw:fill-image-ref-point-y">
24612                         <ref name="percent"/>   25067                         <ref name="percent"/>
24613                 </attribute>   25068                 </attribute>
24614         </optional>   25069         </optional>
24615         <optional>   25070         <optional>
24616                 <attribute name="draw:fill-image-ref-point">   25071                 <attribute name="draw:fill-image-ref-point">
24617                         <choice>   25072                         <choice>
24618                                 <value>top-left</value>   25073                                 <value>top-left</value>
24619                                 <value>top</value>   25074                                 <value>top</value>
24620                                 <value>top-right</value>   25075                                 <value>top-right</value>
24621                                 <value>left</value>   25076                                 <value>left</value>
24622                                 <value>center</value>   25077                                 <value>center</value>
24623                                 <value>right</value>   25078                                 <value>right</value>
24624                                 <value>bottom-left</value>   25079                                 <value>bottom-left</value>
24625                                 <value>bottom</value>   25080                                 <value>bottom</value>
24626                                 <value>bottom-right</value>   25081                                 <value>bottom-right</value>
24627                         </choice>   25082                         </choice>
24628                 </attribute>   25083                 </attribute>
24629         </optional>   25084         </optional>
24630 </define>   25085 </define>
24631 15.14.12Fill Image Tile Translation   25086 15.14.12Fill Image Tile Translation
24632 If an image is used for filling, the attribute draw:tile-repeat-offset defines the translation of each tile in relation to the previous tile. This attribute is only interpreted if the value of the current style:repeat attribute is tiled. The value of this attribute is a percentage value representing the tiles repeat offset relative to the tiles height or width, followed by either the word horizontal or vertical.   25087 If an image is used for filling, the attribute draw:tile-repeat-offset defines the translation of each tile in relation to the previous tile. This attribute is only interpreted if the value of the current style:repeat attribute is tiled. The value of this attribute is a percentage value representing the tiles repeat offset relative to the tiles height or width, followed by either the word horizontal or vertical.
24633 <define name="style-graphic-fill-properties-attlist" combine="interleave">   25088 <define name="style-graphic-fill-properties-attlist" combine="interleave">
24634         <optional>   25089         <optional>
24635                 <attribute name="draw:tile-repeat-offset"/>   25090                 <attribute name="draw:tile-repeat-offset"/>
24636         </optional>   25091         </optional>
24637 </define>   25092 </define>
24638 Example: Tile translation   25093 Example: Tile translation
24639 <style:graphic-properties draw:tile-repeat-offset="50% horizontal"/>   25094 <style:graphic-properties draw:tile-repeat-offset="50% horizontal"/>
24640 15.14.13None and Linear Opacity   25095 15.14.13None and Linear Opacity
24641 The fill area of a graphic object can either have a full, a linear, or gradient opacity. Full and linear opacity is selected using the draw:opacity attribute, while gradient opacity is selected using the draw:opacity-name attribute.   25096 The fill area of a graphic object can either have a full, a linear, or gradient opacity. Full and linear opacity is selected using the draw:opacity attribute, while gradient opacity is selected using the draw:opacity-name attribute.
24642 The draw:opacity attribute disables any transparency effect or sets a linear opacity for the fill area of a graphic object.   25097 The draw:opacity attribute disables any transparency effect or sets a linear opacity for the fill area of a graphic object.
24643 <define name="style-graphic-fill-properties-attlist" combine="interleave">   25098 <define name="style-graphic-fill-properties-attlist" combine="interleave">
24644         <optional>   25099         <optional>
24645                 <attribute name="draw:opacity">   25100                 <attribute name="draw:opacity">
24646                         <ref name="percent"/>   25101                         <ref name="percent"/>
24647                 </attribute>   25102                 </attribute>
24648         </optional>   25103         </optional>
24649 </define>   25104 </define>
24650 15.14.14Gradient Opacity   25105 15.14.14Gradient Opacity
24651 The draw:opacity-name attribute specifies an opacity gradient that defines the opacity for the fill area of a graphic object. When applying an opacity gradient, the opacity is interpolated as defined in the referenced opacity gradient style. This fill style is rendered independently from other fill styles like gradient, image, and hatch. See section 14.14.5 for opacity gradients.   25106 The draw:opacity-name attribute specifies an opacity gradient that defines the opacity for the fill area of a graphic object. When applying an opacity gradient, the opacity is interpolated as defined in the referenced opacity gradient style. This fill style is rendered independently from other fill styles like gradient, image, and hatch. See section 14.14.5 for opacity gradients.
24652 The value of this attribute overrides the draw:opacity attribute.   25107 The value of this attribute overrides the draw:opacity attribute.
24653 <define name="style-graphic-fill-properties-attlist" combine="interleave">   25108 <define name="style-graphic-fill-properties-attlist" combine="interleave">
24654         <optional>   25109         <optional>
24655                 <attribute name="draw:opacity-name">   25110                 <attribute name="draw:opacity-name">
24656                         <ref name="styleNameRef"/>   25111                         <ref name="styleNameRef"/>
24657                 </attribute>   25112                 </attribute>
24658         </optional>   25113         </optional>
24659 </define>   25114 </define>
24660 15.14.15Fill Rule   25115 15.14.15Fill Rule
24661 The svg:fill-rule specifies the algorithm which is to be used to determine what parts of the canvas are included inside the shape. See §11.3 of [SVG] for more details.   25116 The svg:fill-rule specifies the algorithm which is to be used to determine what parts of the canvas are included inside the shape. See §11.3 of [SVG] for more details.
24662 <define name="style-graphic-fill-properties-attlist" combine="interleave">   25117 <define name="style-graphic-fill-properties-attlist" combine="interleave">
24663         <optional>   25118         <optional>
24664                 <attribute name="svg:fill-rule">   25119                 <attribute name="svg:fill-rule">
24665                         <choice>   25120                         <choice>
24666                                 <value>nonzero</value>   25121                                 <value>nonzero</value>
24667                                 <value>evenodd</value>   25122                                 <value>evenodd</value>
24668                         </choice>   25123                         </choice>
24669                 </attribute>   25124                 </attribute>
24670         </optional>   25125         </optional>
24671 </define>   25126 </define>
24672 15.14.16Symbol color   25127 15.14.16Symbol color
24673 The draw:symbol-color attribute defines the color to be used to draw symbols contained on the drawing object. This could be for instance arrows displayed within a control.   25128 The draw:symbol-color attribute defines the color to be used to draw symbols contained on the drawing object. This could be for instance arrows displayed within a control.
24674 <define name="style-graphic-properties-attlist" combine="interleave">   25129 <define name="style-graphic-properties-attlist" combine="interleave">
24675         <optional>   25130         <optional>
24676                 <attribute name="draw:symbol-color">   25131                 <attribute name="draw:symbol-color">
24677                         <ref name="color"/>   25132                         <ref name="color"/>
24678                 </attribute>   25133                 </attribute>
24679         </optional>   25134         </optional>
24680 </define>   25135 </define>
24681 15.15Text Animation Properties   25136 15.15Text Animation Properties
24682 Drawing objects that contain text and text boxes can have optional text animation properties. These properties always animate the complete text of a drawing object or text frame. The following attributes define the text animation:   25137 Drawing objects that contain text and text boxes can have optional text animation properties. These properties always animate the complete text of a drawing object or text frame. The following attributes define the text animation:
24683 Animation   25138 Animation
24684 Animation direction   25139 Animation direction
24685 Animation start inside   25140 Animation start inside
24686 Animation stop inside   25141 Animation stop inside
24687 Animation repeat   25142 Animation repeat
24688 Animation delay   25143 Animation delay
24689 Animation steps   25144 Animation steps
24690 These properties are available for drawing objects contained in all kinds of applications.   25145 These properties are available for drawing objects contained in all kinds of applications.
24691 15.15.1Animation   25146 15.15.1Animation
24692 The attribute text:animation specifies the type of animation that is used for the text.   25147 The attribute text:animation specifies the type of animation that is used for the text.
24693 The value of this attribute can be one of the following:   25148 The value of this attribute can be one of the following:
24694 none, disables the text animation.   25149 none, disables the text animation.
24695 scroll, scrolls the text from one side to another.   25150 scroll, scrolls the text from one side to another.
24696 alternate, scrolls the text from one side to another and back.   25151 alternate, scrolls the text from one side to another and back.
24697 slide, scrolls the text from one side to the original text position and stops there.   25152 slide, scrolls the text from one side to the original text position and stops there.
24698 <define name="style-graphic-properties-attlist" combine="interleave">   25153 <define name="style-graphic-properties-attlist" combine="interleave">
24699         <optional>   25154         <optional>
24700                 <attribute name="text:animation">   25155                 <attribute name="text:animation">
24701                         <choice>   25156                         <choice>
24702                                 <value>none</value>   25157                                 <value>none</value>
24703                                 <value>scroll</value>   25158                                 <value>scroll</value>
24704                                 <value>alternate</value>   25159                                 <value>alternate</value>
24705                                 <value>slide</value>   25160                                 <value>slide</value>
24706                         </choice>   25161                         </choice>
24707                 </attribute>   25162                 </attribute>
24708         </optional>   25163         </optional>
24709 </define>   25164 </define>
24710 15.15.2Animation Direction   25165 15.15.2Animation Direction
24711 The attribute text:animation-direction specifies the scroll direction of animated text.   25166 The attribute text:animation-direction specifies the scroll direction of animated text.
24712 <define name="style-graphic-properties-attlist" combine="interleave">   25167 <define name="style-graphic-properties-attlist" combine="interleave">
24713         <optional>   25168         <optional>
24714                 <attribute name="text:animation-direction">   25169                 <attribute name="text:animation-direction">
24715                         <choice>   25170                         <choice>
24716                                 <value>left</value>   25171                                 <value>left</value>
24717                                 <value>right</value>   25172                                 <value>right</value>
24718                                 <value>up</value>   25173                                 <value>up</value>
24719                                 <value>down</value>   25174                                 <value>down</value>
24720                         </choice>   25175                         </choice>
24721                 </attribute>   25176                 </attribute>
24722         </optional>   25177         </optional>
24723 </define>   25178 </define>
24724 15.15.3Animation Start Inside   25179 15.15.3Animation Start Inside
24725 If this attribute text:animation-start-inside is true, the text starts its  animation inside the shape. If its false, the text starts its animation just outside the shapes bounding rectangle.   25180 If this attribute text:animation-start-inside is true, the text starts its  animation inside the shape. If its false, the text starts its animation just outside the shapes bounding rectangle.
24726 <define name="style-graphic-properties-attlist" combine="interleave">   25181 <define name="style-graphic-properties-attlist" combine="interleave">
24727         <optional>   25182         <optional>
24728                 <attribute name="text:animation-start-inside">   25183                 <attribute name="text:animation-start-inside">
24729                         <ref name="boolean"/>   25184                         <ref name="boolean"/>
24730                 </attribute>   25185                 </attribute>
24731         </optional>   25186         </optional>
24732 </define>   25187 </define>
24733 15.15.4Animation Stop Inside   25188 15.15.4Animation Stop Inside
24734 If this attribute text:animation-stop-inside is true, the text stops when it is inside the the shape. If its false, the text stops its animation just outside the shapes bounding rectangle.   25189 If this attribute text:animation-stop-inside is true, the text stops when it is inside the the shape. If its false, the text stops its animation just outside the shapes bounding rectangle.
24735 <define name="style-graphic-properties-attlist" combine="interleave">   25190 <define name="style-graphic-properties-attlist" combine="interleave">
24736         <optional>   25191         <optional>
24737                 <attribute name="text:animation-stop-inside">   25192                 <attribute name="text:animation-stop-inside">
24738                         <ref name="boolean"/>   25193                         <ref name="boolean"/>
24739                 </attribute>   25194                 </attribute>
24740         </optional>   25195         </optional>
24741 </define>   25196 </define>
24742 15.15.5Animation Repeat   25197 15.15.5Animation Repeat
24743 The attribute text:animation-repeat specifies the number of times the animation is repeated. If the value of the attribute is 0, the animation is repeated indefinitely.   25198 The attribute text:animation-repeat specifies the number of times the animation is repeated. If the value of the attribute is 0, the animation is repeated indefinitely.
24744 <define name="style-graphic-properties-attlist" combine="interleave">   25199 <define name="style-graphic-properties-attlist" combine="interleave">
24745         <optional>   25200         <optional>
24746                 <attribute name="text:animation-repeat">   25201                 <attribute name="text:animation-repeat">
24747                         <ref name="nonNegativeInteger"/>   25202                         <ref name="nonNegativeInteger"/>
24748                 </attribute>   25203                 </attribute>
24749         </optional>   25204         </optional>
24750 </define>   25205 </define>
24751 15.15.6Animation Delay   25206 15.15.6Animation Delay
24752 The attribute text:animation-delay specifies a delay before the animation is started. The value of this attribute must conform to the time period format described in §3.2.6 of [xmlschema-2].   25207 The attribute text:animation-delay specifies a delay before the animation is started. The value of this attribute must conform to the time period format described in §3.2.6 of [xmlschema-2].
24753 <define name="style-graphic-properties-attlist" combine="interleave">   25208 <define name="style-graphic-properties-attlist" combine="interleave">
24754         <optional>   25209         <optional>
24755                 <attribute name="text:animation-delay">   25210                 <attribute name="text:animation-delay">
24756                         <ref name="duration"/>   25211                         <ref name="duration"/>
24757                 </attribute>   25212                 </attribute>
24758         </optional>   25213         </optional>
24759 </define>   25214 </define>
24760 15.15.7Animation Steps   25215 15.15.7Animation Steps
24761 The attribute text:animation-steps specifies the distance by which text is moved within each scrolling step.   25216 The attribute text:animation-steps specifies the distance by which text is moved within each scrolling step.
24762 <define name="style-graphic-properties-attlist" combine="interleave">   25217 <define name="style-graphic-properties-attlist" combine="interleave">
24763         <optional>   25218         <optional>
24764                 <attribute name="text:animation-steps">   25219                 <attribute name="text:animation-steps">
24765                         <ref name="length"/>   25220                         <ref name="length"/>
24766                 </attribute>   25221                 </attribute>
24767         </optional>   25222         </optional>
24768 </define>   25223 </define>
24769 15.16Text and Text Alignment Properties   25224 15.16Text and Text Alignment Properties
24770 Drawing objects that contain text and text boxes can have optional properties that specify how the text is aligned within the drawing object. These properties are available for drawing objects contained in all kinds of applications.   25225 Drawing objects that contain text and text boxes can have optional properties that specify how the text is aligned within the drawing object. These properties are available for drawing objects contained in all kinds of applications.
24771 15.16.1Auto Grow Width and Height   25226 15.16.1Auto Grow Width and Height
24772 The attributes draw:auto-grow-width and draw:auto-grow-height specify whether or not to automatically increase the width and height of the drawing object if text is added to the drawing object. These attributes usually are evaluated only for text boxes.   25227 The attributes draw:auto-grow-width and draw:auto-grow-height specify whether or not to automatically increase the width and height of the drawing object if text is added to the drawing object. These attributes usually are evaluated only for text boxes.
24773 <define name="style-graphic-properties-attlist" combine="interleave">   25228 <define name="style-graphic-properties-attlist" combine="interleave">
24774         <optional>   25229         <optional>
24775                 <attribute name="draw:auto-grow-width">   25230                 <attribute name="draw:auto-grow-width">
24776                         <ref name="boolean"/>   25231                         <ref name="boolean"/>
24777                 </attribute>   25232                 </attribute>
24778         </optional>   25233         </optional>
24779         <optional>   25234         <optional>
24780                 <attribute name="draw:auto-grow-height">   25235                 <attribute name="draw:auto-grow-height">
24781                         <ref name="boolean"/>   25236                         <ref name="boolean"/>
24782                 </attribute>   25237                 </attribute>
24783         </optional>   25238         </optional>
24784 </define>   25239 </define>
24785 15.16.2Fit To Size   25240 15.16.2Fit To Size
24786 The attribute draw:fit-to-size specifies whether or not to stretch the text content of a drawing object to fill the entire object. If the value of the attribute is true, the text content is stretched.   25241 The attribute draw:fit-to-size specifies whether or not to stretch the text content of a drawing object to fill the entire object. If the value of the attribute is true, the text content is stretched.
24787 <define name="style-graphic-properties-attlist" combine="interleave">   25242 <define name="style-graphic-properties-attlist" combine="interleave">
24788         <optional>   25243         <optional>
24789                 <attribute name="draw:fit-to-size">   25244                 <attribute name="draw:fit-to-size">
24790                         <ref name="boolean"/>   25245                         <ref name="boolean"/>
24791                 </attribute>   25246                 </attribute>
24792         </optional>   25247         </optional>
24793 </define>   25248 </define>
24794 15.16.3Fit To Contour   25249 15.16.3Fit To Contour
24795 The attribute draw:fit-to-contour specifies whether or not to stretch the text content of a drawing object to fill the contour of the object. If the value of the attribute is true, the text content is stretched.   25250 The attribute draw:fit-to-contour specifies whether or not to stretch the text content of a drawing object to fill the contour of the object. If the value of the attribute is true, the text content is stretched.
24796 <define name="style-graphic-properties-attlist" combine="interleave">   25251 <define name="style-graphic-properties-attlist" combine="interleave">
24797         <optional>   25252         <optional>
24798                 <attribute name="draw:fit-to-contour">   25253                 <attribute name="draw:fit-to-contour">
24799                         <ref name="boolean"/>   25254                         <ref name="boolean"/>
24800                 </attribute>   25255                 </attribute>
24801         </optional>   25256         </optional>
24802 </define>   25257 </define>
24803 15.16.4Text Area Vertical Align   25258 15.16.4Text Area Vertical Align
24804 The attribute draw:textarea-vertical-align specifies the vertical alignment of the text area inside a shape.   25259 The attribute draw:textarea-vertical-align specifies the vertical alignment of the text area inside a shape.
24805 <define name="style-graphic-properties-attlist" combine="interleave">   25260 <define name="style-graphic-properties-attlist" combine="interleave">
24806         <optional>   25261         <optional>
24807                 <attribute name="draw:textarea-vertical-align">   25262                 <attribute name="draw:textarea-vertical-align">
24808                         <choice>   25263                         <choice>
24809                                 <value>top</value>   25264                                 <value>top</value>
24810                                 <value>middle</value>   25265                                 <value>middle</value>
24811                                 <value>bottom</value>   25266                                 <value>bottom</value>
24812                                 <value>justify</value>   25267                                 <value>justify</value>
24813                         </choice>   25268                         </choice>
24814                 </attribute>   25269                 </attribute>
24815         </optional>   25270         </optional>
24816 </define>   25271 </define>
24817 15.16.5Text Area Horizontal Align   25272 15.16.5Text Area Horizontal Align
24818 The attribute draw:textarea-horizontal-align specifies the horizontal alignment of the text area inside a shape.   25273 The attribute draw:textarea-horizontal-align specifies the horizontal alignment of the text area inside a shape.
24819 <define name="style-graphic-properties-attlist" combine="interleave">   25274 <define name="style-graphic-properties-attlist" combine="interleave">
24820         <optional>   25275         <optional>
24821                 <attribute name="draw:textarea-horizontal-align">   25276                 <attribute name="draw:textarea-horizontal-align">
24822                         <choice>   25277                         <choice>
24823                                 <value>left</value>   25278                                 <value>left</value>
24824                                 <value>center</value>   25279                                 <value>center</value>
24825                                 <value>right</value>   25280                                 <value>right</value>
24826                                 <value>justify</value>   25281                                 <value>justify</value>
24827                         </choice>   25282                         </choice>
24828                 </attribute>   25283                 </attribute>
24829         </optional>   25284         </optional>
24830 </define>   25285 </define>
24831 15.16.6Word Wrap   25286 15.16.6Word Wrap
24832 The fo:wrap-option attribute specifies if text is word wrapped in a shape.   25287 The fo:wrap-option attribute specifies if text is word wrapped in a shape.
24833 <define name="style-graphic-properties-attlist" combine="interleave">   25288 <define name="style-graphic-properties-attlist" combine="interleave">
24834         <optional>   25289         <optional>
24835                 <attribute name="fo:wrap-option">   25290                 <attribute name="fo:wrap-option">
24836                         <choice>   25291                         <choice>
24837                                 <value>no-wrap</value>   25292                                 <value>no-wrap</value>
24838                                 <value>wrap</value>   25293                                 <value>wrap</value>
24839                         </choice>   25294                         </choice>
24840                 </attribute>   25295                 </attribute>
24841         </optional>   25296         </optional>
24842 </define>   25297 </define>
24843 15.16.7List Styles   25298 15.16.7List Styles
24844 The <text:list-style> element as described in section 14.10 specifies a list style that is applied to the paragraphs contained in a text box.  Although the list style has a name, it is not displayed in the user interface, even if the graphic style that contains it is a common style.   25299 The <text:list-style> element as described in section 14.10 specifies a list style that is applied to the paragraphs contained in a text box.  Although the list style has a name, it is not displayed in the user interface, even if the graphic style that contains it is a common style.
24845 Including a list style element into a graphic style has the same semantics as adding a style:list-style-name attribute (see section 14.1) to the style that references a list style that is declared outside a graphic style. The inclusion of a list style element is required in cases where a common graphic style should be associated with an automatic list style.   25300 Including a list style element into a graphic style has the same semantics as adding a style:list-style-name attribute (see section 14.1) to the style that references a list style that is declared outside a graphic style. The inclusion of a list style element is required in cases where a common graphic style should be associated with an automatic list style.
24846 List styles contained in a graphic style can be referenced by other graphic styles using the style:list-style-name attribute.   25301 List styles contained in a graphic style can be referenced by other graphic styles using the style:list-style-name attribute.
24847 <define name="style-graphic-properties-elements" combine="interleave">   25302 <define name="style-graphic-properties-elements" combine="interleave">
24848         <optional>   25303         <optional>
24849                 <ref name="text-list-style"/>   25304                 <ref name="text-list-style"/>
24850         </optional>   25305         </optional>
24851 </define>   25306 </define>
24852 15.17Color Properties   25307 15.17Color Properties
24853 Drawing objects that display a bitmap graphic can have optional properties that adjust the colors of the bitmap. These properties are available for drawing objects contained in all kinds of applications.   25308 Drawing objects that display a bitmap graphic can have optional properties that adjust the colors of the bitmap. These properties are available for drawing objects contained in all kinds of applications.
24854 15.17.1Color Mode   25309 15.17.1Color Mode
24855 The attribute draw:color-mode affects the output of colors from a source bitmap or raster graphic.   25310 The attribute draw:color-mode affects the output of colors from a source bitmap or raster graphic.
24856 <define name="style-graphic-properties-attlist" combine="interleave">   25311 <define name="style-graphic-properties-attlist" combine="interleave">
24857         <optional>   25312         <optional>
24858                 <attribute name="draw:color-mode">   25313                 <attribute name="draw:color-mode">
24859                         <choice>   25314                         <choice>
24860                                 <value>greyscale</value>   25315                                 <value>greyscale</value>
24861                                 <value>mono</value>   25316                                 <value>mono</value>
24862                                 <value>watermark</value>   25317                                 <value>watermark</value>
24863                                 <value>standard</value>   25318                                 <value>standard</value>
24864                         </choice>   25319                         </choice>
24865                 </attribute>   25320                 </attribute>
24866         </optional>   25321         </optional>
24867 </define>   25322 </define>
24868 15.17.2Color Inversion   25323 15.17.2Color Inversion
24869 The attribute draw:color-inversion specifies whether or not the colors in the graphic shape should be inverted.   25324 The attribute draw:color-inversion specifies whether or not the colors in the graphic shape should be inverted.
24870 <define name="style-graphic-properties-attlist" combine="interleave">   25325 <define name="style-graphic-properties-attlist" combine="interleave">
24871         <optional>   25326         <optional>
24872                 <attribute name="draw:color-inversion">   25327                 <attribute name="draw:color-inversion">
24873                         <ref name="boolean"/>   25328                         <ref name="boolean"/>
24874                 </attribute>   25329                 </attribute>
24875         </optional>   25330         </optional>
24876 </define>   25331 </define>
24877 15.17.3Adjust Luminance   25332 15.17.3Adjust Luminance
24878 The attribute draw:luminance specifies a signed percentage value that affects the output luminance of a bitmap or raster graphic.   25333 The attribute draw:luminance specifies a signed percentage value that affects the output luminance of a bitmap or raster graphic.
24879 <define name="style-graphic-properties-attlist" combine="interleave">   25334 <define name="style-graphic-properties-attlist" combine="interleave">
24880         <optional>   25335         <optional>
24881                 <attribute name="draw:luminance">   25336                 <attribute name="draw:luminance">
24882                         <ref name="percent"/>   25337                         <ref name="percent"/>
24883                 </attribute>   25338                 </attribute>
24884         </optional>   25339         </optional>
24885 </define>   25340 </define>
24886 15.17.4Adjust Contrast   25341 15.17.4Adjust Contrast
24887 The attribute draw:contrast specifies a signed percentage value that affects the output contrast of a bitmap or raster graphic.   25342 The attribute draw:contrast specifies a signed percentage value that affects the output contrast of a bitmap or raster graphic.
24888 <define name="style-graphic-properties-attlist" combine="interleave">   25343 <define name="style-graphic-properties-attlist" combine="interleave">
24889         <optional>   25344         <optional>
24890                 <attribute name="draw:contrast">   25345                 <attribute name="draw:contrast">
24891                         <ref name="percent"/>   25346                         <ref name="percent"/>
24892                 </attribute>   25347                 </attribute>
24893         </optional>   25348         </optional>
24894 </define>   25349 </define>
24895 15.17.5Adjust Gamma   25350 15.17.5Adjust Gamma
24896 The attribute draw:gamma specifies a value that affects the output gamma of a bitmap or raster graphic.   25351 The attribute draw:gamma specifies a value that affects the output gamma of a bitmap or raster graphic.
24897 <define name="style-graphic-properties-attlist" combine="interleave">   25352 <define name="style-graphic-properties-attlist" combine="interleave">
24898         <optional>   25353         <optional>
24899                 <attribute name="draw:gamma">   25354                 <attribute name="draw:gamma">
24900                         <ref name="percent"/>   25355                         <ref name="percent"/>
24901                 </attribute>   25356                 </attribute>
24902         </optional>   25357         </optional>
24903 </define>   25358 </define>
24904 15.17.6Adjust Red   25359 15.17.6Adjust Red
24905 The attribute draw:red specifies a signed percentage value that affects the output of the red color space of a bitmap or raster graphic.   25360 The attribute draw:red specifies a signed percentage value that affects the output of the red color space of a bitmap or raster graphic.
24906 <define name="style-graphic-properties-attlist" combine="interleave">   25361 <define name="style-graphic-properties-attlist" combine="interleave">
24907         <optional>   25362         <optional>
24908                 <attribute name="draw:red">   25363                 <attribute name="draw:red">
24909                         <ref name="percent"/>   25364                         <ref name="percent"/>
24910                 </attribute>   25365                 </attribute>
24911         </optional>   25366         </optional>
24912 </define>   25367 </define>
24913 15.17.7Adjust Green   25368 15.17.7Adjust Green
24914 The attribute draw:green specifies a signed percentage value that affects the output of the green color space of a bitmap or raster graphic.   25369 The attribute draw:green specifies a signed percentage value that affects the output of the green color space of a bitmap or raster graphic.
24915 <define name="style-graphic-properties-attlist" combine="interleave">   25370 <define name="style-graphic-properties-attlist" combine="interleave">
24916         <optional>   25371         <optional>
24917                 <attribute name="draw:green">   25372                 <attribute name="draw:green">
24918                         <ref name="percent"/>   25373                         <ref name="percent"/>
24919                 </attribute>   25374                 </attribute>
24920         </optional>   25375         </optional>
24921 </define>   25376 </define>
24922 15.17.8Adjust Blue   25377 15.17.8Adjust Blue
24923 The attribute draw:blue specifies a signed percentage value that affects the output of the blue color space of a bitmap or raster graphic.   25378 The attribute draw:blue specifies a signed percentage value that affects the output of the blue color space of a bitmap or raster graphic.
24924 <define name="style-graphic-properties-attlist" combine="interleave">   25379 <define name="style-graphic-properties-attlist" combine="interleave">
24925         <optional>   25380         <optional>
24926                 <attribute name="draw:blue">   25381                 <attribute name="draw:blue">
24927                         <ref name="percent"/>   25382                         <ref name="percent"/>
24928                 </attribute>   25383                 </attribute>
24929         </optional>   25384         </optional>
24930 </define>   25385 </define>
24931 15.17.9Adjust Opacity   25386 15.17.9Adjust Opacity
24932 The attribute draw:image-opacity adjusts the opacity of an image. The value can be between 0% and 100%. See also section 15.14.13.   25387 The attribute draw:image-opacity adjusts the opacity of an image. The value can be between 0% and 100%. See also section 15.14.13.
24933 <define name="style-graphic-properties-attlist" combine="interleave">   25388 <define name="style-graphic-properties-attlist" combine="interleave">
24934         <optional>   25389         <optional>
24935                 <attribute name="draw:image-opacity">   25390                 <attribute name="draw:image-opacity">
24936                         <ref name="percent"/>   25391                         <ref name="percent"/>
24937                 </attribute>   25392                 </attribute>
24938         </optional>   25393         </optional>
24939 </define>   25394 </define>
24940 15.18Shadow Properties   25395 15.18Shadow Properties
24941 Most drawing objects can have a shadow. The following attributes specify how the shadow is rendered. These properties are available for drawing objects contained in all kinds of applications.   25396 Most drawing objects can have a shadow. The following attributes specify how the shadow is rendered. These properties are available for drawing objects contained in all kinds of applications.
24942 15.18.1Shadow   25397 15.18.1Shadow
24943 The attribute draw:shadow enables or disables the visibility of a shadow.   25398 The attribute draw:shadow enables or disables the visibility of a shadow.
24944 <define name="style-graphic-properties-attlist" combine="interleave">   25399 <define name="style-graphic-properties-attlist" combine="interleave">
24945         <optional>   25400         <optional>
24946                 <attribute name="draw:shadow">   25401                 <attribute name="draw:shadow">
24947                         <choice>   25402                         <choice>
24948                                 <value>visible</value>   25403                                 <value>visible</value>
24949                                 <value>hidden</value>   25404                                 <value>hidden</value>
24950                         </choice>   25405                         </choice>
24951                 </attribute>   25406                 </attribute>
24952         </optional>   25407         </optional>
24953 </define>   25408 </define>
24954 15.18.2Offset   25409 15.18.2Offset
24955 The attributes draw:shadow-offset-x and draw:shadow-offset-y are used to render a shadow. A copy of the shape is rendered in the single shadow color (specified by draw:shadow-color) behind the shape. The offset attributes specify the offset between the top left edge of the shape and the top left edge of the border   25410 The attributes draw:shadow-offset-x and draw:shadow-offset-y are used to render a shadow. A copy of the shape is rendered in the single shadow color (specified by draw:shadow-color) behind the shape. The offset attributes specify the offset between the top left edge of the shape and the top left edge of the border
24956 <define name="style-graphic-properties-attlist" combine="interleave">   25411 <define name="style-graphic-properties-attlist" combine="interleave">
24957         <optional>   25412         <optional>
24958                 <attribute name="draw:shadow-offset-x">   25413                 <attribute name="draw:shadow-offset-x">
24959                         <ref name="length"/>   25414                         <ref name="length"/>
24960                 </attribute>   25415                 </attribute>
24961         </optional>   25416         </optional>
24962         <optional>   25417         <optional>
24963                 <attribute name="draw:shadow-offset-y">   25418                 <attribute name="draw:shadow-offset-y">
24964                         <ref name="length"/>   25419                         <ref name="length"/>
24965                 </attribute>   25420                 </attribute>
24966         </optional>   25421         </optional>
24967 </define>   25422 </define>
24968 15.18.3Color   25423 15.18.3Color
24969 The attribute draw:shadow-color specifies the color in which the shadow is rendered.   25424 The attribute draw:shadow-color specifies the color in which the shadow is rendered.
24970 <define name="style-graphic-properties-attlist" combine="interleave">   25425 <define name="style-graphic-properties-attlist" combine="interleave">
24971         <optional>   25426         <optional>
24972                 <attribute name="draw:shadow-color">   25427                 <attribute name="draw:shadow-color">
24973                         <ref name="color"/>   25428                         <ref name="color"/>
24974                 </attribute>   25429                 </attribute>
24975         </optional>   25430         </optional>
24976 </define>   25431 </define>
24977 15.18.4Opacity   25432 15.18.4Opacity
24978 The attribute draw:shadow-opacity specifies the opacity in which the shadow is rendered. The value of this attribute is a percentage value.   25433 The attribute draw:shadow-opacity specifies the opacity in which the shadow is rendered. The value of this attribute is a percentage value.
24979 <define name="style-graphic-properties-attlist" combine="interleave">   25434 <define name="style-graphic-properties-attlist" combine="interleave">
24980         <optional>   25435         <optional>
24981                 <attribute name="draw:shadow-opacity">   25436                 <attribute name="draw:shadow-opacity">
24982                         <ref name="percent"/>   25437                         <ref name="percent"/>
24983                 </attribute>   25438                 </attribute>
24984         </optional>   25439         </optional>
24985 </define>   25440 </define>
24986 15.19Connector Properties   25441 15.19Connector Properties
24987 The properties described in this section are specific to connector drawing objects. These properties are available for connector drawing objects contained in all kinds of applications.   25442 The properties described in this section are specific to connector drawing objects. These properties are available for connector drawing objects contained in all kinds of applications.
24988 15.19.1Start Line Spacing   25443 15.19.1Start Line Spacing
24989 For standard connectors, the attributes draw:start-line-spacing-horizontal and draw:start-line-spacing-vertical increment the length of the escape line from the start shape for standard connectors. For lines connectors, these attributes specify the absolute length of the escape line from the start shape. For other connector types, they are ignored.   25444 For standard connectors, the attributes draw:start-line-spacing-horizontal and draw:start-line-spacing-vertical increment the length of the escape line from the start shape for standard connectors. For lines connectors, these attributes specify the absolute length of the escape line from the start shape. For other connector types, they are ignored.
24990 <define name="style-graphic-properties-attlist" combine="interleave">   25445 <define name="style-graphic-properties-attlist" combine="interleave">
24991         <optional>   25446         <optional>
24992                 <attribute name="draw:start-line-spacing-horizontal">   25447                 <attribute name="draw:start-line-spacing-horizontal">
24993                         <ref name="distance"/>   25448                         <ref name="distance"/>
24994                 </attribute>   25449                 </attribute>
24995         </optional>   25450         </optional>
24996         <optional>   25451         <optional>
24997                 <attribute name="draw:start-line-spacing-vertical">   25452                 <attribute name="draw:start-line-spacing-vertical">
24998                         <ref name="distance"/>   25453                         <ref name="distance"/>
24999                 </attribute>   25454                 </attribute>
25000         </optional>   25455         </optional>
25001 </define>   25456 </define>
25002 15.19.2End Line Spacing   25457 15.19.2End Line Spacing
25003 For standard connectors, the attributes draw:end-line-spacing-horizontal and draw:end-line-spacing-vertical increment the length of the escape line from the end shape. For lines connectors, they specify the absolute length of the escape line from the end shape. For other connector types, they are ignored.   25458 For standard connectors, the attributes draw:end-line-spacing-horizontal and draw:end-line-spacing-vertical increment the length of the escape line from the end shape. For lines connectors, they specify the absolute length of the escape line from the end shape. For other connector types, they are ignored.
25004 <define name="style-graphic-properties-attlist" combine="interleave">   25459 <define name="style-graphic-properties-attlist" combine="interleave">
25005         <optional>   25460         <optional>
25006                 <attribute name="draw:end-line-spacing-horizontal">   25461                 <attribute name="draw:end-line-spacing-horizontal">
25007                         <ref name="distance"/>   25462                         <ref name="distance"/>
25008                 </attribute>   25463                 </attribute>
25009         </optional>   25464         </optional>
25010         <optional>   25465         <optional>
25011                 <attribute name="draw:end-line-spacing-vertical">   25466                 <attribute name="draw:end-line-spacing-vertical">
25012                         <ref name="distance"/>   25467                         <ref name="distance"/>
25013                 </attribute>   25468                 </attribute>
25014         </optional>   25469         </optional>
25015 </define>   25470 </define>
25016 15.20Measure Properties   25471 15.20Measure Properties
25017 The properties described in this section are specific to measure drawing objects. These properties are available for measure drawing objects contained in all kinds of applications.   25472 The properties described in this section are specific to measure drawing objects. These properties are available for measure drawing objects contained in all kinds of applications.
25018 15.20.1Line Distance   25473 15.20.1Line Distance
25019 The attribute draw:line-distance specifies the distance from the reference points to the measure line.   25474 The attribute draw:line-distance specifies the distance from the reference points to the measure line.
25020 <define name="style-graphic-properties-attlist" combine="interleave">   25475 <define name="style-graphic-properties-attlist" combine="interleave">
25021         <optional>   25476         <optional>
25022                 <attribute name="draw:line-distance">   25477                 <attribute name="draw:line-distance">
25023                         <ref name="distance"/>   25478                         <ref name="distance"/>
25024                 </attribute>   25479                 </attribute>
25025         </optional>   25480         </optional>
25026 </define>   25481 </define>
25027 15.20.2Guide Overhang   25482 15.20.2Guide Overhang
25028 The guides are the two lines from the reference points to the measure line. The attribute  draw:guide-overhang specifies the length that the guides are drawn after they cross the measure line.   25483 The guides are the two lines from the reference points to the measure line. The attribute  draw:guide-overhang specifies the length that the guides are drawn after they cross the measure line.
25029 <define name="style-graphic-properties-attlist" combine="interleave">   25484 <define name="style-graphic-properties-attlist" combine="interleave">
25030         <optional>   25485         <optional>
25031                 <attribute name="draw:guide-overhang">   25486                 <attribute name="draw:guide-overhang">
25032                         <ref name="length"/>   25487                         <ref name="length"/>
25033                 </attribute>   25488                 </attribute>
25034         </optional>   25489         </optional>
25035 </define>   25490 </define>
25036 15.20.3Guide Distance   25491 15.20.3Guide Distance
25037 The attribute draw:guide-distance specifies the distance between the reference points and the start point of the guide lines. This distance does not take the attributes draw:start-guide and draw:end-guide into account, that is, the distance specified in draw:guide-distance equals the distance that is actually drawn only if draw:start-guide and draw:end-guide both are 0.   25492 The attribute draw:guide-distance specifies the distance between the reference points and the start point of the guide lines. This distance does not take the attributes draw:start-guide and draw:end-guide into account, that is, the distance specified in draw:guide-distance equals the distance that is actually drawn only if draw:start-guide and draw:end-guide both are 0.
25038 <define name="style-graphic-properties-attlist" combine="interleave">   25493 <define name="style-graphic-properties-attlist" combine="interleave">
25039         <optional>   25494         <optional>
25040                 <attribute name="draw:guide-distance">   25495                 <attribute name="draw:guide-distance">
25041                         <ref name="distance"/>   25496                         <ref name="distance"/>
25042                 </attribute>   25497                 </attribute>
25043         </optional>   25498         </optional>
25044 </define>   25499 </define>
25045 15.20.4Start Guide   25500 15.20.4Start Guide
25046 The draw:start-guide attribute specifies a length that is added to the length of the guide from the first reference point to the measure line. The guide is extended by this length at the end that points towards the reference points.   25501 The draw:start-guide attribute specifies a length that is added to the length of the guide from the first reference point to the measure line. The guide is extended by this length at the end that points towards the reference points.
25047 <define name="style-graphic-properties-attlist" combine="interleave">   25502 <define name="style-graphic-properties-attlist" combine="interleave">
25048         <optional>   25503         <optional>
25049                 <attribute name="draw:start-guide">   25504                 <attribute name="draw:start-guide">
25050                         <ref name="length"/>   25505                         <ref name="length"/>
25051                 </attribute>   25506                 </attribute>
25052         </optional>   25507         </optional>
25053 </define>   25508 </define>
25054 15.20.5End Guide   25509 15.20.5End Guide
25055 The draw:end-guide attribute specifies a length that is added to the length of the guide from the second reference point to the measure line. The guide is extended by this length at the end that points towards the reference points.   25510 The draw:end-guide attribute specifies a length that is added to the length of the guide from the second reference point to the measure line. The guide is extended by this length at the end that points towards the reference points.
25056 <define name="style-graphic-properties-attlist" combine="interleave">   25511 <define name="style-graphic-properties-attlist" combine="interleave">
25057         <optional>   25512         <optional>
25058                 <attribute name="draw:end-guide">   25513                 <attribute name="draw:end-guide">
25059                         <ref name="length"/>   25514                         <ref name="length"/>
25060                 </attribute>   25515                 </attribute>
25061         </optional>   25516         </optional>
25062 </define>   25517 </define>
25063 15.20.6Placing   25518 15.20.6Placing
25064 The attribute draw:placing specifies whether the measure line is rendered below or above the edge defined by the two reference points. The value of this attribute can be below or above.   25519 The attribute draw:placing specifies whether the measure line is rendered below or above the edge defined by the two reference points. The value of this attribute can be below or above.
25065 <define name="style-graphic-properties-attlist" combine="interleave">   25520 <define name="style-graphic-properties-attlist" combine="interleave">
25066         <optional>   25521         <optional>
25067                 <attribute name="draw:placing">   25522                 <attribute name="draw:placing">
25068                         <choice>   25523                         <choice>
25069                                 <value>below</value>   25524                                 <value>below</value>
25070                                 <value>above</value>   25525                                 <value>above</value>
25071                         </choice>   25526                         </choice>
25072                 </attribute>   25527                 </attribute>
25073         </optional>   25528         </optional>
25074 </define>   25529 </define>
25075 15.20.7Parallel   25530 15.20.7Parallel
25076 The draw:parallel attributes specifies whether the measure text is displayed parallel to the measure line or perpendicular.   25531 The draw:parallel attributes specifies whether the measure text is displayed parallel to the measure line or perpendicular.
25077 <define name="style-graphic-properties-attlist" combine="interleave">   25532 <define name="style-graphic-properties-attlist" combine="interleave">
25078         <optional>   25533         <optional>
25079                 <attribute name="draw:parallel">   25534                 <attribute name="draw:parallel">
25080                         <ref name="boolean"/>   25535                         <ref name="boolean"/>
25081                 </attribute>   25536                 </attribute>
25082         </optional>   25537         </optional>
25083 </define>   25538 </define>
25084 15.20.8Text Alignment   25539 15.20.8Text Alignment
25085 The attributes draw:measure-align and draw:measure-vertical-align determine the horizontal and vertical alignment of the measure text relative to the measure line. If value of these attributes is automatic, the application chooses the best position.   25540 The attributes draw:measure-align and draw:measure-vertical-align determine the horizontal and vertical alignment of the measure text relative to the measure line. If value of these attributes is automatic, the application chooses the best position.
25086 <define name="style-graphic-properties-attlist" combine="interleave">   25541 <define name="style-graphic-properties-attlist" combine="interleave">
25087         <optional>   25542         <optional>
25088                 <attribute name="draw:measure-align">   25543                 <attribute name="draw:measure-align">
25089                         <choice>   25544                         <choice>
25090                                 <value>automatic</value>   25545                                 <value>automatic</value>
25091                                 <value>left-outside</value>   25546                                 <value>left-outside</value>
25092                                 <value>inside</value>   25547                                 <value>inside</value>
25093                                 <value>right-outside</value>   25548                                 <value>right-outside</value>
25094                         </choice>   25549                         </choice>
25095                 </attribute>   25550                 </attribute>
25096         </optional>   25551         </optional>
25097         <optional>   25552         <optional>
25098                 <attribute name="draw:measure-vertical-align">   25553                 <attribute name="draw:measure-vertical-align">
25099                         <choice>   25554                         <choice>
25100                                 <value>automatic</value>   25555                                 <value>automatic</value>
25101                                 <value>above</value>   25556                                 <value>above</value>
25102                                 <value>below</value>   25557                                 <value>below</value>
25103                                 <value>center</value>   25558                                 <value>center</value>
25104                         </choice>   25559                         </choice>
25105                 </attribute>   25560                 </attribute>
25106         </optional>   25561         </optional>
25107 </define>   25562 </define>
25108 15.20.9Unit   25563 15.20.9Unit
25109 The attribute draw:unit specifies the unit used in the textual presentation of a measure shape.   25564 The attribute draw:unit specifies the unit used in the textual presentation of a measure shape.
25110 <define name="style-graphic-properties-attlist" combine="interleave">   25565 <define name="style-graphic-properties-attlist" combine="interleave">
25111         <optional>   25566         <optional>
25112                 <attribute name="draw:unit">   25567                 <attribute name="draw:unit">
25113                         <choice>   25568                         <choice>
25114                                 <value>automatic</value>   25569                                 <value>automatic</value>
25115                                 <value>mm</value>   25570                                 <value>mm</value>
25116                                 <value>cm</value>   25571                                 <value>cm</value>
25117                                 <value>m</value>   25572                                 <value>m</value>
25118                                 <value>km</value>   25573                                 <value>km</value>
25119                                 <value>pt</value>   25574                                 <value>pt</value>
25120                                 <value>pc</value>   25575                                 <value>pc</value>
25121                                 <value>inch</value>   25576                                 <value>inch</value>
25122                                 <value>ft</value>   25577                                 <value>ft</value>
25123                                 <value>mi</value>   25578                                 <value>mi</value>
25124                         </choice>   25579                         </choice>
25125                 </attribute>   25580                 </attribute>
25126         </optional>   25581         </optional>
25127 </define>   25582 </define>
25128 15.20.10Show Unit   25583 15.20.10Show Unit
25129 The attribute draw:show-unit toggles the display of the unit in the textual presentation of a measure shape.   25584 The attribute draw:show-unit toggles the display of the unit in the textual presentation of a measure shape.
25130 <define name="style-graphic-properties-attlist" combine="interleave">   25585 <define name="style-graphic-properties-attlist" combine="interleave">
25131         <optional>   25586         <optional>
25132                 <attribute name="draw:show-unit">   25587                 <attribute name="draw:show-unit">
25133                         <ref name="boolean"/>   25588                         <ref name="boolean"/>
25134                 </attribute>   25589                 </attribute>
25135         </optional>   25590         </optional>
25136 </define>   25591 </define>
25137 15.20.11Decimal Places   25592 15.20.11Decimal Places
25138 The attribute draw:decimal-places specifies the number of decimal places that are used for the measure text.   25593 The attribute draw:decimal-places specifies the number of decimal places that are used for the measure text.
25139 <define name="style-graphic-properties-attlist" combine="interleave">   25594 <define name="style-graphic-properties-attlist" combine="interleave">
25140         <optional>   25595         <optional>
25141                 <attribute name="draw:decimal-places">   25596                 <attribute name="draw:decimal-places">
25142                         <ref name="nonNegativeInteger"/>   25597                         <ref name="nonNegativeInteger"/>
25143                 </attribute>   25598                 </attribute>
25144         </optional>   25599         </optional>
25145 </define>   25600 </define>
25146 15.21Caption Properties   25601 15.21Caption Properties
25147 The following attributes can be used in the styles for caption shapes. These properties are available for caption objects contained in all kinds of applications.   25602 The following attributes can be used in the styles for caption shapes. These properties are available for caption objects contained in all kinds of applications.
25148 Type   25603 Type
25149 Angle type   25604 Angle type
25150 Angle   25605 Angle
25151 Gap   25606 Gap
25152 Escape direction   25607 Escape direction
25153 Escape   25608 Escape
25154 Line length   25609 Line length
25155 Fit line length   25610 Fit line length
25156 15.21.1Type   25611 15.21.1Type
25157 The attribute draw:caption-type specifies the geometry of the line of a caption.   25612 The attribute draw:caption-type specifies the geometry of the line of a caption.
25158 straight-line: a straight perpendicular line is drawn to the caption point.   25613 straight-line: a straight perpendicular line is drawn to the caption point.
25159 angled-line: a straight line is drawn to the caption point.   25614 angled-line: a straight line is drawn to the caption point.
25160 angled-connector-line: a straight perpendicular line, followed by a straight line is drawn to the caption point.   25615 angled-connector-line: a straight perpendicular line, followed by a straight line is drawn to the caption point.
25161 <define name="style-graphic-properties-attlist" combine="interleave">   25616 <define name="style-graphic-properties-attlist" combine="interleave">
25162         <optional>   25617         <optional>
25163                 <attribute name="draw:caption-type">   25618                 <attribute name="draw:caption-type">
25164                         <choice>   25619                         <choice>
25165                                 <value>straight-line</value>   25620                                 <value>straight-line</value>
25166                                 <value>angled-line</value>   25621                                 <value>angled-line</value>
25167                                 <value>angled-connector-line</value>   25622                                 <value>angled-connector-line</value>
25168                         </choice>   25623                         </choice>
25169                 </attribute>   25624                 </attribute>
25170         </optional>   25625         </optional>
25171 </define>   25626 </define>
25172 15.21.2Angle Type   25627 15.21.2Angle Type
25173 The attribute draw:caption-angle-type specifies if the escape angle of the line of a caption is fixed or free. If this is set to free the application can choose the best possible angle.   25628 The attribute draw:caption-angle-type specifies if the escape angle of the line of a caption is fixed or free. If this is set to free the application can choose the best possible angle.
25174 <define name="style-graphic-properties-attlist" combine="interleave">   25629 <define name="style-graphic-properties-attlist" combine="interleave">
25175         <optional>   25630         <optional>
25176                 <attribute name="draw:caption-angle-type">   25631                 <attribute name="draw:caption-angle-type">
25177                         <choice>   25632                         <choice>
25178                                 <value>fixed</value>   25633                                 <value>fixed</value>
25179                                 <value>free</value>   25634                                 <value>free</value>
25180                         </choice>   25635                         </choice>
25181                 </attribute>   25636                 </attribute>
25182         </optional>   25637         </optional>
25183 </define>   25638 </define>
25184 15.21.3Angle   25639 15.21.3Angle
25185 The attribute draw:caption-angle specifies the escape angle of the line of a caption. It is evaluated only if draw:caption-angle-type has the value fixed.   25640 The attribute draw:caption-angle specifies the escape angle of the line of a caption. It is evaluated only if draw:caption-angle-type has the value fixed.
25186 <define name="style-graphic-properties-attlist" combine="interleave">   25641 <define name="style-graphic-properties-attlist" combine="interleave">
25187         <optional>   25642         <optional>
25188                 <attribute name="draw:caption-angle">   25643                 <attribute name="draw:caption-angle">
25189                         <ref name="nonNegativeInteger"/>   25644                         <ref name="nonNegativeInteger"/>
25190                 </attribute>   25645                 </attribute>
25191         </optional>   25646         </optional>
25192 </define>   25647 </define>
25193 15.21.4Gap   25648 15.21.4Gap
25194 The attribute draw:caption-gap specifies the distance between the text area of the caption and the start of the line.   25649 The attribute draw:caption-gap specifies the distance between the text area of the caption and the start of the line.
25195 <define name="style-graphic-properties-attlist" combine="interleave">   25650 <define name="style-graphic-properties-attlist" combine="interleave">
25196         <optional>   25651         <optional>
25197                 <attribute name="draw:caption-gap">   25652                 <attribute name="draw:caption-gap">
25198                         <ref name="distance"/>   25653                         <ref name="distance"/>
25199                 </attribute>   25654                 </attribute>
25200         </optional>   25655         </optional>
25201 </define>   25656 </define>
25202 15.21.5Escape Direction   25657 15.21.5Escape Direction
25203 The attribute draw:caption-escape-direction specifies the escape direction for the line of a caption. If this is set to auto the application can choose the best direction.   25658 The attribute draw:caption-escape-direction specifies the escape direction for the line of a caption. If this is set to auto the application can choose the best direction.
25204 <define name="style-graphic-properties-attlist" combine="interleave">   25659 <define name="style-graphic-properties-attlist" combine="interleave">
25205         <optional>   25660         <optional>
25206                 <attribute name="draw:caption-escape-direction">   25661                 <attribute name="draw:caption-escape-direction">
25207                         <choice>   25662                         <choice>
25208                                 <value>horizontal</value>   25663                                 <value>horizontal</value>
25209                                 <value>vertical</value>   25664                                 <value>vertical</value>
25210                                 <value>auto</value>   25665                                 <value>auto</value>
25211                         </choice>   25666                         </choice>
25212                 </attribute>   25667                 </attribute>
25213         </optional>   25668         </optional>
25214 </define>   25669 </define>
25215 15.21.6Escape   25670 15.21.6Escape
25216 The attribute draw:caption-escape specifies the escape point of the caption line measured from the top left corner of the text area. The value can be an absolute length or a percentage.   25671 The attribute draw:caption-escape specifies the escape point of the caption line measured from the top left corner of the text area. The value can be an absolute length or a percentage.
25217 <define name="style-graphic-properties-attlist" combine="interleave">   25672 <define name="style-graphic-properties-attlist" combine="interleave">
25218         <optional>   25673         <optional>
25219                 <attribute name="draw:caption-escape">   25674                 <attribute name="draw:caption-escape">
25220                         <choice>   25675                         <choice>
25221                                 <ref name="length"/>   25676                                 <ref name="length"/>
25222                                 <ref name="percent"/>   25677                                 <ref name="percent"/>
25223                         </choice>   25678                         </choice>
25224                 </attribute>   25679                 </attribute>
25225         </optional>   25680         </optional>
25226 </define>   25681 </define>
25227 15.21.7Line Length   25682 15.21.7Line Length
25228 The attribute draw:caption-line-length specifies the length of the first caption line (i.e., the one that starts at the caption's text area). The attribute is only evaluated if draw:caption-fit-line-length has the value false.   25683 The attribute draw:caption-line-length specifies the length of the first caption line (i.e., the one that starts at the caption's text area). The attribute is only evaluated if draw:caption-fit-line-length has the value false.
25229 <define name="style-graphic-properties-attlist" combine="interleave">   25684 <define name="style-graphic-properties-attlist" combine="interleave">
25230         <optional>   25685         <optional>
25231                 <attribute name="draw:caption-line-length">   25686                 <attribute name="draw:caption-line-length">
25232                         <ref name="length"/>   25687                         <ref name="length"/>
25233                 </attribute>   25688                 </attribute>
25234         </optional>   25689         </optional>
25235 </define>   25690 </define>
25236 15.21.8Fit Line Length   25691 15.21.8Fit Line Length
25237 If the attribute draw:caption-fit-line-length is true, the application determines the best possible length for the caption line.   25692 If the attribute draw:caption-fit-line-length is true, the application determines the best possible length for the caption line.
25238 <define name="style-graphic-properties-attlist" combine="interleave">   25693 <define name="style-graphic-properties-attlist" combine="interleave">
25239         <optional>   25694         <optional>
25240                 <attribute name="draw:caption-fit-line-length">   25695                 <attribute name="draw:caption-fit-line-length">
25241                         <ref name="boolean"/>   25696                         <ref name="boolean"/>
25242                 </attribute>   25697                 </attribute>
25243         </optional>   25698         </optional>
25244 </define>   25699 </define>
25245 15.223D Geometry Properties   25700 15.223D Geometry Properties
25246 The 3D geometry properties described in this section are applicable to 3D drawing objects. These properties are available for 3D drawing objects contained in all kinds of applications.   25701 The 3D geometry properties described in this section are applicable to 3D drawing objects. These properties are available for 3D drawing objects contained in all kinds of applications.
25247 15.22.1Horizontal Segments   25702 15.22.1Horizontal Segments
25248 If the geometry of a 3D object is generated during run-time, the dr3d:horizontal-segments attribute is used to specify the number of horizontal segments that are used to generate the geometry. Typical applications support values between 2 and 256.   25703 If the geometry of a 3D object is generated during run-time, the dr3d:horizontal-segments attribute is used to specify the number of horizontal segments that are used to generate the geometry. Typical applications support values between 2 and 256.
25249 <define name="style-graphic-properties-attlist" combine="interleave">   25704 <define name="style-graphic-properties-attlist" combine="interleave">
25250         <optional>   25705         <optional>
25251                 <attribute name="dr3d:horizontal-segments">   25706                 <attribute name="dr3d:horizontal-segments">
25252                         <ref name="nonNegativeInteger"/>   25707                         <ref name="nonNegativeInteger"/>
25253                 </attribute>   25708                 </attribute>
25254         </optional>   25709         </optional>
25255 </define>   25710 </define>
25256 15.22.2Vertical Segments   25711 15.22.2Vertical Segments
25257 If the geometry of a 3D object is generated during run-time,  the dr3d:vertical-segments attribute is used to specify the number of vertical segments that are used to generate the geometry. Typical applications support values between 2 and 256.   25712 If the geometry of a 3D object is generated during run-time,  the dr3d:vertical-segments attribute is used to specify the number of vertical segments that are used to generate the geometry. Typical applications support values between 2 and 256.
25258 <define name="style-graphic-properties-attlist" combine="interleave">   25713 <define name="style-graphic-properties-attlist" combine="interleave">
25259         <optional>   25714         <optional>
25260                 <attribute name="dr3d:vertical-segments">   25715                 <attribute name="dr3d:vertical-segments">
25261                         <ref name="nonNegativeInteger"/>   25716                         <ref name="nonNegativeInteger"/>
25262                 </attribute>   25717                 </attribute>
25263         </optional>   25718         </optional>
25264 </define>   25719 </define>
25265 15.22.3Edge Rounding   25720 15.22.3Edge Rounding
25266 If the geometry of a 3D object is generated during run-time, the dr3d:edge-rounding attribute is used to specify the size of an area at the edges of the geometry that is used for rounding the edges.   25721 If the geometry of a 3D object is generated during run-time, the dr3d:edge-rounding attribute is used to specify the size of an area at the edges of the geometry that is used for rounding the edges.
25267 <define name="style-graphic-properties-attlist" combine="interleave">   25722 <define name="style-graphic-properties-attlist" combine="interleave">
25268         <optional>   25723         <optional>
25269                 <attribute name="dr3d:edge-rounding">   25724                 <attribute name="dr3d:edge-rounding">
25270                         <ref name="percent"/>   25725                         <ref name="percent"/>
25271                 </attribute>   25726                 </attribute>
25272         </optional>   25727         </optional>
25273 </define>   25728 </define>
25274 15.22.4Edge Rounding Mode   25729 15.22.4Edge Rounding Mode
25275 The attribute dr3d:edge-rounding-mode specifies how to generate rounded edges.   25730 The attribute dr3d:edge-rounding-mode specifies how to generate rounded edges.
25276 The value of this attribute can be correct or attractive. If the value is correct, the mathematically correct method is used. If the value is attractive, a method which preserves the visual appearance of the text is used.   25731 The value of this attribute can be correct or attractive. If the value is correct, the mathematically correct method is used. If the value is attractive, a method which preserves the visual appearance of the text is used.
25277 <define name="style-graphic-properties-attlist" combine="interleave">   25732 <define name="style-graphic-properties-attlist" combine="interleave">
25278         <optional>   25733         <optional>
25279                 <attribute name="dr3d:edge-rounding-mode">   25734                 <attribute name="dr3d:edge-rounding-mode">
25280                         <choice>   25735                         <choice>
25281                                 <value>correct</value>   25736                                 <value>correct</value>
25282                                 <value>attractive</value>   25737                                 <value>attractive</value>
25283                         </choice>   25738                         </choice>
25284                 </attribute>   25739                 </attribute>
25285         </optional>   25740         </optional>
25286 </define>   25741 </define>
25287 15.22.5Back Scale   25742 15.22.5Back Scale
25288 The attribute dr3d:back-scale specifies the proportion of the background geometry for lathe and extrude objects.   25743 The attribute dr3d:back-scale specifies the proportion of the background geometry for lathe and extrude objects.
25289 For example, with a back scale of 50%, the background plane of an extrude object is half the size of the foreground plane.   25744 For example, with a back scale of 50%, the background plane of an extrude object is half the size of the foreground plane.
25290 <define name="style-graphic-properties-attlist" combine="interleave">   25745 <define name="style-graphic-properties-attlist" combine="interleave">
25291         <optional>   25746         <optional>
25292                 <attribute name="dr3d:back-scale">   25747                 <attribute name="dr3d:back-scale">
25293                         <ref name="percent"/>   25748                         <ref name="percent"/>
25294                 </attribute>   25749                 </attribute>
25295         </optional>   25750         </optional>
25296 </define>   25751 </define>
25297 15.22.6Depth   25752 15.22.6Depth
25298 The dr3d:depth attribute specifies the extrusion depth for extrude objects.   25753 The dr3d:depth attribute specifies the extrusion depth for extrude objects.
25299 <define name="style-graphic-properties-attlist" combine="interleave">   25754 <define name="style-graphic-properties-attlist" combine="interleave">
25300         <optional>   25755         <optional>
25301                 <attribute name="dr3d:depth">   25756                 <attribute name="dr3d:depth">
25302                         <ref name="length"/>   25757                         <ref name="length"/>
25303                 </attribute>   25758                 </attribute>
25304         </optional>   25759         </optional>
25305 </define>   25760 </define>
25306 15.22.7Backface Culling   25761 15.22.7Backface Culling
25307 The dr3d:backface-culling attribute enables or disables backface culling.   25762 The dr3d:backface-culling attribute enables or disables backface culling.
25308 <define name="style-graphic-properties-attlist" combine="interleave">   25763 <define name="style-graphic-properties-attlist" combine="interleave">
25309         <optional>   25764         <optional>
25310                 <attribute name="dr3d:backface-culling">   25765                 <attribute name="dr3d:backface-culling">
25311                         <choice>   25766                         <choice>
25312                                 <value>enabled</value>   25767                                 <value>enabled</value>
25313                                 <value>disabled</value>   25768                                 <value>disabled</value>
25314                         </choice>   25769                         </choice>
25315                 </attribute>   25770                 </attribute>
25316         </optional>   25771         </optional>
25317 </define>   25772 </define>
25318 15.22.8End Angle   25773 15.22.8End Angle
25319 The attribute dr3d:end-angle specifies the rotation angle for 3D lathe objects. If it is the default (360°), the lathe object is closed and completely rotated. With smaller values it is possible to define opened lathe objects (segments). The then visible sides are closed and take into account the dr3d:back-scale and dr3d:edge-rounding attributes. With bigger values it is possible to create lathe objects with more than one rotation. This will only have a visible effect when e.g., dr3d:back-scale is used.   25774 The attribute dr3d:end-angle specifies the rotation angle for 3D lathe objects. If it is the default (360°), the lathe object is closed and completely rotated. With smaller values it is possible to define opened lathe objects (segments). The then visible sides are closed and take into account the dr3d:back-scale and dr3d:edge-rounding attributes. With bigger values it is possible to create lathe objects with more than one rotation. This will only have a visible effect when e.g., dr3d:back-scale is used.
25320 For example, with a end angle of 270°, the lathe object will be opened by 90°.   25775 For example, with a end angle of 270°, the lathe object will be opened by 90°.
25321 <define name="style-graphic-properties-attlist" combine="interleave">   25776 <define name="style-graphic-properties-attlist" combine="interleave">
25322         <optional>   25777         <optional>
25323                 <attribute name="dr3d:end-angle">   25778                 <attribute name="dr3d:end-angle">
25324                         <ref name="nonNegativeInteger"/>   25779                         <ref name="nonNegativeInteger"/>
25325                 </attribute>   25780                 </attribute>
25326         </optional>   25781         </optional>
25327 </define>   25782 </define>
25328 15.22.9Close Front   25783 15.22.9Close Front
25329 The dr3d:close-front property specifies whether a front plane shall be generated. E.g., if an ellipse is extruded, and this attribute is set, the ellipse will have an open front. The attribute can be used with extrudes and lathe objects.   25784 The dr3d:close-front property specifies whether a front plane shall be generated. E.g., if an ellipse is extruded, and this attribute is set, the ellipse will have an open front. The attribute can be used with extrudes and lathe objects.
25330 <define name="style-graphic-properties-attlist" combine="interleave">   25785 <define name="style-graphic-properties-attlist" combine="interleave">
25331         <optional>   25786         <optional>
25332                 <attribute name="dr3d:close-front">   25787                 <attribute name="dr3d:close-front">
25333                         <ref name="boolean"/>   25788                         <ref name="boolean"/>
25334                 </attribute>   25789                 </attribute>
25335         </optional>   25790         </optional>
25336 </define>   25791 </define>
25337 15.22.10Close Back   25792 15.22.10Close Back
25338 The dr3d:close-back property describes if a back plane shall be generated. E.g., if an ellipse is extruded, and this attribute is set, the ellipse will have an open back. The attribute can be used with extrudes and lathe objects.   25793 The dr3d:close-back property describes if a back plane shall be generated. E.g., if an ellipse is extruded, and this attribute is set, the ellipse will have an open back. The attribute can be used with extrudes and lathe objects.
25339 <define name="style-graphic-properties-attlist" combine="interleave">   25794 <define name="style-graphic-properties-attlist" combine="interleave">
25340         <optional>   25795         <optional>
25341                 <attribute name="dr3d:close-back">   25796                 <attribute name="dr3d:close-back">
25342                         <ref name="boolean"/>   25797                         <ref name="boolean"/>
25343                 </attribute>   25798                 </attribute>
25344         </optional>   25799         </optional>
25345 </define>   25800 </define>
25346 15.233D Lighting Properties   25801 15.233D Lighting Properties
25347 The 3D lightning properties described in this section are applicable to 3D drawing objects. These properties are available for 3D drawing objects contained in all kinds of applications.   25802 The 3D lightning properties described in this section are applicable to 3D drawing objects. These properties are available for 3D drawing objects contained in all kinds of applications.
25348 15.23.1Mode   25803 15.23.1Mode
25349 The attribute dr3d:lighting-mode determines the lighting algorithm used to render the corresponding 3D object.   25804 The attribute dr3d:lighting-mode determines the lighting algorithm used to render the corresponding 3D object.
25350 The value of this attribute can be standard or double-sided. If the value is double-sided, the reverse sides of the objects are also lighted.   25805 The value of this attribute can be standard or double-sided. If the value is double-sided, the reverse sides of the objects are also lighted.
25351 <define name="style-graphic-properties-attlist" combine="interleave">   25806 <define name="style-graphic-properties-attlist" combine="interleave">
25352         <optional>   25807         <optional>
25353                 <attribute name="dr3d:lighting-mode">   25808                 <attribute name="dr3d:lighting-mode">
25354                         <choice>   25809                         <choice>
25355                                 <value>standard</value>   25810                                 <value>standard</value>
25356                                 <value>double-sided</value>   25811                                 <value>double-sided</value>
25357                         </choice>   25812                         </choice>
25358                 </attribute>   25813                 </attribute>
25359         </optional>   25814         </optional>
25360 </define>   25815 </define>
25361 15.23.2Normals Kind   25816 15.23.2Normals Kind
25362 The attribute dr3d:normals-kind specifies how the normal settings for the generated lighting.   25817 The attribute dr3d:normals-kind specifies how the normal settings for the generated lighting.
25363 object: does not produce standard normals, but leaves the object-specific ones untouched.   25818 object: does not produce standard normals, but leaves the object-specific ones untouched.
25364 flat: forces one normal per flat part   25819 flat: forces one normal per flat part
25365 sphere: forces normals to behave as the object would be a sphere.   25820 sphere: forces normals to behave as the object would be a sphere.
25366 <define name="style-graphic-properties-attlist" combine="interleave">   25821 <define name="style-graphic-properties-attlist" combine="interleave">
25367         <optional>   25822         <optional>
25368                 <attribute name="dr3d:normals-kind">   25823                 <attribute name="dr3d:normals-kind">
25369                         <choice>   25824                         <choice>
25370                                 <value>object</value>   25825                                 <value>object</value>
25371                                 <value>flat</value>   25826                                 <value>flat</value>
25372                                 <value>sphere</value>   25827                                 <value>sphere</value>
25373                         </choice>   25828                         </choice>
25374                 </attribute>   25829                 </attribute>
25375         </optional>   25830         </optional>
25376 </define>   25831 </define>
25377 15.23.3Normals Direction   25832 15.23.3Normals Direction
25378 The dr3d:normals-direction attribute is used to inverse the generated normal lighting settings.   25833 The dr3d:normals-direction attribute is used to inverse the generated normal lighting settings.
25379 <define name="style-graphic-properties-attlist" combine="interleave">   25834 <define name="style-graphic-properties-attlist" combine="interleave">
25380         <optional>   25835         <optional>
25381                 <attribute name="dr3d:normals-direction">   25836                 <attribute name="dr3d:normals-direction">
25382                         <choice>   25837                         <choice>
25383                                 <value>normal</value>   25838                                 <value>normal</value>
25384                                 <value>inverse</value>   25839                                 <value>inverse</value>
25385                         </choice>   25840                         </choice>
25386                 </attribute>   25841                 </attribute>
25387         </optional>   25842         </optional>
25388 </define>   25843 </define>
25389 15.243D Texture Properties   25844 15.243D Texture Properties
25390 The 3D texture properties described in this section are applicable to 3D drawing objects. These properties are available for 3D drawing objects contained in all kinds of applications.   25845 The 3D texture properties described in this section are applicable to 3D drawing objects. These properties are available for 3D drawing objects contained in all kinds of applications.
25391 15.24.1Generation Mode   25846 15.24.1Generation Mode
25392 The attributes dr3d:texture-generation-mode-x and dr3d:texture-generation-mode-y specify how the texture coordinates are generated.   25847 The attributes dr3d:texture-generation-mode-x and dr3d:texture-generation-mode-y specify how the texture coordinates are generated.
25393 object: This value specifies that the standard object projection method is used   25848 object: This value specifies that the standard object projection method is used
25394 parallel: This value specifies a flat parallel projection in the specified degree of freedom (X or Y).   25849 parallel: This value specifies a flat parallel projection in the specified degree of freedom (X or Y).
25395 sphere: This value forces projection to wrapping in X and/or Y direction   25850 sphere: This value forces projection to wrapping in X and/or Y direction
25396 <define name="style-graphic-properties-attlist" combine="interleave">   25851 <define name="style-graphic-properties-attlist" combine="interleave">
25397         <optional>   25852         <optional>
25398                 <attribute name="dr3d:texture-generation-mode-x">   25853                 <attribute name="dr3d:texture-generation-mode-x">
25399                         <choice>   25854                         <choice>
25400                                 <value>object</value>   25855                                 <value>object</value>
25401                                 <value>parallel</value>   25856                                 <value>parallel</value>
25402                                 <value>sphere</value>   25857                                 <value>sphere</value>
25403                         </choice>   25858                         </choice>
25404                 </attribute>   25859                 </attribute>
25405         </optional>   25860         </optional>
25406         <optional>   25861         <optional>
25407                 <attribute name="dr3d:texture-generation-mode-y">   25862                 <attribute name="dr3d:texture-generation-mode-y">
25408                         <choice>   25863                         <choice>
25409                                 <value>object</value>   25864                                 <value>object</value>
25410                                 <value>parallel</value>   25865                                 <value>parallel</value>
25411                                 <value>sphere</value>   25866                                 <value>sphere</value>
25412                         </choice>   25867                         </choice>
25413                 </attribute>   25868                 </attribute>
25414         </optional>   25869         </optional>
25415 </define>   25870 </define>
25416 15.24.2Kind   25871 15.24.2Kind
25417 The attribute dr3d:texture-kind is used to select whether the texture changes the luminance, intensity, or color of the shape.   25872 The attribute dr3d:texture-kind is used to select whether the texture changes the luminance, intensity, or color of the shape.
25418 <define name="style-graphic-properties-attlist" combine="interleave">   25873 <define name="style-graphic-properties-attlist" combine="interleave">
25419         <optional>   25874         <optional>
25420                 <attribute name="dr3d:texture-kind">   25875                 <attribute name="dr3d:texture-kind">
25421                         <choice>   25876                         <choice>
25422                                 <value>luminance</value>   25877                                 <value>luminance</value>
25423                                 <value>intesity</value> <> 25878                                 <value>intensity</value>
25424                                 <value>color</value> = 25879                                 <value>color</value>
25425                         </choice>   25880                         </choice>
25426                 </attribute>   25881                 </attribute>
25427         </optional>   25882         </optional>
25428 </define>   25883 </define>
25429 15.24.3Filter   25884 15.24.3Filter
25430 The attribute dr3d:texture-filter is used to enable or disable texture filtering.   25885 The attribute dr3d:texture-filter is used to enable or disable texture filtering.
25431 <define name="style-graphic-properties-attlist" combine="interleave">   25886 <define name="style-graphic-properties-attlist" combine="interleave">
25432         <optional>   25887         <optional>
25433                 <attribute name="dr3d:texture-filter">   25888                 <attribute name="dr3d:texture-filter">
25434                         <choice>   25889                         <choice>
25435                                 <value>enabled</value>   25890                                 <value>enabled</value>
25436                                 <value>disabled</value>   25891                                 <value>disabled</value>
25437                         </choice>   25892                         </choice>
25438                 </attribute>   25893                 </attribute>
25439         </optional>   25894         </optional>
25440 </define>   25895 </define>
25441 15.24.4Mode   25896 15.24.4Mode
25442 The attribute dr3d:normals-direction is used to specify how the texture is modulated.   25897 The attribute dr3d:normals-direction is used to specify how the texture is modulated.
25443 <define name="style-graphic-properties-attlist" combine="interleave">   25898 <define name="style-graphic-properties-attlist" combine="interleave">
25444         <optional>   25899         <optional>
25445                 <attribute name="dr3d:texture-mode">   25900                 <attribute name="dr3d:texture-mode">
25446                         <choice>   25901                         <choice>
25447                                 <value>replace</value>   25902                                 <value>replace</value>
25448                                 <value>modulate</value>   25903                                 <value>modulate</value>
25449                                 <value>blend</value>   25904                                 <value>blend</value>
25450                         </choice>   25905                         </choice>
25451                 </attribute>   25906                 </attribute>
25452         </optional>   25907         </optional>
25453 </define>   25908 </define>
25454 15.253D Material Properties   25909 15.253D Material Properties
25455 The 3D texture properties described in this section are applicable to 3D drawing objects. These properties are available for 3D drawing objects contained in all kinds of applications.   25910 The 3D texture properties described in this section are applicable to 3D drawing objects. These properties are available for 3D drawing objects contained in all kinds of applications.
25456 15.25.1Colors   25911 15.25.1Colors
25457 The attributes dr3d:ambient-color, dr3d:emissive-color, dr3d:specular-color and dr3d:diffuse-color specify the four colors that define a material.   25912 The attributes dr3d:ambient-color, dr3d:emissive-color, dr3d:specular-color and dr3d:diffuse-color specify the four colors that define a material.
25458 <define name="style-graphic-properties-attlist" combine="interleave">   25913 <define name="style-graphic-properties-attlist" combine="interleave">
25459         <optional>   25914         <optional>
25460                 <attribute name="dr3d:ambient-color">   25915                 <attribute name="dr3d:ambient-color">
25461                         <ref name="color"/>   25916                         <ref name="color"/>
25462                 </attribute>   25917                 </attribute>
25463         </optional>   25918         </optional>
25464         <optional>   25919         <optional>
25465                 <attribute name="dr3d:emissive-color">   25920                 <attribute name="dr3d:emissive-color">
25466                         <ref name="color"/>   25921                         <ref name="color"/>
25467                 </attribute>   25922                 </attribute>
25468         </optional>   25923         </optional>
25469         <optional>   25924         <optional>
25470                 <attribute name="dr3d:specular-color">   25925                 <attribute name="dr3d:specular-color">
25471                         <ref name="color"/>   25926                         <ref name="color"/>
25472                 </attribute>   25927                 </attribute>
25473         </optional>   25928         </optional>
25474         <optional>   25929         <optional>
25475                 <attribute name="dr3d:diffuse-color">   25930                 <attribute name="dr3d:diffuse-color">
25476                         <ref name="color"/>   25931                         <ref name="color"/>
25477                 </attribute>   25932                 </attribute>
25478         </optional>   25933         </optional>
25479 </define>   25934 </define>
25480 15.25.2Shininess   25935 15.25.2Shininess
25481 The attribute dr3d:shininess specifies the shine of the used material.   25936 The attribute dr3d:shininess specifies the shine of the used material.
25482 <define name="style-graphic-properties-attlist" combine="interleave">   25937 <define name="style-graphic-properties-attlist" combine="interleave">
25483         <optional>   25938         <optional>
25484                 <attribute name="dr3d:shininess">   25939                 <attribute name="dr3d:shininess">
25485                         <ref name="percent"/>   25940                         <ref name="percent"/>
25486                 </attribute>   25941                 </attribute>
25487         </optional>   25942         </optional>
25488 </define>   25943 </define>
25489 15.263D Shadow Properties   25944 15.263D Shadow Properties
25490 The 3D shadow properties described in this section are applicable to 3D drawing objects. These properties are available for 3D drawing objects contained in all kinds of applications.   25945 The 3D shadow properties described in this section are applicable to 3D drawing objects. These properties are available for 3D drawing objects contained in all kinds of applications.
25491 15.26.1Shadow   25946 15.26.1Shadow
25492 The attribute dr3d:shadow enables or disables a three-dimensional shadow for a three-dimensional object.   25947 The attribute dr3d:shadow enables or disables a three-dimensional shadow for a three-dimensional object.
25493 <define name="style-graphic-properties-attlist" combine="interleave">   25948 <define name="style-graphic-properties-attlist" combine="interleave">
25494         <optional>   25949         <optional>
25495                 <attribute name="dr3d:shadow">   25950                 <attribute name="dr3d:shadow">
25496                         <choice>   25951                         <choice>
25497                                 <value>visible</value>   25952                                 <value>visible</value>
25498                                 <value>hidden</value>   25953                                 <value>hidden</value>
25499                         </choice>   25954                         </choice>
25500                 </attribute>   25955                 </attribute>
25501         </optional>   25956         </optional>
25502 </define>   25957 </define>
25503 15.27Frame Formatting Properties   25958 15.27Frame Formatting Properties
25504 The properties described in this section apply to draw frames (see section 9.3). They can be used within graphic styles (see section 14.13.1) and they are contained in a <style:graphic-properties> element.   25959 The properties described in this section apply to draw frames (see section 9.3). They can be used within graphic styles (see section 14.13.1) and they are contained in a <style:graphic-properties> element.
25505 15.27.1Frame Widths   25960 15.27.1Frame Widths
25506 There are three types of frame widths; fixed widths, minimum widths and relative widths. Fixed widths are specified using the svg:width attribute, minimum widths are specified using the fo:min-width attribute and relative widths are specified using the style:rel-width attribute. The meaning of these attributes is the same as described in section 9.3, except that the attributes specify the default width for new created frames only. The style:rel-width attribute will be evaluated only for graphic styles that are applied to text boxes.   25961 There are three types of frame widths; fixed widths, minimum widths and relative widths. Fixed widths are specified using the svg:width attribute, minimum widths are specified using the fo:min-width attribute and relative widths are specified using the style:rel-width attribute. The meaning of these attributes is the same as described in section 9.3, except that the attributes specify the default width for new created frames only. The style:rel-width attribute will be evaluated only for graphic styles that are applied to text boxes.
25507 <define name="style-graphic-properties-attlist" combine="interleave">   25962 <define name="style-graphic-properties-attlist" combine="interleave">
25508         <ref name="common-draw-rel-size-attlist"/>   25963         <ref name="common-draw-rel-size-attlist"/>
25509         <optional>   25964         <optional>
25510                 <attribute name="fo:min-width">   25965                 <attribute name="fo:min-width">
25511                         <choice>   25966                         <choice>
25512                                 <ref name="length"/>   25967                                 <ref name="length"/>
25513                                 <ref name="percent"/>   25968                                 <ref name="percent"/>
25514                         </choice>   25969                         </choice>
25515                 </attribute>   25970                 </attribute>
25516         </optional>   25971         </optional>
25517 </define>   25972 </define>
25518 15.27.2Frame Heights   25973 15.27.2Frame Heights
25519 There are three types of frame heights; fixed heights, minimum heights and relative heights. Fixed heights are specified using the svg:height attribute, minimum heights are specified using the fo:min-height attribute and relative heights are specified using the style:rel-height attribute. The meaning of these attributes is the same as described in section 9.3, except that the attributes specify the default height for new created frames only. The style:rel-height attribute will be evaluated only for graphic styles that are applied to text boxes. See also section 15.27.1.   25974 There are three types of frame heights; fixed heights, minimum heights and relative heights. Fixed heights are specified using the svg:height attribute, minimum heights are specified using the fo:min-height attribute and relative heights are specified using the style:rel-height attribute. The meaning of these attributes is the same as described in section 9.3, except that the attributes specify the default height for new created frames only. The style:rel-height attribute will be evaluated only for graphic styles that are applied to text boxes. See also section 15.27.1.
25520 <define name="style-graphic-properties-attlist" combine="interleave">   25975 <define name="style-graphic-properties-attlist" combine="interleave">
25521         <optional>   25976         <optional>
25522                 <attribute name="fo:min-height">   25977                 <attribute name="fo:min-height">
25523                         <choice>   25978                         <choice>
25524                                 <ref name="length"/>   25979                                 <ref name="length"/>
25525                                 <ref name="percent"/>   25980                                 <ref name="percent"/>
25526                         </choice>   25981                         </choice>
25527                 </attribute>   25982                 </attribute>
25528         </optional>   25983         </optional>
25529 </define>   25984 </define>
25530 15.27.3Maximum Width and Height   25985 15.27.3Maximum Width and Height
25531 Text boxes can increase in size automatically when content is added. The fo:max-width and fo:max-height attributes specify a maximum width and height for the frame. When the maximum values are reached, the frame stops increasing in size. The attributes' value can be either a length or a percentage. If the anchor for the text box is in a table cell, the percentage value relates to the surrounding table box. If the anchor for the text box is in a text box, the percentage value relates to the surrounding text box. In other cases, the percentage values relate to the height of the page or window.   25986 Text boxes can increase in size automatically when content is added. The fo:max-width and fo:max-height attributes specify a maximum width and height for the frame. When the maximum values are reached, the frame stops increasing in size. The attributes' value can be either a length or a percentage. If the anchor for the text box is in a table cell, the percentage value relates to the surrounding table box. If the anchor for the text box is in a text box, the percentage value relates to the surrounding text box. In other cases, the percentage values relate to the height of the page or window.
25532 <define name="style-graphic-properties-attlist" combine="interleave">   25987 <define name="style-graphic-properties-attlist" combine="interleave">
25533         <optional>   25988         <optional>
25534                 <attribute name="fo:max-height">   25989                 <attribute name="fo:max-height">
25535                         <choice>   25990                         <choice>
25536                                 <ref name="length"/>   25991                                 <ref name="length"/>
25537                                 <ref name="percent"/>   25992                                 <ref name="percent"/>
25538                         </choice>   25993                         </choice>
25539                 </attribute>   25994                 </attribute>
25540         </optional>   25995         </optional>
25541         <optional>   25996         <optional>
25542                 <attribute name="fo:max-width">   25997                 <attribute name="fo:max-width">
25543                         <choice>   25998                         <choice>
25544                                 <ref name="length"/>   25999                                 <ref name="length"/>
25545                                 <ref name="percent"/>   26000                                 <ref name="percent"/>
25546                         </choice>   26001                         </choice>
25547                 </attribute>   26002                 </attribute>
25548         </optional>   26003         </optional>
25549 </define>   26004 </define>
25550 15.27.4Left and Right Margins   26005 15.27.4Left and Right Margins
25551 The fo:margin-left and fo:margin-right properties determine the left and right margins to set around a frame. See sections 15.5.17 for detailed information on these attributes. Percentage values are not supported.   26006 The fo:margin-left and fo:margin-right properties determine the left and right margins to set around a frame. See sections 15.5.17 for detailed information on these attributes. Percentage values are not supported.
25552 <define name="style-graphic-properties-attlist" combine="interleave">   26007 <define name="style-graphic-properties-attlist" combine="interleave">
25553         <ref name="common-horizontal-margin-attlist"/>   26008         <ref name="common-horizontal-margin-attlist"/>
25554 </define>   26009 </define>
25555 15.27.5Top and Bottom Margins   26010 15.27.5Top and Bottom Margins
25556 The fo:margin-top and fo:margin-bottom properties determine the top and bottom margins to set around a frame. See sections 15.5.20 for detailed information on these attributes. Percentage values are not supported.   26011 The fo:margin-top and fo:margin-bottom properties determine the top and bottom margins to set around a frame. See sections 15.5.20 for detailed information on these attributes. Percentage values are not supported.
25557 <define name="style-graphic-properties-attlist" combine="interleave">   26012 <define name="style-graphic-properties-attlist" combine="interleave">
25558         <ref name="common-vertical-margin-attlist"/>   26013         <ref name="common-vertical-margin-attlist"/>
25559 </define>   26014 </define>
25560 15.27.6Margins   26015 15.27.6Margins
25561 The fo:margin property specifies the the margin for all four edges of a frame. See section 15.5.21 for a full explanation of this property.   26016 The fo:margin property specifies the the margin for all four edges of a frame. See section 15.5.21 for a full explanation of this property.
25562 <define name="style-graphic-properties-attlist" combine="interleave">   26017 <define name="style-graphic-properties-attlist" combine="interleave">
25563         <ref name="common-margin-attlist"/>   26018         <ref name="common-margin-attlist"/>
25564 </define>   26019 </define>
25565 15.27.7Print Content   26020 15.27.7Print Content
25566 The style:print-content property specifies whether or not the content of a frame is printed.   26021 The style:print-content property specifies whether or not the content of a frame is printed.
25567 <define name="style-graphic-properties-attlist" combine="interleave">   26022 <define name="style-graphic-properties-attlist" combine="interleave">
25568         <optional>   26023         <optional>
25569                 <attribute name="style:print-content">   26024                 <attribute name="style:print-content">
25570                         <ref name="boolean"/>   26025                         <ref name="boolean"/>
25571                 </attribute>   26026                 </attribute>
25572         </optional>   26027         </optional>
25573 </define>   26028 </define>
25574 15.27.8Protect   26029 15.27.8Protect
25575 The style:protect property specifies whether the content, size, or position of a frame is protected. The value of this property can be either none or a space separated list that consists of any of the values content, position, or size.   26030 The style:protect property specifies whether the content, size, or position of a frame is protected. The value of this property can be either none or a space separated list that consists of any of the values content, position, or size.
25576 <define name="style-graphic-properties-attlist" combine="interleave">   26031 <define name="style-graphic-properties-attlist" combine="interleave">
25577         <optional>   26032         <optional>
25578                 <attribute name="style:protect">   26033                 <attribute name="style:protect">
25579                         <choice>   26034                         <choice>
25580                                 <value>none</value>   26035                                 <value>none</value>
25581                                 <list>   26036                                 <list>
25582                                         <oneOrMore>   26037                                         <oneOrMore>
25583                                                 <choice>   26038                                                 <choice>
25584                                                         <value>content</value>   26039                                                         <value>content</value>
25585                                                         <value>position</value>   26040                                                         <value>position</value>
25586                                                         <value>size</value>   26041                                                         <value>size</value>
25587                                                 </choice>   26042                                                 </choice>
25588                                         </oneOrMore>   26043                                         </oneOrMore>
25589                                 </list>   26044                                 </list>
25590                         </choice>   26045                         </choice>
25591                 </attribute>   26046                 </attribute>
25592         </optional>   26047         </optional>
25593 </define>   26048 </define>
25594 15.27.9Horizontal Position   26049 15.27.9Horizontal Position
25595 Within text documents, the style:horizontal-pos property specifies the horizontal alignment of the frame in relation to the specific area.   26050 Within text documents, the style:horizontal-pos property specifies the horizontal alignment of the frame in relation to the specific area.
25596 The value of this property can be one of the following: from-left, left, center, right, from-inside, inside, or outside. The area that the position relates to is specified by the style:horizontal-rel property. The values from-inside, inside and outside correspond  to the values from-left, left, and right on pages that have an odd page number and to the opposite values on pages that have an even page number.   26051 The value of this property can be one of the following: from-left, left, center, right, from-inside, inside, or outside. The area that the position relates to is specified by the style:horizontal-rel property. The values from-inside, inside and outside correspond  to the values from-left, left, and right on pages that have an odd page number and to the opposite values on pages that have an even page number.
25597 If the property value is from-left or from-inside, the svg:x attribute associated with the frame element specifies the horizontal position of the frame. Otherwise the svg:x attribute is ignored for text documents.   26052 If the property value is from-left or from-inside, the svg:x attribute associated with the frame element specifies the horizontal position of the frame. Otherwise the svg:x attribute is ignored for text documents.
25598 It is also possible to use an svg:x attribute within a graphic style. If this is the case, then the attribute specifies a default position for new frames that are created using this style.   26053 It is also possible to use an svg:x attribute within a graphic style. If this is the case, then the attribute specifies a default position for new frames that are created using this style.
25599 Some values may be used in connection with certain frame anchor and relation types only.   26054 Some values may be used in connection with certain frame anchor and relation types only.
25600 <define name="style-graphic-properties-attlist" combine="interleave">   26055 <define name="style-graphic-properties-attlist" combine="interleave">
25601         <optional>   26056         <optional>
25602                 <attribute name="style:horizontal-pos">   26057                 <attribute name="style:horizontal-pos">
25603                         <choice>   26058                         <choice>
25604                                 <value>left</value>   26059                                 <value>left</value>
25605                                 <value>center</value>   26060                                 <value>center</value>
25606                                 <value>right</value>   26061                                 <value>right</value>
25607                                 <value>from-left</value>   26062                                 <value>from-left</value>
25608                                 <value>inside</value>   26063                                 <value>inside</value>
25609                                 <value>outside</value>   26064                                 <value>outside</value>
25610                                 <value>from-inside</value>   26065                                 <value>from-inside</value>
25611                         </choice>   26066                         </choice>
25612                 </attribute>   26067                 </attribute>
25613         </optional>   26068         </optional>
25614         <optional>   26069         <optional>
25615                 <attribute name="svg:x">   26070                 <attribute name="svg:x">
25616                         <ref name="coordinate"/>   26071                         <ref name="coordinate"/>
25617                 </attribute>   26072                 </attribute>
25618         </optional>   26073         </optional>
25619 </define>   26074 </define>
25620 The following tables display the possible values of the attributes style:horizontal-pos and style:horizontal-rel. The possible values of these alignment attributes are listed in the first column on the left, and an alignment attribute value/anchor type value match is indicated by an X.   26075 The following tables display the possible values of the attributes style:horizontal-pos and style:horizontal-rel. The possible values of these alignment attributes are listed in the first column on the left, and an alignment attribute value/anchor type value match is indicated by an X.
25621 Value of style:horizontal-pos   26076 Value of style:horizontal-pos
25622 Value of text:anchor-type   26077 Value of text:anchor-type
25623 page   26078 page
25624 frame   26079 frame
25625 paragraph   26080 paragraph
25626 char   26081 char
25627 as-char   26082 as-char
25628 any   26083 any
25629 X   26084 X
25630 X   26085 X
25631 X   26086 X
25632 X   26087 X
25633     26088  
25634     26089  
25635 Value of style:horizontal-rel   26090 Value of style:horizontal-rel
25636 Value of text:anchor-type   26091 Value of text:anchor-type
25637 page   26092 page
25638 frame   26093 frame
25639 paragraph   26094 paragraph
25640 char   26095 char
25641 as-char   26096 as-char
25642 page   26097 page
25643 X   26098 X
25644     26099  
25645 X   26100 X
25646 X   26101 X
25647     26102  
25648 page-content   26103 page-content
25649 X   26104 X
25650     26105  
25651 X   26106 X
25652 X   26107 X
25653     26108  
25654 page-start-margin   26109 page-start-margin
25655 X   26110 X
25656     26111  
25657 X   26112 X
25658 X   26113 X
25659     26114  
25660 page-end-margin   26115 page-end-margin
25661 X   26116 X
25662     26117  
25663 X   26118 X
25664 X   26119 X
25665     26120  
25666 frame   26121 frame
25667     26122  
25668 X   26123 X
25669     26124  
25670     26125  
25671     26126  
25672 frame-content   26127 frame-content
25673     26128  
25674 X   26129 X
25675     26130  
25676     26131  
25677     26132  
25678 frame-start-margin   26133 frame-start-margin
25679     26134  
25680 X   26135 X
25681     26136  
25682     26137  
25683     26138  
25684 frame-end-margin   26139 frame-end-margin
25685     26140  
25686 X   26141 X
25687     26142  
25688     26143  
25689     26144  
25690 paragraph   26145 paragraph
25691     26146  
25692     26147  
25693 X   26148 X
25694 X   26149 X
25695     26150  
25696 paragraph-content   26151 paragraph-content
25697     26152  
25698     26153  
25699 X   26154 X
25700 X   26155 X
25701     26156  
25702 paragraph-start-margin   26157 paragraph-start-margin
25703     26158  
25704     26159  
25705 X   26160 X
25706 X   26161 X
25707     26162  
25708 paragraph-end-margin   26163 paragraph-end-margin
25709     26164  
25710     26165  
25711 X   26166 X
25712 X   26167 X
25713     26168  
25714 char   26169 char
25715     26170  
25716     26171  
25717     26172  
25718 X   26173 X
25719     26174  
25720 15.27.10Horizontal Relation   26175 15.27.10Horizontal Relation
25721 The style:horizontal-rel property specifies the area to which the horizontal position of a frame relates. See section 15.27.9 for information on the style:horizontal-pos property.   26176 The style:horizontal-rel property specifies the area to which the horizontal position of a frame relates. See section 15.27.9 for information on the style:horizontal-pos property.
25722 The value of this property can be one of the following: page, page-content, page-start-margin, page-end-margin, frame, frame-content, frame-start-margin, frame-end-margin, paragraph, paragraph-content, paragraph-start-margin, paragraph-end-margin, or char.   26177 The value of this property can be one of the following: page, page-content, page-start-margin, page-end-margin, frame, frame-content, frame-start-margin, frame-end-margin, paragraph, paragraph-content, paragraph-start-margin, paragraph-end-margin, or char.
25723 Some values can be used with only certain frame anchor types.   26178 Some values can be used with only certain frame anchor types.
25724 The value start-margin determines the left margin, except when the horizontal position is from-inside, inside or outside and the anchor for the frame is on a page with an even page number, in which case it determines the right margin. The value end-margin determines the opposite margin to the start-margin values.   26179 The value start-margin determines the left margin, except when the horizontal position is from-inside, inside or outside and the anchor for the frame is on a page with an even page number, in which case it determines the right margin. The value end-margin determines the opposite margin to the start-margin values.
25725 <define name="style-graphic-properties-attlist" combine="interleave">   26180 <define name="style-graphic-properties-attlist" combine="interleave">
25726         <optional>   26181         <optional>
25727                 <attribute name="style:horizontal-rel">   26182                 <attribute name="style:horizontal-rel">
25728                         <choice>   26183                         <choice>
25729                                         <value>page</value>   26184                                         <value>page</value>
25730                                 <value>page-content</value>   26185                                 <value>page-content</value>
25731                                 <value>page-start-margin</value>   26186                                 <value>page-start-margin</value>
25732                                 <value>page-end-margin</value>   26187                                 <value>page-end-margin</value>
25733                                 <value>frame</value>   26188                                 <value>frame</value>
25734                                 <value>frame-content</value>   26189                                 <value>frame-content</value>
25735                                 <value>frame-start-margin</value>   26190                                 <value>frame-start-margin</value>
25736                                 <value>frame-end-margin</value>   26191                                 <value>frame-end-margin</value>
25737                                 <value>paragraph</value>   26192                                 <value>paragraph</value>
25738                                 <value>paragraph-content</value>   26193                                 <value>paragraph-content</value>
25739                                 <value>paragraph-start-margin</value>   26194                                 <value>paragraph-start-margin</value>
25740                                 <value>paragraph-end-margin</value>   26195                                 <value>paragraph-end-margin</value>
25741                                 <value>char</value>   26196                                 <value>char</value>
25742                         </choice>   26197                         </choice>
25743                 </attribute>   26198                 </attribute>
25744         </optional>   26199         </optional>
25745 </define>   26200 </define>
25746 15.27.11Vertical Position   26201 15.27.11Vertical Position
25747 The style:vertical-pos property specifies the vertical alignment of the frame in relation to a specific area.   26202 The style:vertical-pos property specifies the vertical alignment of the frame in relation to a specific area.
25748 The value of this property can be one of the following: from-top, top, middle, below or bottom. The area that the position relates to is specified by the style:vertical-rel property. top, middle and bottom specify the the given corners of the frame and the reference area get aligned. below specifies that the top corner of the frame is positioned below the reference area.   26203 The value of this property can be one of the following: from-top, top, middle, below or bottom. The area that the position relates to is specified by the style:vertical-rel property. top, middle and bottom specify the the given corners of the frame and the reference area get aligned. below specifies that the top corner of the frame is positioned below the reference area.
25749 If the value of this property is from-top, the svg:y attribute associated with the frame element specifies the vertical position of the frame. Otherwise, the svg:y attribute is ignored for text documents.   26204 If the value of this property is from-top, the svg:y attribute associated with the frame element specifies the vertical position of the frame. Otherwise, the svg:y attribute is ignored for text documents.
25750 It is also possible to use an svg:y attribute within a graphic style. If this is the case, the attribute specifies a default position for new frames that are created using this style.   26205 It is also possible to use an svg:y attribute within a graphic style. If this is the case, the attribute specifies a default position for new frames that are created using this style.
25751 Some values may be used in connection with certain frame anchor and relation types only.   26206 Some values may be used in connection with certain frame anchor and relation types only.
25752 <define name="style-graphic-properties-attlist" combine="interleave">   26207 <define name="style-graphic-properties-attlist" combine="interleave">
25753         <ref name="common-vertical-pos-attlist"/>   26208         <ref name="common-vertical-pos-attlist"/>
25754 </define>   26209 </define>
25755     26210  
25756 <define name="common-vertical-pos-attlist">   26211 <define name="common-vertical-pos-attlist">
25757         <optional>   26212         <optional>
25758                 <attribute name="style:vertical-pos">   26213                 <attribute name="style:vertical-pos">
25759                         <choice>   26214                         <choice>
25760                                 <value>top</value>   26215                                 <value>top</value>
25761                                 <value>middle</value>   26216                                 <value>middle</value>
25762                                 <value>bottom</value>   26217                                 <value>bottom</value>
25763                                 <value>from-top</value>   26218                                 <value>from-top</value>
25764                                 <value>below</value>   26219                                 <value>below</value>
25765                         </choice>   26220                         </choice>
25766                 </attribute>   26221                 </attribute>
25767         </optional>   26222         </optional>
25768         <optional>   26223         <optional>
25769                 <attribute name="svg:y">   26224                 <attribute name="svg:y">
25770                         <ref name="coordinate"/>   26225                         <ref name="coordinate"/>
25771                 </attribute>   26226                 </attribute>
25772         </optional>   26227         </optional>
25773 </define>   26228 </define>
25774 The following tables display the possible values of the attributes style:vertical-pos and style:vertical-rel. The possible values of these alignment attributes are listed in the first column on the left, and an alignment attribute value/anchor type value match is indicated by an X.   26229 The following tables display the possible values of the attributes style:vertical-pos and style:vertical-rel. The possible values of these alignment attributes are listed in the first column on the left, and an alignment attribute value/anchor type value match is indicated by an X.
25775 Value of style:vertical-pos   26230 Value of style:vertical-pos
25776 Value of text:anchor-type   26231 Value of text:anchor-type
25777 page   26232 page
25778 frame   26233 frame
25779 paragraph   26234 paragraph
25780 char   26235 char
25781 as-char   26236 as-char
25782 any   26237 any
25783 X   26238 X
25784 X   26239 X
25785 X   26240 X
25786 X   26241 X
25787 X   26242 X
25788     26243  
25789 Value of style:vertical-rel   26244 Value of style:vertical-rel
25790 Value of text:anchor-type   26245 Value of text:anchor-type
25791 page   26246 page
25792 frame   26247 frame
25793 paragraph   26248 paragraph
25794 char   26249 char
25795 as-char   26250 as-char
25796 page   26251 page
25797 X   26252 X
25798     26253  
25799     26254  
25800     26255  
25801     26256  
25802 page-content   26257 page-content
25803 X   26258 X
25804     26259  
25805     26260  
25806     26261  
25807     26262  
25808 frame   26263 frame
25809     26264  
25810 X   26265 X
25811     26266  
25812     26267  
25813     26268  
25814 frame-content   26269 frame-content
25815     26270  
25816 X   26271 X
25817     26272  
25818     26273  
25819     26274  
25820 paragraph   26275 paragraph
25821     26276  
25822     26277  
25823 X   26278 X
25824 X   26279 X
25825     26280  
25826 paragraph-content   26281 paragraph-content
25827     26282  
25828     26283  
25829 X   26284 X
25830 X   26285 X
25831     26286  
25832 char   26287 char
25833     26288  
25834     26289  
25835     26290  
25836 X   26291 X
25837 X   26292 X
25838 line   26293 line
25839     26294  
25840     26295  
25841     26296  
25842     26297  
25843 X   26298 X
25844 baseline   26299 baseline
25845     26300  
25846     26301  
25847     26302  
25848     26303  
25849 X   26304 X
25850 text   26305 text
25851     26306  
25852     26307  
25853     26308  
25854     26309  
25855 X   26310 X
25856 15.27.12Vertical Relation   26311 15.27.12Vertical Relation
25857 The style:vertical-rel property specifies the area to which the vertical position of a frame relates. See section 15.27.11 for information on the  style:vertical-pos property.   26312 The style:vertical-rel property specifies the area to which the vertical position of a frame relates. See section 15.27.11 for information on the  style:vertical-pos property.
25858 The value of this property can be one of the following: page, page-content, frame, frame-content, paragraph, paragraph-content, line, baseline, text or char.   26313 The value of this property can be one of the following: page, page-content, frame, frame-content, paragraph, paragraph-content, line, baseline, text or char.
25859 Some values can be used with only certain frame anchor types.   26314 Some values can be used with only certain frame anchor types.
25860 <define name="style-graphic-properties-attlist" combine="interleave">   26315 <define name="style-graphic-properties-attlist" combine="interleave">
25861         <ref name="common-vertical-rel-attlist"/>   26316         <ref name="common-vertical-rel-attlist"/>
25862 </define>   26317 </define>
25863     26318  
25864 <define name="common-vertical-rel-attlist">   26319 <define name="common-vertical-rel-attlist">
25865         <optional>   26320         <optional>
25866                 <attribute name="style:vertical-rel">   26321                 <attribute name="style:vertical-rel">
25867                         <choice>   26322                         <choice>
25868                                 <value>page</value>   26323                                 <value>page</value>
25869                                 <value>page-content</value>   26324                                 <value>page-content</value>
25870                                 <value>frame</value>   26325                                 <value>frame</value>
25871                                 <value>frame-content</value>   26326                                 <value>frame-content</value>
25872                                 <value>paragraph</value>   26327                                 <value>paragraph</value>
25873                                 <value>paragraph-content</value>   26328                                 <value>paragraph-content</value>
25874                                 <value>char</value>   26329                                 <value>char</value>
25875                                 <value>line</value>   26330                                 <value>line</value>
25876                                 <value>baseline</value>   26331                                 <value>baseline</value>
25877                                 <value>text</value>   26332                                 <value>text</value>
25878                         </choice>   26333                         </choice>
25879                 </attribute>   26334                 </attribute>
25880         </optional>   26335         </optional>
25881 </define>   26336 </define>
25882 15.27.13Frame Anchor   26337 15.27.13Frame Anchor
25883 The text:anchor-type and text:anchor-page-number specify the default anchor for new frames and drawing objects. See section 9.2.16 for details.   26338 The text:anchor-type and text:anchor-page-number specify the default anchor for new frames and drawing objects. See section 9.2.16 for details.
25884 <define name="style-graphic-properties-attlist" combine="interleave">   26339 <define name="style-graphic-properties-attlist" combine="interleave">
25885         <ref name="common-text-anchor-attlist"/>   26340         <ref name="common-text-anchor-attlist"/>
25886 </define>   26341 </define>
25887 15.27.14Border   26342 15.27.14Border
25888 The border attributes fo:border, fo:border-top, fo:border-bottom, fo:border-left  and fo:border-right specify the border properties of the frame. See section 15.5.25 for detailed information on these attributes.   26343 The border attributes fo:border, fo:border-top, fo:border-bottom, fo:border-left  and fo:border-right specify the border properties of the frame. See section 15.5.25 for detailed information on these attributes.
25889 <define name="style-graphic-properties-attlist" combine="interleave">   26344 <define name="style-graphic-properties-attlist" combine="interleave">
25890         <ref name="common-border-attlist"/>   26345         <ref name="common-border-attlist"/>
25891 </define>   26346 </define>
25892 15.27.15Border Line Width   26347 15.27.15Border Line Width
25893 If a frame has borders, the border line width attributes style:border-line-width, style:border-line-width-top, style:border-line-width-bottom, style:border-line-width-left and style:border-line-width-right specify the properties of the border lines of the frame. See section 15.5.26 for detailed information on these attributes.   26348 If a frame has borders, the border line width attributes style:border-line-width, style:border-line-width-top, style:border-line-width-bottom, style:border-line-width-left and style:border-line-width-right specify the properties of the border lines of the frame. See section 15.5.26 for detailed information on these attributes.
25894 <define name="style-graphic-properties-attlist" combine="interleave">   26349 <define name="style-graphic-properties-attlist" combine="interleave">
25895         <ref name="common-border-line-width-attlist"/>   26350         <ref name="common-border-line-width-attlist"/>
25896 </define>   26351 </define>
25897 15.27.16Padding   26352 15.27.16Padding
25898 The padding attributes fo:padding, fo:padding-top, fo:padding-bottom, fo:padding-left and fo:padding-right specify the padding properties of the frame. See section 15.5.27 for detailed information on these attributes.   26353 The padding attributes fo:padding, fo:padding-top, fo:padding-bottom, fo:padding-left and fo:padding-right specify the padding properties of the frame. See section 15.5.27 for detailed information on these attributes.
25899 <define name="style-graphic-properties-attlist" combine="interleave">   26354 <define name="style-graphic-properties-attlist" combine="interleave">
25900         <ref name="common-padding-attlist"/>   26355         <ref name="common-padding-attlist"/>
25901 </define>   26356 </define>
25902 15.27.17Shadow   26357 15.27.17Shadow
25903 The shadow attribute style:shadow specifies the shadow of the frame. See section 15.5.28 for detailed information on this attribute.   26358 The shadow attribute style:shadow specifies the shadow of the frame. See section 15.5.28 for detailed information on this attribute.
25904 <define name="style-graphic-properties-attlist" combine="interleave">   26359 <define name="style-graphic-properties-attlist" combine="interleave">
25905         <ref name="common-shadow-attlist"/>   26360         <ref name="common-shadow-attlist"/>
25906 </define>   26361 </define>
25907 15.27.18Background   26362 15.27.18Background
25908 The background attribute fo:background-color and the background element <style:background-image> specify the background properties of the frame. See sections 15.5.23 and 15.5.24 for detailed information on this attribute and element.   26363 The background attribute fo:background-color and the background element <style:background-image> specify the background properties of the frame. See sections 15.5.23 and 15.5.24 for detailed information on this attribute and element.
25909 <define name="style-graphic-properties-attlist" combine="interleave">   26364 <define name="style-graphic-properties-attlist" combine="interleave">
25910         <ref name="common-background-color-attlist"/>   26365         <ref name="common-background-color-attlist"/>
25911 </define>   26366 </define>
25912 <define name="style-graphic-properties-elements" combine="interleave">   26367 <define name="style-graphic-properties-elements" combine="interleave">
25913         <ref name="style-background-image"/>   26368         <ref name="style-background-image"/>
25914 </define>   26369 </define>
25915 15.27.19Columns   26370 15.27.19Columns
25916 The <style:columns> element specifies if a text box contains columns. See section 15.7.3 for detailed information on this element.   26371 The <style:columns> element specifies if a text box contains columns. See section 15.7.3 for detailed information on this element.
25917 <define name="style-graphic-properties-elements" combine="interleave">   26372 <define name="style-graphic-properties-elements" combine="interleave">
25918         <ref name="style-columns"/>   26373         <ref name="style-columns"/>
25919 </define>   26374 </define>
25920 15.27.20Editable   26375 15.27.20Editable
25921 Within text documents, a text box can be editable even if the document in which it is contained is a read-only document. The style:editable property specifies if a text box can be edited.   26376 Within text documents, a text box can be editable even if the document in which it is contained is a read-only document. The style:editable property specifies if a text box can be edited.
25922 <define name="style-graphic-properties-attlist" combine="interleave">   26377 <define name="style-graphic-properties-attlist" combine="interleave">
25923         <optional>   26378         <optional>
25924                 <attribute name="style:editable">   26379                 <attribute name="style:editable">
25925                         <ref name="boolean"/>   26380                         <ref name="boolean"/>
25926                 </attribute>   26381                 </attribute>
25927         </optional>   26382         </optional>
25928 </define>   26383 </define>
25929 15.27.21Wrapping   26384 15.27.21Wrapping
25930 Within text documents, the style:wrap property specifies how text around a frame or graphic object is treated. For example, text can run around the left side of the frame, around the right side of the frame, or through the frame. The possible values are:   26385 Within text documents, the style:wrap property specifies how text around a frame or graphic object is treated. For example, text can run around the left side of the frame, around the right side of the frame, or through the frame. The possible values are:
25931 none: no text wraps around the drawing shape.   26386 none: no text wraps around the drawing shape.
25932 left: Text may wrap around the left side of the drawing shape.   26387 left: Text may wrap around the left side of the drawing shape.
25933 right: Text may wrap around the left side of the drawing shape.   26388 right: Text may wrap around the left side of the drawing shape.
25934 parallel: Text may wrap around both sides of the drawing shape.   26389 parallel: Text may wrap around both sides of the drawing shape.
25935 dynamic: Text may wrap around both sides of the drawing shape, provided that there is sufficient space left.   26390 dynamic: Text may wrap around both sides of the drawing shape, provided that there is sufficient space left.
25936 biggest: Text may wraps around the object border where the difference to the left or right page or column border is largest.   26391 biggest: Text may wraps around the object border where the difference to the left or right page or column border is largest.
25937 run-through: Text runs through the drawing object.   26392 run-through: Text runs through the drawing object.
25938 <define name="style-graphic-properties-attlist" combine="interleave">   26393 <define name="style-graphic-properties-attlist" combine="interleave">
25939         <optional>   26394         <optional>
25940                 <attribute name="style:wrap">   26395                 <attribute name="style:wrap">
25941                         <choice>   26396                         <choice>
25942                                 <value>none</value>   26397                                 <value>none</value>
25943                                 <value>left</value>   26398                                 <value>left</value>
25944                                 <value>right</value>   26399                                 <value>right</value>
25945                                 <value>parallel</value>   26400                                 <value>parallel</value>
25946                                 <value>dynamic</value>   26401                                 <value>dynamic</value>
25947                                 <value>run-through</value>   26402                                 <value>run-through</value>
25948                                 <value>biggest</value>   26403                                 <value>biggest</value>
25949                         </choice>   26404                         </choice>
25950                 </attribute>   26405                 </attribute>
25951         </optional>   26406         </optional>
25952 </define>   26407 </define>
25953 15.27.22Dynamic Wrap Threshold   26408 15.27.22Dynamic Wrap Threshold
25954 The style:wrap-dynamic-threshold attribute is evaluated only if the style:wrap attribute has a value of dynamic. It specifies the minimum distance between the page or column border and the object for which wrapping will be enabled.   26409 The style:wrap-dynamic-threshold attribute is evaluated only if the style:wrap attribute has a value of dynamic. It specifies the minimum distance between the page or column border and the object for which wrapping will be enabled.
25955 <define name="style-graphic-properties-attlist" combine="interleave">   26410 <define name="style-graphic-properties-attlist" combine="interleave">
25956         <optional>   26411         <optional>
25957                 <attribute name="style:wrap-dynamic-treshold"> <> 26412                 <attribute name="style:wrap-dynamic-threshold">
25958                         <ref name="nonNegativeLength"/> = 26413                         <ref name="nonNegativeLength"/>
25959                 </attribute>   26414                 </attribute>
25960         </optional>   26415         </optional>
25961 </define>   26416 </define>
25962 15.27.23Paragraph-only Wrapping   26417 15.27.23Paragraph-only Wrapping
25963 If the anchor position of a frame or drawing shape is a paragraph or a character, and the wrap mode specified by the style:wrap property is left, right, parallel, or dynamic, the number of paragraphs that wrap around the frame can be specified using a style:number-wrapped-paragraphs attribute.   26418 If the anchor position of a frame or drawing shape is a paragraph or a character, and the wrap mode specified by the style:wrap property is left, right, parallel, or dynamic, the number of paragraphs that wrap around the frame can be specified using a style:number-wrapped-paragraphs attribute.
25964 This property is only recognized by frames or styles that have a style:wrap property attached with a value of left, right, parallel, or dynamic.   26419 This property is only recognized by frames or styles that have a style:wrap property attached with a value of left, right, parallel, or dynamic.
25965 If the value is no-limit, there is no limit on the number of paragraphs that are allowed to wrap around a frame.   26420 If the value is no-limit, there is no limit on the number of paragraphs that are allowed to wrap around a frame.
25966 <define name="style-graphic-properties-attlist" combine="interleave">   26421 <define name="style-graphic-properties-attlist" combine="interleave">
25967         <optional>   26422         <optional>
25968                 <attribute name="style:number-wrapped-paragraphs">   26423                 <attribute name="style:number-wrapped-paragraphs">
25969                         <choice>   26424                         <choice>
25970                                 <value>no-limit</value>   26425                                 <value>no-limit</value>
25971                                 <ref name="positiveInteger"/>   26426                                 <ref name="positiveInteger"/>
25972                         </choice>   26427                         </choice>
25973                 </attribute>   26428                 </attribute>
25974         </optional>   26429         </optional>
25975 </define>   26430 </define>
25976 15.27.24Contour Wrapping   26431 15.27.24Contour Wrapping
25977 Within text documents, the style:wrap-contour attribute specifies for some frame types that the text should wrap around the shape of the object in the frame rather than around the frame itself . This is called contour wrapping.   26432 Within text documents, the style:wrap-contour attribute specifies for some frame types that the text should wrap around the shape of the object in the frame rather than around the frame itself . This is called contour wrapping.
25978 <define name="style-graphic-properties-attlist" combine="interleave">   26433 <define name="style-graphic-properties-attlist" combine="interleave">
25979         <optional>   26434         <optional>
25980                 <attribute name="style:wrap-contour">   26435                 <attribute name="style:wrap-contour">
25981                         <ref name="boolean"/>   26436                         <ref name="boolean"/>
25982                 </attribute>   26437                 </attribute>
25983         </optional>   26438         </optional>
25984 </define>   26439 </define>
25985 15.27.25Contour Wrapping Mode   26440 15.27.25Contour Wrapping Mode
25986 The style:wrap-contour-mode attribute is used to further specify how the text should wrap around the contour.   26441 The style:wrap-contour-mode attribute is used to further specify how the text should wrap around the contour.
25987 This attribute is recognized only by frames/drawing shapes or styles that already have the style:wrap and style:wrap-contour attributes attached.   26442 This attribute is recognized only by frames/drawing shapes or styles that already have the style:wrap and style:wrap-contour attributes attached.
25988 The value of the attribute can be outside or full. If the value of the attribute is outside, the text wraps around the general area to the left and right of the shape. If the value of the attribute is full, the text wraps around the shape and fills any possible spaces and indentations in the shape.   26443 The value of the attribute can be outside or full. If the value of the attribute is outside, the text wraps around the general area to the left and right of the shape. If the value of the attribute is full, the text wraps around the shape and fills any possible spaces and indentations in the shape.
25989 <define name="style-graphic-properties-attlist" combine="interleave">   26444 <define name="style-graphic-properties-attlist" combine="interleave">
25990         <optional>   26445         <optional>
25991                 <attribute name="style:wrap-contour-mode">   26446                 <attribute name="style:wrap-contour-mode">
25992                         <choice>   26447                         <choice>
25993                                 <value>full</value>   26448                                 <value>full</value>
25994                                 <value>outside</value>   26449                                 <value>outside</value>
25995                         </choice>   26450                         </choice>
25996                 </attribute>   26451                 </attribute>
25997         </optional>   26452         </optional>
25998 </define>   26453 </define>
25999 15.27.26Run Through   26454 15.27.26Run Through
26000 If the value of the style:wrap attribute is run-through, it can be further specified whether the content of the frame should be displayed in the background or in the foreground. The style:run-through attribute is usually used for transparent objects.   26455 If the value of the style:wrap attribute is run-through, it can be further specified whether the content of the frame should be displayed in the background or in the foreground. The style:run-through attribute is usually used for transparent objects.
26001 The value of this attribute can be foreground or background. If the value is foreground, the frame content is displayed in front of the text. If the value is background, the frame content is displayed behind the text.   26456 The value of this attribute can be foreground or background. If the value is foreground, the frame content is displayed in front of the text. If the value is background, the frame content is displayed behind the text.
26002 <define name="style-graphic-properties-attlist" combine="interleave">   26457 <define name="style-graphic-properties-attlist" combine="interleave">
26003         <optional>   26458         <optional>
26004                 <attribute name="style:run-through">   26459                 <attribute name="style:run-through">
26005                         <choice>   26460                         <choice>
26006                                 <value>foreground</value>   26461                                 <value>foreground</value>
26007                                 <value>background</value>   26462                                 <value>background</value>
26008                         </choice>   26463                         </choice>
26009                 </attribute>   26464                 </attribute>
26010         </optional>   26465         </optional>
26011 </define>   26466 </define>
26012 15.27.27Flow with Text   26467 15.27.27Flow with Text
26013 The style:flow-with-text attribute specifies the behavior of drawing shapes that are positioned at a certain distance below an anchor and do not fit on the page where the anchor is. If the value of the property is true, such drawing objects follow the text flow, that is, they a displayed on the next page. If the attribute value is false, such drawing objects are displayed outside the page's text area.   26468 The style:flow-with-text attribute specifies the behavior of drawing shapes that are positioned at a certain distance below an anchor and do not fit on the page where the anchor is. If the value of the property is true, such drawing objects follow the text flow, that is, they a displayed on the next page. If the attribute value is false, such drawing objects are displayed outside the page's text area.
26014 Example: A graphic is to be positioned 10cm below its anchor. It is followed by only 8cm of text before the next page break. With style:flow-with-text='false' the graphics would then be positioned 2cm below the text area (somewhere in the footer); with style:flow-with-text='true' it would positioned 2cm into the text flow of the following page.   26469 Example: A graphic is to be positioned 10cm below its anchor. It is followed by only 8cm of text before the next page break. With style:flow-with-text='false' the graphics would then be positioned 2cm below the text area (somewhere in the footer); with style:flow-with-text='true' it would positioned 2cm into the text flow of the following page.
26015 <define name="style-graphic-properties-attlist" combine="interleave">   26470 <define name="style-graphic-properties-attlist" combine="interleave">
26016         <optional>   26471         <optional>
26017                 <attribute name="style:flow-with-text">   26472                 <attribute name="style:flow-with-text">
26018                         <ref name="boolean"/>   26473                         <ref name="boolean"/>
26019                 </attribute>   26474                 </attribute>
26020         </optional>   26475         </optional>
26021 </define>   26476 </define>
26022 15.27.28Overflow behavior   26477 15.27.28Overflow behavior
26023 For text boxes contained within text document, the style:overflow-behavior property specifies the behavior of text boxes where the containing text does not fit into the text box. If the attribute's value is clip, the text that does not fit into the text box is not displayed. If the attribute value is auto-create-new-frame, a new frame will be created on the next page, with the same position and dimensions of the original frame.   26478 For text boxes contained within text document, the style:overflow-behavior property specifies the behavior of text boxes where the containing text does not fit into the text box. If the attribute's value is clip, the text that does not fit into the text box is not displayed. If the attribute value is auto-create-new-frame, a new frame will be created on the next page, with the same position and dimensions of the original frame.
26024 If the style:overflow-behavior property's value is auto-create-new-frame and the text box has a minimum width or height specified, then the text box will grow until the page bounds are reached before a new frame is created.   26479 If the style:overflow-behavior property's value is auto-create-new-frame and the text box has a minimum width or height specified, then the text box will grow until the page bounds are reached before a new frame is created.
26025 <define name="style-graphic-properties-attlist" combine="interleave">   26480 <define name="style-graphic-properties-attlist" combine="interleave">
26026         <optional>   26481         <optional>
26027                 <attribute name="style:overflow-behavior">   26482                 <attribute name="style:overflow-behavior">
26028                         <choice>   26483                         <choice>
26029                                 <value>clip</value>   26484                                 <value>clip</value>
26030                                 <value>auto-create-new-frame</value>   26485                                 <value>auto-create-new-frame</value>
26031                         </choice>   26486                         </choice>
26032                 </attribute>   26487                 </attribute>
26033         </optional>   26488         </optional>
26034 </define>   26489 </define>
26035 15.27.29Mirroring   26490 15.27.29Mirroring
26036 The style:mirror property specifies whether or not an image is mirrored before it is displayed. The mirroring can be vertical or horizontal. Horizontal mirroring can be restricted to images that are only located on either odd or even pages.   26491 The style:mirror property specifies whether or not an image is mirrored before it is displayed. The mirroring can be vertical or horizontal. Horizontal mirroring can be restricted to images that are only located on either odd or even pages.
26037 The value of this attribute can be none, vertical, horizontal, horizontal-on-odd, or horizontal-on-even. The value vertical and the various horizontal values can be specified together, separating them by a white space.   26492 The value of this attribute can be none, vertical, horizontal, horizontal-on-odd, or horizontal-on-even. The value vertical and the various horizontal values can be specified together, separating them by a white space.
26038 <define name="style-graphic-properties-attlist" combine="interleave">   26493 <define name="style-graphic-properties-attlist" combine="interleave">
26039         <optional>   26494         <optional>
26040                 <attribute name="style:mirror">   26495                 <attribute name="style:mirror">
26041                         <choice>   26496                         <choice>
26042                                 <value>none</value>   26497                                 <value>none</value>
26043                                 <value>vertical</value>   26498                                 <value>vertical</value>
26044                                 <ref name="horizontal-mirror"/>   26499                                 <ref name="horizontal-mirror"/>
26045                                 <list>   26500                                 <list>
26046                                         <value>vertical</value>   26501                                         <value>vertical</value>
26047                                         <ref name="horizontal-mirror"/>   26502                                         <ref name="horizontal-mirror"/>
26048                                 </list>   26503                                 </list>
26049                                 <list>   26504                                 <list>
26050                                         <ref name="horizontal-mirror"/>   26505                                         <ref name="horizontal-mirror"/>
26051                                         <value>vertical</value>   26506                                         <value>vertical</value>
26052                                 </list>   26507                                 </list>
26053                         </choice>   26508                         </choice>
26054                 </attribute>   26509                 </attribute>
26055         </optional>   26510         </optional>
26056 </define>   26511 </define>
26057     26512  
26058 <define name="horizontal-mirror">   26513 <define name="horizontal-mirror">
26059         <choice>   26514         <choice>
26060                 <value>horizontal</value>   26515                 <value>horizontal</value>
26061                 <value>horizontal-on-odd</value>   26516                 <value>horizontal-on-odd</value>
26062                 <value>horizontal-on-even</value>   26517                 <value>horizontal-on-even</value>
26063         </choice>   26518         </choice>
26064 </define>   26519 </define>
26065 15.27.30Clipping   26520 15.27.30Clipping
26066 The fo:clip property specifies whether to display:   26521 The fo:clip property specifies whether to display:
26067 A rectangular section of an image, or   26522 A rectangular section of an image, or
26068 the entire image.   26523 the entire image.
26069 See §7.20.1 of [XSL] for details.   26524 See §7.20.1 of [XSL] for details.
26070 <define name="style-graphic-properties-attlist" combine="interleave">   26525 <define name="style-graphic-properties-attlist" combine="interleave">
26071         <optional>   26526         <optional>
26072                 <attribute name="fo:clip">   26527                 <attribute name="fo:clip">
26073                         <!-- The attribute value must match the one XSL's clip -->   26528                         <!-- The attribute value must match the one XSL's clip -->
26074                         <ref name="string"/>   26529                         <ref name="string"/>
26075                 </attribute>   26530                 </attribute>
26076         </optional>   26531         </optional>
26077 </define>   26532 </define>
26078 15.27.31Wrap Influence on Position   26533 15.27.31Wrap Influence on Position
26079 This attribute details how the wrapping mode (see the style:wrap attribute) influences the positioning of a frame. It is intended as a hint to the layout algorithm to help decide on the placement of frames in certain cases where several correct placements could be used. All three options describe different, correct interpretations of the layout constraints already in the format. The new hint would allow to disambiguate between these situations.   26534 This attribute details how the wrapping mode (see the style:wrap attribute) influences the positioning of a frame. It is intended as a hint to the layout algorithm to help decide on the placement of frames in certain cases where several correct placements could be used. All three options describe different, correct interpretations of the layout constraints already in the format. The new hint would allow to disambiguate between these situations.
26080 <define name="style-graphic-properties-attlist" combine="interleave">   26535 <define name="style-graphic-properties-attlist" combine="interleave">
26081         <optional>   26536         <optional>
26082                 <attribute name="draw:wrap-influence-on-position"   26537                 <attribute name="draw:wrap-influence-on-position"
26083                                         a:defaultValue="iterative">   26538                                         a:defaultValue="iterative">
26084                         <choice>   26539                         <choice>
26085                                 <value>iterative</value>   26540                                 <value>iterative</value>
26086                                 <value>once-concurrent</value>   26541                                 <value>once-concurrent</value>
26087                                 <value>once-successive</value>   26542                                 <value>once-successive</value>
26088                         </choice>   26543                         </choice>
26089                 </attribute>   26544                 </attribute>
26090         </optional>   26545         </optional>
26091 </define>   26546 </define>
26092 The situation in which this attribute makes a difference is when the anchor, position and wrapping mode of a frame are such that they influence each other. For example, consider a paragraph of text with two images positioned somewhat above the anchor. Without wrapping, the images overly the text and can simply be placed at the given offset from the anchor.   26547 The situation in which this attribute makes a difference is when the anchor, position and wrapping mode of a frame are such that they influence each other. For example, consider a paragraph of text with two images positioned somewhat above the anchor. Without wrapping, the images overly the text and can simply be placed at the given offset from the anchor.
26093 If wrap-around is enabled, the text hidden behind the images now needs to flow around the images, making the first paragraph use more space than previously. This moves the anchor position further down. If one does the placement only once and concurrently for all objects, this is the final result. This corresponds to the object once-concurrently.   26548 If wrap-around is enabled, the text hidden behind the images now needs to flow around the images, making the first paragraph use more space than previously. This moves the anchor position further down. If one does the placement only once and concurrently for all objects, this is the final result. This corresponds to the object once-concurrently.
26094 If one proceeds as above, but does the process one image at a time, one arrives at the positions given to the right. This corresponds to the option once-successive.   26549 If one proceeds as above, but does the process one image at a time, one arrives at the positions given to the right. This corresponds to the option once-successive.
26095 If one places the images iteratively, until a position is found which corresponds to the given offset from the anchor, one can often achieve a placement that fully satisfy all the given layout properties (at a certain price in implementation cost). This corresponds to the option iterative.   26550 If one places the images iteratively, until a position is found which corresponds to the given offset from the anchor, one can often achieve a placement that fully satisfy all the given layout properties (at a certain price in implementation cost). This corresponds to the option iterative.
    -+ 26551 15.27.32Writing Mode
      26552 The style:writing-mode attribute specifies the writing mode for a text-box. See section 15.5.36 for details.
      26553 <define name="style-graphic-properties-attlist" combine="interleave">
      26554         <ref name="common-writing-mode-attlist"/>
      26555 </define>
26096 15.28Floating Frame Formatting Properties = 26556 15.28Floating Frame Formatting Properties
26097 The attributes described in this section can be assigned to a graphic style that is assigned to floating frames.   26557 The attributes described in this section can be assigned to a graphic style that is assigned to floating frames.
26098 15.28.1Display Scrollbar   26558 15.28.1Display Scrollbar
26099 The draw:display-scrollbar attribute specifies whether or not vertical and horizontal scrollbars are displayed. This attribute can be assigned to automatic styles only.   26559 The draw:display-scrollbar attribute specifies whether or not vertical and horizontal scrollbars are displayed. This attribute can be assigned to automatic styles only.
26100 <define name="style-graphic-properties-attlist" combine="interleave">   26560 <define name="style-graphic-properties-attlist" combine="interleave">
26101         <optional>   26561         <optional>
26102                 <attribute name="draw:frame-display-scrollbar">   26562                 <attribute name="draw:frame-display-scrollbar">
26103                         <ref name="boolean"/>   26563                         <ref name="boolean"/>
26104                 </attribute>   26564                 </attribute>
26105         </optional>   26565         </optional>
26106 </define>   26566 </define>
26107 15.28.2Display Border   26567 15.28.2Display Border
26108 The draw:display-border attribute specifies whether or not a border is displayed on the floating frame. This attribute can be assigned to automatic styles only.   26568 The draw:display-border attribute specifies whether or not a border is displayed on the floating frame. This attribute can be assigned to automatic styles only.
26109 <define name="style-graphic-properties-attlist" combine="interleave">   26569 <define name="style-graphic-properties-attlist" combine="interleave">
26110         <optional>   26570         <optional>
26111                 <attribute name="draw:frame-display-border">   26571                 <attribute name="draw:frame-display-border">
26112                         <ref name="boolean"/>   26572                         <ref name="boolean"/>
26113                 </attribute>   26573                 </attribute>
26114         </optional>   26574         </optional>
26115 </define>   26575 </define>
26116 15.28.3Margins   26576 15.28.3Margins
26117 The draw:margin-horizontal and draw:margin-vertical attributes specify the horizontal and vertical margins between the border and the content of the floating frame. If these attributes are not specified, the default margins are used. These attributes can be assigned to automatic styles only. The value of these attributes must be a length in pixels.   26577 The draw:margin-horizontal and draw:margin-vertical attributes specify the horizontal and vertical margins between the border and the content of the floating frame. If these attributes are not specified, the default margins are used. These attributes can be assigned to automatic styles only. The value of these attributes must be a length in pixels.
26118 <define name="style-graphic-properties-attlist" combine="interleave">   26578 <define name="style-graphic-properties-attlist" combine="interleave">
26119         <optional>   26579         <optional>
26120                 <attribute name="draw:frame-margin-horizontal">   26580                 <attribute name="draw:frame-margin-horizontal">
26121                         <ref name="nonNegativePixelLength"/>   26581                         <ref name="nonNegativePixelLength"/>
26122                 </attribute>   26582                 </attribute>
26123         </optional>   26583         </optional>
26124         <optional>   26584         <optional>
26125                 <attribute name="draw:frame-margin-vertical">   26585                 <attribute name="draw:frame-margin-vertical">
26126                         <ref name="nonNegativePixelLength"/>   26586                         <ref name="nonNegativePixelLength"/>
26127                 </attribute>   26587                 </attribute>
26128         </optional>   26588         </optional>
26129 </define>   26589 </define>
26130     26590  
26131 <define name="nonNegativePixelLength">   26591 <define name="nonNegativePixelLength">
26132         <data type="string">   26592         <data type="string">
26133                 <param name="pattern">([0-9]+(\.[0-9]*)?|\.[0-9]+)(px)</param>   26593                 <param name="pattern">([0-9]+(\.[0-9]*)?|\.[0-9]+)(px)</param>
26134         </data>   26594         </data>
26135 </define>   26595 </define>
26136 15.28.4Object Formatting Properties   26596 15.28.4Object Formatting Properties
26137 The attributes described in this section can be assigned to a graphic style that is assigned to objects.   26597 The attributes described in this section can be assigned to a graphic style that is assigned to objects.
26138 15.28.5Visible Area   26598 15.28.5Visible Area
26139 The visible area of an object is the rectangular area of the object that is currently visible. The attributes draw:visible-area-left, draw:visible-area-top, draw:visible-area-width and draw:visible-area-height specify a default visible area that the object has the option to use.   26599 The visible area of an object is the rectangular area of the object that is currently visible. The attributes draw:visible-area-left, draw:visible-area-top, draw:visible-area-width and draw:visible-area-height specify a default visible area that the object has the option to use.
26140 When the entire object is visible, the values of the draw:visible-area-left and draw:visible-area-top attributes are 0 and the draw:visible-area-width and draw:visible-area-height attributes specify the size of the object. These attributes can be assigned to automatic styles only.   26600 When the entire object is visible, the values of the draw:visible-area-left and draw:visible-area-top attributes are 0 and the draw:visible-area-width and draw:visible-area-height attributes specify the size of the object. These attributes can be assigned to automatic styles only.
26141 Not all objects support these attributes. Some objects, may store and load their own visible area.   26601 Not all objects support these attributes. Some objects, may store and load their own visible area.
26142 <define name="style-graphic-properties-attlist" combine="interleave">   26602 <define name="style-graphic-properties-attlist" combine="interleave">
26143         <optional>   26603         <optional>
26144                 <attribute name="draw:visible-area-left">   26604                 <attribute name="draw:visible-area-left">
26145                         <ref name="nonNegativeLength"/>   26605                         <ref name="nonNegativeLength"/>
26146                 </attribute>   26606                 </attribute>
26147         </optional>   26607         </optional>
26148         <optional>   26608         <optional>
26149                 <attribute name="draw:visible-area-top">   26609                 <attribute name="draw:visible-area-top">
26150                         <ref name="nonNegativeLength"/>   26610                         <ref name="nonNegativeLength"/>
26151                 </attribute>   26611                 </attribute>
26152         </optional>   26612         </optional>
26153         <optional>   26613         <optional>
26154                 <attribute name="draw:visible-area-width">   26614                 <attribute name="draw:visible-area-width">
26155                         <ref name="positiveLength"/>   26615                         <ref name="positiveLength"/>
26156                 </attribute>   26616                 </attribute>
26157         </optional>   26617         </optional>
26158         <optional>   26618         <optional>
26159                 <attribute name="draw:visible-area-height">   26619                 <attribute name="draw:visible-area-height">
26160                         <ref name="positiveLength"/>   26620                         <ref name="positiveLength"/>
26161                 </attribute>   26621                 </attribute>
26162         </optional>   26622         </optional>
26163 </define>   26623 </define>
26164 15.28.6Draw Aspect   26624 15.28.6Draw Aspect
26165 The draw:ole-draw-aspect attribute specifies the draw aspect that is used to display embedded OLE objects (see [OLE]). The draw aspect controls whether the object is displayed as a normal sub document, or whether the object is for instance displayed as an icon only. Within the [OLE]  API, the draw aspect is an unsigned integer value that the host application passes to the object when it requests its presentation. <> 26625 For embedded OLE objects, the draw:ole-draw-aspect attribute specifies the draw aspect that is used to display embedded objects (see [OLE]). The draw aspect controls whether the object is displayed as a normal sub document, or whether the object is for instance displayed as an icon only. Within the [OLE]  API, the draw aspect is an unsigned integer value that the host application passes to the object when it requests its presentation.
26166 The draw:ole-draw-aspect attribute takes a non negative integer value and has only a meaning for objects that are embedded using the [OLE] API. In this case, its value specifies a default value for method calls that require a draw aspect. The interpretation of this integer value is left to the OLE object's discretion and not part of this specification. = 26626 The draw:ole-draw-aspect attribute takes a non negative integer value and has only a meaning for objects that are embedded using the [OLE] API. In this case, its value specifies a default value for method calls that require a draw aspect. The interpretation of this integer value is left to the OLE object's discretion and not part of this specification.
26167 <define name="style-graphic-properties-attlist" combine="interleave">   26627 <define name="style-graphic-properties-attlist" combine="interleave">
26168         <optional>   26628         <optional>
26169                 <attribute name="draw:ole-draw-aspect">   26629                 <attribute name="draw:ole-draw-aspect">
26170                         <ref name="nonNegativeInteger"/>   26630                         <ref name="nonNegativeInteger"/>
26171                 </attribute>   26631                 </attribute>
26172         </optional>   26632         </optional>
26173 </define>   26633 </define>
26174 15.29Chart Formatting Properties   26634 15.29Chart Formatting Properties
26175 The properties described in this section can be applied to all charts. They can be used within chart styles (see section 14.16) and are contained in a <style:chart-properties> element.   26635 The properties described in this section can be applied to all charts. They can be used within chart styles (see section 14.16) and are contained in a <style:chart-properties> element.
26176 <define name="style-chart-properties">   26636 <define name="style-chart-properties">
26177         <element name="style:chart-properties">   26637         <element name="style:chart-properties">
26178                 <ref name="style-chart-properties-content"/>   26638                 <ref name="style-chart-properties-content"/>
26179         </element>   26639         </element>
26180 </define>   26640 </define>
26181     26641  
26182 <define name="style-chart-properties-content">   26642 <define name="style-chart-properties-content">
26183         <ref name="style-properties-content"/>   26643         <ref name="style-properties-content"/>
26184 </define>   26644 </define>
26185     26645  
26186 <define name="style-chart-properties-content-strict">   26646 <define name="style-chart-properties-content-strict">
26187         <ref name="style-chart-properties-attlist"/>   26647         <ref name="style-chart-properties-attlist"/>
26188         <ref name="style-chart-properties-elements"/>   26648         <ref name="style-chart-properties-elements"/>
26189 </define>   26649 </define>
26190     26650  
26191 <define name="style-chart-properties-elements">   26651 <define name="style-chart-properties-elements">
26192         <empty/>   26652         <empty/>
26193 </define>   26653 </define>
26194 15.29.1Scale Text   26654 15.29.1Scale Text
26195 The chart:scale-text property is used to specify that all text objects in the chart should be scaled whenever the size of the chart changes. To enable scaling, set the value of this property to true.   26655 The chart:scale-text property is used to specify that all text objects in the chart should be scaled whenever the size of the chart changes. To enable scaling, set the value of this property to true.
26196 <define name="style-chart-properties-attlist" combine="interleave">   26656 <define name="style-chart-properties-attlist" combine="interleave">
26197         <optional>   26657         <optional>
26198                 <attribute name="chart:scale-text" a:defaultValue="true">   26658                 <attribute name="chart:scale-text" a:defaultValue="true">
26199                         <ref name="boolean"/>   26659                         <ref name="boolean"/>
26200                 </attribute>   26660                 </attribute>
26201         </optional>   26661         </optional>
26202 </define>   26662 </define>
26203 15.30Chart Subtype Properties   26663 15.30Chart Subtype Properties
26204 The properties described in this section can be used to customize the basic chart type set in the <chart:chart> element. They can be used within chart styles (see section 14.16) and are contained in a <style:chart-properties> element.   26664 The properties described in this section can be used to customize the basic chart type set in the <chart:chart> element. They can be used within chart styles (see section 14.16) and are contained in a <style:chart-properties> element.
26205 15.30.1Three-dimensional Charts   26665 15.30.1Three-dimensional Charts
26206 The chart:three-dimensional property specifies whether chart is displayed as a 3D scene.   26666 The chart:three-dimensional property specifies whether chart is displayed as a 3D scene.
26207 <define name="style-chart-properties-attlist" combine="interleave">   26667 <define name="style-chart-properties-attlist" combine="interleave">
26208         <optional>   26668         <optional>
26209                 <attribute name="chart:three-dimensional">   26669                 <attribute name="chart:three-dimensional">
26210                         <ref name="boolean"/>   26670                         <ref name="boolean"/>
26211                 </attribute>   26671                 </attribute>
26212         </optional>   26672         </optional>
26213 </define>   26673 </define>
26214 15.30.2Chart Depth   26674 15.30.2Chart Depth
26215 The chart:deep property is only relevant with the chart:three-dimensional property. It specifies that the data series are displayed back-to-back rather than side by side.   26675 The chart:deep property is only relevant with the chart:three-dimensional property. It specifies that the data series are displayed back-to-back rather than side by side.
26216 <define name="style-chart-properties-attlist" combine="interleave">   26676 <define name="style-chart-properties-attlist" combine="interleave">
26217         <optional>   26677         <optional>
26218                 <attribute name="chart:deep">   26678                 <attribute name="chart:deep">
26219                         <ref name="boolean"/>   26679                         <ref name="boolean"/>
26220                 </attribute>   26680                 </attribute>
26221         </optional>   26681         </optional>
26222 </define>   26682 </define>
26223 15.30.3Chart Symbol   26683 15.30.3Chart Symbol
26224 For some chart types, the data points can be denoted by symbols. The chart:symbol-type attribute determines whether a symbol is used, and whether it is a pre-defined symbol type, an image, or whether the application is free to automatically choose a type out of the set of pre-defined symbol types, e.g., choose one symbol per series in round-robin fashion.   26684 For some chart types, the data points can be denoted by symbols. The chart:symbol-type attribute determines whether a symbol is used, and whether it is a pre-defined symbol type, an image, or whether the application is free to automatically choose a type out of the set of pre-defined symbol types, e.g., choose one symbol per series in round-robin fashion.
26225 <define name="style-chart-properties-attlist" combine="interleave">   26685 <define name="style-chart-properties-attlist" combine="interleave">
26226         <choice>   26686         <choice>
26227                 <attribute name="chart:symbol-type">   26687                 <attribute name="chart:symbol-type">
26228                         <value>none</value>   26688                         <value>none</value>
26229                 </attribute>   26689                 </attribute>
26230                 <attribute name="chart:symbol-type">   26690                 <attribute name="chart:symbol-type">
26231                         <value>automatic</value>   26691                         <value>automatic</value>
26232                 </attribute>   26692                 </attribute>
26233                 <group>   26693                 <group>
26234                         <attribute name="chart:symbol-type">   26694                         <attribute name="chart:symbol-type">
26235                                 <value>named-symbol</value>   26695                                 <value>named-symbol</value>
26236                         </attribute>   26696                         </attribute>
26237                         <attribute name="chart:symbol-name">   26697                         <attribute name="chart:symbol-name">
26238                                 <choice>   26698                                 <choice>
26239                                         <value>square</value>   26699                                         <value>square</value>
26240                                         <value>diamond</value>   26700                                         <value>diamond</value>
26241                                         <value>arrow-down</value>   26701                                         <value>arrow-down</value>
26242                                         <value>arrow-up</value>   26702                                         <value>arrow-up</value>
26243                                         <value>arrow-right</value>   26703                                         <value>arrow-right</value>
26244                                         <value>arrow-left</value>   26704                                         <value>arrow-left</value>
26245                                         <value>bow-tie</value>   26705                                         <value>bow-tie</value>
26246                                         <value>hourglass</value>   26706                                         <value>hourglass</value>
26247                                         <value>circle</value>   26707                                         <value>circle</value>
26248                                         <value>star</value>   26708                                         <value>star</value>
26249                                         <value>x</value>   26709                                         <value>x</value>
26250                                         <value>plus</value>   26710                                         <value>plus</value>
26251                                         <value>asterisk</value>   26711                                         <value>asterisk</value>
26252                                         <value>horizontal-bar</value>   26712                                         <value>horizontal-bar</value>
26253                                         <value>vertical-bar</value>   26713                                         <value>vertical-bar</value>
26254                                 </choice>   26714                                 </choice>
26255                         </attribute>   26715                         </attribute>
26256                 </group>   26716                 </group>
26257                 <group>   26717                 <group>
26258                         <attribute name="chart:symbol-type">   26718                         <attribute name="chart:symbol-type">
26259                                 <value>image</value>   26719                                 <value>image</value>
26260                         </attribute>   26720                         </attribute>
26261                         <element name="chart:symbol-image">   26721                         <element name="chart:symbol-image">
26262                                 <attribute name="xlink:href">   26722                                 <attribute name="xlink:href">
26263                                         <ref name="anyURI"/>   26723                                         <ref name="anyURI"/>
26264                                 </attribute>   26724                                 </attribute>
26265                         </element>   26725                         </element>
26266                 </group>   26726                 </group>
26267                 <empty/>   26727                 <empty/>
26268         </choice>   26728         </choice>
26269 </define>   26729 </define>
26270 15.30.4Chart Symbol Size   26730 15.30.4Chart Symbol Size
26271 The width and height of each symbol can be set using the attribute chart:symbol-width and chart:symbol-length.   26731 The width and height of each symbol can be set using the attribute chart:symbol-width and chart:symbol-length.
26272 <define name="style-chart-properties-attlist" combine="interleave">   26732 <define name="style-chart-properties-attlist" combine="interleave">
26273         <optional>   26733         <optional>
26274                 <attribute name="chart:symbol-width">   26734                 <attribute name="chart:symbol-width">
26275                         <ref name="nonNegativeLength"/>   26735                         <ref name="nonNegativeLength"/>
26276                 </attribute>   26736                 </attribute>
26277         </optional>   26737         </optional>
26278         <optional>   26738         <optional>
26279                 <attribute name="chart:symbol-height">   26739                 <attribute name="chart:symbol-height">
26280                         <ref name="nonNegativeLength"/>   26740                         <ref name="nonNegativeLength"/>
26281                 </attribute>   26741                 </attribute>
26282         </optional>   26742         </optional>
26283 </define>   26743 </define>
26284 15.30.5Bar Chart Properties   26744 15.30.5Bar Chart Properties
26285 The chart:vertical and chart:connect-bars properties are for bar charts only. chart:vertical determines whether the bars will be oriented horizontally or vertically. If chart:connect-bars is set to true, the data points (the top of the bars) are additionally connected by lines.   26745 The chart:vertical and chart:connect-bars properties are for bar charts only. chart:vertical determines whether the bars will be oriented horizontally or vertically. If chart:connect-bars is set to true, the data points (the top of the bars) are additionally connected by lines.
26286 <define name="style-chart-properties-attlist" combine="interleave">   26746 <define name="style-chart-properties-attlist" combine="interleave">
26287         <optional>   26747         <optional>
26288                 <attribute name="chart:vertical" a:defaultValue="false">   26748                 <attribute name="chart:vertical" a:defaultValue="false">
26289                         <ref name="boolean"/>   26749                         <ref name="boolean"/>
26290                 </attribute>   26750                 </attribute>
26291         </optional>   26751         </optional>
26292 </define>   26752 </define>
26293 <define name="style-chart-properties-attlist" combine="interleave">   26753 <define name="style-chart-properties-attlist" combine="interleave">
26294         <optional>   26754         <optional>
26295                 <attribute name="chart:connect-bars" a:defaultValue="false">   26755                 <attribute name="chart:connect-bars" a:defaultValue="false">
26296                         <ref name="boolean"/>   26756                         <ref name="boolean"/>
26297                 </attribute>   26757                 </attribute>
26298         </optional>   26758         </optional>
26299 </define>   26759 </define>
26300 With bar charts, the properties chart:gap-width and chart:overlap can be used to specify the relative size and distance of bars. The chart:gap-width attribute contains the relative width of the gap between bars for neighboring categories. The chart:overlap attributes determines how much bars within the same category overlap. Both are integral percentages.   26760 With bar charts, the properties chart:gap-width and chart:overlap can be used to specify the relative size and distance of bars. The chart:gap-width attribute contains the relative width of the gap between bars for neighboring categories. The chart:overlap attributes determines how much bars within the same category overlap. Both are integral percentages.
26301 <define name="style-chart-properties-attlist" combine="interleave">   26761 <define name="style-chart-properties-attlist" combine="interleave">
26302         <optional>   26762         <optional>
26303                 <attribute name="chart:gap-width">   26763                 <attribute name="chart:gap-width">
26304                         <ref name="integer"/>   26764                         <ref name="integer"/>
26305                 </attribute>   26765                 </attribute>
26306         </optional>   26766         </optional>
26307         <optional>   26767         <optional>
26308                 <attribute name="chart:overlap">   26768                 <attribute name="chart:overlap">
26309                         <ref name="integer"/>   26769                         <ref name="integer"/>
26310                 </attribute>   26770                 </attribute>
26311         </optional>   26771         </optional>
26312 </define>   26772 </define>
26313 15.30.6Stock Chart Properties   26773 15.30.6Stock Chart Properties
26314 These attributes are only effective for stock charts.   26774 These attributes are only effective for stock charts.
26315 Stock charts display a span from minimum to maximum values as a straight line. Opening and closing courses can be displayed either as left and right tick-lines, respectively, or as colored bars, with their color depending on whether the opening value is larger than the closing value. The chart:japanese-candle-stick attribute distinguish between those two representations.   26775 Stock charts display a span from minimum to maximum values as a straight line. Opening and closing courses can be displayed either as left and right tick-lines, respectively, or as colored bars, with their color depending on whether the opening value is larger than the closing value. The chart:japanese-candle-stick attribute distinguish between those two representations.
26316 Example: A stock chart in Japanese-candle-stick fashion (left), and as default (right).   26776 Example: A stock chart in Japanese-candle-stick fashion (left), and as default (right).
26317     26777  
26318 <define name="style-chart-properties-attlist" combine="interleave">   26778 <define name="style-chart-properties-attlist" combine="interleave">
26319         <optional>   26779         <optional>
26320                 <attribute name="chart:japanese-candle-stick"   26780                 <attribute name="chart:japanese-candle-stick"
26321                                         a:defaultValue="false">   26781                                         a:defaultValue="false">
26322                         <ref name="boolean"/>   26782                         <ref name="boolean"/>
26323                 </attribute>   26783                 </attribute>
26324         </optional>   26784         </optional>
26325 </define>   26785 </define>
26326 15.30.7Line Chart Properties   26786 15.30.7Line Chart Properties
26327 For line chart-types, the attribute chart:interpolation can be set to one of the following values:   26787 For line chart-types, the attribute chart:interpolation can be set to one of the following values:
26328 none -Straight lines – don't use spline interpolation   26788 none -Straight lines – don't use spline interpolation
26329 cubic-spline - Cubic Splines (chart:spline-resolution determines the number of interpolated points between two data points)   26789 cubic-spline - Cubic Splines (chart:spline-resolution determines the number of interpolated points between two data points)
26330 b-spline - B-Splines (chart:spline-order determines the order of the polygons used for calculation. The chart:spline-resolution is also taken into account.)   26790 b-spline - B-Splines (chart:spline-order determines the order of the polygons used for calculation. The chart:spline-resolution is also taken into account.)
26331 <define name="style-chart-properties-attlist" combine="interleave">   26791 <define name="style-chart-properties-attlist" combine="interleave">
26332         <optional>   26792         <optional>
26333                 <attribute name="chart:interpolation" a:defaultValue="none">   26793                 <attribute name="chart:interpolation" a:defaultValue="none">
26334                         <choice>   26794                         <choice>
26335                                 <value>none</value>   26795                                 <value>none</value>
26336                                 <value>cubic-spline</value>   26796                                 <value>cubic-spline</value>
26337                                 <value>b-spline</value>   26797                                 <value>b-spline</value>
26338                         </choice>   26798                         </choice>
26339                 </attribute>   26799                 </attribute>
26340         </optional>   26800         </optional>
26341         <optional>   26801         <optional>
26342                 <attribute name="chart:spline-order" a:defaultValue="2">   26802                 <attribute name="chart:spline-order" a:defaultValue="2">
26343                         <ref name="positiveInteger"/>   26803                         <ref name="positiveInteger"/>
26344                 </attribute>   26804                 </attribute>
26345         </optional>   26805         </optional>
26346         <optional>   26806         <optional>
26347                 <attribute name="chart:spline-resolution" a:defaultValue="20">   26807                 <attribute name="chart:spline-resolution" a:defaultValue="20">
26348                         <ref name="positiveInteger"/>   26808                         <ref name="positiveInteger"/>
26349                 </attribute>   26809                 </attribute>
26350         </optional>   26810         </optional>
26351 </define>   26811 </define>
26352 15.30.8Pie Chart Properties   26812 15.30.8Pie Chart Properties
26353 The chart:pie-offset attribute is only interpreted by pie charts. It determines the offset the tip of a 'pie' in a pie chart (or circle chart) has from the center of the circle.   26813 The chart:pie-offset attribute is only interpreted by pie charts. It determines the offset the tip of a 'pie' in a pie chart (or circle chart) has from the center of the circle.
26354 <define name="style-chart-properties-attlist" combine="interleave">   26814 <define name="style-chart-properties-attlist" combine="interleave">
26355         <optional>   26815         <optional>
26356                 <attribute name="chart:pie-offset" a:defaultValue="0">   26816                 <attribute name="chart:pie-offset" a:defaultValue="0">
26357                         <ref name="nonNegativeInteger"/>   26817                         <ref name="nonNegativeInteger"/>
26358                 </attribute>   26818                 </attribute>
26359         </optional>   26819         </optional>
26360 </define>   26820 </define>
26361 15.30.9Lines   26821 15.30.9Lines
26362 The chart:lines property determines whether connecting lines between data points are shown. The line interpolation is determined by the chart:splines property.   26822 The chart:lines property determines whether connecting lines between data points are shown. The line interpolation is determined by the chart:splines property.
26363 <define name="style-chart-properties-attlist" combine="interleave">   26823 <define name="style-chart-properties-attlist" combine="interleave">
26364         <optional>   26824         <optional>
26365                 <attribute name="chart:lines" a:defaultValue="false">   26825                 <attribute name="chart:lines" a:defaultValue="false">
26366                         <ref name="boolean"/>   26826                         <ref name="boolean"/>
26367                 </attribute>   26827                 </attribute>
26368         </optional>   26828         </optional>
26369 </define>   26829 </define>
26370 15.30.10Solid Charts Bars   26830 15.30.10Solid Charts Bars
26371 The chart:solid-type attribute determines how the bars in three-dimensional bar charts should be rendered.   26831 The chart:solid-type attribute determines how the bars in three-dimensional bar charts should be rendered.
26372 <define name="style-chart-properties-attlist" combine="interleave">   26832 <define name="style-chart-properties-attlist" combine="interleave">
26373         <optional>   26833         <optional>
26374                 <attribute name="chart:solid-type" a:defaultValue="cuboid">   26834                 <attribute name="chart:solid-type" a:defaultValue="cuboid">
26375                         <choice>   26835                         <choice>
26376                                 <value>cuboid</value>   26836                                 <value>cuboid</value>
26377                                 <value>cylinder</value>   26837                                 <value>cylinder</value>
26378                                 <value>cone</value>   26838                                 <value>cone</value>
26379                                 <value>pyramid</value>   26839                                 <value>pyramid</value>
26380                         </choice>   26840                         </choice>
26381                 </attribute>   26841                 </attribute>
26382         </optional>   26842         </optional>
26383 </define>   26843 </define>
26384 15.30.11Stacked Chart Bars   26844 15.30.11Stacked Chart Bars
26385 The attribute chart:stacked attribute causes bars in bar charts to be stacked on top of each other, instead of next to each other. If chart:percentage is set to true, the stacked bars will all be scaled to the full height of the plot area, so that the bar segments represent the percentage of their respective data point in the total bar stack.   26845 The attribute chart:stacked attribute causes bars in bar charts to be stacked on top of each other, instead of next to each other. If chart:percentage is set to true, the stacked bars will all be scaled to the full height of the plot area, so that the bar segments represent the percentage of their respective data point in the total bar stack.
26386 <define name="style-chart-properties-attlist" combine="interleave">   26846 <define name="style-chart-properties-attlist" combine="interleave">
26387         <optional>   26847         <optional>
26388                 <attribute name="chart:stacked" a:defaultValue="false">   26848                 <attribute name="chart:stacked" a:defaultValue="false">
26389                         <ref name="boolean"/>   26849                         <ref name="boolean"/>
26390                 </attribute>   26850                 </attribute>
26391         </optional>   26851         </optional>
26392         <optional>   26852         <optional>
26393                 <attribute name="chart:percentage" a:defaultValue="false">   26853                 <attribute name="chart:percentage" a:defaultValue="false">
26394                         <ref name="boolean"/>   26854                         <ref name="boolean"/>
26395                 </attribute>   26855                 </attribute>
26396         </optional>   26856         </optional>
26397 </define>   26857 </define>
26398 15.31Chart Axes Properties   26858 15.31Chart Axes Properties
26399 The properties described in this section can be applied to chart axis elements (see section 10.8). They can be used within chart styles (see section 14.16) and are contained in a <style:chart-properties> element.   26859 The properties described in this section can be applied to chart axis elements (see section 10.8). They can be used within chart styles (see section 14.16) and are contained in a <style:chart-properties> element.
26400 15.31.1Linked Data Formats   26860 15.31.1Linked Data Formats
26401 The chart:link-data-style-to-source attribute can only be used in chart documents that reside in a document that provides the data for the chart. If the value of the attribute is true, the number format used for rendering the axis is the format that the container document suggests based on the selected cell range. For example, if a cell range contains currencies all formatted in €, then this format will also be used at this axis.   26861 The chart:link-data-style-to-source attribute can only be used in chart documents that reside in a document that provides the data for the chart. If the value of the attribute is true, the number format used for rendering the axis is the format that the container document suggests based on the selected cell range. For example, if a cell range contains currencies all formatted in €, then this format will also be used at this axis.
26402 <define name="style-chart-properties-attlist" combine="interleave">   26862 <define name="style-chart-properties-attlist" combine="interleave">
26403         <optional>   26863         <optional>
26404                 <attribute name="chart:link-data-style-to-source">   26864                 <attribute name="chart:link-data-style-to-source">
26405                         <ref name="boolean"/>   26865                         <ref name="boolean"/>
26406                 </attribute>   26866                 </attribute>
26407         </optional>   26867         </optional>
26408 </define>   26868 </define>
26409 15.31.2Visibility   26869 15.31.2Visibility
26410 To determine whether or not an axis object is visible, use the chart:axis-visible style property. This way, a chart with scaling information can be provided without displaying the axis object.   26870 To determine whether or not an axis object is visible, use the chart:axis-visible style property. This way, a chart with scaling information can be provided without displaying the axis object.
26411 <define name="style-chart-properties-attlist" combine="interleave">   26871 <define name="style-chart-properties-attlist" combine="interleave">
26412         <optional>   26872         <optional>
26413                 <attribute name="chart:visible">   26873                 <attribute name="chart:visible">
26414                         <ref name="boolean"/>   26874                         <ref name="boolean"/>
26415                 </attribute>   26875                 </attribute>
26416         </optional>   26876         </optional>
26417 </define>   26877 </define>
26418 15.31.3Scaling   26878 15.31.3Scaling
26419 If a scaling attribute is omitted, the axis is set to adaptation mode. This means that the value is not set to a fixed value but may be changed by the render application if data changes. However, the chart:axis-logarithmic attribute is set to false.   26879 If a scaling attribute is omitted, the axis is set to adaptation mode. This means that the value is not set to a fixed value but may be changed by the render application if data changes. However, the chart:axis-logarithmic attribute is set to false.
26420 The optional chart:axis-logarithmic attribute can be used to cause logarithmic scaling on an axis. By default, proportional scaling is used.   26880 The optional chart:axis-logarithmic attribute can be used to cause logarithmic scaling on an axis. By default, proportional scaling is used.
26421 <define name="style-chart-properties-attlist" combine="interleave">   26881 <define name="style-chart-properties-attlist" combine="interleave">
26422         <optional>   26882         <optional>
26423                 <attribute name="chart:logarithmic">   26883                 <attribute name="chart:logarithmic">
26424                         <ref name="boolean"/>   26884                         <ref name="boolean"/>
26425                 </attribute>   26885                 </attribute>
26426         </optional>   26886         </optional>
26427 </define>   26887 </define>
26428 The following set of optional attributes further details the scaling of an axis. The properties have the following uses:   26888 The following set of optional attributes further details the scaling of an axis. The properties have the following uses:
26429 chart:minimum, chart:maximum – set minimal and maximal scaling values of an axis   26889 chart:minimum, chart:maximum – set minimal and maximal scaling values of an axis
26430 chart:origin – determine the origin of the chart axis   26890 chart:origin – determine the origin of the chart axis
26431 chart:interval-major, chart:interval-minor-divisor – set major and minor interval for ticks or markings on the axis. The chart:interval-major defines the interval value. The minor interval is determined by dividing the chart:interval-major value by the chart:interval-minor-divisor.   26891 chart:interval-major, chart:interval-minor-divisor – set major and minor interval for ticks or markings on the axis. The chart:interval-major defines the interval value. The minor interval is determined by dividing the chart:interval-major value by the chart:interval-minor-divisor.
26432 <define name="style-chart-properties-attlist" combine="interleave">   26892 <define name="style-chart-properties-attlist" combine="interleave">
26433         <optional>   26893         <optional>
26434                 <attribute name="chart:maximum">   26894                 <attribute name="chart:maximum">
26435                         <ref name="double"/>   26895                         <ref name="double"/>
26436                 </attribute>   26896                 </attribute>
26437         </optional>   26897         </optional>
26438         <optional>   26898         <optional>
26439                 <attribute name="chart:minimum">   26899                 <attribute name="chart:minimum">
26440                         <ref name="double"/>   26900                         <ref name="double"/>
26441                 </attribute>   26901                 </attribute>
26442         </optional>   26902         </optional>
26443         <optional>   26903         <optional>
26444                 <attribute name="chart:origin">   26904                 <attribute name="chart:origin">
26445                         <ref name="double"/>   26905                         <ref name="double"/>
26446                 </attribute>   26906                 </attribute>
26447         </optional>   26907         </optional>
26448         <optional>   26908         <optional>
26449                 <attribute name="chart:interval-major">   26909                 <attribute name="chart:interval-major">
26450                         <ref name="double"/>   26910                         <ref name="double"/>
26451                 </attribute>   26911                 </attribute>
26452         </optional>   26912         </optional>
26453         <optional>   26913         <optional>
26454                 <attribute name="chart:interval-minor"> <> 26914                 <attribute name="chart:interval-minor-divisor">
26455                         <ref name="positiveInteger"/> = 26915                         <ref name="positiveInteger"/>
26456                 </attribute>   26916                 </attribute>
26457         </optional>   26917         </optional>
26458 </define>   26918 </define>
26459 15.31.4Tick Marks   26919 15.31.4Tick Marks
26460 The tick mark properties are used to specify the existence of tick marks at an axis. The major marks are drawn with respect to the major interval that may be specified by the chart:axis-interval-major attribute. The minor tick marks refer to the chart:axis-interval-minor attribute. Inner marks are drawn towards the inside of the plot area, that is to the right for an axis displayed on the left hand side of the plot area, and to the left for an axis displayed on the right hand side of the plot area. Outer marks point in the opposite direction. If both properties are specified, one tick mark is drawn that crosses the axis.   26920 The tick mark properties are used to specify the existence of tick marks at an axis. The major marks are drawn with respect to the major interval that may be specified by the chart:axis-interval-major attribute. The minor tick marks refer to the chart:axis-interval-minor attribute. Inner marks are drawn towards the inside of the plot area, that is to the right for an axis displayed on the left hand side of the plot area, and to the left for an axis displayed on the right hand side of the plot area. Outer marks point in the opposite direction. If both properties are specified, one tick mark is drawn that crosses the axis.
26461 <define name="style-chart-properties-attlist" combine="interleave">   26921 <define name="style-chart-properties-attlist" combine="interleave">
26462         <optional>   26922         <optional>
26463                 <attribute name="chart:tick-marks-major-inner">   26923                 <attribute name="chart:tick-marks-major-inner">
26464                         <ref name="boolean"/>   26924                         <ref name="boolean"/>
26465                 </attribute>   26925                 </attribute>
26466         </optional>   26926         </optional>
26467         <optional>   26927         <optional>
26468                 <attribute name="chart:tick-marks-major-outer">   26928                 <attribute name="chart:tick-marks-major-outer">
26469                         <ref name="boolean"/>   26929                         <ref name="boolean"/>
26470                 </attribute>   26930                 </attribute>
26471         </optional>   26931         </optional>
26472         <optional>   26932         <optional>
26473                 <attribute name="chart:tick-marks-minor-inner">   26933                 <attribute name="chart:tick-marks-minor-inner">
26474                         <ref name="boolean"/>   26934                         <ref name="boolean"/>
26475                 </attribute>   26935                 </attribute>
26476         </optional>   26936         </optional>
26477         <optional>   26937         <optional>
26478                 <attribute name="chart:tick-marks-minor-outer">   26938                 <attribute name="chart:tick-marks-minor-outer">
26479                         <ref name="boolean"/>   26939                         <ref name="boolean"/>
26480                 </attribute>   26940                 </attribute>
26481         </optional>   26941         </optional>
26482 </define>   26942 </define>
26483 15.31.5Labels   26943 15.31.5Labels
26484 The following set of properties describes how axis labels are being represented. chart:display-label determines whether labels will be displayed at all. If chart:text-overlap is set true, labels may overlap. text:line-break determines whether label lines may be broken into multiple lines.   26944 The following set of properties describes how axis labels are being represented. chart:display-label determines whether labels will be displayed at all. If chart:text-overlap is set true, labels may overlap. text:line-break determines whether label lines may be broken into multiple lines.
26485 The chart:label-arrangement property allows labels to be arranged either side-by-side (i.e., all labels start on one line), or staggered (i.e., labels are distributed to two lines, with every other label starting on the same line). In case of staggered labels, one can choose between even or odd staggering, i.e., one can choose whether even or odd labels are aligned on the line that would be used for side-by-side arrangement.   26945 The chart:label-arrangement property allows labels to be arranged either side-by-side (i.e., all labels start on one line), or staggered (i.e., labels are distributed to two lines, with every other label starting on the same line). In case of staggered labels, one can choose between even or odd staggering, i.e., one can choose whether even or odd labels are aligned on the line that would be used for side-by-side arrangement.
26486 <define name="style-chart-properties-attlist" combine="interleave">   26946 <define name="style-chart-properties-attlist" combine="interleave">
26487         <optional>   26947         <optional>
26488                 <attribute name="chart:display-label">   26948                 <attribute name="chart:display-label">
26489                         <ref name="boolean"/>   26949                         <ref name="boolean"/>
26490                 </attribute>   26950                 </attribute>
26491         </optional>   26951         </optional>
26492         <optional>   26952         <optional>
26493                 <attribute name="chart:text-overlap">   26953                 <attribute name="chart:text-overlap">
26494                         <ref name="boolean"/>   26954                         <ref name="boolean"/>
26495                 </attribute>   26955                 </attribute>
26496         </optional>   26956         </optional>
26497         <optional>   26957         <optional>
26498                 <attribute name="text:line-break">   26958                 <attribute name="text:line-break">
26499                         <ref name="boolean"/>   26959                         <ref name="boolean"/>
26500                 </attribute>   26960                 </attribute>
26501         </optional>   26961         </optional>
26502         <optional>   26962         <optional>
26503                 <attribute name="chart:label-arrangement"   26963                 <attribute name="chart:label-arrangement"
26504                            a:defaultValue="side-by-side">   26964                            a:defaultValue="side-by-side">
26505                         <choice>   26965                         <choice>
26506                                 <value>side-by-side</value>   26966                                 <value>side-by-side</value>
26507                                 <value>stagger-even</value>   26967                                 <value>stagger-even</value>
26508                                 <value>stagger-odd</value>   26968                                 <value>stagger-odd</value>
26509                         </choice>   26969                         </choice>
26510                 </attribute>   26970                 </attribute>
26511         </optional>   26971         </optional>
26512 </define>   26972 </define>
26513 15.32Common Chart Properties   26973 15.32Common Chart Properties
26514 The properties described in this section apply to all types of data representation objects, including the elements <chart:plot-area>, <chart:series>, and <chart:data-point>. They can be used within chart styles (see section 14.16) and are contained in a <style:chart-properties> element.   26974 The properties described in this section apply to all types of data representation objects, including the elements <chart:plot-area>, <chart:series>, and <chart:data-point>. They can be used within chart styles (see section 14.16) and are contained in a <style:chart-properties> element.
26515 Properties are applied in a hierarchical manner. If a property is set in the <chart:chart> element, it applies to all data points contained in the chart. If the same property is set in a <chart:series> element, it only applies to the data points contained in that specific series. To set a formatting property for one data point only, set the property in the <chart:data-point> element.   26975 Properties are applied in a hierarchical manner. If a property is set in the <chart:chart> element, it applies to all data points contained in the chart. If the same property is set in a <chart:series> element, it only applies to the data points contained in that specific series. To set a formatting property for one data point only, set the property in the <chart:data-point> element.
26516 15.32.1Stacked Text   26976 15.32.1Stacked Text
26517 The property style:direction determines whether or not text is displayed vertically without rotating the letters. It can be applied to several text objects.   26977 The property style:direction determines whether or not text is displayed vertically without rotating the letters. It can be applied to several text objects.
26518 The value of this property can be ltr if text goes from left to right or ttb if the text is stacked, that is goes from top to bottom. It can be applied to several text objects. See section 15.11.3 for details.   26978 The value of this property can be ltr if text goes from left to right or ttb if the text is stacked, that is goes from top to bottom. It can be applied to several text objects. See section 15.11.3 for details.
26519 <define name="style-chart-properties-attlist" combine="interleave">   26979 <define name="style-chart-properties-attlist" combine="interleave">
26520         <ref name="common-style-direction-attlist"/>   26980         <ref name="common-style-direction-attlist"/>
26521 </define>   26981 </define>
26522 15.32.2Rotation Angle   26982 15.32.2Rotation Angle
26523 The style:rotation-angle property specifies the value of a rotation angle in degrees. See section 15.11.12 for information on using this property.   26983 The style:rotation-angle property specifies the value of a rotation angle in degrees. See section 15.11.12 for information on using this property.
26524 <define name="style-chart-properties-attlist" combine="interleave">   26984 <define name="style-chart-properties-attlist" combine="interleave">
26525         <ref name="common-rotation-angle-attlist"/>   26985         <ref name="common-rotation-angle-attlist"/>
26526 </define>   26986 </define>
26527 15.32.3Data Labels   26987 15.32.3Data Labels
26528 Data labels can be applied to data series and data points as well as to an entire chart. In the latter case, labels are shown for all data points. Data labels can consist of the following three parts:   26988 Data labels can be applied to data series and data points as well as to an entire chart. In the latter case, labels are shown for all data points. Data labels can consist of the following three parts:
26529 The value, which can be displayed as a percentage or the value itself.   26989 The value, which can be displayed as a percentage or the value itself.
26530 The label of the corresponding series.   26990 The label of the corresponding series.
26531 The legend symbol.   26991 The legend symbol.
26532 Value   26992 Value
26533 The chart:data-label-number attribute represents the value of the data label.   26993 The chart:data-label-number attribute represents the value of the data label.
26534 <define name="style-chart-properties-attlist" combine="interleave">   26994 <define name="style-chart-properties-attlist" combine="interleave">
26535         <optional>   26995         <optional>
26536                 <attribute name="chart:data-label-number">   26996                 <attribute name="chart:data-label-number">
26537                         <choice>   26997                         <choice>
26538                                 <value>none</value>   26998                                 <value>none</value>
26539                                 <value>value</value>   26999                                 <value>value</value>
26540                                 <value>percentage</value>   27000                                 <value>percentage</value>
26541                         </choice>   27001                         </choice>
26542                 </attribute>   27002                 </attribute>
26543         </optional>   27003         </optional>
26544 </define>   27004 </define>
26545 Label   27005 Label
26546 The chart:data-label-text attribute determines whether or not to display the label of the corresponding series.   27006 The chart:data-label-text attribute determines whether or not to display the label of the corresponding series.
26547 The value of this attribute can be true or false.   27007 The value of this attribute can be true or false.
26548 <define name="style-chart-properties-attlist" combine="interleave">   27008 <define name="style-chart-properties-attlist" combine="interleave">
26549         <optional>   27009         <optional>
26550                 <attribute name="chart:data-label-text">   27010                 <attribute name="chart:data-label-text">
26551                         <ref name="boolean"/>   27011                         <ref name="boolean"/>
26552                 </attribute>   27012                 </attribute>
26553         </optional>   27013         </optional>
26554 </define>   27014 </define>
26555 Legend Symbol   27015 Legend Symbol
26556 The chart:data-label-symbol  attribute determines whether or not to display the legend symbol. The value of this attribute can be true or false.   27016 The chart:data-label-symbol  attribute determines whether or not to display the legend symbol. The value of this attribute can be true or false.
26557 <define name="style-chart-properties-attlist" combine="interleave">   27017 <define name="style-chart-properties-attlist" combine="interleave">
26558         <optional>   27018         <optional>
26559                 <attribute name="chart:data-label-symbol">   27019                 <attribute name="chart:data-label-symbol">
26560                         <ref name="boolean"/>   27020                         <ref name="boolean"/>
26561                 </attribute>   27021                 </attribute>
26562         </optional>   27022         </optional>
26563 </define>   27023 </define>
26564 15.33Statistical Properties   27024 15.33Statistical Properties
26565 Statistical properties can be applied to data series or to an entire chart. In the latter case, the properties apply to all series in the chart. They can be used within chart styles (see section 14.16) and are contained in a <style:chart-properties> element.   27025 Statistical properties can be applied to data series or to an entire chart. In the latter case, the properties apply to all series in the chart. They can be used within chart styles (see section 14.16) and are contained in a <style:chart-properties> element.
26566 15.33.1Mean Value   27026 15.33.1Mean Value
26567 The chart:mean-value attribute determines whether or not to display a line that represents the statistical mean value of all data points of a series. The value of this attribute can be true or false.   27027 The chart:mean-value attribute determines whether or not to display a line that represents the statistical mean value of all data points of a series. The value of this attribute can be true or false.
26568 <define name="style-chart-properties-attlist" combine="interleave">   27028 <define name="style-chart-properties-attlist" combine="interleave">
26569         <optional>   27029         <optional>
26570                 <attribute name="chart:mean-value">   27030                 <attribute name="chart:mean-value">
26571                         <ref name="boolean"/>   27031                         <ref name="boolean"/>
26572                 </attribute>   27032                 </attribute>
26573         </optional>   27033         </optional>
26574 </define>   27034 </define>
26575 15.33.2Error Category   27035 15.33.2Error Category
26576 The chart:error-category attribute is used to determine which function is used to display error indicators at data points. The following functions are available:   27036 The chart:error-category attribute is used to determine which function is used to display error indicators at data points. The following functions are available:
26577 Variance of the values of a series assuming an equal distribution.   27037 Variance of the values of a series assuming an equal distribution.
26578 Standard-deviation of the values of a series assuming an equal distribution.   27038 Standard-deviation of the values of a series assuming an equal distribution.
26579 Use a fixed percentage of each value   27039 Use a fixed percentage of each value
26580 Use a fixed percentage of the biggest value – this is called error-margin.   27040 Use a fixed percentage of the biggest value – this is called error-margin.
26581 Use fixed absolute values for both directions: positive and negative   27041 Use fixed absolute values for both directions: positive and negative
26582 If this attribute is set to any value other than none, error indicators are shown. To determine in which direction the indicators are pointing see the attributes chart:error-upper-indicator and chart:error-lower-indicator.   27042 If this attribute is set to any value other than none, error indicators are shown. To determine in which direction the indicators are pointing see the attributes chart:error-upper-indicator and chart:error-lower-indicator.
26583 <define name="style-chart-properties-attlist" combine="interleave">   27043 <define name="style-chart-properties-attlist" combine="interleave">
26584         <optional>   27044         <optional>
26585                 <attribute name="chart:error-category" a:defaultValue="none">   27045                 <attribute name="chart:error-category" a:defaultValue="none">
26586                         <choice>   27046                         <choice>
26587                                 <value>none</value>   27047                                 <value>none</value>
26588                                 <value>variance</value>   27048                                 <value>variance</value>
26589                                 <value>standard-deviation</value>   27049                                 <value>standard-deviation</value>
26590                                 <value>percentage</value>   27050                                 <value>percentage</value>
26591                                 <value>error-margin</value>   27051                                 <value>error-margin</value>
26592                                 <value>constant</value>   27052                                 <value>constant</value>
26593                         </choice>   27053                         </choice>
26594                 </attribute>   27054                 </attribute>
26595         </optional>   27055         </optional>
26596 </define>   27056 </define>
26597 Error Percentage   27057 Error Percentage
26598 The chart:error-percentage attribute determines the percentage that is used to display error indicators for each data point of a series.   27058 The chart:error-percentage attribute determines the percentage that is used to display error indicators for each data point of a series.
26599 <define name="style-chart-properties-attlist" combine="interleave">   27059 <define name="style-chart-properties-attlist" combine="interleave">
26600         <optional>   27060         <optional>
26601                 <attribute name="chart:error-percentage">   27061                 <attribute name="chart:error-percentage">
26602                         <ref name="double"/>   27062                         <ref name="double"/>
26603                 </attribute>   27063                 </attribute>
26604         </optional>   27064         </optional>
26605 </define>   27065 </define>
26606 Error Margin   27066 Error Margin
26607 The chart:error-margin attribute determines the percentage that is used to display error indicators for the biggest value in a series.   27067 The chart:error-margin attribute determines the percentage that is used to display error indicators for the biggest value in a series.
26608 <define name="style-chart-properties-attlist" combine="interleave">   27068 <define name="style-chart-properties-attlist" combine="interleave">
26609         <optional>   27069         <optional>
26610                 <attribute name="chart:error-margin">   27070                 <attribute name="chart:error-margin">
26611                         <ref name="double"/>   27071                         <ref name="double"/>
26612                 </attribute>   27072                 </attribute>
26613         </optional>   27073         </optional>
26614 </define>   27074 </define>
26615 Constant Error Lower and Upper Limit   27075 Constant Error Lower and Upper Limit
26616 If the error category is set to constant, the chart:error-lower-limit and  chart:error-upper-limit attributes determine the absolute values in a positive and negative direction that are used to display the error indicators.   27076 If the error category is set to constant, the chart:error-lower-limit and  chart:error-upper-limit attributes determine the absolute values in a positive and negative direction that are used to display the error indicators.
26617 <define name="style-chart-properties-attlist" combine="interleave">   27077 <define name="style-chart-properties-attlist" combine="interleave">
26618         <optional>   27078         <optional>
26619                 <attribute name="chart:error-lower-limit">   27079                 <attribute name="chart:error-lower-limit">
26620                         <ref name="double"/>   27080                         <ref name="double"/>
26621                 </attribute>   27081                 </attribute>
26622         </optional>   27082         </optional>
26623         <optional>   27083         <optional>
26624                 <attribute name="chart:error-upper-limit">   27084                 <attribute name="chart:error-upper-limit">
26625                         <ref name="double"/>   27085                         <ref name="double"/>
26626                 </attribute>   27086                 </attribute>
26627         </optional>   27087         </optional>
26628 </define>   27088 </define>
26629 Error Indicators   27089 Error Indicators
26630 The chart:error-lower-indicator and chart:error-upper-indicator attributes determine in which direction indicators should be drawn.   27090 The chart:error-lower-indicator and chart:error-upper-indicator attributes determine in which direction indicators should be drawn.
26631 <define name="style-chart-properties-attlist" combine="interleave">   27091 <define name="style-chart-properties-attlist" combine="interleave">
26632         <optional>   27092         <optional>
26633                 <attribute name="chart:error-upper-indicator">   27093                 <attribute name="chart:error-upper-indicator">
26634                         <ref name="boolean"/>   27094                         <ref name="boolean"/>
26635                 </attribute>   27095                 </attribute>
26636         </optional>   27096         </optional>
26637         <optional>   27097         <optional>
26638                 <attribute name="chart:error-lower-indicator">   27098                 <attribute name="chart:error-lower-indicator">
26639                         <ref name="boolean"/>   27099                         <ref name="boolean"/>
26640                 </attribute>   27100                 </attribute>
26641         </optional>   27101         </optional>
26642 </define>   27102 </define>
26643 15.34Plot Area Properties   27103 15.34Plot Area Properties
26644 The properties described in this section can be applied to chart plot area elements (see section 10.5). They can be used within chart styles (see section 14.16) and are contained in a <style:chart-properties> element.   27104 The properties described in this section can be applied to chart plot area elements (see section 10.5). They can be used within chart styles (see section 14.16) and are contained in a <style:chart-properties> element.
26645 15.34.1Series Source   27105 15.34.1Series Source
26646 The chart:series-source attribute determines whether the data table contains the data series in column-wise or row-wise fashion.   27106 The chart:series-source attribute determines whether the data table contains the data series in column-wise or row-wise fashion.
26647 <define name="style-chart-properties-attlist" combine="interleave">   27107 <define name="style-chart-properties-attlist" combine="interleave">
26648         <optional>   27108         <optional>
26649                 <attribute name="chart:series-source" a:defaultValue="columns">   27109                 <attribute name="chart:series-source" a:defaultValue="columns">
26650                         <choice>   27110                         <choice>
26651                                 <value>columns</value>   27111                                 <value>columns</value>
26652                                 <value>rows</value>   27112                                 <value>rows</value>
26653                         </choice>   27113                         </choice>
26654                 </attribute>   27114                 </attribute>
26655         </optional>   27115         </optional>
26656 </define>   27116 </define>
26657 15.35Regression Curve Properties   27117 15.35Regression Curve Properties
26658 The properties described in this section can be applied to chart regression curves elements (see section 10.14). They can be used within chart styles (see section 14.16) and are contained in a <style:chart-properties> element.   27118 The properties described in this section can be applied to chart regression curves elements (see section 10.14). They can be used within chart styles (see section 14.16) and are contained in a <style:chart-properties> element.
26659 15.35.1Regression Type   27119 15.35.1Regression Type
26660 Use the chart:regression-type attribute to display a regression for a series. A regression can be used to approximate the data points in a series by a mathematical function. The following models for approximation are available:   27120 Use the chart:regression-type attribute to display a regression for a series. A regression can be used to approximate the data points in a series by a mathematical function. The following models for approximation are available:
26661 Linear regression – approximate the values of the series using the model: y = A·x + B.   27121 Linear regression – approximate the values of the series using the model: y = A·x + B.
26662 Logarithmic regression – approximate the values of the series using the model: y = A·log(x) + B.   27122 Logarithmic regression – approximate the values of the series using the model: y = A·log(x) + B.
26663 Exponential regression – approximate the values of the series using the model: y = A·eB·x.   27123 Exponential regression – approximate the values of the series using the model: y = A·eB·x.
26664 Regression with a power function – approximate the values of the series using the model: y = A·xB.   27124 Regression with a power function – approximate the values of the series using the model: y = A·xB.
26665 This property is only relevant in scatter charts, because regression needs both x and y values for calculation   27125 This property is only relevant in scatter charts, because regression needs both x and y values for calculation
26666 <define name="style-chart-properties-attlist" combine="interleave">   27126 <define name="style-chart-properties-attlist" combine="interleave">
26667         <optional>   27127         <optional>
26668                 <attribute name="chart:regression-type" a:defaultValue="none">   27128                 <attribute name="chart:regression-type" a:defaultValue="none">
26669                         <choice>   27129                         <choice>
26670                                 <value>none</value>   27130                                 <value>none</value>
26671                                 <value>linear</value>   27131                                 <value>linear</value>
26672                                 <value>logarithmic</value>   27132                                 <value>logarithmic</value>
26673                                 <value>exponential</value>   27133                                 <value>exponential</value>
26674                                 <value>power</value>   27134                                 <value>power</value>
26675                         </choice>   27135                         </choice>
26676                 </attribute>   27136                 </attribute>
26677         </optional>   27137         </optional>
26678 </define>   27138 </define>
26679 15.36Presentation Page Attributes   27139 15.36Presentation Page Attributes
26680 The properties described in this section can be contained within style elements <style:style> whose family is drawing-page. They are contained in a <style:style-drawpage-properties> element.   27140 The properties described in this section can be contained within style elements <style:style> whose family is drawing-page. They are contained in a <style:style-drawpage-properties> element.
26681 The following presentation properties do exist:   27141 The following presentation properties do exist:
26682 Transition Type   27142 Transition Type
26683 Transition Style   27143 Transition Style
26684 Transition Speed   27144 Transition Speed
26685 Page Duration   27145 Page Duration
26686 Page Visibility   27146 Page Visibility
26687 Sound   27147 Sound
26688 Background Size   27148 Background Size
26689 Background Objects Visible   27149 Background Objects Visible
26690 Background Visible   27150 Background Visible
26691 Display Header   27151 Display Header
26692 Display Footer   27152 Display Footer
26693 Display Page Number   27153 Display Page Number
26694 Display Date and Time   27154 Display Date and Time
26695 15.36.1Transition Type   27155 15.36.1Transition Type
26696 The mode of transition, for example manual, can be set using the attribute presentation:transition-type.   27156 The mode of transition, for example manual, can be set using the attribute presentation:transition-type.
26697 manual: slide transition and shape effects must be started separately by the user.   27157 manual: slide transition and shape effects must be started separately by the user.
26698 automatic: slide transition and shape effects start automatically.   27158 automatic: slide transition and shape effects start automatically.
26699 semi-automatic: slide transition starts automatically, shape effects must be started by the user.   27159 semi-automatic: slide transition starts automatically, shape effects must be started by the user.
26700 <define name="style-drawing-page-properties-attlist"   27160 <define name="style-drawing-page-properties-attlist"
26701         combine="interleave">   27161         combine="interleave">
26702         <optional>   27162         <optional>
26703                 <attribute name="presentation:transition-type">   27163                 <attribute name="presentation:transition-type">
26704                         <choice>   27164                         <choice>
26705                                 <value>manual</value>   27165                                 <value>manual</value>
26706                                 <value>automatic</value>   27166                                 <value>automatic</value>
26707                                 <value>semi-automatic</value>   27167                                 <value>semi-automatic</value>
26708                         </choice>   27168                         </choice>
26709                 </attribute>   27169                 </attribute>
26710         </optional>   27170         </optional>
26711 </define>   27171 </define>
26712 15.36.2Transition Style   27172 15.36.2Transition Style
26713 The attribute presentation:transition-style specifies the way that each presentation page replaces the previous presentation page, for example left-to-right replacement, or fading.   27173 The attribute presentation:transition-style specifies the way that each presentation page replaces the previous presentation page, for example left-to-right replacement, or fading.
26714 none: no effect is used.   27174 none: no effect is used.
26715 fade-*: the pages fades from a visible or hidden state to a hidden or visible state in the specified direction.   27175 fade-*: the pages fades from a visible or hidden state to a hidden or visible state in the specified direction.
26716 move-*: the page moves in the specified direction to its final position.   27176 move-*: the page moves in the specified direction to its final position.
26717 uncover-*: the page get uncovered in the specified direction.   27177 uncover-*: the page get uncovered in the specified direction.
26718 *-stripes: the page is uncovered by drawing horizontal or vertical stripes that change their size during this effect.   27178 *-stripes: the page is uncovered by drawing horizontal or vertical stripes that change their size during this effect.
26719 clockwise: the page is uncovered by the hand of a watch, moving clockwise.   27179 clockwise: the page is uncovered by the hand of a watch, moving clockwise.
26720 counterclockwise: the page is uncovered by the hand of a watch, moving counterclockwise.   27180 counterclockwise: the page is uncovered by the hand of a watch, moving counterclockwise.
26721 open-*: the page is uncovered by drawing it line by line, either horizontally or vertically, starting at the center of the page.   27181 open-*: the page is uncovered by drawing it line by line, either horizontally or vertically, starting at the center of the page.
26722 close-*: the page is uncovered by drawing it line by line, either horizontally or vertically, starting at the edge of the page.   27182 close-*: the page is uncovered by drawing it line by line, either horizontally or vertically, starting at the edge of the page.
26723 wavyline-*: the page is uncovered by drawing small blocks in a snake like fashion.   27183 wavyline-*: the page is uncovered by drawing small blocks in a snake like fashion.
26724 spiralin-*: the page is uncovered by drawing blocks in a spiral fashion, starting from the edge of the page.   27184 spiralin-*: the page is uncovered by drawing blocks in a spiral fashion, starting from the edge of the page.
26725 spiralout-*: the page is uncovered by drawing blocks in a spiral fashion, starting from the center of the page.   27185 spiralout-*: the page is uncovered by drawing blocks in a spiral fashion, starting from the center of the page.
26726 roll-*: the pages moves in the specified direction to its final position, pushing the old page out.   27186 roll-*: the pages moves in the specified direction to its final position, pushing the old page out.
26727 stretch-*: the page is uncovered by changing its size during this effect.   27187 stretch-*: the page is uncovered by changing its size during this effect.
26728 *-lines: the page is uncovered by drawing it line by line, either horizontally or vertically in a random fashion.   27188 *-lines: the page is uncovered by drawing it line by line, either horizontally or vertically in a random fashion.
26729 dissolve: the page is faded in by drawing small blocks in a random fashion.   27189 dissolve: the page is faded in by drawing small blocks in a random fashion.
26730 random: an effect is chosen at random to uncover the page.   27190 random: an effect is chosen at random to uncover the page.
26731 *-checkerboard: the page is uncovered by drawing checkerboard like blocks that increase in size horizontally or vertically.   27191 *-checkerboard: the page is uncovered by drawing checkerboard like blocks that increase in size horizontally or vertically.
26732 interlocking-horizontal-*: the new page appears in 4 horizontal stripes (i.e., the height is divided in 4, a bit like in the horizontal-stripes effect) but those stripes come from left, right, left, and right, and cross each other in the middle of the screen.   27192 interlocking-horizontal-*: the new page appears in 4 horizontal stripes (i.e., the height is divided in 4, a bit like in the horizontal-stripes effect) but those stripes come from left, right, left, and right, and cross each other in the middle of the screen.
26733 interlocking-vertical-*: similar effect with vertical stripes crossing each other.   27193 interlocking-vertical-*: similar effect with vertical stripes crossing each other.
26734 fly-away: the page first reduces itself to a smaller size (while remaining centered in the screen), and then "flies away" (turns around a bit and moves to the bottom-right corner of the screen). The next slide appears under it meanwhile.   27194 fly-away: the page first reduces itself to a smaller size (while remaining centered in the screen), and then "flies away" (turns around a bit and moves to the bottom-right corner of the screen). The next slide appears under it meanwhile.
26735 open: Combination of open-horizontal and open-vertical, i.e., a sort of plus sign opening.   27195 open: Combination of open-horizontal and open-vertical, i.e., a sort of plus sign opening.
26736 close: Combination of close-horizontal and close-vertical, i.e., a sort of plus sign closing.   27196 close: Combination of close-horizontal and close-vertical, i.e., a sort of plus sign closing.
26737 melt: Small vertical stripes move down at random speed, which gives the effect of the current page "melting down".   27197 melt: Small vertical stripes move down at random speed, which gives the effect of the current page "melting down".
26738 <define name="style-drawing-page-properties-attlist"   27198 <define name="style-drawing-page-properties-attlist"
26739                  combine="interleave">   27199                  combine="interleave">
26740         <optional>   27200         <optional>
26741                 <attribute name="presentation:transition-style">   27201                 <attribute name="presentation:transition-style">
26742                         <choice>   27202                         <choice>
26743                                 <value>none</value>   27203                                 <value>none</value>
26744                                 <value>fade-from-left</value>   27204                                 <value>fade-from-left</value>
26745                                 <value>fade-from-top</value>   27205                                 <value>fade-from-top</value>
26746                                 <value>fade-from-right</value>   27206                                 <value>fade-from-right</value>
26747                                 <value>fade-from-bottom</value>   27207                                 <value>fade-from-bottom</value>
26748                                 <value>fade-from-upperleft</value>   27208                                 <value>fade-from-upperleft</value>
26749                                 <value>fade-from-upperright</value>   27209                                 <value>fade-from-upperright</value>
26750                                 <value>fade-from-lowerleft</value>   27210                                 <value>fade-from-lowerleft</value>
26751                                 <value>fade-from-lowerright</value>   27211                                 <value>fade-from-lowerright</value>
26752                                 <value>move-from-left</value>   27212                                 <value>move-from-left</value>
26753                                 <value>move-from-top</value>   27213                                 <value>move-from-top</value>
26754                                 <value>move-from-right</value>   27214                                 <value>move-from-right</value>
26755                                 <value>move-from-bottom</value>   27215                                 <value>move-from-bottom</value>
26756                                 <value>move-from-upperleft</value>   27216                                 <value>move-from-upperleft</value>
26757                                 <value>move-from-upperright</value>   27217                                 <value>move-from-upperright</value>
26758                                 <value>move-from-lowerleft</value>   27218                                 <value>move-from-lowerleft</value>
26759                                 <value>move-from-lowerright</value>   27219                                 <value>move-from-lowerright</value>
26760                                 <value>uncover-to-left</value>   27220                                 <value>uncover-to-left</value>
26761                                 <value>uncover-to-top</value>   27221                                 <value>uncover-to-top</value>
26762                                 <value>uncover-to-right</value>   27222                                 <value>uncover-to-right</value>
26763                                 <value>uncover-to-bottom</value>   27223                                 <value>uncover-to-bottom</value>
26764                                 <value>uncover-to-upperleft</value>   27224                                 <value>uncover-to-upperleft</value>
26765                                 <value>uncover-to-upperright</value>   27225                                 <value>uncover-to-upperright</value>
26766                                 <value>uncover-to-lowerleft</value>   27226                                 <value>uncover-to-lowerleft</value>
26767                                 <value>uncover-to-lowerright</value>   27227                                 <value>uncover-to-lowerright</value>
26768                                 <value>fade-to-center</value>   27228                                 <value>fade-to-center</value>
26769                                 <value>fade-from-center</value>   27229                                 <value>fade-from-center</value>
26770                                 <value>vertical-stripes</value>   27230                                 <value>vertical-stripes</value>
26771                                 <value>horizontal-stripes</value>   27231                                 <value>horizontal-stripes</value>
26772                                 <value>clockwise</value>   27232                                 <value>clockwise</value>
26773                                 <value>counterclockwise</value>   27233                                 <value>counterclockwise</value>
26774                                 <value>open-vertical</value>   27234                                 <value>open-vertical</value>
26775                                 <value>open-horizontal</value>   27235                                 <value>open-horizontal</value>
26776                                 <value>close-vertical</value>   27236                                 <value>close-vertical</value>
26777                                 <value>close-horizontal</value>   27237                                 <value>close-horizontal</value>
26778                                 <value>wavyline-from-left</value>   27238                                 <value>wavyline-from-left</value>
26779                                 <value>wavyline-from-top</value>   27239                                 <value>wavyline-from-top</value>
26780                                 <value>wavyline-from-right</value>   27240                                 <value>wavyline-from-right</value>
26781                                 <value>wavyline-from-bottom</value>   27241                                 <value>wavyline-from-bottom</value>
26782                                 <value>spiralin-left</value>   27242                                 <value>spiralin-left</value>
26783                                 <value>spiralin-right</value>   27243                                 <value>spiralin-right</value>
26784                                 <value>spiralout-left</value>   27244                                 <value>spiralout-left</value>
26785                                 <value>spiralout-right</value>   27245                                 <value>spiralout-right</value>
26786                                 <value>roll-from-top</value>   27246                                 <value>roll-from-top</value>
26787                                 <value>roll-from-left</value>   27247                                 <value>roll-from-left</value>
26788                                 <value>roll-from-right</value>   27248                                 <value>roll-from-right</value>
26789                                 <value>roll-from-bottom</value>   27249                                 <value>roll-from-bottom</value>
26790                                 <value>stretch-from-left</value>   27250                                 <value>stretch-from-left</value>
26791                                 <value>stretch-from-top</value>   27251                                 <value>stretch-from-top</value>
26792                                 <value>stretch-from-right</value>   27252                                 <value>stretch-from-right</value>
26793                                 <value>stretch-from-bottom</value>   27253                                 <value>stretch-from-bottom</value>
26794     27254  
26795                                 <value>vertical-lines</value>   27255                                 <value>vertical-lines</value>
26796                                 <value>horizontal-lines</value>   27256                                 <value>horizontal-lines</value>
26797                                 <value>dissolve</value>   27257                                 <value>dissolve</value>
26798                                 <value>random</value>   27258                                 <value>random</value>
26799                                 <value>vertical-checkerboard</value>   27259                                 <value>vertical-checkerboard</value>
26800                                 <value>horizontal-checkerboard</value>   27260                                 <value>horizontal-checkerboard</value>
26801                                 <value>interlocking-horizontal-left</value>   27261                                 <value>interlocking-horizontal-left</value>
26802                                 <value>interlocking-horizontal-right</value>   27262                                 <value>interlocking-horizontal-right</value>
26803                                 <value>interlocking-vertical-top</value>   27263                                 <value>interlocking-vertical-top</value>
26804                                 <value>interlocking-vertical-bottom</value>   27264                                 <value>interlocking-vertical-bottom</value>
26805                                 <value>fly-away</value>   27265                                 <value>fly-away</value>
26806                                 <value>open</value>   27266                                 <value>open</value>
26807                                 <value>close</value>   27267                                 <value>close</value>
26808                                 <value>melt</value>   27268                                 <value>melt</value>
26809                         </choice>   27269                         </choice>
26810                 </attribute>   27270                 </attribute>
26811         </optional>   27271         </optional>
26812 </define>   27272 </define>
26813 15.36.3Transition Speed   27273 15.36.3Transition Speed
26814 The attribute presentation:transition-speed  controls the speed at which a presentation page is removed from display, and replaced by a new presentation page. See also section 9.7.2.   27274 The attribute presentation:transition-speed  controls the speed at which a presentation page is removed from display, and replaced by a new presentation page. See also section 9.7.2.
26815 <define name="style-drawing-page-properties-attlist"   27275 <define name="style-drawing-page-properties-attlist"
26816         combine="interleave">   27276         combine="interleave">
26817         <optional>   27277         <optional>
26818                 <attribute name="presentation:transition-speed">   27278                 <attribute name="presentation:transition-speed">
26819                         <ref name="presentationSpeeds"/>   27279                         <ref name="presentationSpeeds"/>
26820                 </attribute>   27280                 </attribute>
26821         </optional>   27281         </optional>
26822 </define>   27282 </define>
26823 15.36.4Transition Type or Family   27283 15.36.4Transition Type or Family
26824 The [SMIL20] smil:type attribute is used to specify the transition type or family. See §12.4.1 of [SMIL20] for details. See §12.8 of [SMIL20] for a list of supported types.   27284 The [SMIL20] smil:type attribute is used to specify the transition type or family. See §12.4.1 of [SMIL20] for details. See §12.8 of [SMIL20] for a list of supported types.
26825 If this attribute is present, the attributes  presentation:transition-type and presentation:transition-style attributes should be ignored.   27285 If this attribute is present, the attributes  presentation:transition-type and presentation:transition-style attributes should be ignored.
26826 <define name="style-drawing-page-properties-attlist " combine="interleave">   27286 <define name="style-drawing-page-properties-attlist " combine="interleave">
26827         <optional>   27287         <optional>
26828                 <attribute name="smil:type">   27288                 <attribute name="smil:type">
26829                         <ref name="string"/>   27289                         <ref name="string"/>
26830                 </attribute>   27290                 </attribute>
26831         </optional>   27291         </optional>
26832 </define>   27292 </define>
26833 15.36.5Transition Subtype   27293 15.36.5Transition Subtype
26834 The [SMIL20] smil:subtype attribute is used to specify the transition subtype. See §12.4.1 of [SMIL20] for details. See §12.8 of [SMIL20] for a list of supported subtypes.   27294 The [SMIL20] smil:subtype attribute is used to specify the transition subtype. See §12.4.1 of [SMIL20] for details. See §12.8 of [SMIL20] for a list of supported subtypes.
26835 <define name="style-drawing-page-properties-attlist" combine="interleave">   27295 <define name="style-drawing-page-properties-attlist" combine="interleave">
26836         <optional>   27296         <optional>
26837                 <attribute name="smil:subtype">   27297                 <attribute name="smil:subtype">
26838                         <ref name="string"/>   27298                         <ref name="string"/>
26839                 </attribute>   27299                 </attribute>
26840         </optional>   27300         </optional>
26841 </define>   27301 </define>
26842 15.36.6Transition Direction   27302 15.36.6Transition Direction
26843 The [SMIL20] smil:direction attribute is used to specify the transition direction. See §12.4.1 of [SMIL20] for details.   27303 The [SMIL20] smil:direction attribute is used to specify the transition direction. See §12.4.1 of [SMIL20] for details.
26844 <define name="style-drawing-page-properties-attlist" combine="interleave">   27304 <define name="style-drawing-page-properties-attlist" combine="interleave">
26845         <optional>   27305         <optional>
26846                 <attribute name="smil:direction" a:defaultValue="forward">   27306                 <attribute name="smil:direction" a:defaultValue="forward">
26847                         <choice>   27307                         <choice>
26848                                 <value>forward</value>   27308                                 <value>forward</value>
26849                                 <value>reverse</value>   27309                                 <value>reverse</value>
26850                         </choice>   27310                         </choice>
26851                 </attribute>   27311                 </attribute>
26852         </optional>   27312         </optional>
26853 </define>   27313 </define>
26854 15.36.7Fade Color   27314 15.36.7Fade Color
26855 The [SMIL20] smil:fadeColor attribute is used to specify the transition fade color for transitions that make use of a start or end color. See §12.4.1 of [SMIL20] for details.   27315 The [SMIL20] smil:fadeColor attribute is used to specify the transition fade color for transitions that make use of a start or end color. See §12.4.1 of [SMIL20] for details.
26856 <define name="style-drawing-page-properties-attlist" combine="interleave">   27316 <define name="style-drawing-page-properties-attlist" combine="interleave">
26857         <optional>   27317         <optional>
26858                 <attribute name="smil:fadeColor">   27318                 <attribute name="smil:fadeColor">
26859                         <choice> <>    
26860                                 <value>forward</value>      
26861                                 <value>reverse</value>      
26862                         </choice>   27319                         <ref name="color"/>
26863                 </attribute> = 27320                 </attribute>
26864         </optional>   27321         </optional>
26865 </define>   27322 </define>
26866 15.36.8Page Duration   27323 15.36.8Page Duration
26867 The attribute presentation:page-duration controls the amount of time that the presentation page is displayed. The value of this attribute must conform to the time period format described in §3.2.6 of [xmlschema-2].   27324 The attribute presentation:page-duration controls the amount of time that the presentation page is displayed. The value of this attribute must conform to the time period format described in §3.2.6 of [xmlschema-2].
26868 <define name="style-drawing-page-properties-attlist"   27325 <define name="style-drawing-page-properties-attlist"
26869                 combine="interleave">   27326                 combine="interleave">
26870         <optional>   27327         <optional>
26871                 <attribute name="presentation:duration">   27328                 <attribute name="presentation:duration">
26872                         <ref name="duration"/>   27329                         <ref name="duration"/>
26873                 </attribute>   27330                 </attribute>
26874         </optional>   27331         </optional>
26875 </define>   27332 </define>
26876 15.36.9Page Visibility   27333 15.36.9Page Visibility
26877 A drawing page can be marked as hidden during a presentation by using the attribute presentation:visibility. A page marked with this attribute is only shown while editing the document but not during the presentation.   27334 A drawing page can be marked as hidden during a presentation by using the attribute presentation:visibility. A page marked with this attribute is only shown while editing the document but not during the presentation.
26878 <define name="style-drawing-page-properties-attlist"   27335 <define name="style-drawing-page-properties-attlist"
26879                  combine="interleave">   27336                  combine="interleave">
26880         <optional>   27337         <optional>
26881                 <attribute name="presentation:visibility">   27338                 <attribute name="presentation:visibility">
26882                         <choice>   27339                         <choice>
26883                                 <value>visible</value>   27340                                 <value>visible</value>
26884                                 <value>hidden</value>   27341                                 <value>hidden</value>
26885                         </choice>   27342                         </choice>
26886                 </attribute>   27343                 </attribute>
26887         </optional>   27344         </optional>
26888 </define>   27345 </define>
26889 15.36.10Sound   27346 15.36.10Sound
26890 Sound effects can be added to your presentation pages using the element presentation:sound. It must be included in the <style:presentation-properties> element.   27347 Sound effects can be added to your presentation pages using the element presentation:sound. It must be included in the <style:presentation-properties> element.
26891 <define name="style-drawing-page-properties-elements"   27348 <define name="style-drawing-page-properties-elements"
26892                  combine="interleave">   27349                  combine="interleave">
26893         <optional>   27350         <optional>
26894                 <ref name="presentation-sound"/>   27351                 <ref name="presentation-sound"/>
26895         </optional>   27352         </optional>
26896 </define>   27353 </define>
26897 15.36.11Background Size   27354 15.36.11Background Size
26898 The attribute draw:background-size specifies whether the background of a page is rendered on the full page or only inside the borders of the page.   27355 The attribute draw:background-size specifies whether the background of a page is rendered on the full page or only inside the borders of the page.
26899 <define name="style-drawing-page-properties-attlist"   27356 <define name="style-drawing-page-properties-attlist"
26900                  combine="interleave">   27357                  combine="interleave">
26901         <optional>   27358         <optional>
26902                 <attribute name="draw:background-size">   27359                 <attribute name="draw:background-size">
26903                         <choice>   27360                         <choice>
26904                                 <value>full</value>   27361                                 <value>full</value>
26905                                 <value>border</value>   27362                                 <value>border</value>
26906                         </choice>   27363                         </choice>
26907                 </attribute>   27364                 </attribute>
26908         </optional>   27365         </optional>
26909 </define>   27366 </define>
26910 15.36.12Background Objects Visible   27367 15.36.12Background Objects Visible
26911 The attribute presentation:background-objects-visible specifies whether or not to hide objects on the background of the master page when displaying the presentation page.   27368 The attribute presentation:background-objects-visible specifies whether or not to hide objects on the background of the master page when displaying the presentation page.
26912 <define name="style-drawing-page-properties-attlist"   27369 <define name="style-drawing-page-properties-attlist"
26913                  combine="interleave">   27370                  combine="interleave">
26914         <optional>   27371         <optional>
26915                 <attribute name="presentation:background-objects-visible">   27372                 <attribute name="presentation:background-objects-visible">
26916                         <ref name="boolean"/>   27373                         <ref name="boolean"/>
26917                 </attribute>   27374                 </attribute>
26918         </optional>   27375         </optional>
26919 </define>   27376 </define>
26920 15.36.13Background Visible   27377 15.36.13Background Visible
26921 The attribute presentation:background-visible specifies whether or not to hide the background of the master page when displaying the presentation page.   27378 The attribute presentation:background-visible specifies whether or not to hide the background of the master page when displaying the presentation page.
26922 <define name="style-drawing-page-properties-attlist"   27379 <define name="style-drawing-page-properties-attlist"
26923                  combine="interleave">   27380                  combine="interleave">
26924         <optional>   27381         <optional>
26925                 <attribute name="presentation:background-visible">   27382                 <attribute name="presentation:background-visible">
26926                         <ref name="boolean"/>   27383                         <ref name="boolean"/>
26927                 </attribute>   27384                 </attribute>
26928         </optional>   27385         </optional>
26929 </define>   27386 </define>
26930 15.36.14Display Header   27387 15.36.14Display Header
26931 The presentation:display-header attribute sets the visibility of presentation shapes from the master page with the presentation class header (see section 9.6.1).   27388 The presentation:display-header attribute sets the visibility of presentation shapes from the master page with the presentation class header (see section 9.6.1).
26932 <define name="style-drawing-page-properties-attlist" combine="interleave">   27389 <define name="style-drawing-page-properties-attlist" combine="interleave">
26933         <optional>   27390         <optional>
26934                 <attribute name="presentation:display-header">   27391                 <attribute name="presentation:display-header">
26935                         <ref name="boolean"/>   27392                         <ref name="boolean"/>
26936                 </attribute>   27393                 </attribute>
26937         </optional>   27394         </optional>
26938 </define>   27395 </define>
26939 15.36.15Display Footer   27396 15.36.15Display Footer
26940 The presentation:display-footer attribute sets the visibility of presentation shapes from the master page with the presentation class footer (see section 9.6.1).   27397 The presentation:display-footer attribute sets the visibility of presentation shapes from the master page with the presentation class footer (see section 9.6.1).
26941 <define name="style-drawing-page-properties-attlist" combine="interleave">   27398 <define name="style-drawing-page-properties-attlist" combine="interleave">
26942         <optional>   27399         <optional>
26943                 <attribute name="presentation:display-footer">   27400                 <attribute name="presentation:display-footer">
26944                         <ref name="boolean"/>   27401                         <ref name="boolean"/>
26945                 </attribute>   27402                 </attribute>
26946         </optional>   27403         </optional>
26947 </define>   27404 </define>
26948 15.36.16Display Page Number   27405 15.36.16Display Page Number
26949 The presentation:display-page-number attribute sets the visibility of presentation shapes from the master page with the presentation class page-number (see section 9.6.1).   27406 The presentation:display-page-number attribute sets the visibility of presentation shapes from the master page with the presentation class page-number (see section 9.6.1).
26950 <define name="style-drawing-page-properties-attlist" combine="interleave">   27407 <define name="style-drawing-page-properties-attlist" combine="interleave">
26951         <optional>   27408         <optional>
26952                 <attribute name="presentation:display-page-number">   27409                 <attribute name="presentation:display-page-number">
26953                         <ref name="boolean"/>   27410                         <ref name="boolean"/>
26954                 </attribute>   27411                 </attribute>
26955         </optional>   27412         </optional>
26956 </define>   27413 </define>
26957 15.36.17Display Date And Time   27414 15.36.17Display Date And Time
26958 The presentation:display-date-time attribute sets the visibility of presentation shapes from the master page with the presentation class date-time (see section 9.6.1).   27415 The presentation:display-date-time attribute sets the visibility of presentation shapes from the master page with the presentation class date-time (see section 9.6.1).
26959 <define name="style-drawing-page-properties-attlist" combine="interleave">   27416 <define name="style-drawing-page-properties-attlist" combine="interleave">
26960         <optional>   27417         <optional>
26961                 <attribute name="presentation:display-date-time">   27418                 <attribute name="presentation:display-date-time">
26962                         <ref name="boolean"/>   27419                         <ref name="boolean"/>
26963                 </attribute>   27420                 </attribute>
26964         </optional>   27421         </optional>
26965 </define>   27422 </define>
26966 16Data Types and Schema Definitions   27423 16Data Types and Schema Definitions
26967 16.1Data Types   27424 16.1Data Types
26968 The following data types are used within this specification:   27425 The following data types are used within this specification:
26969 W3C Schema data types as defined in [xmlschema-2] (referenced by <ref> elements named the same as the corresponding data types)   27426 W3C Schema data types as defined in [xmlschema-2] (referenced by <ref> elements named the same as the corresponding data types)
26970 string   27427 string
26971 date   27428 date
26972 time   27429 time
26973 dateTime   27430 dateTime
26974 duration   27431 duration
26975 integer   27432 integer
26976 nonNegativeInteger   27433 nonNegativeInteger
26977 positiveInteger   27434 positiveInteger
26978 double   27435 double
26979 anyURI   27436 anyURI
26980 base64Binary   27437 base64Binary
26981 ID   27438 ID
26982 IDREF   27439 IDREF
    -+ 27440 IDREFS
26983 Relax-NG definitions for the W3C schema data types: = 27441 Relax-NG definitions for the W3C schema data types:
26984 <define name="string">   27442 <define name="string">
26985         <data type="string"/>   27443         <data type="string"/>
26986 </define>   27444 </define>
26987 <define name="date">   27445 <define name="date">
26988         <data type="date"/>   27446         <data type="date"/>
26989 </define>   27447 </define>
26990 <define name="time">   27448 <define name="time">
26991         <data type="time"/>   27449         <data type="time"/>
26992 </define>   27450 </define>
26993 <define name="dateTime">   27451 <define name="dateTime">
26994         <data type="dateTime"/>   27452         <data type="dateTime"/>
26995 </define>   27453 </define>
26996 <define name="duration">   27454 <define name="duration">
26997         <data type="duration"/>   27455         <data type="duration"/>
26998 </define>   27456 </define>
26999 <define name="integer">   27457 <define name="integer">
27000         <data type="integer"/>   27458         <data type="integer"/>
27001 </define>   27459 </define>
27002 <define name="nonNegativeInteger">   27460 <define name="nonNegativeInteger">
27003         <data type="nonNegativeInteger"/>   27461         <data type="nonNegativeInteger"/>
27004 </define>   27462 </define>
27005 <define name="positiveInteger">   27463 <define name="positiveInteger">
27006         <data type="positiveInteger"/>   27464         <data type="positiveInteger"/>
27007 </define>   27465 </define>
27008 <define name="double">   27466 <define name="double">
27009         <data type="double"/>   27467         <data type="double"/>
27010 </define>   27468 </define>
27011 <define name="anyURI">   27469 <define name="anyURI">
27012         <data type="anyURI"/>   27470         <data type="anyURI"/>
27013 </define>   27471 </define>
27014 <define name="base64Binary">   27472 <define name="base64Binary">
27015         <data type="base64Binary"/>   27473         <data type="base64Binary"/>
27016 </define>   27474 </define>
27017 <define name="ID">   27475 <define name="ID">
27018         <data type="ID"/>   27476         <data type="ID"/>
27019 </define>   27477 </define>
27020 <define name="IDREF">   27478 <define name="IDREF">
27021         <data type="IDREF"/>   27479         <data type="IDREF"/>
27022 </define>   27480 </define>
    -+ 27481 <define name="IDREFS">
      27482         <data type="IDREFS"/>
      27483 </define>
27023 custom data types (usually specializations of W3C Schema data types) = 27484 custom data types (usually specializations of W3C Schema data types)
27024 boolean   27485 boolean
27025 A Boolean value may have either of the values true or false.   27486 A Boolean value may have either of the values true or false.
27026 dateOrDateTime   27487 dateOrDateTime
27027 A dateOrDateTime value is essentially an [xmlschema-2] date and time value with an optional time component. In other words, it may contain either a date, or a date and time value.   27488 A dateOrDateTime value is essentially an [xmlschema-2] date and time value with an optional time component. In other words, it may contain either a date, or a date and time value.
27028 timeOrDateTime   27489 timeOrDateTime
27029 A timeOrDateTime value is essentially an [xmlschema-2] date and time value with an optional date component. In other words, it may contain either a time, or a date and time value.   27490 A timeOrDateTime value is essentially an [xmlschema-2] date and time value with an optional date component. In other words, it may contain either a time, or a date and time value.
27030 language   27491 language
27031 A language is a the same as a W3C schema language data type, except that the values a described by [RFC3066] rather than [RFC1766]. <> 27492 A language is the same as an [xmlschema-2] language data type.
27032 countryCode = 27493 countryCode
27033 A countryCode is a country code in conformance with [RFC3066], as specified in [XSL].   27494 A countryCode is a country code in conformance with [RFC3066], as specified in [XSL].
27034 languageCode   27495 languageCode
27035 A languageCode is a language code in conformance with [RFC3066], as specified in [XSL].   27496 A languageCode is a language code in conformance with [RFC3066], as specified in [XSL].
27036 character   27497 character
27037 A character value is a string with only one character.   27498 A character value is a string with only one character.
27038 length   27499 length
27039 A (positive or negative) physical length, consisting of magnitude and unit, in  conformance with §5.9.11 of [XSL]. Valid lengths would be 2.54cm” or 1inch”. A number without unit is not a valid length, e.g., “3.2”. The support of pixel values is optional. <> 27500 A (positive or negative) physical length, consisting of magnitude and unit, in  conformance with §5.9.11 of [XSL]. Supported units are „cm“, „mm, „in“, „pt and „pc“. Applications shall support all these units. Applications may also support “px” (pixel). Where the description of an attribute explicitly states that pixel lengths are supported, application should support them.
      27501 Examples for valid lengths are “2.54cm” and “1in”.
27040 nonNegativeLength = 27502 nonNegativeLength
27041 Like length, except that the value must be zero or positive.   27503 Like length, except that the value must be zero or positive.
27042 positiveLength   27504 positiveLength
27043 Like length, except that the value must be positive.   27505 Like length, except that the value must be positive.
27044 percent   27506 percent
27045 (Positive or negative) percentage values in conformance with §5.9.11 of [XSL], e.g., “40%”.   27507 (Positive or negative) percentage values in conformance with §5.9.11 of [XSL], e.g., “40%”.
27046 relativeLength   27508 relativeLength
27047 A relative length is a positive integer, followed by a '*' character.   27509 A relative length is a positive integer, followed by a '*' character.
27048 coordinate   27510 coordinate
27049 Like a length, except that the physical length denotes a certain point.   27511 Like a length, except that the physical length denotes a certain point.
27050 distance   27512 distance
27051 Like a length, except that the physical length measures the distance between to points.   27513 Like a length, except that the physical length measures the distance between to points.
27052 color   27514 color
27053 A RGB color in conformance with §5.9.11 of [XSL], that is a RGB color in notation “#rrggbb”, where rr, gg and bb are hexadecimal digits.   27515 A RGB color in conformance with §5.9.11 of [XSL], that is a RGB color in notation “#rrggbb”, where rr, gg and bb are hexadecimal digits.
27054 styleName   27516 styleName
27055 A NCName as specified in [xmlschema-2] that is the name of a style.   27517 A NCName as specified in [xmlschema-2] that is the name of a style.
27056 StyleNameRef   27518 StyleNameRef
27057 A NCName as specified in [xmlschema-2] that is the name of a referenced style, or an empty value.   27519 A NCName as specified in [xmlschema-2] that is the name of a referenced style, or an empty value.
27058 StyleNames   27520 StyleNames
27059 A whitespace separated list of NCNames as specified in [xmlschema-2] that are the names of a styles.   27521 A whitespace separated list of NCNames as specified in [xmlschema-2] that are the names of a styles.
27060 VariableName   27522 VariableName
27061 A string specifying the name of a variable   27523 A string specifying the name of a variable
27062 formula   27524 formula
27063 A string containing a formula. Formulas don't have a predefined syntax, but should start with a namespace prefix that specifies the syntax used within the formula.   27525 A string containing a formula. Formulas don't have a predefined syntax, but should start with a namespace prefix that specifies the syntax used within the formula.
27064 valueType   27526 valueType
27065 A list of value types supported for certain generic values, such as “string” or “date”.   27527 A list of value types supported for certain generic values, such as “string” or “date”.
27066 targetFrameName   27528 targetFrameName
27067 The name of a target frame in conformance with §6.16 of [HTML4].   27529 The name of a target frame in conformance with §6.16 of [HTML4].
27068 points   27530 points
27069 A sequence of points. The points are two integer coordinates separated by a comma. The points are separated by white space.   27531 A sequence of points. The points are two integer coordinates separated by a comma. The points are separated by white space.
27070 pathData   27532 pathData
27071 Path data as described in §8 of [SVG].   27533 Path data as described in §8 of [SVG].
27072 vector3D   27534 vector3D
27073 A 3-element vector that is represented by floating point x,y,z coordinates. The coordinates are encapsulated between parentheses and the coordinates are noted in the order x, y and z, separated by whitespaces. If this value represents a normal, then it should be normalized.   27535 A 3-element vector that is represented by floating point x,y,z coordinates. The coordinates are encapsulated between parentheses and the coordinates are noted in the order x, y and z, separated by whitespaces. If this value represents a normal, then it should be normalized.
27074 Example: A directional vector with the coordinates x = 0.5, y = 0 and z = 1 looks like "(0.5 0 1)".   27536 Example: A directional vector with the coordinates x = 0.5, y = 0 and z = 1 looks like "(0.5 0 1)".
27075 namespacedToken   27537 namespacedToken
27076 A namespaced token is a token id that makes use of the XML namespace mechanism for modularization purposes.   27538 A namespaced token is a token id that makes use of the XML namespace mechanism for modularization purposes.
27077 Example: The predefined chart types make use of the chart namespace urn:oasis:names:tc:opendocument:xmlns:chart:1.0. Assuming a namespace declaration of xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0", a bar chart would be identified as chart:bar.   27539 Example: The predefined chart types make use of the chart namespace urn:oasis:names:tc:opendocument:xmlns:chart:1.0. Assuming a namespace declaration of xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0", a bar chart would be identified as chart:bar.
27078 Relax-NG definitions for custom data types:   27540 Relax-NG definitions for custom data types:
27079 <define name="boolean">   27541 <define name="boolean">
27080         <choice>   27542         <choice>
27081                 <value>true</value>   27543                 <value>true</value>
27082                 <value>false</value>   27544                 <value>false</value>
27083         </choice>   27545         </choice>
27084 </define>   27546 </define>
27085 <define name="dateOrDateTime">   27547 <define name="dateOrDateTime">
27086         <choice>   27548         <choice>
27087                 <data type="date"/>   27549                 <data type="date"/>
27088                 <data type="dateTime"/>   27550                 <data type="dateTime"/>
27089         </choice>   27551         </choice>
27090 </define>   27552 </define>
27091 <define name="timeOrDateTime">   27553 <define name="timeOrDateTime">
27092         <choice>   27554         <choice>
27093                 <data type="time"/>   27555                 <data type="time"/>
27094                 <data type="dateTime"/>   27556                 <data type="dateTime"/>
27095         </choice>   27557         </choice>
27096 </define>   27558 </define>
27097 <define name="language">   27559 <define name="language">
27098         <data type="token"> <> 27560         <data type="language"/>
27099                 <param name="pattern">[A-Za-z]{1,8}(-[A-Za-z0-9]{1,8})*</param>      
27100         </data>      
27101 </define> = 27561 </define>
27102 <define name="countryCode">   27562 <define name="countryCode">
27103         <data type="token">   27563         <data type="token">
27104                 <param name="pattern">[A-Za-z0-9]{1,8}</param>   27564                 <param name="pattern">[A-Za-z0-9]{1,8}</param>
27105         </data>   27565         </data>
27106 </define>   27566 </define>
27107 <define name="languageCode">   27567 <define name="languageCode">
27108         <data type="token">   27568         <data type="token">
27109                 <param name="pattern">[A-Za-z]{1,8}</param>   27569                 <param name="pattern">[A-Za-z]{1,8}</param>
27110         </data>   27570         </data>
27111 </define>   27571 </define>
27112 <define name="character">   27572 <define name="character">
27113         <data type="string">   27573         <data type="string">
27114                 <param name="length">1</param>   27574                 <param name="length">1</param>
27115         </data>   27575         </data>
27116 </define>   27576 </define>
27117 <define name="length">   27577 <define name="length">
27118         <data type="string">   27578         <data type="string">
27119                 <param name="pattern">-?([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)|(px))</param>   27579                 <param name="pattern">-?([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)|(px))</param>
27120     27580  
27121         </data>   27581         </data>
27122 </define>   27582 </define>
27123 <define name="nonNegativeLength">   27583 <define name="nonNegativeLength">
27124         <data type="string">   27584         <data type="string">
27125                 <param name="pattern">([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)|(px))</param>   27585                 <param name="pattern">([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)|(px))</param>
27126     27586  
27127         </data>   27587         </data>
27128 </define>   27588 </define>
27129 <define name="positiveLength">   27589 <define name="positiveLength">
27130         <data type="string">   27590         <data type="string">
27131                 <!-- A zero value is not allowed here --> <> 27591                 <param name="pattern">([0-9]*[1-9][0-9]*(\.[0-9]*)?|0+\.[0-9]*[1-9][0-9]*|\.[0-9]*[1-9][0-9]*)((cm)|(mm)|(in)|(pt)|(pc)|(px))</param>
27132                 <param name="pattern">([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)|(px))</param>      
27133   = 27592  
27134         </data>   27593         </data>
27135 </define>   27594 </define>
27136 <define name="percent">   27595 <define name="percent">
27137         <data type="string">   27596         <data type="string">
27138                 <param name="pattern">-?([0-9]+(\.[0-9]*)?|\.[0-9]+)%</param>   27597                 <param name="pattern">-?([0-9]+(\.[0-9]*)?|\.[0-9]+)%</param>
27139         </data>   27598         </data>
27140 </define>   27599 </define>
27141 <define name="relativeLength">   27600 <define name="relativeLength">
27142         <data type="string">   27601         <data type="string">
27143                 <param name="pattern">[0-9]+\*</param>   27602                 <param name="pattern">[0-9]+\*</param>
27144         </data>   27603         </data>
27145 </define>   27604 </define>
27146 <define name="coordinate">   27605 <define name="coordinate">
27147         <ref name="length"/>   27606         <ref name="length"/>
27148 </define>   27607 </define>
27149 <define name="distance">   27608 <define name="distance">
27150         <ref name="length"/>   27609         <ref name="length"/>
27151 </define>   27610 </define>
27152 <define name="color">   27611 <define name="color">
27153         <data type="string">   27612         <data type="string">
27154                 <param name="pattern">#[0-9a-fA-F]{6}</param>   27613                 <param name="pattern">#[0-9a-fA-F]{6}</param>
27155         </data>   27614         </data>
27156 </define>   27615 </define>
27157 <define name="styleName">   27616 <define name="styleName">
27158         <data type="NCName"/>   27617         <data type="NCName"/>
27159 </define>   27618 </define>
27160 <define name="styleNameRef">   27619 <define name="styleNameRef">
27161         <choice>   27620         <choice>
27162                 <data type="NCName"/>   27621                 <data type="NCName"/>
27163                 <empty/>   27622                 <empty/>
27164         </choice>   27623         </choice>
27165 </define>   27624 </define>
27166 <define name="styleNameRefs">   27625 <define name="styleNameRefs">
27167         <list>   27626         <list>
27168                 <zeroOrMore>   27627                 <zeroOrMore>
27169                         <data type="NCName"/>   27628                         <data type="NCName"/>
27170                 </zeroOrMore>   27629                 </zeroOrMore>
27171         </list>   27630         </list>
27172 </define>   27631 </define>
27173 <define name="variableName">   27632 <define name="variableName">
27174         <data type="string"/>   27633         <data type="string"/>
27175 </define>   27634 </define>
27176 <define name="formula">   27635 <define name="formula">
27177         <!-- A formula should start with a namespace prefix, -->   27636         <!-- A formula should start with a namespace prefix, -->
27178         <!-- but has no restrictions-->   27637         <!-- but has no restrictions-->
27179         <data type="string"/>   27638         <data type="string"/>
27180 </define>   27639 </define>
27181     27640  
27182 <define name="targetFrameName">   27641 <define name="targetFrameName">
27183         <choice>   27642         <choice>
27184                 <value>_self</value>   27643                 <value>_self</value>
27185                 <value>_blank</value>   27644                 <value>_blank</value>
27186                 <value>_parent</value>   27645                 <value>_parent</value>
27187                 <value>_top</value>   27646                 <value>_top</value>
27188                 <ref name="string"/>   27647                 <ref name="string"/>
27189         </choice>   27648         </choice>
27190 </define>   27649 </define>
27191     27650  
27192 <define name="valueType">   27651 <define name="valueType">
27193         <choice>   27652         <choice>
27194                 <value>float</value>   27653                 <value>float</value>
27195                 <value>time</value>   27654                 <value>time</value>
27196                 <value>date</value>   27655                 <value>date</value>
27197                 <value>percentage</value>   27656                 <value>percentage</value>
27198                 <value>currency</value>   27657                 <value>currency</value>
27199                 <value>boolean</value>   27658                 <value>boolean</value>
27200                 <value>string</value>   27659                 <value>string</value>
27201         </choice>   27660         </choice>
27202 </define>   27661 </define>
27203     27662  
27204 <define name="points">   27663 <define name="points">
27205         <data type="string">   27664         <data type="string">
27206                 <param name="pattern">-?[0-9]+,-?[0-9]+([ ]+-?[0-9]+,-?[0-9]+)*</param>   27665                 <param name="pattern">-?[0-9]+,-?[0-9]+([ ]+-?[0-9]+,-?[0-9]+)*</param>
27207         </data>   27666         </data>
27208 </define>   27667 </define>
27209 <define name="pathData">   27668 <define name="pathData">
27210         <data type="string"/>   27669         <data type="string"/>
27211 </define>   27670 </define>
27212     27671  
27213 <define name="vector3D">   27672 <define name="vector3D">
27214         <data type="string">   27673         <data type="string">
27215                 <param name="pattern">\([ ]*-?([0-9]+(\.[0-9]*)?|\.[0-9]+)([ ]+-?([0-9]+(\.[0-9]*)?|\.[0-9]+)){2}[ ]*\)</param>   27674                 <param name="pattern">\([ ]*-?([0-9]+(\.[0-9]*)?|\.[0-9]+)([ ]+-?([0-9]+(\.[0-9]*)?|\.[0-9]+)){2}[ ]*\)</param>
27216     27675  
27217         </data>   27676         </data>
27218 </define>   27677 </define>
27219     27678  
27220 <define name="namespacedToken">   27679 <define name="namespacedToken">
27221         <data type="string">   27680         <data type="string">
27222                 <param name="pattern">[0-9a-zA-Z_]+:[0-9a-zA-Z._\-]+</param>   27681                 <param name="pattern">[0-9a-zA-Z_]+:[0-9a-zA-Z._\-]+</param>
27223         </data>   27682         </data>
27224 </define>   27683 </define>
27225 16.2Other Definitions   27684 16.2Other Definitions
27226 To provide for extensibility of the format, inclusion of custom content is allowed on several occasions. The following definitions allow for inclusion of arbitrary attributes or elements (with arbitrary content models).   27685 To provide for extensibility of the format, inclusion of custom content is allowed on several occasions. The following definitions allow for inclusion of arbitrary attributes or elements (with arbitrary content models).
27227 <define name="anyAttListOrElements">   27686 <define name="anyAttListOrElements">
27228         <zeroOrMore>   27687         <zeroOrMore>
27229                 <attribute>   27688                 <attribute>
27230                         <anyName/>   27689                         <anyName/>
27231                         <text/>   27690                         <text/>
27232                 </attribute>   27691                 </attribute>
27233         </zeroOrMore>   27692         </zeroOrMore>
27234         <ref name="anyElements"/>   27693         <ref name="anyElements"/>
27235 </define>   27694 </define>
27236 <define name="anyElements">   27695 <define name="anyElements">
27237         <zeroOrMore>   27696         <zeroOrMore>
27238                 <element>   27697                 <element>
27239                         <anyName/>   27698                         <anyName/>
27240                         <mixed>   27699                         <mixed>
27241                                 <ref name="anyAttListOrElements"/>   27700                                 <ref name="anyAttListOrElements"/>
27242                         </mixed>   27701                         </mixed>
27243                 </element>   27702                 </element>
27244         </zeroOrMore>   27703         </zeroOrMore>
27245 </define>   27704 </define>
27246 16.3Relax-NG Schema Suffix   27705 16.3Relax-NG Schema Suffix
27247 Suffix for the normative Relax-NG schema:   27706 Suffix for the normative Relax-NG schema:
27248 </grammar>   27707 </grammar>
27249 17Packages   27708 17Packages
27250 This chapter describes the package format that optionally can be used in OpenDocument. It contains the following sections:   27709 This chapter describes the package format that optionally can be used in OpenDocument. It contains the following sections:
27251 Introduction   27710 Introduction
27252 Zip File Structure   27711 Zip File Structure
27253 Encryption   27712 Encryption
27254 Preview Image   27713 Preview Image
27255 Manifest File   27714 Manifest File
27256 17.1Introduction   27715 17.1Introduction
27257 As XML has no native support for binary objects such as images, [OLE] objects, or other media types, and because uncompressed XML files can get very large,  OpenDocument uses a package file to store the XML content of a document together with its associated binary data, and to optionally compress the XML content. This package is a standard Zip file, whose structure is discussed below.   27716 As XML has no native support for binary objects such as images, [OLE] objects, or other media types, and because uncompressed XML files can get very large,  OpenDocument uses a package file to store the XML content of a document together with its associated binary data, and to optionally compress the XML content. This package is a standard Zip file, whose structure is discussed below.
27258 Information about the files contained in the package is stored in an XML file called the manifest file. The manifest  file is always stored at the pathname META-INF/manifest.xml. The main pieces of information stored in the manifest are as follows:   27717 Information about the files contained in the package is stored in an XML file called the manifest file. The manifest  file is always stored at the pathname META-INF/manifest.xml. The main pieces of information stored in the manifest are as follows:
27259 A list of all of the files in the package.   27718 A list of all of the files in the package.
27260 The media type of each file in the package.   27719 The media type of each file in the package.
27261 If a file stored in the package is encrypted, the information required to decrypt the file is stored in the manifest.   27720 If a file stored in the package is encrypted, the information required to decrypt the file is stored in the manifest.
27262 17.2Zip File Structure   27721 17.2Zip File Structure
27263 A Zip file starts with a sequence of files, each of which can be compressed or stored in raw format. Each file has a local header immediately before its data, which contains most of the information about the file, including time-stamps, compression method and file name. The compressed file contents immediately follow, and are terminated by an optional data descriptor. The data descriptor contains the CRC and compressed size of the file, which are frequently not available when writing the local file header. If these details were included, the data descriptor can be skipped.   27722 A Zip file starts with a sequence of files, each of which can be compressed or stored in raw format. Each file has a local header immediately before its data, which contains most of the information about the file, including time-stamps, compression method and file name. The compressed file contents immediately follow, and are terminated by an optional data descriptor. The data descriptor contains the CRC and compressed size of the file, which are frequently not available when writing the local file header. If these details were included, the data descriptor can be skipped.
27264 Each file in the archive is laid down sequentially in this format, followed by a central directory at the end of the Zip archive. The central directory is a contiguous set of directory entries, each of which contains all the information in the local file header, plus extras such as file comments and attributes. Most importantly, the central directory contains pointers to the position of each file in the archive, which makes navigation of the Zip file quick and easy.   27723 Each file in the archive is laid down sequentially in this format, followed by a central directory at the end of the Zip archive. The central directory is a contiguous set of directory entries, each of which contains all the information in the local file header, plus extras such as file comments and attributes. Most importantly, the central directory contains pointers to the position of each file in the archive, which makes navigation of the Zip file quick and easy.
27265 For more details about the Zip file format, see [ZIP].   27724 For more details about the Zip file format, see [ZIP].
27266 17.3Encryption   27725 17.3Encryption
27267 The encryption process takes place in the following multiple stages:   27726 The encryption process takes place in the following multiple stages:
27268 1.A 20-byte SHA1 digest of the user entered password is created and passed to the package component.   27727 1.A 20-byte SHA1 digest of the user entered password is created and passed to the package component.
27269 2.The package component initializes a random number generator with the current time.   27728 2.The package component initializes a random number generator with the current time.
27270 3.The random number generator is used to generate a random 8-byte initialization vector and 16-byte salt for each file.   27729 3.The random number generator is used to generate a random 8-byte initialization vector and 16-byte salt for each file.
27271 4.This salt is used together with the 20-byte SHA1 digest of the password to derive a unique 128-bit key for each file. The algorithm used to derive the key is PBKDF2 using HMAC-SHA-1 (see [RFC2898]) with an iteration count of 1024.   27730 4.This salt is used together with the 20-byte SHA1 digest of the password to derive a unique 128-bit key for each file. The algorithm used to derive the key is PBKDF2 using HMAC-SHA-1 (see [RFC2898]) with an iteration count of 1024.
27272 5.The derived key is used together with the initialization vector to encrypt the file using the Blowfish algorithm in cipher-feedback (CFB) mode.   27731 5.The derived key is used together with the initialization vector to encrypt the file using the Blowfish algorithm in cipher-feedback (CFB) mode.
27273 Each file that is encrypted is compressed before being encrypted. To allow the contents of the package file to be verified, it is necessary that encrypted files are flagged as 'STORED' rather than 'DEFLATED'. As entries which are 'STORED' must have their size equal to the compressed size, it is necessary to store the uncompressed size in the manifest. The compressed size is stored in both the local file header and central directory record of the Zip file.   27732 Each file that is encrypted is compressed before being encrypted. To allow the contents of the package file to be verified, it is necessary that encrypted files are flagged as 'STORED' rather than 'DEFLATED'. As entries which are 'STORED' must have their size equal to the compressed size, it is necessary to store the uncompressed size in the manifest. The compressed size is stored in both the local file header and central directory record of the Zip file.
27274 17.4MIME Type Stream   27733 17.4MIME Type Stream
27275 If a MIME type for a document that makes use of packages is existing, then the package should contain a stream called "mimetype". This stream should be first stream of the package's zip file, it shall not be compressed, and it shall not use an 'extra field' in its header (see [ZIP]).   27734 If a MIME type for a document that makes use of packages is existing, then the package should contain a stream called "mimetype". This stream should be first stream of the package's zip file, it shall not be compressed, and it shall not use an 'extra field' in its header (see [ZIP]).
27276 The purpose is to allow packaged files to be identified through 'magic number' mechanisms, such as Unix's file/magic utility. If a ZIP file contains a stream at the beginning of the file that is uncompressed, and has no extra data in the header, then the stream name and the stream content can be found at fixed positions. More specifically, one will find:   27735 The purpose is to allow packaged files to be identified through 'magic number' mechanisms, such as Unix's file/magic utility. If a ZIP file contains a stream at the beginning of the file that is uncompressed, and has no extra data in the header, then the stream name and the stream content can be found at fixed positions. More specifically, one will find:
27277 a string 'PK' at position 0 of all zip files   27736 a string 'PK' at position 0 of all zip files
27278 a string 'mimetype' at position 30 of all such package files   27737 a string 'mimetype' at position 30 of all such package files
27279 the mimetype itself at position 38 of such a package.   27738 the mimetype itself at position 38 of such a package.
27280 17.5Usage of IRIs Within Packages   27739 17.5Usage of IRIs Within Packages
27281 Within a file that is contained in a package, relative IRIs are used to reference other sub files of the package, but can also be used to reference files within the file system.   27740 Within a file that is contained in a package, relative IRIs are used to reference other sub files of the package, but can also be used to reference files within the file system.
27282 The following restrictions exist for IRIs that are used within a package:   27741 The following restrictions exist for IRIs that are used within a package:
27283 only sub files within the same package can be referenced. <> 27742 only sub files within the same package and files outside the package can be referenced.
27284 IRIs that reference a sub file of a package shall be relative, and they shall not contain paths that are not within the package. This especially means that sub files of a package shall not be referenced by an absolute IRI. = 27743 IRIs that reference a sub file of a package shall be relative, and they shall not contain paths that are not within the package. This especially means that sub files of a package shall not be referenced by an absolute IRI.
27285 sub file of a package can not be referenced from outside the package, for instance from the file system or another package.   27744 sub file of a package can not be referenced from outside the package, for instance from the file system or another package.
27286 A relative-path reference (as described in §6.5 of [RFC3987]) that occurs in a file that is contained in a package has to be resolved exactly as it would be resolved if the whole package gets unzipped into a directory at its current location. The base IRI for resolving relative-path references is the one that has to be used to retrieve the (unzipped) file that contains the relative-path reference.   27745 A relative-path reference (as described in §6.5 of [RFC3987]) that occurs in a file that is contained in a package has to be resolved exactly as it would be resolved if the whole package gets unzipped into a directory at its current location. The base IRI for resolving relative-path references is the one that has to be used to retrieve the (unzipped) file that contains the relative-path reference.
27287 All other kinds of IRI references, namely the ones that start with a protocol (like http:), an authority (i.e., //) or an absolute-path (i.e., /) do not need any special processing. This especially means that absolute-paths do not reference files inside the package, but within the hierarchy the package is contained in, for instance the file system. IRI references inside a package may leave the package, but once they have left the package, they never can return into the package or another one.   27746 All other kinds of IRI references, namely the ones that start with a protocol (like http:), an authority (i.e., //) or an absolute-path (i.e., /) do not need any special processing. This especially means that absolute-paths do not reference files inside the package, but within the hierarchy the package is contained in, for instance the file system. IRI references inside a package may leave the package, but once they have left the package, they never can return into the package or another one.
27288 17.6Preview Image   27747 17.6Preview Image
27289 A thumbnail representation of a document should be generated by default when the file is saved. It should be a representation of the first page, first sheet, etc. of the document. For maximum reusability of the thumbnails they have to be generated without any effects, surrounding frames, or borders. Such effects might interfere with effects added to the thumbnails by the different file system explorers or may not be desired at all for certain use cases.   27748 A thumbnail representation of a document should be generated by default when the file is saved. It should be a representation of the first page, first sheet, etc. of the document. For maximum reusability of the thumbnails they have to be generated without any effects, surrounding frames, or borders. Such effects might interfere with effects added to the thumbnails by the different file system explorers or may not be desired at all for certain use cases.
27290 The thumbnail must be saved as “thumbnail.png” in a separate folder named “Thumbnails”.   27749 The thumbnail must be saved as “thumbnail.png” in a separate folder named “Thumbnails”.
27291 The “Thumbnails” folder must not get a media type in the manifest.xml file, since it is not actually part of the document.   27750 The “Thumbnails” folder must not get a media type in the manifest.xml file, since it is not actually part of the document.
27292 Encrypted files are intended to be unreadable for unauthorized users that's why a thumbnail for such files must not be generated. Instead of saving a thumbnail of the first page a replacement representation that doesn't depend on the contents of the document is saved for encrypted files which makes obvious that the corresponding file is encrypted.   27751 Encrypted files are intended to be unreadable for unauthorized users that's why a thumbnail for such files must not be generated. Instead of saving a thumbnail of the first page a replacement representation that doesn't depend on the contents of the document is saved for encrypted files which makes obvious that the corresponding file is encrypted.
27293 In order to conform to the Thumbnail Managing Standard (TMS) at www.freedesktop.org, thumbnails must be saved as 24bit, non-interlaced PNG image with full alpha transparency. The required size for the thumbnails is 128x128 pixel.   27752 In order to conform to the Thumbnail Managing Standard (TMS) at www.freedesktop.org, thumbnails must be saved as 24bit, non-interlaced PNG image with full alpha transparency. The required size for the thumbnails is 128x128 pixel.
27294 17.7Manifest File   27753 17.7Manifest File
27295 The elements and attributes in the manifest file are in the namespace: urn:oasis:names:tc:opendocument:xmlns:manifest:1.0.   27754 The elements and attributes in the manifest file are in the namespace: urn:oasis:names:tc:opendocument:xmlns:manifest:1.0.
27296 17.7.1Relax-NG Schema   27755 17.7.1Relax-NG Schema
27297 The normative XML Schema for OpenDocument Manifest files is embedded within this specification. It can be obtained from the specification document by concatenating all schema fragments contained in this chapters. All schema fragments have a gray background color and line numbers.   27756 The normative XML Schema for OpenDocument Manifest files is embedded within this specification. It can be obtained from the specification document by concatenating all schema fragments contained in this chapters. All schema fragments have a gray background color and line numbers.
27298 The schema language used within this specification is Relax-NG (see [RNG]).   27757 The schema language used within this specification is Relax-NG (see [RNG]).
27299 Prefix for the normative Relax-NG Manifest schema:   27758 Prefix for the normative Relax-NG Manifest schema:
27300 <?xml version="1.0" encoding="UTF-8"?>   27759 <?xml version="1.0" encoding="UTF-8"?>
27301 <!--   27760 <!--
27302         OASIS OpenDocument v1.0 (Second Edition) <> 27761         OASIS OpenDocument v1.1
27303         Committee Specification1, 19 Jul 2006   27762         OASIS Standard, 1 Feb 2007
27304         Relax-NG Manifest Schema = 27763         Relax-NG Manifest Schema
27305     27764  
27306         $Id$   27765         $Id$
27307     27766  
27308         © 2002-2005 OASIS Open <> 27767         © 2002-2007 OASIS Open
27309         © 1999-2005 Sun Microsystems, Inc.   27768         © 1999-2007 Sun Microsystems, Inc.
27310 --> = 27769 -->
27311     27770  
27312 <grammar   27771 <grammar
27313         xmlns="http://relaxng.org/ns/structure/1.0"   27772         xmlns="http://relaxng.org/ns/structure/1.0"
27314     27773  
27315         datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"   27774         datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
27316     27775  
27317         xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0">   27776         xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0">
27318 17.7.2Manifest Root Element   27777 17.7.2Manifest Root Element
27319 The root element is called manifest. The root element contains one fixed attribute which specifies the namespace as described above and multiple <manifest:file-entry> elements, each of which describes a single file in the package.   27778 The root element is called manifest. The root element contains one fixed attribute which specifies the namespace as described above and multiple <manifest:file-entry> elements, each of which describes a single file in the package.
27320 <define name="manifest">   27779 <define name="manifest">
27321         <element name="manifest:manifest">   27780         <element name="manifest:manifest">
27322                 <oneOrMore>   27781                 <oneOrMore>
27323                         <ref name="file-entry"/>   27782                         <ref name="file-entry"/>
27324                 </oneOrMore>   27783                 </oneOrMore>
27325         </element>   27784         </element>
27326 </define>   27785 </define>
27327     27786  
27328 <start>   27787 <start>
27329         <choice>   27788         <choice>
27330                 <ref name="manifest"/>   27789                 <ref name="manifest"/>
27331         </choice>   27790         </choice>
27332 </start>   27791 </start>
27333 17.7.3File Entry   27792 17.7.3File Entry
27334 The <manifest:file-entry> element represents a single file within the package, and stores the files location in the package, the mime-type of the file and optionally the data required to decrypt this file.   27793 The <manifest:file-entry> element represents a single file within the package, and stores the files location in the package, the mime-type of the file and optionally the data required to decrypt this file.
27335 Directories only receive <manifest:file-entry> entries if they have inherent semantics. For example, a directory that constitutes a sub-document referenced as an object from within the main document would contain a <manifest:file-entry> with a suitable media type. A directory for administrative or convenience purposes, such as a directory that contains various image files, would not receive an entry in the manifest file.   27794 Directories only receive <manifest:file-entry> entries if they have inherent semantics. For example, a directory that constitutes a sub-document referenced as an object from within the main document would contain a <manifest:file-entry> with a suitable media type. A directory for administrative or convenience purposes, such as a directory that contains various image files, would not receive an entry in the manifest file.
27336 <define name="file-entry">   27795 <define name="file-entry">
27337         <element name="manifest:file-entry">   27796         <element name="manifest:file-entry">
27338                 <ref name="file-entry-attlist"/>   27797                 <ref name="file-entry-attlist"/>
27339                 <optional>   27798                 <optional>
27340                         <ref name="encryption-data"/>   27799                         <ref name="encryption-data"/>
27341                 </optional>   27800                 </optional>
27342         </element>   27801         </element>
27343 </define>   27802 </define>
27344 The attributes associated with a <manifest:file-entry> are as follows:   27803 The attributes associated with a <manifest:file-entry> are as follows:
27345 Full path   27804 Full path
27346 Size   27805 Size
27347 Media type   27806 Media type
27348 Full Path   27807 Full Path
27349 The manifest:full-path attribute describes the location of the file within the package.   27808 The manifest:full-path attribute describes the location of the file within the package.
27350 <define name="file-entry-attlist" combine="interleave">   27809 <define name="file-entry-attlist" combine="interleave">
27351         <attribute name="manifest:full-path">   27810         <attribute name="manifest:full-path">
27352                 <data type="string"/>   27811                 <data type="string"/>
27353         </attribute>   27812         </attribute>
27354 </define>   27813 </define>
27355 Size   27814 Size
27356 The manifest:size attribute is only present if the file is stored in an encrypted format. The reason why this attribute is required is explained in section 17.3. This attribute is only used  for encrypted files.   27815 The manifest:size attribute is only present if the file is stored in an encrypted format. The reason why this attribute is required is explained in section 17.3. This attribute is only used  for encrypted files.
27357 <define name="file-entry-attlist" combine="interleave">   27816 <define name="file-entry-attlist" combine="interleave">
27358         <optional>   27817         <optional>
27359                 <attribute name="manifest:size">   27818                 <attribute name="manifest:size">
27360                         <data type="nonNegativeInteger"/>   27819                         <data type="nonNegativeInteger"/>
27361                 </attribute>   27820                 </attribute>
27362         </optional>   27821         </optional>
27363 </define>   27822 </define>
27364 Media Type   27823 Media Type
27365 The manifest:media-type attribute specifies the mime type of the specified file. For a full list of mime types see http://www.isi.edu/in-notes/iana/assignments/media-types/media-types. As an example, all XML streams have the media type "text/xml".   27824 The manifest:media-type attribute specifies the mime type of the specified file. For a full list of mime types see http://www.isi.edu/in-notes/iana/assignments/media-types/media-types. As an example, all XML streams have the media type "text/xml".
27366 <define name="file-entry-attlist" combine="interleave">   27825 <define name="file-entry-attlist" combine="interleave">
27367         <attribute name="manifest:media-type">   27826         <attribute name="manifest:media-type">
27368                 <data type="string"/>   27827                 <data type="string"/>
27369         </attribute>   27828         </attribute>
27370 </define>   27829 </define>
27371 17.7.4Encryption Data   27830 17.7.4Encryption Data
27372 The <manifest:encryption-data> element contains all of the information required to decrypt the file.   27831 The <manifest:encryption-data> element contains all of the information required to decrypt the file.
27373 <define name="encryption-data">   27832 <define name="encryption-data">
27374         <element name="manifest:encryption-data">   27833         <element name="manifest:encryption-data">
27375                 <ref name="encryption-data-attlist"/>   27834                 <ref name="encryption-data-attlist"/>
27376                 <ref name="algorithm"/>   27835                 <ref name="algorithm"/>
27377                 <ref name="key-derivation"/>   27836                 <ref name="key-derivation"/>
27378         </element>   27837         </element>
27379 </define>   27838 </define>
27380 The <encryption-data> element contains the following elements:   27839 The <encryption-data> element contains the following elements:
27381 Algorithm   27840 Algorithm
27382 Key Derivation   27841 Key Derivation
27383 Checksum Type   27842 Checksum Type
27384 The manifest:checksum-type attribute specifies the name of digest algorithm that can be used to check password correctness. Currently, the only supported digest algorithm is SHA1.   27843 The manifest:checksum-type attribute specifies the name of digest algorithm that can be used to check password correctness. Currently, the only supported digest algorithm is SHA1.
27385 <define name="encryption-data-attlist" combine="interleave">   27844 <define name="encryption-data-attlist" combine="interleave">
27386         <attribute name="manifest:checksum-type">   27845         <attribute name="manifest:checksum-type">
27387                 <data type="string"/>   27846                 <data type="string"/>
27388         </attribute>   27847         </attribute>
27389 </define>   27848 </define>
27390 Checksum   27849 Checksum
27391 The manifest:checksum attribute specifies the digest in BASE64 encoding  (as defined in [RFC2045]) that can be used to detect password correctness as specified within manifest:checksum-type attribute.   27850 The manifest:checksum attribute specifies the digest in BASE64 encoding  (as defined in [RFC2045]) that can be used to detect password correctness as specified within manifest:checksum-type attribute.
27392 <define name="encryption-data-attlist" combine="interleave">   27851 <define name="encryption-data-attlist" combine="interleave">
27393         <attribute name="manifest:checksum">   27852         <attribute name="manifest:checksum">
27394                 <data type="base64Binary"/>   27853                 <data type="base64Binary"/>
27395         </attribute>   27854         </attribute>
27396 </define>   27855 </define>
27397 17.7.5Algorithm   27856 17.7.5Algorithm
27398 The <manifest:algorithm> element contains information about the algorithm used to encrypt the data.   27857 The <manifest:algorithm> element contains information about the algorithm used to encrypt the data.
27399 <define name="algorithm">   27858 <define name="algorithm">
27400         <element name="manifest:algorithm">   27859         <element name="manifest:algorithm">
27401                 <ref name="algorithm-attlist"/>   27860                 <ref name="algorithm-attlist"/>
27402                 <empty/>   27861                 <empty/>
27403         </element>   27862         </element>
27404 </define>   27863 </define>
27405 The attributes associated with <manifest:algorithm> are as follows:   27864 The attributes associated with <manifest:algorithm> are as follows:
27406 Algorithm name   27865 Algorithm name
27407 Initialization vector   27866 Initialization vector
27408 Algorithm Name   27867 Algorithm Name
27409 The manifest:algorithm-name attribute specifies the name of the algorithm used to encrypt the file, and also specifies in which mode this algorithm was used. Currently, the only supports algorithm is the Blowfish algorithm in CFB mode.   27868 The manifest:algorithm-name attribute specifies the name of the algorithm used to encrypt the file, and also specifies in which mode this algorithm was used. Currently, the only supports algorithm is the Blowfish algorithm in CFB mode.
27410 <define name="algorithm-attlist" combine="interleave">   27869 <define name="algorithm-attlist" combine="interleave">
27411         <attribute name="manifest:algorithm-name">   27870         <attribute name="manifest:algorithm-name">
27412                 <data type="string"/>   27871                 <data type="string"/>
27413         </attribute>   27872         </attribute>
27414 </define>   27873 </define>
27415 Initialization Vector   27874 Initialization Vector
27416 The manifest:initialisation-vector attribute specifies the 8 bytes used as an initialization vector to the stream cipher. The initialization vector is an 8 byte binary sequence, and so is encoded in BASE64 (as defined in [RFC2045]) when written to the manifest file.   27875 The manifest:initialisation-vector attribute specifies the 8 bytes used as an initialization vector to the stream cipher. The initialization vector is an 8 byte binary sequence, and so is encoded in BASE64 (as defined in [RFC2045]) when written to the manifest file.
27417 <define name="algorithm-attlist" combine="interleave">   27876 <define name="algorithm-attlist" combine="interleave">
27418         <attribute name="manifest:initialisation-vector">   27877         <attribute name="manifest:initialisation-vector">
27419                 <data type="base64Binary"/>   27878                 <data type="base64Binary"/>
27420         </attribute>   27879         </attribute>
27421 </define>   27880 </define>
27422 17.7.6Key Derivation   27881 17.7.6Key Derivation
27423 The <manifest:key-derivation> element contains the information that was used to derive the encryption key for this file from the user specified password.   27882 The <manifest:key-derivation> element contains the information that was used to derive the encryption key for this file from the user specified password.
27424 <define name="key-derivation">   27883 <define name="key-derivation">
27425         <element name="manifest:key-derivation">   27884         <element name="manifest:key-derivation">
27426                 <ref name="key-derivation-attlist"/>   27885                 <ref name="key-derivation-attlist"/>
27427                 <empty/>   27886                 <empty/>
27428         </element>   27887         </element>
27429 </define>   27888 </define>
27430 The attributes associated with the <manifest:key-derivation> element are as follows:   27889 The attributes associated with the <manifest:key-derivation> element are as follows:
27431 Key derivation name   27890 Key derivation name
27432 Salt   27891 Salt
27433 Iteration count   27892 Iteration count
27434 Key Derivation Name   27893 Key Derivation Name
27435 The manifest:key-derivation-name attribute specifies the name of the algorithm used to derive the name. At this time, the packages only supports the use of the PBKDF2 key derivation method. For  further details see [RFC2898].   27894 The manifest:key-derivation-name attribute specifies the name of the algorithm used to derive the name. At this time, the packages only supports the use of the PBKDF2 key derivation method. For  further details see [RFC2898].
27436 <define name="key-derivation-attlist" combine="interleave">   27895 <define name="key-derivation-attlist" combine="interleave">
27437         <attribute name="manifest:key-derivation-name">   27896         <attribute name="manifest:key-derivation-name">
27438                 <data type="string"/>   27897                 <data type="string"/>
27439         </attribute>   27898         </attribute>
27440 </define>   27899 </define>
27441 Salt   27900 Salt
27442 The manifest:salt attribute specifies the 16-byte sequence used as the 'salt' by the key derivation algorithm. The salt is a 16-byte binary sequence, and thus is encoded in BASE64 (as defined in [RFC2045]) before being written to the manifest file.   27901 The manifest:salt attribute specifies the 16-byte sequence used as the 'salt' by the key derivation algorithm. The salt is a 16-byte binary sequence, and thus is encoded in BASE64 (as defined in [RFC2045]) before being written to the manifest file.
27443 <define name="key-derivation-attlist" combine="interleave">   27902 <define name="key-derivation-attlist" combine="interleave">
27444         <attribute name="manifest:salt">   27903         <attribute name="manifest:salt">
27445                 <data type="base64Binary"/>   27904                 <data type="base64Binary"/>
27446         </attribute>   27905         </attribute>
27447 </define>   27906 </define>
27448 Iteration Count   27907 Iteration Count
27449 The manifest:iteration-count attribute specifies the number of iterations used by the key derivation algorithm to derive the key.   27908 The manifest:iteration-count attribute specifies the number of iterations used by the key derivation algorithm to derive the key.
27450 <define name="key-derivation-attlist" combine="interleave">   27909 <define name="key-derivation-attlist" combine="interleave">
27451         <attribute name="manifest:iteration-count">   27910         <attribute name="manifest:iteration-count">
27452                         <data type="nonNegativeInteger"/>   27911                         <data type="nonNegativeInteger"/>
27453                 </attribute>   27912                 </attribute>
27454 </define>   27913 </define>
27455 Sample Manifest   27914 Sample Manifest
27456 <manifest:manifest   27915 <manifest:manifest
27457         xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0">   27916         xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0">
27458         <manifest:file-entry   27917         <manifest:file-entry
27459                 manifest:media-type="application/vnd.oasis.opendocument.text"   27918                 manifest:media-type="application/vnd.oasis.opendocument.text"
27460                 manifest:full-path="/"/>   27919                 manifest:full-path="/"/>
27461         <manifest:file-entry manifest:media-type="image/jpeg"   27920         <manifest:file-entry manifest:media-type="image/jpeg"
27462                 manifest:full-path="Pictures/100000000000032000000258912EB1C3.jpg"   27921                 manifest:full-path="Pictures/100000000000032000000258912EB1C3.jpg"
27463                   manifest:size="66704">   27922                   manifest:size="66704">
27464                 <manifest:encryption-data>   27923                 <manifest:encryption-data>
27465                         <manifest:algorithm manifest:algorithm-name="Blowfish CFB"   27924                         <manifest:algorithm manifest:algorithm-name="Blowfish CFB"
27466                                 manifest:initialisation-vector="T+miu403484="/>   27925                                 manifest:initialisation-vector="T+miu403484="/>
27467                         <manifest:key-derivation manifest:key-derivation-name="PBKDF2"   27926                         <manifest:key-derivation manifest:key-derivation-name="PBKDF2"
27468                                 manifest:iteration-count="1024"   27927                                 manifest:iteration-count="1024"
27469                                 manifest:salt="aNYdmqv4cObAJSJjm4RzqA=="/>   27928                                 manifest:salt="aNYdmqv4cObAJSJjm4RzqA=="/>
27470                 </manifest:encryption-data>   27929                 </manifest:encryption-data>
27471         </manifest:file-entry>   27930         </manifest:file-entry>
27472         <manifest:file-entry   27931         <manifest:file-entry
27473                 manifest:media-type="text/xml" manifest:full-path="content.xml"   27932                 manifest:media-type="text/xml" manifest:full-path="content.xml"
27474                 manifest:size="3143">   27933                 manifest:size="3143">
27475                 <manifest:encryption-data>   27934                 <manifest:encryption-data>
27476                         <manifest:algorithm manifest:algorithm-name="Blowfish CFB"   27935                         <manifest:algorithm manifest:algorithm-name="Blowfish CFB"
27477                                 manifest:initialisation-vector="T+miu403484="/>   27936                                 manifest:initialisation-vector="T+miu403484="/>
27478                         <manifest:key-derivation manifest:key-derivation-name="PBKDF2"   27937                         <manifest:key-derivation manifest:key-derivation-name="PBKDF2"
27479                                 manifest:iteration-count="1024"   27938                                 manifest:iteration-count="1024"
27480                                 manifest:salt="aNYdmqv4cObAJSJjm4RzqA=="/>   27939                                 manifest:salt="aNYdmqv4cObAJSJjm4RzqA=="/>
27481                 </manifest:encryption-data>   27940                 </manifest:encryption-data>
27482         </manifest:file-entry>   27941         </manifest:file-entry>
27483         <manifest:file-entry manifest:media-type="text/xml"   27942         <manifest:file-entry manifest:media-type="text/xml"
27484                 manifest:full-path="styles.xml" manifest:size="5159">   27943                 manifest:full-path="styles.xml" manifest:size="5159">
27485                 <manifest:encryption-data>   27944                 <manifest:encryption-data>
27486                         <manifest:algorithm manifest:algorithm-name="Blowfish CFB"   27945                         <manifest:algorithm manifest:algorithm-name="Blowfish CFB"
27487                                 manifest:initialisation-vector="bChL2No5I+A="/>   27946                                 manifest:initialisation-vector="bChL2No5I+A="/>
27488                         <manifest:key-derivation manifest:key-derivation-name="PBKDF2"   27947                         <manifest:key-derivation manifest:key-derivation-name="PBKDF2"
27489                                 manifest:iteration-count="1024"   27948                                 manifest:iteration-count="1024"
27490                                 manifest:salt="/kfasyu7X0Ae+1uopdeCtA=="/>   27949                                 manifest:salt="/kfasyu7X0Ae+1uopdeCtA=="/>
27491                 </manifest:encryption-data>   27950                 </manifest:encryption-data>
27492         </manifest:file-entry>   27951         </manifest:file-entry>
27493         <manifest:file-entry   27952         <manifest:file-entry
27494                 manifest:media-type="text/xml" manifest:full-path="meta.xml"/>   27953                 manifest:media-type="text/xml" manifest:full-path="meta.xml"/>
27495         <manifest:file-entry   27954         <manifest:file-entry
27496                 manifest:media-type="text/xml"   27955                 manifest:media-type="text/xml"
27497                 manifest:full-path="settings.xml" manifest:size="5317">   27956                 manifest:full-path="settings.xml" manifest:size="5317">
27498                 <manifest:encryption-data>   27957                 <manifest:encryption-data>
27499                         <manifest:algorithm manifest:algorithm-name="Blowfish CFB"   27958                         <manifest:algorithm manifest:algorithm-name="Blowfish CFB"
27500                                 manifest:initialisation-vector="JQxEm6rD+4c="/>   27959                                 manifest:initialisation-vector="JQxEm6rD+4c="/>
27501                         <manifest:key-derivation manifest:key-derivation-name="PBKDF2"   27960                         <manifest:key-derivation manifest:key-derivation-name="PBKDF2"
27502                                 manifest:iteration-count="1024"   27961                                 manifest:iteration-count="1024"
27503                                 manifest:salt="PlpDaxloh4KUKx+v1g4V9g=="/>   27962                                 manifest:salt="PlpDaxloh4KUKx+v1g4V9g=="/>
27504                 </manifest:encryption-data>   27963                 </manifest:encryption-data>
27505         </manifest:file-entry>   27964         </manifest:file-entry>
27506 </manifest:manifest>   27965 </manifest:manifest>
27507 17.7.7Relax-NG Schema Suffix   27966 17.7.7Relax-NG Schema Suffix
27508 Suffix for the normative Relax-NG Manifest schema:   27967 Suffix for the normative Relax-NG Manifest schema:
27509 </grammar>   27968 </grammar>
27510 Appendix A.Strict Relax NG Schema   27969 Appendix A.Strict Relax NG Schema
27511 The Relax-NG (see [RNG])schema provided in this appendix equals the schema defined in chapters 1 to 16 of this specification, but restricts the content of meta information elements and formatting properties elements to the attributes and elements defined in this specification. See also section 1.5.   27970 The Relax-NG (see [RNG])schema provided in this appendix equals the schema defined in chapters 1 to 16 of this specification, but restricts the content of meta information elements and formatting properties elements to the attributes and elements defined in this specification. See also section 1.5.
27512 <?xml version="1.0" encoding="UTF-8"?>   27971 <?xml version="1.0" encoding="UTF-8"?>
27513 <!--   27972 <!--
27514         OASIS OpenDocument v1.0 (Second Edition) <> 27973         OASIS OpenDocument v1.1
27515         Committee Specification1, 19 Jul 2006   27974         OASIS Standard, 1 Feb 2007
27516         Strict Relax-NG Schema = 27975         Strict Relax-NG Schema
27517     27976  
27518         $Id$   27977         $Id$
27519     27978  
27520         © 2002-2005 OASIS Open <> 27979         © 2002-2007 OASIS Open
27521         © 1999-2005 Sun Microsystems, Inc.   27980         © 1999-2007 Sun Microsystems, Inc.
27522 --> = 27981 -->
27523     27982  
27524 <grammar xmlns="http://relaxng.org/ns/structure/1.0">   27983 <grammar xmlns="http://relaxng.org/ns/structure/1.0">
27525         <include href="OpenDocument-schema-v1.0-os.rng"> <> 27984         <include href="OpenDocument-schema-v1.1.rng">
27526                 <define name="office-meta-content"> = 27985                 <define name="office-meta-content">
27527                         <ref name="office-meta-content-strict"/>   27986                         <ref name="office-meta-content-strict"/>
27528                 </define>   27987                 </define>
27529                 <define name="style-page-layout-properties-content">   27988                 <define name="style-page-layout-properties-content">
27530                         <ref name="style-page-layout-properties-content-strict"/>   27989                         <ref name="style-page-layout-properties-content-strict"/>
27531                 </define>   27990                 </define>
27532                 <define name="style-header-footer-properties-content">   27991                 <define name="style-header-footer-properties-content">
27533                         <ref name="style-header-footer-properties-content-strict"/>   27992                         <ref name="style-header-footer-properties-content-strict"/>
27534                 </define>   27993                 </define>
27535                 <define name="style-drawing-page-properties-content">   27994                 <define name="style-drawing-page-properties-content">
27536                         <ref name="style-drawing-page-properties-content-strict"/>   27995                         <ref name="style-drawing-page-properties-content-strict"/>
27537                 </define>   27996                 </define>
27538                 <define name="style-text-properties-content">   27997                 <define name="style-text-properties-content">
27539                         <ref name="style-text-properties-content-strict"/>   27998                         <ref name="style-text-properties-content-strict"/>
27540                 </define>   27999                 </define>
27541                 <define name="style-paragraph-properties-content">   28000                 <define name="style-paragraph-properties-content">
27542                         <ref name="style-paragraph-properties-content-strict"/>   28001                         <ref name="style-paragraph-properties-content-strict"/>
27543                 </define>   28002                 </define>
27544                 <define name="style-ruby-properties-content">   28003                 <define name="style-ruby-properties-content">
27545                         <ref name="style-ruby-properties-content-strict"/>   28004                         <ref name="style-ruby-properties-content-strict"/>
27546                 </define>   28005                 </define>
27547                 <define name="style-section-properties-content">   28006                 <define name="style-section-properties-content">
27548                         <ref name="style-section-properties-content-strict"/>   28007                         <ref name="style-section-properties-content-strict"/>
27549                 </define>   28008                 </define>
27550                 <define name="style-list-level-properties-content">   28009                 <define name="style-list-level-properties-content">
27551                         <ref name="style-list-level-properties-content-strict"/>   28010                         <ref name="style-list-level-properties-content-strict"/>
27552                 </define>   28011                 </define>
27553                 <define name="style-table-properties-content">   28012                 <define name="style-table-properties-content">
27554                         <ref name="style-table-properties-content-strict"/>   28013                         <ref name="style-table-properties-content-strict"/>
27555                 </define>   28014                 </define>
27556                 <define name="style-table-column-properties-content">   28015                 <define name="style-table-column-properties-content">
27557                         <ref name="style-table-column-properties-content-strict"/>   28016                         <ref name="style-table-column-properties-content-strict"/>
27558                 </define>   28017                 </define>
27559                 <define name="style-table-row-properties-content">   28018                 <define name="style-table-row-properties-content">
27560                         <ref name="style-table-row-properties-content-strict"/>   28019                         <ref name="style-table-row-properties-content-strict"/>
27561                 </define>   28020                 </define>
27562                 <define name="style-table-cell-properties-content">   28021                 <define name="style-table-cell-properties-content">
27563                         <ref name="style-table-cell-properties-content-strict"/>   28022                         <ref name="style-table-cell-properties-content-strict"/>
27564                 </define>   28023                 </define>
27565                 <define name="style-graphic-properties-content">   28024                 <define name="style-graphic-properties-content">
27566                         <ref name="style-graphic-properties-content-strict"/>   28025                         <ref name="style-graphic-properties-content-strict"/>
27567                 </define>   28026                 </define>
27568                 <define name="style-chart-properties-content">   28027                 <define name="style-chart-properties-content">
27569                         <ref name="style-properties-content"/> <> 28028                         <ref name="style-chart-properties-content-strict"/>
27570                 </define> = 28029                 </define>
27571         </include>   28030         </include>
27572 </grammar>   28031 </grammar>
27573 Appendix B.References   28032 Appendix B.References
27574 [CSS2]  Bert Bos, Håkon Wium Lie, Chris Lilley, Ian Jacobs, Cascading Style Sheets, level 2, http://www.w3.org/TR/1998/REC-CSS2-19980512, W3C, 1998.   28033 [CSS2]  Bert Bos, Håkon Wium Lie, Chris Lilley, Ian Jacobs, Cascading Style Sheets, level 2, http://www.w3.org/TR/1998/REC-CSS2-19980512, W3C, 1998.
27575 [CSS3Text]      Michel Suignard, CSS3 Text Module, http://www.w3.org/TR/2003/CR-css3-text-20030514, W3C, 2003.   28034 [CSS3Text]      Michel Suignard, CSS3 Text Module, http://www.w3.org/TR/2003/CR-css3-text-20030514, W3C, 2003.
    -+ 28035 [DAISY] ANSI/NISO Z39.86-2005 Specifications for the Digital Talking Book, http://www.niso.org/standards/resources/Z39-86-2005.html, 2005
27576 [DCMI]  -, Dublin Core Metadata Element Set, Version 1.1: Reference Description, http://www.dublincore.org/documents/dces/, Dublin Core Metadata Initiative, 2003. = 28036 [DCMI]  -, Dublin Core Metadata Element Set, Version 1.1: Reference Description, http://www.dublincore.org/documents/dces/, Dublin Core Metadata Initiative, 2003.
    <> 28037 [DOM2]  W3C, Document Object Model Level 2 Core Specification, http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113, W3C, 2000.
      28038 [DOMEvents2]    Tom Pixley, Document Object Model (DOM) Level 2 Events Specification, http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113, W3C, 2000.
27577 [DOMEvents]     Philippe Le Hégaret, Tom Pixley, Document Object Model (DOM) Level 3 Events Specification, http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331, W3C, 2003.   28039 [DOMEvents3]    Philippe Le Hégaret, Tom Pixley, Document Object Model (DOM) Level 3 Events Specification, http://www.w3.org/TR/DOM-Level-3-Events/, W3C, 2003.
27578 [HTML4] Dave Raggett, Arnoud Le Hors, Ian Jacobs, HTML 4.01 Specification, http://www.w3.org/TR/1999/REC-html401-19991224, W3C, 1999. = 28040 [HTML4] Dave Raggett, Arnoud Le Hors, Ian Jacobs, HTML 4.01 Specification, http://www.w3.org/TR/1999/REC-html401-19991224, W3C, 1999.
27579 [ISO/IEC Directives]    ISO/IEC Directives, Part 2 Rules for the structure and drafting of International Standards, 2004   28041 [ISO/IEC Directives]    ISO/IEC Directives, Part 2 Rules for the structure and drafting of International Standards, 2004
27580 [JDBC]  Jon Ellis, Linda Ho, Maydene Fisher, JDBC 3.0 Specification, http://java.sun.com/products/jdbc/, Sun Microsystems, Inc., 2001.   28042 [JDBC]  Jon Ellis, Linda Ho, Maydene Fisher, JDBC 3.0 Specification, http://java.sun.com/products/jdbc/, Sun Microsystems, Inc., 2001.
27581 [MathML]        David Carlisle, Patrick Ion, Robert Miner, Nico Poppelier, Mathematical Markup Language (MathML) Version 2.0 (Second Edition), http://www.w3.org/TR/2003/REC-MathML2-20031021/, W3C, 2003.   28043 [MathML]        David Carlisle, Patrick Ion, Robert Miner, Nico Poppelier, Mathematical Markup Language (MathML) Version 2.0 (Second Edition), http://www.w3.org/TR/2003/REC-MathML2-20031021/, W3C, 2003.
27582 [MIMETYPES]     , List of registered MIME types, ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/, IANA, .   28044 [MIMETYPES]     , List of registered MIME types, ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/, IANA, .
27583 [OLE]    Kraig Brockschmidt, Inside OLE, Microsoft Press, 1995, ISBN: 1-55615-843-2   28045 [OLE]    Kraig Brockschmidt, Inside OLE, Microsoft Press, 1995, ISBN: 1-55615-843-2
27584 [OOo]   , OpenOffice.org XML File Format 1.0 Technical Reference Manual, http://xml.openoffice.org/xml_specification.pdf, Sun Microsystems, Inc., 2002.   28046 [OOo]   , OpenOffice.org XML File Format 1.0 Technical Reference Manual, http://xml.openoffice.org/xml_specification.pdf, Sun Microsystems, Inc., 2002.
27585 [PNG]   Thomas Boutell, PNG (Portable Network Graphics) Specification, http://www.w3.org/TR/REC-png-multi.html, W3C, 1996.   28047 [PNG]   Thomas Boutell, PNG (Portable Network Graphics) Specification, http://www.w3.org/TR/REC-png-multi.html, W3C, 1996.
27586 [RFC1766]       H. Alvestrand, Tags for the Identification of Languages, http://www.ietf.org/rfc/rfc1766.txt, IETF, 1995. +-    
27587 [RFC2045]       N. Freed and N. Borenstein, Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies, http://www.ietf.org/rfc/rfc2045.txt, IETF, 1996. = 28048 [RFC2045]       N. Freed and N. Borenstein, Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies, http://www.ietf.org/rfc/rfc2045.txt, IETF, 1996.
27588 [RFC2048]       N. Freed, J. Klensin, J. Postel, Multipurpose Internet Mail Extensions (MIME) Part Four: Registration Procedures, http://www.ietf.org/rfc/rfc2048.txt, IETF, 1996.   28049 [RFC2048]       N. Freed, J. Klensin, J. Postel, Multipurpose Internet Mail Extensions (MIME) Part Four: Registration Procedures, http://www.ietf.org/rfc/rfc2048.txt, IETF, 1996.
27589 [RFC2616]       IETF,  Hypertext Transfer Protocol -- HTTP/1.1, http://www.ietf.org/rfc/rfc2616.txt, IETF, 1999.   28050 [RFC2616]       IETF,  Hypertext Transfer Protocol -- HTTP/1.1, http://www.ietf.org/rfc/rfc2616.txt, IETF, 1999.
27590 [RFC2898]       B. Kaliski, PKCS #5: Password-Based Cryptography Specification Version 2.0, http://www.ietf.org/rfc/rfc2898, IETF, 2000.   28051 [RFC2898]       B. Kaliski, PKCS #5: Password-Based Cryptography Specification Version 2.0, http://www.ietf.org/rfc/rfc2898, IETF, 2000.
27591 [RFC3066]       H. Alvestrand, Tags for the Identification of Languages, http://www.ietf.org/rfc/rfc3066.txt, IETF, 2001.   28052 [RFC3066]       H. Alvestrand, Tags for the Identification of Languages, http://www.ietf.org/rfc/rfc3066.txt, IETF, 2001.
27592 [RFC3987]       M. Duerst, M. Suignard, Internationalized Resource Identifiers (IRIs), http://www.ietf.org/rfc/rfc3987.txt, IETF, 2005.   28053 [RFC3987]       M. Duerst, M. Suignard, Internationalized Resource Identifiers (IRIs), http://www.ietf.org/rfc/rfc3987.txt, IETF, 2005.
27593 [RNG]   ISO/IEC 19757-2 Document Schema Definition Language (DSDL) -- Part 2: Regular-grammar-based validation -- RELAX NG, 2003   28054 [RNG]   ISO/IEC 19757-2 Document Schema Definition Language (DSDL) -- Part 2: Regular-grammar-based validation -- RELAX NG, 2003
27594 [RNG-Compat]    James Clark, MURATA Makoto, RELAX NG DTD Compatibility, http://www.oasis-open.org/committees/relax-ng/compatibility-20011203.html, OASIS, 2001.   28055 [RNG-Compat]    James Clark, MURATA Makoto, RELAX NG DTD Compatibility, http://www.oasis-open.org/committees/relax-ng/compatibility-20011203.html, OASIS, 2001.
27595 [SMIL20]        W3C, Synchronized Multimedia Integration Language 2.0 (SMIL 2.0), http://www.w3.org/TR/smil20/, W3C, 2001.   28056 [SMIL20]        W3C, Synchronized Multimedia Integration Language 2.0 (SMIL 2.0), http://www.w3.org/TR/smil20/, W3C, 2001.
27596 [SVG]   Jon Ferraiolo, ?? ? (FUJISAWA Jun), Dean Jackson, Scalable Vector Graphics (SVG) 1.1, http://www.w3.org/TR/2003/REC-SVG11-20030114/, W3C, 2003.   28057 [SVG]   Jon Ferraiolo, ?? ? (FUJISAWA Jun), Dean Jackson, Scalable Vector Graphics (SVG) 1.1, http://www.w3.org/TR/2003/REC-SVG11-20030114/, W3C, 2003.
    <> 28058 [UAX9]  Mark Davis, Unicode Standard Annex #9: The Bidirectional Algorithm, Version 15 or later, http://www.unicode.org/reports/tr9/tr9-15.html, 2005
27597 [UNICODE]       The Unicode Consortium. The Unicode Standard, Version 4.0.0, defined by:   The Unicode Standard, Version 4.0 (Boston, MA, Addison-Wesley, 2003. ISBN 0-321-18578-1)   28059 [UNICODE]       The Unicode Consortium. The Unicode Standard, Version 4.0.0, defined by: The Unicode Standard, Version 4.0 (Boston, MA, Addison-Wesley, 2003. ISBN 0-321-18578-1)
      28060 [UTR20] Martin Dürst and Asmus Freytag, Unicode Technical Report #20: Unicode in XML and other Markup Languages, http://www.unicode.org/reports/tr20/, 2003
27598 [XForms]        W3C, XForms, http://www.w3.org/TR/xforms/, W3C, 2004. = 28061 [XForms]        W3C, XForms, http://www.w3.org/TR/xforms/, W3C, 2004.
27599 [XLink] Steve DeRose, Eve Maler, David Orchard, XML Linking Language, http://www.w3c.org/TR/xlink/, W3C, 2001.   28062 [XLink] Steve DeRose, Eve Maler, David Orchard, XML Linking Language, http://www.w3c.org/TR/xlink/, W3C, 2001.
27600 [xml-names]     Tim Bray, Dave Hollander, Andrew Layman, Namespaces in XML, http://www.w3.org/TR/REC-xml-names/, W3C, 1999.   28063 [xml-names]     Tim Bray, Dave Hollander, Andrew Layman, Namespaces in XML, http://www.w3.org/TR/REC-xml-names/, W3C, 1999.
27601 [XML1.0]        Tim Bray, Jean Paoli, C. M. Sperberg-McQueen, Eve Maler, François Yergeau , Extensible Markup Language (XML) 1.0 (Third Edition), http://www.w3.org/TR/2004/REC-xml-20040204, W3C, 2004.   28064 [XML1.0]        Tim Bray, Jean Paoli, C. M. Sperberg-McQueen, Eve Maler, François Yergeau , Extensible Markup Language (XML) 1.0 (Third Edition), http://www.w3.org/TR/2004/REC-xml-20040204, W3C, 2004.
27602 [xmlschema-2]   Paul V. Biron, Ashok Malhotra, XML Schema Part 2: Datatypes, http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/, W3C, 2001. <> 28065 [xmlschema-2]   Paul V. Biron, Ashok Malhotra, XML Schema Part 2: Datatypes Second Edition, http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/, W3C, 2004.
27603 [XSL]   W3C, Extensible Stylesheet Language (XSL), http://www.w3.org/TR/2001/REC-xsl-20011015/, W3C, 2001. = 28066 [XSL]   W3C, Extensible Stylesheet Language (XSL), http://www.w3.org/TR/2001/REC-xsl-20011015/, W3C, 2001.
27604 [XSLT]  James Clark, XSL Transformations (XSLT) Version 1.0, http://www.w3.org/TR/1999/REC-xslt-19991116, W3C, 1999.   28067 [XSLT]  James Clark, XSL Transformations (XSLT) Version 1.0, http://www.w3.org/TR/1999/REC-xslt-19991116, W3C, 1999.
27605 [XSLT2] Michael Kay, XSL Transformations (XSLT) Version 2.0, http://www.w3.org/TR/2003/WD-xslt20-20031112/, W3C, 2003.   28068 [XSLT2] Michael Kay, XSL Transformations (XSLT) Version 2.0, http://www.w3.org/TR/2003/WD-xslt20-20031112/, W3C, 2003.
27606 [ZIP]   Info-ZIP Application Note 970311, ftp://ftp.uu.net/pub/archiving/zip/doc/appnote-970311-iz.zip, 1997   28069 [ZIP]   Info-ZIP Application Note 970311, ftp://ftp.uu.net/pub/archiving/zip/doc/appnote-970311-iz.zip, 1997
27607     28070  
27608 Appendix C.MIME Types and File Name Extensions (Non Normative)   28071 Appendix C.MIME Types and File Name Extensions (Non Normative)
27609 The MIME types and extensions contained in this section are applicable only to office documents that are contained in a package (see section 2.1). See section 1.7 for the MIME type to use for documents that are not contained in a package.   28072 The MIME types and extensions contained in this section are applicable only to office documents that are contained in a package (see section 2.1). See section 1.7 for the MIME type to use for documents that are not contained in a package.
27610 The following table contains a list of MIME types and extensions for documents that conform to this specification, that, at the time this specification is published, have been registered according to [RFC2048]. Please see [MIMETYPES] for a current list of registered MIME types.   28073 The following table contains a list of MIME types and extensions for documents that conform to this specification, that, at the time this specification is published, have been registered according to [RFC2048]. Please see [MIMETYPES] for a current list of registered MIME types.
27611 MIME type   28074 MIME type
27612 Ext.   28075 Ext.
27613 Description   28076 Description
27614 No registered MIME types exist at the time this specification is published.   28077 No registered MIME types exist at the time this specification is published.
27615 The following table contains a list of MIME types and extensions for office documents that conform to this specification where a registration according to [RFC2048] is in progress at the time this specification is published.   28078 The following table contains a list of MIME types and extensions for office documents that conform to this specification where a registration according to [RFC2048] is in progress at the time this specification is published.
27616 Please check [MIMETYPES] before using these MIME types. If a MIME type is not listed there, the MIME type that is the result of inserting "x-" behind the "/" character (i.e.,  application/x-vnd.oasis.opendocument.text) should be used.   28079 Please check [MIMETYPES] before using these MIME types. If a MIME type is not listed there, the MIME type that is the result of inserting "x-" behind the "/" character (i.e.,  application/x-vnd.oasis.opendocument.text) should be used.
27617 MIME type   28080 MIME type
27618 Ext.   28081 Ext.
27619 Description   28082 Description
27620 application/vnd.oasis.opendocument.text   28083 application/vnd.oasis.opendocument.text
27621 odt   28084 odt
27622 Text document   28085 Text document
27623 application/   28086 application/
27624     vnd.oasis.opendocument.text-template   28087     vnd.oasis.opendocument.text-template
27625 ott   28088 ott
27626 Text document used as template   28089 Text document used as template
27627 application/vnd.oasis.opendocument.graphics   28090 application/vnd.oasis.opendocument.graphics
27628 odg   28091 odg
27629 Graphics document (Drawing)   28092 Graphics document (Drawing)
27630 application/   28093 application/
27631     vnd.oasis.opendocument.graphics-template   28094     vnd.oasis.opendocument.graphics-template
27632 otg   28095 otg
27633 Drawing document used as template   28096 Drawing document used as template
27634 application/vnd.oasis.opendocument.presentation   28097 application/vnd.oasis.opendocument.presentation
27635 odp   28098 odp
27636 Presentation document   28099 Presentation document
27637 application/   28100 application/
27638     vnd.oasis.opendocument.presentation-template   28101     vnd.oasis.opendocument.presentation-template
27639 otp   28102 otp
27640 Presentation document used as template   28103 Presentation document used as template
27641 application/vnd.oasis.opendocument.spreadsheet   28104 application/vnd.oasis.opendocument.spreadsheet
27642 ods   28105 ods
27643 Spreadsheet document   28106 Spreadsheet document
27644 application/   28107 application/
27645     vnd.oasis.opendocument.spreadsheet-template   28108     vnd.oasis.opendocument.spreadsheet-template
27646 ots   28109 ots
27647 Spreadsheet document used as template   28110 Spreadsheet document used as template
27648 application/vnd.oasis.opendocument.chart   28111 application/vnd.oasis.opendocument.chart
27649 odc   28112 odc
27650 Chart document   28113 Chart document
27651 application/   28114 application/
27652     vnd.oasis.opendocument.chart-template   28115     vnd.oasis.opendocument.chart-template
27653 otc   28116 otc
27654 Chart document used as template   28117 Chart document used as template
27655 application/vnd.oasis.opendocument.image   28118 application/vnd.oasis.opendocument.image
27656 odi   28119 odi
27657 Image document   28120 Image document
27658 application/   28121 application/
27659     vnd.oasis.opendocument.image-template   28122     vnd.oasis.opendocument.image-template
27660 oti   28123 oti
27661 Image document used as template   28124 Image document used as template
27662 application/vnd.oasis.opendocument.formula   28125 application/vnd.oasis.opendocument.formula
27663 odf   28126 odf
27664 Formula document   28127 Formula document
27665 application/   28128 application/
27666     vnd.oasis.opendocument.formula-template   28129     vnd.oasis.opendocument.formula-template
27667 otf   28130 otf
27668 Formula document used as template   28131 Formula document used as template
27669 application/vnd.oasis.opendocument.text-master   28132 application/vnd.oasis.opendocument.text-master
27670 odm   28133 odm
27671 Global Text document (see section 2.3.1)   28134 Global Text document (see section 2.3.1)
27672 application/vnd.oasis.opendocument.text-web   28135 application/vnd.oasis.opendocument.text-web
27673 oth   28136 oth
27674 Text document used as template for HTML documents   28137 Text document used as template for HTML documents
27675     28138  
27676 Appendix D.Core Features Sets (Non Normative)   28139 Appendix D.Core Features Sets (Non Normative)
27677 The OpenDocument specification does not specify which elements and attributes conforming application must, should, or may support. The intention behind this is to ensure that the OpenDocument specification can be used by as many implementations as possible, even if these applications do not support some or many of the elements and attributes defined in this specification. Viewer applications for instance may not support all editing relates elements and attributes (like change tracking), other application may support only the content related elements and attributes, but none of the style related ones.   28140 The OpenDocument specification does not specify which elements and attributes conforming application must, should, or may support. The intention behind this is to ensure that the OpenDocument specification can be used by as many implementations as possible, even if these applications do not support some or many of the elements and attributes defined in this specification. Viewer applications for instance may not support all editing relates elements and attributes (like change tracking), other application may support only the content related elements and attributes, but none of the style related ones.
27678 Even typical office applications may only support a subset of the elements and attributes defined in this specification. They may for instance not support lists within text boxes or may not support some of the language related element and attributes.   28141 Even typical office applications may only support a subset of the elements and attributes defined in this specification. They may for instance not support lists within text boxes or may not support some of the language related element and attributes.
27679 The follow table provides an overview which element and attributes usually are supported by typical office application. It lists the chapters and sections contained in this specification and some typical office application classes. An “X” in this table indicates that most (or at least a significant number) of the elements and attributes defined in a section usually are supported by a certain application classes. An “(X)” indicates that only a limited number of elements and attributes usually is supported.   28142 The follow table provides an overview which element and attributes usually are supported by typical office application. It lists the chapters and sections contained in this specification and some typical office application classes. An “X” in this table indicates that most (or at least a significant number) of the elements and attributes defined in a section usually are supported by a certain application classes. An “(X)” indicates that only a limited number of elements and attributes usually is supported.
27680 Sect-   28143 Sect-
27681 ion.   28144 ion.
27682 Title   28145 Title
27683 Text   28146 Text
27684 Spread-   28147 Spread-
27685 sheet   28148 sheet
27686 Draw-   28149 Draw-
27687 ing   28150 ing
27688 Presen-   28151 Presen-
27689 tation   28152 tation
27690 Chart   28153 Chart
27691 Image   28154 Image
27692 2.2   28155 2.2
27693 Document Metadata   28156 Document Metadata
27694 X   28157 X
27695 X   28158 X
27696 X   28159 X
27697 X   28160 X
27698 X   28161 X
27699 X   28162 X
27700 2.3   28163 2.3
27701 Body Element and Document Types   28164 Body Element and Document Types
27702 X   28165 X
27703 X   28166 X
27704 X   28167 X
27705 X   28168 X
27706 X   28169 X
27707 X   28170 X
27708 2.4   28171 2.4
27709 Application Settings   28172 Application Settings
27710 X   28173 X
27711 X   28174 X
27712 X   28175 X
27713 X   28176 X
27714 X   28177 X
27715 X   28178 X
27716 2.5   28179 2.5
27717 Scripts   28180 Scripts
27718 X   28181 X
27719 X   28182 X
27720 X   28183 X
27721 X   28184 X
27722 X   28185 X
27723 X   28186 X
27724 2.6   28187 2.6
27725 Font Face Declarations   28188 Font Face Declarations
27726 X   28189 X
27727 X   28190 X
27728 X   28191 X
27729 X   28192 X
27730 X   28193 X
27731     28194  
27732 2.7   28195 2.7
27733 Styles   28196 Styles
27734 X   28197 X
27735 X   28198 X
27736 X   28199 X
27737 X   28200 X
27738 X   28201 X
27739 X   28202 X
27740 2.8   28203 2.8
27741 Page Styles and Layout   28204 Page Styles and Layout
27742 X   28205 X
27743 X   28206 X
27744 X   28207 X
27745 X   28208 X
27746     28209  
27747     28210  
27748 3   28211 3
27749 Metadata Elements   28212 Metadata Elements
27750 X   28213 X
27751 X   28214 X
27752 X   28215 X
27753 X   28216 X
27754 X   28217 X
27755 X   28218 X
27756 4.1   28219 4.1
27757 Paragraphs and Basic Text Structure   28220 Paragraphs and Basic Text Structure
27758 X   28221 X
27759 X(1)   28222 X(1)
27760 X(2)   28223 X(2)
27761 X(2)   28224 X(2)
27762 X(3)   28225 X(3)
27763     28226  
27764 4.1   28227 4.1
27765 Headings   28228 Headings
27766 X   28229 X
27767     28230  
27768     28231  
27769     28232  
27770     28233  
27771     28234  
27772 4.2   28235 4.2
27773 Page Sequences   28236 Page Sequences
27774 X   28237 X
27775     28238  
27776     28239  
27777     28240  
27778     28241  
27779     28242  
27780 4.3   28243 4.3
27781 Lists   28244 Lists
27782 X   28245 X
27783     28246  
27784 X(2)   28247 X(2)
27785 X(2)   28248 X(2)
27786     28249  
27787     28250  
27788 4.4   28251 4.4
27789 Text Sections   28252 Text Sections
27790 X   28253 X
27791     28254  
27792     28255  
27793     28256  
27794     28257  
27795     28258  
27796 4.5   28259 4.5
27797 Page-bound graphical content   28260 Page-bound graphical content
27798 X   28261 X
27799     28262  
27800     28263  
27801     28264  
27802     28265  
27803     28266  
27804 4.6   28267 4.6
27805 Text Change Tracking   28268 Text Change Tracking
27806 X   28269 X
27807     28270  
27808     28271  
27809     28272  
27810     28273  
27811     28274  
27812 4.7   28275 4.7
27813 Text Declarations   28276 Text Declarations
27814 X   28277 X
27815 (X)   28278 (X)
27816 (X)   28279 (X)
27817 (X)   28280 (X)
27818 (X)   28281 (X)
27819     28282  
27820 5.1   28283 5.1
27821 Basic Text Content   28284 Basic Text Content
27822 X   28285 X
27823 X(1)   28286 X(1)
27824 X(2)   28287 X(2)
27825 X(2)   28288 X(2)
27826 X(3)   28289 X(3)
27827     28290  
27828 5.2   28291 5.2
27829 Bookmarks and References   28292 Bookmarks and References
27830 X   28293 X
27831     28294  
27832     28295  
27833     28296  
27834     28297  
27835     28298  
27836 5.3   28299 5.3
27837 Notes   28300 Notes
27838 X   28301 X
27839     28302  
27840     28303  
27841     28304  
27842     28305  
27843     28306  
27844 5.4   28307 5.4
27845 Ruby   28308 Ruby
27846 X   28309 X
27847     28310  
27848     28311  
27849     28312  
27850     28313  
27851     28314  
27852 5.5   28315 5.5
27853 Text Annotation   28316 Text Annotation
27854 X   28317 X
27855     28318  
27856     28319  
27857     28320  
27858     28321  
27859     28322  
27860 5.6   28323 5.6
27861 Index Marks   28324 Index Marks
27862 X   28325 X
27863     28326  
27864     28327  
27865     28328  
27866     28329  
27867     28330  
27868 5.7   28331 5.7
27869 Change Tracking and Change Marks   28332 Change Tracking and Change Marks
27870 X   28333 X
27871     28334  
27872     28335  
27873     28336  
27874     28337  
27875     28338  
27876 5.8   28339 5.8
27877 Inline graphics and text-boxes   28340 Inline graphics and text-boxes
27878 X   28341 X
27879     28342  
27880     28343  
27881     28344  
27882     28345  
27883     28346  
27884 6   28347 6
27885 Text Fields   28348 Text Fields
27886 X   28349 X
27887 (X)   28350 (X)
27888 (X)   28351 (X)
27889 (X)   28352 (X)
27890     28353  
27891     28354  
27892 7   28355 7
27893 Text Indices   28356 Text Indices
27894 X   28357 X
27895     28358  
27896     28359  
27897     28360  
27898     28361  
27899     28362  
27900 8.1   28363 8.1
27901 Basic Table Model   28364 Basic Table Model
27902 X   28365 X
27903 X   28366 X
27904     28367  
27905     28368  
27906     28369  
27907     28370  
27908 8.2   28371 8.2
27909 Advanced Table Model   28372 Advanced Table Model
27910 X   28373 X
27911 X   28374 X
27912     28375  
27913     28376  
27914     28377  
27915     28378  
27916 8.3   28379 8.3
27917 Advanced Tables   28380 Advanced Tables
27918     28381  
27919 X   28382 X
27920     28383  
27921     28384  
27922     28385  
27923     28386  
27924 8.4   28387 8.4
27925 Advanced Table Cells   28388 Advanced Table Cells
27926     28389  
27927 X   28390 X
27928     28391  
27929     28392  
27930     28393  
27931     28394  
27932 8.5   28395 8.5
27933 Spreadsheet Document Content   28396 Spreadsheet Document Content
27934     28397  
27935 X   28398 X
27936     28399  
27937     28400  
27938     28401  
27939     28402  
27940 8.6   28403 8.6
27941 Database Ranges   28404 Database Ranges
27942     28405  
27943 X   28406 X
27944     28407  
27945     28408  
27946     28409  
27947     28410  
27948 8.7   28411 8.7
27949 Filters   28412 Filters
27950     28413  
27951 X   28414 X
27952     28415  
27953     28416  
27954     28417  
27955     28418  
27956 8.8   28419 8.8
27957 Data Pilot Tables   28420 Data Pilot Tables
27958     28421  
27959 X   28422 X
27960     28423  
27961     28424  
27962     28425  
27963     28426  
27964 8.9   28427 8.9
27965 Consolidation   28428 Consolidation
27966     28429  
27967 X   28430 X
27968     28431  
27969     28432  
27970     28433  
27971     28434  
27972 8.10   28435 8.10
27973 Table DDE Links   28436 Table DDE Links
27974     28437  
27975 X   28438 X
27976     28439  
27977     28440  
27978     28441  
27979     28442  
27980 8.11   28443 8.11
27981 Change Tracking in Spreadsheets   28444 Change Tracking in Spreadsheets
27982     28445  
27983 X   28446 X
27984     28447  
27985     28448  
27986     28449  
27987     28450  
27988 9.1   28451 9.1
27989 Enhanced Page Features for Graphical Applications   28452 Enhanced Page Features for Graphical Applications
27990     28453  
27991     28454  
27992 X   28455 X
27993 X   28456 X
27994     28457  
27995     28458  
27996 9.2   28459 9.2
27997 Drawing Shapes   28460 Drawing Shapes
27998 X   28461 X
27999 X   28462 X
28000 X   28463 X
28001 X   28464 X
28002     28465  
28003     28466  
28004 9.3   28467 9.3
28005 Frames   28468 Frames
28006 X   28469 X
28007 X   28470 X
28008 X   28471 X
28009 X   28472 X
28010     28473  
28011 X(4)   28474 X(4)
28012 9.4   28475 9.4
28013 3D Shapes   28476 3D Shapes
28014 X   28477 X
28015 X   28478 X
28016 X   28479 X
28017 X   28480 X
28018     28481  
28019     28482  
28020 9.5   28483 9.5
28021 Custom Shapes   28484 Custom Shapes
28022 X   28485 X
28023 X   28486 X
28024 X   28487 X
28025 X   28488 X
28026     28489  
28027     28490  
28028 9.6   28491 9.6
28029 Presentation Shapes   28492 Presentation Shapes
28030     28493  
28031     28494  
28032     28495  
28033 X   28496 X
28034     28497  
28035     28498  
28036 9.7   28499 9.7
28037 Presentation Animations   28500 Presentation Animations
28038     28501  
28039     28502  
28040     28503  
28041 X   28504 X
28042     28505  
28043     28506  
28044 9.8   28507 9.8
28045 SMIL Presentation Animations   28508 SMIL Presentation Animations
28046     28509  
28047     28510  
28048     28511  
28049 X   28512 X
28050     28513  
28051     28514  
28052 9.9   28515 9.9
28053 Presentation Events   28516 Presentation Events
28054     28517  
28055     28518  
28056     28519  
28057 X   28520 X
28058     28521  
28059     28522  
28060 9.10   28523 9.10
28061 Presentation Text Fields   28524 Presentation Text Fields
28062     28525  
28063     28526  
28064     28527  
28065 X   28528 X
28066     28529  
28067     28530  
28068 9.11   28531 9.11
28069 Presentation Document Content   28532 Presentation Document Content
28070     28533  
28071     28534  
28072     28535  
28073 X   28536 X
28074     28537  
28075     28538  
28076 10   28539 10
28077 Chart Content   28540 Chart Content
28078     28541  
28079     28542  
28080     28543  
28081     28544  
28082 X   28545 X
28083     28546  
28084 11   28547 11
28085 Form Content   28548 Form Content
28086 X   28549 X
28087 X   28550 X
28088 X   28551 X
28089 X   28552 X
28090     28553  
28091     28554  
28092 12.1   28555 12.1
28093 Annotation   28556 Annotation
28094 X(5)   28557 X(5)
28095 X(1)   28558 X(1)
28096     28559  
28097     28560  
28098     28561  
28099     28562  
28100 12.2   28563 12.2
28101 Number Format for page numbers, etc.   28564 Number Format for page numbers, etc.
28102 X   28565 X
28103 X   28566 X
28104 X   28567 X
28105 X   28568 X
28106     28569  
28107     28570  
28108 12.3   28571 12.3
28109 Change Tracking Metadata   28572 Change Tracking Metadata
28110 X   28573 X
28111 X   28574 X
28112     28575  
28113     28576  
28114     28577  
28115     28578  
28116 12.4   28579 12.4
28117 Event Listener Tables   28580 Event Listener Tables
28118 X   28581 X
28119 X   28582 X
28120 X   28583 X
28121 X   28584 X
28122     28585  
28123     28586  
28124 12.5   28587 12.5
28125 Mathematical Content   28588 Mathematical Content
28126 X   28589 X
28127 X   28590 X
28128 X   28591 X
28129 X   28592 X
28130     28593  
28131     28594  
28132 12.6   28595 12.6
28133 DDE Connections   28596 DDE Connections
28134 X   28597 X
28135 X   28598 X
28136     28599  
28137     28600  
28138     28601  
28139     28602  
28140 13   28603 13
28141 SMIL Animations   28604 SMIL Animations
28142     28605  
28143     28606  
28144     28607  
28145 X   28608 X
28146     28609  
28147     28610  
28148 14.1   28611 14.1
28149 Style Element   28612 Style Element
28150 X   28613 X
28151 X   28614 X
28152 X   28615 X
28153 X   28616 X
28154 X   28617 X
28155 X   28618 X
28156 14.2   28619 14.2
28157 Default Styles   28620 Default Styles
28158 X   28621 X
28159 X   28622 X
28160 X   28623 X
28161 X   28624 X
28162 X   28625 X
28163 X   28626 X
28164 14.3   28627 14.3
28165 Page Layout   28628 Page Layout
28166 X   28629 X
28167 X   28630 X
28168 X   28631 X
28169 X   28632 X
28170     28633  
28171     28634  
28172 14.4   28635 14.4
28173 Master Pages   28636 Master Pages
28174 X   28637 X
28175 X   28638 X
28176 X   28639 X
28177 X   28640 X
28178     28641  
28179     28642  
28180 14.5   28643 14.5
28181 Table Templates   28644 Table Templates
28182 X   28645 X
28183 X   28646 X
28184     28647  
28185     28648  
28186     28649  
28187     28650  
28188 14.6   28651 14.6
28189 Font Face Declaration   28652 Font Face Declaration
28190 X   28653 X
28191 X   28654 X
28192 X   28655 X
28193 X   28656 X
28194 X   28657 X
28195     28658  
28196 14.7   28659 14.7
28197 Data Styles   28660 Data Styles
28198 X   28661 X
28199 X   28662 X
28200 X   28663 X
28201 X   28664 X
28202 X   28665 X
28203     28666  
28204 14.8   28667 14.8
28205 Text Styles   28668 Text Styles
28206 X   28669 X
28207 X(6)   28670 X(6)
28208 X(6)   28671 X(6)
28209 X(6)   28672 X(6)
28210 X(6)   28673 X(6)
28211     28674  
28212 14.9   28675 14.9
28213 Enhanced Text Styles   28676 Enhanced Text Styles
28214 X   28677 X
28215     28678  
28216     28679  
28217     28680  
28218     28681  
28219     28682  
28220 14.10   28683 14.10
28221 List Style   28684 List Style
28222 X   28685 X
28223     28686  
28224 X   28687 X
28225 X   28688 X
28226     28689  
28227     28690  
28228 14.11   28691 14.11
28229 Outline Style   28692 Outline Style
28230 X   28693 X
28231     28694  
28232     28695  
28233     28696  
28234     28697  
28235     28698  
28236 14.12   28699 14.12
28237 Table Styles   28700 Table Styles
28238 X   28701 X
28239 X   28702 X
28240     28703  
28241     28704  
28242     28705  
28243     28706  
28244 14.13   28707 14.13
28245 Graphic Styles   28708 Graphic Styles
28246 X   28709 X
28247 X   28710 X
28248 X   28711 X
28249 X   28712 X
28250     28713  
28251     28714  
28252 14.14   28715 14.14
28253 Enhanced Graphic Style Elements   28716 Enhanced Graphic Style Elements
28254 X   28717 X
28255 X   28718 X
28256 X   28719 X
28257 X   28720 X
28258 X   28721 X
28259     28722  
28260 14.15   28723 14.15
28261 Presentation Page Layouts   28724 Presentation Page Layouts
28262     28725  
28263     28726  
28264     28727  
28265 X   28728 X
28266     28729  
28267     28730  
28268 14.16   28731 14.16
28269 Chart Styles   28732 Chart Styles
28270     28733  
28271     28734  
28272     28735  
28273     28736  
28274 X   28737 X
28275     28738  
28276 15.2   28739 15.2
28277 Page Layout Formatting Properties   28740 Page Layout Formatting Properties
28278 X   28741 X
28279 X   28742 X
28280 X   28743 X
28281 X   28744 X
28282     28745  
28283     28746  
28284 15.3   28747 15.3
28285 Header Footer Formatting Properties   28748 Header Footer Formatting Properties
28286 X   28749 X
28287 (X)   28750 (X)
28288     28751  
28289     28752  
28290     28753  
28291     28754  
28292 15.4   28755 15.4
28293 Text Formatting Properties   28756 Text Formatting Properties
28294 X   28757 X
28295 X   28758 X
28296 X   28759 X
28297 X   28760 X
28298 X   28761 X
28299     28762  
28300 15.5   28763 15.5
28301 Paragraph Formatting Properties   28764 Paragraph Formatting Properties
28302 X   28765 X
28303 X   28766 X
28304 X   28767 X
28305 X   28768 X
28306 X   28769 X
28307     28770  
28308 15.6   28771 15.6
28309 Ruby Text Formatting Properties   28772 Ruby Text Formatting Properties
28310 X   28773 X
28311     28774  
28312     28775  
28313     28776  
28314     28777  
28315     28778  
28316 15.7   28779 15.7
28317 Section Formatting Properties   28780 Section Formatting Properties
28318 X   28781 X
28319     28782  
28320     28783  
28321     28784  
28322     28785  
28323     28786  
28324 15.8   28787 15.8
28325 Table Formatting Properties   28788 Table Formatting Properties
28326 (X)   28789 (X)
28327 X   28790 X
28328     28791  
28329     28792  
28330     28793  
28331     28794  
28332 15.9   28795 15.9
28333 Column Formatting Properties   28796 Column Formatting Properties
28334 (X)   28797 (X)
28335 X   28798 X
28336     28799  
28337     28800  
28338     28801  
28339     28802  
28340 15.10   28803 15.10
28341 Table Row Formatting Properties   28804 Table Row Formatting Properties
28342 (X)   28805 (X)
28343 X   28806 X
28344     28807  
28345     28808  
28346     28809  
28347     28810  
28348 15.11   28811 15.11
28349 Table Cell Formatting Properties   28812 Table Cell Formatting Properties
28350 (X)   28813 (X)
28351 X   28814 X
28352     28815  
28353     28816  
28354     28817  
28355     28818  
28356 15.12   28819 15.12
28357 List-Level Style Properties   28820 List-Level Style Properties
28358 X   28821 X
28359     28822  
28360 X   28823 X
28361 X   28824 X
28362     28825  
28363     28826  
28364 15.13   28827 15.13
28365 Stroke Properties   28828 Stroke Properties
28366 X(7)   28829 X(7)
28367 X(7)   28830 X(7)
28368 X   28831 X
28369 X   28832 X
28370 X   28833 X
28371     28834  
28372 15.14   28835 15.14
28373 Fill Properties   28836 Fill Properties
28374 X(7)   28837 X(7)
28375 X(7)   28838 X(7)
28376 X   28839 X
28377 X   28840 X
28378 X   28841 X
28379     28842  
28380 15.15   28843 15.15
28381 Text Animation Properties   28844 Text Animation Properties
28382 X(7)   28845 X(7)
28383 X(7)   28846 X(7)
28384 X   28847 X
28385 X   28848 X
28386     28849  
28387     28850  
28388 15.16   28851 15.16
28389 Text Alignment Properties   28852 Text Alignment Properties
28390 X(7)   28853 X(7)
28391 X(7)   28854 X(7)
28392 X   28855 X
28393 X   28856 X
28394     28857  
28395     28858  
28396 15.17   28859 15.17
28397 Color Properties   28860 Color Properties
28398 X(7)   28861 X(7)
28399 X(7)   28862 X(7)
28400 X   28863 X
28401 X   28864 X
28402     28865  
28403 X   28866 X
28404 15.18   28867 15.18
28405 Shadow Properties   28868 Shadow Properties
28406 X(7)   28869 X(7)
28407 X(7)   28870 X(7)
28408 X   28871 X
28409 X   28872 X
28410     28873  
28411     28874  
28412 15.19   28875 15.19
28413 Connector Properties   28876 Connector Properties
28414 X(7)   28877 X(7)
28415 X(7)   28878 X(7)
28416 X   28879 X
28417 X   28880 X
28418     28881  
28419     28882  
28420 15.20   28883 15.20
28421 Measure Properties   28884 Measure Properties
28422 X(7)   28885 X(7)
28423 X(7)   28886 X(7)
28424 X   28887 X
28425 X   28888 X
28426     28889  
28427     28890  
28428 15.21   28891 15.21
28429 Caption Properties   28892 Caption Properties
28430 X(7)   28893 X(7)
28431 X(7)   28894 X(7)
28432 X   28895 X
28433 X   28896 X
28434     28897  
28435     28898  
28436 15.22   28899 15.22
28437 3D Geometry Properties   28900 3D Geometry Properties
28438 X(7)   28901 X(7)
28439 X(7)   28902 X(7)
28440 X   28903 X
28441 X   28904 X
28442 X   28905 X
28443     28906  
28444 15.23   28907 15.23
28445 3D Lighting Properties   28908 3D Lighting Properties
28446 X(7)   28909 X(7)
28447 X(7)   28910 X(7)
28448 X   28911 X
28449 X   28912 X
28450 X   28913 X
28451     28914  
28452 15.24   28915 15.24
28453 3D Texture Properties   28916 3D Texture Properties
28454 X(7)   28917 X(7)
28455 X(7)   28918 X(7)
28456 X   28919 X
28457 X   28920 X
28458 X   28921 X
28459     28922  
28460 15.25   28923 15.25
28461 3D Material Properties   28924 3D Material Properties
28462 X(7)   28925 X(7)
28463 X(7)   28926 X(7)
28464 X   28927 X
28465 X   28928 X
28466 X   28929 X
28467     28930  
28468 15.26   28931 15.26
28469 3D Shadow Properties   28932 3D Shadow Properties
28470 X(7)   28933 X(7)
28471 X(7)   28934 X(7)
28472 X   28935 X
28473 X   28936 X
28474 X   28937 X
28475     28938  
28476 15.27   28939 15.27
28477 Frame Formatting Properties   28940 Frame Formatting Properties
28478 X   28941 X
28479 (X)   28942 (X)
28480 (X)   28943 (X)
28481 (X)   28944 (X)
28482 (X)   28945 (X)
28483     28946  
28484 15.28   28947 15.28
28485 Floating Frame Formatting Properties   28948 Floating Frame Formatting Properties
28486 X   28949 X
28487 X   28950 X
28488 X   28951 X
28489 X   28952 X
28490     28953  
28491     28954  
28492 15.29   28955 15.29
28493 Chart Formatting Properties   28956 Chart Formatting Properties
28494     28957  
28495     28958  
28496     28959  
28497     28960  
28498 X   28961 X
28499     28962  
28500 15.30   28963 15.30
28501 Chart Subtype Properties   28964 Chart Subtype Properties
28502     28965  
28503     28966  
28504     28967  
28505     28968  
28506 X   28969 X
28507     28970  
28508 15.31   28971 15.31
28509 Chart Axes Properties   28972 Chart Axes Properties
28510     28973  
28511     28974  
28512     28975  
28513     28976  
28514 X   28977 X
28515     28978  
28516 15.32   28979 15.32
28517 Common Chart Properties   28980 Common Chart Properties
28518     28981  
28519     28982  
28520     28983  
28521     28984  
28522 X   28985 X
28523     28986  
28524 15.33   28987 15.33
28525 Statistical Properties   28988 Statistical Properties
28526     28989  
28527     28990  
28528     28991  
28529     28992  
28530 X   28993 X
28531     28994  
28532 15.34   28995 15.34
28533 Plot Area Properties   28996 Plot Area Properties
28534     28997  
28535     28998  
28536     28999  
28537     29000  
28538 X   29001 X
28539     29002  
28540 15.35   29003 15.35
28541 Regression Curve Properties   29004 Regression Curve Properties
28542     29005  
28543     29006  
28544     29007  
28545     29008  
28546 X   29009 X
28547     29010  
28548 15.36   29011 15.36
28549 Presentation Page Attributes   29012 Presentation Page Attributes
28550     29013  
28551     29014  
28552     29015  
28553 X   29016 X
28554     29017  
28555     29018  
28556 (1)within table cells   29019 (1)within table cells
28557 (2)within text boxes   29020 (2)within text boxes
28558 (3)within some chart objects   29021 (3)within some chart objects
28559 (4)only frames that contain images   29022 (4)only frames that contain images
28560 (5)within text   29023 (5)within text
28561 (6)only automatic styles   29024 (6)only automatic styles
28562 (7)only for drawing shapes   29025 (7)only for drawing shapes
28563     29026  
    <> 29027 Appendix E.Accessibility Guidelines (Non Normative)
      29028 E.1.Title, Description and Caption of Graphical Elements
      29029 User agents supporting platform accessibility APIs should follow the following conventions for supporting the accessible name, accessible description (accessible help on some systems), and caption-id relationships (see sections 9.2.20 and 9.2.15:Caption-ID for a description of these elements and attributes):
      29030 If an <svg:title> element is provided it should map to the accessible name. If not, the name should use the text referenced by the draw:caption-id attribute. The <svg:desc> element must be used to support the accessible description. User agents shall not manufacture names for the <svg:title> element, such as using the drawing object name followed by a cardinal number in a string as it is used for accessibility. Name assignments such as these provide no semantic meaning to the user.
      29031 When transforming from another document format to OpenDocument the short names, like HTML's alt text on the <img> elements shall be mapped to the <svg:title> element.
      29032 If the user agent supports a platform which provides a draw:caption-id relationship in its accessibility API, this relationship for captions should be used to fulfill the relationship.
      29033 Guidance for authors:
      29034 Authors should not assign names to objects having no semantic value. If no name is assigned the caption text will be used in its place.<svg:title> elements shall take precedence over the caption text for accessible name assignment by the user agent.
      29035 Assignment of the long description should only be necessary when a drawing object is significantly complex and the user needs more information to describe it. Long descriptions would be more applicable to drawing groupings than basic drawing shapes.
      29036 Authoring tool responsibility for presenting and prompting for the <svg:title> and <svg:desc> elements:
      29037 Authoring tools should provide an option from an objects context menu to allow the user to enter the text for either of these elements as a minimum. More proactive authoring tools should have a facility for prompting the author for this text. Since the <svg:desc> element is a long description, a text area vs. a text field should be used to prompt the user accordingly in GUI-based authoring tools like office applications.
      29038 Navigation tools used to list the objects in the view should provide the type of object followed by the contents of <svg:title> element. The title must have been entered by the author.
      29039 For <draw:g> elements the drawing objects which are members of the group should visible only when the group is expanded.
      29040 E.2.Hyperlink Titles
      29041 When transforming from another document format to OpenDocument the alt text of hyperlinks, shall be mapped to the office:title attribute of <text:a> elements (see section 5.1.4) or  <draw:a> elements (see section 9.3.9). When exporting OpenDocument documents to HTML, the contents of title text should be mapped to title attribute text on HTML anchor tags. As a minimum, authoring tools should provide a mechanism to provide the hint text.
      29042 The title text should be made accessible to the assistive technology and user. The user agent should allow for programmatic access through standard accessibility APIs such as the accessible description. Users should experience visible access to the hint text via the keyboard or mouse.
      29043 E.3.Tables in Presentations
      29044 Users importing non-OpenDocument slides that contain tables need access to the table structure via their assistive technology. Therefore tables imported into an OpenDocument application from another file format must have their structure preserved, and when saved as OpenDocument should be saved as as embedded spreadsheets.
      29045 E.4.Further Guidelines
      29046 Please see the additional, detailed Accessibility Guidelines http://docs.oasis-open.org/office/office-accessibility/guidelines. That more comprehensive document will be the up-to-date set of recommendations for what all OpenDocument applications should do in order to fully support accessibility.
      29047  
      29048 Appendix F.Bidirectional (BiDi) Scripts,Numeric Digits Presentation and Calendars (Non Normative)
      29049 This appendix describes how bidirectional (BiDi) scripts and related information are represented in OpenDocument.
      29050 Paragraph and Layout Direction
      29051 In OpenDocument, the direction of text runs inside a paragraph is calculated using the Unicode BiDi Algorithm (see [UAX9]). The paragraph direction, as required by the BiDi Algorithm (see BD5 of [UAX9]), and the display direction of layout objects like table or page columns (in the following called layout direction) is controlled by a writing mode attribute (style:writing-mode) that can be used within styles.
      29052 The writing mode attribute can be applied individually to paragraph styles, page styles, section styles, table styles and graphic styles. If present within a paragraph style, it controls the paragraph direction of those paragraphs, to which the style is applied. If present within a page style, section style, table style or graphic style, it controls the layout direction of those pages, text sections, tables and text-boxes to which the styles is applied.
      29053 Section 15.2.19 describes the style:writing-mode attribute for page styles. It may, among other values, take the the values lr-tb (left-to-right, top-to-bottom) and rl-tb (right-to-left, top-to-bottom). The writing-mode attribute of a page style specifies the layout direction of page columns (left-to-right or right-to-left) for pages that are formatted using the page style.
      29054 Section 15.5.36 describes the style:writing-mode attribute for paragraph styles. It specifies the paragraph direction as defined in BD5 of [UAX9] for all paragraphs that have the paragraph style assigned. For paragraphs that are contained in lists, it further specifies whether the list numbers and bullets are displayed on the left or on the right of the paragraph.
      29055 The writing mode attribute for paragraph styles takes the same values as the writing mode attribute for page styles, but may also take the value page. This value specifies that the paragraph direction is inherited from the layout direction of the closest layout object (section, table or text-box) in which the paragraph is contained, and which has a layout direction other than page. If the paragraph is not contained in any of these layout objects, the paragraph direction is inherited from the page on which the paragraph appears.
      29056 The paragraph direction determines the default bidirectional orientation of the text in that paragraph. The result of the BiDi Algorithm can be manually changed by inserting BiDi embedding control characters (U+202A ... U+202E) and  implicit directional marks (U+200E ...U+200F) into the text (see [UTR20]).
      29057 OpenDocument further has a style:automatic-writing-mode attributes (described in section 15.5.37) that specifies that an application is allowed to recalculate the value of the paragraph's writing-mode attribute based on its content whenever the content changes.
      29058 Section 15.7.8 describes the style:writing-mode attribute for section styles. It may take the same values as the writing mode attribute for paragraph styles.
      29059 The writing-mode attribute of a section style specifies the layout direction of section columns (left-to-right or right-to-left) for text sections that have the section style assigned. If the attribute's value is page, then the layout direction is inherited from the layout direction of the closest layout object (section, table or text-box) in which the section is contained, and which has a layout direction other than page.
      29060 Section 15.8.13 describes the style:writing-mode attribute for table styles. It may take the same values as the writing mode attribute for paragraph styles.
      29061 The writing-mode attribute of a table style specifies the layout direction of table cells (left-to-right or right-to-left) for tables that have the table style assigned. If the attribute's value is page, then the layout direction is inherited from the layout direction of the closest layout object (section, table or text-box) in which the table is contained, and which has a layout direction other than page.
      29062 Section 14.13.1 describes the style:writing-mode attribute for graphic styles. It may take the same values as the writing mode attribute for paragraph styles.
      29063 The writing-mode attribute of a graphic style specifies the layout direction of columns (left-to-right or right-to-left) for text-boxes that have the graphic style assigned. If the attribute's value is page, then the layout direction for text-boxes that are anchored to a page is inherited from the layout direction of the page on which the text-box is displayed. For text-boxes that have a different anchor type, the layout direction is inherited from the paragraph direction of the paragraph that contains the text-box.
      29064 Numeric Digits Presentation and Calendars
      29065 All digits that have a Unicode code point can be included in an OpenDocument document.
      29066 Note: Some office application have a feature that allows the user to specify whether the ASCII digits U+0030 ... U+0039 should be displayed as Arabic digits or as Indic digits (U+0660 ... U+0669). Since this feature effects only what digits are displayed and does not influence the representation of digits in the document itself, OpenDocument only allows storing this setting as an application specific setting, not as document or style content.
      29067 For list numbers, that are calculated automatically, OpenDocument provides a generic mechanism to specify the applicable numbering formats (see section 12.2.2).
      29068 Note: The specification currently mentions only  "1, 2, 3...", "I, II, III...", and "i, ii, iii" explicitly, but the schema also allows a generic string here.
      29069 OpenDocument further supports data styles, which describe how different types of data are displayed, for example, a number or a date. Data styles are described in section 14.7. The presentation of numeric digits can be controlled by the transliteration attributes described in section 14.7.10. The presentation of date information can be controlled by the number:calendar attribute specified in section 14.7.11.
28564 Appendix E.Changes From Previous Specification Versions (Non Normative)   29070 Appendix G.Changes From Previous Specification Versions (Non Normative)
28565 E.1.Changes from “Open Office Specification 1.0 Committee Draft 1”   29071 G.1.Changes from “Open Office Specification 1.0 Committee Draft 1”
28566 The following are the changes since the “Open Office Specification 1.0 Committee Draft 1”: = 29072 The following are the changes since the “Open Office Specification 1.0 Committee Draft 1”:
28567 The name of this specification has been changed to “Open Document Format for Office Applications (OpenDocument) 1.0”.   29073 The name of this specification has been changed to “Open Document Format for Office Applications (OpenDocument) 1.0”.
28568 The namespace URIs (section 1.3) have been adapted to the new specification name.   29074 The namespace URIs (section 1.3) have been adapted to the new specification name.
28569 The MIME type recommendations have been moved into a non normative appendix (appendix C) and have been adapted to the new specification name.   29075 The MIME type recommendations have been moved into a non normative appendix (appendix C) and have been adapted to the new specification name.
28570 Various new definitions have been added. Among them are:   29076 Various new definitions have been added. Among them are:
28571 Custom Shapes (section 9.5)   29077 Custom Shapes (section 9.5)
28572 SMIL Animations (section 9.8 and chapter 13)   29078 SMIL Animations (section 9.8 and chapter 13)
28573 Support for XForms (section 11.2)   29079 Support for XForms (section 11.2)
28574 Various errors in the schema and descriptions have been corrected.   29080 Various errors in the schema and descriptions have been corrected.
28575 Some descriptions have been rewritten for easier understanding.   29081 Some descriptions have been rewritten for easier understanding.
28576 E.2.Changes from “Open Document Format for Office Applications (OpenDocument) 1.0 Committee Draft 2” <> 29082 G.2.Changes from “Open Document Format for Office Applications (OpenDocument) 1.0 Committee Draft 2”
28577 The following are the changes since the “Open Document Format for Office Applications (OpenDocument) 1.0 Committee Draft 2”: = 29083 The following are the changes since the “Open Document Format for Office Applications (OpenDocument) 1.0 Committee Draft 2”:
28578 Namespaces for compatible elements and attributes have been added as follows:   29084 Namespaces for compatible elements and attributes have been added as follows:
28579 urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0 for attributes that are compatible with [XSL];   29085 urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0 for attributes that are compatible with [XSL];
28580 urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0 for elements and attributes that are compatible with [SVG];   29086 urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0 for elements and attributes that are compatible with [SVG];
28581 urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0 for attributes that are compatible with [SMIL20].   29087 urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0 for attributes that are compatible with [SMIL20].
28582 The following namespaces are not imported any longer:   29088 The following namespaces are not imported any longer:
28583 http://www.w3.org/1999/XSL/Format   29089 http://www.w3.org/1999/XSL/Format
28584 http://www.w3.org/2000/svg   29090 http://www.w3.org/2000/svg
28585 http://www.w3.org/2001/SMIL20/   29091 http://www.w3.org/2001/SMIL20/
28586 The attribute xforms:submission specified in section 11.3.11 has been renamed to form:xforms-submission.   29092 The attribute xforms:submission specified in section 11.3.11 has been renamed to form:xforms-submission.
28587 Information for Custom Shapes (section 9.5),  SMIL Animations (sections 9.8 and chapter 13) and Presentation Text Fields (section 9.10) has been added to the core feature set table in appendix D; the chapter numbers in the table have been updated.   29093 Information for Custom Shapes (section 9.5),  SMIL Animations (sections 9.8 and chapter 13) and Presentation Text Fields (section 9.10) has been added to the core feature set table in appendix D; the chapter numbers in the table have been updated.
28588 E.3.Changes from “Open Document Format for Office Applications (OpenDocument) v1.0” <> 29094 G.3.Changes from “Open Document Format for Office Applications (OpenDocument) v1.0”
28589 The following are the changes between the “Open Document Format for Office Applications (OpenDocument) v1.0” specification and the “Open Document Format for Office Applications (OpenDocument) v1.0 (Second Edition)” specification. = 29095 The following are the changes between the “Open Document Format for Office Applications (OpenDocument) v1.0” specification and the “Open Document Format for Office Applications (OpenDocument) v1.0 (Second Edition)” specification.
28590 The usage of key words for “shall”, “may”, etc. conforms now to Annex H of the ISO directives.   29096 The usage of key words for “shall”, “may”, etc. conforms now to Annex H of the ISO directives.
28591 Various ambiguous references were replaced with explicit references to chapter and section numbers.   29097 Various ambiguous references were replaced with explicit references to chapter and section numbers.
28592 Various spelling and grammatical errors were corrected.   29098 Various spelling and grammatical errors were corrected.
28593 All occurrences of "unicode" and "UNICODE" were replaced with the bibliographic reference “[UNICODE]”. A bibliographic entry for Unicode was added to appendix B.   29099 All occurrences of "unicode" and "UNICODE" were replaced with the bibliographic reference “[UNICODE]”. A bibliographic entry for Unicode was added to appendix B.
28594 All occurrences of the term URI, with the exception of one in appendix E.1, were replaced with the term IRI, because the W3C Schema "anyURI" datatype that is used in the OpenDocument schema actually takes IRIs rather than URIs. References to [RFC2396]) were replaced with references to [RFC3987]. In appendix B, the bibliographic entry for RFC2396 was replaced with one for RFC3987.   29100 All occurrences of the term URI, with the exception of one in appendix E.1, were replaced with the term IRI, because the W3C Schema "anyURI" datatype that is used in the OpenDocument schema actually takes IRIs rather than URIs. References to [RFC2396]) were replaced with references to [RFC3987]. In appendix B, the bibliographic entry for RFC2396 was replaced with one for RFC3987.
28595 A reference to the RELAX NG DTD Compatibility specification was added to the second paragraph of section 1.4. A bibliography entry for the RELAX NG DTD Compatibility specification was added to appendix B.   29101 A reference to the RELAX NG DTD Compatibility specification was added to the second paragraph of section 1.4. A bibliography entry for the RELAX NG DTD Compatibility specification was added to appendix B.
28596 References to [RFC2045] were added to some usages of the term “BASE64”, and occurrences of “base64” were corrected to “BASE64”. A bibliography entry for RFC2045 has been added to appendix B.   29102 References to [RFC2045] were added to some usages of the term “BASE64”, and occurrences of “base64” were corrected to “BASE64”. A bibliography entry for RFC2045 has been added to appendix B.
28597 The description of the draw:z-index attribute in section 9.2.5 was corrected.   29103 The description of the draw:z-index attribute in section 9.2.5 was corrected.
28598 The references to the W3C CSS3 Text Module were clarified. In appendix B, the URL “http://www.w3.org/TR/2003/CR-css3-text-20030514” was added to the bibliographic entry for CSS3Text.   29104 The references to the W3C CSS3 Text Module were clarified. In appendix B, the URL “http://www.w3.org/TR/2003/CR-css3-text-20030514” was added to the bibliographic entry for CSS3Text.
28599 In appendix B, the bibliographic entry for [RNG] now references to the ISO Relax-NG specification document rather than the OASIS Relax-NG specification document.   29105 In appendix B, the bibliographic entry for [RNG] now references to the ISO Relax-NG specification document rather than the OASIS Relax-NG specification document.
28600 In appendix B, the bibliographic entry for ZIP was updated.   29106 In appendix B, the bibliographic entry for ZIP was updated.
28601 The contributor list was moved from the title page into an appendix.   29107 The contributor list was moved from the title page into an appendix.
    <> 29108 G.4.Changes from “Open Document Format for Office Applications (OpenDocument) v1.0 (Second Edition)”
      29109 The following are the changes between the “Open Document Format for Office Applications
      29110 The following are the changes between the “Open Document Format for Office Applications (OpenDocument) v1.0 (Second Edition)” specification and the “Open Document Format for Office Applications (OpenDocument) v1.1” specification.
      29111 The accessibility support of OpenDocument was improved by the following changes:
      29112 Soft Page Breaks were added.
      29113 The usage of table header and row columns was clarified (sections 8.2.2 and 8.2.4).
      29114 A logical navigation order for presentation slides was added (section 9.1.4).
      29115 Alternative texts for graphical objects, image maps, drawing layers and hyperlinks were added (sections 9.2.20, 9.3.9 and 5.1.4).
      29116 An attribute to establish a relationship between graphical objects and captions was added (section 9.2.15).
      29117 An appendix E containing accessibility guidelines was added.
      29118 The use of DDE and OLE was clarified (section 12.6).
      29119 The measure units supported by attribute values of type “length” was clarified (chapter 16).
      29120 The definition of the “positiveLength” data type was improved (chapter 16).
      29121 The recommendations for event names to be used in event listener definitions was clarified (sections 11.6 and 12.4.1).
      29122 A style:writing-mode attribute was added for graphic styles (section 15.27.32).
      29123 An appendix F containing information on bidirectional (BiDi) scripts, numeric digits presentation and calendars was added.
      29124 The following errors in the schema were corrected:
      29125 Section 8.5.2:Null Date: The attribute  “table:date-value" was misspelled “table:date-value-type”.
      29126 Section 9.2.19:Align: An “<optional>” element was missing.
      29127 Section 13.1: For the elements described in this section, the schema referenced “common-fill-timing-attlist” instead of “common-timing-attlist”.
      29128 Section 13.4.1:Repeating Elements: The value “indefinite” was missing for the “smil:repeatCount” attribute, and an “<optional/><optional>” pair was missing between the attribute definitions of “smil:repeatCount” and “smil:repeatDur”.
      29129 Section 13.4.3: The element content for “<anim:seq>” was missing.
      29130 Section 13.4.4: The define “anim-iterate-attlist” was misspelled “anin-iterate-attlist”.
      29131 Section 13.4.4:The Target Element: Instead of referencing “common-anim-target-attlist”, the schema defined a subset of the defined attributes itself.
      29132 Section 14.4.1: A reference to  “text-decls” was missing in the definition of “header-footer-content”.
      29133 Section 14.4.2: A reference to  “office-forms” was missing in the definition of “presentation-notes”.
      29134 Section 14.6.1: The name attribute was missing the svg: namespace prefix.
      29135 Section 14.9.1:Position : The attribute value “right” was misspelled “rigth”.
      29136 Section 15.3.8: The definition was named “style-header-footer-attlist” instead of “style-header-footer-properties-attlist”.
      29137 Section 15.4.18: The schema for the "style:font-charset-asian" and "style:font-charset-complex" attributes was missing.
      29138 Section 15.5.35: The value "baseline" was missing.
      29139 Section 15.24.2:Kind: The attribute value “intensity” was misspelled “intesity”.
      29140 Section 15.27.22:Dynamic Wrap Threshold: The attribute “draw:dynamic-wrap-threshold” was misspelled “draw:dynamic-wrap-treshold”.
      29141 Section 15.31.3: The attribute  “chart:interval-minor-divisor” was misspelled “chart:interval-minor”.
      29142 Section 15.36.7: The attribute value type of "smil:fadeColor" was not "color".
      29143 Appendix A: The "style-chart-properties-content" define referenced "style-properties-content" instead of "style-chart-properties-content-strict".
      29144 The referenced version of xmlschema part 2 has been updated to xmlschema part 2 second edition.
      29145 The text and schema in section 8.3.1:Referencing Table Cells the text and schema was extended to allow for apostrophe characters in table names by escaping them through doubling in quoted names.
      29146 In section 15.5.39, and “auto”-value has been added to the style:page-number attribute.
      29147 In section 14.5.1:Row and Column Styles, the text:paragraph-style-name attribute was added.
      29148 The presentation:show-end-of-presentation-slide attribute has been added to section 9.11.5:Presentation Settings.
      29149 The example for addressing of sub-table cells has be clarified in section 8.2.6:Subtables.
      29150 The descriptive text in section 4.6.4 was clarified and some examples were corrected.
      29151 The example in section 4.3.2 was corrected.
      29152 In section 17.5, the restrictions that exist for IRIs that are used within a packages were clarified.
      29153 The descriptive texts in sections 8.1.2:Default Cell Style and 8.2.1:Default Cell Style were clarified.
      29154 In the description of the example in section 15.5.35, "middle" was referred to as "center".
      29155 The descriptive texts of sections 15.10 and 15.10.4 were corrected to refer to rows rather than columns.
      29156 The white-space processing in section 5.1.1 was clarified.
      29157 Various spelling errors were corrected.
      29158  
28602 Appendix F.Acknowledgments (Non Normative)   29159 Appendix H.Acknowledgments (Non Normative)
28603 Current Contributors: = 29160 Current Contributors:
28604 Daniel Brotsky, Adobe Systems   29161 Daniel Brotsky, Adobe Systems
28605 Jerome Dumonteil, Ars Aperta   29162 Jerome Dumonteil, Ars Aperta
28606 Charles Schulz, Ars Aperta   29163 Charles Schulz, Ars Aperta
28607 Jerry Berrier, BayState Council of the Blind (BSCB)   29164 Jerry Berrier, BayState Council of the Blind (BSCB)
28608 Donglin Wang, Changfeng Open Standards Platform Software Alliance <> 29165 Donglin Wang, Beijing Sursen International Information Technology Co., Ltd.
28609 Rui Zhao, Changfeng Open Standards Platform Software Alliance = 29166 Rui Zhao, Changfeng Open Standards Platform Software Alliance
28610 Stephen Noble, Design Science, Inc.   29167 Stephen Noble, Design Science, Inc.
28611 John Madden, Duke University   29168 John Madden, Duke University
28612 Chieko Asakawa, IBM   29169 Chieko Asakawa, IBM
28613 Nathaniel Borenstein, IBM   29170 Nathaniel Borenstein, IBM
    -+ 29171 Pete Brunet, IBM
28614 Yue Ma, IBM = 29172 Yue Ma, IBM
28615 Richard Schwerdtfeger, IBM   29173 Richard Schwerdtfeger, IBM
28616 Robert Weir, IBM   29174 Robert Weir, IBM
    -+ 29175 Zhi Yu Yue, IBM
28617 John Barstow, Individual = 29176 John Barstow, Individual
28618 Patrick Durusau, Individual   29177 Patrick Durusau, Individual
28619 Michael Paciello, Individual   29178 Michael Paciello, Individual
28620 Janina Sajka, Individual   29179 Janina Sajka, Individual
28621 David Clark, Institute for Community Inclusion   29180 David Clark, Institute for Community Inclusion
28622 Waldo Bastian, Intel Corporation   29181 Waldo Bastian, Intel Corporation
28623 James Mason, ISO/IEC JTC1/SC34   29182 James Mason, ISO/IEC JTC1/SC34
28624 David Faure, KDE e.V   29183 David Faure, KDE e.V
28625 Jody Goldberg, Novell   29184 Jody Goldberg, Novell
28626 David Pawson, Royal National Institute for the Blind   29185 David Pawson, Royal National Institute for the Blind
28627 Michael Brauer, Sun Microsystems, Inc.   29186 Michael Brauer, Sun Microsystems, Inc.
28628 Peter Korn, Sun Microsystems, Inc.   29187 Peter Korn, Sun Microsystems, Inc.
28629 Lars Oppermann, Sun Microsystems, Inc.   29188 Lars Oppermann, Sun Microsystems, Inc.
28630 Eike Rathke, Sun Microsystems, Inc.   29189 Eike Rathke, Sun Microsystems, Inc.
    <> 29190 Svante Schubert, Sun Microsystems, Inc.
28631 Florian Reuter, Sun Microsystems, Inc.   29191 Frank Stecher, Sun Microsystems, Inc.
28632 Malte Timmermann, Sun Microsystems, Inc. = 29192 Malte Timmermann, Sun Microsystems, Inc.
28633 Daniel Bricklin, The OpenDocument Foundation, Inc.   29193 Daniel Bricklin, The OpenDocument Foundation, Inc.
28634 Daniel Carrera, The OpenDocument Foundation, Inc.   29194 Daniel Carrera, The OpenDocument Foundation, Inc.
28635 Bruce D'Arcus, The OpenDocument Foundation, Inc.   29195 Bruce D'Arcus, The OpenDocument Foundation, Inc.
28636 Gary Edwards, The OpenDocument Foundation, Inc.   29196 Gary Edwards, The OpenDocument Foundation, Inc.
    <> 29197 Elmar Geese, The OpenDocument Foundation, Inc.
28637 Richard Kernick, The OpenDocument Foundation, Inc.   29198 Sam Hiser, The OpenDocument Foundation, Inc.
      29199 Michael Kleinhenz, The OpenDocument Foundation, Inc.
28638 Tomas Mecir, The OpenDocument Foundation, Inc. = 29200 Tomas Mecir, The OpenDocument Foundation, Inc.
28639 Thomas Metcalf, The OpenDocument Foundation, Inc.   29201 Thomas Metcalf, The OpenDocument Foundation, Inc.
    -+ 29202 Stefan Nikolaus, The OpenDocument Foundation, Inc.
      29203 Florian Reuter, The OpenDocument Foundation, Inc.
      29204 Daniel Vogelheim, The OpenDocument Foundation, Inc.
28640 David A. Wheeler, The OpenDocument Foundation, Inc. = 29205 David A. Wheeler, The OpenDocument Foundation, Inc.
28641 Chris Nokleberg, Tonic Systems, Inc.   29206 Chris Nokleberg, Tonic Systems, Inc.
28642 Previous Contributors:   29207 Previous Contributors:
28643 Paul Grosso, Arbortext   29208 Paul Grosso, Arbortext
28644 Tom Magliery, Blast Radius   29209 Tom Magliery, Blast Radius
28645 Doug Alberg, Boeing   29210 Doug Alberg, Boeing
28646 Paul Langille, Corel   29211 Paul Langille, Corel
28647 John Chelsom, CSW Informatics   29212 John Chelsom, CSW Informatics
28648 Monica Martin, Drake Certivo   29213 Monica Martin, Drake Certivo
28649 Jason Harrop, Individual   29214 Jason Harrop, Individual
28650 Uche Ogbuji, Individual   29215 Uche Ogbuji, Individual
28651 Lauren Wood, Individual   29216 Lauren Wood, Individual
28652 Simon Davis, National Archive of Australia   29217 Simon Davis, National Archive of Australia
28653 Mark Heller, New York State Office of the Attorney General   29218 Mark Heller, New York State Office of the Attorney General
28654 Phil Boutros, Stellent   29219 Phil Boutros, Stellent
28655 Daniel Vogelheim, Sun Microsystems, Inc. <>    
28656        
28657 Appendix G.Notices      
28658 Copyright © OASIS Open 2006. All Rights Reserved.      
28659 All capitalized terms in the following text have the meanings assigned to them in the OASIS Intellectual Property Rights Policy (the "OASIS IPR Policy"). The full Policy may be found at the OASIS website.      
28660 This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published, and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this section are included on all such copies and derivative works. However, this document itself may not be modified in any way, including by removing the copyright notice or references to OASIS, except as needed for the purpose of developing any document or deliverable produced by an OASIS Technical Committee (in which case the rules applicable to copyrights, as set forth in the OASIS IPR Policy, must be followed) or as required to translate it into languages other than English.      
28661 The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.      
28662 This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.      
28663 OASIS requests that any OASIS Party or any other party that believes it has patent claims that would necessarily be infringed by implementations of this OASIS Committee Specification or OASIS Standard, to notify OASIS TC Administrator and provide an indication of its willingness to grant patent licenses to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this specification.      
28664 OASIS invites any party to contact the OASIS TC Administrator if it is aware of a claim of ownership of any patent claims that would necessarily be infringed by implementations of this specification by a patent holder that is not willing to provide a license to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this specification. OASIS may include such claims on its website, but disclaims any obligation to do so.      
28665 OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS' procedures with respect to rights in any document or deliverable produced by an OASIS Technical Committee can be found on the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this OASIS Committee Specification or OASIS Standard, can be obtained from the OASIS TC Administrator. OASIS makes no representation that any information or list of intellectual property rights will at any time be complete, or that any claims in such list are, in fact, Essential Claims.