
Open Document Format for Office Applications (OpenDocument) v1.1
OASIS Standard, 1 Feb 2007
Specification URIs:
This Version:
http://docs.oasis-open.org/office/v1.1/OS/OpenDocument-v1.1.odt
http://docs.oasis-open.org/office/v1.1/OS/OpenDocument-v1.1.pdf
http://docs.oasis-open.org/office/v1.1/OS/OpenDocument-v1.1.html.zip
Previous Version:
http://www.oasis-open.org/committees/download.php/19275/OpenDocument-v1.0ed2-cs1.odt
http://www.oasis-open.org/committees/download.php/19274/OpenDocument-v1.0ed2-cs1.pdf
Latest Version:
http://docs.oasis-open.org/office/v1.1/OpenDocument-v1.1.odt
http://docs.oasis-open.org/office/v1.1/OpenDocument-v1.1.pdf
http://docs.oasis-open.org/office/v1.1/OpenDocument-v1.1.html.zip
Latest Approved Version:
http://docs.oasis-open.org/office/v1.1/OS/OpenDocument-v1.1.odt
http://docs.oasis-open.org/office/v1.1/OS/OpenDocument-v1.1.pdf
http://docs.oasis-open.org/office/v1.1/OS/OpenDocument-v1.1.html.zip
Technical Committee:
OASIS Open Document Format for Office Applications (OpenDocument) TC
Chair:
Michael Brauer, Sun Microsystems, Inc.
Editors:
Patrick Durusau, Individual
Michael Brauer, Sun Microsystems, Inc.
Lars Oppermann, Sun Microsystems, Inc.
Related Work:
This specification supersedes OASIS OpenDocument v1.0.
Declared XML Namespaces:
A list of XML namespaces declared by this specification is available in section 1.3.
Abstract:
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].
Status:
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.
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
www.oasis-open.org/committees/office.
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
(www.oasis-open.org/committees/office/ipr.php.
The non-normative errata page for this specification is located at www.oasis-open.org/committees/office.
Notices
Copyright © OASIS® 2002–2007. All Rights Reserved. OASIS trademark, IPR and other policies apply.
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.
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.
The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.
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.
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.
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.
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.
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.
Table of Contents
1.5 Document Processing and Conformance 36
1.6 White-Space Processing and EOL Handling 37
1.7 MIME Types and File Name Extensions 37
2.1.1 Document Root Element Content Models 40
2.1.2 Document Root Attributes 41
2.2.1 Pre-Defined vs. Custom Metadata 42
2.3 Body Element and Document Types 43
2.3.3 Presentation Documents 47
2.3.4 Spreadsheet Documents 48
2.4.3 Index Access of Sequences 52
2.4.5 Name Access of Sequences 53
2.4.6 Cursor Position Setting 53
3.1 Pre-Defined Metadata Elements 59
3.1.9 Creation Date and Time 61
3.1.10 Modification Date and Time 61
4.1 Headings, Paragraphs and Basic Text Structure 69
4.1.3 Common Paragraph Elements Attributes 70
4.5 Page-bound graphical content 81
5 Paragraph Elements Content 87
5.1.1 White-space Characters 87
5.1.2 Soft Hyphens, Hyphens, and Non-breaking Blanks 89
5.2 Bookmarks and References 93
5.7 Change Tracking and Change Marks 98
5.8 Inline graphics and text-boxes 98
6.1 Common Characteristics of Field Elements 99
6.2.4 Page Continuation Text 104
6.2.9 Document Template Name Fields 110
6.3.1 Declaring Simple Variables 112
6.3.2 Setting Simple Variables 112
6.3.3 Displaying Simple Variables 113
6.3.4 Simple Variable Input Fields 114
6.3.5 Declaring User Variables 115
6.3.6 Displaying User Variables 115
6.3.7 User Variable Input Fields 116
6.3.8 Declaring Sequence Variables 117
6.3.9 Using Sequence Fields 118
6.4.2 Document Creation Date 121
6.4.3 Document Creation Time 121
6.4.4 Document Description 121
6.4.5 User-Defined Document Information 122
6.4.12 Document Revision Number 124
6.4.13 Document Edit Duration 124
6.4.14 Document Modification Time 124
6.4.15 Document Modification Date 125
6.4.16 Document Modified By 125
6.4.17 Document Statistics Fields 125
6.5.1 Database Field Data Source 127
6.5.2 Displaying Database Content 128
6.5.3 Selecting the Next Database Row 128
6.5.4 Selecting a Row Number 129
6.5.5 Displaying the Row Number 130
6.5.6 Display Current Database and Table 131
6.6.1 Page Variable Fields 131
6.6.3 Conditional Text Fields 133
6.6.8 Hidden Paragraph Fields 140
6.6.9 DDE Connection Fields 141
6.6.11 Table Formula Field 142
6.7 Common Field Attributes 142
6.7.1 Variable Value Types and Values 142
6.7.8 Number Formatting Style 147
7.1.1 Table of Content Index Marks 149
7.1.2 User-Defined Index Marks 150
7.1.3 Alphabetical Index Mark 151
7.1.4 Bibliography Index Mark 153
7.3.1 Table of Content Source 156
7.3.2 Table of Content Entry Template 158
7.4 Index of Illustrations 159
7.4.1 Index of Illustration Source 160
7.4.2 Illustration Index Entry Template 161
7.5.2 Table Index Entry Template 163
7.6.2 Object Index Entry Template 165
7.7.1 User-Defined Index Source 165
7.7.2 User-Defined Index Entry Template 167
7.8.1 Alphabetical Index Source 168
7.8.3 Alphabetical Index Entry Template 172
7.9.1 Bibliography Index Source 173
7.9.2 Bibliography Entry Template 174
7.12 Index Template Entries 175
7.12.1 Chapter Information 176
7.12.5 Bibliography Information 177
7.12.7 Hyperlink Start and End 179
7.12.8 Example of an Index Entry Configuration 180
8.3.1 Referencing Table Cells 200
8.5 Spreadsheet Document Content 211
8.5.2 Calculation Settings 211
8.5.3 Table Cell Content Validations 214
8.6.3 Database Source Table 225
8.6.4 Database Source Query 226
8.6.8 Subtotal Sort Groups 230
8.8.6 Data Pilot Subtotals 247
8.8.10 Data Pilot Display Info 249
8.8.11 Data Pilot Sort Info 250
8.8.12 Data Pilot Layout Info 251
8.8.13 Data Pilot Field Reference 252
8.8.16 Data Pilot Group Member 257
8.11 Change Tracking in Spreadsheets 259
8.11.6 Cell Content Deletion 262
8.11.13 Target Range Address, Source Range Address 267
8.11.15 Cell Content Change 269
8.11.18 Common Change Tracking Attributes 270
9.1 Enhanced Page Features for Graphical Applications 272
9.2.15 Common Drawing Shape Attributes 298
9.2.16 Common Shape Attributes for Text and Spreadsheet Documents 302
9.2.17 Common Drawing Shape Content 305
9.2.18 Common Shape Attribute Groups 305
9.2.20 Title and Description 307
9.3.10 Client Side Image Maps 323
9.5.2 Enhanced Geometry - Extrusion Attributes 339
9.5.3 Enhanced Geometry - Path Attributes 345
9.5.4 Enhanced Geometry - Text Path Attributes 349
9.5.5 Enhanced Geometry – Equation 350
9.5.6 Enhanced Geometry - Handle Attributes 352
9.6.1 Common Presentation Shape Attributes 356
9.7 Presentation Animations 358
9.8 SMIL Presentation Animations 365
9.8.1 Recommended Usage Of SMIL 366
9.8.2 Document Dependent SMIL Animation Attribute Values 367
9.8.3 SMIL Presentation Animation Attributes 369
9.10 Presentation Text Fields 375
9.10.3 Date and Time Field 375
9.11 Presentation Document Content 376
9.11.1 Presentation Declarations 376
9.11.2 Header field declaration 376
9.11.3 Footer field declaration 376
9.11.4 Date and Time field declaration 377
9.11.5 Presentation Settings 377
10.1 Introduction to Chart Documents 383
10.3 Title, Subtitle and Footer 387
10.14.1 Stock Chart Markers 401
11.1.20 Connection Resource 410
11.4 Common Form and Control Attributes 431
11.4.2 Control Implementation 432
11.5 Common Control Attributes 432
11.5.4 Value and Current Value 434
11.5.21 Relative Image Position 443
11.5.22 Database Binding Attributes 444
12.1.2 Creation Date and Time 453
12.1.3 Creation Date and Time String 453
12.2.2 Format Specification 454
12.2.3 Letter Synchronization in Number Formats 454
12.3 Change Tracking Metadata 455
12.4 Event Listener Tables 455
12.6.1 Container for DDE Connection Declarations 459
12.6.2 Declaring DDE Connections for Text Fields 459
12.6.3 Declaring DDE Connections for Tables 461
13.1 Basic Animation Elements 463
13.2 Animation Model Attributes 467
13.3 Common Animation Attributes 467
13.3.1 Animation Target Attributes 468
13.3.2 Animation Function Attributes 468
13.4.1 Animation Timing Attributes 471
13.4.2 Parallel Animations 475
13.4.3 Sequential Animations 475
13.4.4 Iterative Animations 475
14.3.1 Header and Footer Styles 486
14.4.1 Headers and Footers 489
14.5.1 Row and Column Styles 494
14.6 Font Face Declaration 496
14.6.1 CSS2/SVG Font Descriptors 496
14.6.4 Font Family Generic 500
14.7.8 Common Data Style Elements 518
14.7.9 Common Data Style Attributes 519
14.7.11 Common Data Style Child Element Attributes 523
14.9.1 Line Numbering Configuration 526
14.9.2 Notes Configuration Element 530
14.9.3 Bibliography Configuration 533
14.10.1 Common List-Level Style Attributes 536
14.10.2 Number Level Style 537
14.10.3 Bullet Level Style 538
14.10.5 List Level Style Example 541
14.11.1 Outline Level Style 542
14.12.2 Table Column Styles 544