Open Document Format for Office Applications (OpenDocument) Version 1.2

Part 1: OpenDocument Schema

Committee Specification Draft 06

2 December 2010

Specification URIs:

This Version:

http://docs.oasis-open.org/office/v1.2/csd06/OpenDocument-v1.2-csd06-part1.odt       (Authoritative)
http://docs.oasis-open.org/office/v1.2/csd06/OpenDocument-v1.2-csd06-part1.pdf
http://docs.oasis-open.org/office/v1.2/csd06/OpenDocument-v1.2-csd06-part1.html

Previous Version:

http://docs.oasis-open.org/office/v1.2/cd05/OpenDocument-v1.2-cd05-part1.odt (Authoritative)
http://docs.oasis-open.org/office/v1.2/cd05/OpenDocument-v1.2-cd05-part1.pdf
http://docs.oasis-open.org/office/v1.2/cd05/OpenDocument-v1.2-cd05-part1.html

Latest Version:

http://docs.oasis-open.org/office/v1.2/OpenDocument-v1.2-part1.odt
http://docs.oasis-open.org/office/v1.2/OpenDocument-v1.2-part1.pdf
http://docs.oasis-open.org/office/v1.2/OpenDocument-v1.2-part1.html

Technical Committee:

OASIS Open Document Format for Office Applications (OpenDocument) TC

Chairs:

Rob Weir, IBM
Michael Brauer, Oracle Corporation

Editors:

Patrick Durusau <patrick@durusau.net>

Michael Brauer, Oracle Corporation <michael.brauer@sun.com>

Related Work:

This document is part of the OASIS Open Document Format for Office Applications (OpenDocument) Version 1.2 specification.

The OpenDocument v1.2 specification has these parts:

OpenDocument v1.2 part 1 (this part); OpenDocument Schema
OpenDocument v1.2 part 2: Recalculated Formula (OpenFormula) Format
OpenDocument v1.2 part 3: Packages

OpenDocument v1.2 part 1 defines these schemas and ontologies:

OpenDocument v1.2 Relax NG Schema
OpenDocument v1.2 Metadata Manifest Ontology

Declared XML Namespaces:

urn:oasis:names:tc:opendocument:xmlns:animation:1.0
urn:oasis:names:tc:opendocument:xmlns:chart:1.0
urn:oasis:names:tc:opendocument:xmlns:config:1.0
urn:oasis:names:tc:opendocument:xmlns:database:1.0
urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0
urn:oasis:names:tc:opendocument:xmlns:drawing:1.0
urn:oasis:names:tc:opendocument:xmlns:form:1.0
urn:oasis:names:tc:opendocument:xmlns:manifest:1.0
urn:oasis:names:tc:opendocument:xmlns:meta:1.0
urn:oasis:names:tc:opendocument:xmlns:data style:1.0
urn:oasis:names:tc:opendocument:xmlns:office:1.0
urn:oasis:names:tc:opendocument:xmlns:presentation:1.0
urn:oasis:names:tc:opendocument:xmlns:script:1.0
urn:oasis:names:tc:opendocument:xmlns:table:1.0
urn:oasis:names:tc:opendocument:xmlns:text:1.0
urn:oasis:names:tc:opendocument:xmlns:style:1.0
urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0
urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0
urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0
urn:oasis:names:tc:opendocument:xmlns:of:1.2
http://docs.oasis-open.org/ns/office/1.2/meta/odf#

Abstract:

This document is part of the Open Document Format for Office Applications (OpenDocument) Version 1.2 specification.

It 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.

Status:

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.

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.)

 

Notices

Copyright © OASIS® 2002–2010. All Rights Reserved.

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 Introduction

1.1 Introduction

1.2 Terminology

1.3 Normative References

1.4 Non Normative References

1.5 Namespaces

2 OpenDocument Documents, Consumers and Producers

2.1 Introduction

2.2 Documents

2.2.1 OpenDocument Document

2.2.2 OpenDocument Extended Document

2.2.3 OpenDocument Text Document

2.2.4 OpenDocument Spreadsheet Document

2.2.5 OpenDocument Drawing Document

2.2.6 OpenDocument Presentation Document

2.2.7 OpenDocument Chart Document

2.2.8 OpenDocument Image Document

2.2.9 OpenDocument Formula Document

2.2.10 OpenDocument Database Front End Document

2.3 Producers

2.3.1 OpenDocument Producer

2.3.2 OpenDocument Extended Producer

2.4 Consumer

3 Document Structure

3.1 Document Representation

3.1.1 General

3.1.2 <office:document>(Single OpenDocument XML Files)

3.1.3 Package OpenDocument Files

3.1.3.1 General

3.1.3.2 <office:document-content>

3.1.3.3 <office:document-styles>

3.1.3.4 <office:document-meta>

3.1.3.5 <office:document-settings>

3.1.4 Summary of Document Representation

3.2 <office:meta>

3.3 <office:body>

3.4 <office:text>

3.5 <office:drawing>

3.6 <office:presentation>

3.7 <office:spreadsheet>

3.8 <office:chart>

3.9 <office:image>

3.10 <office:settings>

3.10.1 General

3.10.2 <config:config-item-set>

3.10.3 <config:config-item>

3.10.4 <config:config-item-map-indexed>

3.10.5 <config:config-item-map-entry>

3.10.6 <config:config-item-map-named>

3.11 Cursor Position Setting

3.12 <office:scripts>

3.13 <office:script>

3.14 <office:font-face-decls>

3.15 Styles

3.15.1 General

3.15.2 <office:styles>

3.15.3 <office:automatic-styles>

3.15.4 <office:master-styles>

3.16 Document Signatures

3.17 Foreign Elements and Attributes

3.18 White Space Processing and EOL Handling

3.19 MIME Types and File Name Extensions

4 Metadata

4.1 General

4.2 RDF Metadata

4.2.1 In Content Metadata (RDFa)

4.2.2 manifest.rdf

4.2.2.1 General

4.2.2.2 odf:ContentFile

4.2.2.3 odf:StylesFile

4.2.2.4 odf:Element

4.2.2.5 odf:prefix

4.2.2.6 odf:suffix

4.3 Non-RDF Metadata

4.3.1 General

4.3.2 Pre-Defined Metadata Elements

4.3.2.1 <meta:generator>

4.3.2.2 <dc:title>

4.3.2.3 <dc:description>

4.3.2.4 <dc:subject>

4.3.2.5 <meta:keyword>

4.3.2.6 <meta:initial-creator>

4.3.2.7 <dc:creator>

4.3.2.8 <meta:printed-by>

4.3.2.9 <meta:creation-date>

4.3.2.10 <dc:date>

4.3.2.11 <meta:print-date>

4.3.2.12 <meta:template>

4.3.2.13 <meta:auto-reload>

4.3.2.14 <meta:hyperlink-behaviour>

4.3.2.15 <dc:language>

4.3.2.16 <meta:editing-cycles>

4.3.2.17 <meta:editing-duration>

4.3.2.18 <meta:document-statistic>

4.3.3 <meta:user-defined>

5 Text Content

5.1 Headings, Paragraphs and Basic Text Structure

5.1.1 General

5.1.2 <text:h>

5.1.3 <text:p>

5.2 <text:page-sequence>

5.2.1 General

5.2.2 <text:page>

5.3 Lists

5.3.1 <text:list>

5.3.2 Default List Style

5.3.3 <text:list-header>

5.3.4 <text:list-item>

5.3.5 List Item Style Rules

5.3.6 <text:numbered-paragraph>

5.3.7 Numbered Paragraph Style Rules

5.4 <text:section>

5.4.1 General

5.4.2 <text:section-source>

5.5 Change Tracking

5.5.1 <text:tracked-changes>

5.5.2 <text:changed-region>

5.5.3 <text:insertion>

5.5.4 <text:deletion>

5.5.5 <text:format-change>

5.5.6 <office:change-info>

5.5.7 Change Marks

5.5.7.1 General

5.5.7.2 <text:change-start>

5.5.7.3 <text:change-end>

5.5.7.4 <text:change>

5.6 <text:soft-page-break>

5.7 Document Declarations

6 Paragraph Elements Content

6.1 Basic Text Content

6.1.1 General

6.1.2 White Space Characters

6.1.3 <text:s>

6.1.4 <text:tab>

6.1.5 <text:line-break>

6.1.6 Soft Hyphens, Hyphens, and Non-breaking Spaces

6.1.7 <text:span>

6.1.8 <text:a>

6.1.9 <text:meta>

6.1.10 <text:number>

6.2 Bookmarks and References

6.2.1 Bookmarks

6.2.1.1 General

6.2.1.2 <text:bookmark>

6.2.1.3 <text:bookmark-start>

6.2.1.4 <text:bookmark-end>

6.2.2 References

6.2.2.1 General

6.2.2.2 <text:reference-mark>

6.2.2.3 <text:reference-mark-start>

6.2.2.4 <text:reference-mark-end>

6.3 Notes

6.3.1 General

6.3.2 <text:note>

6.3.3 <text:note-citation>

6.3.4 <text:note-body>

6.4 <text:ruby>

6.4.1 General

6.4.2 <text:ruby-base>

6.4.3 <text:ruby-text>

7 Text Fields

7.1 General

7.2 Common Characteristics of Field Elements

7.3 Document Fields

7.3.1 General

7.3.2 <text:date>

7.3.3 <text:time>

7.3.4 <text:page-number>

7.3.5 <text:page-continuation>

7.3.6 Subsequent Author Fields

7.3.6.1 General

7.3.6.2 <text:sender-firstname>

7.3.6.3 <text:sender-lastname>

7.3.6.4 <text:sender-initials>

7.3.6.5 <text:sender-title>

7.3.6.6 <text:sender-position>

7.3.6.7 <text:sender-email>

7.3.6.8 <text:sender-phone-private>

7.3.6.9 <text:sender-fax>

7.3.6.10 <text:sender-company>

7.3.6.11 <text:sender-phone-work>

7.3.6.12 <text:sender-street>

7.3.6.13 <text:sender-city>

7.3.6.14 <text:sender-postal-code>

7.3.6.15 <text:sender-country>

7.3.6.16 <text:sender-state-or-province>

7.3.7 Author Fields

7.3.7.1 <text:author-name>

7.3.7.2 <text:author-initials>

7.3.8 <text:chapter>

7.3.9 <text:file-name>

7.3.10 <text:template-name>

7.3.11 <text:sheet-name>

7.4 Variable Fields

7.4.1 General

7.4.2 <text:variable-decls>

7.4.3 <text:variable-decl>

7.4.4 <text:variable-set>

7.4.5 <text:variable-get>

7.4.6 <text:variable-input>

7.4.7 <text:user-field-decls>

7.4.8 <text:user-field-decl>

7.4.9 <text:user-field-get>

7.4.10 <text:user-field-input>

7.4.11 <text:sequence-decls>

7.4.12 <text:sequence-decl>

7.4.13 <text:sequence>

7.4.14 <text:expression>

7.4.15 <text:text-input>

7.5 Metadata Fields

7.5.1 General

7.5.2 <text:initial-creator>

7.5.3 <text:creation-date>

7.5.4 <text:creation-time>

7.5.5 <text:description>

7.5.6 <text:user-defined>

7.5.7 <text:print-time>

7.5.8 <text:print-date>

7.5.9 <text:printed-by>

7.5.10 <text:title>

7.5.11 <text:subject>

7.5.12 <text:keywords>

7.5.13 <text:editing-cycles>

7.5.14 <text:editing-duration>

7.5.15 <text:modification-time>

7.5.16 <text:modification-date>

7.5.17 <text:creator>

7.5.18 Document Statistics Fields

7.5.18.1 General

7.5.18.2 <text:page-count>

7.5.18.3 <text:paragraph-count>

7.5.18.4 <text:word-count>

7.5.18.5 <text:character-count>

7.5.18.6 <text:table-count>

7.5.18.7 <text:image-count>

7.5.18.8 <text:object-count>

7.5.19 <text:meta-field>

7.6 Database Fields

7.6.1 General

7.6.2 <form:connection-resource>

7.6.3 <text:database-display>

7.6.4 <text:database-next>

7.6.5 <text:database-row-select>

7.6.6 <text:database-row-number>

7.6.7 <text:database-name>

7.7 More Fields

7.7.1 Page Variable Fields

7.7.1.1 General

7.7.1.2 <text:page-variable-set>

7.7.1.3 <text:page-variable-get>

7.7.2 <text:placeholder>

7.7.3 <text:conditional-text>

7.7.4 <text:hidden-text>

7.7.5 <text:reference-ref>

7.7.6 <text:bookmark-ref>

7.7.7 <text:note-ref>

7.7.8 <text:sequence-ref>

7.7.9 <text:script>

7.7.10 <text:execute-macro>

7.7.11 <text:hidden-paragraph>

7.7.12 <text:dde-connection>

7.7.13 <text:measure>

7.7.14 <text:table-formula> (deprecated)

8 Text Indexes

8.1 Index Marks

8.1.1 General

8.1.2 <text:toc-mark-start>

8.1.3 <text:toc-mark-end>

8.1.4 <text:toc-mark>

8.1.5 <text:user-index-mark-start>

8.1.6 <text:user-index-mark-end>

8.1.7 <text:user-index-mark>

8.1.8 <text:alphabetical-index-mark-start>

8.1.9 <text:alphabetical-index-mark-end>

8.1.10 <text:alphabetical-index-mark>

8.1.11 <text:bibliography-mark>

8.2 Index Structure

8.2.1 General

8.2.2 <text:index-body>

8.2.3 <text:index-title>

8.3 <text:table-of-content>

8.3.1 General

8.3.2 <text:table-of-content-source>

8.3.3 <text:table-of-content-entry-template>

8.4 <text:illustration-index>

8.4.1 General

8.4.2 <text:illustration-index-source>

8.4.3 <text:illustration-index-entry-template>

8.5 <text:table-index>

8.5.1 General

8.5.2 <text:table-index-source>

8.5.3 <text:table-index-entry-template>

8.6 <text:object-index>

8.6.1 General

8.6.2 <text:object-index-source>

8.6.3 <text:object-index-entry-template>

8.7 <text:user-index>

8.7.1 General

8.7.2 <text:user-index-source>

8.7.3 <text:user-index-entry-template>

8.8 <text:alphabetical-index>

8.8.1 General

8.8.2 <text:alphabetical-index-source>

8.8.3 <text:alphabetical-index-auto-mark-file>

8.8.4 <text:alphabetical-index-entry-template>

8.9 <text:bibliography>

8.9.1 General

8.9.2 <text:bibliography-source>

8.9.3 <text:bibliography-entry-template>

8.10 <text:index-source-styles>

8.11 <text:index-source-style>

8.12 <text:index-title-template>

8.13 Index Template Entries

8.13.1 <text:index-entry-chapter>

8.13.2 <text:index-entry-text>

8.13.3 <text:index-entry-page-number>

8.13.4 <text:index-entry-span>

8.13.5 <text:index-entry-bibliography>

8.13.6 <text:index-entry-tab-stop>

8.13.7 <text:index-entry-link-start>

8.13.8 <text:index-entry-link-end>

9 Tables

9.1 Basic Tables

9.1.1 General

9.1.2 <table:table>

9.1.3 <table:table-row>

9.1.4 <table:table-cell>

9.1.5 <table:covered-table-cell>

9.1.6 <table:table-column>

9.1.7 <table:table-header-rows>

9.1.8 <table:table-rows>

9.1.9 <table:table-row-group>

9.1.10 <table:table-column-group>

9.1.11 <table:table-header-columns>

9.1.12 <table:table-columns>

9.1.13 <table:title>

9.1.14 <table:desc>

9.2 Advanced Tables

9.2.1 Referencing Table Cells

9.2.2 Absolute and relative cell addressing

9.2.3 Cell Range Address

9.2.4 Column and Row Range Addresses

9.2.5 Cell Range Address List

9.2.6 <table:table-source>

9.2.7 <table:scenario>

9.2.8 <table:shapes>

9.3 Advanced Table Cells

9.3.1 <table:cell-range-source>

9.3.2 <table:detective>

9.3.3 <table:operation>

9.3.4 <table:highlighted-range>

9.4 Spreadsheet Document Content

9.4.1 <table:calculation-settings>

9.4.2 <table:null-date>

9.4.3 <table:iteration>

9.4.4 <table:content-validations>

9.4.5 <table:content-validation>

9.4.6 <table:help-message>

9.4.7 <table:error-message>

9.4.8 <table:error-macro>

9.4.9 <table:label-range>

9.4.10 <table:label-ranges>

9.4.11 <table:named-expressions>

9.4.12 <table:named-range>

9.4.13 <table:named-expression>

9.4.14 <table:database-ranges>

9.4.15 <table:database-range>

9.4.16 <table:database-source-sql>

9.4.17 <table:database-source-table>

9.4.18 <table:database-source-query>

9.4.19 <table:sort>

9.4.20 <table:sort-by>

9.4.21 <table:subtotal-rules>

9.4.22 <table:sort-groups>

9.4.23 <table:subtotal-rule>

9.4.24 <table:subtotal-field>

9.5 Filters

9.5.1 General

9.5.2 <table:filter>

9.5.3 <table:filter-and>

9.5.4 <table:filter-or>

9.5.5 <table:filter-condition>

9.5.6 <table:filter-set-item>

9.6 Data Pilot Tables

9.6.1 General

9.6.2 <table:data-pilot-tables>

9.6.3 <table:data-pilot-table>

9.6.4 Data Pilot Table Source

9.6.5 <table:source-cell-range>

9.6.6 <table:source-service>

9.6.7 <table:data-pilot-field>

9.6.8 <table:data-pilot-level>

9.6.9 <table:data-pilot-subtotals>

9.6.10 <table:data-pilot-subtotal>

9.6.11 <table:data-pilot-members>

9.6.12 <table:data-pilot-member>

9.6.13 <table:data-pilot-display-info>

9.6.14 <table:data-pilot-sort-info>

9.6.15 <table:data-pilot-layout-info>

9.6.16 <table:data-pilot-field-reference>

9.6.17 <table:data-pilot-groups>

9.6.18 <table:data-pilot-group>

9.6.19 <table:data-pilot-group-member>

9.7 <table:consolidation>

9.8 <table:dde-links>

9.9 Change Tracking in Spreadsheets

9.9.1 General

9.9.2 <table:tracked-changes>

9.9.3 <table:insertion>

9.9.4 <table:dependencies>

9.9.5 <table:dependency>

9.9.6 <table:deletions>

9.9.7 <table:cell-content-deletion>

9.9.8 <table:change-deletion>

9.9.9 <table:deletion>

9.9.10 <table:cut-offs>

9.9.11 <table:insertion-cut-off>

9.9.12 <table:movement-cut-off>

9.9.13 <table:movement>

9.9.14 <table:source-range-address>

9.9.15 <table:target-range-address>

9.9.16 <table:change-track-table-cell>

9.9.17 <table:cell-content-change>

9.9.18 <table:cell-address>

9.9.19 <table:previous>

10 Graphic Content

10.1 General

10.2 Enhanced Page Features for Graphical Applications

10.2.1 <style:handout-master>

10.2.2 <draw:layer-set>

10.2.3 <draw:layer>

10.2.4 <draw:page>

10.2.5 <draw:equation>

10.3 Drawing Shapes

10.3.1 General

10.3.2 <draw:rect>

10.3.3 <draw:line>

10.3.4 <draw:polyline>

10.3.5 <draw:polygon>

10.3.6 <draw:regular-polygon>

10.3.7 <draw:path>

10.3.8 <draw:circle>

10.3.9 <draw:ellipse>

10.3.10 <draw:connector>

10.3.11 <draw:caption>

10.3.12 <draw:measure>

10.3.13 <draw:control>

10.3.14 <draw:page-thumbnail>

10.3.15 <draw:g>

10.3.16 <draw:glue-point>

10.3.17 <svg:title>

10.3.18 <svg:desc>

10.3.19 <office:event-listeners>

10.4 Frames

10.4.1 General

10.4.2 <draw:frame>

10.4.3 <draw:text-box>

10.4.4 <draw:image>

10.4.5 <office:binary-data>

10.4.6 Objects

10.4.6.1 General

10.4.6.2 <draw:object>

10.4.6.3 <draw:object-ole>

10.4.7 <draw:applet>

10.4.8 <draw:plugin>

10.4.9 <draw:param>

10.4.10 <draw:floating-frame>

10.4.11 Contours

10.4.11.1 General

10.4.11.2 <draw:contour-polygon>

10.4.11.3 <draw:contour-path>

10.4.12 <draw:a>

10.4.13 Client Side Image Maps

10.4.13.1 General

10.4.13.2 <draw:image-map>

10.4.13.3 <draw:area-rectangle>

10.4.13.4 <draw:area-circle>

10.4.13.5 <draw:area-polygon>

10.5 3D Shapes

10.5.1 General

10.5.2 <dr3d:scene>

10.5.3 <dr3d:light>

10.5.4 <dr3d:cube>

10.5.5 <dr3d:sphere>

10.5.6 <dr3d:extrude>

10.5.7 <dr3d:rotate>

10.6 Custom Shape

10.6.1 <draw:custom-shape>

10.6.2 <draw:enhanced-geometry>

10.6.3 <draw:handle>

10.7 Presentation Shapes

10.8 Presentation Animations

10.8.1 <presentation:animations>

10.8.2 <presentation:sound>

10.8.3 <presentation:show-shape>

10.8.4 <presentation:show-text>

10.8.5 <presentation:hide-shape>

10.8.6 <presentation:hide-text>

10.8.7 <presentation:dim>

10.8.8 <presentation:play>

10.8.9 <presentation:animation-group>

10.9 SMIL Presentation Animations

10.9.1 General

10.9.2 <presentation:event-listener>

10.9.3 Presentation Document Content

10.9.3.1 <presentation:header>

10.9.3.2 <presentation:header-decl>

10.9.3.3 <presentation:footer>

10.9.3.4 <presentation:footer-decl>

10.9.3.5 <presentation:date-time>

10.9.3.6 <presentation:date-time-decl>

10.9.3.7 <presentation:settings>

10.9.3.8 <presentation:show>

11 Chart Content

11.1 <chart:chart>

11.2 Title, Subtitle and Footer

11.2.1 <chart:title>

11.2.2 <chart:subtitle>

11.2.3 <chart:footer>

11.3 <chart:legend>

11.4 <chart:plot-area>

11.5 3D Plot Area

11.6 <chart:wall>

11.7 <chart:floor>

11.8 <chart:axis>

11.9 <chart:categories>

11.10 <chart:grid>

11.11 <chart:series>

11.12 <chart:domain>

11.13 <chart:data-point>

11.14 <chart:data-label>

11.15 <chart:mean-value>

11.16 <chart:error-indicator>

11.17 <chart:regression-curve>

11.18 <chart:equation>

11.19 <chart:stock-gain-marker>

11.20 <chart:stock-loss-marker>

11.21 <chart:stock-range-line>

12 Database Front-end Document Content

12.1 <office:database>

12.2 <db:data-source>

12.3 <db:connection-data>

12.4 <db:database-description>

12.5 <db:file-based-database>

12.6 <db:server-database>

12.7 <db:connection-resource>

12.8 <db:login>

12.9 <db:driver-settings>

12.10 <db:auto-increment>

12.11 <db:delimiter>

12.12 <db:character-set>

12.13 <db:table-settings>

12.14 <db:table-setting>

12.15 <db:application-connection-settings>

12.16 <db:table-filter>

12.17 <db:table-include-filter>

12.18 <db:table-exclude-filter>

12.19 <db:table-filter-pattern>

12.20 <db:table-type-filter>

12.21 <db:table-type>

12.22 <db:data-source-settings>

12.23 <db:data-source-setting>

12.24 <db:data-source-setting-value>

12.25 Forms and Reports

12.25.1 General

12.25.2 <db:forms>

12.25.3 <db:reports>

12.25.4 <db:component-collection>

12.25.5 <db:component>

12.26 <db:queries>

12.27 <db:query-collection>

12.28 <db:query>

12.29 <db:order-statement>

12.30 <db:filter-statement>

12.31 <db:update-table>

12.32 <db:table-representations>

12.33 <db:table-representation>

12.34 <db:columns>

12.35 <db:column>

12.36 <db:schema-definition>

12.37 <db:table-definitions>

12.38 <db:table-definition>

12.39 <db:column-definitions>

12.40 <db:column-definition>

12.41 <db:keys>

12.42 <db:key>

12.43 <db:key-columns>

12.44 <db:key-column>

12.45 <db:indices>

12.46 <db:index>

12.47 <db:index-columns>

12.48 <db:index-column>

13 Form Content

13.1 General

13.2 <office:forms>

13.3 <form:form>

13.4 <xforms:model>

13.5 Controls

13.5.1 General

13.5.2 <form:text>

13.5.3 <form:textarea>

13.5.4 <form:password>

13.5.5 <form:file>

13.5.6 <form:formatted-text>

13.5.7 <form:number>

13.5.8 <form:date>

13.5.9 <form:time>

13.5.10 <form:fixed-text>

13.5.11 <form:combobox>

13.5.12 <form:item>

13.5.13 <form:listbox>

13.5.14 <form:option>

13.5.15 <form:button>

13.5.16 <form:image>

13.5.17 <form:checkbox>

13.5.18 <form:radio>

13.5.19 <form:frame>

13.5.20 <form:image-frame>

13.5.21 <form:hidden>

13.5.22 <form:grid>

13.5.23 <form:column>

13.5.24 <form:value-range>

13.5.25 <form:generic-control>

13.6 Event Listeners

13.7 <form:properties>

13.8 <form:property>

13.9 <form:list-property>

13.10 <form:list-value>

14 Common Content

14.1 <office:annotation>

14.2 <office:annotation-end>

14.3 <meta:date-string>

14.4 Event Listener Tables

14.4.1 General

14.4.2 <script:event-listener>

14.4.3 Event Types

14.4.4 Macro Name and Location

14.5 <math:math>

14.6 DDE Connections

14.6.1 General

14.6.2 <text:dde-connection-decls>

14.6.3 <text:dde-connection-decl>

14.6.4 <table:dde-link>

14.6.5 <office:dde-source>

15 SMIL Animations

15.1 General

15.2 Basic Animation Elements

15.2.1 General

15.2.2 <anim:animate>

15.2.3 <anim:animateTransform>

15.2.4 <anim:set>

15.2.5 <anim:animateMotion>

15.2.6 <anim:animateColor>

15.2.7 <anim:transitionFilter>

15.3 Animation Model Attributes

15.3.1 General

15.3.2 Simple Animation Functions

15.4 Animation Timing

15.4.1 General

15.4.2 <anim:par>

15.4.3 <anim:seq>

15.4.4 <anim:iterate>

15.5 <anim:audio>

15.6 Animation Command Elements

15.6.1 <anim:command>

15.6.2 <anim:param>

16 Styles

16.1 General

16.2 <style:style>

16.3 <style:map>

16.4 <style:default-style>

16.5 <style:page-layout>

16.6 <style:header-style>

16.7 <style:footer-style>

16.8 <style:default-page-layout>

16.9 <style:master-page>

16.10 <style:header>

16.11 <style:footer>

16.12 <style:header-left>

16.13 <style:footer-left>

16.14 <style:region-left>

16.15 <style:region-center>

16.16 <style:region-right>

16.17 <presentation:notes>

16.18 <table:table-template>

16.19 Cell Styles

16.19.1 General

16.19.2 <table:first-row>

16.19.3 <table:last-row>

16.19.4 <table:first-column>

16.19.5 <table:last-column>

16.19.6 <table:body>

16.19.7 <table:even-rows>

16.19.8 <table:odd-rows>

16.19.9 <table:even-columns>

16.19.10 <table:odd-columns>

16.20 <table:background>

16.21 <style:font-face>

16.22 <svg:font-face-src>

16.23 <svg:font-face-name>

16.24 <svg:font-face-uri>

16.25 <svg:definition-src>

16.26 <svg:font-face-format>

16.27 Data Styles

16.27.1 General

16.27.2 <number:number-style>

16.27.3 <number:number>

16.27.4 <number:embedded-text>

16.27.5 <number:scientific-number>

16.27.6 <number:fraction>

16.27.7 <number:currency-style>

16.27.8 <number:currency-symbol>

16.27.9 <number:percentage-style>

16.27.10 <number:date-style>

16.27.11 <number:day>

16.27.12 <number:month>

16.27.13 <number:year>

16.27.14 <number:era>

16.27.15 <number:day-of-week>

16.27.16 <number:week-of-year>

16.27.17 <number:quarter>

16.27.18 <number:time-style>

16.27.19 <number:hours>

16.27.20 <number:minutes>

16.27.21 <number:seconds>

16.27.22 <number:am-pm>

16.27.23 <number:boolean-style>

16.27.24 <number:boolean>

16.27.25 <number:text-style>

16.27.26 <number:text>

16.27.27 <number:text-content>

16.27.28 <style:text-properties>

16.28 Text Style Families

16.28.1 Text Styles

16.28.2 Paragraph Styles

16.28.3 Section Styles

16.28.4 Ruby Styles

16.29 Enhanced Text Styles

16.29.1 <text:linenumbering-configuration>

16.29.2 <text:linenumbering-separator>

16.29.3 <text:notes-configuration>

16.29.4 <text:note-continuation-notice-forward>

16.29.5 <text:note-continuation-notice-backward>

16.29.6 <text:bibliography-configuration>

16.29.7 <text:sort-key>

16.30 <text:list-style>

16.31 <text:list-level-style-bullet>

16.32 <text:list-level-style-number>

16.33 <text:list-level-style-image>

16.34 <text:outline-style>

16.35 <text:outline-level-style>

16.36 Table Styles

16.36.1 Table Styles

16.36.2 Table Column Styles

16.36.3 Table Row Styles

16.36.4 Table Cell Styles

16.37 Graphic Styles

16.38 Presentation Styles

16.39 Drawing Page Style

16.40 Enhanced Graphic Style Elements

16.40.1 <draw:gradient>

16.40.2 <svg:linearGradient>

16.40.3 <svg:radialGradient>

16.40.4 <svg:stop>

16.40.5 <draw:hatch>

16.40.6 <draw:fill-image>

16.40.7 <draw:opacity>

16.40.8 <draw:marker>

16.40.9 <draw:stroke-dash>

16.41 <style:presentation-page-layout>

16.42 <presentation:placeholder>

16.43 Chart Styles

17 Formatting Elements

17.1 General

17.2 <style:page-layout-properties>

17.3 <style:background-image>

17.4 <style:footnote-sep>

17.5 <style:header-footer-properties>

17.6 <style:paragraph-properties>

17.7 <style:tab-stops>

17.8 <style:tab-stop>

17.9 <style:drop-cap>

17.10 <style:ruby-properties>

17.11 <style:section-properties>

17.12 <style:columns>

17.13 <style:column>

17.14 <style:column-sep>

17.15 <style:table-properties>

17.16 <style:table-column-properties>

17.17 <style:table-row-properties>

17.18 <style:table-cell-properties>

17.19 <style:list-level-properties>

17.20 <style:list-level-label-alignment>

17.21 <style:graphic-properties>

17.22 <style:chart-properties>

17.23 <chart:symbol-image>

17.24 <chart:label-separator>

17.25 <style:drawing-page-properties>

18 Datatypes

18.1 Introduction

18.2 W3C Schema Datatypes

18.3 Other Datatypes

18.3.1 angle

18.3.2 anyIRI

18.3.3 boolean

18.3.4 cellAddress

18.3.5 cellRangeAddress

18.3.6 cellRangeAddressList

18.3.7 character

18.3.8 clipShape

18.3.9 color

18.3.10 coordinate

18.3.11 countryCode

18.3.12 CURIE

18.3.13 CURIEs

18.3.14 dateOrDateTime

18.3.15 distance

18.3.16 language

18.3.17 languageCode

18.3.18 length

18.3.19 namespacedToken

18.3.20 nonNegativeLength

18.3.21 nonNegativePixelLength

18.3.22 pathData

18.3.23 percent

18.3.24 point3D

18.3.25 points

18.3.26 positiveLength

18.3.27 relativeLength

18.3.28 safeCURIE

18.3.29 scriptCode

18.3.30 signedZeroToHundredPercent

18.3.31 styleName

18.3.32 styleNameRef

18.3.33 styleNameRefs

18.3.34 targetFrameName

18.3.35 textEncoding

18.3.36 timeOrDateTime

18.3.37 URIorSafeCURIE

18.3.38 valueType

18.3.39 variableName

18.3.40 vector3D

18.3.41 zeroToHundredPercent

19 General Attributes

19.1 General

19.2 anim:color-interpolation

19.3 anim:color-interpolation-direction

19.4 anim:audio-level

19.5 anim:command

19.6 anim:formula

19.7 anim:id (deprecated)

19.8 anim:iterate-interval

19.9 anim:iterate-type

19.10 anim:name

19.11 anim:sub-item

19.12 anim:value

19.13 chart:attached-axis

19.14 chart:automatic-content

19.15 chart:class

19.15.1 <chart:chart>, <chart:series>

19.15.2 <chart:grid>

19.16 chart:column-mapping (deprecated)

19.17 chart:data-source-has-labels (deprecated)

19.18 chart:dimension

19.19 chart:display-equation

19.20 chart:display-r-square

19.21 chart:label-cell-address

19.22 chart:legend-align

19.23 chart:legend-position

19.24 chart:name

19.25 chart:repeated

19.26 chart:row-mapping (deprecated)

19.27 chart:style-name

19.28 chart:values-cell-range-address

19.29 config:name

19.30 config:type

19.31 db:additional-column-statement

19.32 db:append-table-alias-name

19.33 db:apply-command

19.34 db:as-template

19.35 db:base-dn

19.36 db:boolean-comparison-mode

19.37 db:catalog-name

19.38 db:command

19.39 db:data-source-setting-is-list

19.40 db:data-source-setting-name

19.41 db:data-source-setting-type

19.42 db:data-type

19.43 db:database-name

19.44 db:decimal

19.45 db:default-cell-style-name

19.46 db:default-row-style-name

19.47 db:delete-rule

19.48 db:description

19.49 db:enable-sql92-check

19.50 db:encoding

19.51 db:escape-processing

19.52 db:extension

19.53 db:field

19.54 db:hostname

19.55 db:ignore-driver-privileges

19.56 db:is-ascending

19.57 db:is-autoincrement

19.58 db:is-clustered

19.59 db:is-empty-allowed

19.60 db:is-first-row-header-line

19.61 db:login-timeout

19.62 db:is-nullable

19.63 db:is-password-required

19.64 db:is-unique

19.65 db:precision

19.66 db:is-table-name-length-limited

19.67 db:local-socket

19.68 db:max-row-count

19.69 db:media-type

19.70 db:name

19.70.1 General

19.70.2 <db:column>

19.70.3 <db:column-definition>

19.70.4 <db:component>

19.70.5 <db:component-collection>

19.70.6 <db:index>

19.70.7 <db:index-column>

19.70.8 <db:key>

19.70.9 <db:key-column>

19.70.10 <db:query>

19.70.11 <db:query-collection>

19.70.12 <db:table-definition>

19.70.13 <db:table-representation>

19.70.14 <db:update-table>

19.71 db:parameter-name-substitution

19.72 db:port

19.73 db:referenced-table-name

19.74 db:related-column-name

19.75 db:row-retrieving-statement

19.76 db:scale

19.77 db:schema-name

19.78 db:show-deleted

19.79 db:string

19.80 db:style-name

19.80.1 General

19.80.2 <db:column>

19.80.3 <db:query>

19.80.4 <db:table-representation>

19.81 db:suppress-version-columns

19.82 db:system-driver-settings

19.83 db:thousand

19.84 db:title

19.85 db:type

19.85.1 General

19.85.2 <db:key>

19.85.3 <db:server-database>

19.85.4 <db:table-definition>

19.86 db:type-name

19.87 db:update-rule

19.88 db:use-catalog

19.89 db:use-system-user

19.90 db:user-name

19.91 db:visible

19.92 dr3d:ambient-color

19.93 dr3d:center

19.94 dr3d:diffuse-color

19.95 dr3d:direction

19.96 dr3d:distance

19.97 dr3d:enabled

19.98 dr3d:focal-length

19.99 dr3d:lighting-mode

19.99.1 General

19.99.2 <chart:plot-area>

19.99.3 <dr3d:scene>

19.100 dr3d:max-edge

19.101 dr3d:min-edge

19.102 dr3d:projection

19.103 dr3d:shade-mode

19.104 dr3d:shadow-slant

19.105 dr3d:size

19.106 dr3d:specular

19.107 dr3d:transform

19.108 dr3d:vpn

19.109 dr3d:vrp

19.110 dr3d:vup

19.111 draw:align

19.112 draw:angle

19.113 draw:archive

19.114 draw:border

19.115 draw:caption-id

19.116 draw:caption-point-x

19.117 draw:caption-point-y

19.118 draw:chain-next-name

19.119 draw:class-id

19.120 draw:class-names

19.121 draw:code

19.122 draw:color

19.122.1 General

19.122.2 <draw:hatch>

19.122.3 <presentation:dim>

19.123 draw:concave

19.124 draw:concentric-gradient-fill-allowed

19.125 draw:control

19.126 draw:copy-of

19.127 draw:corner-radius

19.128 draw:corners

19.129 draw:cx

19.130 draw:cy

19.131 draw:data

19.132 draw:display

19.133 draw:display-name

19.133.1 General

19.133.2 <draw:fill-image>

19.133.3 <draw:gradient>

19.133.4 <draw:hatch>

19.133.5 <draw:marker>

19.133.6 <draw:opacity>

19.133.7 <draw:stroke-dash>

19.133.8 <svg:linearGradient>

19.133.9 <svg:radialGradient>

19.134 draw:distance

19.134.1 General

19.134.2 <draw:hatch>

19.134.3 <draw:stroke-dash>

19.135 draw:dots1

19.136 draw:dots1-length

19.137 draw:dots2

19.138 draw:dots2-length

19.139 draw:end

19.140 draw:end-angle

19.141 draw:end-color

19.142 draw:end-glue-point

19.143 draw:end-intensity

19.144 draw:end-shape

19.145 draw:enhanced-path

19.146 draw:engine

19.147 draw:escape-direction

19.148 draw:extrusion

19.149 draw:extrusion-allowed

19.150 draw:extrusion-brightness

19.151 draw:extrusion-color

19.152 draw:extrusion-depth

19.153 draw:extrusion-diffusion

19.154 draw:extrusion-first-light-direction

19.155 draw:extrusion-first-light-harsh

19.156 draw:extrusion-first-light-level

19.157 draw:extrusion-light-face

19.158 draw:extrusion-metal

19.159 draw:extrusion-number-of-line-segments

19.160 draw:extrusion-origin

19.161 draw:extrusion-rotation-angle

19.162 draw:extrusion-rotation-center

19.163 draw:extrusion-second-light-direction

19.164 draw:extrusion-second-light-harsh

19.165 draw:extrusion-second-light-level

19.166 draw:extrusion-shininess

19.167 draw:extrusion-skew

19.168 draw:extrusion-specularity

19.169 draw:extrusion-viewpoint

19.170 draw:filter-name

19.171 draw:formula

19.172 draw:frame-name

19.173 draw:glue-point-leaving-directions

19.174 draw:glue-point-type

19.175 draw:glue-points

19.176 draw:handle-mirror-horizontal

19.177 draw:handle-mirror-vertical

19.178 draw:handle-polar

19.179 draw:handle-position

19.180 draw:handle-radius-range-maximum

19.181 draw:handle-radius-range-minimum

19.182 draw:handle-range-x-maximum

19.183 draw:handle-range-x-minimum

19.184 draw:handle-range-y-maximum

19.185 draw:handle-range-y-minimum

19.186 draw:handle-switched

19.187 draw:id

19.187.1 General

19.187.2 <draw:glue-point>

19.187.3 <dr3d:cube>, <dr3d:extrude>, <dr3d:rotate>, <dr3d:scene>, <dr3d:sphere>, <draw:caption>, <draw:circle>, <draw:connector>, <draw:control>, <draw:custom-shape>, <draw:ellipse>, <draw:frame>, <draw:g>, <draw:line>, <draw:measure>, <draw:page>, <draw:page-thumbnail>, <draw:path>, <draw:polygon>, <draw:polyline>, <draw:rect>, <draw:regular-polygon> and <office:annotation>

19.188 draw:kind

19.189 draw:layer

19.190 draw:line-skew

19.191 draw:mime-type

19.192 draw:mirror-horizontal

19.193 draw:mirror-vertical

19.194 draw:master-page-name

19.195 draw:may-script

19.196 draw:modifiers

19.197 draw:name

19.197.1 General

19.197.2 <draw:caption>

19.197.3 <draw:circle>

19.197.4 <draw:connector>

19.197.5 <draw:control>

19.197.6 <draw:custom-shape>

19.197.7 <draw:ellipse>

19.197.8 <draw:equation>

19.197.9 <draw:fill-image>

19.197.10 <draw:frame>

19.197.11 <draw:g>

19.197.12 <draw:gradient>

19.197.13 <draw:hatch>

19.197.14 <draw:layer>

19.197.15 <draw:line>

19.197.16 <draw:marker>

19.197.17 <draw:measure>

19.197.18 <draw:opacity>

19.197.19 <draw:page>

19.197.20 <draw:page-thumbnail>

19.197.21 <draw:param>

19.197.22 <draw:path>

19.197.23 <draw:polygon>

19.197.24 <draw:polyline>

19.197.25 <draw:rect>

19.197.26 <draw:regular-polygon>

19.197.27 <draw:stroke-dash>

19.197.28 <office:annotation> (deprecated)

19.197.29 <svg:linearGradient>

19.197.30 <svg:radialGradient>

19.198 draw:nav-order

19.199 draw:nohref

19.200 draw:notify-on-update-of-ranges

19.201 draw:object

19.202 draw:opacity

19.203 draw:page-number

19.204 draw:path-stretchpoint-x

19.205 draw:path-stretchpoint-y

19.206 draw:points

19.207 draw:protected

19.208 draw:recreate-on-edit

19.209 draw:rotation

19.210 draw:shape-id

19.211 draw:sharpness

19.212 draw:start

19.213 draw:start-angle

19.214 draw:start-color

19.215 draw:start-glue-point

19.216 draw:start-intensity

19.217 draw:start-shape

19.218 draw:style

19.218.1 General

19.218.2 <draw:gradient>

19.218.3 <draw:hatch>

19.218.4 <draw:opacity>

19.218.5 <draw:stroke-dash>

19.219 draw:style-name

19.219.1 General

19.219.2 <dr3d:cube>

19.219.3 <dr3d:extrude>

19.219.4 <dr3d:rotate>

19.219.5 <dr3d:scene>

19.219.6 <dr3d:sphere>

19.219.7 <draw:caption>

19.219.8 <draw:circle>

19.219.9 <draw:connector>

19.219.10 <draw:control>

19.219.11 <draw:custom-shape>

19.219.12 <draw:ellipse>

19.219.13 <draw:frame>

19.219.14 <draw:g>

19.219.15 <draw:line>

19.219.16 <draw:measure>

19.219.17 <draw:page>

19.219.18 <draw:page-thumbnail>

19.219.19 <draw:path>

19.219.20 <draw:polygon>

19.219.21 <draw:polyline>

19.219.22 <draw:rect>

19.219.23 <draw:regular-polygon>

19.219.24 <office:annotation>

19.219.25 <presentation:notes>

19.219.26 <style:handout-master>

19.219.27 <style:master-page>

19.220 draw:text-areas

19.221 draw:text-path

19.222 draw:text-path-allowed

19.223 draw:text-path-mode

19.224 draw:text-path-same-letter-heights

19.225 draw:text-path-scale

19.226 draw:text-rotate-angle

19.227 draw:text-style-name

19.228 draw:transform

19.229 draw:type

19.229.1 General

19.229.2 <draw:connector>

19.229.3 <draw:enhanced-geometry>

19.230 draw:value

19.231 draw:z-index

19.232 fo:column-count

19.233 fo:column-gap

19.234 fo:country

19.234.1 <text:alphabetical-index-source>

19.234.2 <text:bibliography-configuration>

19.235 fo:end-indent

19.236 fo:language

19.236.1 General

19.236.2 <text:alphabetical-index-source>

19.236.3 <text:bibliography-configuration>

19.237 fo:margin-left

19.238 fo:max-height

19.239 fo:max-width

19.240 fo:min-height

19.241 fo:min-width

19.242 fo:script

19.242.1 General

19.242.2 <text:alphabetical-index-source>

19.242.3 <text:bibliography-configuration>

19.243 fo:space-after

19.244 fo:space-before

19.245 fo:start-indent

19.246 fo:text-indent

19.247 form:allow-deletes

19.248 form:allow-inserts

19.249 form:allow-updates

19.250 form:apply-design-mode

19.251 form:apply-filter

19.252 form:auto-complete

19.253 form:automatic-focus

19.254 form:bound-column

19.255 form:button-type

19.256 form:command

19.257 form:command-type

19.258 form:control-implementation

19.259 form:convert-empty-to-null

19.260 form:current-selected

19.261 form:current-state

19.262 form:current-value

19.263 form:data-field

19.264 form:datasource

19.265 form:default-button

19.266 form:delay-for-repeat

19.267 form:detail-fields

19.268 form:disabled

19.269 form:dropdown

19.270 form:echo-char

19.271 form:enctype

19.272 form:escape-processing

19.273 form:filter

19.274 form:focus-on-click

19.275 form:for

19.276 form:id

19.277 form:ignore-result

19.278 form:image-align

19.279 form:image-data

19.280 form:image-position

19.281 form:is-tristate

19.282 form:label

19.283 form:linked-cell

19.284 form:list-linkage-type

19.285 form:list-source

19.286 form:list-source-type

19.287 form:master-fields

19.288 form:max-length

19.289 form:max-value

19.289.1 General

19.289.2 <form:date>

19.289.3 <form:formatted-text>

19.289.4 <form:number> and <form:value-range>

19.289.5 <form:time>

19.290 form:min-value

19.290.1 General

19.290.2 <form:date>

19.290.3 <form:formatted-text>

19.290.4 <form:number> and <form:value-range>

19.290.5 <form:time>

19.291 form:method

19.292 form:multi-line

19.293 form:multiple

19.294 form:name

19.295 form:navigation-mode

19.296 form:order

19.297 form:orientation

19.298 form:page-step-size

19.299 form:printable

19.300 form:property-name

19.301 form:readonly

19.302 form:repeat

19.303 form:selected

19.304 form:size

19.305 form:source-cell-range

19.306 form:spin-button

19.307 form:state

19.308 form:step-size

19.309 form:tab-cycle

19.310 form:tab-index

19.311 form:tab-stop

19.312 form:text-style-name

19.313 form:title

19.314 form:toggle

19.315 form:validation

19.316 form:value

19.316.1 General

19.316.2 <form:button>

19.316.3 <form:date>

19.316.4 <form:number> and <form:value-range>

19.316.5 <form:checkbox>, <form:combobox>, <form:file>, <form:formatted-text>, <form:hidden>, <form:image>, <form:option>, <form:password>, <form:radio>, <form:text>, <form:textarea>

19.316.6 <form:time>

19.317 form:visual-effect

19.318 form:xforms-list-source

19.319 form:xforms-submission

19.320 grddl:transformation

19.321 meta:cell-count

19.322 meta:character-count

19.323 meta:date

19.324 meta:delay

19.325 meta:draw-count

19.326 meta:frame-count

19.327 meta:image-count

19.328 meta:name

19.329 meta:non-whitespace-character-count

19.330 meta:object-count

19.331 meta:ole-object-count

19.332 meta:page-count

19.333 meta:paragraph-count

19.334 meta:row-count

19.335 meta:sentence-count

19.336 meta:syllable-count

19.337 meta:table-count

19.338 meta:value-type

19.339 meta:word-count

19.340 number:automatic-order

19.341 number:calendar

19.342 number:country

19.343 number:decimal-places

19.343.1 General

19.343.2 <number:number>

19.343.3 <number:seconds>

19.343.4 <number:scientific-number>

19.344 number:decimal-replacement

19.345 number:denominator-value

19.346 number:display-factor

19.347 number:format-source

19.348 number:grouping

19.349 number:language

19.350 number:min-denominator-digits

19.351 number:min-exponent-digits

19.352 number:min-integer-digits

19.353 number:min-numerator-digits

19.354 number:position

19.355 number:possessive-form

19.356 number:rfc-language-tag

19.357 number:script

19.358 number:style

19.358.1 General

19.358.2 <number:day>

19.358.3 <number:day-of-week>

19.358.4 <number:era>

19.358.5 <number:hours>

19.358.6 <number:minutes>

19.358.7 <number:month>

19.358.8 <number:quarter>

19.358.9 <number:seconds>

19.358.10 <number:year>

19.359 number:textual

19.360 number:title

19.361 number:transliteration-country

19.362 number:transliteration-format

19.363 number:transliteration-language

19.364 number:transliteration-style

19.365 number:truncate-on-overflow

19.366 office:automatic-update

19.367 office:boolean-value

19.368 office:conversion-mode

19.369 office:currency

19.370 office:date-value

19.371 office:dde-application

19.372 office:dde-item

19.373 office:dde-topic

19.374 office:display

19.375 office:mimetype

19.376 office:name

19.376.1 General

19.376.2 <draw:a>

19.376.3 <draw:area-circle>

19.376.4 <draw:area-rectangle>

19.376.5 <draw:area-polygon>

19.376.6 <office:annotation>

19.376.7 <office:annotation-end>

19.376.8 <office:dde-source>

19.376.9 <text:a>

19.376.10 <text:dde-connection-decl>

19.377 office:process-content (deprecated)

19.378 office:server-map

19.379 office:string-value

19.380 office:target-frame

19.381 office:target-frame-name

19.382 office:time-value

19.383 office:title

19.384 office:value

19.385 office:value-type

19.386 office:version

19.387 presentation:action

19.388 presentation:animations

19.389 presentation:class

19.390 presentation:class-names

19.391 presentation:delay

19.392 presentation:direction

19.393 presentation:endless

19.394 presentation:effect

19.395 presentation:force-manual

19.396 presentation:full-screen

19.397 presentation:group-id

19.398 presentation:master-element

19.399 presentation:mouse-as-pen

19.400 presentation:mouse-visible

19.401 presentation:name

19.402 presentation:node-type

19.403 presentation:object

19.404 presentation:pages

19.405 presentation:path-id

19.406 presentation:pause

19.407 presentation:placeholder

19.408 presentation:play-full

19.409 presentation:presentation-page-layout-name

19.410 presentation:preset-class

19.411 presentation:preset-id

19.412 presentation:preset-sub-type

19.413 presentation:show

19.414 presentation:show-end-of-presentation-slide

19.415 presentation:show-logo

19.416 presentation:source

19.417 presentation:speed

19.418 presentation:start-scale

19.419 presentation:start-page

19.420 presentation:start-with-navigator

19.421 presentation:stay-on-top

19.422 presentation:style-name

19.423 presentation:transition-on-click

19.424 presentation:use-date-time-name

19.425 presentation:use-footer-name

19.426 presentation:use-header-name

19.427 presentation:user-transformed

19.428 presentation:verb

19.429 script:event-name

19.430 script:language

19.431 script:macro-name

19.432 smil:accelerate

19.433 smil:accumulate

19.434 smil:additive

19.435 smil:attributeName

19.436 smil:autoReverse

19.437 smil:begin

19.438 smil:by

19.439 smil:calcMode

19.440 smil:decelerate

19.441 smil:direction

19.442 smil:dur

19.443 smil:end

19.444 smil:endsync

19.445 smil:fadeColor

19.446 smil:fill

19.447 smil:fillDefault

19.448 smil:from

19.449 smil:keySplines

19.450 smil:keyTimes

19.451 smil:mode

19.452 smil:repeatCount

19.453 smil:repeatDur

19.454 smil:restart

19.455 smil:restartDefault

19.456 smil:subtype

19.457 smil:targetElement

19.458 smil:to

19.459 smil:type

19.460 smil:values

19.461 style:adjustment

19.462 style:apply-style-name

19.463 style:auto-update

19.464 style:base-cell-address

19.465 style:char

19.466 style:class

19.467 style:color

19.468 style:condition

19.469 style:data-style-name

19.469.1 General

19.469.2 <presentation:date-time-decl>

19.469.3 <style:style>

19.469.4 <text:creation-date>

19.469.5 <text:creation-time>

19.469.6 <text:database-display>

19.469.7 <text:date>

19.469.8 <text:editing-duration>

19.469.9 <text:expression>

19.469.10 <text:meta-field>

19.469.11 <text:modification-date>

19.469.12 <text:modification-time>

19.469.13 <text:print-date>

19.469.14 <text:print-time>

19.469.15 <text:table-formula>

19.469.16 <text:time>

19.469.17 <text:user-defined>

19.469.18 <text:user-field-get>

19.469.19 <text:user-field-input>

19.469.20 <text:variable-get>

19.469.21 <text:variable-input>

19.469.22 <text:variable-set>

19.470 style:default-outline-level

19.471 style:display

19.472 style:display-name

19.473 style:distance

19.474 style:distance-before-sep

19.475 style:distance-after-sep

19.476 style:family

19.477 style:filter-name

19.478 style:font-adornments

19.479 style:font-charset

19.480 style:font-family-generic

19.481 style:font-pitch

19.482 style:height

19.483 style:leader-char

19.484 style:leader-color

19.485 style:leader-style

19.486 style:leader-text

19.487 style:leader-text-style

19.488 style:leader-type

19.489 style:leader-width

19.490 style:legend-expansion

19.491 style:legend-expansion-aspect-ratio

19.492 style:length

19.493 style:line-style

19.494 style:lines

19.495 style:list-level

19.496 style:list-style-name

19.497 style:master-page-name

19.498 style:name

19.498.1 General

19.498.2 <number:boolean-style>, <number:currency-style>, <number:date-style>, <number:number-style>, <number:percentage-style>, <number:text-style>, <number:time-style>, <style:master-page>, <style:page-layout>, <style:presentation-page-layout>, <style:style>, <text:list-style>, <text:outline-style>

19.498.3 <style:font-face>

19.499 style:next-style-name

19.499.1 General

19.499.2 <style:master-page>

19.499.3 <style:style>

19.500 style:num-format

19.501 style:num-letter-sync

19.502 style:num-prefix

19.503 style:num-suffix

19.504 style:page-layout-name

19.505 style:page-usage

19.506 style:parent-style-name

19.507 style:percentage-data-style-name

19.508 style:position

19.508.1 General

19.508.2 <style:background-image>

19.508.3 <style:tab-stop>

19.508.4 <text:index-entry-tab-stop>

19.509 style:rel-height

19.510 style:rel-width

19.510.1 General

19.510.2 <draw:frame>

19.510.3 <style:column>

19.510.4 <style:footnote-sep>

19.511 style:repeat

19.512 style:rfc-language-tag

19.513 style:style

19.514 style:style-name

19.515 style:type

19.515.1 General

19.515.2 <text:index-entry-tab-stop>

19.515.3 <style:tab-stop>

19.516 style:vertical-align

19.517 style:volatile

19.518 style:width

19.518.1 General

19.518.2 <style:column-sep>

19.518.3 <style:footnote-sep>

19.519 svg:accent-height

19.520 svg:alphabetic

19.521 svg:ascent

19.522 svg:bbox

19.523 svg:cap-height

19.524 svg:cx

19.524.1 <draw:area-circle>

19.524.2 <draw:circle>

19.524.3 <draw:ellipse>

19.524.4 <svg:radialGradient>

19.525 svg:cy

19.525.1 <draw:area-circle>

19.525.2 <draw:circle>

19.525.3 <draw:ellipse>

19.525.4 <svg:radialGradient>

19.526 svg:d

19.527 svg:descent

19.528 svg:font-family

19.529 svg:font-size

19.530 svg:font-stretch

19.531 svg:font-style

19.532 svg:font-variant

19.533 svg:font-weight

19.534 svg:fx

19.535 svg:fy

19.536 svg:gradientTransform

19.537 svg:gradientUnits

19.538 svg:hanging

19.539 svg:height

19.539.1 <chart:chart>

19.539.2 <chart:plot-area>

19.539.3 <dr3d:scene>

19.539.4 <draw:area-polygon>

19.539.5 <draw:area-rectangle>

19.539.6 <draw:contour-polygon>, <draw:contour-path>

19.539.7 <draw:fill-image>

19.539.8 <draw:caption>, <draw:custom-shape>, <draw:circle>, <draw:control>, <draw:ellipse>, <draw:frame>, <draw:rect>, <draw:page-thumbnail>, <draw:path>, <draw:polygon>, <draw:polyline>, <draw:regular-polygon>

19.539.9 <office:annotation>

19.539.10 <presentation:placeholder>

19.540 svg:ideographic

19.541 svg:mathematical

19.542 svg:name

19.543 svg:offset

19.544 svg:origin

19.545 svg:overline-position

19.546 svg:overline-thickness

19.547 svg:panose-1

19.548 svg:path

19.549 svg:r

19.549.1 <draw:area-circle>

19.549.2 <draw:circle>

19.549.3 <svg:radialGradient>

19.550 svg:rx

19.551 svg:ry

19.552 svg:slope

19.553 svg:spreadMethod

19.554 svg:stemh

19.555 svg:stemv

19.556 svg:stop-color

19.557 svg:stop-opacity

19.558 svg:strikethrough-position

19.559 svg:strikethrough-thickness

19.560 svg:string

19.561 svg:type

19.562 svg:underline-position

19.563 svg:underline-thickness

19.564 svg:unicode-range

19.565 svg:units-per-em

19.566 svg:v-alphabetic

19.567 svg:v-hanging

19.568 svg:v-ideographic

19.569 svg:v-mathematical

19.570 svg:viewBox

19.571 svg:width

19.571.1 <chart:chart>

19.571.2 <chart:floor>

19.571.3 <chart:plot-area>

19.571.4 <chart:wall>

19.571.5 <dr3d:scene>

19.571.6 <draw:area-polygon>

19.571.7 <draw:area-rectangle>

19.571.8 <draw:contour-polygon>, <draw:contour-path>

19.571.9 <draw:fill-image>

19.571.10 <draw:caption>, <draw:custom-shape>, <draw:circle>, <draw:control>, <draw:ellipse>, <draw:frame>, <draw:rect>, <draw:page-thumbnail>, <draw:path>, <draw:polygon>, <draw:polyline>, <draw:regular-polygon>

19.571.11 <office:annotation>

19.571.12 <presentation:placeholder>

19.572 svg:widths

19.573 svg:x

19.573.1 <chart:data-label>, <chart:equation>, <chart:footer>, <chart:legend>, <chart:plot-area>, <chart:subtitle>, <chart:title>

19.573.2 <draw:area-polygon>

19.573.3 <draw:area-rectangle>

19.573.4 <dr3d:scene>

19.573.5 <draw:caption>, <draw:custom-shape>, <draw:circle>, <draw:control>, <draw:ellipse>, <draw:frame>, <draw:rect>, <draw:page-thumbnail>, <draw:path>, <draw:polygon>, <draw:polyline>, <draw:regular-polygon>

19.573.6 <draw:glue-point>

19.573.7 <office:annotation>

19.573.8 <presentation:placeholder>

19.574 svg:x1

19.574.1 <draw:connector>, <draw:line> and <draw:measure>

19.574.2 <svg:linearGradient>

19.575 svg:x2

19.575.1 <draw:connector>, <draw:line> and <draw:measure>

19.575.2 <svg:linearGradient>

19.576 svg:x-height

19.577 svg:y

19.577.1 <chart:data-label>, <chart:equation>, <chart:footer>, <chart:legend>, <chart:plot-area>, <chart:subtitle>, <chart:title>

19.577.2 <draw:area-polygon>

19.577.3 <draw:area-rectangle>

19.577.4 <dr3d:scene>

19.577.5 <draw:caption>, <draw:custom-shape>, <draw:circle>, <draw:control>, <draw:ellipse>, <draw:frame>, <draw:g>, <draw:rect>, <draw:page-thumbnail>, <draw:path>, <draw:polygon>, <draw:polyline>, <draw:regular-polygon>

19.577.6 <draw:glue-point>

19.577.7 <office:annotation>

19.577.8 <presentation:placeholder>

19.578 svg:y1

19.578.1 <draw:connector>, <draw:line> and <draw:measure>

19.578.2 <svg:linearGradient>

19.579 svg:y2

19.579.1 <draw:connector>, <draw:line> and <draw:measure>

19.579.2 <svg:linearGradient>

19.580 table:acceptance-state

19.581 table:algorithm

19.582 table:add-empty-lines

19.583 table:allow-empty-cell

19.584 table:application-data

19.585 table:automatic-find-labels

19.586 table:base-cell-address

19.587 table:bind-styles-to-content

19.588 table:border-color

19.589 table:buttons

19.590 table:case-sensitive

19.591 table:cell-address

19.592 table:cell-range

19.593 table:cell-range-address

19.593.1 General

19.593.2 <chart:categories>

19.593.3 <chart:domain> - bubble

19.593.4 <chart:domain>- scatter

19.593.5 <chart:domain> - surface

19.593.6 <chart:plot-area> (deprecated)

19.593.7 <table:highlighted-range>

19.593.8 <table:named-range>

19.593.9 <table:source-cell-range>

19.594 table:column

19.595 table:comment

19.596 table:condition

19.597 table:condition-source

19.598 table:condition-source-range-address

19.599 table:contains-error

19.600 table:contains-header

19.601 table:content-validation-name

19.602 table:copy-back

19.603 table:copy-formulas

19.604 table:copy-styles

19.605 table:count

19.606 table:country

19.607 table:data-field

19.608 table:data-cell-range-address

19.609 table:database-name

19.610 table:database-table-name

19.611 table:data-type

19.611.1 General

19.611.2 <table:filter-condition>

19.611.3 <table:sort-by>

19.611.4 <table:sort-groups>

19.612 table:date-end

19.613 table:date-start

19.614 table:date-value

19.615 table:default-cell-style-name

19.616 table:direction

19.617 table:display

19.618 table:display-border

19.619 table:display-duplicates

19.620 table:display-filter-buttons

19.621 table:display-list

19.622 table:display-member-mode

19.623 table:drill-down-on-double-click

19.624 table:embedded-number-behavior

19.625 table:enabled

19.626 table:end

19.627 table:end-cell-address

19.628 table:end-column

19.629 table:end-position

19.630 table:end-row

19.631 table:end-table

19.632 table:end-x

19.633 table:end-y

19.634 table:execute

19.635 table:expression

19.636 table:field-name

19.637 table:field-number

19.638 table:filter-name

19.639 table:filter-options

19.640 table:first-row-end-column (deprecated)

19.641 table:first-row-start-column (deprecated)

19.642 table:formula

19.643 table:function

19.643.1 General

19.643.2 <table:consolidation>

19.643.3 <table:data-pilot-field>

19.643.4 <table:data-pilot-subtotal>

19.643.5 <table:subtotal-field>

19.644 table:grand-total

19.645 table:group-by-field-number

19.646 table:grouped-by

19.647 table:has-persistent-data

19.648 table:id

19.649 table:identify-categories

19.650 table:ignore-empty-rows

19.651 table:index

19.652 table:is-active

19.653 table:is-data-layout-field

19.654 table:is-selection

19.655 table:is-sub-table

19.656 table:label-cell-range-address

19.657 table:language

19.658 table:last-column-spanned

19.659 table:last-row-end-column (deprecated)

19.660 table:last-row-spanned

19.661 table:last-row-start-column (deprecated)

19.662 table:layout-mode

19.663 table:link-to-source-data

19.664 table:marked-invalid

19.665 table:matrix-covered

19.666 table:maximum-difference

19.667 table:member-count

19.668 table:member-name

19.669 table:member-type

19.670 table:message-type

19.671 table:mode

19.672 table:multi-deletion-spanned

19.673 table:name

19.673.1 General

19.673.2 <table:cell-range-source>

19.673.3 <table:content-validation>

19.673.4 <table:data-pilot-group>

19.673.5 <table:data-pilot-group-member>

19.673.6 <table:data-pilot-member>

19.673.7 <table:data-pilot-table>

19.673.8 <table:database-range>

19.673.9 <table:named-expression>

19.673.10 <table:named-range>

19.673.11 <table:operation>

19.673.12 <table:source-service>

19.673.13 <table:table>

19.673.14 <table:table-template>

19.674 table:null-year

19.675 table:number-columns-repeated

19.675.1 General

19.675.2 <table:covered-table-cell>

19.675.3 <table:table-cell>

19.675.4 <table:table-column>

19.676 table:number-columns-spanned

19.677 table:number-rows-repeated

19.678 table:number-rows-spanned

19.679 table:number-matrix-columns-spanned

19.680 table:number-matrix-rows-spanned

19.681 table:object-name

19.682 table:on-update-keep-size

19.683 table:on-update-keep-styles

19.684 table:operator

19.685 table:order

19.686 table:orientation

19.686.1 General

19.686.2 <table:data-pilot-field>

19.686.3 <table:database-range>

19.686.4 <table:label-range>

19.687 table:page-breaks-on-group-change

19.688 table:paragraph-style-name

19.689 table:parse-sql-statement

19.690 table:password

19.691 table:position

19.692 table:precision-as-shown

19.693 table:print

19.694 table:print-ranges

19.695 table:protect

19.696 table:protected

19.696.1 General

19.696.2 <table:covered-table-cell>

19.696.3 <table:scenario>

19.696.4 <table:table>

19.696.5 <table:table-cell>

19.697 table:protection-key

19.698 table:protection-key-digest-algorithm

19.699 table:query-name

19.700 table:range-usable-as

19.701 table:refresh-delay

19.702 table:rejecting-change-id

19.703 table:rfc-language-tag

19.704 table:row

19.705 table:scenario-ranges

19.706 table:script

19.707 table:search-criteria-must-apply-to-whole-cell

19.708 table:selected-page

19.709 table:show-details

19.710 table:show-empty

19.711 table:show-filter-button

19.712 table:sort-mode

19.713 table:source-cell-range-addresses

19.714 table:source-field-name

19.715 table:source-name

19.716 table:sql-statement

19.717 table:start

19.718 table:start-column

19.719 table:start-position

19.720 table:start-row

19.721 table:start-table

19.722 table:status

19.723 table:step

19.724 table:steps

19.725 table:structure-protected

19.726 table:style-name

19.726.1 General

19.726.2 <table:background>

19.726.3 <table:body>

19.726.4 <table:covered-table-cell>

19.726.5 <table:even-columns>

19.726.6 <table:even-rows>

19.726.7 <table:first-column>

19.726.8 <table:first-row>

19.726.9 <table:last-column>

19.726.10 <table:last-row>

19.726.11 <table:odd-columns>

19.726.12 <table:odd-rows>

19.726.13 <table:table-cell>

19.726.14 <table:table-column>

19.726.15 <table:table-row>

19.726.16 <table:table>

19.727 table:table

19.728 table:table-background

19.729 table:table-name

19.730 table:target-cell-address

19.731 table:target-range-address

19.731.1 General

19.731.2 <table:data-pilot-table>

19.731.3 <table:database-range>

19.731.4 <table:filter>

19.731.5 <table:sort>

19.732 table:template-name

19.733 table:title

19.734 table:track-changes

19.735 table:type

19.735.1 General

19.735.2 <table:data-pilot-field-reference>

19.735.3 <table:deletion>

19.735.4 <table:insertion>

19.736 table:use-banding-columns-styles

19.737 table:use-banding-rows-styles

19.738 table:use-first-column-styles

19.739 table:use-first-row-styles

19.740 table:use-last-column-styles

19.741 table:use-last-row-styles

19.742 table:use-labels

19.743 table:use-regular-expressions

19.744 table:use-wildcards

19.745 table:used-hierarchy

19.746 table:user-name

19.747 table:value

19.747.1 <table:filter-condition>

19.747.2 <table:filter-set-item>

19.748 table:value-type

19.749 table:visibility

19.750 text:active

19.751 text:address

19.752 text:alphabetical-separators

19.753 text:anchor-page-number

19.754 text:anchor-type

19.755 text:annote

19.756 text:author

19.757 text:bibliography-data-field

19.758 text:bibliography-type

19.759 text:booktitle

19.760 text:bullet-char

19.761 text:bullet-relative-size

19.762 text:capitalize-entries

19.763 text:c

19.764 text:caption-sequence-format

19.765 text:caption-sequence-name

19.766 text:change-id

19.767 text:chapter

19.768 text:citation-body-style-name

19.769 text:citation-style-name

19.770 text:class-names

19.770.1 General

19.770.2 <text:h>

19.770.3 <text:p>

19.770.4 <text:span>

19.771 text:column-name

19.772 text:combine-entries

19.773 text:combine-entries-with-dash

19.774 text:combine-entries-with-pp

19.775 text:comma-separated

19.776 text:cond-style-name

19.777 text:condition

19.777.1 General

19.777.2 <text:conditional-text>

19.777.3 <text:database-next>

19.777.4 <text:database-row-select>

19.777.5 <text:hidden-paragraph>

19.777.6 <text:hidden-text>

19.777.7 <text:section>

19.778 text:connection-name

19.779 text:consecutive-numbering

19.780 text:continue-list

19.781 text:continue-numbering

19.782 text:copy-outline-levels

19.783 text:count-empty-lines

19.784 text:count-in-text-boxes

19.785 text:current-value

19.786 text:custom1

19.787 text:custom2

19.788 text:custom3

19.789 text:custom4

19.790 text:custom5

19.791 text:database-name

19.792 text:date-adjust

19.793 text:date-value

19.794 text:default-style-name

19.795 text:description

19.796 text:display

19.796.1 General

19.796.2 <text:chapter>

19.796.3 <text:expression>

19.796.4 <text:file-name>

19.796.5 <text:index-entry-chapter>

19.796.6 <text:section>

19.796.7 <text:table-formula>

19.796.8 <text:template-name>

19.796.9 <text:user-field-get>

19.796.10 <text:variable-get>

19.796.11 <text:variable-input>

19.796.12 <text:variable-set>

19.797 text:display-levels

19.798 text:display-outline-level

19.799 text:duration

19.800 text:edition

19.801 text:editor

19.802 text:filter-name

19.803 text:fixed

19.804 text:footnotes-position

19.805 text:formula

19.806 text:global (deprecated)

19.807 text:howpublished

19.808 text:increment

19.809 text:id

19.809.1 General

19.809.2 <draw:text-box>

19.809.3 <text:alphabetical-index-mark-end>

19.809.4 <text:alphabetical-index-mark-start>

19.809.5 <text:changed-region>

19.809.6 <text:h>

19.809.7 <text:note>

19.809.8 <text:p>

19.809.9 <text:toc-mark-end>

19.809.10 <text:toc-mark-start>

19.809.11 <text:user-index-mark-end>

19.809.12 <text:user-index-mark-start>

19.810 text:identifier

19.811 text:index-name

19.812 text:index-scope

19.813 text:ignore-case

19.814 text:institution

19.815 text:is-hidden

19.816 text:is-list-header

19.817 text:isbn

19.818 text:issn

19.819 text:journal

19.820 text:key

19.821 text:key1

19.822 text:key2

19.823 text:key1-phonetic

19.824 text:key2-phonetic

19.825 text:kind

19.826 text:label

19.827 text:label-followed-by

19.828 text:level

19.829 text:list-id

19.830 text:list-tab-stop-position

19.831 text:main-entry

19.832 text:main-entry-style-name

19.833 text:master-page-name

19.834 text:month

19.835 text:name

19.835.1 General

19.835.2 <text:alphabetical-index>

19.835.3 <text:bibliography>

19.835.4 <text:bookmark>

19.835.5 <text:bookmark-end>

19.835.6 <text:bookmark-start>

19.835.7 <text:execute-macro>

19.835.8 <text:illustration-index>

19.835.9 <text:index-title>

19.835.10 <text:object-index>

19.835.11 <text:reference-mark>

19.835.12 <text:reference-mark-end>

19.835.13 <text:reference-mark-start>

19.835.14 <text:section>

19.835.15 <text:sequence>

19.835.16 <text:sequence-decl>

19.835.17 <text:table-of-content>

19.835.18 <text:table-index>

19.835.19 <text:user-defined>

19.835.20 <text:user-field-decl>

19.835.21 <text:user-field-get>

19.835.22 <text:user-field-input>

19.835.23 <text:user-index>

19.835.24 <text:variable-set>

19.835.25 <text:variable-decl>

19.835.26 <text:variable-get>

19.835.27 <text:variable-input>

19.836 text:note

19.837 text:note-class

19.838 text:number

19.839 text:number-lines

19.840 text:number-position

19.841 text:numbered-entries

19.842 text:offset

19.843 text:organizations

19.844 text:outline-level

19.844.1 General

19.844.2 <text:alphabetical-index-entry-template>

19.844.3 <text:chapter>

19.844.4 <text:h>

19.844.5 <text:index-entry-chapter>

19.844.6 <text:index-source-styles>

19.844.7 <text:user-index-mark>

19.844.8 <text:table-of-content-entry-template>

19.844.9 <text:table-of-content-source>

19.844.10 <text:toc-mark>

19.844.11 <text:toc-mark-start>

19.844.12 <text:user-index-entry-template>

19.844.13 <text:user-index-mark-start>

19.845 text:page-adjust

19.845.1 General

19.845.2 <text:page-number>

19.845.3 <text:page-variable-set>

19.846 text:pages

19.847 text:placeholder-type

19.848 text:prefix

19.849 text:protected

19.850 text:protection-key

19.851 text:protection-key-digest-algorithm

19.852 text:publisher

19.853 text:ref-name

19.853.1 General

19.853.2 <text:bookmark-ref>

19.853.3 <text:note-ref>

19.853.4 <text:reference-ref>

19.853.5 <text:sequence>

19.853.6 <text:sequence-ref>

19.854 text:reference-format

19.855 text:relative-tab-stop-position

19.856 text:report-type

19.857 text:restart-numbering

19.858 text:restart-on-page

19.859 text:row-number

19.860 text:school

19.861 text:section-name

19.862 text:series

19.863 text:select-page

19.863.1 General

19.863.2 <text:page-continuation>

19.863.3 <text:page-number>

19.864 text:separation-character

19.865 text:sort-algorithm

19.866 text:sort-ascending

19.867 text:sort-by-position

19.868 text:start-value

19.868.1 General

19.868.2 <text:h>

19.868.3 <text:list-item>

19.868.4 <text:list-level-style-number>

19.868.5 <text:notes-configuration>

19.868.6 <text:numbered-paragraph>

19.868.7 <text:outline-level-style>

19.869 text:start-numbering-at

19.870 text:string-value-phonetic

19.871 text:string-value

19.871.1 General

19.871.2 <text:alphabetical-index-mark>

19.871.3 <text:hidden-text>

19.871.4 <text:page-continuation>

19.871.5 <text:toc-mark>

19.871.6 <text:user-index-mark>

19.872 text:string-value-if-false

19.873 text:string-value-if-true

19.874 text:style-name

19.874.1 General

19.874.2 <text:a>

19.874.3 <text:alphabetical-index>

19.874.4 <text:alphabetical-index-entry-template>

19.874.5 <text:bibliography>

19.874.6 <text:bibliography-entry-template>

19.874.7 <text:h>

19.874.8 <text:illustration-index>

19.874.9 <text:illustration-index-entry-template>

19.874.10 <text:index-entry-bibliography>

19.874.11 <text:index-entry-chapter>

19.874.12 <text:index-entry-link-end>

19.874.13 <text:index-entry-link-start>

19.874.14 <text:index-entry-page-number>

19.874.15 <text:index-entry-span>

19.874.16 <text:index-entry-tab-stop>

19.874.17 <text:index-entry-text>

19.874.18 <text:index-source-style>

19.874.19 <text:index-title>

19.874.20 <text:index-title-template>

19.874.21 <text:linenumbering-configuration>

19.874.22 <text:list>

19.874.23 <text:list-level-style-number>

19.874.24 <text:list-level-style-bullet>

19.874.25 <text:numbered-paragraph>

19.874.26 <text:object-index>

19.874.27 <text:object-index-entry-template>

19.874.28 <text:outline-level-style>

19.874.29 <text:p>

19.874.30 <text:ruby>

19.874.31 <text:ruby-text>

19.874.32 <text:section>

19.874.33 <text:span>

19.874.34 <text:table-index-entry-template>

19.874.35 <text:table-of-content>

19.874.36 <text:table-of-content-entry-template>

19.874.37 <text:table-index>

19.874.38 <text:user-index>

19.874.39 <text:user-index-entry-template>

19.875 text:style-override

19.876 text:suffix

19.877 text:tab-ref

19.878 text:table-name

19.879 text:table-type

19.880 text:time-adjust

19.881 text:time-value

19.882 text:title

19.883 text:track-changes

19.884 text:url

19.885 text:use-caption

19.886 text:use-chart-objects

19.887 text:use-draw-objects

19.888 text:use-floating-frames

19.889 text:use-graphics

19.890 text:use-index-marks

19.891 text:use-index-source-styles

19.892 text:use-keys-as-entries

19.893 text:use-math-objects

19.894 text:use-objects

19.895 text:use-other-objects

19.896 text:use-outline-level

19.897 text:use-soft-page-breaks

19.898 text:use-spreadsheet-objects

19.899 text:use-tables

19.900 text:value

19.901 text:visited-style-name

19.902 text:volume

19.903 text:year

19.904 xforms:bind

19.905 xhtml:about

19.906 xhtml:content

19.907 xhtml:datatype

19.908 xhtml:property

19.909 xlink:actuate

19.910 xlink:href

19.910.1 General

19.910.2 <anim:audio>

19.910.3 <chart:chart>

19.910.4 <chart:symbol-image>

19.910.5 <db:component>

19.910.6 <db:connection-resource>

19.910.7 <db:file-based-database>

19.910.8 <draw:a>

19.910.9 <draw:applet>

19.910.10 <draw:area-circle>

19.910.11 <draw:area-polygon>

19.910.12 <draw:area-rectangle>

19.910.13 <draw:fill-image>

19.910.14 <draw:floating-frame>

19.910.15 <draw:image>

19.910.16 <draw:object>

19.910.17 <draw:object-ole>

19.910.18 <draw:plugin>

19.910.19 <form:button>

19.910.20 <form:connection-resource>

19.910.21 <form:image>

19.910.22 <form:form>

19.910.23 <meta:auto-reload>

19.910.24 <meta:template>

19.910.25 <presentation:event-listener>

19.910.26 <presentation:sound>

19.910.27 <script:event-listener>

19.910.28 <style:background-image>

19.910.29 <svg:definition-src>

19.910.30 <svg:font-face-uri>

19.910.31 <table:cell-range-source>

19.910.32 <table:table-source>

19.910.33 <text:a>

19.910.34 <text:alphabetical-index-auto-mark-file>

19.910.35 <text:list-level-style-image>

19.910.36 <text:script>

19.910.37 <text:section-source>

19.911 xlink:show

19.912 xlink:title

19.913 xlink:type

19.914 xml:id

20 Formatting Attributes

20.1 General

20.2 chart:angle-offset

20.3 chart:auto-position

20.4 chart:auto-size

20.5 chart:axis-label-position

20.6 chart:axis-position

20.7 chart:connect-bars

20.8 chart:data-label-number

20.9 chart:data-label-symbol

20.10 chart:data-label-text

20.11 chart:deep

20.12 chart:display-label

20.13 chart:error-category

20.14 chart:error-lower-indicator

20.15 chart:error-lower-limit

20.16 chart:error-lower-range

20.17 chart:error-margin

20.18 chart:error-percentage

20.19 chart:error-upper-indicator

20.20 chart:error-upper-limit

20.21 chart:error-upper-range

20.22 chart:gap-width

20.23 chart:group-bars-per-axis

20.24 chart:hole-size

20.25 chart:include-hidden-cells

20.26 chart:interpolation

20.27 chart:interval-major

20.28 chart:interval-minor-divisor

20.29 chart:japanese-candle-stick

20.30 chart:label-arrangement

20.31 chart:label-position

20.32 chart:label-position-negative

20.33 chart:lines (deprecated)

20.34 chart:link-data-style-to-source

20.35 chart:logarithmic

20.36 chart:maximum

20.37 chart:mean-value

20.38 chart:minimum

20.39 chart:origin

20.40 chart:overlap

20.41 chart:pie-offset

20.42 chart:percentage

20.43 chart:regression-type

20.44 chart:reverse-direction

20.45 chart:right-angled-axes

20.46 chart:scale-text

20.47 chart:series-source (deprecated)

20.48 chart:sort-by-x-values

20.49 chart:solid-type

20.50 chart:spline-order

20.51 chart:spline-resolution

20.52 chart:stacked

20.53 chart:symbol-height

20.54 chart:symbol-name

20.55 chart:symbol-type

20.56 chart:symbol-width

20.57 chart:text-overlap

20.58 chart:three-dimensional

20.59 chart:tick-marks-major-inner

20.60 chart:tick-marks-major-outer

20.61 chart:tick-marks-minor-inner

20.62 chart:tick-marks-minor-outer

20.63 chart:tick-mark-position

20.64 chart:treat-empty-cells

20.65 chart:vertical

20.66 chart:visible

20.67 dr3d:ambient-color

20.68 dr3d:back-scale

20.69 dr3d:backface-culling

20.70 dr3d:close-back

20.71 dr3d:close-front

20.72 dr3d:depth

20.73 dr3d:diffuse-color

20.74 dr3d:edge-rounding

20.75 dr3d:edge-rounding-mode

20.76 dr3d:emissive-color

20.77 dr3d:end-angle

20.78 dr3d:horizontal-segments

20.79 dr3d:lighting-mode

20.80 dr3d:normals-direction

20.81 dr3d:normals-kind

20.82 dr3d:shadow

20.83 dr3d:shininess

20.84 dr3d:specular-color

20.85 dr3d:texture-filter

20.86 dr3d:texture-kind

20.87 dr3d:texture-mode

20.88 dr3d:texture-generation-mode-x

20.89 dr3d:texture-generation-mode-y

20.90 dr3d:vertical-segments

20.91 draw:auto-grow-height

20.92 draw:auto-grow-width

20.93 draw:background-size

20.94 draw:blue

20.95 draw:caption-angle

20.96 draw:caption-angle-type

20.97 draw:caption-escape

20.98 draw:caption-escape-direction

20.99 draw:caption-fit-line-length

20.100 draw:caption-gap

20.101 draw:caption-line-length

20.102 draw:caption-type

20.103 draw:color-inversion

20.104 draw:color-mode

20.105 draw:contrast

20.106 draw:decimal-places

20.107 draw:draw-aspect

20.108 draw:end-guide

20.109 draw:end-line-spacing-horizontal

20.110 draw:end-line-spacing-vertical

20.111 draw:fill

20.112 draw:fill-color

20.113 draw:fill-gradient-name

20.114 draw:fill-hatch-name

20.115 draw:fill-hatch-solid

20.116 draw:fill-image-height

20.117 draw:fill-image-name

20.118 draw:fill-image-ref-point

20.119 draw:fill-image-ref-point-x

20.120 draw:fill-image-ref-point-y

20.121 draw:fill-image-width

20.122 draw:fit-to-contour

20.123 draw:fit-to-size

20.124 draw:frame-display-border

20.125 draw:frame-margin-horizontal

20.126 draw:frame-display-scrollbar

20.127 draw:frame-margin-vertical

20.128 draw:gamma

20.129 draw:green

20.130 draw:gradient-step-count

20.131 draw:guide-distance

20.132 draw:guide-overhang

20.133 draw:image-opacity

20.134 draw:line-distance

20.135 draw:luminance

20.136 draw:marker-end

20.137 draw:marker-end-center

20.138 draw:marker-end-width

20.139 draw:marker-start

20.140 draw:marker-start-center

20.141 draw:marker-start-width

20.142 draw:measure-align

20.143 draw:measure-vertical-align

20.144 draw:ole-draw-aspect

20.145 draw:opacity

20.146 draw:opacity-name

20.147 draw:parallel

20.148 draw:placing

20.149 draw:red

20.150 draw:secondary-fill-color

20.151 draw:shadow

20.152 draw:shadow-color

20.153 draw:shadow-offset-x

20.154 draw:shadow-offset-y

20.155 draw:shadow-opacity

20.156 draw:show-unit

20.157 draw:start-guide

20.158 draw:start-line-spacing-horizontal

20.159 draw:start-line-spacing-vertical

20.160 draw:stroke

20.161 draw:stroke-dash

20.162 draw:stroke-dash-names

20.163 draw:stroke-linejoin

20.164 svg:stroke-linecap

20.165 draw:symbol-color

20.166 draw:textarea-horizontal-align

20.167 draw:textarea-vertical-align

20.168 draw:tile-repeat-offset

20.169 draw:visible-area-height

20.170 draw:visible-area-left

20.171 draw:visible-area-top

20.172 draw:visible-area-width

20.173 draw:unit

20.174 draw:wrap-influence-on-position

20.175 fo:background-color

20.176 fo Border Properties

20.176.1 General

20.176.2 fo:border

20.176.3 fo:border-bottom

20.176.4 fo:border-left

20.176.5 fo:border-right

20.176.6 fo:border-top

20.177 fo:break-after

20.178 fo:break-before

20.179 fo:clip

20.180 fo:color

20.181 fo:country

20.182 fo:font-family

20.183 fo:font-size

20.184 fo:font-style

20.185 fo:font-variant

20.186 fo:font-weight

20.187 fo:height

20.188 fo:hyphenate

20.189 fo:hyphenation-keep

20.190 fo:hyphenation-ladder-count

20.191 fo:hyphenation-push-char-count

20.192 fo:hyphenation-remain-char-count

20.193 fo:keep-together

20.194 fo:keep-with-next

20.195 fo:language

20.196 fo:letter-spacing

20.197 fo:line-height

20.198 fo:margin

20.199 fo:margin-bottom

20.200 fo:margin-left

20.201 fo:margin-right

20.202 fo:margin-top

20.203 fo:max-height

20.204 fo:max-width

20.205 fo:min-height

20.205.1 <style:graphic-properties>

20.205.2 <style:header-footer-properties>

20.206 fo:min-width

20.207 fo:orphans

20.208 fo:page-height

20.209 fo:page-width

20.210 fo:padding

20.211 fo:padding-bottom

20.212 fo:padding-left

20.213 fo:padding-right

20.214 fo:padding-top

20.215 fo:script

20.216 fo:text-align

20.216.1 <style:paragraph-properties>

20.216.2 <style:list-level-properties>

20.217 fo:text-align-last

20.218 fo:text-indent

20.219 fo:text-shadow

20.220 fo:text-transform

20.221 fo:widows

20.222 fo:width

20.223 fo:wrap-option

20.224 presentation:background-objects-visible

20.225 presentation:background-visible

20.226 presentation:display-date-time

20.227 presentation:display-footer

20.228 presentation:display-header

20.229 presentation:display-page-number

20.230 presentation:duration

20.231 presentation:transition-speed

20.232 presentation:transition-style

20.233 presentation:transition-type

20.234 presentation:visibility

20.235 smil:direction

20.236 smil:fadeColor

20.237 smil:subtype

20.238 smil:type

20.239 style:auto-text-indent

20.240 style:background-transparency

20.241 style:border-line-width

20.242 style:border-line-width-bottom

20.243 style:border-line-width-left

20.244 style:border-line-width-right

20.245 style:border-line-width-top

20.246 style:cell-protect

20.247 style:column-width

20.248 style:country-asian

20.249 style:country-complex

20.250 style:decimal-places

20.251 style:diagonal-bl-tr

20.252 style:diagonal-bl-tr-widths

20.253 style:diagonal-tl-br

20.254 style:diagonal-tl-br-widths

20.255 style:direction

20.256 style:dynamic-spacing

20.257 style:editable

20.258 style:first-page-number

20.259 style:flow-with-text

20.260 style:font-charset

20.261 style:font-charset-asian

20.262 style:font-charset-complex

20.263 style:font-family-asian

20.264 style:font-family-complex

20.265 style:font-family-generic

20.266 style:font-family-generic-asian

20.267 style:font-family-generic-complex

20.268 style:font-independent-line-spacing

20.269 style:font-name

20.270 style:font-name-asian

20.271 style:font-name-complex

20.272 style:font-pitch

20.273 style:font-pitch-asian

20.274 style:font-pitch-complex

20.275 style:font-relief

20.276 style:font-size-asian

20.277 style:font-size-complex

20.278 style:font-size-rel

20.279 style:font-size-rel-asian

20.280 style:font-size-rel-complex

20.281 style:font-style-asian

20.282 style:font-style-complex

20.283 style:font-style-name

20.284 style:font-style-name-asian

20.285 style:font-style-name-complex

20.286 style:font-weight-asian

20.287 style:font-weight-complex

20.288 style:footnote-max-height

20.289 style:glyph-orientation-vertical

20.290 style:horizontal-pos

20.291 style:horizontal-rel

20.292 style:join-border

20.293 style:justify-single-word

20.294 style:language-asian

20.295 style:language-complex

20.296 style:layout-grid-base-height

20.297 style:layout-grid-base-width

20.298 style:layout-grid-color

20.299 style:layout-grid-display

20.300 style:layout-grid-lines

20.301 style:layout-grid-mode

20.302 style:layout-grid-print

20.303 style:layout-grid-ruby-below

20.304 style:layout-grid-ruby-height

20.305 style:layout-grid-snap-to

20.306 style:layout-grid-standard-mode

20.307 style:line-break

20.308 style:letter-kerning

20.309 style:line-height-at-least

20.310 style:line-spacing

20.311 style:may-break-between-rows

20.312 style:min-row-height

20.313 style:mirror

20.314 style:num-format

20.315 style:num-letter-sync

20.316 style:num-prefix

20.317 style:num-suffix

20.318 style:number-wrapped-paragraphs

20.319 style:overflow-behavior

20.320 style:page-number

20.321 style:paper-tray-name

20.322 style:print

20.323 style:print-content

20.323.1 General

20.323.2 <style:graphic-properties>

20.323.3 <style:table-cell-properties>

20.324 style:print-page-order

20.325 style:print-orientation

20.326 style:protect

20.326.1 General

20.326.2 <style:graphic-properties>

20.326.3 <style:section-properties>

20.327 style:punctuation-wrap

20.328 style:register-true

20.329 style:register-truth-ref-style-name

20.330 style:rel-column-width

20.331 style:rel-height

20.332 style:rel-width

20.332.1 <style:graphic-properties>

20.332.2 <style:table-properties>

20.333 style:repeat

20.334 style:repeat-content

20.335 style:rfc-language-tag

20.336 style:rfc-language-tag-asian

20.337 style:rfc-language-tag-complex

20.338 style:rotation-align

20.339 style:rotation-angle

20.340 style:row-height

20.341 style:ruby-align

20.342 style:ruby-position

20.343 style:run-through

20.344 style:scale-to

20.345 style:scale-to-pages

20.346 style:script-asian

20.347 style:script-complex

20.348 style:script-type

20.349 style:shadow

20.350 style:shrink-to-fit

20.351 style:snap-to-layout-grid

20.352 style:tab-stop-distance

20.353 style:table-centering

20.354 style:text-align-source

20.355 style:text-autospace

20.356 style:text-blinking

20.357 style:text-combine

20.358 style:text-combine-start-char

20.359 style:text-combine-end-char

20.360 style:text-emphasize

20.361 style:text-line-through-color

20.362 style:text-line-through-mode

20.363 style:text-line-through-style

20.364 style:text-line-through-text

20.365 style:text-line-through-text-style

20.366 style:text-line-through-type

20.367 style:text-line-through-width

20.368 style:text-outline

20.369 style:text-overline-color

20.370 style:text-overline-mode

20.371 style:text-overline-style

20.372 style:text-overline-type

20.373 style:text-overline-width

20.374 style:text-position

20.375 style:text-rotation-angle

20.376 style:text-rotation-scale

20.377 style:text-scale

20.378 style:text-underline-color

20.379 style:text-underline-mode

20.380 style:text-underline-style

20.381 style:text-underline-type

20.382 style:text-underline-width

20.383 style:use-optimal-column-width

20.384 style:use-optimal-row-height

20.385 style:use-window-font-color

20.386 style:vertical-align

20.386.1 <style:paragraph-properties>

20.386.2 <style:table-cell-properties>

20.387 style:vertical-pos

20.388 style:vertical-rel

20.389 style:width

20.390 style:wrap

20.391 style:wrap-contour

20.392 style:wrap-contour-mode

20.393 style:wrap-dynamic-threshold

20.394 style:writing-mode

20.394.1 General

20.394.2 <style:graphic-properties>

20.394.3 <style:page-layout-properties>

20.394.4 <style:paragraph-properties>

20.394.5 <style:section-properties>

20.394.6 <style:table-cell-properties>

20.394.7 <style:table-properties>

20.395 style:writing-mode-automatic

20.396 svg:fill-rule

20.397 svg:height

20.397.1 <style:graphic-properties>

20.397.2 <style:header-footer-properties>

20.398 svg:stroke-color

20.399 svg:stroke-opacity

20.400 svg:stroke-width

20.401 svg:x

20.402 svg:y

20.402.1 <style:graphic-properties>

20.402.2 <style:list-level-properties>

20.403 svg:width

20.404 table:align

20.405 table:border-model

20.406 table:display

20.407 text:anchor-page-number

20.408 text:anchor-type

20.409 text:animation

20.410 text:animation-delay

20.411 text:animation-direction

20.412 text:animation-repeat

20.413 text:animation-start-inside

20.414 text:animation-steps

20.415 text:animation-stop-inside

20.416 text:condition

20.417 text:display

20.418 text:dont-balance-text-columns

20.419 text:line-break

20.420 text:line-number

20.421 text:list-level-position-and-space-mode

20.422 text:min-label-distance

20.423 text:min-label-width

20.424 text:number-lines

20.425 text:space-before

Appendix A.

Appendix B.

Appendix C.

Appendix D.

D.1. Title, Description and Caption of Graphical Elements

D.1.1. Guidance for authors

D.1.2. Authoring tool responsibility for presenting and prompting for the <svg:title> and <svg:desc> elements

D.2. Hyperlink Titles

D.3. Tables in Presentations

D.4. Further Guidelines

Appendix E.

E.1. Paragraph and Layout Direction

E.2. Numeric Digits Presentation and Calendars

Appendix F.

F.1. Slide Animation

F.2. Main Sequence

F.3. Interactive Sequence

Appendix G.

G.1. Changes from “Open Document Format for Office Applications (OpenDocument) v1.1”

1Introduction

1.1Introduction

This document is part of the Open Document Format for Office Applications (OpenDocument) Version 1.2 specification. It defines an XML schema for office documents. Office documents includes text documents, spreadsheets, charts and graphical documents like drawings or presentations, but is not restricted to these kinds of documents.

The XML schema for OpenDocument is designed for transformations using XSLT and processing with XML-based tools.

1.2Terminology

All text is normative unless otherwise labeled.

Text with a gray background color which is contained in boxes is informative. It lists the XML element-element and element-attribute relations for cross reference purposes.

Within the normative text of this specification, the terms "shall", "shall not", "should", "should not", "may" and “need not” are to be interpreted as described in Annex H of [ISO/IEC Directives].

Within this specification,  attributes and elements are marked as deprecated. Attributes and elements marked as deprecated should not be used any longer, and may be removed from future versions of the specification.

XML Element, attribute names, attribute value types, and attribute values appear in monospace font.

This standard, for illustrative purposes, describes functionality using terminology common in desktop computing environments that contain a display terminal, keyboard and mouse, attached to a computer hosting an operating system with a graphical user interface which includes user interface controls such as input controls, command buttons, selection boxes, etc.

This standard is not limited to such environments. This format can be used by alternative computing environments, with other form factors, non-GUI consumers and producers, assistive technologies, using analogous user interface operations.

Implementation-defined is used in this standard for values or processing that may differ between ODF implementations, but is required to be specified by the implementor for each particular ODF-implementation.

Implementation-dependent is used in this standard for values or processing that may differ between ODF implementations, but is not required to be specified by the implementor for each particular ODF-implementation.

1.3Normative References

[CSS2]        Cascading Style Sheets, level 2, http://www.w3.org/TR/1998/REC-CSS2-19980512, W3C, 1998.

[DCMI]        Dublin Core Metadata Element Set, Version 1.1: Reference Description, http://www.dublincore.org/documents/2008/01/14/dces/, Dublin Core Metadata Initiative, 2003.

[DOMEvents2]        Document Object Model (DOM) Level 2 Events Specification, http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113, W3C, 2000.

[GRDDL]        Gleaning Resource Descriptions from Dialects of Languages (GRDDL), http://www.w3.org/TR/2007/REC-grddl-20070911/, W3C, 2007.

[HTML4]        HTML 4.01 Specification, http://www.w3.org/TR/1999/REC-html401-19991224, W3C, 1999.

[ISO/IEC Directives]        Rules for the structure and drafting of International Standards, International Organization for Standardization and International Electrotechnical Commission, 2004.

[ISO15924]        Information and documentation -- Codes for the representation of names of scripts, International Organization for Standardization and International Electrotechnical Commission, 2004.

[ISO3166-1]          Codes for the representation of names of countries and their subdivisions -- Part 1: Country codes, International Organization for Standardization and International Electrotechnical Commission, 2007.

[ISO3166-2]        Codes for the representation of names of countries and their subdivisions -- Part 2: Country subdivision code, International Organization for Standardization and International Electrotechnical Commission, 2007.

[ISO3166-3]        Codes for the representation of names of countries and their subdivisions -- Part 3: Code for formerly used names of countries, International Organization for Standardization and International Electrotechnical Commission, 1999.

[ISO639-1]        Codes for the representation of names of languages -- Part 1: Alpha-2 code, International Organization for Standardization and International Electrotechnical Commission, 2002.

[ISO639-2]        Codes for the representation of names of languages -- Part 2: Alpha-3 code, International Organization for Standardization and International Electrotechnical Commission, 1998.

[ISO639-3]        Codes for the representation of names of languages -- Part 3: Alpha-3 code for comprehensive coverage of languages, International Organization for Standardization and International Electrotechnical Commission, 2007.

[ISO8601]        Data elements and interchange formats -- Information interchange -- Representation of dates and times, International Organization for Standardization and International Electrotechnical Commission, 2004.

[JIS X 0301]        Data elements and interchange formats -- Information interchange -- Representation of dates and times, Japanese Standards Association, 2002.

[MathML]        Mathematical Markup Language (MathML) Version 2.0 (Second Edition), http://www.w3.org/TR/2003/REC-MathML2-20031021/, W3C, 2003.

[OLE]       

[OWL]        OWL Web Ontology Language Overview, http://www.w3.org/TR/2004/REC-owl-features-20040210/, W3C, 2004.

[RDF-CONCEPTS]        Resource Description Framework (RDF): Concepts and Abstract Syntax, http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/, W3C, 2004.

[RDFa]        RDFa in XHTML: Syntax and Processing, http://www.w3.org/TR/2008/REC-rdfa-syntax-20081014, W3C, 2008.

[RFC2045]        Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies, http://www.ietf.org/rfc/rfc2045.txt, IETF, 1996.

[RFC2616]         Hypertext Transfer Protocol -- HTTP/1.1, http://www.ietf.org/rfc/rfc2616.txt, IETF, 1999.

[RFC3987]        Internationalized Resource Identifiers (IRIs), http://www.ietf.org/rfc/rfc3987.txt, IETF, 2005.

[RFC4288]        Media Type Specifications and Registration Procedures, http://www.ietf.org/rfc/rfc4288.txt, IETF, 2005.

[RFC4514]        Lightweight Directory Access Protocol (LDAP): String Representation of Distinguished Names, http://tools.ietf.org/html/rfc4514, IETF, 2006.

[RFC5646]        Tags for Identifying Languages, http://www.ietf.org/rfc/rfc5646.txt, IETF, 2009.

[RNG]        Document Schema Definition Language (DSDL) -- Part 2: Regular-grammar-based validation -- RELAX NG, International Organization for Standardization and International Electrotechnical Commission, 2003.

[SMIL20]        Synchronized Multimedia Integration Language (SMIL 2.0) - [Second Edition], http://www.w3.org/TR/2005/REC-SMIL2-20050107/, W3C, 2001.

[SQL]        Information Technology -- Database Language -- SQL -- Part 2: Foundation (SQL/Foundation), International Organization for Standardization and International Electrotechnical Commission, 2008.

[SVG]        Scalable Vector Graphics (SVG) 1.1, http://www.w3.org/TR/2003/REC-SVG11-20030114/, W3C, 2003.

[UNICODE]        The Unicode Standard, Version 5.2 (Boston, MA, Addison-Wesley, 2009. ISBN 978-1-936213-00-9).

[UTR18]        Mark Davis, Andy Heninger, Unicode Regular Expressions, Unicode Technical Report #18, http://www.unicode.org/reports/tr18/tr18-13.html, 2008.

[XForms]        XForms 1.0 (Third Edition), http://www.w3.org/TR/2007/REC-xforms-20071029/, W3C, 2007.

[XLink]        XML Linking Language (XLink) Version 1.0, http://www.w3.org/TR/2001/REC-xlink-20010627/, W3C, 2001.

[XML-ID]        xml:id Version 1.0, http://www.w3.org/TR/2005/REC-xml-id-20050909/, W3C, 2005.

[xml-names]        Namespaces in XML 1.0 (Second Edition), http://www.w3.org/TR/2006/REC-xml-names-20060816, W3C, 2006.

[XML1.0]        Extensible Markup Language (XML) 1.0 (Fourth Edition), http://www.w3.org/TR/2006/REC-xml-20060816/, W3C, 2006.

[xmlenc-core]        XML Encryption Syntax and Processing, http://www.w3.org/TR/2002/REC-xmlenc-core-20021210/, W3C, 2002.

[xmlschema-2]        XML Schema Part 2: Datatypes Second Edition, http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/, W3C, 2004.

[XPath]        XML Path Language (XPath) Version 1.0, http://www.w3.org/TR/1999/REC-xpath-19991116, W3C, 1999.

[XSL]        Extensible Stylesheet Language (XSL), http://www.w3.org/TR/2001/REC-xsl-20011015/, W3C, 2001.

1.4Non Normative References

[BibTeXing]        BIBT E Xing, http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.49.6093, 1988

[CSS3Text]        CSS3 Text Module, http://www.w3.org/TR/2003/CR-css3-text-20030514, W3C, 2003.

[DAISY]        ANSI/NISO Z39.86-2005 Specifications for the Digital Talking Book, http://www.niso.org/standards/resources/Z39-86-2005.html, 2005.

[MIMETYPES]        MIME Media Types, http://www.iana.org/assignments/media-types/, IANA.

[ODF10]        Open Document Format for Office Applications (OpenDocument) v1.0, May 2005, http://docs.oasis-open.org/office/v1.0/OpenDocument-v1.0-os.pdf.

[ODF11]        Open Document Format for Office Applications (OpenDocument) v1.1, February 2007, http://docs.oasis-open.org/office/v1.1/OS/OpenDocument-v1.1.pdf.

[PNG]        Portable Network Graphics (PNG) Specification (Second Edition), http://www.w3.org/TR/2003/REC-PNG-20031110, W3C, 2003.

[RFC3066]        Tags for the Identification of Languages, http://www.ietf.org/rfc/rfc3066.txt, IETF, 2001.

[UAX9]        Mark Davis, The Bidirectional Algorithm, Unicode Standard Annex #9, http://www.unicode.org/reports/tr9/tr9-15.html, 2005.

[UTR20]        Martin Dürst and Asmus Freytag, Unicode in XML and other Markup Languages, Unicode Technical Report #20, http://www.unicode.org/reports/tr20/tr20-7.html, 2003.

[Variability]        Variability in Specifications, http://www.w3.org/TR/2005/NOTE-spec-variability-20050831/, W3C, 2005.

[XSLT]        XSL Transformations (XSLT) Version 1.0, http://www.w3.org/TR/1999/REC-xslt-19991116, W3C, 1999.

1.5Namespaces

The namespaces used or defined by OpenDocument are listed in tables 1-4.

Note: The defined XML namespaces conform to the Namespaces in XML specification [xml-names].

This specification uses the prefixes defined in tables 1 and 2 when referring to elements and attributes in this specification. However, implementors may use any prefix, provided that there is a namespace declaration that binds the prefix to the IRI of the corresponding namespace.

Table 1 - XML Namespaces defined by the OpenDocument schema

Prefix

Description

Namespace

anim

Elements and attributes that describe animation content.

urn:oasis:names:tc:opendocument:xmlns:
animation:1.0

chart

Elements and attributes that describe chart content.

urn:oasis:names:tc:opendocument:xmlns:
chart:1.0

config

Elements and attributes that describe application specific settings.

urn:oasis:names:tc:opendocument:xmlns:
config:1.0

db

For elements and attributes that describe database specific objects.

urn:oasis:names:tc:opendocument:xmlns:
database:1.0

dr3d

Elements and attributes that describe 3D graphic content.

urn:oasis:names:tc:opendocument:xmlns:
dr3d:1.0

draw

Elements and attributes that describe graphic content.

urn:oasis:names:tc:opendocument:xmlns:
drawing:1.0

form

Elements and attributes that describe forms and controls.

urn:oasis:names:tc:opendocument:xmlns:
form:1.0

manifest

Elements and attribute contained in the package manifest.

urn:oasis:names:tc:opendocument:xmlns:
manifest:1.0

meta

Elements and attributes that describe meta information.

urn:oasis:names:tc:opendocument:xmlns:
meta:1.0

number

Elements and attributes that describe data style information.

urn:oasis:names:tc:opendocument:xmlns:
datastyle:1.0

office

All common pieces of information that are not contained in another, more specific namespace.

urn:oasis:names:tc:opendocument:xmlns:
office:1.0

presentation

Elements and attributes that describe presentation content.

urn:oasis:names:tc:opendocument:xmlns:
presentation:1.0

script

Elements and attributes that represent scripts or events.

urn:oasis:names:tc:opendocument:xmlns:
script:1.0

table

Elements and attributes that may occur within spreadsheets or within table definitions of a text document.

urn:oasis:names:tc:opendocument:xmlns:
table:1.0

text

Elements and attributes that may occur within text documents and text parts of other document types.,

urn:oasis:names:tc:opendocument:xmlns:
text:1.0

style

Elements and attributes that describe the style and inheritance model used by the OpenDocument format.

urn:oasis:names:tc:opendocument:xmlns:
style:1.0

Table 2 - XML Namespaces defined by the OpenDocument metadata manifest ontology

Prefix

Description

Namespace

odf

RDF node property and node elements for OpenDocument package entities

http://docs.oasis-open.org/ns/office/1.2/meta/odf#

Table 3 - XML Namespaces defined by the OpenDocument schema that include elements and attributes that are compatible to elements and attributes of other standards.

Prefix

Description

Namespace

fo

Attributes that are compatible to attributes defined in [XSL].

urn:oasis:names:tc:opendocument:xmlns:
xsl-fo-compatible:1.0

svg

Elements and attributes that are compatible to elements or attributes defined in [SVG].

urn:oasis:names:tc:opendocument:xmlns:
svg-compatible:1.0

smil

Attributes that are compatible to attributes defined in [SMIL20].

urn:oasis:names:tc:opendocument:xmlns:
smil-compatible:1.0

Table 4 - XML Namespaces used by the OpenDocument schema

Prefix

Description

Namespace

dc

The Dublin Core Namespace (see [DCMI]).

http://purl.org/dc/elements/1.1/

math

MathML Namespace (see [MathML])

http://www.w3.org/1998/Math/MathML

xforms

The XForms namespace (see [XForms]).

http://www.w3.org/2002/xforms

xlink

The XLink namespace (see [XLink]).

http://www.w3.org/1999/xlink

xhtml

RDFa attributes (see [RDFa]).

http://www.w3.org/1999/xhtml

grddl

GRDDL attributes (see [GRDDL])

http://www.w3.org/2003/g/data-view#

Table 5 - XML Namespaces defined by the OpenDocument metadata manifest ontology

Prefix

Description

Namespace

pkg

OWL classes and properties contained in metadata manifest files.

http://docs.oasis-open.org/ns/office/1.2/meta/pkg#

Table 6 - Other XML Namespaces defined by this specification

Prefix

Description

Namespace

of

Namespace for formulas defined by part 2 of this specification that occur in attribute values.

urn:oasis:names:tc:opendocument:xmlns:of:1.2

2OpenDocument Documents, Consumers and Producers

2.1Introduction

The OpenDocument specification defines conformance for documents, consumers, and producers, with two conformance classes called conforming and extended conforming. It further defines conforming text, spreadsheet, drawing, presentation, chart, image, formula and database front end documents. This chapter defines the basic requirements for the individual conformance targets.

2.2Documents

2.2.1OpenDocument Document

An OpenDocument document shall meet the following requirements:

  1. A)If the document is an OpenDocument package, then  

    1. A.1)it shall be a conforming OpenDocument package (C19), and 

    2. A.2)the package shall contain at least one of the following files: content.xml and styles.xml. It may contain additional files, including files named settings.xml and meta.xml. 

  2. B)If the document is an OpenDocument package, then the following requirements shall be met for its contained files named content.xml, styles.xml, settings.xml and meta.xml, if present: 

    1. B.1)The files shall be well formed XML documents with respect to the XML 1.0 [XML1.0] specification. 

    2. B.2)The XML root elements of the files shall be  

      1. B.2.1)<office:document-content> or <math:math> for files named content.xml, 

      2. B.2.2)<office:document-styles> for files named styles.xml, 

      3. B.2.3)<office:document-meta> for files named meta.xml, 

      4. B.2.4)<office:document-settings> for files named settings.xml. 

    3. B.3)If the XML root element of a file is <office:document-content>, <office:document-styles>, <office:document-meta> or <office:document-settings>, then the XML file shall be valid with respect to the schema defined in appendix A. 

    4. B.4)If the XML root element of a file is <math:math>, then the XML file shall be valid with respect to the MathML 2.0 [MathML] schema. 

  3. C)If the document is a single XML file, then  

    1. C.1)the file shall be a well formed XML document with respect to the XML 1.0 [XML1.0] specification 

    2. C.2)the XML root element of the file shall be <office:document>. 

    3. C.3)the XML file shall be valid with respect to the schema defined in appendix A. 

  4. D)The files contained in a package listed in B) or the single file listed in C) meet the following requirements: 

    1. D.1)They shall be namespace-well-formed with regard to the XML Namespaces specification [xml-names]. 

    2. D.2)They shall conform to the xml-id specification [XML-ID]. 

    3. D.3)If the namespace prefix of a style:condition, table:condition, table:expression, table:formula or text:formula attribute is associated with the "urn:oasis:names:tc:opendocument:xmlns:of:1.2" namespace, or if a namespace prefix is omitted for any of these attributes, the syntax of any formula which is contained in the values of these attributes shall conform to part 2 of this specification.  

  5. E)It shall conform to one of: (C3) OpenDocument Text Document, (C4) OpenDocument Spreadsheet Document, (C5) OpenDocument Drawing Document, (C6) OpenDocument Presentation Document, (C7) OpenDocument Chart Document, (C8) OpenDocument Image Document, (C9) OpenDocument Formula Document, (C10) OpenDocument Database Front End Document.  

2.2.2OpenDocument Extended Document

An OpenDocument extended document shall meet all requirements of a conforming document listed in 2.2.1 except A.1), B.3), C.3) and E) and shall meet the following requirements:

  1. A)If the document is an OpenDocument package, then it shall be a conforming ODF extended package (C20)  

  2. B)If the document is an OpenDocument package, then the following requirement shall be met for its contained files named content.xml, styles.xml, settings.xml and meta.xml, if present: 

    1. B.1)If the XML root element of a file is <office:document-content>, <office:document-styles>, <office:document-meta> or <office:document-settings>, then the XML file shall be valid with respect to the schema defined in appendix A, after the following processing of foreign elements has taken place: 

      1. B.1.1)Foreign elements and attributes, as defined in section 3.17 have been removed. 

      2. B.1.2)The content of foreign elements has been processed as defined in section 3.17. 

  3. C)If the document is a single XML file, then the XML files shall be valid with respect to the schema defined in appendix A, after processing of foreign elements as defined in B1) has taken place. 

2.2.3OpenDocument Text Document

An OpenDocument Text document shall meet all requirements of a Conforming OpenDocument Document, as well as the following additional requirements:

  1. A)The <office:document> element shall have an office:mimetype attribute with one of these values: "application/vnd.oasis.opendocument.text", "application/vnd.oasis.opendocument.text-template" or "application/vnd.oasis.opendocument.text-master". 

  2. B)If the document is an OpenDocument package then it shall contain a file named mimetype containing one of these strings: "application/vnd.oasis.opendocument.text", "application/vnd.oasis.opendocument.text-template" or "application/vnd.oasis.opendocument.text-master". 

  3. C)The <office:body> element shall have the child element <office:text>. 

2.2.4OpenDocument Spreadsheet Document

An OpenDocument Spreadsheet document shall meet all requirements of a Conforming OpenDocument Document, as well as the following additional requirements:

  1. A)The <office:document> element shall have an office:mimetype attribute with one of these values: "application/vnd.oasis.opendocument.spreadsheet" or "application/vnd.oasis.opendocument.spreadsheet-template". 

  2. B)If the document is an OpenDocument package then it shall contain a file named mimetype containing one of these strings: "application/vnd.oasis.opendocument.spreadsheet" or "application/vnd.oasis.opendocument.spreadsheet-template". 

  3. C)The <office:body> element shall have the child element <office:spreadsheet>. 

  4. D)All namespace prefixes used in the values of table:formula attributes values shall be bound to the "urn:oasis:names:tc:opendocument:xmlns:of:1.2 " namespace. 

  5. E)All table:formula attribute values shall be a conforming OpenDocument Formula expression (C15). 

2.2.5OpenDocument Drawing Document

An OpenDocument Drawing document shall meet all requirements of a Conforming OpenDocument Document, as well as the following additional requirements:

  1. A)The <office:document> element shall have an office:mimetype attribute with one of these values: "application.vnd.oasis.opendocument.graphics" or "application/vnd.oasis.opendocument.graphic-template". 

  2. B)If the document is an OpenDocument package then it shall contain a file named mimetype containing one of these strings: "application.vnd.oasis.opendocument.graphics" or "application/vnd.oasis.opendocument.graphic-template". 

  3. C)The <office:body> element shall have the child element <office:drawing>. 

2.2.6OpenDocument Presentation Document

An OpenDocument Presentation document shall meet all requirements of a Conforming OpenDocument Document, as well as the following additional requirements:

  1. A)The <office:document> element shall have an office:mimetype attribute with one of these values: "application/vnd.oasis.opendocument.presentation" or "application/vnd.oasis.opendocument.presentation-template". 

  2. B)If the document is an OpenDocument package then it shall contain a file named mimetype containing one of these strings: "application/vnd.oasis.opendocument.presentation" or "application/vnd.oasis.opendocument.presentation-template". 

  3. C)The <office:body> element shall have the child element <office:presentation>. 

2.2.7OpenDocument Chart Document

An OpenDocument Chart document shall meet all requirements of a Conforming OpenDocument Document, as well as the following additional requirements:

  1. A)The <office:document> element shall have an office:mimetype attribute with one of these values: "application/vnd.oasis.opendocument.chart" or "application/vnd.oasis.opendocument.chart-template". 

  2. B)If the document is an OpenDocument package then it shall contain a file named mimetype containing one of these strings: "application/vnd.oasis.opendocument.chart" or "application/vnd.oasis.opendocument.chart-template". 

  3. C)The <office:body> element shall have the child element <office:chart>. 

2.2.8OpenDocument Image Document

An OpenDocument Image document shall meet all requirements of a Conforming OpenDocument Document, as well as the following additional requirements:

  1. A)The <office:document> element shall have an office:mimetype attribute with one of these values: "application/vnd.oasis.opendocument.image" or "application/vnd.oasis.opendocument.image-template". 

  2. B)If the document is an OpenDocument package then it shall contain a file named mimetype containing one of these strings: "application/vnd.oasis.opendocument.image" or "application/vnd.oasis.opendocument.image-template". 

  3. C)The <office:body> element shall have the child element <office:image>. 

2.2.9OpenDocument Formula Document

An OpenDocument Formula document shall meet all requirements of a Conforming OpenDocument Document, as well as the following additional requirements:

  1. A)If the document is an OpenDocument package. The OpenDocument package shall contain a file named mimetype with content being the string "application/vnd.oasis.opendocument.formula".  

  2. B)The package "content.xml" file shall have a <math:math> root element.  

2.2.10OpenDocument Database Front End Document

An OpenDocument Database Front End document shall meet all requirements of a Conforming OpenDocument Document, as well as the following additional requirements:

  1. A)The <office:document> element shall have an office:mimetype attribute with the value "application/vnd.oasis.opendocument.base".  

  2. B)If the document is an OpenDocument package then it shall contain a file named mimetype containing the string " application/vnd.oasis.opendocument.base".  

  3. C)The <office:body> element shall have the child element <office:database>.  

2.3Producers

2.3.1OpenDocument Producer

An OpenDocument producer is a program that creates at least one conforming OpenDocument document, and that meets the following additional requirements:

  1. A)It may produce conforming OpenDocument extended documents, but it shall have a mode of operation where all OpenDocument documents that are created are conforming OpenDocument documents. 

  2. B)It shall be accompanied by a document that defines all implementation-defined values used by the OpenDocument producer. 

2.3.2OpenDocument Extended Producer

An OpenDocument extended producer is a program that creates at least one conforming OpenDocument extended document, and that meets the following additional requirements:

  1. A)It shall be accompanied by a document that defines all implementation-defined values used by the OpenDocument extended producer. 

  2. B)It should be accompanied by a document that defines all foreign elements and attributes used by the OpenDocument extended producer. 

2.4Consumer

An OpenDocument consumer is a program that can parse and interpret OpenDocument documents according to the semantics defined by this specification, and that meets the following additional requirements:

  1. A)It shall be able to parse and interpret OpenDocument documents of one or more of the document types defined by this specification (see 3.3) any of which are represented in packages, but it need not interpret the semantics of all elements, attributes and attribute values. 

  2. B)It may be able to parse and interpret OpenDocument documents stored as single XML document, but it need not interpret the semantics of all elements, attributes and attribute values. 

  3. C)It shall interpret those elements and attributes it does interpret consistent with the semantics defined for the element or attribute by this specification. 

  4. D)It should be able to parse and interpret conforming OpenDocument extended documents, but it need not interpret the semantics of all elements, attributes and attribute values. 

  5. E)The XML parser used to parse the files contained in a package listed in 2.2.1, item B) or the single document listed in 2.2.1, item C) meets the following requirements: 

    1. E.1)It shall be a nonvalidating XML processor with regard to the XML 1.0 specification [XML1.0]. 

    2. E.2)It shall be and be a conforming processor with regard to the XML Namespaces specification [xml-names]. 

    3. E.3)It shall conform to the xml-id specification [XML-ID]. 

3Document Structure

3.1Document Representation

3.1.1General

OpenDocument defines two methods of document representation:

3.1.2<office:document>(Single OpenDocument XML Files)

The <office:document> element is the root element of a document in OpenDocument format which is represented as a single XML document. It contains the entire document.

The <office:document> element is a root element.

The <office:document> element is usable within the following elements: <db:component> 12.25.5 and <draw:object> 10.4.6.2.

The <office:document> element has the following attributes: grddl:transformation 19.320, office:mimetype 19.375 and office:version 19.386.

The <office:document> element has the following child elements: <office:automatic-styles> 3.15.3, <office:body> 3.3, <office:font-face-decls> 3.14, <office:master-styles> 3.15.4, <office:meta> 3.2, <office:scripts> 3.12, <office:settings> 3.10 and <office:styles> 3.15.2.

3.1.3Package OpenDocument Files

3.1.3.1General

When an OpenDocument document is represented as a package, there are four root elements, <office:document-content>, <office:document-styles>, <office:document-meta>, and, <office:document-settings>, each stored as a separate file.

A package may also contain image files, embedded objects and implementation-dependent files.

3.1.3.2<office:document-content>

The <office:document-content> root element contains document content and automatic styles used in a document. The file within the package for the <office:document-content> element is content.xml.

The <office:document-content> element is a root element.

The <office:document-content> element has the following attributes: grddl:transformation 19.320 and office:version 19.386.

The <office:document-content> element has the following child elements: <office:automatic-styles> 3.15.3, <office:body> 3.3, <office:font-face-decls> 3.14 and <office:scripts> 3.12.

3.1.3.3<office:document-styles>

The <office:document-styles> root element contains styles used in document content and automatic styles used in styles. The file within the package for the <office:document-styles> element is styles.xml.

The <office:document-styles> element is a root element.

The <office:document-styles> element has the following attributes: grddl:transformation 19.320 and office:version 19.386.

The <office:document-styles> element has the following child elements: <office:automatic-styles> 3.15.3, <office:font-face-decls> 3.14, <office:master-styles> 3.15.4 and <office:styles> 3.15.2.

3.1.3.4<office:document-meta>

The <office:document-meta> root element contains document metadata elements. The file within the package for the <office:document-meta> element is meta.xml.

The <office:document-meta> element is a root element.

The <office:document-meta> element has the following attributes: grddl:transformation 19.320 and office:version 19.386.

The <office:document-meta> element has the following child element: <office:meta> 3.2.

3.1.3.5<office:document-settings>

The <office:document-settings> root element contains implementation-dependent settings. The file within the package for the <office:document-settings> element is settings.xml.

The <office:document-settings> element is a root element.

The <office:document-settings> element has the following attributes: grddl:transformation 19.320 and office:version 19.386.

The <office:document-settings> element has the following child element: <office:settings> 3.10.

3.1.4Summary of Document Representation

The models for representing an OpenDocument file are summarized in Table 5.

Table 7 - Root element content models

Root Element

<office:meta>

<office:settings>

<office:scripts>

<office:font-face-decls>

<office:styles>

<office:automatic-styles>

<office:master-styles>

<office:body>

<office:document>

X

X

X

X

X

X

X

X

<office:document-content>

 

 

X

X

 

X

 

X

<office:document-styles>

 

 

 

X

X

X

X

 

<office:document-meta>

X

 

 

 

 

 

 

 

<office:document-settings>

 

X

 

 

 

 

 

 

3.2<office:meta>

The <office:meta> element contains metadata elements for a document that are not specified by a manifest.rdf file. 4.2.2

All the child elements of an <office:meta> element contain metadata about a document as a whole.

The <office:meta> element is usable within the following elements: <office:document> 3.1.2 and <office:document-meta> 3.1.3.4.

The <office:meta> element has no attributes.

The <office:meta> element has the following child elements: <dc:creator> 4.3.2.7, <dc:date> 4.3.2.10, <dc:description> 4.3.2.3, <dc:language> 4.3.2.15, <dc:subject> 4.3.2.4, <dc:title> 4.3.2.2, <meta:auto-reload> 4.3.2.13, <meta:creation-date> 4.3.2.9, <meta:document-statistic> 4.3.2.18, <meta:editing-cycles> 4.3.2.16, <meta:editing-duration> 4.3.2.17, <meta:generator> 4.3.2.1, <meta:hyperlink-behaviour> 4.3.2.14, <meta:initial-creator> 4.3.2.6, <meta:keyword> 4.3.2.5, <meta:print-date> 4.3.2.11, <meta:printed-by> 4.3.2.8, <meta:template> 4.3.2.12 and <meta:user-defined> 4.3.3.

3.3<office:body>

The <office:body> element contains the elements that represent the content of a document.

The <office:body> element is usable within the following elements: <office:document> 3.1.2 and <office:document-content> 3.1.3.2.

The <office:body> element has no attributes.

The <office:body> element has the following child elements: <office:chart> 3.8, <office:database> 12.1, <office:drawing> 3.5, <office:image> 3.9, <office:presentation> 3.6, <office:spreadsheet> 3.7 and <office:text> 3.4.

3.4<office:text>

The <office:text> element represents the content of a text document.

The <office:text> element is usable within the following element: <office:body> 3.3.

The <office:text> element has the following attributes: text:global 19.806 and text:use-soft-page-breaks 19.897.

The <office:text> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:forms> 13.2, <table:calculation-settings> 9.4.1, <table:consolidation> 9.7, <table:content-validations> 9.4.4, <table:database-ranges> 9.4.14, <table:data-pilot-tables> 9.6.2, <table:dde-links> 9.8, <table:label-ranges> 9.4.10, <table:named-expressions> 9.4.11, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:dde-connection-decls> 14.6.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:page-sequence> 5.2, <text:section> 5.4, <text:sequence-decls> 7.4.11, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3, <text:tracked-changes> 5.5.1, <text:user-field-decls> 7.4.7, <text:user-index> 8.7 and <text:variable-decls> 7.4.2.

3.5<office:drawing>

The <office:drawing> element represents a drawing document.

The <office:drawing> element is usable within the following element: <office:body> 3.3.

The <office:drawing> element has no attributes.

The <office:drawing> element has the following child elements: <draw:page> 10.2.4, <table:calculation-settings> 9.4.1, <table:consolidation> 9.7, <table:content-validations> 9.4.4, <table:database-ranges> 9.4.14, <table:data-pilot-tables> 9.6.2, <table:dde-links> 9.8, <table:label-ranges> 9.4.10, <table:named-expressions> 9.4.11, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:dde-connection-decls> 14.6.2, <text:sequence-decls> 7.4.11, <text:user-field-decls> 7.4.7 and <text:variable-decls> 7.4.2.

3.6<office:presentation>

The <office:presentation> element represents a presentation document.

The <office:presentation> element is usable within the following element: <office:body> 3.3.

The <office:presentation> element has no attributes.

The <office:presentation> element has the following child elements: <draw:page> 10.2.4, <presentation:date-time-decl> 10.9.3.6, <presentation:footer-decl> 10.9.3.4, <presentation:header-decl> 10.9.3.2, <presentation:settings> 10.9.3.7, <table:calculation-settings> 9.4.1, <table:consolidation> 9.7, <table:content-validations> 9.4.4, <table:database-ranges> 9.4.14, <table:data-pilot-tables> 9.6.2, <table:dde-links> 9.8, <table:label-ranges> 9.4.10, <table:named-expressions> 9.4.11, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:dde-connection-decls> 14.6.2, <text:sequence-decls> 7.4.11, <text:user-field-decls> 7.4.7 and <text:variable-decls> 7.4.2.

3.7<office:spreadsheet>

The <office:spreadsheet> element represents a spreadsheet document.

The <office:spreadsheet> element is usable within the following element: <office:body> 3.3.

The <office:spreadsheet> element has the following attributes: table:protection-key 19.697, table:protection-key-digest-algorithm 19.698 and table:structure-protected 19.725.

The <office:spreadsheet> element has the following child elements: <table:calculation-settings> 9.4.1, <table:consolidation> 9.7, <table:content-validations> 9.4.4, <table:database-ranges> 9.4.14, <table:data-pilot-tables> 9.6.2, <table:dde-links> 9.8, <table:label-ranges> 9.4.10, <table:named-expressions> 9.4.11, <table:table> 9.1.2, <table:tracked-changes> 9.9.2, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:dde-connection-decls> 14.6.2, <text:sequence-decls> 7.4.11, <text:user-field-decls> 7.4.7 and <text:variable-decls> 7.4.2.

3.8<office:chart>

The <office:chart> element represents a chart document.

The <office:chart> element is usable within the following element: <office:body> 3.3.

The <office:chart> element has no attributes.

The <office:chart> element has the following child elements: <chart:chart> 11.1, <table:calculation-settings> 9.4.1, <table:consolidation> 9.7, <table:content-validations> 9.4.4, <table:database-ranges> 9.4.14, <table:data-pilot-tables> 9.6.2, <table:dde-links> 9.8, <table:label-ranges> 9.4.10, <table:named-expressions> 9.4.11, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:dde-connection-decls> 14.6.2, <text:sequence-decls> 7.4.11, <text:user-field-decls> 7.4.7 and <text:variable-decls> 7.4.2.

3.9<office:image>

The <office:image> element represents an image document.

The <office:image> element contains a <draw:frame> element which shall contain a single <draw:image> element.

The <office:image> element is usable within the following element: <office:body> 3.3.

The <office:image> element has no attributes.

The <office:image> element has the following child element: <draw:frame> 10.4.2.

3.10<office:settings>

3.10.1General

The <office:settings> element contains one or more <config:config-item-set> elements, each of which represents a set of application settings.

The <office:settings> element is usable within the following elements: <office:document> 3.1.2 and <office:document-settings> 3.1.3.5.

The <office:settings> element has no attributes.

The <office:settings> element has the following child element: <config:config-item-set> 3.10.2.

3.10.2<config:config-item-set>

The <config:config-item-set> element is a container element for application setting elements. Setting child elements may occur in any order.

An ODF Consumer shall use application settings to alter application behavior only within the dimensions of variability permitted by this standard.

Note: See [Variability] for variability in specifications.

The <config:config-item-set> element is usable within the following elements: <config:config-item-map-entry> 3.10.5, <config:config-item-set> 3.10.2 and <office:settings> 3.10.

The <config:config-item-set> element has the following attribute: config:name 19.29.

The <config:config-item-set> element has the following child elements: <config:config-item> 3.10.3, <config:config-item-map-indexed> 3.10.4, <config:config-item-map-named> 3.10.6 and <config:config-item-set> 3.10.2.

3.10.3<config:config-item>

The <config:config-item> element contains the value of an application setting whose name is specified by its config:name attribute.

The <config:config-item> element is usable within the following elements: <config:config-item-map-entry> 3.10.5 and <config:config-item-set> 3.10.2.

The <config:config-item> element has the following attributes: config:name 19.29 and config:type 19.30.

The <config:config-item> element has no child elements.

The <config:config-item> element has character data content.

3.10.4<config:config-item-map-indexed>

The <config:config-item-map-indexed> element is a container element for ordered sequences of application settings.

The <config:config-item-map-indexed> element is usable within the following elements: <config:config-item-map-entry> 3.10.5 and <config:config-item-set> 3.10.2.

The <config:config-item-map-indexed> element has the following attribute: config:name 19.29.

The <config:config-item-map-indexed> element has the following child element: <config:config-item-map-entry> 3.10.5.

3.10.5<config:config-item-map-entry>

The <config:config-item-map-entry> element represents a single setting in a sequence of settings. The setting itself is defined by the child element of <config:config-item-map-entry>, and may be a single value, a set of settings, or a sequence of settings.

The <config:config-item-map-entry> element is usable within the following elements: <config:config-item-map-indexed> 3.10.4 and <config:config-item-map-named> 3.10.6.

The <config:config-item-map-entry> element has the following attribute: config:name 19.29.

The <config:config-item-map-entry> element has the following child elements: <config:config-item> 3.10.3, <config:config-item-map-indexed> 3.10.4, <config:config-item-map-named> 3.10.6 and <config:config-item-set> 3.10.2.

3.10.6<config:config-item-map-named>

The <config:config-item-map-named> element contains a sequence of application setting elements. Each sequence is identified by the value of its config:name attribute.

The <config:config-item-map-named> element is usable within the following elements: <config:config-item-map-entry> 3.10.5 and <config:config-item-set> 3.10.2.

The <config:config-item-map-named> element has the following attribute: config:name 19.29.

The <config:config-item-map-named> element has the following child element: <config:config-item-map-entry> 3.10.5.

3.11Cursor Position Setting

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 implementation-defined attributes.

Note: Where a text cursor position is not sufficient to recreate a document view, producers may use arbitrary document specific settings in addition to a cursor position processing instruction.

3.12<office:scripts>

The <office:scripts> element contains all the <office:script> elements for a document.

Each <office:script> element contains a script. A document may contain scripts in different scripting languages.

Note: Scripts need not use XML document models.

The <office:scripts> element may also contain <office:event-listeners> elements which contain the events assigned to the document itself. 14.4.2

The <office:scripts> element is usable within the following elements: <office:document> 3.1.2 and <office:document-content> 3.1.3.2.

The <office:scripts> element has no attributes.

The <office:scripts> element has the following child elements: <office:event-listeners> 10.3.19 and <office:script> 3.13.

3.13<office:script>

The <office:script> element contains a script.

The <office:script> element is usable within the following element: <office:scripts> 3.12.

The <office:script> element has the following attribute: script:language 19.430.

The <office:script> element has mixed content where arbitrary child elements are permitted.

Note: 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 external script code.

3.14<office:font-face-decls>

The <office:font-face-decls> element contains all the font face declarations (<style:font-face> elements) for a document.

The <office:font-face-decls> element is usable within the following elements: <office:document> 3.1.2, <office:document-content> 3.1.3.2 and <office:document-styles> 3.1.3.3.

The <office:font-face-decls> element has no attributes.

The <office:font-face-decls> element has the following child element: <style:font-face> 16.21.

3.15Styles

3.15.1General

Styles for a document are defined in container elements according to their type: common, automatic and master.

Page layouts and styles are defined by <style:page-layout> 17.2 and <style:master-page> 16.9 elements, respectively.

3.15.2<office:styles>

The <office:styles> element contains common styles used in a document. A common style is a style chosen by a user for a document or portion thereof.

The <office:styles> element is usable within the following elements: <office:document> 3.1.2 and <office:document-styles> 3.1.3.3.

The <office:styles> element has no attributes.

The <office:styles> element has the following child elements: <draw:fill-image> 16.40.6, <draw:gradient> 16.40.1, <draw:hatch> 16.40.5, <draw:marker> 16.40.8, <draw:opacity> 16.40.7, <draw:stroke-dash> 16.40.9, <number:boolean-style> 16.27.23, <number:currency-style> 16.27.7, <number:date-style> 16.27.10, <number:number-style> 16.27.2, <number:percentage-style> 16.27.9, <number:text-style> 16.27.25, <number:time-style> 16.27.18, <style:default-page-layout> 16.8, <style:default-style> 16.4, <style:presentation-page-layout> 16.41, <style:style> 16.2, <svg:linearGradient> 16.40.2, <svg:radialGradient> 16.40.3, <table:table-template> 16.18, <text:bibliography-configuration> 16.29.6, <text:linenumbering-configuration> 16.29.1, <text:list-style> 16.30, <text:notes-configuration> 16.29.3 and <text:outline-style> 16.34.

3.15.3<office:automatic-styles>

The <office:automatic-styles> element contains automatic styles used in a document.

An automatic style is one contains formatting properties that are considered to be properties of the object to which the style is assigned.

Note: Common and automatic styles behave differently in OpenDocument editing consumers. Common styles are presented to the user as a named set of formatting properties. The formatting properties of an automatic style are presented to a user as properties of the object to which the style is applied.

The <office:automatic-styles> element is usable within the following elements: <office:document> 3.1.2, <office:document-content> 3.1.3.2 and <office:document-styles> 3.1.3.3.

The <office:automatic-styles> element has no attributes.

The <office:automatic-styles> element has the following child elements: <number:boolean-style> 16.27.23, <number:currency-style> 16.27.7, <number:date-style> 16.27.10, <number:number-style> 16.27.2, <number:percentage-style> 16.27.9, <number:text-style> 16.27.25, <number:time-style> 16.27.18, <style:page-layout> 16.5, <style:style> 16.2 and <text:list-style> 16.30.

3.15.4<office:master-styles>

The <office:master-styles> element contains master styles that are used in a document. A master style contains formatting and other content that is displayed with document content when the style is used.

The <office:master-styles> element is usable within the following elements: <office:document> 3.1.2 and <office:document-styles> 3.1.3.3.

The <office:master-styles> element has no attributes.

The <office:master-styles> element has the following child elements: <draw:layer-set> 10.2.2, <style:handout-master> 10.2.1 and <style:master-page> 16.9.

3.16Document Signatures

 

An OpenDocument document that is stored in a package may have one or more digital signatures applied to the package.

Document signatures shall be stored in a file called META-INF/documentsignatures.xml in the package as described in section 2.4 of the OpenDocument specification part 3. Document signatures shall contain a <ds:Reference> element for each file within the package, with the exception that <ds:Reference> elements for the META-INF/documentsignatures.xml file containing the signature, and any files contained in the package whose relative path starts with "external-data/" should be omitted.

Signatures other than document signatures are implementation-defined.

 

3.17Foreign Elements and Attributes

OpenDocument extended documents may contain elements and attributes not defined by the OpenDocument schema. Elements and attributes not defined by the OpenDocument schema are called foreign elements and attributes. Foreign elements and attributes shall not be associated with a namespace that is listed in tables 1, 2 or 3 of section 1.5.

If a foreign element:

then the element's content may be interpreted by conforming OpenDocument consumers, and the document itself shall be valid against the OpenDocument schema as if the foreign element's start- and end-tags or its empty-element-tag are removed.

For a foreign element that occurs at another location, conforming consumers should not interpret the element's content, but may preserve its content.

Foreign elements may have an office:process-content attribute 19.377 attached which controls the processing of the element content.

Note: In OpenDocument 1.0 and 1.1, the content of foreign elements should be processed unless there was an office:process-content attribute with value false.

Conforming extended producers should not use foreign elements and attributes for features defined in the OpenDocument specification.

A conforming consumer that encounters an OpenDocument defined attribute that has a value that is not defined by OpenDocument, then it should:

  1. 1)If the attribute has a specified default value, use its default value, or  

  2. 2)If the attribute does not have a specified default value, ignore the attribute.  

3.18White Space Processing and EOL Handling

ODF processing of whitespace characters is in conformance with the provisions of [XML1.0].

In addition, OpenDocument Consumers shall ignore all element children ([RNG] section 5, Data Model) of elements defined in this specification that are strings consisting entirely of whitespace characters and which do not satisfy a pattern of the OpenDocument schema definition for the element.

Additional treatment of occurrences of whitespace characters depends on the provisions for specific elements, attributes, and their datatypes in this specification.

Note: There are special OpenDocument rules for the reduction of whitespace sequences to single space characters in the text obtained from <text:p>, <text:h> and their element children. 6.1.2

3.19MIME Types and File Name Extensions

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 3.1.3.

Office documents that conform to this specification but are not contained in a package should use the MIME type text/xml.

Only MIME types and extensions that have been registered according to [RFC4288] should used for office documents that conform to this specification. The MIME types and extensions listed in appendix C should be used where appropriate.

4Metadata

4.1General

Metadata is general information about a document or its content.

OpenDocument supports five types of metadata:

  1. 1)RDF metadata describing documents or the content of identifiable OpenDocument elements. 4.2.2 

  2. 2)Text content being used as RDF metadata. 4.2.1  

  3. 3)Pre-defined metadata (meta.xml). 4.3.2 

  4. 4)User-defined metadata (using the <meta:user-defined> element). 4.3.3 

  5. 5)Custom metadata (custom XML elements within meta.xml). 4.3.1 

Pre-defined and user-defined metadata are both stored in the metadata <office:meta> element. The elements representing this metadata may be omitted or occur multiple times. The updating of multiple instances of the same metadata elements is implementation-dependent.

4.2RDF Metadata

4.2.1In Content Metadata (RDFa)

Metadata in OpenDocument documents may be expressed using the model of the W3C Resource Description Framework [RDF-CONCEPTS].

In addition to the mechanism defined in Part 3 of this specification RDF metadata can be attached to elements in the "content.xml" and "styles.xml" file. Elements supporting this type of metadata have the following attributes: xhtml:about 19.905, xhtml:property 19.908, xhtml:content 19.906, and xhtml:datatype 19.907. When metadata is added using these attributes, it is referred to as in content metadata. If "content.xml" and "styles.xml" files contain in content metadata they shall be listed in the package's "manifest.rdf" file.

4.2.2manifest.rdf

4.2.2.1General

The OpenDocument document contains a metadata manifest, as defined in Part 3 of this specification. The [OWL] Metadata Manifest Description ontology defined in Part 3 is extended with additional properties and classes in appendix B. The following OWL classes and properties are defined.

4.2.2.2odf:ContentFile

An instance of the odf:ContentFile class represents a content.xml file.

The odf:ContentFile class is a subclass of pkg:File.

4.2.2.3odf:StylesFile

An instance of the odf:StylesFile class represents a styles.xml file.

The odf:StylesFile class is a subclass of pkg:File

4.2.2.4odf:Element

An instance of the odf:Element class represents an OpenDocument XML element in a content.xml or styles.xml file. It is a subclass of the pkg:Element class, which represents any XML element in the OpenDocument package.

Note: One or more rdf:type properties specify the metadata type of an odf:Element.

Every XML element that is defined by this specification and has an attribute of type ID may be described using an OWL class. The IRI of an OWL class for an element is the concatenation of the element's QName namespace IRI and its local name part. These classes are subclasses of odf:Element.

The following properties are defined for the subclass describing a <text:meta-field> element (urn:oasis:names:tc:opendocument:xmlns:text:1.0meta-field) : odf:prefix 4.2.2.5 and odf:suffix 4.2.2.6.

4.2.2.5odf:prefix

The odf:prefix property defines the prefix content of a <text:meta-field> field 7.5.19.

This property can be used with the following class: urn:oasis:names:tc:opendocument:xmlns:text:1.0meta-field 4.2.2.4.

4.2.2.6odf:suffix

The odf:suffix property defines the suffix content of a <text:meta-field> field 7.5.19.

This property can be used with the following class: urn:oasis:names:tc:opendocument:xmlns:text:1.0meta-field 4.2.2.4.

4.3Non-RDF Metadata

4.3.1General

Non-RDF metadata in OpenDocument is composed of pre-defined metadata elements, user defined metadata elements, and custom metadata elements.

The pre-defined metadata elements have defined semantics. They should be processed by consumers and updated by producers. They can be referenced from within the document using text fields.

The pre-defined 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 are in the http://purl.org/dc/elements/1.1 namespace.   “

User-defined metadata specifies a triplet of name, type, and value. Consumers can present these values to the user.

Custom metadata elements are arbitrary elements inside an <office:meta> element. The semantics of custom metadata elements is implementation-defined.

Custom metadata elements shall only occur in OpenDocument extended documents. The use of custom metadata is deprecated in favor of RDF/XML based metadata.

Note: Consumers need not process custom metadata other than to preserve it when editing a document.

4.3.2Pre-Defined Metadata Elements

4.3.2.1<meta:generator>

The <meta:generator> element contains a string that identifies the OpenDocument producer that was used to create or last modify the document. This string should match the definition for user-agents in the HTTP protocol as specified in section 14.43 of [RFC2616]. The generator string should allow OpenDocument consumers to distinguish between all released versions of a producer.

Note: Release versions of a producer could be distinguished based on build ids or patch level information.

If an OpenDocument producer that creates a document cannot provide an identifier string, the producer shall not export this element. If a producer stores a modified document created by another producer cannot provide a unique identifier, it shall not export the original identifier belonging to the producer that created the document.

The <meta:generator> element is usable within the following element: <office:meta> 3.2.

The <meta:generator> element has no attributes.

The <meta:generator> element has no child elements.

The <meta:generator> element has content of data type string 18.2.

4.3.2.2<dc:title>

The <dc:title> element specifies the title of a document.

The <dc:title> element is usable within the following element: <office:meta> 3.2.

The <dc:title> element has no attributes.

The <dc:title> element has no child elements.

The <dc:title> element has content of data type string 18.2.

4.3.2.3<dc:description>

The <dc:description> element contains a description of a document.

The <dc:description> element is usable within the following element: <office:meta> 3.2.

The <dc:description> element has no attributes.

The <dc:description> element has no child elements.

The <dc:description> element has content of data type string 18.2.

4.3.2.4<dc:subject>

The <dc:subject> element specifies the subject of a document.

The <dc:subject> element is usable within the following element: <office:meta> 3.2.

The <dc:subject> element has no attributes.

The <dc:subject> element has no child elements.

The <dc:subject> element has content of data type string 18.2.

4.3.2.5<meta:keyword>

The <meta:keyword> element contains a keyword pertaining to a document.

The <meta:keyword> element is usable within the following element: <office:meta> 3.2.

The <meta:keyword> element has no attributes.

The <meta:keyword> element has no child elements.

The <meta:keyword> element has content of data type string 18.2.

4.3.2.6<meta:initial-creator>

The <meta:initial-creator> element specifies the name of the initial creator of a document.

The <meta:initial-creator> element is usable within the following element: <office:meta> 3.2.

The <meta:initial-creator> element has no attributes.

The <meta:initial-creator> element has no child elements.

The <meta:initial-creator> element has content of data type string 18.2.

4.3.2.7<dc:creator>

The <dc:creator> element specifies the name of the person who last modified a document (<office:meta>), who created an annotation (<office:annotation>), who authored a change (<office:change-info>).

The <dc:creator> element is usable within the following elements: <office:annotation> 14.1, <office:change-info> 5.5.6 and <office:meta> 3.2.

The <dc:creator> element has no attributes.

The <dc:creator> element has no child elements.

The <dc:creator> element has content of data type string 18.2.

4.3.2.8<meta:printed-by>

The <meta:printed-by> element specifies the name of the last person who printed a document.

The <meta:printed-by> element is usable within the following element: <office:meta> 3.2.

The <meta:printed-by> element has no attributes.

The <meta:printed-by> element has no child elements.

The <meta:printed-by> element has content of data type string 18.2.

4.3.2.9<meta:creation-date>

The <meta:creation-date> element specifies the date and time when a document was created.

The <meta:creation-date> element is usable within the following element: <office:meta> 3.2.

The <meta:creation-date> element has no attributes.

The <meta:creation-date> element has no child elements.

The <meta:creation-date> element has content of data type dateTime 18.2.

4.3.2.10<dc:date>

The <dc:date> element specifies the date and time when the document was last modified (<office:meta>), when an annotation was created (<office:annotation>), when a change was made (<office:change-info>).

The <dc:date> element is usable within the following elements: <office:annotation> 14.1, <office:change-info> 5.5.6 and <office:meta> 3.2.

The <dc:date> element has no attributes.

The <dc:date> element has no child elements.

The <dc:date> element has content of data type dateTime 18.2.

4.3.2.11<meta:print-date>

The <meta:print-date> element specifies the date and time when a document was last printed.

The <meta:print-date> element is usable within the following element: <office:meta> 3.2.

The <meta:print-date> element has no attributes.

The <meta:print-date> element has no child elements.

The <meta:print-date> element has content of data type dateTime 18.2.

4.3.2.12<meta:template>

The <meta:template> element specifies a IRI for the document template that was used to create a document. The IRI is specified as an Xlink. See [XLink].

The <meta:template> element is usable within the following element: <office:meta> 3.2.

The <meta:template> element has the following attributes: meta:date 19.323, xlink:actuate 19.909, xlink:href 19.910.24, xlink:title 19.912 and xlink:type 19.913.

The <meta:template> element has no child elements.

4.3.2.13<meta:auto-reload>

The <meta:auto-reload> element specifies whether a document is reloaded or replaced by another document after a specified period of time has elapsed.

The <meta:auto-reload> element is usable within the following element: <office:meta> 3.2.

The <meta:auto-reload> element has the following attributes: meta:delay 19.324, xlink:actuate 19.909, xlink:href 19.910.23, xlink:show 19.911 and xlink:type 19.913.

The <meta:auto-reload> element has no child elements.

4.3.2.14<meta:hyperlink-behaviour>

The <meta:hyperlink-behaviour> element specifies the default behavior for hyperlinks in a document.

The <meta:hyperlink-behaviour> element is usable within the following element: <office:meta> 3.2.

The <meta:hyperlink-behaviour> element has the following attributes: office:target-frame-name 19.381 and xlink:show 19.911.

The <meta:hyperlink-behaviour> element has no child elements.

4.3.2.15<dc:language>

The <dc:language> element specifies the default language of a document.

The <dc:language> element is usable within the following element: <office:meta> 3.2.

The <dc:language> element has no attributes.

The <dc:language> element has no child elements.

The <dc:language> element has content of data type language 18.3.16.

4.3.2.16<meta:editing-cycles>

The <meta:editing-cycles> element specifies the number of times a document has been edited. When a document is created, this value is set to 1. Each time a document is saved, the editing-cycles number is incremented by 1.

The <meta:editing-cycles> element is usable within the following element: <office:meta> 3.2.

The <meta:editing-cycles> element has no attributes.

The <meta:editing-cycles> element has no child elements.

The <meta:editing-cycles> element has content of data type nonNegativeInteger 18.2.

4.3.2.17<meta:editing-duration>

The <meta:editing-duration> element specifies the total time spent editing a document.

The <meta:editing-duration> element is usable within the following element: <office:meta> 3.2.

The <meta:editing-duration> element has no attributes.

The <meta:editing-duration> element has no child elements.

The <meta:editing-duration> element has content of data type duration 18.2.

4.3.2.18<meta:document-statistic>

The <meta:document-statistic> element represents statistics about a document.

The <meta:document-statistic> element is usable within the following element: <office:meta> 3.2.

The <meta:document-statistic> element has the following attributes: meta:cell-count 19.321, meta:character-count 19.322, meta:draw-count 19.325, meta:frame-count 19.326, meta:image-count 19.327, meta:non-whitespace-character-count 19.329, meta:object-count 19.330, meta:ole-object-count 19.331, meta:page-count 19.332, meta:paragraph-count 19.333, meta:row-count 19.334, meta:sentence-count 19.335, meta:syllable-count 19.336, meta:table-count 19.337 and meta:word-count 19.339.

The <meta:document-statistic> element has no child elements.

4.3.3<meta:user-defined>

The <meta:user-defined> element specifies any additional user-defined metadata for a document.

The <meta:user-defined> element is usable within the following element: <office:meta> 3.2.

The <meta:user-defined> element has the following attributes: meta:name 19.328, meta:value-type 19.338.

The <meta:user-defined> element has no child elements.

The <meta:user-defined> element has character data content, or depending on the value of the meta:value-type attribute content of type double 18.2, date 18.2, dateTime 18.2, duration 18.2, boolean 18.3.3 or string 18.2.

5Text Content

5.1Headings, Paragraphs and Basic Text Structure

5.1.1General

The <text:h> and <text:p> elements represent headings and paragraphs, respectively.

Headings and paragraphs are collectively referred to as paragraph elements.

5.1.2<text:h>

The <text:h> element represents a heading in a document. Headings define the division structure for a document. A chapter or section begins with a heading and extends to the next heading at the same or higher level.

The <text:h> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:list-header> 5.3.3, <text:list-item> 5.3.4, <text:note-body> 6.3.4, <text:numbered-paragraph> 5.3.6 and <text:section> 5.4.

The <text:h> element has the following attributes: text:class-names 19.770.2, text:cond-style-name 19.776, text:id 19.809.6, text:is-list-header 19.816, text:outline-level 19.844.4, text:restart-numbering 19.857, text:start-value 19.868.2, text:style-name 19.874.7, xhtml:about 19.905, xhtml:content 19.906, xhtml:datatype 19.907, xhtml:property 19.908 and xml:id 19.914.

The <text:h> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <office:annotation-end> 14.2, <presentation:date-time> 10.9.3.5, <presentation:footer> 10.9.3.3, <presentation:header> 10.9.3.1, <text:a> 6.1.8, <text:alphabetical-index-mark> 8.1.10, <text:alphabetical-index-mark-end> 8.1.9, <text:alphabetical-index-mark-start> 8.1.8, <text:author-initials> 7.3.7.2, <text:author-name> 7.3.7.1, <text:bibliography-mark> 8.1.11, <text:bookmark> 6.2.1.2, <text:bookmark-end> 6.2.1.4, <text:bookmark-ref> 7.7.6, <text:bookmark-start> 6.2.1.3, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:chapter> 7.3.8, <text:character-count> 7.5.18.5, <text:conditional-text> 7.7.3, <text:creation-date> 7.5.3, <text:creation-time> 7.5.4, <text:creator> 7.5.17, <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6, <text:database-row-select> 7.6.5, <text:date> 7.3.2, <text:dde-connection> 7.7.12, <text:description> 7.5.5, <text:editing-cycles> 7.5.13, <text:editing-duration> 7.5.14, <text:execute-macro> 7.7.10, <text:expression> 7.4.14, <text:file-name> 7.3.9, <text:hidden-paragraph> 7.7.11, <text:hidden-text> 7.7.4, <text:image-count> 7.5.18.7, <text:initial-creator> 7.5.2, <text:keywords> 7.5.12, <text:line-break> 6.1.5, <text:measure> 7.7.13, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:modification-date> 7.5.16, <text:modification-time> 7.5.15, <text:note> 6.3.2, <text:note-ref> 7.7.7, <text:number> 6.1.10, <text:object-count> 7.5.18.8, <text:page-continuation> 7.3.5, <text:page-count> 7.5.18.2, <text:page-number> 7.3.4, <text:page-variable-get> 7.7.1.3, <text:page-variable-set> 7.7.1.2, <text:paragraph-count> 7.5.18.3, <text:placeholder> 7.7.2, <text:print-date> 7.5.8, <text:printed-by> 7.5.9, <text:print-time> 7.5.7, <text:reference-mark> 6.2.2.2, <text:reference-mark-end> 6.2.2.4, <text:reference-mark-start> 6.2.2.3, <text:reference-ref> 7.7.5, <text:ruby> 6.4, <text:s> 6.1.3, <text:script> 7.7.9, <text:sender-city> 7.3.6.13, <text:sender-company> 7.3.6.10, <text:sender-country> 7.3.6.15, <text:sender-email> 7.3.6.7, <text:sender-fax> 7.3.6.9, <text:sender-firstname> 7.3.6.2, <text:sender-initials> 7.3.6.4, <text:sender-lastname> 7.3.6.3, <text:sender-phone-private> 7.3.6.8, <text:sender-phone-work> 7.3.6.11, <text:sender-position> 7.3.6.6, <text:sender-postal-code> 7.3.6.14, <text:sender-state-or-province> 7.3.6.16, <text:sender-street> 7.3.6.12, <text:sender-title> 7.3.6.5, <text:sequence> 7.4.13, <text:sequence-ref> 7.7.8, <text:sheet-name> 7.3.11, <text:soft-page-break> 5.6, <text:span> 6.1.7, <text:subject> 7.5.11, <text:tab> 6.1.4, <text:table-count> 7.5.18.6, <text:table-formula> 7.7.14, <text:template-name> 7.3.10, <text:text-input> 7.4.15, <text:time> 7.3.3, <text:title> 7.5.10, <text:toc-mark> 8.1.4, <text:toc-mark-end> 8.1.3, <text:toc-mark-start> 8.1.2, <text:user-defined> 7.5.6, <text:user-field-get> 7.4.9, <text:user-field-input> 7.4.10, <text:user-index-mark> 8.1.7, <text:user-index-mark-end> 8.1.6, <text:user-index-mark-start> 8.1.5, <text:variable-get> 7.4.5, <text:variable-input> 7.4.6, <text:variable-set> 7.4.4 and <text:word-count> 7.5.18.4.

The <text:h> element has mixed content.

5.1.3<text:p>

The <text:p> element represents a paragraph, which is the basic unit of text in an OpenDocument file.

The <text:p> element is usable within the following elements: <chart:data-label> 11.14, <chart:equation> 11.18, <chart:footer> 11.2.3, <chart:label-separator> 17.24, <chart:legend> 11.3, <chart:subtitle> 11.2.2, <chart:title> 11.2.1, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:image> 10.4.4, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <draw:text-box> 10.4.3, <form:textarea> 13.5.3, <office:annotation> 14.1, <office:change-info> 5.5.6, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <style:region-center> 16.15, <style:region-left> 16.14, <style:region-right> 16.16, <table:change-track-table-cell> 9.9.16, <table:covered-table-cell> 9.1.5, <table:error-message> 9.4.7, <table:help-message> 9.4.6, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:list-header> 5.3.3, <text:list-item> 5.3.4, <text:note-body> 6.3.4, <text:numbered-paragraph> 5.3.6 and <text:section> 5.4.

The <text:p> element has the following attributes: text:class-names 19.770.3, text:cond-style-name 19.776, text:id 19.809.8, text:style-name 19.874.29, xhtml:about 19.905, xhtml:content 19.906, xhtml:datatype 19.907, xhtml:property 19.908 and xml:id 19.914.

The <text:p> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <office:annotation-end> 14.2, <presentation:date-time> 10.9.3.5, <presentation:footer> 10.9.3.3, <presentation:header> 10.9.3.1, <text:a> 6.1.8, <text:alphabetical-index-mark> 8.1.10, <text:alphabetical-index-mark-end> 8.1.9, <text:alphabetical-index-mark-start> 8.1.8, <text:author-initials> 7.3.7.2, <text:author-name> 7.3.7.1, <text:bibliography-mark> 8.1.11, <text:bookmark> 6.2.1.2, <text:bookmark-end> 6.2.1.4, <text:bookmark-ref> 7.7.6, <text:bookmark-start> 6.2.1.3, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:chapter> 7.3.8, <text:character-count> 7.5.18.5, <text:conditional-text> 7.7.3, <text:creation-date> 7.5.3, <text:creation-time> 7.5.4, <text:creator> 7.5.17, <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6, <text:database-row-select> 7.6.5, <text:date> 7.3.2, <text:dde-connection> 7.7.12, <text:description> 7.5.5, <text:editing-cycles> 7.5.13, <text:editing-duration> 7.5.14, <text:execute-macro> 7.7.10, <text:expression> 7.4.14, <text:file-name> 7.3.9, <text:hidden-paragraph> 7.7.11, <text:hidden-text> 7.7.4, <text:image-count> 7.5.18.7, <text:initial-creator> 7.5.2, <text:keywords> 7.5.12, <text:line-break> 6.1.5, <text:measure> 7.7.13, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:modification-date> 7.5.16, <text:modification-time> 7.5.15, <text:note> 6.3.2, <text:note-ref> 7.7.7, <text:object-count> 7.5.18.8, <text:page-continuation> 7.3.5, <text:page-count> 7.5.18.2, <text:page-number> 7.3.4, <text:page-variable-get> 7.7.1.3, <text:page-variable-set> 7.7.1.2, <text:paragraph-count> 7.5.18.3, <text:placeholder> 7.7.2, <text:print-date> 7.5.8, <text:printed-by> 7.5.9, <text:print-time> 7.5.7, <text:reference-mark> 6.2.2.2, <text:reference-mark-end> 6.2.2.4, <text:reference-mark-start> 6.2.2.3, <text:reference-ref> 7.7.5, <text:ruby> 6.4, <text:s> 6.1.3, <text:script> 7.7.9, <text:sender-city> 7.3.6.13, <text:sender-company> 7.3.6.10, <text:sender-country> 7.3.6.15, <text:sender-email> 7.3.6.7, <text:sender-fax> 7.3.6.9, <text:sender-firstname> 7.3.6.2, <text:sender-initials> 7.3.6.4, <text:sender-lastname> 7.3.6.3, <text:sender-phone-private> 7.3.6.8, <text:sender-phone-work> 7.3.6.11, <text:sender-position> 7.3.6.6, <text:sender-postal-code> 7.3.6.14, <text:sender-state-or-province> 7.3.6.16, <text:sender-street> 7.3.6.12, <text:sender-title> 7.3.6.5, <text:sequence> 7.4.13, <text:sequence-ref> 7.7.8, <text:sheet-name> 7.3.11, <text:soft-page-break> 5.6, <text:span> 6.1.7, <text:subject> 7.5.11, <text:tab> 6.1.4, <text:table-count> 7.5.18.6, <text:table-formula> 7.7.14, <text:template-name> 7.3.10, <text:text-input> 7.4.15, <text:time> 7.3.3, <text:title> 7.5.10, <text:toc-mark> 8.1.4, <text:toc-mark-end> 8.1.3, <text:toc-mark-start> 8.1.2, <text:user-defined> 7.5.6, <text:user-field-get> 7.4.9, <text:user-field-input> 7.4.10, <text:user-index-mark> 8.1.7, <text:user-index-mark-end> 8.1.6, <text:user-index-mark-start> 8.1.5, <text:variable-get> 7.4.5, <text:variable-input> 7.4.6, <text:variable-set> 7.4.4 and <text:word-count> 7.5.18.4.

The <text:p> element has mixed content.

5.2<text:page-sequence>

5.2.1General

The <text:page-sequence> element contains at least one <text:page> element. If there is more than one <text:page> element, the text:master-page-name attribute of the first <text:page> element specifies the default master style for a document.

The <text:page-sequence> element is usable within the following element: <office:text> 3.4.

The <text:page-sequence> element has no attributes.

The <text:page-sequence> element has the following child element: <text:page> 5.2.2.

5.2.2<text:page>

The <text:page> element represents a page in a <text:page-sequence> element.

The <text:page> element is usable within the following element: <text:page-sequence> 5.2.

The <text:page> element has the following attribute: text:master-page-name 19.833.

The <text:page> element has no child elements.

5.3Lists

5.3.1<text:list>

The <text:list> element represents a list. It may contain a <text:list-header> element, followed by any number of <text:list-item> elements.

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 in order to merge lists into a single, discontinuous list. Whether list numbering is displayed or not depends on the list style being used.

Every list has a list level, which is determined by the nesting of the <text:list> element that represents that list. If a list is not contained in another list, its list level is 1. If a list is contained within another list, the list level of the contained list is the list level of the list in which it is contained incremented by one. If a list is contained in a table cell or text box, its list level returns to 1, even if the table or text box is nested in another list.

Every list with a list level of 1 defines a list and the counter domain for its list items and any sub list of that list. Each sub list starts a counter for its list items and any sub list it may contain.

Every list, including sub lists, may have a list style which is applied to its list items and sub lists. A list style specified for a sub list overrides the list style specified for the list in which the sub list is contained.

The <text:list> element is usable within the following elements: <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:image> 10.4.4, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <draw:text-box> 10.4.3, <office:annotation> 14.1, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:list-header> 5.3.3, <text:list-item> 5.3.4, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:list> element has the following attributes: text:continue-list 19.780, text:continue-numbering 19.781, text:style-name 19.874.22 and xml:id 19.914.

The <text:list> element has the following child elements: <text:list-header> 5.3.3 and <text:list-item> 5.3.4.

5.3.2Default List Style

If a list does not have a style:name attribute and therefore no list style is specified, one of the following actions is taken:

To determine which formatting properties are applied to a list, the list level and its style name are taken into account. 16.30.

5.3.3<text:list-header>

The <text:list-header> element represents a list header and is a type of list item. It contains one or more paragraphs that are displayed before a list. The paragraphs are formatted as list items but they do not have a preceding number or bullet.

The <text:list-header> element is usable within the following element: <text:list> 5.3.1.

The <text:list-header> element has the following attribute: xml:id 19.914.

The <text:list-header> element has the following child elements: <text:h> 5.1.2, <text:list> 5.3.1, <text:number> 6.1.10, <text:p> 5.1.3 and <text:soft-page-break> 5.6.

5.3.4<text:list-item>

The <text:list-item> element represents an item in a list.

The <text:list-item> element is usable within the following element: <text:list> 5.3.1.

The <text:list-item> element has the following attributes: text:start-value 19.868.3, text:style-override 19.875 and xml:id 19.914.

The <text:list-item> element has the following child elements: <text:h> 5.1.2, <text:list> 5.3.1, <text:number> 6.1.10, <text:p> 5.1.3 and <text:soft-page-break> 5.6.

5.3.5List Item Style Rules

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 and does not contain any text, no bullet or number is displayed.

The list style which is applied to a list need not contain a list level style for the list level the list item specifies. The following rules are applied to determine the list level style in this case

5.3.6<text:numbered-paragraph>

The <text:numbered-paragraph> element numbers an individual paragraph, as if it was part of a list at a specified level.

Note: Numbered paragraphs form an equivalent, alternative way of specifying lists. A list in <text:list> representation can be converted into a list in <text:numbered-paragraph> representation and vice versa.

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.

If a list style is not specified for a numbered paragraph, the list style of the previous numbered paragraph in the same sublist is used. If this paragraph is the first in the sublist, the list style of the previous paragraph in the higher list level is used. If there is no specified list style, the default list style is applied. 5.3.2

If a list level style is missing in the applied list style of a numbered paragraph, the same rules are applied to determine this list level style as for list items.

The text of a formatted number can be included in a <text:number> element.

Note: This text can be used by consumers that do not support numbering.

The <text:numbered-paragraph> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:numbered-paragraph> element has the following attributes: text:continue-numbering 19.781, text:level 19.828, text:list-id 19.829, text:start-value 19.868.6, text:style-name 19.874.25 and xml:id 19.914.

The <text:numbered-paragraph> element has the following child elements: <text:h> 5.1.2, <text:number> 6.1.10 and <text:p> 5.1.3.

5.3.7Numbered Paragraph Style Rules

If a list style is not specified for a numbered paragraph, the list style of the previous numbered paragraph in the same list is used. If this paragraph is the first in the list, the list style of the previous numbered paragraph in a higher list level is used. If there is no specified style available, the default style is applied. 5.3.2

If a list level style is missing in the applied list style of a numbered paragraph, the rules for styles on list items are applied. 5.3.5

5.4<text:section>

5.4.1General

The <text:section> element represents a named region of content in a document.

Sections specify formatting properties for a region of text or  text that is automatically acquired from an external data source or document, or another text section.

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:

The <text:section-source> or <office:dde-source> elements occur only in the alternative and then as the first child element of a <text:section> element.

A section that links to external content should contain a full representation of the external content that appears in the section.

Linked external content may have an arbitrary file format. Consumers may process links to external content *and the external content itself to update the content that appears in a section.

The <text:section> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:section> element has the following attributes: text:condition 19.777.7, text:display 19.796.6, text:name 19.835.14, text:protected 19.849, text:protection-key 19.850, text:protection-key-digest-algorithm 19.851, text:style-name 19.874.32 and xml:id 19.914.

The <text:section> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:dde-source> 14.6.5, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:section-source> 5.4.2, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

5.4.2<text:section-source>

The <text:section-source> element indicates that a section is a linked section.

The <text:section-source> element is usable within the following element: <text:section> 5.4.

The <text:section-source> element has the following attributes: text:filter-name 19.802, text:section-name 19.861, xlink:href 19.910.37, xlink:show 19.911 and xlink:type 19.913.

The <text:section-source> element has no child elements.

5.5Change Tracking

5.5.1<text:tracked-changes>

The <text:tracked-changes> element acts as a container for <text:changed-region> elements that represent changes in a certain scope of an OpenDocument document. This scope is the element in which the <text:tracked-changes> element occurs. Changes in this scope shall be tracked by <text:changed-region> elements contained in the <text:tracked-changes> element in this scope.

If a <text:tracked-changes> element is absent, there are no tracked changes in the corresponding scope. In this case, all change mark elements (5.5.7) in this scope shall be ignored.

The <text:tracked-changes> element is usable within the following elements: <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10 and <style:header-left> 16.12.

The <text:tracked-changes> element has the following attribute: text:track-changes 19.883.

The <text:tracked-changes> element has the following child element: <text:changed-region> 5.5.2.

5.5.2<text:changed-region>

Each <text:changed-region> element contains a single element, one of <text:insertion>, <text:deletion>, or <text:format-change> that corresponds to a change being tracked within the scope of the <text:tracked-changes> element that contains the <text:changed-region> instance.

The xml:id attribute of the <text:changed-region> is referenced from the <text:change>, <text:change-start> and <text:change-end> elements that identify where the change applies to markup in the scope of the <text:tracked-changes> element.

A <text:changed-region> can be referenced by more than one change, but the corresponding referencing change mark elements shall be of the same change type - insertion, format change or deletion.

The <text:changed-region> element is usable within the following element: <text:tracked-changes> 5.5.1.

The <text:changed-region> element has the following attributes: text:id 19.809.5 and xml:id 19.914.

The <text:changed-region> element has the following child elements: <text:deletion> 5.5.4, <text:format-change> 5.5.5 and <text:insertion> 5.5.3.

5.5.3<text:insertion>

The <text:insertion> element contains the information that identifies the person responsible for a change and the date of that change. This information may also contain one or more <text:p> elements which contains a comment on the insertion.

The <text:insertion> element's parent <text:changed-region> element has an xml:id or text:id attribute, the value of which binds that parent element to the text:change-id attribute on the <text:change-start> and <text:change-end> elements.

The <text:insertion> element is usable within the following element: <text:changed-region> 5.5.2.

The <text:insertion> element has no attributes.

The <text:insertion> element has the following child element: <office:change-info> 5.5.6.

5.5.4<text:deletion>

The <text:deletion> element contains information that identifies the person responsible for a deletion and the date of that deletion. This information may also contain one or more <text:p> elements which contains a comment on the deletion. The <text:deletion> element may also contain content that was deleted while change tracking was enabled. The position where the text was deleted is marked by a <text:change> element.

Deleted text is contained in a paragraph element. To reconstruct the original text, the paragraph containing the deleted text is merged with its surrounding paragraph or heading element.

To reconstruct the text before a deletion took place:

The <text:deletion> element is usable within the following element: <text:changed-region> 5.5.2.

The <text:deletion> element has no attributes.

The <text:deletion> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:change-info> 5.5.6, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

5.5.5<text:format-change>

The <text:format-change> element represents any change in formatting attributes. The region where the change took place is marked by <text:change-start>, <text:change-end> or <text:change> elements.

Note: This element does not contain formatting changes that have taken place.

The <text:format-change> element is usable within the following element: <text:changed-region> 5.5.2.

The <text:format-change> element has no attributes.

The <text:format-change> element has the following child element: <office:change-info> 5.5.6.

5.5.6<office:change-info>

The <office:change-info> element represents who made a change and when. It may also contain a comment (one or more <text:p> elements) on the change.

The <office:change-info> element is usable within the following elements: <table:cell-content-change> 9.9.17, <table:deletion> 9.9.9, <table:insertion> 9.9.3, <table:movement> 9.9.13, <text:deletion> 5.5.4, <text:format-change> 5.5.5 and <text:insertion> 5.5.3.

The <office:change-info> element has no attributes.

The <office:change-info> element has the following child elements: <dc:creator> 4.3.2.7, <dc:date> 4.3.2.10 and <text:p> 5.1.3.

5.5.7Change Marks

5.5.7.1General

The change mark elements mark start, end and positions in a text where a change has occurred.

These elements use the text:change-id attribute to link to <text:changed-region> elements that contain the change information.

5.5.7.2<text:change-start>

 The <text:change-start> element marks the start of a region with content where text has been inserted or the format has been changed.

The <text:change-start> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <text:change-start> element has the following attribute: text:change-id 19.766.

The <text:change-start> element has no child elements.

5.5.7.3<text:change-end>

The <text:change-end> element marks the end of a region with content where text has been inserted or the format has been changed.

The <text:change-end> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <text:change-end> element has the following attribute: text:change-id 19.766.

The <text:change-end> element has no child elements.

5.5.7.4<text:change>

The <text:change> element marks a position in an empty region where text has been deleted.

The <text:change> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <text:change> element has the following attribute: text:change-id 19.766.

The <text:change> element has no child elements.

5.6<text:soft-page-break>

The <text:soft-page-break> element represents a soft page break within or between paragraph elements.

As a child element of a <table:table> element it represents a soft page break between two table rows. It may appear in front of a <table:table-row> element.

The <text:soft-page-break> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <table:covered-table-cell> 9.1.5, <table:table> 9.1.2, <table:table-cell> 9.1.4, <table:table-header-rows> 9.1.7, <table:table-row-group> 9.1.9, <table:table-rows> 9.1.8, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:list-header> 5.3.3, <text:list-item> 5.3.4, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <text:soft-page-break> element has no attributes.

The <text:soft-page-break> element has no child elements.

5.7Document Declarations

The following declaration elements appear before the main content element of a document:

6Paragraph Elements Content

6.1Basic Text Content

6.1.1General

The paragraph elements <text:p> and <text:h> and their descendant elements contain the text content of any document. The character content of a paragraph consists of the character data of the paragraph element and the character data of its descendant elements concatenated in document order, with the following exceptions:

 Character data contained in the following elements or their descendant elements are not included in the character content of a paragraph:

Note: This should significantly ease transformations into other formats, since transformations need not interpret most of the descendant elements of a paragraph element to obtain the character content of a paragraph.

The phrase "document order" when used with reference to an OpenDocument document instance is defined by Section 5.0 Data Model [XPath].

6.1.2White Space Characters

Consumers shall collapse white space characters that occur in

Collapsing white space characters is defined by the following algorithm:

  1. 1)The following [UNICODE] characters are replaced by a “ “ (U+0020, SPACE) character: 

  2. 2)The character data of the paragraph element and of all descendant elements for which the OpenDocument schema permits the inclusion of character data for the element itself and all its ancestor elements up to the paragraph element, is concatenated in document order. 

  3. 3)Leading “ “ (U+0020, SPACE) characters at the start of the resulting text and trailing SPACE characters at the end of the resulting text are removed. 

  4. 4)Sequences of “ “ (U+0020, SPACE) characters are replaced by a single “ “ (U+0020, SPACE) character.  

6.1.3<text:s>

The <text:s> element is used to represent the [UNICODE] character “ “ (U+0020, SPACE).

This element shall be used to represent the second and all following “ “ (U+0020, SPACE) characters in a sequence of “ “ (U+0020, SPACE) characters.

Note: 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 only for the second and all following “ “ (U+0020, SPACE) characters in a sequence.

The <text:s> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:s> element has the following attribute: text:c 19.763.

The <text:s> element has no child elements.

6.1.4<text:tab>

The <text:tab> element represents the [UNICODE] tab character (HORIZONTAL TABULATION, U+0009). A <text:tab> element specifies that content immediately following it should begin at the next tab stop.

The <text:tab> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:tab> element has the following attribute: text:tab-ref 19.877.

The <text:tab> element has no child elements.

6.1.5<text:line-break>

The <text:line-break> element represents a line break.

The <text:line-break> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:line-break> element has no attributes.

The <text:line-break> element has no child elements.

6.1.6Soft Hyphens, Hyphens, and Non-breaking Spaces

Soft hyphens, hyphens, and non-breaking blanks are represented by [UNICODE] characters.

Table 8 - Unicode characters

The [UNICODE] character...

Represents...

SOFT HYPHEN (U+00AD)

soft hyphens

NON-BREAKING HYPHEN (U+2011)

non-breaking hyphens

NO-BREAK SPACE (U+00A0)

non-breaking spaces

6.1.7<text:span>

The <text:span> element represents the application of a style to the character data of a portion of text. The content of this element is the text which uses that text style.

The <text:span> element can be nested.

White space characters contained in this element are collapsed.

The <text:span> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:span> element has the following attributes: text:class-names 19.770.4 and text:style-name 19.874.33.

The <text:span> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <office:annotation-end> 14.2, <presentation:date-time> 10.9.3.5, <presentation:footer> 10.9.3.3, <presentation:header> 10.9.3.1, <text:a> 6.1.8, <text:alphabetical-index-mark> 8.1.10, <text:alphabetical-index-mark-end> 8.1.9, <text:alphabetical-index-mark-start> 8.1.8, <text:author-initials> 7.3.7.2, <text:author-name> 7.3.7.1, <text:bibliography-mark> 8.1.11, <text:bookmark> 6.2.1.2, <text:bookmark-end> 6.2.1.4, <text:bookmark-ref> 7.7.6, <text:bookmark-start> 6.2.1.3, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:chapter> 7.3.8, <text:character-count> 7.5.18.5, <text:conditional-text> 7.7.3, <text:creation-date> 7.5.3, <text:creation-time> 7.5.4, <text:creator> 7.5.17, <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6, <text:database-row-select> 7.6.5, <text:date> 7.3.2, <text:dde-connection> 7.7.12, <text:description> 7.5.5, <text:editing-cycles> 7.5.13, <text:editing-duration> 7.5.14, <text:execute-macro> 7.7.10, <text:expression> 7.4.14, <text:file-name> 7.3.9, <text:hidden-paragraph> 7.7.11, <text:hidden-text> 7.7.4, <text:image-count> 7.5.18.7, <text:initial-creator> 7.5.2, <text:keywords> 7.5.12, <text:line-break> 6.1.5, <text:measure> 7.7.13, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:modification-date> 7.5.16, <text:modification-time> 7.5.15, <text:note> 6.3.2, <text:note-ref> 7.7.7, <text:object-count> 7.5.18.8, <text:page-continuation> 7.3.5, <text:page-count> 7.5.18.2, <text:page-number> 7.3.4, <text:page-variable-get> 7.7.1.3, <text:page-variable-set> 7.7.1.2, <text:paragraph-count> 7.5.18.3, <text:placeholder> 7.7.2, <text:print-date> 7.5.8, <text:printed-by> 7.5.9, <text:print-time> 7.5.7, <text:reference-mark> 6.2.2.2, <text:reference-mark-end> 6.2.2.4, <text:reference-mark-start> 6.2.2.3, <text:reference-ref> 7.7.5, <text:ruby> 6.4, <text:s> 6.1.3, <text:script> 7.7.9, <text:sender-city> 7.3.6.13, <text:sender-company> 7.3.6.10, <text:sender-country> 7.3.6.15, <text:sender-email> 7.3.6.7, <text:sender-fax> 7.3.6.9, <text:sender-firstname> 7.3.6.2, <text:sender-initials> 7.3.6.4, <text:sender-lastname> 7.3.6.3, <text:sender-phone-private> 7.3.6.8, <text:sender-phone-work> 7.3.6.11, <text:sender-position> 7.3.6.6, <text:sender-postal-code> 7.3.6.14, <text:sender-state-or-province> 7.3.6.16, <text:sender-street> 7.3.6.12, <text:sender-title> 7.3.6.5, <text:sequence> 7.4.13, <text:sequence-ref> 7.7.8, <text:sheet-name> 7.3.11, <text:soft-page-break> 5.6, <text:span> 6.1.7, <text:subject> 7.5.11, <text:tab> 6.1.4, <text:table-count> 7.5.18.6, <text:table-formula> 7.7.14, <text:template-name> 7.3.10, <text:text-input> 7.4.15, <text:time> 7.3.3, <text:title> 7.5.10, <text:toc-mark> 8.1.4, <text:toc-mark-end> 8.1.3, <text:toc-mark-start> 8.1.2, <text:user-defined> 7.5.6, <text:user-field-get> 7.4.9, <text:user-field-input> 7.4.10, <text:user-index-mark> 8.1.7, <text:user-index-mark-end> 8.1.6, <text:user-index-mark-start> 8.1.5, <text:variable-get> 7.4.5, <text:variable-input> 7.4.6, <text:variable-set> 7.4.4 and <text:word-count> 7.5.18.4.

The <text:span> element has mixed content.

6.1.8<text:a>

The <text:a> element represents a hyperlink.

The anchor of a hyperlink is composed of the character data contained by the <text:a> element and any of its descendant elements which define character data of the surrounding paragraph elements.

The <text:a> element is usable within the following elements: <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:a> element has the following attributes: office:name 19.376.9, office:target-frame-name 19.381, office:title 19.383, text:style-name 19.874.2, text:visited-style-name 19.901, xlink:actuate 19.909, xlink:href 19.910.33, xlink:show 19.911 and xlink:type 19.913.

The <text:a> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <office:annotation-end> 14.2, <office:event-listeners> 10.3.19, <presentation:date-time> 10.9.3.5, <presentation:footer> 10.9.3.3, <presentation:header> 10.9.3.1, <text:alphabetical-index-mark> 8.1.10, <text:alphabetical-index-mark-end> 8.1.9, <text:alphabetical-index-mark-start> 8.1.8, <text:author-initials> 7.3.7.2, <text:author-name> 7.3.7.1, <text:bibliography-mark> 8.1.11, <text:bookmark> 6.2.1.2, <text:bookmark-end> 6.2.1.4, <text:bookmark-ref> 7.7.6, <text:bookmark-start> 6.2.1.3, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:chapter> 7.3.8, <text:character-count> 7.5.18.5, <text:conditional-text> 7.7.3, <text:creation-date> 7.5.3, <text:creation-time> 7.5.4, <text:creator> 7.5.17, <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6, <text:database-row-select> 7.6.5, <text:date> 7.3.2, <text:dde-connection> 7.7.12, <text:description> 7.5.5, <text:editing-cycles> 7.5.13, <text:editing-duration> 7.5.14, <text:execute-macro> 7.7.10, <text:expression> 7.4.14, <text:file-name> 7.3.9, <text:hidden-paragraph> 7.7.11, <text:hidden-text> 7.7.4, <text:image-count> 7.5.18.7, <text:initial-creator> 7.5.2, <text:keywords> 7.5.12, <text:line-break> 6.1.5, <text:measure> 7.7.13, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:modification-date> 7.5.16, <text:modification-time> 7.5.15, <text:note> 6.3.2, <text:note-ref> 7.7.7, <text:object-count> 7.5.18.8, <text:page-continuation> 7.3.5, <text:page-count> 7.5.18.2, <text:page-number> 7.3.4, <text:page-variable-get> 7.7.1.3, <text:page-variable-set> 7.7.1.2, <text:paragraph-count> 7.5.18.3, <text:placeholder> 7.7.2, <text:print-date> 7.5.8, <text:printed-by> 7.5.9, <text:print-time> 7.5.7, <text:reference-mark> 6.2.2.2, <text:reference-mark-end> 6.2.2.4, <text:reference-mark-start> 6.2.2.3, <text:reference-ref> 7.7.5, <text:ruby> 6.4, <text:s> 6.1.3, <text:script> 7.7.9, <text:sender-city> 7.3.6.13, <text:sender-company> 7.3.6.10, <text:sender-country> 7.3.6.15, <text:sender-email> 7.3.6.7, <text:sender-fax> 7.3.6.9, <text:sender-firstname> 7.3.6.2, <text:sender-initials> 7.3.6.4, <text:sender-lastname> 7.3.6.3, <text:sender-phone-private> 7.3.6.8, <text:sender-phone-work> 7.3.6.11, <text:sender-position> 7.3.6.6, <text:sender-postal-code> 7.3.6.14, <text:sender-state-or-province> 7.3.6.16, <text:sender-street> 7.3.6.12, <text:sender-title> 7.3.6.5, <text:sequence> 7.4.13, <text:sequence-ref> 7.7.8, <text:sheet-name> 7.3.11, <text:soft-page-break> 5.6, <text:span> 6.1.7, <text:subject> 7.5.11, <text:tab> 6.1.4, <text:table-count> 7.5.18.6, <text:table-formula> 7.7.14, <text:template-name> 7.3.10, <text:text-input> 7.4.15, <text:time> 7.3.3, <text:title> 7.5.10, <text:toc-mark> 8.1.4, <text:toc-mark-end> 8.1.3, <text:toc-mark-start> 8.1.2, <text:user-defined> 7.5.6, <text:user-field-get> 7.4.9, <text:user-field-input> 7.4.10, <text:user-index-mark> 8.1.7, <text:user-index-mark-end> 8.1.6, <text:user-index-mark-start> 8.1.5, <text:variable-get> 7.4.5, <text:variable-input> 7.4.6, <text:variable-set> 7.4.4 and <text:word-count> 7.5.18.4.

The <text:a> element has mixed content.

6.1.9<text:meta>

The <text:meta> element represents portions of text that have in content metadata attached. See 19.905.

The <text:meta> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:meta> element has the following attributes: xhtml:about 19.905, xhtml:content 19.906, xhtml:datatype 19.907, xhtml:property 19.908 and xml:id 19.914.

The <text:meta> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <office:annotation-end> 14.2, <presentation:date-time> 10.9.3.5, <presentation:footer> 10.9.3.3, <presentation:header> 10.9.3.1, <text:a> 6.1.8, <text:alphabetical-index-mark> 8.1.10, <text:alphabetical-index-mark-end> 8.1.9, <text:alphabetical-index-mark-start> 8.1.8, <text:author-initials> 7.3.7.2, <text:author-name> 7.3.7.1, <text:bibliography-mark> 8.1.11, <text:bookmark> 6.2.1.2, <text:bookmark-end> 6.2.1.4, <text:bookmark-ref> 7.7.6, <text:bookmark-start> 6.2.1.3, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:chapter> 7.3.8, <text:character-count> 7.5.18.5, <text:conditional-text> 7.7.3, <text:creation-date> 7.5.3, <text:creation-time> 7.5.4, <text:creator> 7.5.17, <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6, <text:database-row-select> 7.6.5, <text:date> 7.3.2, <text:dde-connection> 7.7.12, <text:description> 7.5.5, <text:editing-cycles> 7.5.13, <text:editing-duration> 7.5.14, <text:execute-macro> 7.7.10, <text:expression> 7.4.14, <text:file-name> 7.3.9, <text:hidden-paragraph> 7.7.11, <text:hidden-text> 7.7.4, <text:image-count> 7.5.18.7, <text:initial-creator> 7.5.2, <text:keywords> 7.5.12, <text:line-break> 6.1.5, <text:measure> 7.7.13, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:modification-date> 7.5.16, <text:modification-time> 7.5.15, <text:note> 6.3.2, <text:note-ref> 7.7.7, <text:object-count> 7.5.18.8, <text:page-continuation> 7.3.5, <text:page-count> 7.5.18.2, <text:page-number> 7.3.4, <text:page-variable-get> 7.7.1.3, <text:page-variable-set> 7.7.1.2, <text:paragraph-count> 7.5.18.3, <text:placeholder> 7.7.2, <text:print-date> 7.5.8, <text:printed-by> 7.5.9, <text:print-time> 7.5.7, <text:reference-mark> 6.2.2.2, <text:reference-mark-end> 6.2.2.4, <text:reference-mark-start> 6.2.2.3, <text:reference-ref> 7.7.5, <text:ruby> 6.4, <text:s> 6.1.3, <text:script> 7.7.9, <text:sender-city> 7.3.6.13, <text:sender-company> 7.3.6.10, <text:sender-country> 7.3.6.15, <text:sender-email> 7.3.6.7, <text:sender-fax> 7.3.6.9, <text:sender-firstname> 7.3.6.2, <text:sender-initials> 7.3.6.4, <text:sender-lastname> 7.3.6.3, <text:sender-phone-private> 7.3.6.8, <text:sender-phone-work> 7.3.6.11, <text:sender-position> 7.3.6.6, <text:sender-postal-code> 7.3.6.14, <text:sender-state-or-province> 7.3.6.16, <text:sender-street> 7.3.6.12, <text:sender-title> 7.3.6.5, <text:sequence> 7.4.13, <text:sequence-ref> 7.7.8, <text:sheet-name> 7.3.11, <text:soft-page-break> 5.6, <text:span> 6.1.7, <text:subject> 7.5.11, <text:tab> 6.1.4, <text:table-count> 7.5.18.6, <text:table-formula> 7.7.14, <text:template-name> 7.3.10, <text:text-input> 7.4.15, <text:time> 7.3.3, <text:title> 7.5.10, <text:toc-mark> 8.1.4, <text:toc-mark-end> 8.1.3, <text:toc-mark-start> 8.1.2, <text:user-defined> 7.5.6, <text:user-field-get> 7.4.9, <text:user-field-input> 7.4.10, <text:user-index-mark> 8.1.7, <text:user-index-mark-end> 8.1.6, <text:user-index-mark-start> 8.1.5, <text:variable-get> 7.4.5, <text:variable-input> 7.4.6, <text:variable-set> 7.4.4 and <text:word-count> 7.5.18.4.

The <text:meta> element has mixed content.

6.1.10<text:number>

The <text:number> element contains the text of a formatted number which is present when a list style is applied to an element whose corresponding list level style specifies that the list label is a number. This text may be used by consumers that do not support the automatic generation of numbering but should be ignored by consumers that do support it.

This element has no attributes.

The <text:number> element is usable within the following elements: <text:h> 5.1.2, <text:list-header> 5.3.3, <text:list-item> 5.3.4 and <text:numbered-paragraph> 5.3.6.

The <text:number> element has no attributes.

The <text:number> element has no child elements.

The <text:number> element has content of data type string 18.2.

6.2Bookmarks and References

6.2.1Bookmarks

6.2.1.1General

Bookmarks can either mark a text position or a text range. A text position is a position inside the text content of a document. A text range starts at any text position and ends at another text position.

Bookmarks which mark a text range support overlapping references.

6.2.1.2<text:bookmark>

The <text:bookmark> element marks a text position.

The <text:bookmark> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:bookmark> element has the following attributes: text:name 19.835.4 and xml:id 19.914.

The <text:bookmark> element has no child elements.

6.2.1.3<text:bookmark-start>

The <text:bookmark-start> element marks the start position of a bookmark in a text range.

For every <text:bookmark-start> element, there shall be a <text:bookmark-end> element in the same document using the same value for the text:name attribute. Every <text:bookmark-start> element shall precede the <text:bookmark-end> element with the same value for its text:name attribute.

The <text:bookmark-start> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:bookmark-start> element has the following attributes: text:name 19.835.6, xhtml:about 19.905, xhtml:content 19.906, xhtml:datatype 19.907, xhtml:property 19.908 and xml:id 19.914.

The <text:bookmark-start> element has no child elements.

6.2.1.4<text:bookmark-end>

The <text:bookmark-end> element marks the end position of a bookmark in a text range.

For every <text:bookmark-end> element, there shall be a preceding <text:bookmark-start> element in the same document using the same value for the text:name attribute.

The <text:bookmark-end> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:bookmark-end> element has the following attribute: text:name 19.835.5.

The <text:bookmark-end> element has no child elements.

6.2.2References

6.2.2.1General

There are two types of reference marks:

Every reference is identified by the value of its text:name attribute, which shall be unique. In a range reference, the start and end elements shall use the same attribute value.

Range references support overlapping references.

6.2.2.2<text:reference-mark>

The <text:reference-mark> element represents a point reference.

The <text:reference-mark> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:reference-mark> element has the following attribute: text:name 19.835.11.

The <text:reference-mark> element has no child elements.

6.2.2.3<text:reference-mark-start>

The <text:reference-mark-start> element represent the start of a range reference.

The <text:reference-mark-start> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:reference-mark-start> element has the following attribute: text:name 19.835.13.

The <text:reference-mark-start> element has no child elements.

6.2.2.4<text:reference-mark-end>

The <text:reference-mark-end> element represent the end of a range reference.

The <text:reference-mark-end> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:reference-mark-end> element has the following attribute: text:name 19.835.12.

The <text:reference-mark-end> element has no child elements.

6.3Notes

6.3.1General

Notes consist of a <text:note> element which occurs in the text stream at the position to which the note is anchored. The numbering and rendering of notes is specified by a <text:notes-configuration> element, which occurs inside an <office:styles> element.

6.3.2<text:note>

The <text:note> element represents text notes which are attached to a text position.

The <text:note> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:note> element has the following attributes: text:id 19.809.7 and text:note-class 19.837.

The <text:note> element has the following child elements: <text:note-body> 6.3.4 and <text:note-citation> 6.3.3.

6.3.3<text:note-citation>

The <text:note-citation> element contains a citation, either as a formatted number or a string.

The <text:note-citation> element is usable within the following element: <text:note> 6.3.2.

The <text:note-citation> element has the following attribute: text:label 19.826.

The <text:note-citation> element has no child elements.

The <text:note-citation> element has character data content.

6.3.4<text:note-body>

The <text:note-body> element contains the content of a note. It does not have any attributes.

Note: The schema allows for the inclusion of notes into the note body. While this may be reasonable for note types, it is not reasonable for footnotes and endnotes. Conforming consumers need not supportnotes inside notes.

The <text:note-body> element is usable within the following element: <text:note> 6.3.2.

The <text:note-body> element has no attributes.

The <text:note-body> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

6.4<text:ruby>

6.4.1General

A ruby is additional text that is displayed above or below a base text. The purpose of a ruby is to annotate a base text or provide information about its pronunciation.

The <text:ruby> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:ruby> element has the following attribute: text:style-name 19.874.30.

The <text:ruby> element has the following child elements: <text:ruby-base> 6.4.2 and <text:ruby-text> 6.4.3.

6.4.2<text:ruby-base>

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 formatting attributes of the ruby.

The <text:ruby-base> element is usable within the following element: <text:ruby> 6.4.

The <text:ruby-base> element has no attributes.

The <text:ruby-base> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <office:annotation-end> 14.2, <presentation:date-time> 10.9.3.5, <presentation:footer> 10.9.3.3, <presentation:header> 10.9.3.1, <text:a> 6.1.8, <text:alphabetical-index-mark> 8.1.10, <text:alphabetical-index-mark-end> 8.1.9, <text:alphabetical-index-mark-start> 8.1.8, <text:author-initials> 7.3.7.2, <text:author-name> 7.3.7.1, <text:bibliography-mark> 8.1.11, <text:bookmark> 6.2.1.2, <text:bookmark-end> 6.2.1.4, <text:bookmark-ref> 7.7.6, <text:bookmark-start> 6.2.1.3, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:chapter> 7.3.8, <text:character-count> 7.5.18.5, <text:conditional-text> 7.7.3, <text:creation-date> 7.5.3, <text:creation-time> 7.5.4, <text:creator> 7.5.17, <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6, <text:database-row-select> 7.6.5, <text:date> 7.3.2, <text:dde-connection> 7.7.12, <text:description> 7.5.5, <text:editing-cycles> 7.5.13, <text:editing-duration> 7.5.14, <text:execute-macro> 7.7.10, <text:expression> 7.4.14, <text:file-name> 7.3.9, <text:hidden-paragraph> 7.7.11, <text:hidden-text> 7.7.4, <text:image-count> 7.5.18.7, <text:initial-creator> 7.5.2, <text:keywords> 7.5.12, <text:line-break> 6.1.5, <text:measure> 7.7.13, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:modification-date> 7.5.16, <text:modification-time> 7.5.15, <text:note> 6.3.2, <text:note-ref> 7.7.7, <text:object-count> 7.5.18.8, <text:page-continuation> 7.3.5, <text:page-count> 7.5.18.2, <text:page-number> 7.3.4, <text:page-variable-get> 7.7.1.3, <text:page-variable-set> 7.7.1.2, <text:paragraph-count> 7.5.18.3, <text:placeholder> 7.7.2, <text:print-date> 7.5.8, <text:printed-by> 7.5.9, <text:print-time> 7.5.7, <text:reference-mark> 6.2.2.2, <text:reference-mark-end> 6.2.2.4, <text:reference-mark-start> 6.2.2.3, <text:reference-ref> 7.7.5, <text:ruby> 6.4, <text:s> 6.1.3, <text:script> 7.7.9, <text:sender-city> 7.3.6.13, <text:sender-company> 7.3.6.10, <text:sender-country> 7.3.6.15, <text:sender-email> 7.3.6.7, <text:sender-fax> 7.3.6.9, <text:sender-firstname> 7.3.6.2, <text:sender-initials> 7.3.6.4, <text:sender-lastname> 7.3.6.3, <text:sender-phone-private> 7.3.6.8, <text:sender-phone-work> 7.3.6.11, <text:sender-position> 7.3.6.6, <text:sender-postal-code> 7.3.6.14, <text:sender-state-or-province> 7.3.6.16, <text:sender-street> 7.3.6.12, <text:sender-title> 7.3.6.5, <text:sequence> 7.4.13, <text:sequence-ref> 7.7.8, <text:sheet-name> 7.3.11, <text:soft-page-break> 5.6, <text:span> 6.1.7, <text:subject> 7.5.11, <text:tab> 6.1.4, <text:table-count> 7.5.18.6, <text:table-formula> 7.7.14, <text:template-name> 7.3.10, <text:text-input> 7.4.15, <text:time> 7.3.3, <text:title> 7.5.10, <text:toc-mark> 8.1.4, <text:toc-mark-end> 8.1.3, <text:toc-mark-start> 8.1.2, <text:user-defined> 7.5.6, <text:user-field-get> 7.4.9, <text:user-field-input> 7.4.10, <text:user-index-mark> 8.1.7, <text:user-index-mark-end> 8.1.6, <text:user-index-mark-start> 8.1.5, <text:variable-get> 7.4.5, <text:variable-input> 7.4.6, <text:variable-set> 7.4.4 and <text:word-count> 7.5.18.4.

The <text:ruby-base> element has mixed content.

6.4.3<text:ruby-text>

The <text:ruby-text> element contains an 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 annotation text.

The <text:ruby-text> element is usable within the following element: <text:ruby> 6.4.

The <text:ruby-text> element has the following attribute: text:style-name 19.874.31.

The <text:ruby-text> element has no child elements.

The <text:ruby-text> element has character data content.

7Text Fields

7.1General

OpenDocument text documents or OpenDocument text content embedded in other types of documents may contain variable text elements called fields. Fields are commonly used for:

7.2Common Characteristics of Field Elements

Each field type is represented by a corresponding element type. The content of an element is a textual representation of the current field value as it would be displayed or printed.

The value of a field is stored in an attribute. Storage of the value enables recalculation of the presentation of a field.

Note: For string values, if a value is identical to a presentation, the value attribute can be omitted to avoid duplicate storage of information.

The presentation of information in a field is determined by the style applied to the field.

7.3Document Fields

7.3.1General

OpenDocument fields display information about the current document or about a specific part of the current document.,

7.3.2<text:date>

The <text:date> element displays a date, by default this is the current date. The date can be adjusted to display a date other than the current date.

The <text:date> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:date> element has the following attributes: style:data-style-name 19.469.7, text:date-adjust 19.792, text:date-value 19.793 and text:fixed 19.803.

The <text:date> element has no child elements.

The <text:date> element has character data content.

7.3.3<text:time>

The <text:time> element displays a time, by default this is the current time.

The <text:time> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:time> element has the following attributes: style:data-style-name 19.469.16, text:fixed 19.803, text:time-adjust 19.880 and text:time-value 19.881.

The <text:time> element has no child elements.

The <text:time> element has character data content.

7.3.4<text:page-number>

The <text:page-number> element displays the current page number.

If a number style is not specified for page numbers, the default is the number style of the current page style.

Note: The <text:page-count> element displays the total number of pages in a document. 7.5.18.2

The <text:page-number> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:page-number> element has the following attributes: style:num-format 19.500, style:num-letter-sync 19.501, text:fixed 19.803, text:page-adjust 19.845.2 and text:select-page 19.863.3.

The <text:page-number> element has no child elements.

The <text:page-number> element has character data content.

7.3.5<text:page-continuation>

The <text:page-continuation> element displays a continuation reminder printed at the bottom of the page in addition to the page number.

The <text:page-continuation> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:page-continuation> element has the following attributes: text:select-page 19.863.2 and text:string-value 19.871.4.

The <text:page-continuation> element has no child elements.

The <text:page-continuation> element has character data content.

7.3.6Subsequent Author Fields

7.3.6.1General

Subsequent author fields capture information about second and following authors for a document.

Note: In OpenDocument 1.0/1.1, these fields were referenced as “sender” fields and that terminology still appears in the names of these elements.

If a subsequent author field is marked fixed using the text:fixed attribute, the original information in that field is preserved. 19.803 Otherwise, the information is updated each time the file is edited.

7.3.6.2<text:sender-firstname>

The <text:sender-firstname> element represents the first name of a subsequent author.

The <text:sender-firstname> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-firstname> element has the following attribute: text:fixed 19.803.

The <text:sender-firstname> element has no child elements.

The <text:sender-firstname> element has character data content.

7.3.6.3<text:sender-lastname>

The <text:sender-lastname> element represents the last name of a subsequent author.

The <text:sender-lastname> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-lastname> element has the following attribute: text:fixed 19.803.

The <text:sender-lastname> element has no child elements.

The <text:sender-lastname> element has character data content.

7.3.6.4<text:sender-initials>

The <text:sender-initials> element represents the initials of a subsequent author.

The <text:sender-initials> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-initials> element has the following attribute: text:fixed 19.803.

The <text:sender-initials> element has no child elements.

The <text:sender-initials> element has character data content.

7.3.6.5<text:sender-title>

The <text:sender-title> element represents the title of a subsequent author.

The <text:sender-title> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-title> element has the following attribute: text:fixed 19.803.

The <text:sender-title> element has no child elements.

The <text:sender-title> element has character data content.

7.3.6.6<text:sender-position>

The <text:sender-position> element represents the position of a subsequent author.

The <text:sender-position> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-position> element has the following attribute: text:fixed 19.803.

The <text:sender-position> element has no child elements.

The <text:sender-position> element has character data content.

7.3.6.7<text:sender-email>

The <text:sender-email> element represents the email address of a subsequent author.

The <text:sender-email> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-email> element has the following attribute: text:fixed 19.803.

The <text:sender-email> element has no child elements.

The <text:sender-email> element has character data content.

7.3.6.8<text:sender-phone-private>

The <text:sender-phone-private> element represents the private telephone number of a subsequent author.

The <text:sender-phone-private> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-phone-private> element has the following attribute: text:fixed 19.803.

The <text:sender-phone-private> element has no child elements.

The <text:sender-phone-private> element has character data content.

7.3.6.9<text:sender-fax>

The <text:sender-fax> element represents the facsimile number of a subsequent author.

The <text:sender-fax> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-fax> element has the following attribute: text:fixed 19.803.

The <text:sender-fax> element has no child elements.

The <text:sender-fax> element has character data content.

7.3.6.10<text:sender-company>

The <text:sender-company> element represents the name of the company that employs a subsequent author.

The <text:sender-company> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-company> element has the following attribute: text:fixed 19.803.

The <text:sender-company> element has no child elements.

The <text:sender-company> element has character data content.

7.3.6.11<text:sender-phone-work>

The <text:sender-phone-work> element represents the office telephone number of a subsequent author.

The <text:sender-phone-work> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-phone-work> element has the following attribute: text:fixed 19.803.

The <text:sender-phone-work> element has no child elements.

The <text:sender-phone-work> element has character data content.

7.3.6.12<text:sender-street>

The <text:sender-street> element represents the street address of a subsequent author.

The <text:sender-street> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-street> element has the following attribute: text:fixed 19.803.

The <text:sender-street> element has no child elements.

The <text:sender-street> element has character data content.

7.3.6.13<text:sender-city>

The <text:sender-city> element represents the city name of the address of a subsequent author.

The <text:sender-city> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-city> element has the following attribute: text:fixed 19.803.

The <text:sender-city> element has no child elements.

The <text:sender-city> element has character data content.

7.3.6.14<text:sender-postal-code>

The <text:sender-postal-code> element represents the postal code of the address of a subsequent author.

The <text:sender-postal-code> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-postal-code> element has the following attribute: text:fixed 19.803.

The <text:sender-postal-code> element has no child elements.

The <text:sender-postal-code> element has character data content.

7.3.6.15<text:sender-country>

The <text:sender-country> element represents the country name of the address of a subsequent author.

The <text:sender-country> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-country> element has the following attribute: text:fixed 19.803.

The <text:sender-country> element has no child elements.

The <text:sender-country> element has character data content.

7.3.6.16<text:sender-state-or-province>

The <text:sender-state-or-province> element represents the state or province name of the address of a subsequent author, if applicable.

The <text:sender-state-or-province> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sender-state-or-province> element has the following attribute: text:fixed 19.803.

The <text:sender-state-or-province> element has no child elements.

The <text:sender-state-or-province> element has character data content.

7.3.7Author Fields

7.3.7.1<text:author-name>

The <text:author-name> element represents the full name of the author of a document.

The <text:author-name> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:author-name> element has the following attribute: text:fixed 19.803.

The <text:author-name> element has no child elements.

The <text:author-name> element has character data content.

7.3.7.2<text:author-initials>

The <text:author-initials> element represents the initials of the author of a document.

The <text:author-initials> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:author-initials> element has the following attribute: text:fixed 19.803.

The <text:author-initials> element has no child elements.

The <text:author-initials> element has character data content.

7.3.8<text:chapter>

The <text:chapter> element represents a field that displays one of the following:

If this element is placed inside a header or footer, it displays the current chapter name or number on every page.

The <text:chapter> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:chapter> element has the following attributes: text:display 19.796.2 and text:outline-level 19.844.3.

The <text:chapter> element has no child elements.

The <text:chapter> element has character data content.

7.3.9<text:file-name>

The <text:file-name> element represents a field that displays the name of a file that is being edited.

The <text:file-name> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:file-name> element has the following attributes: text:display 19.796.4 and text:fixed 19.803.

The <text:file-name> element has no child elements.

The <text:file-name> element has character data content.

7.3.10<text:template-name>

The <text:template-name> element represents a field that displays information about the document template in use.

The <text:template-name> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:template-name> element has the following attribute: text:display 19.796.8.

The <text:template-name> element has no child elements.

The <text:template-name> element has character data content.

7.3.11<text:sheet-name>

The <text:sheet-name> element displays represents the name of a sheet that is currently being edited in a Spreadsheet document.

The <text:sheet-name> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sheet-name> element has no attributes.

The <text:sheet-name> element has no child elements.

The <text:sheet-name> element has character data content.

7.4Variable Fields

7.4.1General

OpenDocument documents can contain variables, which are processed or displayed using variable fields. In an OpenDocument file, variable declarations shall precede in document order any use of those variable declarations.

There are three types of variables:

The value of a sequence variable is initialized to 0 (zero) by its declaration.

Variables shall be declared before they can be used. The OpenDocument elements for declaring variables are described in sections 7.4.3, 7.4.8 and 7.4.12.

The display of variables is determined by styles which are specified by the element that defines the variable.

7.4.2<text:variable-decls>

The <text:variable-decls> element is a container for <text:variable-decl> elements.

The <text:variable-decls> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10 and <style:header-left> 16.12.

The <text:variable-decls> element has no attributes.

The <text:variable-decls> element has the following child element: <text:variable-decl> 7.4.3.

7.4.3<text:variable-decl>

The <text:variable-decl> element is used to declare simple variables. This element specifies the name and the value type of a variable.

The <text:variable-decl> element is usable within the following element: <text:variable-decls> 7.4.2.

The <text:variable-decl> element has the following attributes: office:value-type 19.385 and text:name 19.835.25.

The <text:variable-decl> element has no child elements.

7.4.4<text:variable-set>

The <text:variable-set> element represents a simple variable.

The <text:variable-set> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:variable-set> element has the following attributes: office:boolean-value 19.367, office:currency 19.369, office:date-value 19.370, office:string-value 19.379, office:time-value 19.382, office:value 19.384, office:value-type 19.385, style:data-style-name 19.469.22, text:display 19.796.12, text:formula 19.805 and text:name 19.835.24.

The <text:variable-set> element has no child elements.

The <text:variable-set> element has character data content.

7.4.5<text:variable-get>

The <text:variable-get> element sets the display of 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 value for its text:name attribute.

If there is no preceding <text:variable-set> element with an identical value for its text:name attribute the value of a <text:variable-get> field is undefined.

The <text:variable-get> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:variable-get> element has the following attributes: style:data-style-name 19.469.20, text:display 19.796.10 and text:name 19.835.26.

The <text:variable-get> element has no child elements.

The <text:variable-get> element has character data content.

7.4.6<text:variable-input>

The <text:variable-input> element represents user supplied variable values. This element can be empty if its text:display attribute is set to none.

The <text:variable-input> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:variable-input> element has the following attributes: office:value-type 19.385, style:data-style-name 19.469.21, text:description 19.795, text:display 19.796.11 and text:name 19.835.27.

The <text:variable-input> element has no child elements.

The <text:variable-input> element has character data content.

7.4.7<text:user-field-decls>

The <text:user-field-decls> element is a container for <text:user-field-decl> elements.

The <text:user-field-decls> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10 and <style:header-left> 16.12.

The <text:user-field-decls> element has no attributes.

The <text:user-field-decls> element has the following child element: <text:user-field-decl> 7.4.8.

7.4.8<text:user-field-decl>

The <text:user-field-decl> element is used to specify user variable values that are displayed using the <text:user-field-get> element.

The <text:user-field-decl> element is usable within the following element: <text:user-field-decls> 7.4.7.

The <text:user-field-decl> element has the following attributes: office:boolean-value 19.367, office:currency 19.369, office:date-value 19.370, office:string-value 19.379, office:time-value 19.382, office:value 19.384, office:value-type 19.385, text:formula 19.805 and text:name 19.835.20.

The <text:user-field-decl> element has no child elements.

7.4.9<text:user-field-get>

The <text:user-field-get> element displays the content of a user variable. The value of this element is the value of a <text:user-field-decl> element with a text:name attribute value that matches the text:name attribute of this element.

The <text:user-field-get> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:user-field-get> element has the following attributes: style:data-style-name 19.469.18, text:display 19.796.9 and text:name 19.835.21.

The <text:user-field-get> element has no child elements.

The <text:user-field-get> element has character data content.

7.4.10<text:user-field-input>

The <text:user-field-input> element is an alternative method of displaying user variables. The value of this element is the value of a <text:user-field-decl> element with a text:name attribute value that matches the text:name attribute of this element.

This element can be empty if the text:display attribute is set to none.

The <text:user-field-input> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:user-field-input> element has the following attributes: style:data-style-name 19.469.19, text:description 19.795 and text:name 19.835.22.

The <text:user-field-input> element has no child elements.

The <text:user-field-input> element has character data content.

7.4.11<text:sequence-decls>

The <text:sequence-decls> element is a container for <text:sequence-decl> elements.

The <text:sequence-decls> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10 and <style:header-left> 16.12.

The <text:sequence-decls> element has no attributes.

The <text:sequence-decls> element has the following child element: <text:sequence-decl> 7.4.12.

7.4.12<text:sequence-decl>

The <text:sequence-decl> element is used to declare sequence variables used to number items within an OpenDocument text document.

Note: Sequence variables are commonly used for sequential numbering. However, expression formulas can be included in sequence fields to support more advanced sequences.

The <text:sequence-decl> element is usable within the following element: <text:sequence-decls> 7.4.11.

The <text:sequence-decl> element has the following attributes: text:display-outline-level 19.798, text:name 19.835.16 and text:separation-character 19.864.

The <text:sequence-decl> element has no child elements.

7.4.13<text:sequence>

A <text:sequence> element specifies a sequence field.

A sequence field changes the value of a sequence variable by a specified formula and displays the changed value of the sequence variable in a specified format.

Note: Sequence variables and fields are used to number repeating document elements such as pages, tables or images. In such cases, the formula could be: "sequenceVariableName + 1." A sequence variable can be set to a specific value or not changed at all.

The <text:sequence> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sequence> element has the following attributes: style:num-format 19.500, style:num-letter-sync 19.501, text:formula 19.805, text:name 19.835.15 and text:ref-name 19.853.5.

The <text:sequence> element has no child elements.

The <text:sequence> element has character data content.

7.4.14<text:expression>

The <text:expression> element represents expressions that are evaluated and the resulting value displayed.

The <text:expression> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:expression> element has the following attributes: office:boolean-value 19.367, office:currency 19.369, office:date-value 19.370, office:string-value 19.379, office:time-value 19.382, office:value 19.384, office:value-type 19.385, style:data-style-name 19.469.9, text:display 19.796.3 and text:formula 19.805.

The <text:expression> element has no child elements.

The <text:expression> element has character data content.

7.4.15<text:text-input>

The <text:text-input> element is a text input field. A text input field is used in a user interface to prompt a user to input text. This text is stored and displayed as the content of this element until it is replaced by a user.

The <text:text-input> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:text-input> element has the following attribute: text:description 19.795.

The <text:text-input> element has no child elements.

The <text:text-input> element has character data content.

7.5Metadata Fields

7.5.1General

Metadata field elements display meta information about a document.

All metadata field elements can be marked as fixed using the text:fixed attribute. 19.803

7.5.2<text:initial-creator>

The <text:initial-creator> element displays the value contained by the <meta:initial-creator> element of a document. 4.3.2.6

The <text:initial-creator> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:initial-creator> element has the following attribute: text:fixed 19.803.

The <text:initial-creator> element has no child elements.

The <text:initial-creator> element has character data content.

7.5.3<text:creation-date>

The <text:creation-date> element displays the value contained by the <meta:creation-date> element of a document. 4.3.2.9

The <text:creation-date> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:creation-date> element has the following attributes: style:data-style-name 19.469.4, text:date-value 19.793 and text:fixed 19.803.

The <text:creation-date> element has no child elements.

The <text:creation-date> element has character data content.

7.5.4<text:creation-time>

The <text:creation-time> element represents the time at which a document was created.

The <text:creation-time> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:creation-time> element has the following attributes: style:data-style-name 19.469.5, text:fixed 19.803 and text:time-value 19.881.

The <text:creation-time> element has no child elements.

The <text:creation-time> element has character data content.

7.5.5<text:description>

The <text:description> element displays the content contained by the <dc:description> element of a document. 4.3.2.3

The <text:description> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:description> element has the following attribute: text:fixed 19.803.

The <text:description> element has no child elements.

The <text:description> element has character data content.

7.5.6<text:user-defined>

The <text:user-defined> element displays the value contained by a <meta:user-defined> element of a document. 4.3.3

Note: The link between a <text:user-defined> element and a <meta:user-defined> element is established by the text:name and meta:name attributes, respectively, containing the same value.

The <text:user-defined> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:user-defined> element has the following attributes: office:boolean-value 19.367, office:date-value 19.370, office:string-value 19.379, office:time-value 19.382, office:value 19.384, style:data-style-name 19.469.17, text:fixed 19.803 and text:name 19.835.19.

The <text:user-defined> element has no child elements.

The <text:user-defined> element has character data content.

7.5.7<text:print-time>

The <text:print-time> element represents the time at which a document was last printed.

The <text:print-time> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:print-time> element has the following attributes: style:data-style-name 19.469.14, text:fixed 19.803 and text:time-value 19.881.

The <text:print-time> element has no child elements.

The <text:print-time> element has character data content.

7.5.8<text:print-date>

The <text:print-date> element displays the value contained by the <meta:print-date> element of a document. 4.3.2.11

The <text:print-date> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:print-date> element has the following attributes: style:data-style-name 19.469.13, text:date-value 19.793 and text:fixed 19.803.

The <text:print-date> element has no child elements.

The <text:print-date> element has character data content.

7.5.9<text:printed-by>

The <text:printed-by> element displays the value contained by the <meta:printed-by> element of a document. 4.3.2.8

The <text:printed-by> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:printed-by> element has the following attribute: text:fixed 19.803.

The <text:printed-by> element has no child elements.

The <text:printed-by> element has character data content.

7.5.10<text:title>

The <text:title> element displays the value contained by the <dc:title> element of a document. 4.3.2.2

The <text:title> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:title> element has the following attribute: text:fixed 19.803.

The <text:title> element has no child elements.

The <text:title> element has character data content.

7.5.11<text:subject>

The <text:subject> element displays the values contained by the <dc:subject> element of a document. 4.3.2.4

The <text:subject> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:subject> element has the following attribute: text:fixed 19.803.

The <text:subject> element has no child elements.

The <text:subject> element has character data content.

7.5.12<text:keywords>

The <text:keywords> element displays a list of keywords contained in the <meta:keyword> elements of a document.

The format of a list of keywords is implementation-dependent.

The <text:keywords> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:keywords> element has the following attribute: text:fixed 19.803.

The <text:keywords> element has no child elements.

The <text:keywords> element has character data content.

7.5.13<text:editing-cycles>

The <text:editing-cycles> element displays the value contained by the <meta:editing-cycles> element of a document. 4.3.2.16

The <text:editing-cycles> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:editing-cycles> element has the following attribute: text:fixed 19.803.

The <text:editing-cycles> element has no child elements.

The <text:editing-cycles> element has character data content.

7.5.14<text:editing-duration>

The <text:editing-duration> element displays the value contained by the <meta:editing-duration> element of a document.

The <text:editing-duration> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:editing-duration> element has the following attributes: style:data-style-name 19.469.8, text:duration 19.799 and text:fixed 19.803.

The <text:editing-duration> element has no child elements.

The <text:editing-duration> element has character data content.

7.5.15<text:modification-time>

The <text:modification-time> element represents the time at which a document was last modified.

This element displays the time information portion of the value of the <dc:date> element.

The <text:modification-time> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:modification-time> element has the following attributes: style:data-style-name 19.469.12, text:fixed 19.803 and text:time-value 19.881.

The <text:modification-time> element has no child elements.

The <text:modification-time> element has character data content.

7.5.16<text:modification-date>

The <text:modification-date> element displays the value contained by the <dc:date> element of a document. 4.3.2.10

The <text:modification-date> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:modification-date> element has the following attributes: style:data-style-name 19.469.11, text:date-value 19.793 and text:fixed 19.803.

The <text:modification-date> element has no child elements.

The <text:modification-date> element has character data content.

7.5.17<text:creator>

The <text:creator> element displays the value contained by the <dc:creator> element of a document. 4.3.2.7

The <text:creator> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:creator> element has the following attribute: text:fixed 19.803.

The <text:creator> element has no child elements.

The <text:creator> element has character data content.

7.5.18Document Statistics Fields

7.5.18.1General

The contents of <text:word-count> and <text:character-count> elements are locale specific and are not defined by OpenDocument.

7.5.18.2<text:page-count>

The <text:page-count> element displays the value of the meta:page-count attribute of the <meta:document-statistic> element of a document. 19.332

The <text:page-count> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:page-count> element has the following attributes: style:num-format 19.500 and style:num-letter-sync 19.501.

The <text:page-count> element has no child elements.

The <text:page-count> element has character data content.

7.5.18.3<text:paragraph-count>

The <text:paragraph-count> element displays the value of the meta:paragraph-count attribute of the <meta:document-statistic> element of a document. 19.333

The <text:paragraph-count> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:paragraph-count> element has the following attributes: style:num-format 19.500 and style:num-letter-sync 19.501.

The <text:paragraph-count> element has no child elements.

The <text:paragraph-count> element has character data content.

7.5.18.4<text:word-count>

The <text:word-count> element displays the value of the meta:word-count attribute of the <meta:document-statistic> element of a document. 19.339

The <text:word-count> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:word-count> element has the following attributes: style:num-format 19.500 and style:num-letter-sync 19.501.

The <text:word-count> element has no child elements.

The <text:word-count> element has character data content.

7.5.18.5<text:character-count>

The <text:character-count> element displays the value of the meta:character-count attribute of the <meta:document-statistic> element of a document. 19.322

The <text:character-count> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:character-count> element has the following attributes: style:num-format 19.500 and style:num-letter-sync 19.501.

The <text:character-count> element has no child elements.

The <text:character-count> element has character data content.

7.5.18.6<text:table-count>

The <text:table-count> element displays the value of the meta:table-count attribute of the <meta:document-statistic> element of a document. 19.337

The <text:table-count> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:table-count> element has the following attributes: style:num-format 19.500 and style:num-letter-sync 19.501.

The <text:table-count> element has no child elements.

The <text:table-count> element has character data content.

7.5.18.7<text:image-count>

The <text:image-count> element displays the value of the meta:image-count attribute of the <meta:document-statistic> element of a document. 19.327

The <text:image-count> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:image-count> element has the following attributes: style:num-format 19.500 and style:num-letter-sync 19.501.

The <text:image-count> element has no child elements.

The <text:image-count> element has character data content.

7.5.18.8<text:object-count>

The <text:object-count> element displays the value of the meta:object-count attribute of the <meta:document-statistic> element of a document. 19.330

The <text:object-count> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:object-count> element has the following attributes: style:num-format 19.500 and style:num-letter-sync 19.501.

The <text:object-count> element has no child elements.

The <text:object-count> element has character data content.

7.5.19<text:meta-field>

 

The <text:meta-field> element represents content from a metadata source. The mixed content of this element should be generated from the metadata source. The source of the metadata and the means of generation of the mixed content is implementation-dependent. The <text:meta-field> element may contain any paragraph content.

Note: Alterations of the element's mixed content may be lost if the mixed content is subsequently refreshed from a metadata source.

The <text:meta-field> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:meta-field> element has the following attributes: style:data-style-name 19.469.10 and xml:id 19.914.

The <text:meta-field> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <office:annotation-end> 14.2, <presentation:date-time> 10.9.3.5, <presentation:footer> 10.9.3.3, <presentation:header> 10.9.3.1, <text:a> 6.1.8, <text:alphabetical-index-mark> 8.1.10, <text:alphabetical-index-mark-end> 8.1.9, <text:alphabetical-index-mark-start> 8.1.8, <text:author-initials> 7.3.7.2, <text:author-name> 7.3.7.1, <text:bibliography-mark> 8.1.11, <text:bookmark> 6.2.1.2, <text:bookmark-end> 6.2.1.4, <text:bookmark-ref> 7.7.6, <text:bookmark-start> 6.2.1.3, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:chapter> 7.3.8, <text:character-count> 7.5.18.5, <text:conditional-text> 7.7.3, <text:creation-date> 7.5.3, <text:creation-time> 7.5.4, <text:creator> 7.5.17, <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6, <text:database-row-select> 7.6.5, <text:date> 7.3.2, <text:dde-connection> 7.7.12, <text:description> 7.5.5, <text:editing-cycles> 7.5.13, <text:editing-duration> 7.5.14, <text:execute-macro> 7.7.10, <text:expression> 7.4.14, <text:file-name> 7.3.9, <text:hidden-paragraph> 7.7.11, <text:hidden-text> 7.7.4, <text:image-count> 7.5.18.7, <text:initial-creator> 7.5.2, <text:keywords> 7.5.12, <text:line-break> 6.1.5, <text:measure> 7.7.13, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:modification-date> 7.5.16, <text:modification-time> 7.5.15, <text:note> 6.3.2, <text:note-ref> 7.7.7, <text:object-count> 7.5.18.8, <text:page-continuation> 7.3.5, <text:page-count> 7.5.18.2, <text:page-number> 7.3.4, <text:page-variable-get> 7.7.1.3, <text:page-variable-set> 7.7.1.2, <text:paragraph-count> 7.5.18.3, <text:placeholder> 7.7.2, <text:print-date> 7.5.8, <text:printed-by> 7.5.9, <text:print-time> 7.5.7, <text:reference-mark> 6.2.2.2, <text:reference-mark-end> 6.2.2.4, <text:reference-mark-start> 6.2.2.3, <text:reference-ref> 7.7.5, <text:ruby> 6.4, <text:s> 6.1.3, <text:script> 7.7.9, <text:sender-city> 7.3.6.13, <text:sender-company> 7.3.6.10, <text:sender-country> 7.3.6.15, <text:sender-email> 7.3.6.7, <text:sender-fax> 7.3.6.9, <text:sender-firstname> 7.3.6.2, <text:sender-initials> 7.3.6.4, <text:sender-lastname> 7.3.6.3, <text:sender-phone-private> 7.3.6.8, <text:sender-phone-work> 7.3.6.11, <text:sender-position> 7.3.6.6, <text:sender-postal-code> 7.3.6.14, <text:sender-state-or-province> 7.3.6.16, <text:sender-street> 7.3.6.12, <text:sender-title> 7.3.6.5, <text:sequence> 7.4.13, <text:sequence-ref> 7.7.8, <text:sheet-name> 7.3.11, <text:soft-page-break> 5.6, <text:span> 6.1.7, <text:subject> 7.5.11, <text:tab> 6.1.4, <text:table-count> 7.5.18.6, <text:table-formula> 7.7.14, <text:template-name> 7.3.10, <text:text-input> 7.4.15, <text:time> 7.3.3, <text:title> 7.5.10, <text:toc-mark> 8.1.4, <text:toc-mark-end> 8.1.3, <text:toc-mark-start> 8.1.2, <text:user-defined> 7.5.6, <text:user-field-get> 7.4.9, <text:user-field-input> 7.4.10, <text:user-index-mark> 8.1.7, <text:user-index-mark-end> 8.1.6, <text:user-index-mark-start> 8.1.5, <text:variable-get> 7.4.5, <text:variable-input> 7.4.6, <text:variable-set> 7.4.4 and <text:word-count> 7.5.18.4.

The <text:meta-field> element has mixed content.

7.6Database Fields

7.6.1General

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. Consumers 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.

A database may contain the following components:

Database fields operate on a set of database rows, the so called current selection, which is either a database table, or the result of a database query. The current selection is determined by the data source information that is contained in database fields. The current selection is retrieved once per document and data source, regardless of the number of database fields that are associated with a data source.

Database fields display data contained in a particular database row within the current selection. The row within the current selection is controlled by database fields and is known as the current row.

7.6.2<form:connection-resource>

The <form:connection-resource> element specifies a source database.

The <form:connection-resource> element is usable within the following elements: <form:form> 13.3, <text:database-display> 7.6.3, <text:database-name> 7.6.7, <text:database-next> 7.6.4, <text:database-row-number> 7.6.6 and <text:database-row-select> 7.6.5.

The <form:connection-resource> element has the following attribute: xlink:href 19.910.20.

The <form:connection-resource> element has no child elements.

7.6.3<text:database-display>

The <text:database-display> element represents data from the current database row.

The <text:database-display> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:database-display> element has the following attributes: style:data-style-name 19.469.6, text:column-name 19.771, text:database-name 19.791, text:table-name 19.878 and text:table-type 19.879.

The <text:database-display> element has the following child element: <form:connection-resource> 7.6.2.

The <text:database-display> element has character data content.

7.6.4<text:database-next>

The <text:database-next> element selects the database row following the one currently displayed in a <text:database-display> field.

The <text:database-next> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:database-next> element has the following attributes: text:condition 19.777.3, text:database-name 19.791, text:table-name 19.878 and text:table-type 19.879.

The <text:database-next> element has the following child element: <form:connection-resource> 7.6.2.

7.6.5<text:database-row-select>

The <text:database-row-select> element selects a specific row from a current selection.

The <text:database-row-select> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:database-row-select> element has the following attributes: text:condition 19.777.4, text:database-name 19.791, text:row-number 19.859, text:table-name 19.878 and text:table-type 19.879.

The <text:database-row-select> element has the following child element: <form:connection-resource> 7.6.2.

7.6.6<text:database-row-number>

The <text:database-row-number> element displays the current row number for a given table. The element displays the row number from a database and not the row number of a current selection that is used as an attribute value in the <text:database-row-select> element.

The <text:database-row-number> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:database-row-number> element has the following attributes: style:num-format 19.500, style:num-letter-sync 19.501, text:database-name 19.791, text:table-name 19.878, text:table-type 19.879 and text:value 19.900.

The <text:database-row-number> element has the following child element: <form:connection-resource> 7.6.2.

The <text:database-row-number> element has character data content.

7.6.7<text:database-name>

The <text:database-name> element displays the database and table name of the last used table.

The <text:database-name> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:database-name> element has the following attributes: text:database-name 19.791, text:table-name 19.878 and text:table-type 19.879.

The <text:database-name> element has the following child element: <form:connection-resource> 7.6.2.

The <text:database-name> element has character data content.

7.7More Fields

7.7.1Page Variable Fields

7.7.1.1General

Page variables enable an alternative page numbering to be defined for documents. There is only one page variable, and it is set by any set page variable field in the document. The calculation of a page variable is controlled by the text:active attribute

7.7.1.2<text:page-variable-set>

The <text:page-variable-set> element is used to set a page variable.

The <text:page-variable-set> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:page-variable-set> element has the following attributes: text:active 19.750 and text:page-adjust 19.845.3.

The <text:page-variable-set> element has no child elements.

The <text:page-variable-set> element has character data content.

7.7.1.3<text:page-variable-get>

The <text:page-variable-get> element displays the value of a page variable.

If the text:active attribute 19.750, has the value of false, the <text:page-variable-get> element will have no display for that page.

The <text:page-variable-get> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:page-variable-get> element has the following attributes: style:num-format 19.500 and style:num-letter-sync 19.501.

The <text:page-variable-get> element has no child elements.

The <text:page-variable-get> element has character data content.

7.7.2<text:placeholder>

The <text:placeholder> element is a placeholder  for replacement by content of a particular type as specified in the mandatory text:placeholder-type attribute.

OpenDocument Consumers that support the <text:placeholder> element shall use the text:description attribute value in presenting the placeholder with its text content and in a manner that indicates it is for replacement by content of the specified type.

The <text:placeholder> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:placeholder> element has the following attributes: text:description 19.795 and text:placeholder-type 19.847.

The <text:placeholder> element has no child elements.

The <text:placeholder> element has character data content.

7.7.3<text:conditional-text>

The <text:conditional-text> element specifies a condition for display of one text string or another. If the condition is true, one of the text strings is displayed. If the condition is false, the other text string is displayed.

The <text:conditional-text> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:conditional-text> element has the following attributes: text:condition 19.777.2, text:current-value 19.785, text:string-value-if-false 19.872 and text:string-value-if-true 19.873.

The <text:conditional-text> element has no child elements.

The <text:conditional-text> element has character data content.

7.7.4<text:hidden-text>

The <text:hidden-text> element hides the text it contains when a specified condition is true. If its text:condition attribute is missing or evaluates to false, the text content is displayed.

The <text:hidden-text> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:hidden-text> element has the following attributes: text:condition 19.777.6, text:is-hidden 19.815 and text:string-value 19.871.3.

The <text:hidden-text> element has no child elements.

The <text:hidden-text> element has character data content.

7.7.5<text:reference-ref>

The <text:reference-ref> element represents a field that references a <text:reference-mark-start> or <text:reference-mark> element. Its text:reference-format attribute specifies what is displayed from the referenced element.

The <text:reference-ref> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:reference-ref> element has the following attributes: text:reference-format 19.854 and text:ref-name 19.853.4.

The <text:reference-ref> element has no child elements.

The <text:reference-ref> element has character data content.

7.7.6<text:bookmark-ref>

The <text:bookmark-ref> element represents a field that references a <text:bookmark-start> or <text:bookmark> element. Its text:reference-format attribute specifies what is displayed from the referenced element.

The <text:bookmark-ref> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:bookmark-ref> element has the following attributes: text:reference-format 19.854 and text:ref-name 19.853.2.

The <text:bookmark-ref> element has no child elements.

The <text:bookmark-ref> element has character data content.

7.7.7<text:note-ref>

The <text:note-ref> element represents a field that references a <text:note> element. Its text:reference-format attribute specifies what is displayed from the referenced element.

The <text:note-ref> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:note-ref> element has the following attributes: text:note-class 19.837, text:reference-format 19.854 and text:ref-name 19.853.3.

The <text:note-ref> element has no child elements.

The <text:note-ref> element has character data content.

7.7.8<text:sequence-ref>

The <text:sequence-ref> element represents a field that references a <text:sequence> element. Its text:reference-format attribute specifies what is displayed from the referenced element.

The <text:sequence-ref> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:sequence-ref> element has the following attributes: text:reference-format 19.854 and text:ref-name 19.853.6.

The <text:sequence-ref> element has no child elements.

The <text:sequence-ref> element has character data content.

7.7.9<text:script>

The <text:script> element represents a field that stores scripts or sections of scripts. The field can be used to store and edit scripts that are attached to the document.

Note: 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 office application software.

The source code for the script can be stored in one of the following ways:

The element should have either an xlink:href attribute or content, but not both.

The <text:script> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:script> element has the following attributes: script:language 19.430, xlink:href 19.910.36 and xlink:type 19.913.

The <text:script> element has no child elements.

The <text:script> element has character data content. Character data content is only permitted if a xlink:href attribute is not present.

7.7.10<text:execute-macro>

The <text:execute-macro> element represents a field that contains the name of a macro that is executed when the field is activated. The element may contain a text description of the macro. The name of the macro to be executed is specified by the text:name attribute.

The <text:execute-macro> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:execute-macro> element has the following attribute: text:name 19.835.7.

The <text:execute-macro> element has the following child element: <office:event-listeners> 10.3.19.

The <text:execute-macro> element has character data content.

7.7.11<text:hidden-paragraph>

The <text:hidden-paragraph> element is a field that represents a condition. If the condition evaluates to false, the paragraph where this element appears is displayed unless the paragraph is enclosed in any other hiding element. If the condition evaluates to true, the paragraph is hidden unless the paragraph contains another <text:hidden-paragraph> element whose condition evaluates to false.

The <text:hidden-paragraph> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:hidden-paragraph> element has the following attributes: text:condition 19.777.5 and text:is-hidden 19.815.

The <text:hidden-paragraph> element has no child elements.

The <text:hidden-paragraph> element has character data content.

7.7.12<text:dde-connection>

The <text:dde-connection> element represents a field that is information from a DDE connection. The content of this field is the last data that was received from a DDE connection. This is used as the content of this field if the DDE connection cannot be accessed.

See 14.6 for the use of DDE connections.

The <text:dde-connection> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:dde-connection> element has the following attribute: text:connection-name 19.778.

The <text:dde-connection> element has no child elements.

The <text:dde-connection> element has character data content.

7.7.13<text:measure>

The <text:measure> element represents a field that displays measure text. It can only be used within text that is contained in measure drawing objects.

The <text:measure> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:measure> element has the following attribute: text:kind 19.825.

The <text:measure> element has no child elements.

The <text:measure> element has character data content.

7.7.14<text:table-formula> (deprecated)

The <text:table-formula> element field is deprecated. It stores a formula to be used in tables.

The <text:table-formula> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:table-formula> element has the following attributes: style:data-style-name 19.469.15, text:display 19.796.7 and text:formula 19.805.

The <text:table-formula> element has no child elements.

The <text:table-formula> element has character data content.

8Text Indexes

8.1Index Marks

8.1.1General

OpenDocument text documents may contain automatically generated indexes. An index contains a sorted list of items of a specified type, where the sorting and the type of items are determined by the type of index.

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:

The rules for index marks are:

8.1.2<text:toc-mark-start>

The <text:toc-mark-start> element marks the start of a table of contents index entry.

The <text:toc-mark-start> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:toc-mark-start> element has the following attributes: text:id 19.809.10 and text:outline-level 19.844.11.

The <text:toc-mark-start> element has no child elements.

8.1.3<text:toc-mark-end>

The <text:toc-mark-end> element marks the end of a table of contents index entry.

The <text:toc-mark-end> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:toc-mark-end> element has the following attribute: text:id 19.809.9.

The <text:toc-mark-end> element has no child elements.

8.1.4<text:toc-mark>

The <text:toc-mark> element represents a table of content index mark that does not enclose content.

The <text:toc-mark> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:toc-mark> element has the following attributes: text:outline-level 19.844.10 and text:string-value 19.871.5.

The <text:toc-mark> element has no child elements.

8.1.5<text:user-index-mark-start>

The <text:user-index-mark-start> element marks the start of a user-defined index entry.

The <text:user-index-mark-start> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:user-index-mark-start> element has the following attributes: text:id 19.809.12, text:index-name 19.811 and text:outline-level 19.844.13.

The <text:user-index-mark-start> element has no child elements.

8.1.6<text:user-index-mark-end>

The <text:user-index-mark-end> element marks the end of the user-defined index entry.

The <text:user-index-mark-end> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:user-index-mark-end> element has the following attribute: text:id 19.809.11.

The <text:user-index-mark-end> element has no child elements.

8.1.7<text:user-index-mark>

The <text:user-index-mark> element represents a user defined index mark that does not enclose content.

The <text:user-index-mark> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:user-index-mark> element has the following attributes: text:index-name 19.811, text:outline-level 19.844.7 and text:string-value 19.871.6.

The <text:user-index-mark> element has no child elements.

8.1.8<text:alphabetical-index-mark-start>

The <text:alphabetical-index-mark-start> element marks the start of an alphabetical index entry.

The <text:alphabetical-index-mark-start> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:alphabetical-index-mark-start> element has the following attributes: text:id 19.809.4, text:key1 19.821, text:key1-phonetic 19.823, text:key2 19.822, text:key2-phonetic 19.824, text:main-entry 19.831 and text:string-value-phonetic 19.870.

The <text:alphabetical-index-mark-start> element has no child elements.

8.1.9<text:alphabetical-index-mark-end>

The <text:alphabetical-index-mark-end> element marks the end of an alphabetical index entry.

The <text:alphabetical-index-mark-end> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:alphabetical-index-mark-end> element has the following attribute: text:id 19.809.3.

The <text:alphabetical-index-mark-end> element has no child elements.

8.1.10<text:alphabetical-index-mark>

The <text:user-index-mark> element represents a user defined index mark that does not enclose content.

The <text:alphabetical-index-mark> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:alphabetical-index-mark> element has the following attributes: text:key1 19.821, text:key1-phonetic 19.823, text:key2 19.822, text:key2-phonetic 19.824, text:main-entry 19.831, text:string-value 19.871.2 and text:string-value-phonetic 19.870.

The <text:alphabetical-index-mark> element has no child elements.

8.1.11<text:bibliography-mark>

The <text:bibliography-mark> element contains the text and information for a bibliography index entry.

The <text:bibliography-mark> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <text:bibliography-mark> element has the following attributes: text:address 19.751, text:annote 19.755, text:author 19.756, text:bibliography-type 19.758, text:booktitle 19.759, text:chapter 19.767, text:custom1 19.786, text:custom2 19.787, text:custom3 19.788, text:custom4 19.789, text:custom5 19.790, text:edition 19.800, text:editor 19.801, text:howpublished 19.807, text:identifier 19.810, text:institution 19.814, text:isbn 19.817, text:issn 19.818, text:journal 19.819, text:month 19.834, text:note 19.836, text:number 19.838, text:organizations 19.843, text:pages 19.846, text:publisher 19.852, text:report-type 19.856, text:school 19.860, text:series 19.862, text:title 19.882, text:url 19.884, text:volume 19.902 and text:year 19.903.

The <text:bibliography-mark> element has no child elements.

The <text:bibliography-mark> element has character data content.

8.2Index Structure

8.2.1General

An index consists of two parts: the index source, and the index body.

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.

8.2.2<text:index-body>

The <text:index-body> element contains an index.

The <text:index-body> element is used for all types of indexes. It contains the index content generated to form the index.

The <text:index-body> element is usable within the following elements: <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:illustration-index> 8.4, <text:object-index> 8.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

The <text:index-body> element has no attributes.

The <text:index-body> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

8.2.3<text:index-title>

The <text:index-title> element contains the title of an index.

The <text:index-title> element is usable within the following elements: <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <text:index-body> 8.2.2 and <text:index-title> 8.2.3.

The <text:index-title> element has the following attributes: text:name 19.835.9, text:protected 19.849, text:protection-key 19.850, text:protection-key-digest-algorithm 19.851, text:style-name 19.874.19 and xml:id 19.914.

The <text:index-title> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

8.3<text:table-of-content>

8.3.1General

The <text:table-of-content> element represents a table of contents for a document.

The items that can be listed in a table of contents are:

Note: Paragraphs may be selected for inclusion in a table of contents based on their styles. Selection is based on a paragraph's style matching a style specified by the <text:index-source-styles> child element of a <text:table-of-content-source> child element of a <text:table-of-content> element, when the text:use-index-source-styles attribute of the child <text:index-source-styles> element has the value true.

The <text:table-of-content> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:table-of-content> element has the following attributes: text:name 19.835.17, text:protected 19.849, text:protection-key 19.850, text:protection-key-digest-algorithm 19.851, text:style-name 19.874.35 and xml:id 19.914.

The <text:table-of-content> element has the following child elements: <text:index-body> 8.2.2 and <text:table-of-content-source> 8.3.2.

8.3.2<text:table-of-content-source>

The <text:table-of-content-source> element specifies how a table of contents is generated. It also specifies the styles to be applied to index entries.

The <text:table-of-content-source> element is usable within the following element: <text:table-of-content> 8.3.

The <text:table-of-content-source> element has the following attributes: text:index-scope 19.812, text:outline-level 19.844.9, text:relative-tab-stop-position 19.855, text:use-index-marks 19.890, text:use-index-source-styles 19.891 and text:use-outline-level 19.896.

The <text:table-of-content-source> element has the following child elements: <text:index-source-styles> 8.10, <text:index-title-template> 8.12 and <text:table-of-content-entry-template> 8.3.3.

8.3.3<text:table-of-content-entry-template>

The <text:table-of-content-entry-template> element specifies the format of an index entry for a specified outline level.

For each <text:table-of-content-source> element, there shall not be more than one <text:table-of-content-entry-template> for a specified outline level.

The <text:table-of-content-entry-template> element is usable within the following element: <text:table-of-content-source> 8.3.2.

The <text:table-of-content-entry-template> element has the following attributes: text:outline-level 19.844.8 and text:style-name 19.874.36.

The <text:table-of-content-entry-template> element has the following child elements: <text:index-entry-chapter> 8.13.1, <text:index-entry-link-end> 8.13.8, <text:index-entry-link-start> 8.13.7, <text:index-entry-page-number> 8.13.3, <text:index-entry-span> 8.13.4, <text:index-entry-tab-stop> 8.13.6 and <text:index-entry-text> 8.13.2.

8.4<text:illustration-index>

8.4.1General

The <text:illustration-index> element represents an index of the images and graphics in a current document or chapter.

The <text:illustration-index> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:illustration-index> element has the following attributes: text:name 19.835.8, text:protected 19.849, text:protection-key 19.850, text:protection-key-digest-algorithm 19.851, text:style-name 19.874.8 and xml:id 19.914.

The <text:illustration-index> element has the following child elements: <text:illustration-index-source> 8.4.2 and <text:index-body> 8.2.2.

8.4.2<text:illustration-index-source>

The <text:illustration-index-source> element specifies how an index of illustrations is generated.

The <text:illustration-index-source> element is usable within the following element: <text:illustration-index> 8.4.

The <text:illustration-index-source> element has the following attributes: text:caption-sequence-format 19.764, text:caption-sequence-name 19.765, text:index-scope 19.812, text:relative-tab-stop-position 19.855 and text:use-caption 19.885.

The <text:illustration-index-source> element has the following child elements: <text:illustration-index-entry-template> 8.4.3 and <text:index-title-template> 8.12.

8.4.3<text:illustration-index-entry-template>

The <text:illustration-index-entry-template> element specifies the format of an index entry.

The <text:illustration-index-entry-template> element is usable within the following element: <text:illustration-index-source> 8.4.2.

The <text:illustration-index-entry-template> element has the following attribute: text:style-name 19.874.9.

The <text:illustration-index-entry-template> element has the following child elements: <text:index-entry-chapter> 8.13.1, <text:index-entry-page-number> 8.13.3, <text:index-entry-span> 8.13.4, <text:index-entry-tab-stop> 8.13.6 and <text:index-entry-text> 8.13.2.

8.5<text:table-index>

8.5.1General

The <text:table-index> element represents an index of the tables in a document or chapter.

The <text:table-index> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:table-index> element has the following attributes: text:name 19.835.18, text:protected 19.849, text:protection-key 19.850, text:protection-key-digest-algorithm 19.851, text:style-name 19.874.37 and xml:id 19.914.

The <text:table-index> element has the following child elements: <text:index-body> 8.2.2 and <text:table-index-source> 8.5.2.

8.5.2<text:table-index-source>

The <text:table-index-source> element specifies how an index of tables is generated.

The <text:table-index-source> element is usable within the following element: <text:table-index> 8.5.

The <text:table-index-source> element has the following attributes: text:caption-sequence-format 19.764, text:caption-sequence-name 19.765, text:index-scope 19.812, text:relative-tab-stop-position 19.855 and text:use-caption 19.885.

The <text:table-index-source> element has the following child elements: <text:index-title-template> 8.12 and <text:table-index-entry-template> 8.5.3.

8.5.3<text:table-index-entry-template>

The <text:table-index-entry-template> element specifies the format of an index entry.

The <text:table-index-entry-template> element is usable within the following element: <text:table-index-source> 8.5.2.

The <text:table-index-entry-template> element has the following attribute: text:style-name 19.874.34.

The <text:table-index-entry-template> element has the following child elements: <text:index-entry-chapter> 8.13.1, <text:index-entry-page-number> 8.13.3, <text:index-entry-span> 8.13.4, <text:index-entry-tab-stop> 8.13.6 and <text:index-entry-text> 8.13.2.

8.6<text:object-index>

8.6.1General

The <text:object-index> element represents an index of the objects in a document or chapter. The types of objects that should be included in the index are defined by the <text:object-index-source> element. 8.6.2

The <text:object-index> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:object-index> element has the following attributes: text:name 19.835.10, text:protected 19.849, text:protection-key 19.850, text:protection-key-digest-algorithm 19.851, text:style-name 19.874.26 and xml:id 19.914.

The <text:object-index> element has the following child elements: <text:index-body> 8.2.2 and <text:object-index-source> 8.6.2.

8.6.2<text:object-index-source>

The <text:object-index-source> element specifies which object types to include in the index of objects.

The <text:object-index-source> element is usable within the following element: <text:object-index> 8.6.

The <text:object-index-source> element has the following attributes: text:index-scope 19.812, text:relative-tab-stop-position 19.855, text:use-chart-objects 19.886, text:use-draw-objects 19.887, text:use-math-objects 19.893, text:use-other-objects 19.895 and text:use-spreadsheet-objects 19.898.

The <text:object-index-source> element has the following child elements: <text:index-title-template> 8.12 and <text:object-index-entry-template> 8.6.3.

8.6.3<text:object-index-entry-template>

The <text:object-index-entry-template> element specifies the format of an index entry.

The <text:object-index-entry-template> element is usable within the following element: <text:object-index-source> 8.6.2.

The <text:object-index-entry-template> element has the following attribute: text:style-name 19.874.27.

The <text:object-index-entry-template> element has the following child elements: <text:index-entry-chapter> 8.13.1, <text:index-entry-page-number> 8.13.3, <text:index-entry-span> 8.13.4, <text:index-entry-tab-stop> 8.13.6 and <text:index-entry-text> 8.13.2.

8.7<text:user-index>

8.7.1General

The <text:user-index> element represents a user-defined index. A user-defined index may include entries from the following sources:

The <text:user-index> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:user-index> element has the following attributes: text:name 19.835.23, text:protected 19.849, text:protection-key 19.850, text:protection-key-digest-algorithm 19.851, text:style-name 19.874.38 and xml:id 19.914.

The <text:user-index> element has the following child elements: <text:index-body> 8.2.2 and <text:user-index-source> 8.7.2.

8.7.2<text:user-index-source>

The <text:user-index-source> element defines the generation of user defined indexes.

The <text:user-index-source> element is usable within the following element: <text:user-index> 8.7.

The <text:user-index-source> element has the following attributes: text:copy-outline-levels 19.782, text:index-name 19.811, text:index-scope 19.812, text:relative-tab-stop-position 19.855, text:use-floating-frames 19.888, text:use-graphics 19.889, text:use-index-marks 19.890, text:use-index-source-styles 19.891, text:use-objects 19.894 and text:use-tables 19.899.

The <text:user-index-source> element has the following child elements: <text:index-source-styles> 8.10, <text:index-title-template> 8.12 and <text:user-index-entry-template> 8.7.3.

8.7.3<text:user-index-entry-template>

The <text:user-index-entry-template> element contains entry elements for chapter number, page number, entry text, text spans, and tab stops.

The <text:user-index-entry-template> element is usable within the following element: <text:user-index-source> 8.7.2.

The <text:user-index-entry-template> element has the following attributes: text:outline-level 19.844.12 and text:style-name 19.874.39.

The <text:user-index-entry-template> element has the following child elements: <text:index-entry-chapter> 8.13.1, <text:index-entry-page-number> 8.13.3, <text:index-entry-span> 8.13.4, <text:index-entry-tab-stop> 8.13.6 and <text:index-entry-text> 8.13.2.

8.8<text:alphabetical-index>

8.8.1General

The <text:alphabetical-index> element represents an index which is based on alphabetical index marks. The entries in an alphabetical index are sorted.

Note: Sort orders are locale specific.

The <text:alphabetical-index> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:alphabetical-index> element has the following attributes: text:name 19.835.2, text:protected 19.849, text:protection-key 19.850, text:protection-key-digest-algorithm 19.851, text:style-name 19.874.3 and xml:id 19.914.

The <text:alphabetical-index> element has the following child elements: <text:alphabetical-index-source> 8.8.2 and <text:index-body> 8.2.2.

8.8.2<text:alphabetical-index-source>

The <text:alphabetical-index-source> element specifies how an alphabetical index is generated.

The <text:alphabetical-index-source> element is usable within the following element: <text:alphabetical-index> 8.8.

The <text:alphabetical-index-source> element has the following attributes: fo:country 19.234.1, fo:language 19.236.2, fo:script 19.242.2, style:rfc-language-tag 19.512, text:alphabetical-separators 19.752, text:capitalize-entries 19.762, text:combine-entries 19.772, text:combine-entries-with-dash 19.773, text:combine-entries-with-pp 19.774, text:comma-separated 19.775, text:ignore-case 19.813, text:index-scope 19.812, text:main-entry-style-name 19.832, text:relative-tab-stop-position 19.855, text:sort-algorithm 19.865 and text:use-keys-as-entries 19.892.

The <text:alphabetical-index-source> element has the following child elements: <text:alphabetical-index-entry-template> 8.8.4 and <text:index-title-template> 8.12.

8.8.3<text:alphabetical-index-auto-mark-file>

The <text:alphabetical-index-auto-mark-file> element specifies an auto mark file. An auto mark file is a file that defines a list of terms that may be used by consumers to automatically insert alphabetical index marks (see 8.1.8, 8.1.10).

The format of an index mark file is implementation-defined.

The <text:alphabetical-index-auto-mark-file> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10 and <style:header-left> 16.12.

The <text:alphabetical-index-auto-mark-file> element has the following attributes: xlink:href 19.910.34 and xlink:type 19.913.

The <text:alphabetical-index-auto-mark-file> element has no child elements.

8.8.4<text:alphabetical-index-entry-template>

The <text:alphabetical-index-entry-template> element specifies the format of an alphabetical index entry.

The <text:alphabetical-index-entry-template> element is usable within the following element: <text:alphabetical-index-source> 8.8.2.

The <text:alphabetical-index-entry-template> element has the following attributes: text:outline-level 19.844.2 and text:style-name 19.874.4.

The <text:alphabetical-index-entry-template> element has the following child elements: <text:index-entry-chapter> 8.13.1, <text:index-entry-page-number> 8.13.3, <text:index-entry-span> 8.13.4, <text:index-entry-tab-stop> 8.13.6 and <text:index-entry-text> 8.13.2.

8.9<text:bibliography>

8.9.1General

The <text:bibliography> element represents a bibliography constructed from bibliography index marks.

The <text:bibliography> element is usable within the following elements: <draw:text-box> 10.4.3, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <text:bibliography> element has the following attributes: text:name 19.835.3, text:protected 19.849, text:protection-key 19.850, text:protection-key-digest-algorithm 19.851, text:style-name 19.874.5 and xml:id 19.914.

The <text:bibliography> element has the following child elements: <text:bibliography-source> 8.9.2 and <text:index-body> 8.2.2.

8.9.2<text:bibliography-source>

The <text:bibliography-source> element specifies how a bibliography is generated.

The <text:bibliography-source> element is usable within the following element: <text:bibliography> 8.9.

The <text:bibliography-source> element has no attributes.

The <text:bibliography-source> element has the following child elements: <text:bibliography-entry-template> 8.9.3 and <text:index-title-template> 8.12.

8.9.3<text:bibliography-entry-template>

The <text:bibliography-entry-template> element specifies the formatting for a bibliographic entry.

There shall be no more than one <text:bibliography-entry-template> element for each type of entry within any <text:bibliography-source> element. 8.9.2

The <text:bibliography-entry-template> element is usable within the following element: <text:bibliography-source> 8.9.2.

The <text:bibliography-entry-template> element has the following attributes: text:bibliography-type 19.758 and text:style-name 19.874.6.

The <text:bibliography-entry-template> element has the following child elements: <text:index-entry-bibliography> 8.13.5, <text:index-entry-span> 8.13.4 and <text:index-entry-tab-stop> 8.13.6.

8.10<text:index-source-styles>

The <text:index-source-styles> element contains all of the <text:index-source-style> elements for a specified outline level. There can only be one <text:index-source-styles> element for each outline level.

The <text:index-source-styles> element is usable within the following elements: <text:table-of-content-source> 8.3.2 and <text:user-index-source> 8.7.2.

The <text:index-source-styles> element has the following attribute: text:outline-level 19.844.6.

The <text:index-source-styles> element has the following child element: <text:index-source-style> 8.11.

8.11<text:index-source-style>

The <text:index-source-style> element specifies the name of a style or a class. Paragraphs formatted using that style or class are included in the index.

The <text:index-source-style> element is usable within the following element: <text:index-source-styles> 8.10.

The <text:index-source-style> element has the following attribute: text:style-name 19.874.18.

The <text:index-source-style> element has no child elements.

8.12<text:index-title-template>

The <text:index-title-template> element specifies 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.

The <text:index-title-template> element is usable within the following elements: <text:alphabetical-index-source> 8.8.2, <text:bibliography-source> 8.9.2, <text:illustration-index-source> 8.4.2, <text:object-index-source> 8.6.2, <text:table-index-source> 8.5.2, <text:table-of-content-source> 8.3.2 and <text:user-index-source> 8.7.2.

The <text:index-title-template> element has the following attribute: text:style-name 19.874.20.

The <text:index-title-template> element has no child elements.

The <text:index-title-template> element has character data content.

8.13Index Template Entries

8.13.1<text:index-entry-chapter>

The <text:index-entry-chapter> element represents the chapter number where an index entry is located.

The <text:index-entry-chapter> element is usable within the following elements: <text:alphabetical-index-entry-template> 8.8.4, <text:illustration-index-entry-template> 8.4.3, <text:object-index-entry-template> 8.6.3, <text:table-index-entry-template> 8.5.3, <text:table-of-content-entry-template> 8.3.3 and <text:user-index-entry-template> 8.7.3.

The <text:index-entry-chapter> element has the following attributes: text:display 19.796.5, text:outline-level 19.844.5 and text:style-name 19.874.11.

The <text:index-entry-chapter> element has no child elements.

8.13.2<text:index-entry-text>

The <text:index-entry-text> element contains the text of an index entry.

The <text:index-entry-text> element is usable within the following elements: <text:alphabetical-index-entry-template> 8.8.4, <text:illustration-index-entry-template> 8.4.3, <text:object-index-entry-template> 8.6.3, <text:table-index-entry-template> 8.5.3, <text:table-of-content-entry-template> 8.3.3 and <text:user-index-entry-template> 8.7.3.

The <text:index-entry-text> element has the following attribute: text:style-name 19.874.17.

The <text:index-entry-text> element has no child elements.

8.13.3<text:index-entry-page-number>

The <text:index-entry-page-number> element represents the number of the chapter where an index entry is located.

The <text:index-entry-page-number> element is usable within the following elements: <text:alphabetical-index-entry-template> 8.8.4, <text:illustration-index-entry-template> 8.4.3, <text:object-index-entry-template> 8.6.3, <text:table-index-entry-template> 8.5.3, <text:table-of-content-entry-template> 8.3.3 and <text:user-index-entry-template> 8.7.3.

The <text:index-entry-page-number> element has the following attribute: text:style-name 19.874.14.

The <text:index-entry-page-number> element has no child elements.

8.13.4<text:index-entry-span>

The <text:index-entry-span> element represents a fixed string within an index entry.

The <text:index-entry-span> element is usable within the following elements: <text:alphabetical-index-entry-template> 8.8.4, <text:bibliography-entry-template> 8.9.3, <text:illustration-index-entry-template> 8.4.3, <text:object-index-entry-template> 8.6.3, <text:table-index-entry-template> 8.5.3, <text:table-of-content-entry-template> 8.3.3 and <text:user-index-entry-template> 8.7.3.

The <text:index-entry-span> element has the following attribute: text:style-name 19.874.15.

The <text:index-entry-span> element has no child elements.

The <text:index-entry-span> element has character data content.

8.13.5<text:index-entry-bibliography>

The <text:index-entry-bibliography> element specifies the field of a bibliographic entry that will be displayed in an index.

The <text:index-entry-bibliography> element is usable within the following element: <text:bibliography-entry-template> 8.9.3.

The <text:index-entry-bibliography> element has the following attributes: text:bibliography-data-field 19.757 and text:style-name 19.874.10.

The <text:index-entry-bibliography> element has no child elements.

8.13.6<text:index-entry-tab-stop>

The <text:index-entry-tab-stop> element represents a tab stop within an index entry.

The <text:index-entry-tab-stop> element is usable within the following elements: <text:alphabetical-index-entry-template> 8.8.4, <text:bibliography-entry-template> 8.9.3, <text:illustration-index-entry-template> 8.4.3, <text:object-index-entry-template> 8.6.3, <text:table-index-entry-template> 8.5.3, <text:table-of-content-entry-template> 8.3.3 and <text:user-index-entry-template> 8.7.3.

The <text:index-entry-tab-stop> element has the following attributes: style:leader-char 19.483, style:position 19.508.4, style:type 19.515.2 and text:style-name 19.874.16.

The <text:index-entry-tab-stop> element has no child elements.

8.13.7<text:index-entry-link-start>

The <text:index-entry-link-start> element represents the start of a hyperlink index entry.

The <text:index-entry-link-start> element is usable within the following element: <text:table-of-content-entry-template> 8.3.3.

The <text:index-entry-link-start> element has the following attribute: text:style-name 19.874.13.

The <text:index-entry-link-start> element has no child elements.

8.13.8<text:index-entry-link-end>

The <text:index-entry-link-end> element represents the end of a hyperlink index entry.

The <text:index-entry-link-end> element is usable within the following element: <text:table-of-content-entry-template> 8.3.3.

The <text:index-entry-link-end> element has the following attribute: text:style-name 19.874.12.

The <text:index-entry-link-end> element has no child elements.

9Tables

9.1Basic Tables

9.1.1General

The representation of tables is based on the concept of grids of rows and columns. In markup, rows are partitioned into table cells. Columns are implied by taking together all cells with the same position within the rows.

Rows and columns appear in row groups and column groups. These groups specify whether to repeat a row or column on the next page.

Note: There is only one model for tables, although tables, such as for spreadsheets, may have additional capabilities when compared to tables in text documents.

Tables may be nested, that is, tables may occur within tables.

9.1.2<table:table>

The <table:table> element is the root element for a table.

The <table:table> element is usable within the following elements: <chart:chart> 11.1, <draw:frame> 10.4.2, <draw:text-box> 10.4.3, <office:spreadsheet> 3.7, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10, <style:header-left> 16.12, <table:covered-table-cell> 9.1.5, <table:dde-link> 14.6.4, <table:table-cell> 9.1.4, <text:deletion> 5.5.4, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:note-body> 6.3.4 and <text:section> 5.4.

The <table:table> element has the following attributes: table:is-sub-table 19.655, table:name 19.673.13, table:print 19.693, table:print-ranges 19.694, table:protected 19.696.4, table:protection-key 19.697, table:protection-key-digest-algorithm 19.698, table:style-name 19.726.16, table:template-name 19.732, table:use-banding-columns-styles 19.736, table:use-banding-rows-styles 19.737, table:use-first-column-styles 19.738, table:use-first-row-styles 19.739, table:use-last-column-styles 19.740, table:use-last-row-styles 19.741 and xml:id 19.914.

The <table:table> element has the following child elements: <office:dde-source> 14.6.5, <office:forms> 13.2, <table:desc> 9.1.14, <table:named-expressions> 9.4.11, <table:scenario> 9.2.7, <table:shapes> 9.2.8, <table:table-column> 9.1.6, <table:table-column-group> 9.1.10, <table:table-columns> 9.1.12, <table:table-header-columns> 9.1.11, <table:table-header-rows> 9.1.7, <table:table-row> 9.1.3, <table:table-row-group> 9.1.9, <table:table-rows> 9.1.8, <table:table-source> 9.2.6, <table:title> 9.1.13, <text:soft-page-break> 5.6.

9.1.3<table:table-row>

The <table:table-row> element represents a row in a table. It contains elements that specify the cells of the table row.

The <table:table-row> element is usable within the following elements: <table:table> 9.1.2, <table:table-header-rows> 9.1.7, <table:table-row-group> 9.1.9 and <table:table-rows> 9.1.8.

The <table:table-row> element has the following attributes: table:default-cell-style-name 19.615, table:number-rows-repeated 19.677, table:style-name 19.726.15, table:visibility 19.749 and xml:id 19.914.

The <table:table-row> element has the following child elements: <table:covered-table-cell> 9.1.5 and <table:table-cell> 9.1.4.

9.1.4<table:table-cell>

The <table:table-cell> element represents a table cell. It is contained in a table row element. A table cell can contain paragraphs and other text content as well as sub tables. Table cells may span multiple columns and rows. Table cells may be empty.

The <table:table-cell> element is usable within the following element: <table:table-row> 9.1.3.

The <table:table-cell> element has the following attributes: office:boolean-value 19.367, office:currency 19.369, office:date-value 19.370, office:string-value 19.379, office:time-value 19.382, office:value 19.384, office:value-type 19.385, table:content-validation-name 19.601, table:formula 19.642, table:number-columns-repeated 19.675.3, table:number-columns-spanned 19.676, table:number-matrix-columns-spanned 19.679, table:number-matrix-rows-spanned 19.680, table:number-rows-spanned 19.678, table:protect 19.695, table:protected 19.696.5, table:style-name 19.726.13, xhtml:about 19.905, xhtml:content 19.906, xhtml:datatype 19.907, xhtml:property 19.908 and xml:id 19.914.

The <table:table-cell> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <table:cell-range-source> 9.3.1, <table:detective> 9.3.2, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

9.1.5<table:covered-table-cell>

The <table:covered-table-cell> element represents cells that are covered by a <table:table-cell> 9.1.4 element that spans multiple columns or rows. The <table:covered-table-cell> elements occupy the same position in document order as the cells spanned. There is one <table:covered-table-cell> element for each cell that is spanned.

The <table:covered-table-cell> element is usable within the following element: <table:table-row> 9.1.3.

The <table:covered-table-cell> element has the following attributes: office:boolean-value 19.367, office:currency 19.369, office:date-value 19.370, office:string-value 19.379, office:time-value 19.382, office:value 19.384, office:value-type 19.385, table:content-validation-name 19.601, table:formula 19.642, table:number-columns-repeated 19.675.2, table:protect 19.695, table:protected 19.696.2, table:style-name 19.726.4, xhtml:about 19.905, xhtml:content 19.906, xhtml:datatype 19.907, xhtml:property 19.908 and xml:id 19.914.

The <table:covered-table-cell> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:annotation> 14.1, <table:cell-range-source> 9.3.1, <table:detective> 9.3.2, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

9.1.6<table:table-column>

The <table:table-column> element specifies properties for one or more adjacent columns in a table.

The <table:table-column> element is usable within the following elements: <table:table> 9.1.2, <table:table-column-group> 9.1.10, <table:table-columns> 9.1.12 and <table:table-header-columns> 9.1.11.

The <table:table-column> element has the following attributes: table:default-cell-style-name 19.615, table:number-columns-repeated 19.675.4, table:style-name 19.726.14, table:visibility 19.749 and xml:id 19.914.

The <table:table-column> element has no child elements.

9.1.7<table:table-header-rows>

The <table:table-header-rows> element represents row headers in a table. It is composed of adjacent <table:table-row> 9.1.3 elements.

Note: Use of the <table:table-header-rows> element increases accessibility. The use of styles to designate row headers diminishes accessibility.

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 shall not contain more than one <table:table-header-rows> element, except that the table contains grouped rows defined by one or more <table:table-row-group> 9.1.9 elements. In this case, the table and each distinct group may contain one <table:table-header-rows> element, if and only if the table rows contained in the <table:table-header-rows> elements are adjacent.

Consumers that do not support header rows shall process header rows as non-header rows.

The <table:table-header-rows> element is usable within the following elements: <table:table> 9.1.2 and <table:table-row-group> 9.1.9.

The <table:table-header-rows> element has no attributes.

The <table:table-header-rows> element has the following child elements: <table:table-row> 9.1.3 and <text:soft-page-break> 5.6.

9.1.8<table:table-rows>

The <table:table-rows> element contains groups of <table:table-row> 9.1.3 elements that do not repeat when a table spans more than one page.

The <table:table-rows> element is usable within the following elements: <table:table> 9.1.2 and <table:table-row-group> 9.1.9.

The <table:table-rows> element has no attributes.

The <table:table-rows> element has the following child elements: <table:table-row> 9.1.3 and <text:soft-page-break> 5.6.

9.1.9<table:table-row-group>

The <table:table-row-group> element groups adjacent table rows that do not appear as table headers. Every group can contain a new group, rows, and row headers. A row group can be visible or hidden.

The <table:table-row-group> element is usable within the following elements: <table:table> 9.1.2 and <table:table-row-group> 9.1.9.

The <table:table-row-group> element has the following attribute: table:display 19.617.

The <table:table-row-group> element has the following child elements: <table:table-header-rows> 9.1.7, <table:table-row> 9.1.3, <table:table-row-group> 9.1.9, <table:table-rows> 9.1.8, <text:soft-page-break> 5.6.

9.1.10<table:table-column-group>

The <table:table-column-group> element groups adjacent table columns. Every group can contain a new group, columns, and column headers. A column group can be visible or hidden.

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.

The <table:table-column-group> element is usable within the following elements: <table:table> 9.1.2 and <table:table-column-group> 9.1.10.

The <table:table-column-group> element has the following attribute: table:display 19.617.

The <table:table-column-group> element has the following child elements: <table:table-column> 9.1.6, <table:table-column-group> 9.1.10, <table:table-columns> 9.1.12, <table:table-header-columns> 9.1.11.

9.1.11<table:table-header-columns>

The <table:table-header-columns> element represents column headers in a table. It is composed of adjacent <table:table-column> 9.1.6 elements.

Note: Use of the <table:table-header-columns> element increases accessibility The use of styles to designate column headers diminishes accessibility.

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 shall not contain more than one <table:table-header-columns> element, except that the table contains grouped rows defined by one or more <table:table-column-group> 9.1.10 elements. In this case, the table and each distinct group may contain one <table:table-header-columns> element, if and only if the table columns contained in the <table:table-header-columns> elements are adjacent.

Consumers that do not support header columns shall process header column as non header columns .

The <table:table-header-columns> element is usable within the following elements: <table:table> 9.1.2 and <table:table-column-group> 9.1.10.

The <table:table-header-columns> element has no attributes.

The <table:table-header-columns> element has the following child element: <table:table-column> 9.1.6.

9.1.12<table:table-columns>

The <table:table-columns> element contains groups of <table:table-column> 9.1.6 elements that do not repeat when a table spans more than one page.

The <table:table-columns> element is usable within the following elements: <table:table> 9.1.2 and <table:table-column-group> 9.1.10.

The <table:table-columns> element has no attributes.

The <table:table-columns> element has the following child element: <table:table-column> 9.1.6.

9.1.13<table:title>

The <table:title> element specifies a title for a table. The element shall not be used if the parent <table:table> element is contained within a <draw:frame> element. In that case, the table's title is specified the by <svg:title> child element of <draw:frame>.

The <table:title> element is usable within the following element: <table:table> 9.1.2.

The <table:title> element has no attributes.

The <table:title> element has no child elements.

The <table:title> element has character data content.

9.1.14<table:desc>

The <table:desc> element specifies a prose description of a table that may be used to support accessibility. See appendix D The element shall not be used if the parent <table:table> element is contained within a <draw:frame> element. In that case, the table's description is specified the by <svg:desc> child element of <draw:frame>.

The <table:desc> element is usable within the following element: <table:table> 9.1.2.

The <table:desc> element has no attributes.

The <table:desc> element has no child elements.

The <table:desc> element has character data content.

9.2Advanced Tables

9.2.1Referencing Table Cells

To reference cells in a table, cell addresses are used. Cell addresses are constructed as follows:

  1. 1)The name of the table. 

  2. 2)A dot “.” (U+002E, FULL STOP). 

  3. 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. 

  4. 4)A numeric value representing the row. The number 1 represents the first row, the number 2 represents the second row, and so on. 

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.

The structure of the address of a cell in a subtable is as follows:

  1. 1)The address of the cell that contains the subtable. 

  2. 2)A dot “.” (U+002E, FULL STOP). 

  3. 3)The address of the cell in the subtable. 

If the name of the table contains blanks, dots “.” (U+002E, FULL STOP) or apostrophes “'” (U+0027, APOSTROPHE), the name shall be quoted with apostrophes “'” (U+0027, APOSTROPHE). Any apostrophes in the name shall be escaped by doubling the”'”( U+0027, APOSTROPHE) character.

The behavior of a consumer when a cell is referenced but not declared is implementation-dependent

9.2.2Absolute and relative cell addressing

Cells can be referenced by using either absolute addresses or relative addresses. When an operation is performed on a table cell absolute cell references do not change. Relative cell references are adapted to the address of the target cell of a copy operation.

To create an absolute address, a dollar sign “$” (U+0024, DOLLAR SIGN) shall be placed before each table name, column reference, and row reference. Absolute and relative references may be mixed within a single cell address. Absolute addresses shall contain a table name.

When differentiation between absolute and relative addresses is not necessary, the dollar signs in absolute addresses may be omitted.

9.2.3Cell Range Address

A cell range is a number of adjacent cells forming a rectangular shape. The rectangle stretches from the cell on the logical top left to the cell on the logical bottom right.

A cell range address references a cell range. A cell range address consists of:

  1. 1)The address of the cell at the top left of the range. 

  2. 2)A colon “:” (U+003A, COLON). 

  3. 3)The address of the cell at the bottom right of the range. 

The smallest range is a single cell. The range address of a single cell is the same as the cell address.

9.2.4Column and Row Range Addresses

Column and row addresses are cell range addresses that reference a entire rows or columns.

The syntax of a row address is the same as a cell address, except the alphabetic values that indicate the column are omitted.

The syntax of a column address is the same as a cell address, except the numeric values that indicate the row are omitted.

9.2.5Cell Range Address List

A cell range address list is a list of cell range addresses and cell addresses. Each item in the list is separated by white space. If any table name used in the list contains a “ “ (U+0020, SPACE) character, the table name is quoted within apostrophes “'” ( U+0027, APOSTROPHE).

9.2.6<table:table-source>

The <table:table-source> element represents a link to a table that provides a source for a table.

The <table:table-source> element is usable within the following element: <table:table> 9.1.2.

The <table:table-source> element has the following attributes: table:filter-name 19.638, table:filter-options 19.639, table:mode 19.671, table:refresh-delay 19.701, table:table-name 19.729, xlink:actuate 19.909, xlink:href 19.910.32 and xlink:type 19.913.

The <table:table-source> element has no child elements.

9.2.7<table:scenario>

The <table:scenario> element defines a scenario for display on a table. A table represented by a <table:table> element which contains a <table:scenario> child element is called a scenario table.

A scenario is one or more cell ranges of a table whose contents replaces the contents of the cell ranges in the nearest non-scenario table preceding the scenario table in document order. If multiple scenarios are defined for a cell range, an user may choose between the scenarios. The names of the scenarios are the same as the names of tables which contain the <table:scenario> elements.

Display of the border of a scenario table is controlled by its table:display-border attribute.19.618

Note: Display of the border of a scenario is the only visible indication that the displayed data is the result of the application of a scenario to the data in the table.

Only one scenario table can be applied to a range at one time.

Note: A table can have multiple scenarios applied to it so long as the ranges of application do not overlap.

The <table:scenario> element is usable within the following element: <table:table> 9.1.2.

The <table:scenario> element has the following attributes: table:border-color 19.588, table:comment 19.595, table:copy-back 19.602, table:copy-formulas 19.603, table:copy-styles 19.604, table:display-border 19.618, table:is-active 19.652, table:protected 19.696.3 and table:scenario-ranges 19.705.

The <table:scenario> element has no child elements.

9.2.8<table:shapes>

The <table:shapes> element contains all the elements that represent graphic shapes that are anchored on a table where this element occurs.

The <table:shapes> element is usable within the following element: <table:table> 9.1.2.

The <table:shapes> element has no attributes.

The <table:shapes> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

9.3Advanced Table Cells

9.3.1<table:cell-range-source>

The <table:cell-range-source> element represents a database range or named range of another file in a cell range. The first cell in the cell range contains this element. A cell range can be linked to a database range or named range of another file.

The <table:cell-range-source> element is usable within the following elements: <table:covered-table-cell> 9.1.5 and <table:table-cell> 9.1.4.

The <table:cell-range-source> element has the following attributes: table:filter-name 19.638, table:filter-options 19.639, table:last-column-spanned 19.658, table:last-row-spanned 19.660, table:name 19.673.2, table:refresh-delay 19.701, xlink:actuate 19.909, xlink:href 19.910.31 and xlink:type 19.913.

The <table:cell-range-source> element has no child elements.

9.3.2<table:detective>

The <table:detective> element is a container for <table:operation> 9.3.3 and <table:highlighted-range> 9.3.4 elements, providing information about what relationships between the current cell and other cells are revealed in the presentation of the table.  

The <table:detective> element is usable within the following elements: <table:covered-table-cell> 9.1.5 and <table:table-cell> 9.1.4.

The <table:detective> element has no attributes.

The <table:detective> element has the following child elements: <table:highlighted-range> 9.3.4 and <table:operation> 9.3.3.

9.3.3<table:operation>

The <table:operation> element specifies the name of a detective operation that leads to the discovery of relationships between cells (table:name, 19.673) and the order in which those operations are applied (table:index, 19.651).Once relationships between cells have been discovered, those cells are highlighted to show those relationships.

Note: A single cell may be the subject of one or more detective operations.

The <table:operation> element is usable within the following element: <table:detective> 9.3.2.

The <table:operation> element has the following attributes: table:index 19.651 and table:name 19.673.11.

The <table:operation> element has no child elements.

9.3.4<table:highlighted-range>

The <table:highlighted-range> element specifies a cell range that is highlighted in the UI either because of detective operations defined by a <table:operation> element or because it contains an error or invalid data.

The nature of the highlighting is implementation dependent.

 This element represents the state of the document at the time the detective operations or error conditions were calculated. It may not accurately represent the current state of the document.

The <table:highlighted-range> element is usable within the following element: <table:detective> 9.3.2.

The <table:highlighted-range> element has the following attributes: table:cell-range-address 19.593.7, table:contains-error 19.599, table:direction 19.616 and table:marked-invalid 19.664.

The <table:highlighted-range> element has no child elements.

9.4Spreadsheet Document Content

9.4.1<table:calculation-settings>

The <table:calculation-settings> element is a container for settings that affect the calculation of formula.

The <table:calculation-settings> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7 and <office:text> 3.4.

The <table:calculation-settings> element has the following attributes: table:automatic-find-labels 19.585, table:case-sensitive 19.590, table:null-year 19.674, table:precision-as-shown 19.692, table:search-criteria-must-apply-to-whole-cell 19.707, table:use-regular-expressions 19.743 and table:use-wildcards 19.744.

The <table:calculation-settings> element has the following child elements: <table:iteration> 9.4.3 and <table:null-date> 9.4.2.

9.4.2<table:null-date>

The <table:null-date> element specifies the null date for a spreadsheet document. 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.

Note: Commonly used values are 12/30/1899, 01/01/1900, and 01/01/1904.

The <table:null-date> element is usable within the following element: <table:calculation-settings> 9.4.1.

The <table:null-date> element has the following attributes: table:date-value 19.614 and table:value-type 19.748.

The <table:null-date> element has no child elements.

9.4.3<table:iteration>

The <table:iteration> element enables formulas with iterative (or cyclic) references to be calculated after a specific number of iterations. If iterative calculations are not enabled, a formula expression containing a cyclic cell reference returns an error.

If the table:status attribute has the value enable and iterating through the cyclic dependencies does not deliver a result that satisfies the condition specified by the table:maximum-difference attribute within a number of iterations specified by the table:steps attribute for all cells in the cyclic dependencies, an error is returned.

 

The <table:iteration> element is usable within the following element: <table:calculation-settings> 9.4.1.

The <table:iteration> element has the following attributes: table:maximum-difference 19.666, table:status 19.722 and table:steps 19.724.

The <table:iteration> element has no child elements.

9.4.4<table:content-validations>

The <table:content-validations> element contains all the validation rules for the content of table cells.

The <table:content-validations> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7 and <office:text> 3.4.

The <table:content-validations> element has no attributes.

The <table:content-validations> element has the following child element: <table:content-validation> 9.4.5.

9.4.5<table:content-validation>

The <table:content-validation> element specifies a validation rule for table cell content.

The names of validation rules are stored in the table:name attribute of a <table:content-validation> element.

The <table:content-validation> element is usable within the following element: <table:content-validations> 9.4.4.

The <table:content-validation> element has the following attributes: table:allow-empty-cell 19.583, table:base-cell-address 19.586, table:condition 19.596, table:display-list 19.621 and table:name 19.673.3.

The <table:content-validation> element has the following child elements: <office:event-listeners> 10.3.19, <table:error-macro> 9.4.8, <table:error-message> 9.4.7 and <table:help-message> 9.4.6.

9.4.6<table:help-message>

The <table:help-message> element specifies a message to display if a user selects a cell.

The <table:help-message> element is usable within the following element: <table:content-validation> 9.4.5.

The <table:help-message> element has the following attributes: table:display 19.617 and table:title 19.733.

The <table:help-message> element has the following child element: <text:p> 5.1.3.

9.4.7<table:error-message>

The <table:error-message> element specifies a message to display if a user tries to enter invalid content into a cell. That is when a validation rule's condition evaluates to “false” on the content the user attempts to enter.

The <table:error-message> element is usable within the following element: <table:content-validation> 9.4.5.

The <table:error-message> element has the following attributes: table:display 19.617, table:message-type 19.670 and table:title 19.733.

The <table:error-message> element has the following child element: <text:p> 5.1.3.

9.4.8<table:error-macro>

The <table:error-macro> element specifies if a macro should be executed upon an attempt to enter invalid content.

A macro is specified by an <office:event-listeners> element. 14.4 The event name shall be one that specifies an event that is called on invalid user input.

The <table:error-macro> element is usable within the following element: <table:content-validation> 9.4.5.

The <table:error-macro> element has the following attribute: table:execute 19.634.

The <table:error-macro> element has no child elements.

9.4.9<table:label-range>

The <table:label-range> element specifies a label cell range which contain labels, and a data cell range which specifies the rows or columns whose content is referenced by the labels.

There are two types of label ranges:

Data and label ranges should match in both height and vertical position for row orientation, or in both width and horizontal position for column orientation.

The <table:label-range> element is usable within the following element: <table:label-ranges> 9.4.10.

The <table:label-range> element has the following attributes: table:data-cell-range-address 19.608, table:label-cell-range-address 19.656 and table:orientation 19.686.4.

The <table:label-range> element has no child elements.

9.4.10<table:label-ranges>

The <table:label-ranges> element contains all the <table:label-range> elements in a document.

The <table:label-ranges> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7 and <office:text> 3.4.

The <table:label-ranges> element has no attributes.

The <table:label-ranges> element has the following child element: <table:label-range> 9.4.9.

9.4.11<table:named-expressions>

The <table:named-expressions> element contains assignments of names to expressions.

The following expressions may have names:

If the <table:named-expressions> element is used with a <table:table> element, the scope of the named expressions are local to that table element.  

The <table:named-expressions> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7, <office:text> 3.4 and <table:table> 9.1.2.

The <table:named-expressions> element has no attributes.

The <table:named-expressions> element has the following child elements: <table:named-expression> 9.4.13 and <table:named-range> 9.4.12.

9.4.12<table:named-range>

The <table:named-range> element specifies a cell range that has a name assigned.

The <table:named-range> element is usable within the following element: <table:named-expressions> 9.4.11.

The <table:named-range> element has the following attributes: table:base-cell-address 19.586, table:cell-range-address 19.593.8, table:name 19.673.10 and table:range-usable-as 19.700.

The <table:named-range> element has no child elements.

9.4.13<table:named-expression>

The <table:named-expression> element represents an expression with a name.

The <table:named-expression> element is usable within the following element: <table:named-expressions> 9.4.11.

The <table:named-expression> element has the following attributes: table:base-cell-address 19.586, table:expression 19.635 and table:name 19.673.9.

The <table:named-expression> element has no child elements.

9.4.14<table:database-ranges>

The <table:database-ranges> element contains all the <table:database-range> elements in a document.

The <table:database-ranges> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7 and <office:text> 3.4.

The <table:database-ranges> element has no attributes.

The <table:database-ranges> element has the following child element: <table:database-range> 9.4.15.

9.4.15<table:database-range>

The <table:database-range> element defines a single database range. A database range is a named area in a table upon which database operations are performed.

The <table:database-range> element is usable within the following element: <table:database-ranges> 9.4.14.

The <table:database-range> element has the following attributes: table:contains-header 19.600, table:display-filter-buttons 19.620, table:has-persistent-data 19.647, table:is-selection 19.654, table:name 19.673.8, table:on-update-keep-size 19.682, table:on-update-keep-styles 19.683, table:orientation 19.686.3, table:refresh-delay 19.701 and table:target-range-address 19.731.3.

The <table:database-range> element has the following child elements: <table:database-source-query> 9.4.18, <table:database-source-sql> 9.4.16, <table:database-source-table> 9.4.17, <table:filter> 9.5.2, <table:sort> 9.4.19 and <table:subtotal-rules> 9.4.21.

9.4.16<table:database-source-sql>

The <table:database-source-sql> element specifies an [SQL] database that contains the source data of a database range.

The <table:database-source-sql> element is usable within the following elements: <table:database-range> 9.4.15 and <table:data-pilot-table> 9.6.3.

The <table:database-source-sql> element has the following attributes: table:database-name 19.609, table:parse-sql-statement 19.689 and table:sql-statement 19.716.

The <table:database-source-sql> element has no child elements.

9.4.17<table:database-source-table>

The <table:database-source-table> element specifies the database and table that acts as the source data for a database range.

The <table:database-source-table> element is usable within the following elements: <table:database-range> 9.4.15 and <table:data-pilot-table> 9.6.3.

The <table:database-source-table> element has the following attributes: table:database-name 19.609 and table:database-table-name 19.610.

The <table:database-source-table> element has no child elements.

9.4.18<table:database-source-query>

The <table:database-source-query> element specifies the query that produces the source data for a database range.

The <table:database-source-query> element is usable within the following elements: <table:database-range> 9.4.15 and <table:data-pilot-table> 9.6.3.

The <table:database-source-query> element has the following attributes: table:database-name 19.609 and table:query-name 19.699.

The <table:database-source-query> element has no child elements.

9.4.19<table:sort>

The <table:sort> element <table:sort> specifies the sort keys to be applied to a database range.

The <table:sort> element is usable within the following element: <table:database-range> 9.4.15.

The <table:sort> element has the following attributes: table:algorithm 19.581, table:bind-styles-to-content 19.587, table:case-sensitive 19.590, table:country 19.606, table:embedded-number-behavior 19.624, table:language 19.657, table:rfc-language-tag 19.703, table:script 19.706 and table:target-range-address 19.731.5.

The <table:sort> element has the following child element: <table:sort-by> 9.4.20.

9.4.20<table:sort-by>

The <table:sort-by> element specifies a key or field to sort, the data type of this field, and how to sort it for a database range.

The <table:sort-by> element is usable within the following element: <table:sort> 9.4.19.

The <table:sort-by> element has the following attributes: table:data-type 19.611.3, table:field-number 19.637 and table:order 19.685.

The <table:sort-by> element has no child elements.

9.4.21<table:subtotal-rules>

The <table:subtotal-rules> element is a container for <table:subtotal-rule> elements which specify the calculation of provisional results (called subtotals) for a database range. Cells of the same field form a group. A provisional result is calculated and display at the end of each group.

The <table:subtotal-rules> element is usable within the following element: <table:database-range> 9.4.15.

The <table:subtotal-rules> element has the following attributes: table:bind-styles-to-content 19.587, table:case-sensitive 19.590 and table:page-breaks-on-group-change 19.687.

The <table:subtotal-rules> element has the following child elements: <table:sort-groups> 9.4.22 and <table:subtotal-rule> 9.4.23.

9.4.22<table:sort-groups>

The <table:sort-groups> element specifies a sort order for columns or rows of a table.

The <table:sort-groups> element is usable within the following element: <table:subtotal-rules> 9.4.21.

The <table:sort-groups> element has the following attributes: table:data-type 19.611.4 and table:order 19.685.

The <table:sort-groups> element has no child elements.

9.4.23<table:subtotal-rule>

The <table:subtotal-rule> element specifies the calculation of subtotals for a row or column. As the container element for <table:subtotal-field>, the calculation specified by this element may use provisional results in its calculation.

The <table:subtotal-rule> element is usable within the following element: <table:subtotal-rules> 9.4.21.

The <table:subtotal-rule> element has the following attribute: table:group-by-field-number 19.645.

The <table:subtotal-rule> element has the following child element: <table:subtotal-field> 9.4.24.

9.4.24<table:subtotal-field>

The <table:subtotal-field> element specifies the field number and the function that is applied to the content of that field to calculate a provisional result.

The <table:subtotal-field> element is usable within the following element: <table:subtotal-rule> 9.4.23.

The <table:subtotal-field> element has the following attributes: table:field-number 19.637 and table:function 19.643.5.

The <table:subtotal-field> element has no child elements.

9.5Filters

9.5.1General

Filter element specify conditions that if not met, render portions of a table invisible.

9.5.2<table:filter>

The <table:filter> element is a container for elements that specify filters for data contained in database ranges or data pilot tables. The filters are applied to all rows in the database range or the data pilot table. Rows where one or more filter conditions do not evaluate to true are made invisible.

The <table:filter> element is usable within the following elements: <table:database-range> 9.4.15 and <table:source-cell-range> 9.6.5.

The <table:filter> element has the following attributes: table:condition-source 19.597, table:condition-source-range-address 19.598, table:display-duplicates 19.619 and table:target-range-address 19.731.4.

The <table:filter> element has the following child elements: <table:filter-and> 9.5.3, <table:filter-condition> 9.5.5 and <table:filter-or> 9.5.4.

9.5.3<table:filter-and>

The <table:filter-and> element specifies that the logical operator AND is applied to conditions specified by the child elements of this element.

The <table:filter-and> element is usable within the following elements: <table:filter> 9.5.2 and <table:filter-or> 9.5.4.

The <table:filter-and> element has no attributes.

The <table:filter-and> element has the following child elements: <table:filter-condition> 9.5.5 and <table:filter-or> 9.5.4.

9.5.4<table:filter-or>

The <table:filter-or> element specifies that the logical operator OR is applied to conditions specified by the child elements of this element.

The <table:filter-or> element is usable within the following elements: <table:filter> 9.5.2 and <table:filter-and> 9.5.3.

The <table:filter-or> element has no attributes.

The <table:filter-or> element has the following child elements: <table:filter-and> 9.5.3 and <table:filter-condition> 9.5.5.

9.5.5<table:filter-condition>

The <table:filter-condition> element specifies a single condition to apply in a filter operation.

The filter condition is either specified

If one or more of <table:filter-set-item> elements are present as children of the <table:filter-condition> element, the table:operator, table:value and table:data-type attributes are ignored.

Note: To improve backward compatibility with OpenDocument 1.1 documents, the following attributes should have these values if <table:filter-set-item> elements are included: table:operator: "=", table:value: value of the first <table:filter-set-item> child element, table:data-type: "text".

The <table:filter-condition> element is usable within the following elements: <table:filter> 9.5.2, <table:filter-and> 9.5.3 and <table:filter-or> 9.5.4.

The <table:filter-condition> element has the following attributes: table:case-sensitive 19.590, table:data-type 19.611.2, table:field-number 19.637, table:operator 19.684 and table:value 19.747.1.

The <table:filter-condition> element has the following child element: <table:filter-set-item> 9.5.6.

9.5.6<table:filter-set-item>

The <table:filter-set-item> element specifies a single value used in a filter condition where the table:operator attribute is set to "=", and the table:data-type attribute to text. The filter sub condition in which the element is included evaluates to true for a specified cell, if, and only if, the value of the cell is equal to one of the values in the set specified by be <table:filter> element.

The <table:filter-set-item> element is usable within the following element: <table:filter-condition> 9.5.5.

The <table:filter-set-item> element has the following attribute: table:value 19.747.2.

The <table:filter-set-item> element has no child elements.

9.6Data Pilot Tables

9.6.1General

Data pilot tables enable users to rearrange data from data sources so as to create new relationships between data elements or to view data from a variety of perspectives. This is in contrast to scenario tables 9.2.7, where the data elements remain fixed but the values and operations on them are varied to illustrate different outcomes.

The behavior of a data pilot table is specified by fields, where each field has a name and an orientation. The category columns are specified by fields with the orientation “row” or “column” and data columns are specified by fields that have the orientation “data”.

A third type of fields are data layout fields. Data layout fields are not connected to a column in the source table, but are used to change the layout of the data pilot table.

The order in which fields are specified determines the order in which the data of category columns are grouped and results are displayed.

9.6.2<table:data-pilot-tables>

The <table:data-pilot-tables> element contains all the data pilot tables within a document.

The <table:data-pilot-tables> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7 and <office:text> 3.4.

The <table:data-pilot-tables> element has no attributes.

The <table:data-pilot-tables> element has the following child element: <table:data-pilot-table> 9.6.3.

9.6.3<table:data-pilot-table>

The <table:data-pilot-table> element contains the elements that define the sources of a data pilot table.

The <table:data-pilot-table> element is usable within the following element: <table:data-pilot-tables> 9.6.2.

The <table:data-pilot-table> element has the following attributes: table:application-data 19.584, table:buttons 19.589, table:drill-down-on-double-click 19.623, table:grand-total 19.644, table:identify-categories 19.649, table:ignore-empty-rows 19.650, table:name 19.673.7, table:show-filter-button 19.711 and table:target-range-address 19.731.2.

The <table:data-pilot-table> element has the following child elements: <table:database-source-query> 9.4.18, <table:database-source-sql> 9.4.16, <table:database-source-table> 9.4.17, <table:data-pilot-field> 9.6.7, <table:source-cell-range> 9.6.5 and <table:source-service> 9.6.6.

9.6.4Data Pilot Table Source

The source of a data pilot table is specified by one of the following elements:

9.6.5<table:source-cell-range>

The <table:source-cell-range> element specifies a cell range as a source of data for a data pilot table. A filter may be specified by a <table:filter> child element that is applied prior to return of data to a data pilot table.

The <table:source-cell-range> element is usable within the following element: <table:data-pilot-table> 9.6.3.

The <table:source-cell-range> element has the following attribute: table:cell-range-address 19.593.9.

The <table:source-cell-range> element has the following child element: <table:filter> 9.5.2.

9.6.6<table:source-service>

The <table:source-service> element specifies a service that returns data to a data pilot table.

The <table:source-service> element is usable within the following element: <table:data-pilot-table> 9.6.3.

The <table:source-service> element has the following attributes: table:name 19.673.12, table:object-name 19.681, table:password 19.690, table:source-name 19.715 and table:user-name 19.746.

The <table:source-service> element has no child elements.

9.6.7<table:data-pilot-field>

The <table:data-pilot-field> element specifies a field for a data pilot table.

The <table:data-pilot-field> element is usable within the following element: <table:data-pilot-table> 9.6.3.

The <table:data-pilot-field> element has the following attributes: table:function 19.643.3, table:is-data-layout-field 19.653, table:orientation 19.686.2, table:selected-page 19.708, table:source-field-name 19.714 and table:used-hierarchy 19.745.

The <table:data-pilot-field> element has the following child elements: <table:data-pilot-field-reference> 9.6.16, <table:data-pilot-groups> 9.6.17 and <table:data-pilot-level> 9.6.8.

9.6.8<table:data-pilot-level>

The <table:data-pilot-level> element acts as a container for elements that specify addition information about a data pilot field.

The <table:data-pilot-level> element is usable within the following element: <table:data-pilot-field> 9.6.7.

The <table:data-pilot-level> element has the following attribute: table:show-empty 19.710.

The <table:data-pilot-level> element has the following child elements: <table:data-pilot-display-info> 9.6.13, <table:data-pilot-layout-info> 9.6.15, <table:data-pilot-members> 9.6.11, <table:data-pilot-sort-info> 9.6.14 and <table:data-pilot-subtotals> 9.6.9.

9.6.9<table:data-pilot-subtotals>

The <table:data-pilot-subtotals> element contains the <table:data-pilot-subtotal> elements for a data pilot table.

The <table:data-pilot-subtotals> element is usable within the following element: <table:data-pilot-level> 9.6.8.

The <table:data-pilot-subtotals> element has no attributes.

The <table:data-pilot-subtotals> element has the following child element: <table:data-pilot-subtotal> 9.6.10.

9.6.10<table:data-pilot-subtotal>

The <table:data-pilot-subtotal> element contains the results of a single subtotal calculation.

The <table:data-pilot-subtotal> element is usable within the following element: <table:data-pilot-subtotals> 9.6.9.

The <table:data-pilot-subtotal> element has the following attribute: table:function 19.643.4.

The <table:data-pilot-subtotal> element has no child elements.

9.6.11<table:data-pilot-members>

The <table:data-pilot-members> element specifies whether category columns in data pilot tables or information for category columns is displayed or not.

The <table:data-pilot-members> element is usable within the following element: <table:data-pilot-level> 9.6.8.

The <table:data-pilot-members> element has no attributes.

The <table:data-pilot-members> element has the following child element: <table:data-pilot-member> 9.6.12.

9.6.12<table:data-pilot-member>

The <table:data-pilot-member> element specifies what information is displayed for a member.

The <table:data-pilot-member> element is usable within the following element: <table:data-pilot-members> 9.6.11.

The <table:data-pilot-member> element has the following attributes: table:display 19.617, table:name 19.673.6 and table:show-details 19.709.

The <table:data-pilot-member> element has no child elements.

9.6.13<table:data-pilot-display-info>

The <table:data-pilot-display-info> element restricts the number rows that are displayed for a category column to a specific number of values of a data field.

The <table:data-pilot-display-info> element is usable within the following element: <table:data-pilot-level> 9.6.8.

The <table:data-pilot-display-info> element has the following attributes: table:data-field 19.607, table:display-member-mode 19.622, table:enabled 19.625 and table:member-count 19.667.

The <table:data-pilot-display-info> element has no child elements.

9.6.14<table:data-pilot-sort-info>

The <table:data-pilot-sort-info> element specifies how the members of a category column are sorted.

The <table:data-pilot-sort-info> element is usable within the following element: <table:data-pilot-level> 9.6.8.

The <table:data-pilot-sort-info> element has the following attributes: table:data-field 19.607, table:order 19.685, table:sort-mode 19.712.

The <table:data-pilot-sort-info> element has no child elements.

9.6.15<table:data-pilot-layout-info>

The <table:data-pilot-layout-info> element specifies how to layout a field.

The <table:data-pilot-layout-info> element is usable within the following element: <table:data-pilot-level> 9.6.8.

The <table:data-pilot-layout-info> element has the following attributes: table:add-empty-lines 19.582 and table:layout-mode 19.662.

The <table:data-pilot-layout-info> element has no child elements.

9.6.16<table:data-pilot-field-reference>

The <table:data-pilot-field-reference> element specifies data which can be used to modify the displayed values of data fields.

The <table:data-pilot-field-reference> element is usable within the following element: <table:data-pilot-field> 9.6.7.

The <table:data-pilot-field-reference> element has the following attributes: table:field-name 19.636, table:member-name 19.668, table:member-type 19.669 and table:type 19.735.2.

The <table:data-pilot-field-reference> element has no child elements.

9.6.17<table:data-pilot-groups>

The <table:data-pilot-groups> element specifies that a data pilot field is a group field. A group field allows grouping of other fields.

Grouping may also take place for numeric or date values.

The <table:data-pilot-groups> element is usable within the following element: <table:data-pilot-field> 9.6.7.

The <table:data-pilot-groups> element has the following attributes: table:date-end 19.612, table:date-start 19.613, table:end 19.626, table:grouped-by 19.646, table:source-field-name 19.714, table:start 19.717 and table:step 19.723.

The <table:data-pilot-groups> element has the following child element: <table:data-pilot-group> 9.6.18.

9.6.18<table:data-pilot-group>

The <table:data-pilot-group> element specifies names of groups if grouping takes place by specifying the member names.

The <table:data-pilot-group> element is usable within the following element: <table:data-pilot-groups> 9.6.17.

The <table:data-pilot-group> element has the following attribute: table:name 19.673.4.

The <table:data-pilot-group> element has the following child element: <table:data-pilot-group-member> 9.6.19.

9.6.19<table:data-pilot-group-member>

The <table:data-pilot-group-member> element specifies the name of a single group member.

The <table:data-pilot-group-member> element is usable within the following element: <table:data-pilot-group> 9.6.18.

The <table:data-pilot-group-member> element has the following attribute: table:name 19.673.5.

The <table:data-pilot-group-member> element has no child elements.

9.7<table:consolidation>

The <table:consolidation> element defines the consolidation of data from multiple table ranges. Consolidation means that a new table range is filled with values calculated by applying a mathematical function to all cells in the source table ranges that have the same relative address within these ranges.

The <table:consolidation> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7 and <office:text> 3.4.

The <table:consolidation> element has the following attributes: table:function 19.643.2, table:link-to-source-data 19.663, table:source-cell-range-addresses 19.713, table:target-cell-address 19.730 and table:use-labels 19.742.

The <table:consolidation> element has no child elements.

9.8<table:dde-links>

The <table:dde-links> container element stores all DDE links for use in spreadsheet formulas. Every link contains the DDE Source and the data of the last connection.

See 14.6 for the use of DDE connections.

The <table:dde-links> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7 and <office:text> 3.4.

The <table:dde-links> element has no attributes.

The <table:dde-links> element has the following child element: <table:dde-link> 14.6.4.

9.9Change Tracking in Spreadsheets

9.9.1General

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 table.

9.9.2<table:tracked-changes>

The <table:tracked-changes> element is a container for tracked changes of a spreadsheet. Its presence further enables change tracking for a spreadsheet.

The <table:tracked-changes> element is usable within the following element: <office:spreadsheet> 3.7.

The <table:tracked-changes> element has the following attribute: table:track-changes 19.734.

The <table:tracked-changes> element has the following child elements: <table:cell-content-change> 9.9.17, <table:deletion> 9.9.9, <table:insertion> 9.9.3 and <table:movement> 9.9.13.

9.9.3<table:insertion>

The <table:insertion> element contains the information that identifies any insertion of content. This content can be one or more rows, one or more columns, or a table.

The <table:insertion> element is usable within the following element: <table:tracked-changes> 9.9.2.

The <table:insertion> element has the following attributes: table:acceptance-state 19.580, table:count 19.605, table:id 19.648, table:position 19.691, table:rejecting-change-id 19.702, table:table 19.727 and table:type 19.735.4.

The <table:insertion> element has the following child elements: <office:change-info> 5.5.6, <table:deletions> 9.9.6 and <table:dependencies> 9.9.4.

9.9.4<table:dependencies>

The <table:dependencies> element contains the information on which other tracked changes a tracked change depends.

The <table:dependencies> element is usable within the following elements: <table:cell-content-change> 9.9.17, <table:deletion> 9.9.9, <table:insertion> 9.9.3 and <table:movement> 9.9.13.

The <table:dependencies> element has no attributes.

The <table:dependencies> element has the following child element: <table:dependency> 9.9.5.

9.9.5<table:dependency>

The <table:dependency> element contains the information about one change action on which its parent element depends. The change action on which the current change depends is referenced by its table:id attribute

The <table:dependency> element is usable within the following element: <table:dependencies> 9.9.4.

The <table:dependency> element has the following attribute: table:id 19.648.

The <table:dependency> element has no child elements.

9.9.6<table:deletions>

The <table:deletions> element contains all deletions which are performed while tracking a single change to a table.

The <table:deletions> element is usable within the following elements: <table:cell-content-change> 9.9.17, <table:deletion> 9.9.9, <table:insertion> 9.9.3 and <table:movement> 9.9.13.

The <table:deletions> element has no attributes.

The <table:deletions> element has the following child elements: <table:cell-content-deletion> 9.9.7 and <table:change-deletion> 9.9.8.

9.9.7<table:cell-content-deletion>

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 table:id attribute is present, it specifies the id of a previously tracked change for the cell that gets deleted by the current change.

The <table:cell-content-deletion> element is usable within the following element: <table:deletions> 9.9.6.

The <table:cell-content-deletion> element has the following attribute: table:id 19.648.

The <table:cell-content-deletion> element has the following child elements: <table:cell-address> 9.9.18 and <table:change-track-table-cell> 9.9.16.

9.9.8<table:change-deletion>

The <table:change-deletion> element specifies the value of the table:id of a previously tracked change that is deleted by the current change.

The <table:change-deletion> element is usable within the following element: <table:deletions> 9.9.6.

The <table:change-deletion> element has the following attribute: table:id 19.648.

The <table:change-deletion> element has no child elements.

9.9.9<table:deletion>

A <table:deletion> element contains content that was deleted while change tracking was enabled. The content of a cell that was deleted is contained in either a <table:dependencies>, or a <table:deletions> element.

The <table:deletion> element is usable within the following element: <table:tracked-changes> 9.9.2.

The <table:deletion> element has the following attributes: table:acceptance-state 19.580, table:id 19.648, table:multi-deletion-spanned 19.672, table:position 19.691, table:rejecting-change-id 19.702, table:table 19.727 and table:type 19.735.3.

The <table:deletion> element has the following child elements: <office:change-info> 5.5.6, <table:cut-offs> 9.9.10, <table:deletions> 9.9.6 and <table:dependencies> 9.9.4.

9.9.10<table:cut-offs>

A <table:cut-offs> element contains elements that specify the location of tracked but deleted insertions or movements.

The <table:cut-offs> element is usable within the following element: <table:deletion> 9.9.9.

The <table:cut-offs> element has no attributes.

The <table:cut-offs> element has the following child elements: <table:insertion-cut-off> 9.9.11, <table:movement-cut-off> 9.9.12.

9.9.11<table:insertion-cut-off>

The <table:insertion-cut-off> element specifies where an insertion was deleted.

The <table:insertion-cut-off> element is usable within the following element: <table:cut-offs> 9.9.10.

The <table:insertion-cut-off> element has the following attributes: table:id 19.648 and table:position 19.691.

The <table:insertion-cut-off> element has no child elements.

9.9.12<table:movement-cut-off>

The <table:movement-cut-off> element specifies the deletion of a movement.

The <table:movement-cut-off> element is usable within the following element: <table:cut-offs> 9.9.10.

The <table:movement-cut-off> element has the following attributes: table:end-position 19.629, table:position 19.691 and table:start-position 19.719.

The <table:movement-cut-off> element has no child elements.

9.9.13<table:movement>

A <table:movement> element specifies the information that identifies movement of content. This content can be a cell content or a cell range content.

The <table:movement> element is usable within the following element: <table:tracked-changes> 9.9.2.

The <table:movement> element has the following attributes: table:acceptance-state 19.580, table:id 19.648 and table:rejecting-change-id 19.702.

The <table:movement> element has the following child elements: <office:change-info> 5.5.6, <table:deletions> 9.9.6, <table:dependencies> 9.9.4, <table:source-range-address> 9.9.14 and <table:target-range-address> 9.9.15.

9.9.14<table:source-range-address>

The <table:source-range-address> element specifies the source or cell range address of a movement.

The <table:source-range-address> element is usable within the following element: <table:movement> 9.9.13.

The <table:source-range-address> element has the following attributes: table:column 19.594, table:end-column 19.628, table:end-row 19.630, table:end-table 19.631, table:row 19.704, table:start-column 19.718, table:start-row 19.720, table:start-table 19.721 and table:table 19.727.

The <table:source-range-address> element has no child elements.

9.9.15<table:target-range-address>

The <table:target-range-address> element specifies the target cell address or cell range address of a movement.

The <table:target-range-address> element is usable within the following element: <table:movement> 9.9.13.

The <table:target-range-address> element has the following attributes: table:column 19.594, table:end-column 19.628, table:end-row 19.630, table:end-table 19.631, table:row 19.704, table:start-column 19.718, table:start-row 19.720, table:start-table 19.721 and table:table 19.727.

The <table:target-range-address> element has no child elements.

9.9.16<table:change-track-table-cell>

The <table:change-track-table-cell> element specifies the information that tracks changes to a table cell.

The <table:change-track-table-cell> element is usable within the following elements: <table:cell-content-deletion> 9.9.7 and <table:previous> 9.9.19.

The <table:change-track-table-cell> element has the following attributes: office:boolean-value 19.367, office:currency 19.369, office:date-value 19.370, office:string-value 19.379, office:time-value 19.382, office:value 19.384, office:value-type 19.385, table:cell-address 19.591, table:formula 19.642, table:matrix-covered 19.665, table:number-matrix-columns-spanned 19.679 and table:number-matrix-rows-spanned 19.680.

The <table:change-track-table-cell> element has the following child element: <text:p> 5.1.3.

9.9.17<table:cell-content-change>

A <table:cell-content-change> element specifies the information that identifies changes of the cell content.

The <table:cell-content-change> element is usable within the following element: <table:tracked-changes> 9.9.2.

The <table:cell-content-change> element has the following attributes: table:acceptance-state 19.580, table:id 19.648 and table:rejecting-change-id 19.702.

The <table:cell-content-change> element has the following child elements: <office:change-info> 5.5.6, <table:cell-address> 9.9.18, <table:deletions> 9.9.6, <table:dependencies> 9.9.4 and <table:previous> 9.9.19.

9.9.18<table:cell-address>

The <table:cell-address> element contains the address of a cell that has changed. Unlike other cell addresses, the cell address consists of the row, column and table number of the cell. This allows specifying addresses that are outside a valid cell address range.

The <table:cell-address> element is usable within the following elements: <table:cell-content-change> 9.9.17 and <table:cell-content-deletion> 9.9.7.

The <table:cell-address> element has the following attributes: table:column 19.594, table:row 19.704 and table:table 19.727.

The <table:cell-address> element has no child elements.

9.9.19<table:previous>

The <table:previous> element contains the previous cell content which is overwritten by the current change. If a table:id attribute is present, it specifies the id of a previously tracked change for the cell that is changed again by the current change.

The <table:previous> element is usable within the following element: <table:cell-content-change> 9.9.17.

The <table:previous> element has the following attribute: table:id 19.648.

The <table:previous> element has the following child element: <table:change-track-table-cell> 9.9.16.

10Graphic Content

10.1General

This chapter specifies the elements that represent graphic objects and elements used in the representation of graphical objects.

10.2Enhanced Page Features for Graphical Applications

10.2.1<style:handout-master>

The <style:handout-master> element represents a template for the generation of handout pages.

The <style:handout-master> element is usable within the following element: <office:master-styles> 3.15.4.

The <style:handout-master> element has the following attributes: draw:style-name 19.219.26, presentation:presentation-page-layout-name 19.409, presentation:use-date-time-name 19.424, presentation:use-footer-name 19.425, presentation:use-header-name 19.426 and style:page-layout-name 19.504.

The <style:handout-master> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

10.2.2<draw:layer-set>

The <draw:layer-set> element defines a set of layers. If placed inside a <style:master-page> or <draw:page> element it defines a set of layers for that page. If placed inside the <office:master-styles> element it defines a set of layers for all pages that do not have their own set of layers.

Layers group drawing objects. Assigning a shape to a layer does not change its rendering order as defined by its draw:z-index attribute. 19.231

The <draw:layer-set> schema element contains a set of <draw:layer> elements.

The <draw:layer-set> element is usable within the following elements: <draw:page> 10.2.4, <office:master-styles> 3.15.4 and <style:master-page> 16.9.

The <draw:layer-set> element has no attributes.

The <draw:layer-set> element has the following child element: <draw:layer> 10.2.3.

10.2.3<draw:layer>

The <draw:layer> element defines a single layer. Layers group drawing objects.

 Each drawing object inside a drawing or presentation document can be assigned to a layer. Each object that is assigned to a layer inherits the settings of that layer. Drawing objects may be assigned to these layers by the value of their draw:layer attribute.

The <draw:layer> element is usable within the following element: <draw:layer-set> 10.2.2.

The <draw:layer> element has the following attributes: draw:display 19.132, draw:name 19.197.14 and draw:protected 19.207.

The <draw:layer> element has the following child elements: <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.2.4<draw:page>

The <draw:page> element is a container for content in a drawing or presentation document. This element is used for the following:

The <draw:page> element is usable within the following elements: <office:drawing> 3.5 and <office:presentation> 3.6.

The <draw:page> element has the following attributes: draw:id 19.187.3, draw:master-page-name 19.194, draw:name 19.197.19, draw:nav-order 19.198, draw:style-name 19.219.17, presentation:presentation-page-layout-name 19.409, presentation:use-date-time-name 19.424, presentation:use-footer-name 19.425, presentation:use-header-name 19.426 and xml:id 19.914.

The <draw:page> element has the following child elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4, <anim:transitionFilter> 15.2.7, <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:layer-set> 10.2.2, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:forms> 13.2, <presentation:animations> 10.8.1, <presentation:notes> 16.17, <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.2.5<draw:equation>

The <draw:equation> element specifies a formula for the calculation of a value and the name by which that formula can be referenced.

The <draw:equation> element is usable within the following element: <draw:enhanced-geometry> 10.6.2.

The <draw:equation> element has the following attributes: draw:formula 19.171 and draw:name 19.197.8.

The <draw:equation> element has no child elements.

10.3Drawing Shapes

10.3.1General

This section defines graphical objects that may occur within all types of documents.

10.3.2<draw:rect>

The <draw:rect> element represents a rectangular drawing shape.

The <draw:rect> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:rect> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:corner-radius 19.127, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.25, draw:style-name 19.219.22, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:height 19.539.8, svg:rx 19.550, svg:ry 19.551, svg:width 19.571.10, svg:x 19.573.5, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:rect> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.3<draw:line>

The <draw:line> element represents a line.

The <draw:line> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:line> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.15, draw:style-name 19.219.15, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:x1 19.574.1, svg:x2 19.575.1, svg:y1 19.578.1, svg:y2 19.579.1, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:line> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.4<draw:polyline>

The <draw:polyline> element represents a polyline drawing shape.

Consumers may ignore svg:height and svg:width attributes, and determine the size of a shape from the polygon vertices.

The <draw:polyline> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:polyline> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.24, draw:points 19.206, draw:style-name 19.219.21, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:height 19.539.8, svg:viewBox 19.570, svg:width 19.571.10, svg:x 19.573.5, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:polyline> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.5<draw:polygon>

The <draw:polygon> element represents a polygon. A polygon is a closed set of straight lines.

Consumers may ignore svg:height and svg:width attributes, and determine the size of a shape from the polygon vertices.

The <draw:polygon> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:polygon> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.23, draw:points 19.206, draw:style-name 19.219.20, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:height 19.539.8, svg:viewBox 19.570, svg:width 19.571.10, svg:x 19.573.5, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:polygon> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.6<draw:regular-polygon>

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.

The <draw:regular-polygon> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:regular-polygon> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:concave 19.123, draw:corners 19.128, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.26, draw:sharpness 19.211, draw:style-name 19.219.23, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:height 19.539.8, svg:width 19.571.10, svg:x 19.573.5, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:regular-polygon> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.7<draw:path>

The <draw:path> element represents a path. A path is a shape with a user-defined outline. The outline is defined by the svg:d attribute. 19.526

The <draw:path> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:path> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.22, draw:style-name 19.219.19, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:d 19.526, svg:height 19.539.8, svg:viewBox 19.570, svg:width 19.571.10, svg:x 19.573.5, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:path> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.8<draw:circle>

The <draw:circle> element represents a circular drawing shape.

The <draw:circle> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:circle> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:end-angle 19.140, draw:id 19.187.3, draw:kind 19.188, draw:layer 19.189, draw:name 19.197.3, draw:start-angle 19.213, draw:style-name 19.219.8, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:cx 19.524.2, svg:cy 19.525.2, svg:height 19.539.8, svg:r 19.549.2, svg:width 19.571.10, svg:x 19.573.5, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:circle> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.9<draw:ellipse>

The <draw:ellipse> element represents an ellipse.

The <draw:ellipse> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:ellipse> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:end-angle 19.140, draw:id 19.187.3, draw:kind 19.188, draw:layer 19.189, draw:name 19.197.7, draw:start-angle 19.213, draw:style-name 19.219.12, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:cx 19.524.3, svg:cy 19.525.3, svg:height 19.539.8, svg:rx 19.550, svg:ry 19.551, svg:width 19.571.10, svg:x 19.573.5, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:ellipse> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.10<draw:connector>

The <draw:connector> element represents a connected set of one or more lines that visually connects a start and an end point.

Start and/or end points can be defined by references to glue points 10.3.16 or as absolute positions.  The connector's geometric path is defined by the svg:d 19.526 attribute. Consumers may also compute the connector's geometric path considering the draw:type 19.229.2 and draw:line-skew 19.190 attributes, and the formatting properties defined for connectors.

If the svg:d attribute is not present, the connector's geometric path is implementation-dependent. Producers should export the connector's geometric path using the svg:d attribute.

Note: This assists consumers that are not capable of computing a connector path.

The <draw:connector> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:connector> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:end-glue-point 19.142, draw:end-shape 19.144, draw:id 19.187.3, draw:layer 19.189, draw:line-skew 19.190, draw:name 19.197.4, draw:start-glue-point 19.215, draw:start-shape 19.217, draw:style-name 19.219.9, draw:text-style-name 19.227, draw:transform 19.228, draw:type 19.229.2, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:d 19.526, svg:viewBox 19.570, svg:x1 19.574.1, svg:x2 19.575.1, svg:y1 19.578.1, svg:y2 19.579.1, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:connector> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.11<draw:caption>

The <draw:caption> element represents a description attached to a fixed point. It consists of rectangular drawing shape with an additional set of connected lines that connect the rectangle with the fixed point.

The <draw:caption> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:caption> element has the following attributes: draw:caption-id 19.115, draw:caption-point-x 19.116, draw:caption-point-y 19.117, draw:class-names 19.120, draw:corner-radius 19.127, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.2, draw:style-name 19.219.7, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:height 19.539.8, svg:width 19.571.10, svg:x 19.573.5, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:caption> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.12<draw:measure>

The <draw:measure> element represents a shape that is used to measure distances in drawings.

A measure shape consists of two parallel lines, called extension lines, and a line perpendicular to the extension lines, called a dimension line. The dimension line has arrows at its endpoints. It is displayed between the extension lines and terminated by them.

The positions of extension lines and the dimension line are determined by two reference points, called start and end reference points.

The draw:line-distance style attribute defines the distance between the (virtual) line between the reference points, called reference line, and the dimension line. The draw:placing style attributes defines if the measure shape is placed above or below the reference line.

The start reference point is defined by the attributes svg:x1 and svg:y1

The first extension line is drawn on a line as defined by the vector from the start reference point to the start point of the dimension line. The extension line will start along this vector at a distance from the start reference point that is defined by the draw:guide-distance style attribute minus the value of draw:start-guide style attribute.

The end reference point is defined by the attributes svg:x2, and svg:y2.

The second extension line is drawn on a line as defined by the vector from the end reference point to the end point of the dimension line. The extension line will start along this vector at the distance from the end reference point that is defined by the draw:guide-distance style attribute minus the value of draw:end-guide style attribute.

The end points of the extension lines are at the distance defined by the draw:guide-overhang style attribute after the intersection with the dimension line.

The <draw:measure> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:measure> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.17, draw:style-name 19.219.16, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:x1 19.574.1, svg:x2 19.575.1, svg:y1 19.578.1, svg:y2 19.579.1, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:measure> element has the following child elements: <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.3.13<draw:control>

The <draw:control> element represents a shape that is linked to a control inside an <office:forms> element.

The <draw:control> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:control> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:control 19.125, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.5, draw:style-name 19.219.10, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:height 19.539.8, svg:width 19.571.10, svg:x 19.573.5, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:control> element has the following child elements: <draw:glue-point> 10.3.16, <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.3.14<draw:page-thumbnail>

The <draw:page-thumbnail> element represents a rectangular area that displays the thumbnail of a drawing page.

The <draw:page-thumbnail> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:page-thumbnail> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.20, draw:page-number 19.203, draw:style-name 19.219.18, draw:transform 19.228, draw:z-index 19.231, presentation:class 19.389, presentation:class-names 19.390, presentation:placeholder 19.407, presentation:style-name 19.422, presentation:user-transformed 19.427, svg:height 19.539.8, svg:width 19.571.10, svg:x 19.573.5, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:page-thumbnail> element has the following child elements: <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.3.15<draw:g>

The <draw:g> element represents a group of drawing shapes.

Drawing shapes contained by a <draw:g> element that is itself contained by a <draw:a> element, act as hyperlinks using the xlink:href attribute of the containing <draw:a> element. If the included drawing shapes are themselves contained within <draw:a> elements, then the xlink:href attributes of those <draw:a> elements act as the hyperlink information for the shapes they contain.

The <draw:g> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:g> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:id 19.187.3, draw:name 19.197.11, draw:style-name 19.219.14, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:g> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:glue-point> 10.3.16, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.3.16<draw:glue-point>

The <draw:glue-point> element specifies a point in the area of a drawing object to which a connector shape can connect. All drawing objects have four standard glue points located at the center of the four edges of the object's bounding box. Additional glue points may be added to a drawing object by inserting one or more <draw:glue-point> elements into a drawing object element.

The <draw:glue-point> element is usable within the following elements: <dr3d:scene> 10.5.2, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

The <draw:glue-point> element has the following attributes: draw:align 19.111, draw:escape-direction 19.147, draw:id 19.187.2, svg:x 19.573.6 and svg:y 19.577.6.

The <draw:glue-point> element has no child elements.

10.3.17<svg:title>

The <svg:title> element specifies a name for a graphic object.

The <svg:title> element is usable within the following elements: <dr3d:scene> 10.5.2, <draw:area-circle> 10.4.13.4, <draw:area-polygon> 10.4.13.5, <draw:area-rectangle> 10.4.13.3, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:layer> 10.2.3, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page> 10.2.4, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

The <svg:title> element has no attributes.

The <svg:title> element has no child elements.

The <svg:title> element has character data content.

10.3.18<svg:desc>

The <svg:desc> element specifies a prose description of a graphic object that may be used to support accessibility. See appendix D.

The <svg:desc> element is usable within the following elements: <dr3d:scene> 10.5.2, <draw:area-circle> 10.4.13.4, <draw:area-polygon> 10.4.13.5, <draw:area-rectangle> 10.4.13.3, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:layer> 10.2.3, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page> 10.2.4, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

The <svg:desc> element has no attributes.

The <svg:desc> element has no child elements.

The <svg:desc> element has character data content.

10.3.19<office:event-listeners>

The <office:event-listeners> element represents the attachment of an event listener to a drawing shape. See 14.4.

The <office:event-listeners> element is usable within the following elements: <draw:area-circle> 10.4.13.4, <draw:area-polygon> 10.4.13.5, <draw:area-rectangle> 10.4.13.3, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:form> 13.3, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:generic-control> 13.5.25, <form:grid> 13.5.22, <form:hidden> 13.5.21, <form:image> 13.5.16, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9, <form:value-range> 13.5.24, <office:scripts> 3.12, <table:content-validation> 9.4.5, <text:a> 6.1.8 and <text:execute-macro> 7.7.10.

The <office:event-listeners> element has no attributes.

The <office:event-listeners> element has the following child elements: <presentation:event-listener> 10.9.2 and <script:event-listener> 14.4.2.

10.4Frames

10.4.1General

A frame is a container for enhanced content like text boxes, images or objects. A frame may contain multiple renditions of content. A consumer may choose the representation that it supports best.

Multiple representations may share <svg:desc> and <svg:title> elements.

Each child element of a frame is a different representation of the same content. The order of content elements reflects the document author's preference for rendering, with the first child element being preferred. That means that consumers should render the first child element that they support. A frame may contain multiple content elements, but shall contain at least one content element.

Within text documents, frames are also used to position content outside the default text flow of a document.

10.4.2<draw:frame>

The <draw:frame> element represents a frame and serves as the container for elements that may occur in a frame.

Frame formatting properties are stored in styles belonging to the graphic family.

The <draw:frame> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:image> 3.9, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:frame> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:copy-of 19.126, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.10, draw:style-name 19.219.13, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class 19.389, presentation:class-names 19.390, presentation:placeholder 19.407, presentation:style-name 19.422, presentation:user-transformed 19.427, style:rel-height 19.509, style:rel-width 19.510.2, svg:height 19.539.8, svg:width 19.571.10, svg:x 19.573.5, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:frame> element has the following child elements: <draw:applet> 10.4.7, <draw:contour-path> 10.4.11.3, <draw:contour-polygon> 10.4.11.2, <draw:floating-frame> 10.4.10, <draw:glue-point> 10.3.16, <draw:image> 10.4.4, <draw:image-map> 10.4.13.2, <draw:object> 10.4.6.2, <draw:object-ole> 10.4.6.3, <draw:plugin> 10.4.8, <draw:text-box> 10.4.3, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17 and <table:table> 9.1.2.

10.4.3<draw:text-box>

The <draw:text-box> element represents a text box. This element may be used to place text in a container that is outside of the flow of the document.

The <draw:text-box> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:text-box> element has the following attributes: draw:chain-next-name 19.118, draw:corner-radius 19.127, fo:max-height 19.238, fo:max-width 19.239, fo:min-height 19.240, fo:min-width 19.241, text:id 19.809.2 and xml:id 19.914.

The <draw:text-box> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:list> 5.3.1, <text:numbered-paragraph> 5.3.6, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:soft-page-break> 5.6, <text:table-index> 8.5, <text:table-of-content> 8.3 and <text:user-index> 8.7.

10.4.4<draw:image>

The <draw:image> element represents an image. An image can be either:

or

Note: While the image data may have an arbitrary format, vector graphics should be stored in the [SVG] format and bitmap graphics in the [PNG] format.

The <draw:image> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:image> element has the following attributes: draw:filter-name 19.170, xlink:actuate 19.909, xlink:href 19.910.15, xlink:show 19.911, xlink:type 19.913 and xml:id 19.914.

The <draw:image> element has the following child elements: <office:binary-data> 10.4.5, <text:list> 5.3.1 and <text:p> 5.1.3.

10.4.5<office:binary-data>

The <office:binary-data> element contains image data in BASE64 encoding (as defined in [RFC2045]). If this element is present, an xlink:href attribute in its parent element shall be ignored.

Note: The image data may be in an arbitrary data format. Consumers have to analyze the image data to determine the data format that is used.

The <office:binary-data> element is usable within the following elements: <draw:image> 10.4.4, <draw:object-ole> 10.4.6.3, <style:background-image> 17.3 and <text:list-level-style-image> 16.33.

The <office:binary-data> element has no attributes.

The <office:binary-data> element has no child elements.

The <office:binary-data> element has content of data type base64Binary 18.2.

10.4.6Objects

10.4.6.1General

A document in OpenDocument format can contain two types of embedded objects, as follows:

Note: OLE objects are an example of objects without an OpenDocument representation. See [OLE].

10.4.6.2<draw:object>

The <draw:object> element represents objects that have a OpenDocument representation.

Objects with an OpenDocument representation can either be:

Note: An image representation of an object should be included in a frame in addition to the object itself.

The <draw:object> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:object> element has the following attributes: draw:notify-on-update-of-ranges 19.200, xlink:actuate 19.909, xlink:href 19.910.16, xlink:show 19.911, xlink:type 19.913 and xml:id 19.914.

The <draw:object> element has the following child elements: <math:math> 14.5 and <office:document> 3.1.2.

10.4.6.3<draw:object-ole>

The <draw:object-ole> element represents objects that do not have an OpenDocument representation.

Objects without an OpenDocument representation can either be:

The <draw:object-ole> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:object-ole> element has the following attributes: draw:class-id 19.119, xlink:actuate 19.909, xlink:href 19.910.17, xlink:show 19.911, xlink:type 19.913 and xml:id 19.914.

The <draw:object-ole> element has the following child element: <office:binary-data> 10.4.5.

10.4.7<draw:applet>

The <draw:applet> element represents an applet that is embedded in a document. Its semantics are the same as the <applet> element in HTML. §13.4 of [HTML4]. This element shall have either a draw:code or draw:object attribute.

The applet name, width, height, margins, title and description are specified by the <draw:applet> element's <draw:frame> parent element. The <draw:applet> element does not support character data content.

The <draw:applet> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:applet> element has the following attributes: draw:archive 19.113, draw:code 19.121, draw:may-script 19.195, draw:object 19.201, xlink:actuate 19.909, xlink:href 19.910.9, xlink:show 19.911, xlink:type 19.913 and xml:id 19.914.

The <draw:applet> element has the following child element: <draw:param> 10.4.9.

10.4.8<draw:plugin>

The <draw:plugin> element represents an external application that processes data with a specified media-type.

How OpenDocument consumers interact with external applications is not defined by this specification.

Note: Consumers are responsible for any and all security issues that may arise from interaction with an external application referenced by a <draw:plugin> element.

The <draw:plugin> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:plugin> element has the following attributes: draw:mime-type 19.191, xlink:actuate 19.909, xlink:href 19.910.18, xlink:show 19.911, xlink:type 19.913 and xml:id 19.914.

The <draw:plugin> element has the following child element: <draw:param> 10.4.9.

10.4.9<draw:param>

The <draw:param> element contains parameters that are passed to an applet or plugin when they are initialized.

The <draw:param> element is usable within the following elements: <draw:applet> 10.4.7 and <draw:plugin> 10.4.8.

The <draw:param> element has the following attributes: draw:name 19.197.21 and draw:value 19.230.

The <draw:param> element has no child elements.

10.4.10<draw:floating-frame>

The <draw:floating-frame> element represents a frame that is embedded in a document.

Floating frames cannot be transformed as described in section 19.228.

The <draw:floating-frame> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:floating-frame> element has the following attributes: draw:frame-name 19.172, xlink:actuate 19.909, xlink:href 19.910.14, xlink:show 19.911, xlink:type 19.913 and xml:id 19.914.

The <draw:floating-frame> element has no child elements.

10.4.11Contours

10.4.11.1General

The <draw:contour-polygon> and <draw:contour-path> elements are used to specify contours to be applied to object or images.

Consumers should support pixel lengths for the svg:width and svg:height attributes of the <draw:contour-polygon> and <draw:contour-path> elements.

Note: A contour of an object or image establishes an outer boundary around an object or image. One use would be the wrapping of text around a contour specified for an image, if style:wrap-contour=”true” and a contour is specified.

10.4.11.2<draw:contour-polygon>

The <draw:contour-polygon> element specifies a contour using a polygon.

The <draw:contour-polygon> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:contour-polygon> element has the following attributes: draw:points 19.206, draw:recreate-on-edit 19.208, svg:height 19.539.6, svg:viewBox 19.570 and svg:width 19.571.8.

The <draw:contour-polygon> element has no child elements.

10.4.11.3<draw:contour-path>

The <draw:contour-path> element specifies a contour using a path.

The <draw:contour-path> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:contour-path> element has the following attributes: draw:recreate-on-edit 19.208, svg:d 19.526, svg:height 19.539.6, svg:viewBox 19.570 and svg:width 19.571.8.

The <draw:contour-path> element has no child elements.

10.4.12<draw:a>

The <draw:a> element enables both frames and drawing shapes to act as hyperlinks.

The <draw:a> element contains a drawing shape that should behave as a hyperlink.

The <draw:a> element is usable within the following elements: <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:a> element has the following attributes: office:name 19.376.2, office:server-map 19.378, office:target-frame-name 19.381, office:title 19.383, xlink:actuate 19.909, xlink:href 19.910.8, xlink:show 19.911, xlink:type 19.913 and xml:id 19.914.

The <draw:a> element has the following child elements: <dr3d:scene> 10.5.2, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2 and <draw:regular-polygon> 10.3.6.

10.4.13Client Side Image Maps

10.4.13.1General

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 a rectangle, circle or polygon.

10.4.13.2<draw:image-map>

The <draw:image-map> element represents an image map.

Image map elements are specified as absolute positions relative to the original size of its associated graphical element. OpenDocument consumer shall scale the image map to match the current size of the image.

The <draw:image-map> element is usable within the following element: <draw:frame> 10.4.2.

The <draw:image-map> element has no attributes.

The <draw:image-map> element has the following child elements: <draw:area-circle> 10.4.13.4, <draw:area-polygon> 10.4.13.5 and <draw:area-rectangle> 10.4.13.3.

10.4.13.3<draw:area-rectangle>

The <draw:area-rectangle> element specifies a rectangular image map area.

The <draw:area-rectangle> element is usable within the following element: <draw:image-map> 10.4.13.2.

The <draw:area-rectangle> element has the following attributes: draw:nohref 19.199, office:name 19.376.4, office:target-frame-name 19.381, svg:height 19.539.5, svg:width 19.571.7, svg:x 19.573.3, svg:y 19.577.3, xlink:href 19.910.12, xlink:show 19.911 and xlink:type 19.913.

The <draw:area-rectangle> element has the following child elements: <office:event-listeners> 10.3.19, <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.4.13.4<draw:area-circle>

The <draw:area-circle> element represents a circular image map area.

The <draw:area-circle> element is usable within the following element: <draw:image-map> 10.4.13.2.

The <draw:area-circle> element has the following attributes: draw:nohref 19.199, office:name 19.376.3, office:target-frame-name 19.381, svg:cx 19.524.1, svg:cy 19.525.1, svg:r 19.549.1, xlink:href 19.910.10, xlink:show 19.911 and xlink:type 19.913.

The <draw:area-circle> element has the following child elements: <office:event-listeners> 10.3.19, <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.4.13.5<draw:area-polygon>

The <draw:area-polygon> element specifies a polygonal image map area. A polygonal image map area has the following components:

Note: For more information about how to represent polygons, see <draw:polygon> 10.3.5.

The <draw:area-polygon> element is usable within the following element: <draw:image-map> 10.4.13.2.

The <draw:area-polygon> element has the following attributes: draw:nohref 19.199, draw:points 19.206, office:name 19.376.5, office:target-frame-name 19.381, svg:height 19.539.4, svg:viewBox 19.570, svg:width 19.571.6, svg:x 19.573.2, svg:y 19.577.2, xlink:href 19.910.11, xlink:show 19.911 and xlink:type 19.913.

The <draw:area-polygon> element has the following child elements: <office:event-listeners> 10.3.19, <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.53D Shapes

10.5.1General

3D shapes are used to define three-dimensional coordinate systems and geometrical figures within them. All OpenDocument 3D coordinate systems are right-handed. Geometry is represented by a tree of scenes. Each scene may contain zero or more 3D shapes, with a scene being a special case of shape. The root scene defines the world coordinate system. Each 3D shape may define a local coordinate system relative to its parent 3D scene.

10.5.2<dr3d:scene>

The <dr3d:scene> element is the only element that can contain three-dimensional shapes. Like the <draw:g> element it groups shapes, but it also defines the projection, lighting, and other rendering details for the shapes inside the scene.

The <dr3d:scene> element is usable within the following elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <dr3d:scene> element has the following attributes: dr3d:ambient-color 19.92, dr3d:distance 19.96, dr3d:focal-length 19.98, dr3d:lighting-mode 19.99.3, dr3d:projection 19.102, dr3d:shade-mode 19.103, dr3d:shadow-slant 19.104, dr3d:transform 19.107, dr3d:vpn 19.108, dr3d:vrp 19.109, dr3d:vup 19.110, draw:caption-id 19.115, draw:class-names 19.120, draw:id 19.187.3, draw:layer 19.189, draw:style-name 19.219.5, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:height 19.539.3, svg:width 19.571.5, svg:x 19.573.4, svg:y 19.577.4, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <dr3d:scene> element has the following child elements: <dr3d:cube> 10.5.4, <dr3d:extrude> 10.5.6, <dr3d:light> 10.5.3, <dr3d:rotate> 10.5.7, <dr3d:scene> 10.5.2, <dr3d:sphere> 10.5.5, <draw:glue-point> 10.3.16, <svg:desc> 10.3.18 and <svg:title> 10.3.17.

10.5.3<dr3d:light>

The <dr3d:light> element represents a light inside a scene.

Note: There may be several lights, but consumers may limit the number of lights per scene to 8.

The <dr3d:light> element is usable within the following elements: <chart:plot-area> 11.4 and <dr3d:scene> 10.5.2.

The <dr3d:light> element has the following attributes: dr3d:diffuse-color 19.94, dr3d:direction 19.95, dr3d:enabled 19.97 and dr3d:specular 19.106.

The <dr3d:light> element has no child elements.

10.5.4<dr3d:cube>

The <dr3d:cube> element represents a three-dimensional cube shape.

The <dr3d:cube> element is usable within the following element: <dr3d:scene> 10.5.2.

The <dr3d:cube> element has the following attributes: dr3d:max-edge 19.100, dr3d:min-edge 19.101, dr3d:transform 19.107, draw:class-names 19.120, draw:id 19.187.3, draw:layer 19.189, draw:style-name 19.219.2, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422 and xml:id 19.914.

The <dr3d:cube> element has no child elements.

10.5.5<dr3d:sphere>

The <dr3d:sphere> element represents a three-dimensional sphere shape.

The <dr3d:sphere> element is usable within the following element: <dr3d:scene> 10.5.2.

The <dr3d:sphere> element has the following attributes: dr3d:center 19.93, dr3d:size 19.105, dr3d:transform 19.107, draw:class-names 19.120, draw:id 19.187.3, draw:layer 19.189, draw:style-name 19.219.6, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422 and xml:id 19.914.

The <dr3d:sphere> element has no child elements.

10.5.6<dr3d:extrude>

The <dr3d:extrude> element represents a three-dimensional extruded object based on the given polygon. The 3D geometry is formed by extruding a polygon perpendicular to the plane of the given polygon by a depth (see dr3d:depth, 20.72), creating a front face, a back face and side faces. The side faces are formed by connecting all corresponding single edges of the front and back faces. When no depth is given, the polygon forms a shape without depth. The closing of the front face depends on the value of the dr3d:close-front attribute 20.71. The closing of the back face depends on the value of the dr3d:close-back attribute 20.70. The size of the back face can be relative to the size of the front face when the dr3d:back-scale attribute is used. The side faces defined by the extrusion of the shape are always closed.

The <dr3d:extrude> element is usable within the following element: <dr3d:scene> 10.5.2.

The <dr3d:extrude> element has the following attributes: dr3d:transform 19.107, draw:class-names 19.120, draw:id 19.187.3, draw:layer 19.189, draw:style-name 19.219.3, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:d 19.526, svg:viewBox 19.570 and xml:id 19.914.

The <dr3d:extrude> element has no child elements.

10.5.7<dr3d:rotate>

The <dr3d:rotate> element represents a three-dimensional rotation shape based on the given polygon. The 3D geometry is defined by rotating the XY-plane with the polygon around the Y-axis of the local coordinate system.  This rotation is linearly interpolated in the given number of steps (dr3d:horizontal-segments 20.78) around the given angle (dr3d:end-angle 20.77). The side faces are formed by connecting all corresponding single edges of a neighboring pairs of rotated polygons. By default, the rotation uses a full rotation (360 degrees, dr3d:end-angle attribute 20.77). In that case the 3D geometry is implicitly closed and no front face or back face is created (unless they are of different sizes). If the rotation is different, a front face is created using the first, unrotated polygon and a back face is created using the last rotated polygon. The closing of a front face also depends on the value of the dr3d:close-front attribute 20.71 and the closing of a back face on the value of the dr3d:close-back 20.70 attribute. The size of the back face can be different than the size of the front face when the dr3d:back-scale attribute 20.68 is used.

The <dr3d:rotate> element is usable within the following element: <dr3d:scene> 10.5.2.

The <dr3d:rotate> element has the following attributes: dr3d:transform 19.107, draw:class-names 19.120, draw:id 19.187.3, draw:layer 19.189, draw:style-name 19.219.4, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:d 19.526, svg:viewBox 19.570 and xml:id 19.914.

The <dr3d:rotate> element has no child elements.

10.6Custom Shape

10.6.1<draw:custom-shape>

The <draw:custom-shape> element represents a complex figure. It supports font geometry effects and extrusion. A custom shape may have a geometry that influences its shape.

The <draw:custom-shape> element is usable within the following elements: <draw:a> 10.4.12, <draw:g> 10.3.15, <draw:page> 10.2.4, <draw:text-box> 10.4.3, <office:text> 3.4, <presentation:notes> 16.17, <style:handout-master> 10.2.1, <style:master-page> 16.9, <table:covered-table-cell> 9.1.5, <table:shapes> 9.2.8, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:deletion> 5.5.4, <text:h> 5.1.2, <text:index-body> 8.2.2, <text:index-title> 8.2.3, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:note-body> 6.3.4, <text:p> 5.1.3, <text:ruby-base> 6.4.2, <text:section> 5.4 and <text:span> 6.1.7.

The <draw:custom-shape> element has the following attributes: draw:caption-id 19.115, draw:class-names 19.120, draw:data 19.131, draw:engine 19.146, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.6, draw:style-name 19.219.11, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, presentation:class-names 19.390, presentation:style-name 19.422, svg:height 19.539.8, svg:width 19.571.10, svg:x 19.573.5, svg:y 19.577.5, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <draw:custom-shape> element has the following child elements: <draw:enhanced-geometry> 10.6.2, <draw:glue-point> 10.3.16, <office:event-listeners> 10.3.19, <svg:desc> 10.3.18, <svg:title> 10.3.17, <text:list> 5.3.1 and <text:p> 5.1.3.

10.6.2<draw:enhanced-geometry>

The <draw:enhanced-geometry> element contains the geometry for a <draw:custom-shape> element if its draw:engine attribute has been omitted.

The <draw:enhanced-geometry> element is usable within the following element: <draw:custom-shape> 10.6.1.

The <draw:enhanced-geometry> element has the following attributes: dr3d:projection 19.102, dr3d:shade-mode 19.103, draw:concentric-gradient-fill-allowed 19.124, draw:enhanced-path 19.145, draw:extrusion 19.148, draw:extrusion-allowed 19.149, draw:extrusion-brightness 19.150, draw:extrusion-color 19.151, draw:extrusion-depth 19.152, draw:extrusion-diffusion 19.153, draw:extrusion-first-light-direction 19.154, draw:extrusion-first-light-harsh 19.155, draw:extrusion-first-light-level 19.156, draw:extrusion-light-face 19.157, draw:extrusion-metal 19.158, draw:extrusion-number-of-line-segments 19.159, draw:extrusion-origin 19.160, draw:extrusion-rotation-angle 19.161, draw:extrusion-rotation-center 19.162, draw:extrusion-second-light-direction 19.163, draw:extrusion-second-light-harsh 19.164, draw:extrusion-second-light-level 19.165, draw:extrusion-shininess 19.166, draw:extrusion-skew 19.167, draw:extrusion-specularity 19.168, draw:extrusion-viewpoint 19.169, draw:glue-point-leaving-directions 19.173, draw:glue-points 19.175, draw:glue-point-type 19.174, draw:mirror-horizontal 19.192, draw:mirror-vertical 19.193, draw:modifiers 19.196, draw:path-stretchpoint-x 19.204, draw:path-stretchpoint-y 19.205, draw:text-areas 19.220, draw:text-path 19.221, draw:text-path-allowed 19.222, draw:text-path-mode 19.223, draw:text-path-same-letter-heights 19.224, draw:text-path-scale 19.225, draw:text-rotate-angle 19.226, draw:type 19.229.3 and svg:viewBox 19.570.

The <draw:enhanced-geometry> element has the following child elements: <draw:equation> 10.2.5 and <draw:handle> 10.6.3.

10.6.3<draw:handle>

The <draw:handle> element represents a single interaction handle for a drawing shape.

The <draw:handle> element is usable within the following element: <draw:enhanced-geometry> 10.6.2.

The <draw:handle> element has the following attributes: draw:handle-mirror-horizontal 19.176, draw:handle-mirror-vertical 19.177, draw:handle-polar 19.178, draw:handle-position 19.179, draw:handle-radius-range-maximum 19.180, draw:handle-radius-range-minimum 19.181, draw:handle-range-x-maximum 19.182, draw:handle-range-x-minimum 19.183, draw:handle-range-y-maximum 19.184, draw:handle-range-y-minimum 19.185 and draw:handle-switched 19.186.

The <draw:handle> element has no child elements.

10.7Presentation Shapes

Presentation shapes are shapes on a draw page that are part of a presentation page layout.16.41 They 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 is changed, all presentation shapes contained in that draw page are adapted automatically.

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.

10.8Presentation Animations

10.8.1<presentation:animations>

The <presentation:animations> element is a container for animation effects. Animation effects are executed when a page represented by a <draw:page> 10.2.4 element containing this element is displayed.

A single shape may be the subject of multiple effects.

The <presentation:animations> element is usable within the following element: <draw:page> 10.2.4.

The <presentation:animations> element has no attributes.

The <presentation:animations> element has the following child elements: <presentation:animation-group> 10.8.9, <presentation:dim> 10.8.7, <presentation:hide-shape> 10.8.5, <presentation:hide-text> 10.8.6, <presentation:play> 10.8.8, <presentation:show-shape> 10.8.3 and <presentation:show-text> 10.8.4.

10.8.2<presentation:sound>

The <presentation:sound> element represents a sound.

The <presentation:sound> element is usable within the following elements: <presentation:dim> 10.8.7, <presentation:event-listener> 10.9.2, <presentation:hide-shape> 10.8.5, <presentation:hide-text> 10.8.6, <presentation:show-shape> 10.8.3, <presentation:show-text> 10.8.4 and <style:drawing-page-properties> 17.25.

The <presentation:sound> element has the following attributes: presentation:play-full 19.408, xlink:actuate 19.909, xlink:href 19.910.26, xlink:show 19.911, xlink:type 19.913 and xml:id 19.914.

The <presentation:sound> element has no child elements.

10.8.3<presentation:show-shape>

The <presentation:show-shape> element specifies when and how a shape becomes visible. Prior to execution of the effect defined by this element the shape containing it is invisible.

The <presentation:show-shape> element is usable within the following elements: <presentation:animation-group> 10.8.9 and <presentation:animations> 10.8.1.

The <presentation:show-shape> element has the following attributes: draw:shape-id 19.210, presentation:delay 19.391, presentation:direction 19.392, presentation:effect 19.394, presentation:path-id 19.405, presentation:speed 19.417 and presentation:start-scale 19.418.

The <presentation:show-shape> element has the following child element: <presentation:sound> 10.8.2.

10.8.4<presentation:show-text>

The <presentation:show-text> element defines an effect that makes text within a shape visible. Prior to execution of the effect defined by this element the shape and the text it contains are invisible.

The <presentation:show-text> element is usable within the following elements: <presentation:animation-group> 10.8.9 and <presentation:animations> 10.8.1.

The <presentation:show-text> element has the following attributes: draw:shape-id 19.210, presentation:delay 19.391, presentation:direction 19.392, presentation:effect 19.394, presentation:path-id 19.405, presentation:speed 19.417 and presentation:start-scale 19.418.

The <presentation:show-text> element has the following child element: <presentation:sound> 10.8.2.

10.8.5<presentation:hide-shape>

The <presentation:hide-shape> element specifies that a shape is invisible.

The <presentation:hide-shape> element is usable within the following elements: <presentation:animation-group> 10.8.9 and <presentation:animations> 10.8.1.

The <presentation:hide-shape> element has the following attributes: draw:shape-id 19.210, presentation:delay 19.391, presentation:direction 19.392, presentation:effect 19.394, presentation:path-id 19.405, presentation:speed 19.417 and presentation:start-scale 19.418.

The <presentation:hide-shape> element has the following child element: <presentation:sound> 10.8.2.

10.8.6<presentation:hide-text>

The <presentation:hide-text> element specifies an effect that makes text within a shape visible. Prior to execution of the effect specified by this element, the text contained inside a shape is invisible.

The <presentation:hide-text> element is usable within the following elements: <presentation:animation-group> 10.8.9 and <presentation:animations> 10.8.1.

The <presentation:hide-text> element has the following attributes: draw:shape-id 19.210, presentation:delay 19.391, presentation:direction 19.392, presentation:effect 19.394, presentation:path-id 19.405, presentation:speed 19.417 and presentation:start-scale 19.418.

The <presentation:hide-text> element has the following child element: <presentation:sound> 10.8.2.

10.8.7<presentation:dim>

The <presentation:dim> element specifies a fill color for a shape.

The <presentation:dim> element is usable within the following elements: <presentation:animation-group> 10.8.9 and <presentation:animations> 10.8.1.

The <presentation:dim> element has the following attributes: draw:color 19.122.3 and draw:shape-id 19.210.

The <presentation:dim> element has the following child element: <presentation:sound> 10.8.2.

10.8.8<presentation:play>

The <presentation:play> element specifies the presentation speed of animation of a shape.

The <presentation:play> element is usable within the following elements: <presentation:animation-group> 10.8.9 and <presentation:animations> 10.8.1.

The <presentation:play> element has the following attributes: draw:shape-id 19.210 and presentation:speed 19.417.

The <presentation:play> element has no child elements.

10.8.9<presentation:animation-group>

The <presentation:animation-group> element contains elements that specify multiple animation effects. Containment results in all effects occurring at the same time.

The <presentation:animation-group> element is usable within the following element: <presentation:animations> 10.8.1.

The <presentation:animation-group> element has no attributes.

The <presentation:animation-group> element has the following child elements: <presentation:dim> 10.8.7, <presentation:hide-shape> 10.8.5, <presentation:hide-text> 10.8.6, <presentation:play> 10.8.8, <presentation:show-shape> 10.8.3 and <presentation:show-text> 10.8.4.

10.9SMIL Presentation Animations

10.9.1General

SMIL based shape animations are specified for presentation documents. This type of animation can be used instead of that specified by <presentation:animations> elements if one of the following items is required:

An effect is a combination of one or more animation elements that animate a single shape and or a shape's paragraphs.

10.9.2<presentation:event-listener>

The <presentation:event-listener> element defines the trigger for a presentation event.

The <presentation:event-listener> element is usable within the following element: <office:event-listeners> 10.3.19.

The <presentation:event-listener> element has the following attributes: presentation:action 19.387, presentation:direction 19.392, presentation:effect 19.394, presentation:speed 19.417, presentation:start-scale 19.418, presentation:verb 19.428, script:event-name 19.429, xlink:actuate 19.909, xlink:href 19.910.25, xlink:show 19.911 and xlink:type 19.913.

The <presentation:event-listener> element has the following child element: <presentation:sound> 10.8.2.

10.9.3Presentation Document Content

10.9.3.1<presentation:header>

The <presentation:header> element defines a field that contains a header for a presentation. Which header field declaration is used is specified by the presentation:use-header-name attribute of the draw page where the field occurs. In a presentation shape inside a master page 19.389, the presentation:use-header-name attribute of the <draw:page> element for which the drawing shape is displayed is used.

Note: 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.

The <presentation:header> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <presentation:header> element has no attributes.

The <presentation:header> element has no child elements.

10.9.3.2<presentation:header-decl>

The <presentation:header-decl> element specifies the text of a header field.

The <presentation:header-decl> element is usable within the following element: <office:presentation> 3.6.

The <presentation:header-decl> element has the following attribute: presentation:name 19.401.

The <presentation:header-decl> element has no child elements.

The <presentation:header-decl> element has character data content.

10.9.3.3<presentation:footer>

The <presentation:footer> element defines a field that contains a footer for a presentation. Footer fields display a footer text specified in a footer field declaration. See 10.9.3.4. Which footer field declaration is used is specified by the presentation:use-footer-name attribute of the draw page where the field occurs. In a presentation drawing shape inside a master page 19.389, the presentation:use-footer-name attribute of the <draw:page> for which the drawing shape is displayed is used.

Note: 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.

The <presentation:footer> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <presentation:footer> element has no attributes.

The <presentation:footer> element has no child elements.

10.9.3.4<presentation:footer-decl>

The <presentation:footer-decl> element specifies the text of a footer field.

The <presentation:footer-decl> element is usable within the following element: <office:presentation> 3.6.

The <presentation:footer-decl> element has the following attribute: presentation:name 19.401.

The <presentation:footer-decl> element has no child elements.

The <presentation:footer-decl> element has character data content.

10.9.3.5<presentation:date-time>

The <presentation:date-time> element defines a field that contains the date/time text for a presentation. Date and time fields display a date/time text as specified in the date/time field declaration. See 10.9.3.6. 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. In a presentation drawing shape inside a master page 19.389, the presentation:use-date-time-name attribute of the drawing page for which the drawing shape is displayed is used.

Note: 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.

The <presentation:date-time> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <presentation:date-time> element has no attributes.

The <presentation:date-time> element has no child elements.

10.9.3.6<presentation:date-time-decl>

The <presentation:date-time-decl> element specifies the text of a date-time field.

The <presentation:date-time-decl> element is usable within the following element: <office:presentation> 3.6.

The <presentation:date-time-decl> element has the following attributes: presentation:name 19.401, presentation:source 19.416 and style:data-style-name 19.469.2.

The <presentation:date-time-decl> element has no child elements.

The <presentation:date-time-decl> element has character data content.

10.9.3.7<presentation:settings>

The <presentation:settings> element is a container for the settings for a presentation in a document.

The <presentation:settings> element is usable within the following element: <office:presentation> 3.6.

The <presentation:settings> element has the following attributes: presentation:animations 19.388, presentation:endless 19.393, presentation:force-manual 19.395, presentation:full-screen 19.396, presentation:mouse-as-pen 19.399, presentation:mouse-visible 19.400, presentation:pause 19.406, presentation:show 19.413, presentation:show-end-of-presentation-slide 19.414, presentation:show-logo 19.415, presentation:start-page 19.419, presentation:start-with-navigator 19.420, presentation:stay-on-top 19.421 and presentation:transition-on-click 19.423.

The <presentation:settings> element has the following child element: <presentation:show> 10.9.3.8.

10.9.3.8<presentation:show>

The <presentation:show> element specifies the order in which pages are displayed during a presentation.

Note: The order of pages can be used to omit or repeat pages in a presentation.

The <presentation:show> element is usable within the following element: <presentation:settings> 10.9.3.7.

The <presentation:show> element has the following attributes: presentation:name 19.401 and presentation:pages 19.404.

The <presentation:show> element has no child elements.

11Chart Content

11.1<chart:chart>

The <chart:chart> element represents a chart.

The <chart:chart> element is usable within the following element: <office:chart> 3.8.

The <chart:chart> element has the following attributes: chart:class 19.15.1, chart:column-mapping 19.16, chart:row-mapping 19.26, chart:style-name 19.27, svg:height 19.539.1, svg:width 19.571.1, xlink:href 19.910.3, xlink:type 19.913 and xml:id 19.914.

The <chart:chart> element has the following child elements: <chart:footer> 11.2.3, <chart:legend> 11.3, <chart:plot-area> 11.4, <chart:subtitle> 11.2.2, <chart:title> 11.2.1 and <table:table> 9.1.2.

11.2Title, Subtitle and Footer

11.2.1<chart:title>

The <chart:title> element represents a title in a chart document.

The text of a title is specified by a child <text:p> element or a table:cell-range attribute. If a child <text:p> element and a table:cell-range attribute are both present, the text specified by the table:cell-range attribute is used as the title. By default, the content of a child <text:p> element is displayed as the title.

This element can also be a sub-element of <chart:axis>. 11.8 In that case the title is displayed beside the axis specified by the <chart:axis> element.

The <chart:title> element is usable within the following elements: <chart:axis> 11.8 and <chart:chart> 11.1.

The <chart:title> element has the following attributes: chart:style-name 19.27, svg:x 19.573.1, svg:y 19.577.1 and table:cell-range 19.592.

The <chart:title> element has the following child element: <text:p> 5.1.3.

11.2.2<chart:subtitle>

The <chart:subtitle> element represents a subtitle for a chart.

The text of a subtitle is specified by a child <text:p> element or a table:cell-range attribute. If a child <text:p> element and a table:cell-range attribute are both present, the text specified by the table:cell-range attribute is used as the subtitle. By default, the content of a child <text:p> element is displayed as the title.

The <chart:subtitle> element is usable within the following element: <chart:chart> 11.1.

The <chart:subtitle> element has the following attributes: chart:style-name 19.27, svg:x 19.573.1, svg:y 19.577.1 and table:cell-range 19.592.

The <chart:subtitle> element has the following child element: <text:p> 5.1.3.

11.2.3<chart:footer>

The <chart:footer> element represents a footer below a chart's plot area.

The text of a footer is specified by a child <text:p> element or a table:cell-range attribute. If a child <text:p> element and a table:cell-range attribute are both present, the text specified by the table:cell-range attribute is used as the footer. By default, the content of a child <text:p> element is displayed as the footer.

The <chart:footer> element is usable within the following element: <chart:chart> 11.1.

The <chart:footer> element has the following attributes: chart:style-name 19.27, svg:x 19.573.1, svg:y 19.577.1 and table:cell-range 19.592.

The <chart:footer> element has the following child element: <text:p> 5.1.3.

11.3<chart:legend>

The <chart:legend> element represents a legend for a chart. If there is no <chart:legend> element for a chart, no legend is displayed.

A legend contains a list of legend entries. Each entry consists of a graphical entry key and an entry text.

For circle and ring charts each legend entry represents an individual data point of the first series. The graphical entry key represents the visual appearance of a data point while the entry text is the category of the point.

 The categories to use are given as a list of labels defined by the <chart:categories> element at the x-axis. They are paired with matching data points in the order in which they appear.

For surface charts each graphic entry key represents the graphical appearance of the surface within a major interval of the altitude axis and the entry text represents the value range of that interval.

For all other chart types the legend entries represent the series of the chart. The graphical entry keys represent the visual appearance of each series while the entry texts contain the names of the series.

The legend may include additional entries for regression-curves and mean-value lines.

The <chart:legend> element may contain a <text:p> element. If present, it defines a title for the legend.

The <chart:legend> element is usable within the following element: <chart:chart> 11.1.

The <chart:legend> element has the following attributes: chart:legend-align 19.22, chart:legend-position 19.23, chart:style-name 19.27, style:legend-expansion 19.490, style:legend-expansion-aspect-ratio 19.491, svg:x 19.573.1 and svg:y 19.577.1.

The <chart:legend> element has the following child element: <text:p> 5.1.3.

11.4<chart:plot-area>

The <chart:plot-area> element represents a coordinate system in which data is plotted including defined axes.

The <chart:plot-area> element is usable within the following element: <chart:chart> 11.1.

The <chart:plot-area> element has the following attributes: chart:data-source-has-labels 19.17, chart:style-name 19.27, dr3d:ambient-color 19.92, dr3d:distance 19.96, dr3d:focal-length 19.98, dr3d:lighting-mode 19.99.2, dr3d:projection 19.102, dr3d:shade-mode 19.103, dr3d:shadow-slant 19.104, dr3d:transform 19.107, dr3d:vpn 19.108, dr3d:vrp 19.109, dr3d:vup 19.110, svg:height 19.539.2, svg:width 19.571.3, svg:x 19.573.1, svg:y 19.577.1, table:cell-range-address 19.593.6 and xml:id 19.914.

The <chart:plot-area> element has the following child elements: <chart:axis> 11.8, <chart:floor> 11.7, <chart:series> 11.11, <chart:stock-gain-marker> 11.19, <chart:stock-loss-marker> 11.20, <chart:stock-range-line> 11.21, <chart:wall> 11.6 and <dr3d:light> 10.5.3.

11.53D Plot Area

The plot area may be displayed as an 3D scene as specified in section 10.5.2. All 3D attributes that can be applied to the <dr3d:scene> element can be applied to the <chart:plot-area> element. This includes the dr3d:transform attribute that specifies the rotation of the three-dimensional plot area. 10.5.2 The <chart:plot-area> element may contain a <dr3d:light> element as specified in section 10.5.3.

11.6<chart:wall>

The <chart:wall> element specifies the wall of a chart. For two-dimensional charts, the wall spans the entire plot area. For three-dimensional charts, the wall consists of two perpendicular rectangles.

The svg:width attribute specifies the thickness of a wall for three-dimensional charts.

The <chart:wall> element is usable within the following element: <chart:plot-area> 11.4.

The <chart:wall> element has the following attributes: chart:style-name 19.27 and svg:width 19.571.4.

The <chart:wall> element has no child elements.

11.7<chart:floor>

The <chart:floor> element specifies the floor of a chart. For three-dimensional charts, the <chart:floor> element shall be present in addition to the <chart:wall> element.

The svg:width attribute specifies the thickness of the floor.

The <chart:floor> element is usable within the following element: <chart:plot-area> 11.4.

The <chart:floor> element has the following attributes: chart:style-name 19.27 and svg:width 19.571.2.

The <chart:floor> element has no child elements.

11.8<chart:axis>

The <chart:axis> element specifies an axis for a chart.

The <chart:axis> element is usable within the following element: <chart:plot-area> 11.4.

The <chart:axis> element has the following attributes: chart:dimension 19.18, chart:name 19.24 and chart:style-name 19.27.

The <chart:axis> element has the following child elements: <chart:categories> 11.9, <chart:grid> 11.10 and <chart:title> 11.2.1.

11.9<chart:categories>

The <chart:categories> element represents labels that are displayed on a category-axis.

This element may have a table:cell-range-address attribute that specifies a range from which category labels are taken. If this attribute or the <chart:categories> element itself is omitted, the chart:data-source-has-labels attribute of the <chart:plot-area> element should be evaluated for labels to display on a category-axis.

The <chart:categories> element is usable within the following element: <chart:axis> 11.8.

The <chart:categories> element has the following attribute: table:cell-range-address 19.593.2.

The <chart:categories> element has no child elements.

11.10<chart:grid>

The <chart:grid> element specifies a grid for an axis.

The <chart:grid> element is usable within the following element: <chart:axis> 11.8.

The <chart:grid> element has the following attributes: chart:class 19.15.2 and chart:style-name 19.27.

The <chart:grid> element has no child elements.

11.11<chart:series>

The <chart:series> element represents a data series in a chart. If the chart requires more input data, like it is the case for scatter and bubble charts, <chart:domain> sub-elements shall be defined that contain the cell range addresses of the corresponding data.

The <chart:series> element is usable within the following element: <chart:plot-area> 11.4.

The <chart:series> element has the following attributes: chart:attached-axis 19.13, chart:class 19.15.1, chart:label-cell-address 19.21, chart:style-name 19.27, chart:values-cell-range-address 19.28 and xml:id 19.914.

The <chart:series> element has the following child elements: <chart:data-label> 11.14, <chart:data-point> 11.13, <chart:domain> 11.12, <chart:error-indicator> 11.16, <chart:mean-value> 11.15 and <chart:regression-curve> 11.17.

11.12<chart:domain>

The <chart:domain> element specifies coordinate values required by particular chart types.

For scatter charts, one <chart:domain> element shall exist. Its table:cell-range-address attribute references the x-coordinate values for the scatter chart.

For bubble charts, two <chart:domain> elements shall exist. The values for the y-coordinates are given by the first <chart:domain> element. The values for the x-coordinates are given by the second <chart:domain> element.

For surface charts, up to two <chart:domain> elements are allowed to exist. The values for the y-coordinates are given by the first <chart:domain> element. The values for the x-coordinates are given by the second <chart:domain> element.

At least one <chart:series> element of a given chart:class shall have the necessary number of <chart:domain> sub-elements. All other <chart:series> elements with the same chart:class may omit the <chart:domain> sub-elements and use the previously defined values for that type of chart.

The <chart:domain> element is usable within the following element: <chart:series> 11.11.

The <chart:domain> element has the following attribute: table:cell-range-address 19.593.3.

The <chart:domain> element has no child elements.

11.13<chart:data-point>

The <chart:data-point> element specifies a style for a single data point in a data series.

Note: This element can be used if a single data point has a special or distinct appearance.

The <chart:data-point> element is usable within the following element: <chart:series> 11.11.

The <chart:data-point> element has the following attributes: chart:repeated 19.25, chart:style-name 19.27 and xml:id 19.914.

The <chart:data-point> element has the following child element: <chart:data-label> 11.14.

11.14<chart:data-label>

The <chart:data-label> element represents the data label of a data point.

The <chart:data-label> element can also be a sub-element of a data series. In that case, the data label serves as default for all the data points of this series.

The <chart:data-label> element is usable within the following elements: <chart:data-point> 11.13 and <chart:series> 11.11.

The <chart:data-label> element has the following attributes: chart:style-name 19.27, svg:x 19.573.1 and svg:y 19.577.1.

The <chart:data-label> element has the following child element: <text:p> 5.1.3.

11.15<chart:mean-value>

The <chart:mean-value> element specifies a style for a mean-value line.

The <chart:mean-value> element is usable within the following element: <chart:series> 11.11.

The <chart:mean-value> element has the following attribute: chart:style-name 19.27.

The <chart:mean-value> element has no child elements.

11.16<chart:error-indicator>

The <chart:error-indicator> element specifies a style for error-indicators.

The <chart:error-indicator> element is usable within the following element: <chart:series> 11.11.

The <chart:error-indicator> element has the following attributes: chart:dimension 19.18 and chart:style-name 19.27.

The <chart:error-indicator> element has no child elements.

11.17<chart:regression-curve>

The <chart:regression-curve> element specifies the properties of regression-lines.

The <chart:regression-curve> element is usable within the following element: <chart:series> 11.11.

The <chart:regression-curve> element has the following attribute: chart:style-name 19.27.

The <chart:regression-curve> element has the following child element: <chart:equation> 11.18.

11.18<chart:equation>

The <chart:equation> element represents the equation for a containing regression curve.

The <chart:equation> element is usable within the following element: <chart:regression-curve> 11.17.

The <chart:equation> element has the following attributes: chart:automatic-content 19.14, chart:display-equation 19.19, chart:display-r-square 19.20, chart:style-name 19.27, svg:x 19.573.1 and svg:y 19.577.1.

The <chart:equation> element has the following child element: <text:p> 5.1.3.

11.19<chart:stock-gain-marker>

The <chart:stock-gain-marker> element specifies a style for candlestick-bars in a stock chart that have a higher closing value than opening value.

The <chart:stock-gain-marker> element is usable within the following element: <chart:plot-area> 11.4.

The <chart:stock-gain-marker> element has the following attribute: chart:style-name 19.27.

The <chart:stock-gain-marker> element has no child elements.

11.20<chart:stock-loss-marker>

The <chart:stock-loss-marker> element specifies the style for candlestick-bars in a stock chart that have a lower closing value than opening value.

The <chart:stock-loss-marker> element is usable within the following element: <chart:plot-area> 11.4.

The <chart:stock-loss-marker> element has the following attribute: chart:style-name 19.27.

The <chart:stock-loss-marker> element has no child elements.

11.21<chart:stock-range-line>

The <chart:stock-range-line> element specifies a style for the range-lines in a stock chart. A range-line is a line connecting the minimum value with the maximum value.

The <chart:stock-range-line> element is usable within the following element: <chart:plot-area> 11.4.

The <chart:stock-range-line> element has the following attribute: chart:style-name 19.27.

The <chart:stock-range-line> element has no child elements.

12Database Front-end Document Content

12.1<office:database>

A <office:database> element is a container of database elements.

The <office:database> element is usable within the following element: <office:body> 3.3.

The <office:database> element has no attributes.

The <office:database> element has the following child elements: <db:data-source> 12.2, <db:forms> 12.25.2, <db:queries> 12.26, <db:reports> 12.25.3, <db:schema-definition> 12.36 and <db:table-representations> 12.32.

12.2<db:data-source>

A <db:data-source> element is a container for data source specific elements that are needed to create a connection to a database.

The <db:data-source> element is usable within the following element: <office:database> 12.1.

The <db:data-source> element has no attributes.

The <db:data-source> element has the following child elements: <db:application-connection-settings> 12.15, <db:connection-data> 12.3 and <db:driver-settings> 12.9.

12.3<db:connection-data>

The <db:connection-data> element specifies the information necessary to connect to a database.

The <db:connection-data> element is usable within the following element: <db:data-source> 12.2.

The <db:connection-data> element has no attributes.

The <db:connection-data> element has the following child elements: <db:connection-resource> 12.7, <db:database-description> 12.4 and <db:login> 12.8.

12.4<db:database-description>

The <db:database-description> element specifies a database resource by its type and access parameters.

The <db:database-description> element is usable within the following element: <db:connection-data> 12.3.

The <db:database-description> element has no attributes.

The <db:database-description> element has the following child elements: <db:file-based-database> 12.5 and <db:server-database> 12.6.

12.5<db:file-based-database>

The <db:file-based-database> element specifies a database which is composed of one or more files in an arbitrary file system.

The <db:file-based-database> element is usable within the following element: <db:database-description> 12.4.

The <db:file-based-database> element has the following attributes: db:extension 19.52, db:media-type 19.69, xlink:href 19.910.7 and xlink:type 19.913.

The <db:file-based-database> element has no child elements.

12.6<db:server-database>

The <db:server-database> element specifies connection information for a server-based database.

The <db:server-database> element is usable within the following element: <db:database-description> 12.4.

The <db:server-database> element has the following attributes: db:database-name 19.43, db:hostname 19.54, db:local-socket 19.67, db:port 19.72 and db:type 19.85.3.

The <db:server-database> element has no child elements.

12.7<db:connection-resource>

The <db:connection-resource> element specifies a database connection by an IRI.

The <db:connection-resource> element is usable within the following element: <db:connection-data> 12.3.

The <db:connection-resource> element has the following attributes: xlink:actuate 19.909, xlink:href 19.910.6, xlink:show 19.911 and xlink:type 19.913.

The <db:connection-resource> element has no child elements.

12.8<db:login>

The <db:login> element specifies the information needed to establish a connection to a database.

Note: For security reasons, the <db:login> element does not have an attribute to store a password that may be required to establish a connection.

The <db:login> element is usable within the following element: <db:connection-data> 12.3.

The <db:login> element has the following attributes: db:is-password-required 19.63, db:login-timeout 19.61, db:user-name 19.90 and db:use-system-user 19.89.

The <db:login> element has no child elements.

12.9<db:driver-settings>

The <db:driver-settings> element specifies settings for a driver establishing the database connection.

The <db:driver-settings> element is usable within the following element: <db:data-source> 12.2.

The <db:driver-settings> element has the following attributes: db:base-dn 19.35, db:is-first-row-header-line 19.60, db:parameter-name-substitution 19.71, db:show-deleted 19.78 and db:system-driver-settings 19.82.

The <db:driver-settings> element has the following child elements: <db:auto-increment> 12.10, <db:character-set> 12.12, <db:delimiter> 12.11 and <db:table-settings> 12.13.

12.10<db:auto-increment>

The <db:auto-increment> element specifies SQL statements to retrieve auto-generated row values and to set AUTO_INCREMENT values for columns.

The <db:auto-increment> element is usable within the following element: <db:driver-settings> 12.9.

The <db:auto-increment> element has the following attributes: db:additional-column-statement 19.31 and db:row-retrieving-statement 19.75.

The <db:auto-increment> element has no child elements.

12.11<db:delimiter>

The <db:delimiter> element defines a delimiter for parsing data.

The <db:delimiter> element is usable within the following elements: <db:driver-settings> 12.9 and <db:table-setting> 12.14.

The <db:delimiter> element has the following attributes: db:decimal 19.44, db:field 19.53, db:string 19.79 and db:thousand 19.83.

The <db:delimiter> element has no child elements.

12.12<db:character-set>

The <db:character-set> element defines the text encoding that is used to transform string data obtained from a database.

The <db:character-set> element is usable within the following elements: <db:driver-settings> 12.9 and <db:table-setting> 12.14.

The <db:character-set> element has the following attribute: db:encoding 19.50.

The <db:character-set> element has no child elements.

12.13<db:table-settings>

The <db:table-settings> element is a container for <db:table-setting> elements.

The <db:table-settings> element is usable within the following element: <db:driver-settings> 12.9.

The <db:table-settings> element has no attributes.

The <db:table-settings> element has the following child element: <db:table-setting> 12.14.

12.14<db:table-setting>

The <db:table-setting> element specifies driver-level settings which are used by a database driver for defining a single database table.

The <db:table-setting> element is usable within the following element: <db:table-settings> 12.13.

The <db:table-setting> element has the following attributes: db:is-first-row-header-line 19.60 and db:show-deleted 19.78.

The <db:table-setting> element has the following child elements: <db:character-set> 12.12 and <db:delimiter> 12.11.

12.15<db:application-connection-settings>

The <db:application-connection-settings> element specifies settings which define how a consumer uses a database connection.

The <db:application-connection-settings> element is usable within the following element: <db:data-source> 12.2.

The <db:application-connection-settings> element has the following attributes: db:append-table-alias-name 19.32, db:boolean-comparison-mode 19.36, db:enable-sql92-check 19.49, db:ignore-driver-privileges 19.55, db:is-table-name-length-limited 19.66, db:max-row-count 19.68, db:suppress-version-columns 19.81 and db:use-catalog 19.88.

The <db:application-connection-settings> element has the following child elements: <db:data-source-settings> 12.22, <db:table-filter> 12.16 and <db:table-type-filter> 12.20.

12.16<db:table-filter>

A <db:table-filter> element defines a list of filter patterns which are applied on the table names returned by a database. Only tables which match at least one include filter, and do not match any exclude filter, will be displayed.

The <db:table-filter> element is usable within the following element: <db:application-connection-settings> 12.15.

The <db:table-filter> element has no attributes.

The <db:table-filter> element has the following child elements: <db:table-exclude-filter> 12.18 and <db:table-include-filter> 12.17.

12.17<db:table-include-filter>

The <db:table-include-filter> element specifies a list of filter patterns which determine inclusion of tables in a consumer's table display.

The <db:table-include-filter> element is usable within the following element: <db:table-filter> 12.16.

The <db:table-include-filter> element has no attributes.

The <db:table-include-filter> element has the following child element: <db:table-filter-pattern> 12.19.

12.18<db:table-exclude-filter>

The <db:table-exclude-filter> element specifies a list of filter patterns which determine exclusion of tables in an consumer's table display.

The <db:table-exclude-filter> element is usable within the following element: <db:table-filter> 12.16.

The <db:table-exclude-filter> element has no attributes.

The <db:table-exclude-filter> element has the following child element: <db:table-filter-pattern> 12.19.

12.19<db:table-filter-pattern>

The <db:table-filter-pattern> element specifies a filter pattern.

The “%” (U+0025. PERCENT SIGN) character is used as wildcard.

The <db:table-filter-pattern> element is usable within the following elements: <db:table-exclude-filter> 12.18 and <db:table-include-filter> 12.17.

The <db:table-filter-pattern> element has no attributes.

The <db:table-filter-pattern> element has no child elements.

The <db:table-filter-pattern> element has content of data type string 18.2.

12.20<db:table-type-filter>

A <db:table-type-filter> element defines a list of table types which a database uses to filter tables.

The <db:table-type-filter> element is usable within the following element: <db:application-connection-settings> 12.15.

The <db:table-type-filter> element has no attributes.

The <db:table-type-filter> element has the following child element: <db:table-type> 12.21.

12.21<db:table-type>

The <db:table-type> element specifies a table type.

Note: Table types are database specific.

The <db:table-type> element is usable within the following element: <db:table-type-filter> 12.20.

The <db:table-type> element has no attributes.

The <db:table-type> element has no child elements.

The <db:table-type> element has content of data type string 18.2.

12.22<db:data-source-settings>

The <db:data-source-settings> element is a container element for <db:data-source-setting> elements.

The <db:data-source-settings> element is usable within the following element: <db:application-connection-settings> 12.15.

The <db:data-source-settings> element has no attributes.

The <db:data-source-settings> element has the following child element: <db:data-source-setting> 12.23.

12.23<db:data-source-setting>

The <db:data-source-setting> element specifies the name of a data-source-setting, a data-source-setting type, and whether a data-source-setting contains a list of data or single data.

The <db:data-source-setting> element is usable within the following element: <db:data-source-settings> 12.22.

The <db:data-source-setting> element has the following attributes: db:data-source-setting-is-list 19.39, db:data-source-setting-name 19.40 and db:data-source-setting-type 19.41.

The <db:data-source-setting> element has the following child element: <db:data-source-setting-value> 12.24.

12.24<db:data-source-setting-value>

The <db:data-source-setting-value> element specifies the content of a data-source-setting.

The <db:data-source-setting-value> element is usable within the following element: <db:data-source-setting> 12.23.

The <db:data-source-setting-value> element has no attributes.

The <db:data-source-setting-value> element has no child elements.

The <db:data-source-setting-value> element has content of data type string 18.2.

12.25Forms and Reports

12.25.1General

Database documents can contain forms and reports as sub documents. They're included in database front end documents by XLinks. Alternatively, the content of sub documents may be included in the <db:component> elements as child elements.

12.25.2<db:forms>

The <db:forms> element may contain <db:component> or <db:component-collection> elements or both. It specifies a list of form documents and sub collections.

The <db:forms> element is usable within the following element: <office:database> 12.1.

The <db:forms> element has no attributes.

The <db:forms> element has the following child elements: <db:component> 12.25.5 and <db:component-collection> 12.25.4.

12.25.3<db:reports>

The <db:reports> element may contain <db:component> or <db:component-collection> elements or both.  It specifies a list of report documents and sub collections.

The <db:reports> element is usable within the following element: <office:database> 12.1.

The <db:reports> element has no attributes.

The <db:reports> element has the following child elements: <db:component> 12.25.5 and <db:component-collection> 12.25.4.

12.25.4<db:component-collection>

The <db:component-collection> element specifies a collection of <db:component> elements and <db:component-collection> elements.

The <db:component-collection> element is usable within the following elements: <db:component-collection> 12.25.4, <db:forms> 12.25.2 and <db:reports> 12.25.3.

The <db:component-collection> element has the following attributes: db:description 19.48, db:name 19.70.5 and db:title 19.84.

The <db:component-collection> element has the following child elements: <db:component> 12.25.5 and <db:component-collection> 12.25.4.

12.25.5<db:component>

The <db:component> element specifies a database component which can be either a form or a report.

A database component is either referenced using the xlink:href attribute or it is contained in a child <office:document> or <math:math> element.

The <db:component> element is usable within the following elements: <db:component-collection> 12.25.4, <db:forms> 12.25.2 and <db:reports> 12.25.3.

The <db:component> element has the following attributes: db:as-template 19.34, db:description 19.48, db:name 19.70.4, db:title 19.84, xlink:actuate 19.909, xlink:href 19.910.5, xlink:show 19.911 and xlink:type 19.913.

The <db:component> element has the following child elements: <math:math> 14.5 and <office:document> 3.1.2.

12.26<db:queries>

The <db:queries> element may contain <db:query> or <db:query-collection> elements or both.

The <db:queries> element is usable within the following element: <office:database> 12.1.

The <db:queries> element has no attributes.

The <db:queries> element has the following child elements: <db:query> 12.28 and <db:query-collection> 12.27.

12.27<db:query-collection>

The <db:query-collection> element may contain <db:query> or <db:query-collection> elements or both.

The <db:query-collection> element is usable within the following elements: <db:queries> 12.26 and <db:query-collection> 12.27.

The <db:query-collection> element has the following attributes: db:description 19.48, db:name 19.70.11 and db:title 19.84.

The <db:query-collection> element has the following child elements: <db:query> 12.28 and <db:query-collection> 12.27.

12.28<db:query>

The <db:query> element specifies a database query.

The <db:query> element is usable within the following elements: <db:queries> 12.26 and <db:query-collection> 12.27.

The <db:query> element has the following attributes: db:command 19.38, db:default-row-style-name 19.46, db:description 19.48, db:escape-processing 19.51, db:name 19.70.10, db:style-name 19.80.3 and db:title 19.84.

The <db:query> element has the following child elements: <db:columns> 12.34, <db:filter-statement> 12.30, <db:order-statement> 12.29 and <db:update-table> 12.31.

12.29<db:order-statement>

The <db:order-statement> element specifies a sort ("ORDER BY") SQL clause which is to be applied on top of another SQL statement producing a result set.

The <db:order-statement> element is usable within the following elements: <db:query> 12.28 and <db:table-representation> 12.33.

The <db:order-statement> element has the following attributes: db:apply-command 19.33 and db:command 19.38.

The <db:order-statement> element has no child elements.

12.30<db:filter-statement>

The <db:filter-statement> element specifies a filter ("WHERE") SQL clause which is to be applied on top of another SQL-statement producing a result set.

The <db:filter-statement> element is usable within the following elements: <db:query> 12.28 and <db:table-representation> 12.33.

The <db:filter-statement> element has the following attributes: db:apply-command 19.33 and db:command 19.38.

The <db:filter-statement> element has no child elements.

12.31<db:update-table>

The <db:update-table> element specifies the name of the table which will be updated when an UPDATE, INSERT or DELETE SQL statement is executed. It defines the table which should be updated when the select statement contains more than one table.

The <db:update-table> element is usable within the following element: <db:query> 12.28.

The <db:update-table> element has the following attributes: db:catalog-name 19.37, db:name 19.70.14 and db:schema-name 19.77.

The <db:update-table> element has no child elements.

12.32<db:table-representations>

The <db:table-representations> element specifies a collection of tables.

The <db:table-representations> element is usable within the following element: <office:database> 12.1.

The <db:table-representations> element has no attributes.

The <db:table-representations> element has the following child element: <db:table-representation> 12.33.

12.33<db:table-representation>

A <db:table-representation> element specifies how an consumer displays a table to the user.

The <db:table-representation> element is usable within the following element: <db:table-representations> 12.32.

The <db:table-representation> element has the following attributes: db:catalog-name 19.37, db:default-row-style-name 19.46, db:description 19.48, db:name 19.70.13, db:schema-name 19.77, db:style-name 19.80.4 and db:title 19.84.

The <db:table-representation> element has the following child elements: <db:columns> 12.34, <db:filter-statement> 12.30 and <db:order-statement> 12.29.

12.34<db:columns>

The <db:columns> element is a collection of <db:column> elements.

The <db:columns> element is usable within the following elements: <db:query> 12.28 and <db:table-representation> 12.33.

The <db:columns> element has no attributes.

The <db:columns> element has the following child element: <db:column> 12.35.

12.35<db:column>

The <db:column> element specifies settings for a column.

The <db:column> element is usable within the following element: <db:columns> 12.34.

The <db:column> element has the following attributes: db:default-cell-style-name 19.45, db:description 19.48, db:name 19.70.2, db:style-name 19.80.2, db:title 19.84, db:visible 19.91, office:boolean-value 19.367, office:currency 19.369, office:date-value 19.370, office:string-value 19.379, office:time-value 19.382, office:value 19.384, office:value-type 19.385.

The <db:column> element has no child elements.

12.36<db:schema-definition>

The <db:schema-definition> element specifies a database schema.

The <db:schema-definition> element is usable within the following element: <office:database> 12.1.

The <db:schema-definition> element has no attributes.

The <db:schema-definition> element has the following child element: <db:table-definitions> 12.37.

12.37<db:table-definitions>

The <db:table-definitions> element is a container for multiple <db:table-definition> elements.

The <db:table-definitions> element is usable within the following element: <db:schema-definition> 12.36.

The <db:table-definitions> element has no attributes.

The <db:table-definitions> element has the following child element: <db:table-definition> 12.38.

12.38<db:table-definition>

The <db:table-definition> element specifies the schema of a single table.

The <db:table-definition> element is usable within the following element: <db:table-definitions> 12.37.

The <db:table-definition> element has the following attributes: db:catalog-name 19.37, db:name 19.70.12, db:schema-name 19.77 and db:type 19.85.4.

The <db:table-definition> element has the following child elements: <db:column-definitions> 12.39, <db:indices> 12.45 and <db:keys> 12.41.

12.39<db:column-definitions>

The <db:column-definitions> element is a container for <db:column-definition> elements.

The <db:column-definitions> element is usable within the following element: <db:table-definition> 12.38.

The <db:column-definitions> element has no attributes.

The <db:column-definitions> element has the following child element: <db:column-definition> 12.40.

12.40<db:column-definition>

The <db:column-definition> element defines a table column.

The <db:column-definition> element is usable within the following element: <db:column-definitions> 12.39.

The <db:column-definition> element has the following attributes: db:data-type 19.42, db:is-autoincrement 19.57, db:is-empty-allowed 19.59, db:is-nullable 19.62, db:name 19.70.3, db:precision 19.65, db:scale 19.76, db:type-name 19.86, office:boolean-value 19.367, office:currency 19.369, office:date-value 19.370, office:string-value 19.379, office:time-value 19.382, office:value 19.384, office:value-type 19.385.

The <db:column-definition> element has no child elements.

12.41<db:keys>

The <db:keys> element is a container for one or more <db:key> elements.

The <db:keys> element is usable within the following element: <db:table-definition> 12.38.

The <db:keys> element has no attributes.

The <db:keys> element has the following child element: <db:key> 12.42.

12.42<db:key>

The <db:key> element specifies a key for a table.

The <db:key> element is usable within the following element: <db:keys> 12.41.

The <db:key> element has the following attributes: db:delete-rule 19.47, db:name 19.70.8, db:referenced-table-name 19.73, db:type 19.85.2 and db:update-rule 19.87.

The <db:key> element has the following child element: <db:key-columns> 12.43.

12.43<db:key-columns>

The <db:key-columns> element specifies the columns of a key.

The <db:key-columns> element is usable within the following element: <db:key> 12.42.

The <db:key-columns> element has no attributes.

The <db:key-columns> element has the following child element: <db:key-column> 12.44.

12.44<db:key-column>

The <db:key-column> element specifies a description of a column of a table key

The <db:key-column> element is usable within the following element: <db:key-columns> 12.43.

The <db:key-column> element has the following attributes: db:name 19.70.9 and db:related-column-name 19.74.

The <db:key-column> element has no child elements.

12.45<db:indices>

The <db:indices> element defines the indexes of a table.

The <db:indices> element is usable within the following element: <db:table-definition> 12.38.

The <db:indices> element has no attributes.

The <db:indices> element has the following child element: <db:index> 12.46.

12.46<db:index>

The <db:index> element defines the types of indexes of a table.

The <db:index> element is usable within the following element: <db:indices> 12.45.

The <db:index> element has the following attributes: db:catalog-name 19.37, db:is-clustered 19.58, db:is-unique 19.64 and db:name 19.70.6.

The <db:index> element has the following child element: <db:index-columns> 12.47.

12.47<db:index-columns>

The <db:index-columns> element specifies the columns of an index.

The <db:index-columns> element is usable within the following element: <db:index> 12.46.

The <db:index-columns> element has no attributes.

The <db:index-columns> element has the following child element: <db:index-column> 12.48.

12.48<db:index-column>

The <db:index-column> element specifies the description of a column of a table index.

The <db:index-column> element is usable within the following element: <db:index-columns> 12.47.

The <db:index-column> element has the following attributes: db:is-ascending 19.56 and db:name 19.70.7.

The <db:index-column> element has no child elements.

13Form Content

13.1General

A form is a container for user interface controls.

Note: Buttons, text boxes, check boxes, and drop-down lists are user interface controls that can be contained in a form.

In the OpenDocument format, the following rules apply to user interface controls and forms:

Form behavior is defined for submission and connection to a data source only for forms defined by a <form:form> element.

The result set of values subject to the controls of the form is defined by the form:datasource, form:command, and form:command-type attributes. At any point in time, only one row of the result set is subject to the forms controls.

Form behavior is not defined for forms defined by a <xforms:model> element.

13.2<office:forms>

The <office:forms> element is a container for <form:form> or <xforms:model> elements.

The <office:forms> element is usable within the following elements: <draw:page> 10.2.4, <office:text> 3.4, <presentation:notes> 16.17, <style:master-page> 16.9 and <table:table> 9.1.2.

The <office:forms> element has the following attributes: form:apply-design-mode 19.250 and form:automatic-focus 19.253.

The <office:forms> element has the following child elements: <form:form> 13.3 and <xforms:model> 13.4.

13.3<form:form>

The <form:form> element specifies a user interface form and defines the contents and properties of the form.

The <form:form> element is usable within the following elements: <form:form> 13.3 and <office:forms> 13.2.

The <form:form> element has the following attributes: form:allow-deletes 19.247, form:allow-inserts 19.248, form:allow-updates 19.249, form:apply-filter 19.251, form:command 19.256, form:command-type 19.257, form:control-implementation 19.258, form:datasource 19.264, form:detail-fields 19.267, form:enctype 19.271, form:escape-processing 19.272, form:filter 19.273, form:ignore-result 19.277, form:master-fields 19.287, form:method 19.291, form:name 19.294, form:navigation-mode 19.295, form:order 19.296, form:tab-cycle 19.309, office:target-frame 19.380, xlink:actuate 19.909, xlink:href 19.910.22 and xlink:type 19.913.

The <form:form> element has the following child elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:connection-resource> 7.6.2, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:form> 13.3, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:generic-control> 13.5.25, <form:grid> 13.5.22, <form:hidden> 13.5.21, <form:image> 13.5.16, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:properties> 13.7, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9, <form:value-range> 13.5.24 and <office:event-listeners> 10.3.19.

13.4<xforms:model>

The <xforms:model> element is imported from [XForms] and is embedded in the <office:forms> element. XForms consists of two major parts, the XForms model which contains the form logic plus form data, and XForms controls, which can be bound to a data model.

Controls defined by OpenDocument (see 13.5) may be bound to an XForms model by an xforms:bind attribute.

The <xforms:model> element has the attributes and content defined in §3.3.1 of [XForms].

The <xforms:model> element is usable within the following element: <office:forms> 13.2.

13.5Controls

13.5.1General

Controls are used to interact with forms. Each control in a form is identified by a name. The name of a control need not be unique in a form.

Controls are connected to the surrounding document (and its text flow, if applicable) by binding them to a shape that acts as a placeholder for the control. 10.3.13

In addition to the attributes defined in this standard, controls may have implementation-dependent attributes. Those attributes are stored in a <form:properties> element in each control. Control events are specified in a <office:event-listeners> element.

13.5.2<form:text>

The <form:text> element defines a control for displaying and inputting text on a single line.

The <form:text> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:text> element has the following attributes: form:control-implementation 19.258, form:convert-empty-to-null 19.259, form:current-value 19.262, form:data-field 19.263, form:disabled 19.268, form:id 19.276, form:linked-cell 19.283, form:max-length 19.288, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316.5, xforms:bind 19.904 and xml:id 19.914.

The <form:text> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.3<form:textarea>

The <form:textarea> element defines a control for displaying and inputting text on multiple lines.

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 a form:current-value attribute and one or more <text:p> elements are present,  , it is implementation dependent which text is used.

The <form:textarea> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:textarea> element has the following attributes: form:control-implementation 19.258, form:convert-empty-to-null 19.259, form:current-value 19.262, form:data-field 19.263, form:disabled 19.268, form:id 19.276, form:linked-cell 19.283, form:max-length 19.288, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316.5, xforms:bind 19.904 and xml:id 19.914.

The <form:textarea> element has the following child elements: <form:properties> 13.7, <office:event-listeners> 10.3.19 and <text:p> 5.1.3.

13.5.4<form:password>

The <form:password> element defines a control that hides text a user inputs using an echo character.

The <form:password> element is usable within the following element: <form:form> 13.3.

The <form:password> element has the following attributes: form:control-implementation 19.258, form:convert-empty-to-null 19.259, form:disabled 19.268, form:echo-char 19.270, form:id 19.276, form:linked-cell 19.283, form:max-length 19.288, form:name 19.294, form:printable 19.299, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316.5, xforms:bind 19.904 and xml:id 19.914.

The <form:password> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.5<form:file>

The <form:file> element defines a control for selecting a file.

The <form:file> element is usable within the following element: <form:form> 13.3.

The <form:file> element has the following attributes: form:control-implementation 19.258, form:current-value 19.262, form:disabled 19.268, form:id 19.276, form:linked-cell 19.283, form:max-length 19.288, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316.5, xforms:bind 19.904 and xml:id 19.914.

The <form:file> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.6<form:formatted-text>

The <form:formatted-text> element defines a control for inputting text, which follows the format defined by a data style that is assigned to the control's graphical shape.

The <form:formatted-text> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:formatted-text> element has the following attributes: form:control-implementation 19.258, form:convert-empty-to-null 19.259, form:current-value 19.262, form:data-field 19.263, form:delay-for-repeat 19.266, form:disabled 19.268, form:id 19.276, form:linked-cell 19.283, form:max-length 19.288, form:max-value 19.289.3, form:min-value 19.290.3, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:repeat 19.302, form:spin-button 19.306, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:validation 19.315, form:value 19.316.5, xforms:bind 19.904 and xml:id 19.914.

The <form:formatted-text> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.7<form:number>

The <form:number> element defines a control which allows the user to enter a floating point number.

The <form:number> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:number> element has the following attributes: form:control-implementation 19.258, form:convert-empty-to-null 19.259, form:current-value 19.262, form:data-field 19.263, form:delay-for-repeat 19.266, form:disabled 19.268, form:id 19.276, form:linked-cell 19.283, form:max-length 19.288, form:max-value 19.289.4, form:min-value 19.290.4, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:repeat 19.302, form:spin-button 19.306, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316.4, xforms:bind 19.904 and xml:id 19.914.

The <form:number> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.8<form:date>

The <form:date> element defines a control for inputting date data.

The <form:date> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:date> element has the following attributes: form:control-implementation 19.258, form:convert-empty-to-null 19.259, form:current-value 19.262, form:data-field 19.263, form:delay-for-repeat 19.266, form:disabled 19.268, form:id 19.276, form:linked-cell 19.283, form:max-length 19.288, form:max-value 19.289.2, form:min-value 19.290.2, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:repeat 19.302, form:spin-button 19.306, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316.3, xforms:bind 19.904 and xml:id 19.914.

The <form:date> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.9<form:time>

The <form:time> element defines a control for inputting time data.

The <form:time> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:time> element has the following attributes: form:control-implementation 19.258, form:convert-empty-to-null 19.259, form:current-value 19.262, form:data-field 19.263, form:delay-for-repeat 19.266, form:disabled 19.268, form:id 19.276, form:linked-cell 19.283, form:max-length 19.288, form:max-value 19.289.5, form:min-value 19.290.5, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:repeat 19.302, form:spin-button 19.306, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316.6, xforms:bind 19.904 and xml:id 19.914.

The <form:time> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.10<form:fixed-text>

The <form:fixed-text> element defines a control which attaches additional information to controls, or displays information. Only one label may be associated with a control.

The <form:fixed-text> element is usable within the following element: <form:form> 13.3.

The <form:fixed-text> element has the following attributes: form:control-implementation 19.258, form:disabled 19.268, form:for 19.275, form:id 19.276, form:label 19.282, form:multi-line 19.292, form:name 19.294, form:printable 19.299, form:title 19.313, xforms:bind 19.904 and xml:id 19.914.

The <form:fixed-text> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.11<form:combobox>

The <form:combobox> element defines a control which allows displaying and editing of text, and contains a list of possible values for that text.

The <form:combobox> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:combobox> element has the following attributes: form:auto-complete 19.252, form:control-implementation 19.258, form:convert-empty-to-null 19.259, form:current-value 19.262, form:data-field 19.263, form:disabled 19.268, form:dropdown 19.269, form:id 19.276, form:linked-cell 19.283, form:list-source 19.285, form:list-source-type 19.286, form:max-length 19.288, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:size 19.304, form:source-cell-range 19.305, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316.5, xforms:bind 19.904 and xml:id 19.914.

The <form:combobox> element has the following child elements: <form:item> 13.5.12, <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.12<form:item>

The <form:item> element defines a list item for a <form:combobox> control.

The <form:item> element is usable within the following element: <form:combobox> 13.5.11.

The <form:item> element has the following attribute: form:label 19.282.

The <form:item> element has no child elements.

The <form:item> element has character data content.

13.5.13<form:listbox>

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.

The <form:listbox> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:listbox> element has the following attributes: form:bound-column 19.254, form:control-implementation 19.258, form:data-field 19.263, form:disabled 19.268, form:dropdown 19.269, form:id 19.276, form:linked-cell 19.283, form:list-linkage-type 19.284, form:list-source 19.285, form:list-source-type 19.286, form:multiple 19.293, form:name 19.294, form:printable 19.299, form:size 19.304, form:source-cell-range 19.305, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:xforms-list-source 19.318, xforms:bind 19.904 and xml:id 19.914.

The <form:listbox> element has the following child elements: <form:option> 13.5.14, <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.14<form:option>

The <form:option> element defines a list item for a <form:listbox> control.

The <form:option> element is usable within the following element: <form:listbox> 13.5.13.

The <form:option> element has the following attributes: form:current-selected 19.260, form:label 19.282, form:selected 19.303 and form:value 19.316.5.

The <form:option> element has no child elements.

The <form:option> element has character data content.

13.5.15<form:button>

The <form:button> element defines a button.

The <form:button> element is usable within the following element: <form:form> 13.3.

The <form:button> element has the following attributes: form:button-type 19.255, form:control-implementation 19.258, form:default-button 19.265, form:delay-for-repeat 19.266, form:disabled 19.268, form:focus-on-click 19.274, form:id 19.276, form:image-align 19.278, form:image-data 19.279, form:image-position 19.280, form:label 19.282, form:name 19.294, form:printable 19.299, form:repeat 19.302, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:toggle 19.314, form:value 19.316.2, form:xforms-submission 19.319, office:target-frame 19.380, xforms:bind 19.904, xlink:href 19.910.19 and xml:id 19.914.

The <form:button> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.16<form:image>

The <form:image> element defines a graphical button control.

Note: HTML 4.01 only allows the button type to be “submit” for an image button. In OpenDocument, an image button can be of any type.

The <form:image> element is usable within the following element: <form:form> 13.3.

The <form:image> element has the following attributes: form:button-type 19.255, form:control-implementation 19.258, form:disabled 19.268, form:id 19.276, form:image-data 19.279, form:name 19.294, form:printable 19.299, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316.5, office:target-frame 19.380, xforms:bind 19.904, xlink:href 19.910.21 and xml:id 19.914.

The <form:image> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.17<form:checkbox>

The <form:checkbox> element defines an on/off control. The control is on when the value of the form:current-state attribute associated with the control element is checked.

The <form:checkbox> element is usable within the following elements: <form:column> 13.5.23 and <form:form> 13.3.

The <form:checkbox> element has the following attributes: form:control-implementation 19.258, form:current-state 19.261, form:data-field 19.263, form:disabled 19.268, form:id 19.276, form:image-align 19.278, form:image-position 19.280, form:is-tristate 19.281, form:label 19.282, form:linked-cell 19.283, form:name 19.294, form:printable 19.299, form:state 19.307, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316.5, form:visual-effect 19.317, xforms:bind 19.904 and xml:id 19.914.

The <form:checkbox> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.18<form:radio>

The <form:radio> element defines a control which acts like a check box except that when multiple radio buttons belong to the same group 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 defined to be initially on, it is undefined which radio button is initially on.

Radio buttons are defined to belong to the same group if they have the same control name, as specified by their form:name attribute.

If a group of radio buttons is bound to one database field, and a user selects any given button, the reference value of the selected radio button is written into its database field.

The <form:radio> element is usable within the following element: <form:form> 13.3.

The <form:radio> element has the following attributes: form:control-implementation 19.258, form:current-selected 19.260, form:data-field 19.263, form:disabled 19.268, form:id 19.276, form:image-align 19.278, form:image-position 19.280, form:label 19.282, form:linked-cell 19.283, form:name 19.294, form:printable 19.299, form:selected 19.303, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316.5, form:visual-effect 19.317, xforms:bind 19.904 and xml:id 19.914.

The <form:radio> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.19<form:frame>

The <form:frame> element defines a frame in which controls may be visually arranged.

The <form:frame> element is usable within the following element: <form:form> 13.3.

The <form:frame> element has the following attributes: form:control-implementation 19.258, form:disabled 19.268, form:for 19.275, form:id 19.276, form:label 19.282, form:name 19.294, form:printable 19.299, form:title 19.313, xforms:bind 19.904 and xml:id 19.914.

The <form:frame> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.20<form:image-frame>

The <form:image-frame> element defines a graphical control. The control displays an image, whose location is described in the control.

The <form:image-frame> element is usable within the following element: <form:form> 13.3.

The <form:image-frame> element has the following attributes: form:control-implementation 19.258, form:data-field 19.263, form:disabled 19.268, form:id 19.276, form:image-data 19.279, form:name 19.294, form:printable 19.299, form:readonly 19.301, form:title 19.313, xforms:bind 19.904 and xml:id 19.914.

The <form:image-frame> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.21<form:hidden>

The <form:hidden> element defines a control that does not have a visual representation.

Note: A control without visual representation can be used for information not displayed to the user but is submitted as part of a form.

The <form:hidden> element is usable within the following element: <form:form> 13.3.

The <form:hidden> element has the following attributes: form:control-implementation 19.258, form:id 19.276, form:name 19.294, form:value 19.316.5, xforms:bind 19.904 and xml:id 19.914.

The <form:hidden> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.22<form:grid>

The <form:grid> element defines a control that displays table data.

Each column in the grid is specified by a <form:column> element.

The <form:grid> element is usable within the following element: <form:form> 13.3.

The <form:grid> element has the following attributes: form:control-implementation 19.258, form:disabled 19.268, form:id 19.276, form:name 19.294, form:printable 19.299, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, xforms:bind 19.904 and xml:id 19.914.

The <form:grid> element has the following child elements: <form:column> 13.5.23, <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.23<form:column>

The <form:column> element defines a column in a grid control.

The <form:column> element is usable within the following element: <form:grid> 13.5.22.

The <form:column> element has the following attributes: form:control-implementation 19.258, form:label 19.282, form:name 19.294 and form:text-style-name 19.312.

The <form:column> element has the following child elements: <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:formatted-text> 13.5.6, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:text> 13.5.2, <form:textarea> 13.5.3 and <form:time> 13.5.9.

13.5.24<form:value-range>

The <form:value-range> element defines a control which allows the user to select a value from a number range.

The <form:value-range> element is usable within the following element: <form:form> 13.3.

The <form:value-range> element has the following attributes: form:control-implementation 19.258, form:delay-for-repeat 19.266, form:disabled 19.268, form:id 19.276, form:linked-cell 19.283, form:max-value 19.289.4, form:min-value 19.290.4, form:name 19.294, form:orientation 19.297, form:page-step-size 19.298, form:printable 19.299, form:repeat 19.302, form:step-size 19.308, form:tab-index 19.310, form:tab-stop 19.311, form:title 19.313, form:value 19.316.4, xforms:bind 19.904 and xml:id 19.914.

The <form:value-range> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.5.25<form:generic-control>

The <form:generic-control> element defines an implementation-defined placeholder for a generic control. The generic control can contain any properties and any events.

The <form:generic-control> element is usable within the following element: <form:form> 13.3.

The <form:generic-control> element has the following attributes: form:control-implementation 19.258, form:id 19.276, form:name 19.294, xforms:bind 19.904 and xml:id 19.914.

The <form:generic-control> element has the following child elements: <form:properties> 13.7 and <office:event-listeners> 10.3.19.

13.6Event Listeners

Forms and form controls may have event listeners attached. The event listeners that are attached to a control are represented by an event listener element as described in section 14.4. This element is contained within form or form control elements.,

Section 19.429 contains guidelines for event names that may be used within forms and form controls. In addition to those, the events listed in Table 9 may be used in forms and form controls.

Table 9 - Form control event names

Value of script:event-name Attribute

Applies To

Description of Event

form:approveaction

Button or image.

Occurs before an “on perform action” event takes place. Allows a user to veto an action.

form:performaction

Button or image.

Occurs when the control action is to be performed. The common interpretation of this event is “pressing the button”.

form:textchange

All controls that allow text input.

Occurs when a user changes the text in a control.

form:itemstatechange

Check box or radio button.

Occurs when the state of a check box or radio button changes.

form:mousedrag

All controls.

Occurs when a user presses and holds one of the mouse buttons and moves the mouse pointer onto a control.

form:approvereset

same objects as for form:on-reset

Occurs before an “on-reset” event takes place. Allows a user to veto a reset event.

form:approveupdate

All controls that can be bound to a database field, that is controls that contain the data-field attribute.

Occurs before an “on update” event takes place. Allows a user to veto an update.

form:update

All controls that can be bound to a database field, that is controls that contain the data-field attribute.

Occurs when the content of a control that is bound to a database field is committed.

form:load

Forms.

Occurs when a form establishes a connection to the data source.

form:startreload

Forms.

Occurs when a form is about to refresh a data source connection.

form:reload

Forms.

Occurs when a form has refreshed a data source connection.

form:startunload

Forms.

Occurs when a form is about to drop a data source connection.

form:unload

Forms.

Occurs when a form has dropped a data source connection.

form:confirmdelete

Forms.

Occurs when a user is about to delete a record.

form:approverowchange

Forms.

Occurs before an “on row change” event takes place. Allows a user to veto a change.

form:rowchange

Forms.

Occurs after changes to a row are complete.

form:approvecursormove

Forms.

Occurs before a form is moved to another row. Allows a user to veto a move.

form:cursormove

Forms.

Occurs after a form is moved to another row.

form:supplyparameter

Forms.

Occurs when a form asks for parameters to connect to a data source.

form:error

Forms, combo boxes and list boxes.

Occurs when a database-related error occurs.

form:adjust

Value Range

Occurs when the value of a Value Range element has been adjusted.

13.7<form:properties>

The <form:properties> element is a container for <form:property> and <form:list-property> elements.

The <form:properties> element is usable within the following elements: <form:button> 13.5.15, <form:checkbox> 13.5.17, <form:combobox> 13.5.11, <form:date> 13.5.8, <form:file> 13.5.5, <form:fixed-text> 13.5.10, <form:form> 13.3, <form:formatted-text> 13.5.6, <form:frame> 13.5.19, <form:generic-control> 13.5.25, <form:grid> 13.5.22, <form:hidden> 13.5.21, <form:image> 13.5.16, <form:image-frame> 13.5.20, <form:listbox> 13.5.13, <form:number> 13.5.7, <form:password> 13.5.4, <form:radio> 13.5.18, <form:text> 13.5.2, <form:textarea> 13.5.3, <form:time> 13.5.9 and <form:value-range> 13.5.24.

The <form:properties> element has no attributes.

The <form:properties> element has the following child elements: <form:list-property> 13.9 and <form:property> 13.8.

13.8<form:property>

The <form:property> element defines the name, type and value of a property.

The <form:property> element is usable within the following element: <form:properties> 13.7.

The <form:property> element has the following attributes: form:property-name 19.300, office:boolean-value 19.367, office:currency 19.369, office:date-value 19.370, office:string-value 19.379, office:time-value 19.382, office:value 19.384, office:value-type 19.385.

The <form:property> element has no child elements.

13.9<form:list-property>

The <form:list-property> element container for <form:list-value> elements.

The <form:list-property> element has an office:value-type attribute (19.385) that acts as a constraint on the attributes that may appear on its child <form:list-value> element.

The <form:list-property> element is usable within the following element: <form:properties> 13.7.

The <form:list-property> element has the following attributes: form:property-name 19.300, office:value-type 19.385.

The <form:list-property> element has the following child elements: <form:list-value> 13.10.

13.10<form:list-value>

The list value element contains value attributes for the value type given in the containing <form:list-property> element.

The <form:list-value> element is usable within the following element: <form:list-property> 13.9.

The <form:list-value> element has the following attributes: office:boolean-value 19.367, office:currency 19.369, office:date-value 19.370, office:string-value 19.379, office:time-value 19.382, office:value 19.384.

The <form:list-value> element has no child elements.

14Common Content

14.1<office:annotation>

The <office:annotation> element specifies an OpenDocument annotation. The annotation's text is contained in <text:p> and <text:list> elements.

The <office:annotation> element is usable within the following elements: <table:covered-table-cell> 9.1.5, <table:table-cell> 9.1.4, <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <office:annotation> element has the following attributes: draw:caption-point-x 19.116, draw:caption-point-y 19.117, draw:class-names 19.120, draw:corner-radius 19.127, draw:id 19.187.3, draw:layer 19.189, draw:name 19.197.28, draw:style-name 19.219.24, draw:text-style-name 19.227, draw:transform 19.228, draw:z-index 19.231, office:display 19.374, office:name 19.376.6, presentation:class-names 19.390, presentation:style-name 19.422, svg:height 19.539.9, svg:width 19.571.11, svg:x 19.573.7, svg:y 19.577.7, table:end-cell-address 19.627, table:end-x 19.632, table:end-y 19.633, table:table-background 19.728, text:anchor-page-number 19.753, text:anchor-type 19.754 and xml:id 19.914.

The <office:annotation> element has the following child elements: <dc:creator> 4.3.2.7, <dc:date> 4.3.2.10, <meta:date-string> 14.3, <text:list> 5.3.1 and <text:p> 5.1.3.

14.2<office:annotation-end>

The <office:annotation-end> element may be used to define the end of a text range of document content that spans element boundaries. In that case, an <office:annotation> element shall precede the <office:annotation-end> element. Both elements shall have the same value for their office:name attribute.

The <office:annotation-end> element shall be preceded by an <office:annotation> element that has the same value for its office:name attribute as the <office:annotation-end> element.

An <office:annotation-end> element without a preceding <office:annotation> element that has the same name assigned is ignored.

The <office:annotation-end> element is usable within the following elements: <text:a> 6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p> 5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7.

The <office:annotation-end> element has the following attribute: office:name 19.376.7.

The <office:annotation-end> element has no child elements.

14.3<meta:date-string>

The <meta:date-string> element contains a date that is of type string and not a date type. This value is used only for display as entered.

The <meta:date-string> element is usable within the following element: <office:annotation> 14.1.

The <meta:date-string> element has no attributes.

The <meta:date-string> element has no child elements.

The <meta:date-string> element has content of data type string 18.2.

14.4Event Listener Tables

14.4.1General

Controls, images, text boxes, or an entire document can support events. An event binds the occurrence of a condition to an action that is executed if the condition arises.

Events are represented as follows:

14.4.2<script:event-listener>

The <script:event-listener> element binds an event to a macro.

The <script:event-listener> element is usable within the following element: <office:event-listeners> 10.3.19.

The <script:event-listener> element has the following attributes: script:event-name 19.429, script:language 19.430, script:macro-name 19.431, xlink:actuate 19.909, xlink:href 19.910.27 and xlink:type 19.913.

The <script:event-listener> element has no child elements.

14.4.3Event Types

Event types are implementation-defined. See 19.429.

14.4.4Macro Name and Location

Macro code for an event may be specified by either an xlink:href attribute as an IRI, or a script:macro-name attribute by name. Macro names and applicable IRI schemes are script language dependent.

14.5<math:math>

The <math:math> element serves as a container for content defined by the MathML 2.0 standard. See [MathML].

The <math:math> element is usable within the following elements: <db:component> 12.25.5 and <draw:object> 10.4.6.2.

14.6DDE Connections

14.6.1General

A Dynamic Data Exchange (DDE) connection consists of parameters for a 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 shall be named.

All elements making use of DDE connections shall 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. Consumers should preserve the DDE connection information even if they cannot make use of it.

Note: 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.

14.6.2<text:dde-connection-decls>

The <text:dde-connection-decls> element is a container element for <text:dde-connection-decl> elements in text documents.

The <text:dde-connection-decls> element is usable within the following elements: <office:chart> 3.8, <office:drawing> 3.5, <office:presentation> 3.6, <office:spreadsheet> 3.7, <office:text> 3.4, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10 and <style:header-left> 16.12.

The <text:dde-connection-decls> element has no attributes.

The <text:dde-connection-decls> element has the following child element: <text:dde-connection-decl> 14.6.3.

14.6.3<text:dde-connection-decl>

The <text:dde-connection-decl> element defines a DDE connection for use in DDE text fields. Multiple DDE fields can refer to one DDE connection by using the same name.

The <text:dde-connection-decl> element is usable within the following element: <text:dde-connection-decls> 14.6.2.

The <text:dde-connection-decl> element has the following attributes: office:automatic-update 19.366, office:dde-application 19.371, office:dde-item 19.372, office:dde-topic 19.373 and office:name 19.376.10.

The <text:dde-connection-decl> element has no child elements.

14.6.4<table:dde-link>

The <table:dde-link> element contains DDE source data for use in spreadsheet formulas. It contains a <office:dde-source> element and a simple table element that may be used to cache the data of a 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.

The <table:dde-link> element is usable within the following element: <table:dde-links> 9.8.

The <table:dde-link> element has no attributes.

The <table:dde-link> element has the following child elements: <office:dde-source> 14.6.5 and <table:table> 9.1.2.

14.6.5<office:dde-source>

The <office:dde-source> element defines a DDE connection.

If the element is a child element of a <table:table> element, the <office:dde-source> element specifies that the table is linked through DDE along the the connection data.

If the element is a child element of a <text:section> element, the <office:dde-source> element specifies that the text section is linked through DDE along the the connection data.

If the element is a child element of a <table:dde-link> element, the <office:dde-source> element specifies the connection data for a DDE link that can be used in spreadsheet formulas.

The <office:dde-source> element is usable within the following elements: <table:dde-link> 14.6.4, <table:table> 9.1.2 and <text:section> 5.4.

The <office:dde-source> element has the following attributes: office:automatic-update 19.366, office:conversion-mode 19.368, office:dde-application 19.371, office:dde-item 19.372, office:dde-topic 19.373 and office:name 19.376.8.

The <office:dde-source> element has no child elements.

15SMIL Animations

15.1General

This section specifies [SMIL20] based elements and attributes that can be used within the OpenDocument format for animation effects.

15.2Basic Animation Elements

15.2.1General

The animation elements are based upon §3.5 and §12.5 of [SMIL20], and section §19.2 of [SVG].

15.2.2<anim:animate>

 See §3.5.1 of [SMIL20].

The <anim:animate> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:animate> element has the following attributes: anim:formula 19.6, anim:sub-item 19.11, smil:accelerate 19.432, smil:accumulate 19.433, smil:additive 19.434, smil:attributeName 19.435, smil:autoReverse 19.436, smil:begin 19.437, smil:by 19.438, smil:calcMode 19.439, smil:decelerate 19.440, smil:dur 19.442, smil:end 19.443, smil:fill 19.446, smil:fillDefault 19.447, smil:from 19.448, smil:keySplines 19.449, smil:keyTimes 19.450, smil:repeatCount 19.452, smil:repeatDur 19.453, smil:restart 19.454, smil:restartDefault 19.455, smil:targetElement 19.457, smil:to 19.458 and smil:values 19.460.

The <anim:animate> element has no child elements.

15.2.3<anim:animateTransform>

The <anim:animateTransform> element defines the transformation of an animation. It is based on the [SVG] <svg:animateTransform> element. See §19.2.14 of [SVG].

The <anim:animateTransform> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:animateTransform> element has the following attributes: anim:formula 19.6, anim:sub-item 19.11, smil:accelerate 19.432, smil:accumulate 19.433, smil:additive 19.434, smil:attributeName 19.435, smil:autoReverse 19.436, smil:begin 19.437, smil:by 19.438, smil:decelerate 19.440, smil:dur 19.442, smil:end 19.443, smil:fill 19.446, smil:fillDefault 19.447, smil:from 19.448, smil:repeatCount 19.452, smil:repeatDur 19.453, smil:restart 19.454, smil:restartDefault 19.455, smil:targetElement 19.457, smil:to 19.458, smil:values 19.460 and svg:type 19.561.

The <anim:animateTransform> element has no child elements.

15.2.4<anim:set>

See §3.5.2 of [SMIL20].

The <anim:set> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:set> element has the following attributes: anim:sub-item 19.11, smil:accelerate 19.432, smil:accumulate 19.433, smil:additive 19.434, smil:attributeName 19.435, smil:autoReverse 19.436, smil:begin 19.437, smil:decelerate 19.440, smil:dur 19.442, smil:end 19.443, smil:fill 19.446, smil:fillDefault 19.447, smil:repeatCount 19.452, smil:repeatDur 19.453, smil:restart 19.454, smil:restartDefault 19.455, smil:targetElement 19.457 and smil:to 19.458.

The <anim:set> element has no child elements.

15.2.5<anim:animateMotion>

 See §19.2.12 of [SVG] and §3.5.3 of [SMIL20].

The <anim:animateMotion> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:animateMotion> element has the following attributes: anim:formula 19.6, anim:sub-item 19.11, smil:accelerate 19.432, smil:accumulate 19.433, smil:additive 19.434, smil:attributeName 19.435, smil:autoReverse 19.436, smil:begin 19.437, smil:by 19.438, smil:calcMode 19.439, smil:decelerate 19.440, smil:dur 19.442, smil:end 19.443, smil:fill 19.446, smil:fillDefault 19.447, smil:from 19.448, smil:keySplines 19.449, smil:keyTimes 19.450, smil:repeatCount 19.452, smil:repeatDur 19.453, smil:restart 19.454, smil:restartDefault 19.455, smil:targetElement 19.457, smil:to 19.458, smil:values 19.460, svg:origin 19.544 and svg:path 19.548.

The <anim:animateMotion> element has no child elements.

15.2.6<anim:animateColor>

See §3.5.4 of [SMIL20].

The <anim:animateColor> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:animateColor> element has the following attributes: anim:color-interpolation 19.2, anim:color-interpolation-direction 19.3, anim:formula 19.6, anim:sub-item 19.11, smil:accelerate 19.432, smil:accumulate 19.433, smil:additive 19.434, smil:attributeName 19.435, smil:autoReverse 19.436, smil:begin 19.437, smil:by 19.438, smil:calcMode 19.439, smil:decelerate 19.440, smil:dur 19.442, smil:end 19.443, smil:fill 19.446, smil:fillDefault 19.447, smil:from 19.448, smil:keySplines 19.449, smil:keyTimes 19.450, smil:repeatCount 19.452, smil:repeatDur 19.453, smil:restart 19.454, smil:restartDefault 19.455, smil:targetElement 19.457, smil:to 19.458 and smil:values 19.460.

The <anim:animateColor> element has no child elements.

15.2.7<anim:transitionFilter>

The <anim:transitionFilter> element is based on the [SMIL20] <smil:transitionFilter> element. See §12.5.1 of [SMIL20].

The <anim:transitionFilter> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:transitionFilter> element has the following attributes: anim:formula 19.6, anim:sub-item 19.11, smil:accelerate 19.432, smil:accumulate 19.433, smil:additive 19.434, smil:autoReverse 19.436, smil:begin 19.437, smil:by 19.438, smil:calcMode 19.439, smil:decelerate 19.440, smil:direction 19.441, smil:dur 19.442, smil:end 19.443, smil:fadeColor 19.445, smil:fill 19.446, smil:fillDefault 19.447, smil:from 19.448, smil:mode 19.451, smil:repeatCount 19.452, smil:repeatDur 19.453, smil:restart 19.454, smil:restartDefault 19.455, smil:subtype 19.456, smil:targetElement 19.457, smil:to 19.458, smil:type 19.459 and smil:values 19.460.

The <anim:transitionFilter> element has no child elements.

15.3Animation Model Attributes

15.3.1General

The animation model uses the same concepts and syntax as specified in §3 of [SMIL20].

15.3.2Simple Animation Functions

Simplified animations can be specified using the [SMIL20] smil:from, smil:to and smil:by attributes. See §3.4.4 of [SMIL20].

15.4Animation Timing

15.4.1General

Animation timing uses the same concepts and syntax as specified in §10 and §11 of [SMIL20].

15.4.2<anim:par>

The <anim:par> element is a container of child animation nodes that have a common starting point.

The <anim:par> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:par> element has the following attributes: anim:id 19.7, presentation:group-id 19.397, presentation:master-element 19.398, presentation:node-type 19.402, presentation:preset-class 19.410, presentation:preset-id 19.411, presentation:preset-sub-type 19.412, smil:accelerate 19.432, smil:autoReverse 19.436, smil:begin 19.437, smil:decelerate 19.440, smil:dur 19.442, smil:end 19.443, smil:endsync 19.444, smil:fill 19.446, smil:fillDefault 19.447, smil:repeatCount 19.452, smil:repeatDur 19.453, smil:restart 19.454, smil:restartDefault 19.455 and xml:id 19.914.

The <anim:par> element has the following child elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

15.4.3<anim:seq>

The <anim:seq> element is a container for child animation nodes that start in a sequential fashion.

The <anim:seq> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:seq> element has the following attributes: anim:id 19.7, presentation:group-id 19.397, presentation:master-element 19.398, presentation:node-type 19.402, presentation:preset-class 19.410, presentation:preset-id 19.411, presentation:preset-sub-type 19.412, smil:accelerate 19.432, smil:autoReverse 19.436, smil:begin 19.437, smil:decelerate 19.440, smil:dur 19.442, smil:end 19.443, smil:endsync 19.444, smil:fill 19.446, smil:fillDefault 19.447, smil:repeatCount 19.452, smil:repeatDur 19.453, smil:restart 19.454, smil:restartDefault 19.455 and xml:id 19.914.

The <anim:seq> element has the following child elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

15.4.4<anim:iterate>

The <anim:iterate> element defines a parallel time container. The animation effects are applied to the child objects of the target element. The effects for each child object are started one after another, where the delay between the start of the effects of two subsequent children is specified by the anim:iterate-interval attribute. 19.8

The <anim:iterate> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:iterate> element has the following attributes: anim:id 19.7, anim:iterate-interval 19.8, anim:iterate-type 19.9, anim:sub-item 19.11, presentation:group-id 19.397, presentation:master-element 19.398, presentation:node-type 19.402, presentation:preset-class 19.410, presentation:preset-id 19.411, presentation:preset-sub-type 19.412, smil:accelerate 19.432, smil:autoReverse 19.436, smil:begin 19.437, smil:decelerate 19.440, smil:dur 19.442, smil:end 19.443, smil:endsync 19.444, smil:fill 19.446, smil:fillDefault 19.447, smil:repeatCount 19.452, smil:repeatDur 19.453, smil:restart 19.454, smil:restartDefault 19.455, smil:targetElement 19.457 and xml:id 19.914.

The <anim:iterate> element has the following child elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

15.5<anim:audio>

The <anim:audio> element is based on the [SMIL20] <smil:audio> element. It specifies the playback of audio streams during an animation. See §7.3.1 of [SMIL20].

The <anim:audio> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:audio> element has the following attributes: anim:audio-level 19.4, anim:id 19.7, presentation:group-id 19.397, presentation:master-element 19.398, presentation:node-type 19.402, presentation:preset-class 19.410, presentation:preset-id 19.411, presentation:preset-sub-type 19.412, smil:begin 19.437, smil:dur 19.442, smil:end 19.443, smil:fill 19.446, smil:fillDefault 19.447, smil:repeatCount 19.452, smil:repeatDur 19.453, smil:restart 19.454, smil:restartDefault 19.455, xlink:href 19.910.2 and xml:id 19.914.

The <anim:audio> element has no child elements.

15.6Animation Command Elements

15.6.1<anim:command>

The <anim:command> element specifies an animation command.

Note: See 19.5 for details about the element's usage in presentation documents.

The <anim:command> element is usable within the following elements: <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <draw:page> 10.2.4 and <style:master-page> 16.9.

The <anim:command> element has the following attributes: anim:command 19.5, anim:id 19.7, anim:sub-item 19.11, presentation:group-id 19.397, presentation:master-element 19.398, presentation:node-type 19.402, presentation:preset-class 19.410, presentation:preset-id 19.411, presentation:preset-sub-type 19.412, smil:begin 19.437, smil:end 19.443, smil:targetElement 19.457 and xml:id 19.914.

The <anim:command> element has the following child element: <anim:param> 15.6.2.

15.6.2<anim:param>

The <anim:param> element specifies a parameter for an <anim:command> element.

The <anim:param> element is usable within the following element: <anim:command> 15.6.1.

The <anim:param> element has the following attributes: anim:name 19.10 and anim:value 19.12.

The <anim:param> element has no child elements.

16Styles

16.1General

Objects in an office document may have formatting properties. A formatting property influences the visual representation of an object.

In the OpenDocument format, formatting properties are stored in styles.

There are two reasons for using styles to store formatting properties:

  1. 1)Format information is separated from document content. 

  2. 2)Styles enable consistent formatting and changing of formatting for objects subject to styles.  

Styles and font face declarations are referenced by their style:name attribute. A referenced style or font face declaration should be defined in the same file as the reference, or in styles.xml.

16.2<style:style>

The <style:style> element represents styles.

Styles defined by the <style:style> element use a hierarchical style model. The <style:style> element supports inheritance of formatting properties by a style from its parent style. A parent style is specified by the style:parent-style-name attribute on a <style:style> element.

The determination of the value of a formatting property begins with any style that is specified by an element. If the formatting property is present in that style, its value is used.

If that style does not specify a value for that formatting property and it has a parent style, the value of the formatting element is taken from the parent style, if present.

If the parent style does not have a value for the formatting property, the search for the formatting property value continues up parent styles until either the formatting property has been found or a style is found with no parent style.

If a search of the parent styles of a style does not result in a value for a formatting property, the determination of its value depends on the style family and the element to which a style is applied.

For styles with family text which are applied to elements which are contained in another element that specifies a style with family text, the search continues within the text style that is applied to the nearest ancestor element that specifies a style with family text, and continues in its parent styles.

For styles with family text which are applied to elements which are contained in a paragraph element 6.1.1, the search continues within the paragraph style that is applied to the paragraph element, and continues in its parent styles.

For styles with family paragraph which are applied to paragraph elements which are contained in a drawing shape or a chart element, the search continues within the graphic, presentation or chart style that is applied to the drawing object or chart element, and continues in its parent styles.

For styles with family paragraph which are applied to paragraph elements which are contained in a table cell, the search continues within the table-cell style that is applied to the table-cell, and continues in its parent  styles. If a value for the formatting property has not been found, the search continues as defined for styles with family table-cell.

For styles with family table-cell which are applied to a table cell, the search continues with the style specified by the table:default-cell-style-name attribute 19.615 of the table cell's <table:table-row> parent element, if present, and then with the style specified by the table:default-cell-style-name attribute of the <table:table-column> element associated with the table cell.

In all other cases, or if a value for the formatting property has not been found by any of the family specific rules, a default style 16.4 that has the same family as the style initially declared sets the value. If there is no value specified in that default style, an implementation-dependent value is used.

The <style:style> element is usable within the following elements: <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2.

The <style:style> element has the following attributes: style:auto-update 19.463, style:class 19.466, style:data-style-name 19.469.3, style:default-outline-level 19.470, style:display-name 19.472, style:family 19.476, style:list-level 19.495, style:list-style-name 19.496, style:master-page-name 19.497, style:name 19.498.2, style:next-style-name 19.499.3, style:parent-style-name 19.506 and style:percentage-data-style-name 19.507.

The <style:style> element has the following child elements: <style:chart-properties> 17.22, <style:drawing-page-properties> 17.25, <style:graphic-properties> 17.21, <style:map> 16.3, <style:paragraph-properties> 17.6, <style:ruby-properties> 17.10, <style:section-properties> 17.11, <style:table-cell-properties> 17.18, <style:table-column-properties> 17.16, <style:table-properties> 17.15, <style:table-row-properties> 17.17, <style:text-properties> 16.27.28.

16.3<style:map>

The <style:map> element represents a condition, which if met, results in the mapping of a style. A style that contains one or more mappings is called an conditional style. Each condition is represented by a unique <style:map> element.

Conditional styles are supported by:

The <style:map> element is usable within the following elements: <number:boolean-style> 16.27.23, <number:currency-style> 16.27.7, <number:date-style> 16.27.10, <number:number-style> 16.27.2, <number:percentage-style> 16.27.9, <number:text-style> 16.27.25, <number:time-style> 16.27.18 and <style:style> 16.2.

The <style:map> element has the following attributes: style:apply-style-name 19.462, style:base-cell-address 19.464 and style:condition 19.468.

The <style:map> element has no child elements.

16.4<style:default-style>

The <style:default-style> element represents default styles. A default style specifies default formatting properties for a 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 by the style:family attribute 19.476.

An OpenDocument document should contain the default styles of the style families for which are used in common or automatic styles in the document.

The <style:default-style> element is usable within the following element: <office:styles> 3.15.2.

The <style:default-style> element has the following attributes: style:family 19.476.

The <style:default-style> element has the following child elements: <style:chart-properties> 17.22, <style:drawing-page-properties> 17.25, <style:graphic-properties> 17.21, <style:paragraph-properties> 17.6, <style:ruby-properties> 17.10, <style:section-properties> 17.11, <style:table-cell-properties> 17.18, <style:table-column-properties> 17.16, <style:table-properties> 17.15, <style:table-row-properties> 17.17, <style:text-properties> 16.27.28.

16.5<style:page-layout>

The <style:page-layout> element represents the styles that specify the formatting properties of a page.

The <style:page-layout> element is usable within the following element: <office:automatic-styles> 3.15.3.

The <style:page-layout> element has the following attributes: style:name 19.498.2 and style:page-usage 19.505.

The <style:page-layout> element has the following child elements: <style:footer-style> 16.7, <style:header-style> 16.6 and <style:page-layout-properties> 17.2.

16.6<style:header-style>

The <style:header-style> element specifies the formatting properties for a header element.

The <style:header-style> element is usable within the following elements: <style:default-page-layout> 16.8 and <style:page-layout> 16.5.

The <style:header-style> element has no attributes.

The <style:header-style> element has the following child element: <style:header-footer-properties> 17.5.

16.7<style:footer-style>

The <style:footer-style> element specifies the formatting properties for a footer element.

The <style:footer-style> element is usable within the following elements: <style:default-page-layout> 16.8 and <style:page-layout> 16.5.

The <style:footer-style> element has no attributes.

The <style:footer-style> element has the following child element: <style:header-footer-properties> 17.5.

16.8<style:default-page-layout>

The <style:default-page-layout> element specifies default formatting properties for page layouts. These defaults are used if a formatting property is not specified in a <style:page-layout-properties> element. 17.2

The <style:default-page-layout> element is usable within the following element: <office:styles> 3.15.2.

The <style:default-page-layout> element has no attributes.

The <style:default-page-layout> element has the following child elements: <style:footer-style> 16.7, <style:header-style> 16.6 and <style:page-layout-properties> 17.2.

16.9<style:master-page>

In text and spreadsheet documents, the <style:master-page> element contains the content of headers and footers. For these types of documents, consumers may generate a sequence of pages by making use of a single master page or a set of master pages.

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 is directly linked to one master page, which is specified by the draw:master-page-name attribute of the drawing pages style.

Master pages are contained in the <office:master-styles> element.

All documents shall contain at least one master page element.

If a text or spreadsheet document is displayed in a paged layout, master pages are used to generate a sequence of pages containing the document content. When a page is created, an empty page is generated with the properties of the master page and the static content of the master page. The body of the page is then filled with content. A single master pages can be used to created multiple pages within a document.

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. A page that starts at the page break position uses the specified master page.

In drawings and presentations, master pages can be assigned to drawing pages using a style:parent-style-name attribute.

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.

The <style:master-page> element is usable within the following element: <office:master-styles> 3.15.4.

The <style:master-page> element has the following attributes: draw:style-name 19.219.27, style:display-name 19.472, style:name 19.498.2, style:next-style-name 19.499.2 and style:page-layout-name 19.504.

The <style:master-page> element has the following child elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2, <anim:seq> 15.4.3, <anim:set> 15.2.4, <anim:transitionFilter> 15.2.7, <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:layer-set> 10.2.2, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6, <office:forms> 13.2, <presentation:notes> 16.17, <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10 and <style:header-left> 16.12.

16.10<style:header>

The <style:header> element represents the content of a header in a <style:master-page> element.

The <style:header> element is usable within the following element: <style:master-page> 16.9.

The <style:header> element has the following attribute: style:display 19.471.

The <style:header> element has the following child elements: <style:region-center> 16.15, <style:region-left> 16.14, <style:region-right> 16.16, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:dde-connection-decls> 14.6.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:list> 5.3.1, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:sequence-decls> 7.4.11, <text:table-index> 8.5, <text:table-of-content> 8.3, <text:tracked-changes> 5.5.1, <text:user-field-decls> 7.4.7, <text:user-index> 8.7 and <text:variable-decls> 7.4.2.

16.11<style:footer>

The <style:footer> element represents the content of a footer in a <style:master-page> element.

The <style:footer> element is usable within the following element: <style:master-page> 16.9.

The <style:footer> element has the following attribute: style:display 19.471.

The <style:footer> element has the following child elements: <style:region-center> 16.15, <style:region-left> 16.14, <style:region-right> 16.16, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:dde-connection-decls> 14.6.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:list> 5.3.1, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:sequence-decls> 7.4.11, <text:table-index> 8.5, <text:table-of-content> 8.3, <text:tracked-changes> 5.5.1, <text:user-field-decls> 7.4.7, <text:user-index> 8.7 and <text:variable-decls> 7.4.2.

16.12<style:header-left>

The <style:header-left> element represents the content for a header for a left page, if different from the right page in a <style:master-page> element.

The <style:header-left> element is usable within the following element: <style:master-page> 16.9.

The <style:header-left> element has the following attribute: style:display 19.471.

The <style:header-left> element has the following child elements: <style:region-center> 16.15, <style:region-left> 16.14, <style:region-right> 16.16, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:dde-connection-decls> 14.6.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:list> 5.3.1, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:sequence-decls> 7.4.11, <text:table-index> 8.5, <text:table-of-content> 8.3, <text:tracked-changes> 5.5.1, <text:user-field-decls> 7.4.7, <text:user-index> 8.7 and <text:variable-decls> 7.4.2.

16.13<style:footer-left>

The <style:footer-left> element represents the content for a footer for a left page, if different from the right page for a <style:master-page> element.

The <style:footer-left> element is usable within the following element: <style:master-page> 16.9.

The <style:footer-left> element has the following attribute: style:display 19.471.

The <style:footer-left> element has the following child elements: <style:region-center> 16.15, <style:region-left> 16.14, <style:region-right> 16.16, <table:table> 9.1.2, <text:alphabetical-index> 8.8, <text:alphabetical-index-auto-mark-file> 8.8.3, <text:bibliography> 8.9, <text:change> 5.5.7.4, <text:change-end> 5.5.7.3, <text:change-start> 5.5.7.2, <text:dde-connection-decls> 14.6.2, <text:h> 5.1.2, <text:illustration-index> 8.4, <text:index-title> 8.2.3, <text:list> 5.3.1, <text:object-index> 8.6, <text:p> 5.1.3, <text:section> 5.4, <text:sequence-decls> 7.4.11, <text:table-index> 8.5, <text:table-of-content> 8.3, <text:tracked-changes> 5.5.1, <text:user-field-decls> 7.4.7, <text:user-index> 8.7 and <text:variable-decls> 7.4.2.

16.14<style:region-left>

The <style:region-left> element specifies a left-aligned portion of a header or footer. That region may contain a sequence of <text:p> elements.

The <style:region-left> element is usable within the following elements: <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10 and <style:header-left> 16.12.

The <style:region-left> element has no attributes.

The <style:region-left> element has the following child element: <text:p> 5.1.3.

16.15<style:region-center>

The <style:region-center> element specifies a center-aligned portion of a header or footer. That region may contain a sequence of <text:p> elements.

The <style:region-center> element is usable within the following elements: <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10 and <style:header-left> 16.12.

The <style:region-center> element has no attributes.

The <style:region-center> element has the following child element: <text:p> 5.1.3.

16.16<style:region-right>

The <style:region-right> element specifies a right-aligned portion of a header or footer. That region may contain a sequence of <text:p> elements.

The <style:region-right> element is usable within the following elements: <style:footer> 16.11, <style:footer-left> 16.13, <style:header> 16.10 and <style:header-left> 16.12.

The <style:region-right> element has no attributes.

The <style:region-right> element has the following child element: <text:p> 5.1.3.

16.17<presentation:notes>

The <presentation:notes> element defines a notes page. A notes page contains a preview of a drawing page and additional graphic shapes.

The <presentation:notes> element is usable within the following elements: <draw:page> 10.2.4 and <style:master-page> 16.9.

The <presentation:notes> element has the following attributes: draw:style-name 19.219.25, presentation:use-date-time-name 19.424, presentation:use-footer-name 19.425, presentation:use-header-name 19.426 and style:page-layout-name 19.504.

The <presentation:notes> element has the following child elements: <dr3d:scene> 10.5.2, <draw:a> 10.4.12, <draw:caption> 10.3.11, <draw:circle> 10.3.8, <draw:connector> 10.3.10, <draw:control> 10.3.13, <draw:custom-shape> 10.6.1, <draw:ellipse> 10.3.9, <draw:frame> 10.4.2, <draw:g> 10.3.15, <draw:line> 10.3.3, <draw:measure> 10.3.12, <draw:page-thumbnail> 10.3.14, <draw:path> 10.3.7, <draw:polygon> 10.3.5, <draw:polyline> 10.3.4, <draw:rect> 10.3.2, <draw:regular-polygon> 10.3.6 and <office:forms> 13.2.

16.18<table:table-template>

A <table:table-template> element represents a set of references to table cell styles that specify the formatting to be used when creating a table.

If more than one table cell style reference is applicable to a cell, the first style that is applicable is chosen in the following order:

Table templates are contained in a <office:styles> element.

The <table:table-template> element is usable within the following element: <office:styles> 3.15.2.

The <table:table-template> element has the following attributes: table:first-row-end-column 19.640, table:first-row-start-column 19.641, table:last-row-end-column 19.659, table:last-row-start-column 19.661 and table:name 19.673.14.

The <table:table-template> element has the following child elements: <table:background> 16.20, <table:body> 16.19.6, <table:even-columns> 16.19.9, <table:even-rows> 16.19.7, <table:first-column> 16.19.4, <table:first-row> 16.19.2, <table:last-column> 16.19.5, <table:last-row> 16.19.3, <table:odd-columns> 16.19.10 and <table:odd-rows> 16.19.8.

16.19Cell Styles

16.19.1General

The cell styles applied in a table are based on the position of cells in a table.

16.19.2<table:first-row>

The <table:first-row> element specifies a cell style that shall be applied to the first row of a table.

The <table:first-row> element is usable within the following element: <table:table-template> 16.18.

The <table:first-row> element has the following attributes: table:paragraph-style-name 19.688 and table:style-name 19.726.8.

The <table:first-row> element has no child elements.

16.19.3<table:last-row>

The <table:last-row> element specifies a cell style that shall be applied to the last row of a table.

The <table:last-row> element is usable within the following element: <table:table-template> 16.18.

The <table:last-row> element has the following attributes: table:paragraph-style-name 19.688 and table:style-name 19.726.10.

The <table:last-row> element has no child elements.

16.19.4<table:first-column>

The <table:first-column> element specifies a cell style that shall be applied to the first table column in a table.

The <table:first-column> element is usable within the following element: <table:table-template> 16.18.

The <table:first-column> element has the following attributes: table:paragraph-style-name 19.688 and table:style-name 19.726.7.

The <table:first-column> element has no child elements.

16.19.5<table:last-column>

The <table:last-column> element specifies a cell style that shall be applied to the last table column in a table.

The <table:last-column> element is usable within the following element: <table:table-template> 16.18.

The <table:last-column> element has the following attributes: table:paragraph-style-name 19.688 and table:style-name 19.726.9.

The <table:last-column> element has no child elements.

16.19.6<table:body>

The <table:body> element specifies styles for cells that are not governed by other specified styles.

The <table:body> element is usable within the following element: <table:table-template> 16.18.

The <table:body> element has the following attributes: table:paragraph-style-name 19.688 and table:style-name 19.726.3.

The <table:body> element has no child elements.

16.19.7<table:even-rows>

The <table:even-rows> element specifies styles to be applied to even rows in a table.

The <table:even-rows> element is usable within the following element: <table:table-template> 16.18.

The <table:even-rows> element has the following attributes: table:paragraph-style-name 19.688 and table:style-name 19.726.6.

The <table:even-rows> element has no child elements.

16.19.8<table:odd-rows>

The <table:odd-rows> element specifies styles to be applied to odd rows in a table.

The <table:odd-rows> element is usable within the following element: <table:table-template> 16.18.

The <table:odd-rows> element has the following attributes: table:paragraph-style-name 19.688 and table:style-name 19.726.12.

The <table:odd-rows> element has no child elements.

16.19.9<table:even-columns>

The <table:even-columns> element specifies styles to be applied to even columns in a table.

The <table:even-columns> element is usable within the following element: <table:table-template> 16.18.

The <table:even-columns> element has the following attributes: table:paragraph-style-name 19.688 and table:style-name 19.726.5.

The <table:even-columns> element has no child elements.

16.19.10<table:odd-columns>

The <table:odd-columns> element specifies styles to be applied to odd columns in a table.

The <table:odd-columns> element is usable within the following element: <table:table-template> 16.18.

The <table:odd-columns> element has the following attributes: table:paragraph-style-name 19.688 and table:style-name 19.726.11.

The <table:odd-columns> element has no child elements.

16.20<table:background>

The <table:background> element specifies a table style that provides a background to a table that is visible if all or part of the table is transparent.

The <table:background> element is usable within the following element: <table:table-template> 16.18.

The <table:background> element has the following attribute: table:style-name 19.726.2.

The <table:background> element has no child elements.

16.21<style:font-face>

The <style:font-face> element represents a font face declaration which documents the properties of a font used in a document.

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).

OpenDocument font face declarations may have an unique name. This name can be used inside styles (as an attribute of <style:text-properties> element) as value of the style:font-name attribute to select a font face declaration. If a font face declaration is referenced by name, the font matching algorithms for selecting a font declaration based on the font-family, font-style, font-variant, font-weight and font-size descriptors are not used but the referenced font face declaration is used directly. (See §15.5 [CSS2])

Consumers should implement the CSS2 font matching algorithm with the OpenDocument font face extensions. They may implement variations of the CSS2 font matching algorithm. They may 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. (See §15.5 [CSS2])

Font face declarations support the font descriptor attributes and elements described in §20.8.3 of [SVG].

The <style:font-face> element is usable within the following element: <office:font-face-decls> 3.14.

The <style:font-face> element has the following attributes: style:font-adornments 19.478, style:font-charset 19.479, style:font-family-generic 19.480, style:font-pitch 19.481, style:name 19.498.3, svg:accent-height 19.519, svg:alphabetic 19.520, svg:ascent 19.521, svg:bbox 19.522, svg:cap-height 19.523, svg:descent 19.527, svg:font-family 19.528, svg:font-size 19.529, svg:font-stretch 19.530, svg:font-style 19.531, svg:font-variant 19.532, svg:font-weight 19.533, svg:hanging 19.538, svg:ideographic 19.540, svg:mathematical 19.541, svg:overline-position 19.545, svg:overline-thickness 19.546, svg:panose-1 19.547, svg:slope 19.552, svg:stemh 19.554, svg:stemv 19.555, svg:strikethrough-position 19.558, svg:strikethrough-thickness 19.559, svg:underline-position 19.562, svg:underline-thickness 19.563, svg:unicode-range 19.564, svg:units-per-em 19.565, svg:v-alphabetic 19.566, svg:v-hanging 19.567, svg:v-ideographic 19.568, svg:v-mathematical 19.569, svg:widths 19.572 and svg:x-height 19.576.

The <style:font-face> element has the following child elements: <svg:definition-src> 16.25 and <svg:font-face-src> 16.22.

16.22<svg:font-face-src>

See §20.8.3 of [SVG].

The <svg:font-face-src> element is usable within the following element: <style:font-face> 16.21.

The <svg:font-face-src> element has no attributes.

The <svg:font-face-src> element has the following child elements: <svg:font-face-name> 16.23 and <svg:font-face-uri> 16.24.

16.23<svg:font-face-name>

See §20.8.3 of [SVG].

The <svg:font-face-name> element is usable within the following element: <svg:font-face-src> 16.22.

The <svg:font-face-name> element has the following attribute: svg:name 19.542.

The <svg:font-face-name> element has no child elements.

16.24<svg:font-face-uri>

See § 20.8.3 of [SVG].

The <svg:font-face-uri> element is usable within the following element: <svg:font-face-src> 16.22.

The <svg:font-face-uri> element has the following attributes: xlink:actuate 19.909, xlink:href 19.910.30 and xlink:type 19.913.

The <svg:font-face-uri> element has the following child element: <svg:font-face-format> 16.26.

16.25<svg:definition-src>

See § 20.8.3 of [SVG].

The <svg:definition-src> element is usable within the following element: <style:font-face> 16.21.

The <svg:definition-src> element has the following attributes: xlink:actuate 19.909, xlink:href 19.910.29 and xlink:type 19.913.

The <svg:definition-src> element has no child elements.

16.26<svg:font-face-format>

See §20.8.3 of [SVG].

The <svg:font-face-format> element is usable within the following element: <svg:font-face-uri> 16.24.

The <svg:font-face-format> element has the following attribute: svg:string 19.560.

The <svg:font-face-format> element has no child elements.

16.27Data Styles

16.27.1General

Data styles specify the styles to be applied to defined data types for display.

Data styles shall not specify two <number:text> elements in sequence as part of a data style.

16.27.2<number:number-style>

The <number:number-style> element is a container for elements that define a style for decimal numbers.

The <number:number-style> element is usable within the following elements: <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2.

The <number:number-style> element has the following attributes: number:country 19.342, number:language 19.349, number:rfc-language-tag 19.356, number:script 19.357, number:title 19.360, number:transliteration-country 19.361, number:transliteration-format 19.362, number:transliteration-language 19.363, number:transliteration-style 19.364, style:display-name 19.472, style:name 19.498.2 and style:volatile 19.517.

The <number:number-style> element has the following child elements: <number:fraction> 16.27.6, <number:number> 16.27.3, <number:scientific-number> 16.27.5, <number:text> 16.27.26, <style:map> 16.3 and <style:text-properties> 16.27.28.

16.27.3<number:number>

The <number:number> element specifies the display formatting properties for a decimal number.

The <number:number> element is usable within the following elements: <number:currency-style> 16.27.7, <number:number-style> 16.27.2 and <number:percentage-style> 16.27.9.

The <number:number> element has the following attributes: number:decimal-places 19.343.2, number:decimal-replacement 19.344, number:display-factor 19.346, number:grouping 19.348 and number:min-integer-digits 19.352.

The <number:number> element has the following child element: <number:embedded-text> 16.27.4.

16.27.4<number:embedded-text>

The <number:embedded-text> element specifies text that is displayed at one specific position within a number.

The <number:embedded-text> element is usable within the following element: <number:number> 16.27.3.

The <number:embedded-text> element has the following attribute: number:position 19.354.

The <number:embedded-text> element has no child elements.

The <number:embedded-text> element has character data content.

16.27.5<number:scientific-number>

The <number:scientific-number> element specifies the display formatting properties for a number style that should be displayed in scientific format.

The <number:scientific-number> element is usable within the following element: <number:number-style> 16.27.2.

The <number:scientific-number> element has the following attributes: number:decimal-places 19.343.4, number:grouping 19.348, number:min-exponent-digits 19.351 and number:min-integer-digits 19.352.

The <number:scientific-number> element has no child elements.

16.27.6<number:fraction>

The <number:fraction> element specifies the display formatting properties for a number style that should be displayed as a fraction.

The <number:fraction> element is usable within the following element: <number:number-style> 16.27.2.

The <number:fraction> element has the following attributes: number:denominator-value 19.345, number:grouping 19.348, number:min-denominator-digits 19.350, number:min-integer-digits 19.352 and number:min-numerator-digits 19.353.

The <number:fraction> element has no child elements.

16.27.7<number:currency-style>

The <number:currency-style> element specifies the style for currency values.

The <number:currency-style> element is usable within the following elements: <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2.

The <number:currency-style> element has the following attributes: number:automatic-order 19.340, number:country 19.342, number:language 19.349, number:rfc-language-tag 19.356, number:script 19.357, number:title 19.360, number:transliteration-country 19.361, number:transliteration-format 19.362, number:transliteration-language 19.363, number:transliteration-style 19.364, style:display-name 19.472, style:name 19.498.2 and style:volatile 19.517.

The <number:currency-style> element has the following child elements: <number:currency-symbol> 16.27.8, <number:number> 16.27.3, <number:text> 16.27.26, <style:map> 16.3 and <style:text-properties> 16.27.28.

16.27.8<number:currency-symbol>

The <number:currency-symbol> element specifies whether a currency symbol is displayed in a currency style.

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.

The <number:currency-symbol> element is usable within the following element: <number:currency-style> 16.27.7.

The <number:currency-symbol> element has the following attributes: number:country 19.342, number:language 19.349, number:rfc-language-tag 19.356 and number:script 19.357.

The <number:currency-symbol> element has no child elements.

The <number:currency-symbol> element has character data content.

16.27.9<number:percentage-style>

The <number:percentage-style> element specifies the style for percentage values.

A <number:percentage-style> element should have <number:text> child element whose character data contains a “%” (U+0025, PERCENT SIGN) character.

The <number:percentage-style> element is usable within the following elements: <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2.

The <number:percentage-style> element has the following attributes: number:country 19.342, number:language 19.349, number:rfc-language-tag 19.356, number:script 19.357, number:title 19.360, number:transliteration-country 19.361, number:transliteration-format 19.362, number:transliteration-language 19.363, number:transliteration-style 19.364, style:display-name 19.472, style:name 19.498.2 and style:volatile 19.517.

The <number:percentage-style> element has the following child elements: <number:number> 16.27.3, <number:text> 16.27.26, <style:map> 16.3 and <style:text-properties> 16.27.28.

16.27.10<number:date-style>

The <number:date-style> element specifies a style for date values.

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>.

The <number:date-style> element is usable within the following elements: <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2.

The <number:date-style> element has the following attributes: number:automatic-order 19.340, number:country 19.342, number:format-source 19.347, number:language 19.349, number:rfc-language-tag 19.356, number:script 19.357, number:title 19.360, number:transliteration-country 19.361, number:transliteration-format 19.362, number:transliteration-language 19.363, number:transliteration-style 19.364, style:display-name 19.472, style:name 19.498.2 and style:volatile 19.517.

The <number:date-style> element has the following child elements: <number:am-pm> 16.27.22, <number:day> 16.27.11, <number:day-of-week> 16.27.15, <number:era> 16.27.14, <number:hours> 16.27.19, <number:minutes> 16.27.20, <number:month> 16.27.12, <number:quarter> 16.27.17, <number:seconds> 16.27.21, <number:text> 16.27.26, <number:week-of-year> 16.27.16, <number:year> 16.27.13, <style:map> 16.3 and <style:text-properties> 16.27.28.

16.27.11<number:day>

The <number:day> element specifies a day of a month in a date.

The <number:day> element is usable within the following element: <number:date-style> 16.27.10.

The <number:day> element has the following attributes: number:calendar 19.341 and number:style 19.358.2.

The <number:day> element has no child elements.

16.27.12<number:month>

The <number:month> element specifies a month in a date.

The <number:month> element is usable within the following element: <number:date-style> 16.27.10.

The <number:month> element has the following attributes: number:calendar 19.341, number:possessive-form 19.355, number:style 19.358.7 and number:textual 19.359.

The <number:month> element has no child elements.

16.27.13<number:year>

The <number:year> element specifies a year in a date.

The <number:year> element is usable within the following element: <number:date-style> 16.27.10.

The <number:year> element has the following attributes: number:calendar 19.341 and number:style 19.358.10.

The <number:year> element has no child elements.

16.27.14<number:era>

The <number:era> element specifies an era in which a year is counted.

The <number:era> element is usable within the following element: <number:date-style> 16.27.10.

The <number:era> element has the following attributes: number:calendar 19.341 and number:style 19.358.4.

The <number:era> element has no child elements.

16.27.15<number:day-of-week>

The <number:day-of-week> element specifies a day of a week in a date.

The <number:day-of-week> element is usable within the following element: <number:date-style> 16.27.10.

The <number:day-of-week> element has the following attributes: number:calendar 19.341 and number:style 19.358.3.

The <number:day-of-week> element has no child elements.

16.27.16<number:week-of-year>

The <number:week-of-year> element specifies a week of a year in a date.

The <number:week-of-year> element is usable within the following element: <number:date-style> 16.27.10.

The <number:week-of-year> element has the following attribute: number:calendar 19.341.

The <number:week-of-year> element has no child elements.

16.27.17<number:quarter>

The <number:quarter> element specifies a quarter of the year in a date.

The <number:quarter> element is usable within the following element: <number:date-style> 16.27.10.

The <number:quarter> element has the following attributes: number:calendar 19.341 and number:style 19.358.8.

The <number:quarter> element has no child elements.

16.27.18<number:time-style>

The <number:time-style> element specifies a style for time values.

This element can contain one instance of any of the following elements: <number:hours>, <number:minutes>, <number:seconds> and <number:am-pm>.

The <number:time-style> element can also contain <number:text> elements, which display additional text.

The <number:time-style> element is usable within the following elements: <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2.

The <number:time-style> element has the following attributes: number:country 19.342, number:format-source 19.347, number:language 19.349, number:rfc-language-tag 19.356, number:script 19.357, number:title 19.360, number:transliteration-country 19.361, number:transliteration-format 19.362, number:transliteration-language 19.363, number:transliteration-style 19.364, number:truncate-on-overflow 19.365, style:display-name 19.472, style:name 19.498.2 and style:volatile 19.517.

The <number:time-style> element has the following child elements: <number:am-pm> 16.27.22, <number:hours> 16.27.19, <number:minutes> 16.27.20, <number:seconds> 16.27.21, <number:text> 16.27.26, <style:map> 16.3 and <style:text-properties> 16.27.28.

16.27.19<number:hours>

The <number:hours> element specifies whether hours are displayed as part of a date or time.

The <number:hours> element is usable within the following elements: <number:date-style> 16.27.10 and <number:time-style> 16.27.18.

The <number:hours> element has the following attribute: number:style 19.358.5.

The <number:hours> element has no child elements.

16.27.20<number:minutes>

The <number:minutes> element specifies whether minutes are displayed as part of a date or time.

The <number:minutes> element is usable within the following elements: <number:date-style> 16.27.10 and <number:time-style> 16.27.18.

The <number:minutes> element has the following attribute: number:style 19.358.6.

The <number:minutes> element has no child elements.

16.27.21<number:seconds>

The <number:seconds> element specifies whether seconds are displayed as part of a date or time.

The <number:seconds> element is usable within the following elements: <number:date-style> 16.27.10 and <number:time-style> 16.27.18.

The <number:seconds> element has the following attributes: number:decimal-places 19.343.3 and number:style 19.358.9.

The <number:seconds> element has no child elements.

16.27.22<number:am-pm>

The <number:am-pm> element specifies whether AM/PM is included as part of a date or time.

If a <number:am-pm> element is contained in a date or time style, hours are displayed using values from 1 to 12 only.

The <number:am-pm> element is usable within the following elements: <number:date-style> 16.27.10 and <number:time-style> 16.27.18.

The <number:am-pm> element has no attributes.

The <number:am-pm> element has no child elements.

16.27.23<number:boolean-style>

The <number:boolean-style> element defines a style for Boolean values.

The <number:boolean-style> element is usable within the following elements: <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2.

The <number:boolean-style> element has the following attributes: number:country 19.342, number:language 19.349, number:rfc-language-tag 19.356, number:script 19.357, number:title 19.360, number:transliteration-country 19.361, number:transliteration-format 19.362, number:transliteration-language 19.363, number:transliteration-style 19.364, style:display-name 19.472, style:name 19.498.2 and style:volatile 19.517.

The <number:boolean-style> element has the following child elements: <number:boolean> 16.27.24, <number:text> 16.27.26, <style:map> 16.3 and <style:text-properties> 16.27.28.

16.27.24<number:boolean>

The <number:boolean> element marks the position of the Boolean value of a Boolean style.

The <number:boolean> element is usable within the following element: <number:boolean-style> 16.27.23.

The <number:boolean> element has no attributes.

The <number:boolean> element has no child elements.

16.27.25<number:text-style>

The <number:text-style> element defines a style for displaying text.

It can also contain <number:text> elements, which display additional text.

The <number:text-style> element is usable within the following elements: <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2.

The <number:text-style> element has the following attributes: number:country 19.342, number:language 19.349, number:rfc-language-tag 19.356, number:script 19.357, number:title 19.360, number:transliteration-country 19.361, number:transliteration-format 19.362, number:transliteration-language 19.363, number:transliteration-style 19.364, style:display-name 19.472, style:name 19.498.2 and style:volatile 19.517.

The <number:text-style> element has the following child elements: <number:text> 16.27.26, <number:text-content> 16.27.27, <style:map> 16.3 and <style:text-properties> 16.27.28.

16.27.26<number:text>

The <number:text> element contains any fixed text for a data style.

The <number:text> element is usable within the following elements: <number:boolean-style> 16.27.23, <number:currency-style> 16.27.7, <number:date-style> 16.27.10, <number:number-style> 16.27.2, <number:percentage-style> 16.27.9, <number:text-style> 16.27.25 and <number:time-style> 16.27.18.

The <number:text> element has no attributes.

The <number:text> element has no child elements.

The <number:text> element has character data content.

16.27.27<number:text-content>

The <number:text-content> element marks the position of variable text content of a text style.

The <number:text-content> element is usable within the following element: <number:text-style> 16.27.25.

The <number:text-content> element has no attributes.

The <number:text-content> element has no child elements.

16.27.28<style:text-properties>

The <style:text-properties> element specifies formatting properties for text.

It also specifies the formatting properties for a section.

The <style:text-properties> element is usable within the following elements: <number:boolean-style> 16.27.23, <number:currency-style> 16.27.7, <number:date-style> 16.27.10, <number:number-style> 16.27.2, <number:percentage-style> 16.27.9, <number:text-style> 16.27.25, <number:time-style> 16.27.18, <style:default-style> 16.4, <style:style> 16.2, <text:list-level-style-bullet> 16.31, <text:list-level-style-number> 16.32 and <text:outline-level-style> 16.35.

The <style:text-properties> element has the following attributes: fo:background-color 20.175, fo:color 20.180, fo:country 20.181, fo:font-family 20.182, fo:font-size 20.183, fo:font-style 20.184, fo:font-variant 20.185, fo:font-weight 20.186, fo:hyphenate 20.188, fo:hyphenation-push-char-count 20.191, fo:hyphenation-remain-char-count 20.192, fo:language 20.195, fo:letter-spacing 20.196, fo:script 20.215, fo:text-shadow 20.219, fo:text-transform 20.220, style:country-asian 20.248, style:country-complex 20.249, style:font-charset 20.260, style:font-charset-asian 20.261, style:font-charset-complex 20.262, style:font-family-asian 20.263, style:font-family-complex 20.264, style:font-family-generic 20.265, style:font-family-generic-asian 20.266, style:font-family-generic-complex 20.267, style:font-name 20.269, style:font-name-asian 20.270, style:font-name-complex 20.271, style:font-pitch 20.272, style:font-pitch-asian 20.273, style:font-pitch-complex 20.274, style:font-relief 20.275, style:font-size-asian 20.276, style:font-size-complex 20.277, style:font-size-rel 20.278, style:font-size-rel-asian 20.279, style:font-size-rel-complex 20.280, style:font-style-asian 20.281, style:font-style-complex 20.282, style:font-style-name 20.283, style:font-style-name-asian 20.284, style:font-style-name-complex 20.285, style:font-weight-asian 20.286, style:font-weight-complex 20.287, style:language-asian 20.294, style:language-complex 20.295, style:letter-kerning 20.308, style:rfc-language-tag 20.335, style:rfc-language-tag-asian 20.336, style:rfc-language-tag-complex 20.337, style:script-asian 20.346, style:script-complex 20.347, style:script-type 20.348, style:text-blinking 20.356, style:text-combine 20.357, style:text-combine-end-char 20.359, style:text-combine-start-char 20.358, style:text-emphasize 20.360, style:text-line-through-color 20.361, style:text-line-through-mode 20.362, style:text-line-through-style 20.363, style:text-line-through-text 20.364, style:text-line-through-text-style 20.365, style:text-line-through-type 20.366, style:text-line-through-width 20.367, style:text-outline 20.368, style:text-overline-color 20.369, style:text-overline-mode 20.370, style:text-overline-style 20.371, style:text-overline-type 20.372, style:text-overline-width 20.373, style:text-position 20.374, style:text-rotation-angle 20.375, style:text-rotation-scale 20.376, style:text-scale 20.377, style:text-underline-color 20.378, style:text-underline-mode 20.379, style:text-underline-style 20.380, style:text-underline-type 20.381, style:text-underline-width 20.382, style:use-window-font-color 20.385, text:condition 20.416, text:display 20.417.

The <style:text-properties> element has no child elements.

16.28Text Style Families

16.28.1Text Styles

Text styles are represented by <style:style> elements whose style:family attribute has the value text.

16.28.2Paragraph Styles

Paragraph styles are represented by <style:style> elements whose style:family attribute has the value paragraph.

In addition to paragraph properties, paragraph styles may define text properties. These are applied to the character content of the paragraph unless they are overwritten by a text style that is specified by any of the descendant elements of the paragraph element.

16.28.3Section Styles

Section styles are represented by <style:style> elements whose style:family attribute has the value section.

16.28.4Ruby Styles

Ruby styles are represented by <style:style> elements whose style:family attribute has the value ruby.

16.29Enhanced Text Styles

16.29.1<text:linenumbering-configuration>

The <text:linenumbering-configuration> element specifies line numbering within the <office:styles> element.

The <text:linenumbering-configuration> element is usable within the following element: <office:styles> 3.15.2.

The <text:linenumbering-configuration> element has the following attributes: style:num-format 19.500, style:num-letter-sync 19.501, text:count-empty-lines 19.783, text:count-in-text-boxes 19.784, text:increment 19.808, text:number-lines 19.839, text:number-position 19.840, text:offset 19.842, text:restart-on-page 19.858 and text:style-name 19.874.21.

The <text:linenumbering-configuration> element has the following child element: <text:linenumbering-separator> 16.29.2.

16.29.2<text:linenumbering-separator>

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.

The <text:linenumbering-separator> element is usable within the following element: <text:linenumbering-configuration> 16.29.1.

The <text:linenumbering-separator> element has the following attribute: text:increment 19.808.

The <text:linenumbering-separator> element has no child elements.

The <text:linenumbering-separator> element has character data content.

16.29.3<text:notes-configuration>

A <text:notes-configuration> element specifies values for each note class used in a document. If there is no note configuration element, an implementation-defined default note configuration is used.

The <text:notes-configuration> element is usable within the following elements: <office:styles> 3.15.2 and <style:section-properties> 17.11.

The <text:notes-configuration> element has the following attributes: style:num-format 19.500, style:num-letter-sync 19.501, style:num-prefix 19.502, style:num-suffix 19.503, text:citation-body-style-name 19.768, text:citation-style-name 19.769, text:default-style-name 19.794, text:footnotes-position 19.804, text:master-page-name 19.833, text:note-class 19.837, text:start-numbering-at 19.869 and text:start-value 19.868.5.

The <text:notes-configuration> element has the following child elements: <text:note-continuation-notice-backward> 16.29.5 and <text:note-continuation-notice-forward> 16.29.4.

16.29.4<text:note-continuation-notice-forward>

The <text:note-continuation-notice-forward> elements specifies the text that is displayed at the end of a footnote that is continued on the next page

The <text:note-continuation-notice-forward> element is usable within the following element: <text:notes-configuration> 16.29.3.

The <text:note-continuation-notice-forward> element has no attributes.

The <text:note-continuation-notice-forward> element has no child elements.

The <text:note-continuation-notice-forward> element has character data content.

16.29.5<text:note-continuation-notice-backward>

The <text:note-continuation-notice-backward> elements specifies the text that is displayed before continued text.

The <text:note-continuation-notice-backward> element is usable within the following element: <text:notes-configuration> 16.29.3.

The <text:note-continuation-notice-backward> element has no attributes.

The <text:note-continuation-notice-backward> element has no child elements.

The <text:note-continuation-notice-backward> element has character data content.

16.29.6<text:bibliography-configuration>

The <text:bibliography-configuration> element specifies how bibliography entries are displayed in-line, and how they are displayed in a bibliography index.

The <text:bibliography-configuration> element is usable within the following element: <office:styles> 3.15.2.

The <text:bibliography-configuration> element has the following attributes: fo:country 19.234.2, fo:language 19.236.3, fo:script 19.242.3, style:rfc-language-tag 19.512, text:numbered-entries 19.841, text:prefix 19.848, text:sort-algorithm 19.865, text:sort-by-position 19.867 and text:suffix 19.876.

The <text:bibliography-configuration> element has the following child element: <text:sort-key> 16.29.7.

16.29.7<text:sort-key>

The <text:sort-key> element specifies a single sort key if bibliography entries are not displayed in document order.

The <text:sort-key> element is usable within the following element: <text:bibliography-configuration> 16.29.6.

The <text:sort-key> element has the following attributes: text:key 19.820 and text:sort-ascending 19.866.

The <text:sort-key> element has no child elements.

16.30<text:list-style>

The <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 a list level is to have a list label containing the list numbering, a bullet, or an image.

If a list style is applied to a list but does not contain a list level specification for a specific level, the list level style of the next lower level is used. If no specific list level style has been defined, an implementation-dependent default style is used.

<text:list-style> elements may occur in the <office:automatic-styles> 3.15.3 and <office:styles> 3.15.2 elements, but they may also occur within the <style:graphic-properties> 17.21.elements of graphic styles.

Including a list style element into a graphic style has the same semantics as adding a style:list-style-name attribute ( 19.496) to the style that references a list style that is declared outside a graphic style.

Note: The inclusion of a list style element is needed in cases where a common graphic style should be associated with an automatic list style.

List styles contained in a graphic style can be referenced by other graphic styles using the style:list-style-name attribute. Their names are not displayed in the user interface, even if the graphic style that contains it is a common style.

The <text:list-style> element is usable within the following elements: <office:automatic-styles> 3.15.3, <office:styles> 3.15.2 and <style:graphic-properties> 17.21.

The <text:list-style> element has the following attributes: style:display-name 19.472, style:name 19.498.2 and text:consecutive-numbering 19.779.

The <text:list-style> element has the following child elements: <text:list-level-style-bullet> 16.31, <text:list-level-style-image> 16.33 and <text:list-level-style-number> 16.32.

16.31<text:list-level-style-bullet>

A <text:list-level-style-bullet> element specifies a list style where list items are preceded by bullets.

The <text:list-level-style-bullet> element is usable within the following element: <text:list-style> 16.30.

The <text:list-level-style-bullet> element has the following attributes: style:num-prefix 19.502, style:num-suffix 19.503, text:bullet-char 19.760, text:bullet-relative-size 19.761, text:level 19.828 and text:style-name 19.874.24.

The <text:list-level-style-bullet> element has the following child elements: <style:list-level-properties> 17.19 and <style:text-properties> 16.27.28.

16.32<text:list-level-style-number>

A <text:list-level-style-number> specifies a list style where list items are preceded by numbers.

The <text:list-level-style-number> element is usable within the following element: <text:list-style> 16.30.

The <text:list-level-style-number> element has the following attributes: style:num-format 19.500, style:num-letter-sync 19.501, style:num-prefix 19.502, style:num-suffix 19.503, text:display-levels 19.797, text:level 19.828, text:start-value 19.868.4 and text:style-name 19.874.23.

The <text:list-level-style-number> element has the following child elements: <style:list-level-properties> 17.19 and <style:text-properties> 16.27.28.

16.33<text:list-level-style-image>

A <text:list-level-style-image> specifies a list style where list items are preceded by images. This element can be an [XLink] and can only be contained in list style elements.

The <text:list-level-style-image> element is usable within the following element: <text:list-style> 16.30.

The <text:list-level-style-image> element has the following attributes: text:level 19.828, xlink:actuate 19.909, xlink:href 19.910.35, xlink:show 19.911 and xlink:type 19.913.

The <text:list-level-style-image> element has the following child elements: <office:binary-data> 10.4.5 and <style:list-level-properties> 17.19.

16.34<text:outline-style>

The <text:outline-style> element contains the elements that specify a style for each outline level.

An 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.

The <text:outline-style> element is usable within the following element: <office:styles> 3.15.2.

The <text:outline-style> element has the following attribute: style:name 19.498.2.

The <text:outline-style> element has the following child element: <text:outline-level-style> 16.35.

16.35<text:outline-level-style>

The <text:outline-level-style> element specifies a style for each outline level.

The <text:outline-level-style> element is usable within the following element: <text:outline-style> 16.34.

The <text:outline-level-style> element has the following attributes: style:num-format 19.500, style:num-letter-sync 19.501, style:num-prefix 19.502, style:num-suffix 19.503, text:display-levels 19.797, text:level 19.828, text:start-value 19.868.7 and text:style-name 19.874.28.

The <text:outline-level-style> element has the following child elements: <style:list-level-properties> 17.19 and <style:text-properties> 16.27.28.

16.36Table Styles

16.36.1Table Styles

Table styles are <style:style> elements that have the family table.

16.36.2Table Column Styles

Table column styles are <style:style> elements that have the family table-column.

16.36.3Table Row Styles

Table row styles are <style:style> elements that have the family table-row.

16.36.4Table Cell Styles

Table cell styles are <style:style> elements that have the family table-cell.

In addition to table cell properties, table cell styles may define paragraph and text properties. These are applied to paragraphs contained in a table cell unless they are overwritten by paragraph styles that are specified by the paragraph elements themselves.

16.37Graphic Styles

Graphic styles are <style:style> elements that have the family graphic.

In addition to graphic properties, graphic styles may define paragraph and text properties. These are applied to paragraphs contained in drawing objects unless they are overwritten by paragraph styles that are specified by the paragraph elements themselves.

16.38Presentation Styles

Presentation styles are <style:style> elements that have the family presentation.

In addition to graphic properties, presentation styles may define paragraph and text properties. These are applied to paragraphs contained in drawing objects unless they are overwritten by paragraph styles that are specified by the paragraph elements themselves.

16.39Drawing Page Style

A drawing page style is a <style:style> element with family drawing-page.

Within drawing and presentation documents, drawing page styles can be used to change the background of a draw page. If a background is set with the help of a drawing page style, 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.

Within presentation documents, the draw page style may contain presentation formatting properties.

16.40Enhanced Graphic Style Elements

16.40.1<draw:gradient>

The <draw:gradient> element defines a gradient for filling a drawing object.

The <draw:gradient> element is usable within the following element: <office:styles> 3.15.2.

The <draw:gradient> element has the following attributes: draw:angle 19.112, draw:border 19.114, draw:cx 19.129, draw:cy 19.130, draw:display-name 19.133.3, draw:end-color 19.141, draw:end-intensity 19.143, draw:name 19.197.12, draw:start-color 19.214, draw:start-intensity 19.216 and draw:style 19.218.2.

The <draw:gradient> element has no child elements.

16.40.2<svg:linearGradient>

The <svg:linearGradient> element as specified in §13.2 of [SVG] can used in documents in OpenDocument format subject to the following rules:

The <svg:linearGradient> element is usable within the following element: <office:styles> 3.15.2.

The <svg:linearGradient> element has the following attributes: draw:display-name 19.133.8, draw:name 19.197.29, svg:gradientTransform 19.536, svg:gradientUnits 19.537, svg:spreadMethod 19.553, svg:x1 19.574.2, svg:x2 19.575.2, svg:y1 19.578.2 and svg:y2 19.579.2.

The <svg:linearGradient> element has the following child element: <svg:stop> 16.40.4.

16.40.3<svg:radialGradient>

The <svg:radialGradient> element as specified in §13.2 of [SVG] can used in documents in OpenDocument format subject to the following rules:

The <svg:radialGradient> element is usable within the following element: <office:styles> 3.15.2.

The <svg:radialGradient> element has the following attributes: draw:display-name 19.133.9, draw:name 19.197.30, svg:cx 19.524.4, svg:cy 19.525.4, svg:fx 19.534, svg:fy 19.535, svg:gradientTransform 19.536, svg:gradientUnits 19.537, svg:r 19.549.3 and svg:spreadMethod 19.553.

The <svg:radialGradient> element has the following child element: <svg:stop> 16.40.4.

16.40.4<svg:stop>

See §13.2.4 of [SVG].

The <svg:stop> element is usable within the following elements: <svg:linearGradient> 16.40.2 and <svg:radialGradient> 16.40.3.

The <svg:stop> element has the following attributes: svg:offset 19.543, svg:stop-color 19.556 and svg:stop-opacity 19.557.

The <svg:stop> element has no child elements.

16.40.5<draw:hatch>

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.

The <draw:hatch> element is usable within the following element: <office:styles> 3.15.2.

The <draw:hatch> element has the following attributes: draw:color 19.122.2, draw:display-name 19.133.4, draw:distance 19.134.2, draw:name 19.197.13, draw:rotation 19.209 and draw:style 19.218.3.

The <draw:hatch> element has no child elements.

16.40.6<draw:fill-image>

The <draw:fill-image> element specifies a link to a bitmap resource. Fill image are not available as automatic styles.

The <draw:fill-image> element is usable within the following element: <office:styles> 3.15.2.

The <draw:fill-image> element has the following attributes: draw:display-name 19.133.2, draw:name 19.197.9, svg:height 19.539.7, svg:width 19.571.9, xlink:actuate 19.909, xlink:href 19.910.13, xlink:show 19.911 and xlink:type 19.913.

The <draw:fill-image> element has no child elements.

16.40.7<draw:opacity>

The <draw:opacity> element specifies an opacity gradient for a graphic object. An opacity gradient interpolates opacity. Opacity gradients are not available as automatic styles.

The <draw:opacity> element is usable within the following element: <office:styles> 3.15.2.

The <draw:opacity> element has the following attributes: draw:angle 19.112, draw:border 19.114, draw:cx 19.129, draw:cy 19.130, draw:display-name 19.133.6, draw:end 19.139, draw:name 19.197.18, draw:start 19.212 and draw:style 19.218.4.

The <draw:opacity> element has no child elements.

16.40.8<draw:marker>

The <draw:marker> element represents a marker, which is used to draw polygons at the start or end point of a stroke depending on whether it is referenced by a draw:marker-start or draw:marker-end attribute.

Marker geometry is defined by a svg:d attribute.

Note: The marker geometry could be imagined as an arrow whose vertex points upwards.

When the marker is painted, its geometry is first mapped to the stroke start or end point as follows:

If a marker is referenced by a draw:marker-start attribute, the marker geometry is scaled so that its width equals the width specified by draw:marker-start-width attribute. If the marker is referenced by a draw:marker-end attribute, the marker geometry is scaled so that its width equals the width specified by draw:marker-end-width attribute. The aspect ratio of the geometry is in both cases kept.

The geometry is horizontally centered. It is vertically positioned relative to an offset value which is specified by a draw:marker-start-center attribute for markers referenced by a draw:marker-start attribute, and by the draw:marker-end-center attribute for markers referenced by a draw:marker-end attribute. The attribute value true defines an offset of 0.5 and the attribute value false defines an offset of 0.3, which is also the default value. The offset specifies the marker's vertical position in a range from 0.0 to 1.0, where the value 0.0 means the geometry's bottom bound is aligned to the X axis of the local coordinate system of the marker geometry, and where the value 1.0 means the top bound to be aligned to the X axis of the local coordinate system of the marker geometry.

If the marker referenced by a draw:marker-start attribute, the marker geometry is then rotated so that the Y axis is aligned with the direction of the stroke in the start/end point direction. It is painted to the stroke so that the origin of the coordinate system of the mapped marker geometry is positioned at the start point's position.

If the marker is referenced by a draw:marker-end attribute, the marker geometry is then rotated so that the X axis is aligned with the direction of the stroke in the end/start point direction. It is pointed to the stroke so that the origin of the coordinate system of the mapped marker geometry is positioned at the end point's position.

Markers are not available as automatic styles.

The <draw:marker> element is usable within the following element: <office:styles> 3.15.2.

The <draw:marker> element has the following attributes: draw:display-name 19.133.5, draw:name 19.197.16, svg:d 19.526 and svg:viewBox 19.570.

The <draw:marker> element has no child elements.

16.40.9<draw:stroke-dash>

The <draw:stroke-dash> element represents a dash style that can be used to render strokes of shapes. Dash styles are not available as automatic styles.

The <draw:stroke-dash> element is usable within the following element: <office:styles> 3.15.2.

The <draw:stroke-dash> element has the following attributes: draw:display-name 19.133.7, draw:distance 19.134.3, draw:dots1 19.135, draw:dots1-length 19.136, draw:dots2 19.137, draw:dots2-length 19.138, draw:name 19.197.27 and draw:style 19.218.5.

The <draw:stroke-dash> element has no child elements.

16.41<style:presentation-page-layout>

The <style:presentation-page-layout> element is a container <presentation:placeholder> elements. 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.

The <style:presentation-page-layout> element is usable within the following element: <office:styles> 3.15.2.

The <style:presentation-page-layout> element has the following attributes: style:display-name 19.472 and style:name 19.498.2.

The <style:presentation-page-layout> element has the following child element: <presentation:placeholder> 16.42.

16.42<presentation:placeholder>

The <presentation:placeholder> element specifies a placeholder for presentation objects.

The <presentation:placeholder> element is usable within the following element: <style:presentation-page-layout> 16.41.

The <presentation:placeholder> element has the following attributes: presentation:object 19.403, svg:height 19.539.10, svg:width 19.571.12, svg:x 19.573.8 and svg:y 19.577.8.

The <presentation:placeholder> element has no child elements.

16.43Chart Styles

Chart styles are <style:style> elements that have the family chart.

There are two style inheritance models at work with chart styles. The first model, is standard style inheritance as described in <style:style>. 16.2 The second model is inheritance between elements representing parts of a chart.

If an attribute is not specified with a chart style on a <chart:data-point> element, the specification of that attribute on its parent <chart:series> element is used. If the attribute is not specified on the parent <chart:series> element, then the specification of that attribute on its ancestor <chart:plot-area> element is used.

Chart styles may define paragraph and text properties. These are applied to paragraphs contained in chart elements unless they are over-ridden by paragraph styles that are specified by the paragraph elements themselves.

17Formatting Elements

17.1General

A document can contain multiple style elements. Formatting properties are attributes and child elements of formatting properties elements, which are described in this chapter, and which are child elements of style elements. This container relationship means:

17.2<style:page-layout-properties>

The <style:page-layout-properties> element acts as a container for attributes and elements that define a page layout.

The <style:page-layout-properties> element is usable within the following elements: <style:default-page-layout> 16.8 and <style:page-layout> 16.5.

The <style:page-layout-properties> element has the following attributes: fo:background-color 20.175, fo:border 20.176.2, fo:border-bottom 20.176.3, fo:border-left 20.176.4, fo:border-right 20.176.5, fo:border-top 20.176.6, fo:margin 20.198, fo:margin-bottom 20.199, fo:margin-left 20.200, fo:margin-right 20.201, fo:margin-top 20.202, fo:padding 20.210, fo:padding-bottom 20.211, fo:padding-left 20.212, fo:padding-right 20.213, fo:padding-top 20.214, fo:page-height 20.208, fo:page-width 20.209, style:border-line-width 20.241, style:border-line-width-bottom 20.242, style:border-line-width-left 20.243, style:border-line-width-right 20.244, style:border-line-width-top 20.245, style:first-page-number 20.258, style:footnote-max-height 20.288, style:layout-grid-base-height 20.296, style:layout-grid-base-width 20.297, style:layout-grid-color 20.298, style:layout-grid-display 20.299, style:layout-grid-lines 20.300, style:layout-grid-mode 20.301, style:layout-grid-print 20.302, style:layout-grid-ruby-below 20.303, style:layout-grid-ruby-height 20.304, style:layout-grid-snap-to 20.305, style:layout-grid-standard-mode 20.306, style:num-format 20.314, style:num-letter-sync 20.315, style:num-prefix 20.316, style:num-suffix 20.317, style:paper-tray-name 20.321, style:print 20.322, style:print-orientation 20.325, style:print-page-order 20.324, style:register-truth-ref-style-name 20.329, style:scale-to 20.344, style:scale-to-pages 20.345, style:shadow 20.349, style:table-centering 20.353 and style:writing-mode 20.394.3.

The <style:page-layout-properties> element has the following child elements: <style:background-image> 17.3, <style:columns> 17.12 and <style:footnote-sep> 17.4.

17.3<style:background-image>

The <style:background-image> element specifies an image as a background.

If the <style:background-image> element is empty and if there is no color specified by an fo:background-color element in the same formatting properties element, the background color is set to transparent.

Note: The fo:background-color property also sets a background attribute.

The <style:background-image> element is usable within the following elements: <style:graphic-properties> 17.21, <style:header-footer-properties> 17.5, <style:page-layout-properties> 17.2, <style:paragraph-properties> 17.6, <style:section-properties> 17.11, <style:table-cell-properties> 17.18, <style:table-properties> 17.15 and <style:table-row-properties> 17.17.

The <style:background-image> element has the following attributes: draw:opacity 19.202, style:filter-name 19.477, style:position 19.508.2, style:repeat 19.511, xlink:actuate 19.909, xlink:href 19.910.28, xlink:show 19.911 and xlink:type 19.913.

The <style:background-image> element has the following child element: <office:binary-data> 10.4.5.

17.4<style:footnote-sep>

The <style:footnote-sep> element specifies the line that separates a footnote area from a body text area on a page.

The <style:footnote-sep> element is usable within the following element: <style:page-layout-properties> 17.2.

The <style:footnote-sep> element has the following attributes: style:adjustment 19.461, style:color 19.467, style:distance-after-sep 19.475, style:distance-before-sep 19.474, style:line-style 19.493, style:rel-width 19.510.4 and style:width 19.518.3.

The <style:footnote-sep> element has no child elements.

17.5<style:header-footer-properties>

The <style:header-footer-properties> element specifies formatting properties for both headers and footers.

The <style:header-footer-properties> element is usable within the following elements: <style:footer-style> 16.7 and <style:header-style> 16.6.

The <style:header-footer-properties> element has the following attributes: fo:background-color 20.175, fo:border 20.176.2, fo:border-bottom 20.176.3, fo:border-left 20.176.4, fo:border-right 20.176.5, fo:border-top 20.176.6, fo:margin 20.198, fo:margin-bottom 20.199, fo:margin-left 20.200, fo:margin-right 20.201, fo:margin-top 20.202, fo:min-height 20.205.2, fo:padding 20.210, fo:padding-bottom 20.211, fo:padding-left 20.212, fo:padding-right 20.213, fo:padding-top 20.214, style:border-line-width 20.241, style:border-line-width-bottom 20.242, style:border-line-width-left 20.243, style:border-line-width-right 20.244, style:border-line-width-top 20.245, style:dynamic-spacing 20.256, style:shadow 20.349 and svg:height 20.397.2.

The <style:header-footer-properties> element has the following child element: <style:background-image> 17.3.

17.6<style:paragraph-properties>

The <style:paragraph-properties> element specifies formatting properties for paragraphs.

The <style:paragraph-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:paragraph-properties> element has the following attributes: fo:background-color 20.175, fo:border 20.176.2, fo:border-bottom 20.176.3, fo:border-left 20.176.4, fo:border-right 20.176.5, fo:border-top 20.176.6, fo:break-after 20.177, fo:break-before 20.178, fo:hyphenation-keep 20.189, fo:hyphenation-ladder-count 20.190, fo:keep-together 20.193, fo:keep-with-next 20.194, fo:line-height 20.197, fo:margin 20.198, fo:margin-bottom 20.199, fo:margin-left 20.200, fo:margin-right 20.201, fo:margin-top 20.202, fo:orphans 20.207, fo:padding 20.210, fo:padding-bottom 20.211, fo:padding-left 20.212, fo:padding-right 20.213, fo:padding-top 20.214, fo:text-align 20.216.1, fo:text-align-last 20.217, fo:text-indent 20.218, fo:widows 20.221, style:auto-text-indent 20.239, style:background-transparency 20.240, style:border-line-width 20.241, style:border-line-width-bottom 20.242, style:border-line-width-left 20.243, style:border-line-width-right 20.244, style:border-line-width-top 20.245, style:font-independent-line-spacing 20.268, style:join-border 20.292, style:justify-single-word 20.293, style:line-break 20.307, style:line-height-at-least 20.309, style:line-spacing 20.310, style:page-number 20.320, style:punctuation-wrap 20.327, style:register-true 20.328, style:shadow 20.349, style:snap-to-layout-grid 20.351, style:tab-stop-distance 20.352, style:text-autospace 20.355, style:vertical-align 20.386.1, style:writing-mode 20.394.4, style:writing-mode-automatic 20.395, text:line-number 20.420 and text:number-lines 20.424.

The <style:paragraph-properties> element has the following child elements: <style:background-image> 17.3, <style:drop-cap> 17.9 and <style:tab-stops> 17.7.

17.7<style:tab-stops>

The <style:tab-stops> element is a container for <style:tab-stop> elements.

The <style:tab-stops> element is usable within the following element: <style:paragraph-properties> 17.6.

The <style:tab-stops> element has no attributes.

The <style:tab-stops> element has the following child element: <style:tab-stop> 17.8.

17.8<style:tab-stop>

The <style:tab-stop> element defines a tab stop.

The <style:tab-stop> element is usable within the following element: <style:tab-stops> 17.7.

The <style:tab-stop> element has the following attributes: style:char 19.465, style:leader-color 19.484, style:leader-style 19.485, style:leader-text 19.486, style:leader-text-style 19.487, style:leader-type 19.488, style:leader-width 19.489, style:position 19.508.3, style:type 19.515.3.

The <style:tab-stop> element has no child elements.

17.9<style:drop-cap>

The <style:drop-cap> element specifies if the first character or more of a paragraph is displayed in a larger font, that spans multiple lines.

The <style:drop-cap> element is usable within the following element: <style:paragraph-properties> 17.6.

The <style:drop-cap> element has the following attributes: style:distance 19.473, style:length 19.492, style:lines 19.494 and style:style-name 19.514.

The <style:drop-cap> element has no child elements.

17.10<style:ruby-properties>

The <style:ruby-properties> element specifies formatting properties for ruby elements.

The <style:ruby-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:ruby-properties> element has the following attributes: style:ruby-align 20.341 and style:ruby-position 20.342.

The <style:ruby-properties> element has no child elements.

17.11<style:section-properties>

The <style:section-properties> element defined the formatting properties used by section styles.

The <style:section-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:section-properties> element has the following attributes: fo:background-color 20.175, fo:margin-left 20.200, fo:margin-right 20.201, style:editable 20.257, style:protect 20.326.3, style:writing-mode 20.394.5 and text:dont-balance-text-columns 20.418.

The <style:section-properties> element has the following child elements: <style:background-image> 17.3, <style:columns> 17.12 and <text:notes-configuration> 16.29.3.

17.12<style:columns>

The <style:columns> element specifies the formatting properties of columns by its attributes and its child elements. If it does not contain any column formatting properties, all columns are assigned the same width.

The <style:columns> element is usable within the following elements: <style:graphic-properties> 17.21, <style:page-layout-properties> 17.2 and <style:section-properties> 17.11.

The <style:columns> element has the following attributes: fo:column-count 19.232 and fo:column-gap 19.233.

The <style:columns> element has the following child elements: <style:column> 17.13 and <style:column-sep> 17.14.

17.13<style:column>

The <style:column> element specifies formatting properties for a column.

The <style:column> element is usable within the following element: <style:columns> 17.12.

The <style:column> element has the following attributes: fo:end-indent 19.235, fo:space-after 19.243, fo:space-before 19.244, fo:start-indent 19.245 and style:rel-width 19.510.3.

The <style:column> element has no child elements.

17.14<style:column-sep>

The <style:column-sep> element specifies a separator line between columns.

The <style:column-sep> element is usable within the following element: <style:columns> 17.12.

The <style:column-sep> element has the following attributes: style:color 19.467, style:height 19.482, style:style 19.513, style:vertical-align 19.516 and style:width 19.518.2.

The <style:column-sep> element has no child elements.

17.15<style:table-properties>

The <style:table-properties> element specifies formatting properties for tables.

The <style:table-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:table-properties> element has the following attributes: fo:background-color 20.175, fo:break-after 20.177, fo:break-before 20.178, fo:keep-with-next 20.194, fo:margin 20.198, fo:margin-bottom 20.199, fo:margin-left 20.200, fo:margin-right 20.201, fo:margin-top 20.202, style:may-break-between-rows 20.311, style:page-number 20.320, style:rel-width 20.332.2, style:shadow 20.349, style:width 20.389, style:writing-mode 20.394.7, table:align 20.404, table:border-model 20.405 and table:display 20.406.

The <style:table-properties> element has the following child element: <style:background-image> 17.3.

17.16<style:table-column-properties>

The <style:table-column-properties> element specifies formatting properties for table columns.

The <style:table-column-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:table-column-properties> element has the following attributes: fo:break-after 20.177, fo:break-before 20.178, style:column-width 20.247, style:rel-column-width 20.330 and style:use-optimal-column-width 20.383.

The <style:table-column-properties> element has no child elements.

17.17<style:table-row-properties>

The <style:table-row-properties> element specifies formatting properties for table rows.

The <style:table-row-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:table-row-properties> element has the following attributes: fo:background-color 20.175, fo:break-after 20.177, fo:break-before 20.178, fo:keep-together 20.193, style:min-row-height 20.312, style:row-height 20.340 and style:use-optimal-row-height 20.384.

The <style:table-row-properties> element has the following child element: <style:background-image> 17.3.

17.18<style:table-cell-properties>

The <style:table-cell-properties> element specifies formatting properties for cells.

The <style:table-cell-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:table-cell-properties> element has the following attributes: fo:background-color 20.175, fo:border 20.176.2, fo:border-bottom 20.176.3, fo:border-left 20.176.4, fo:border-right 20.176.5, fo:border-top 20.176.6, fo:padding 20.210, fo:padding-bottom 20.211, fo:padding-left 20.212, fo:padding-right 20.213, fo:padding-top 20.214, fo:wrap-option 20.223, style:border-line-width 20.241, style:border-line-width-bottom 20.242, style:border-line-width-left 20.243, style:border-line-width-right 20.244, style:border-line-width-top 20.245, style:cell-protect 20.246, style:decimal-places 20.250, style:diagonal-bl-tr 20.251, style:diagonal-bl-tr-widths 20.252, style:diagonal-tl-br 20.253, style:diagonal-tl-br-widths 20.254, style:direction 20.255, style:glyph-orientation-vertical 20.289, style:print-content 20.323.3, style:repeat-content 20.334, style:rotation-align 20.338, style:rotation-angle 20.339, style:shadow 20.349, style:shrink-to-fit 20.350, style:text-align-source 20.354, style:vertical-align 20.386.2 and style:writing-mode 20.394.6.

The <style:table-cell-properties> element has the following child element: <style:background-image> 17.3.

17.19<style:list-level-properties>

The <style:list-level-properties> element specifies formatting properties for a list level.

The <style:list-level-properties> element is usable within the following elements: <text:list-level-style-bullet> 16.31, <text:list-level-style-image> 16.33, <text:list-level-style-number> 16.32 and <text:outline-level-style> 16.35.

The <style:list-level-properties> element has the following attributes: fo:height 20.187, fo:text-align 20.216.2, fo:width 20.222, style:font-name 20.269, style:vertical-pos 20.387, style:vertical-rel 20.388, svg:y 20.402.2, text:list-level-position-and-space-mode 20.421, text:min-label-distance 20.422, text:min-label-width 20.423 and text:space-before 20.425.

The <style:list-level-properties> element has the following child element: <style:list-level-label-alignment> 17.20.

17.20<style:list-level-label-alignment>

The <style:list-level-label-alignment> element specifies the position and spacing of a list label and its list item.

The element will be evaluated only if the text:list-level-position-and-space-mode attribute has the value label-alignment.

The fo:text-indent and fo:margin-left attributes specify the indent and margin for the text lines of a list item. The text lines of a list item contains the list level properties specific content and the text of the paragraph inside the list item. The value fo:text-indent + fo:margin-left specifies the indent of the first text line of the list item. This position is also the alignment position for the list label, because the value of text:min-label-width is treated as 0. 19.246, 20.421

The fo:text-indent and fo:margin-left attributes are evaluated only for paragraphs inside list items whose paragraph styles do not specify them. If one of the two properties, or both, are specified by the paragraph style, the text indent and/or left margin are taken from the paragraph style. In this case the paragraph style's properties are used to determine the indent and margin for the text lines and thus also the alignment position.

 

The <style:list-level-label-alignment> element is usable within the following element: <style:list-level-properties> 17.19.

The <style:list-level-label-alignment> element has the following attributes: fo:margin-left 19.237, fo:text-indent 19.246, text:label-followed-by 19.827 and text:list-tab-stop-position 19.830.

The <style:list-level-label-alignment> element has no child elements.

17.21<style:graphic-properties>

The <style:graphic-properties> element specifies formatting properties for chart, draw, graphic, and frame elements.

The <style:graphic-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:graphic-properties> element has the following attributes: dr3d:ambient-color 20.67, dr3d:backface-culling 20.69, dr3d:back-scale 20.68, dr3d:close-back 20.70, dr3d:close-front 20.71, dr3d:depth 20.72, dr3d:diffuse-color 20.73, dr3d:edge-rounding 20.74, dr3d:edge-rounding-mode 20.75, dr3d:emissive-color 20.76, dr3d:end-angle 20.77, dr3d:horizontal-segments 20.78, dr3d:lighting-mode 20.79, dr3d:normals-direction 20.80, dr3d:normals-kind 20.81, dr3d:shadow 20.82, dr3d:shininess 20.83, dr3d:specular-color 20.84, dr3d:texture-filter 20.85, dr3d:texture-generation-mode-x 20.88, dr3d:texture-generation-mode-y 20.89, dr3d:texture-kind 20.86, dr3d:texture-mode 20.87, dr3d:vertical-segments 20.90, draw:auto-grow-height 20.91, draw:auto-grow-width 20.92, draw:blue 20.94, draw:caption-angle 20.95, draw:caption-angle-type 20.96, draw:caption-escape 20.97, draw:caption-escape-direction 20.98, draw:caption-fit-line-length 20.99, draw:caption-gap 20.100, draw:caption-line-length 20.101, draw:caption-type 20.102, draw:color-inversion 20.103, draw:color-mode 20.104, draw:contrast 20.105, draw:decimal-places 20.106, draw:draw-aspect 20.107, draw:end-guide 20.108, draw:end-line-spacing-horizontal 20.109, draw:end-line-spacing-vertical 20.110, draw:fill 20.111, draw:fill-color 20.112, draw:fill-gradient-name 20.113, draw:fill-hatch-name 20.114, draw:fill-hatch-solid 20.115, draw:fill-image-height 20.116, draw:fill-image-name 20.117, draw:fill-image-ref-point 20.118, draw:fill-image-ref-point-x 20.119, draw:fill-image-ref-point-y 20.120, draw:fill-image-width 20.121, draw:fit-to-contour 20.122, draw:fit-to-size 20.123, draw:frame-display-border 20.124, draw:frame-display-scrollbar 20.126, draw:frame-margin-horizontal 20.125, draw:frame-margin-vertical 20.127, draw:gamma 20.128, draw:gradient-step-count 20.130, draw:green 20.129, draw:guide-distance 20.131, draw:guide-overhang 20.132, draw:image-opacity 20.133, draw:line-distance 20.134, draw:luminance 20.135, draw:marker-end 20.136, draw:marker-end-center 20.137, draw:marker-end-width 20.138, draw:marker-start 20.139, draw:marker-start-center 20.140, draw:marker-start-width 20.141, draw:measure-align 20.142, draw:measure-vertical-align 20.143, draw:ole-draw-aspect 20.144, draw:opacity 20.145, draw:opacity-name 20.146, draw:parallel 20.147, draw:placing 20.148, draw:red 20.149, draw:secondary-fill-color 20.150, draw:shadow 20.151, draw:shadow-color 20.152, draw:shadow-offset-x 20.153, draw:shadow-offset-y 20.154, draw:shadow-opacity 20.155, draw:show-unit 20.156, draw:start-guide 20.157, draw:start-line-spacing-horizontal 20.158, draw:start-line-spacing-vertical 20.159, draw:stroke 20.160, draw:stroke-dash 20.161, draw:stroke-dash-names 20.162, draw:stroke-linejoin 20.163, draw:symbol-color 20.165, draw:textarea-horizontal-align 20.166, draw:textarea-vertical-align 20.167, draw:tile-repeat-offset 20.168, draw:unit 20.173, draw:visible-area-height 20.169, draw:visible-area-left 20.170, draw:visible-area-top 20.171, draw:visible-area-width 20.172, draw:wrap-influence-on-position 20.174, fo:background-color 20.175, fo:border 20.176.2, fo:border-bottom 20.176.3, fo:border-left 20.176.4, fo:border-right 20.176.5, fo:border-top 20.176.6, fo:clip 20.179, fo:margin 20.198, fo:margin-bottom 20.199, fo:margin-left 20.200, fo:margin-right 20.201, fo:margin-top 20.202, fo:max-height 20.203, fo:max-width 20.204, fo:min-height 20.205.1, fo:min-width 20.206, fo:padding 20.210, fo:padding-bottom 20.211, fo:padding-left 20.212, fo:padding-right 20.213, fo:padding-top 20.214, fo:wrap-option 20.223, style:background-transparency 20.240, style:border-line-width 20.241, style:border-line-width-bottom 20.242, style:border-line-width-left 20.243, style:border-line-width-right 20.244, style:border-line-width-top 20.245, style:editable 20.257, style:flow-with-text 20.259, style:horizontal-pos 20.290, style:horizontal-rel 20.291, style:mirror 20.313, style:number-wrapped-paragraphs 20.318, style:overflow-behavior 20.319, style:print-content 20.323.2, style:protect 20.326.2, style:rel-height 20.331, style:rel-width 20.332.1, style:repeat 20.333, style:run-through 20.343, style:shadow 20.349, style:shrink-to-fit 20.350, style:vertical-pos 20.387, style:vertical-rel 20.388, style:wrap 20.390, style:wrap-contour 20.391, style:wrap-contour-mode 20.392, style:wrap-dynamic-threshold 20.393, style:writing-mode 20.394.2, svg:fill-rule 20.396, svg:height 20.397.1, svg:stroke-color 20.398, svg:stroke-linecap 20.164, svg:stroke-opacity 20.399, svg:stroke-width 20.400, svg:width 20.403, svg:x 20.401, svg:y 20.402.1, text:anchor-page-number 20.407, text:anchor-type 20.408, text:animation 20.409, text:animation-delay 20.410, text:animation-direction 20.411, text:animation-repeat 20.412, text:animation-start-inside 20.413, text:animation-steps 20.414 and text:animation-stop-inside 20.415.

The <style:graphic-properties> element has the following child elements: <style:background-image> 17.3, <style:columns> 17.12 and <text:list-style> 16.30.

17.22<style:chart-properties>

The <style:chart-properties> element specifies formatting properties for charts.

The <style:chart-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:chart-properties> element has the following attributes: chart:angle-offset 20.2, chart:auto-position 20.3, chart:auto-size 20.4, chart:axis-label-position 20.5, chart:axis-position 20.6, chart:connect-bars 20.7, chart:data-label-number 20.8, chart:data-label-symbol 20.9, chart:data-label-text 20.10, chart:deep 20.11, chart:display-label 20.12, chart:error-category 20.13, chart:error-lower-indicator 20.14, chart:error-lower-limit 20.15, chart:error-lower-range 20.16, chart:error-margin 20.17, chart:error-percentage 20.18, chart:error-upper-indicator 20.19, chart:error-upper-limit 20.20, chart:error-upper-range 20.21, chart:gap-width 20.22, chart:group-bars-per-axis 20.23, chart:hole-size 20.24, chart:include-hidden-cells 20.25, chart:interpolation 20.26, chart:interval-major 20.27, chart:interval-minor-divisor 20.28, chart:japanese-candle-stick 20.29, chart:label-arrangement 20.30, chart:label-position 20.31, chart:label-position-negative 20.32, chart:lines 20.33, chart:link-data-style-to-source 20.34, chart:logarithmic 20.35, chart:maximum 20.36, chart:mean-value 20.37, chart:minimum 20.38, chart:origin 20.39, chart:overlap 20.40, chart:percentage 20.42, chart:pie-offset 20.41, chart:regression-type 20.43, chart:reverse-direction 20.44, chart:right-angled-axes 20.45, chart:scale-text 20.46, chart:series-source 20.47, chart:solid-type 20.49, chart:sort-by-x-values 20.48, chart:spline-order 20.50, chart:spline-resolution 20.51, chart:stacked 20.52, chart:symbol-height 20.53, chart:symbol-name 20.54, chart:symbol-type 20.55, chart:symbol-width 20.56, chart:text-overlap 20.57, chart:three-dimensional 20.58, chart:tick-mark-position 20.63, chart:tick-marks-major-inner 20.59, chart:tick-marks-major-outer 20.60, chart:tick-marks-minor-inner 20.61, chart:tick-marks-minor-outer 20.62, chart:treat-empty-cells 20.64, chart:vertical 20.65, chart:visible 20.66, style:direction 20.255, style:rotation-angle 20.339 and text:line-break 20.419.

The <style:chart-properties> element has the following child elements: <chart:label-separator> 17.24 and <chart:symbol-image> 17.23.

17.23<chart:symbol-image>

The <chart:symbol-image> element specifies an image to be used for a data point in a chart.

This element should be used only together with a chart:symbol-type attribute and only when that attribute has the value image.

The <chart:symbol-image> element is usable within the following element: <style:chart-properties> 17.22.

The <chart:symbol-image> element has the following attribute: xlink:href 19.910.4.

The <chart:symbol-image> element has no child elements.

17.24<chart:label-separator>

The <chart:label-separator> element specifies text that is used for separating different parts of a textual data label. These parts can be the value as number, the value as a percentage (20.8), and the label text (20.10).

If the <chart:label-separator> element is omitted, the default value is a space character “ “ (U+0020, SPACE).

This element should be used within chart styles that are applied to <chart:data-label>, <chart:data-point>, <chart:series> or <chart:plot-area> elements.

If a separator is not specified by this element in a chart style applied to a <chart:data-label> element, the separator specified with a chart style applied to a parent element is used.

The <chart:label-separator> element is usable within the following element: <style:chart-properties> 17.22.

The <chart:label-separator> element has no attributes.

The <chart:label-separator> element has the following child element: <text:p> 5.1.3.

17.25<style:drawing-page-properties>

The <style:drawing-page-properties> element specifies formatting that can be applied to a <draw:page> element.

The <style:drawing-page-properties> element is usable within the following elements: <style:default-style> 16.4 and <style:style> 16.2.

The <style:drawing-page-properties> element has the following attributes: draw:background-size 20.93, draw:fill 20.111, draw:fill-color 20.112, draw:fill-gradient-name 20.113, draw:fill-hatch-name 20.114, draw:fill-hatch-solid 20.115, draw:fill-image-height 20.116, draw:fill-image-name 20.117, draw:fill-image-ref-point 20.118, draw:fill-image-ref-point-x 20.119, draw:fill-image-ref-point-y 20.120, draw:fill-image-width 20.121, draw:gradient-step-count 20.130, draw:opacity 20.145, draw:opacity-name 20.146, draw:secondary-fill-color 20.150, draw:tile-repeat-offset 20.168, presentation:background-objects-visible 20.224, presentation:background-visible 20.225, presentation:display-date-time 20.226, presentation:display-footer 20.227, presentation:display-header 20.228, presentation:display-page-number 20.229, presentation:duration 20.230, presentation:transition-speed 20.231, presentation:transition-style 20.232, presentation:transition-type 20.233, presentation:visibility 20.234, smil:direction 20.235, smil:fadeColor 20.236, smil:subtype 20.237, smil:type 20.238, style:repeat 20.333 and svg:fill-rule 20.396.

The <style:drawing-page-properties> element has the following child element: <presentation:sound> 10.8.2.

18Datatypes

18.1Introduction

The values of attributes and elements have datatypes. This specification defines datatypes for values of elements and attributes of OpenDocument documents.

Note: This specification and the schema make reference to other specifications for some datatype definitions. Some datatypes introduced here may be specializations of other datatypes defined here or in other specifications.

 

18.2W3C Schema Datatypes

The following [xmlschema-2] datatypes are used in this specification:

18.3Other Datatypes

18.3.1angle

An angle, as defined in §4.1 of [SVG]. An angle is a double value that may be followed immediately by one of the following angle unit identifiers: deg (degrees), grad (gradiants) or rad (radians). If no unit identifier is specified, the value is assumed to be in degrees.

Note: OpenDocument v1.1 did not support angle specifications that contain an angle unit identifier.  Angle unit identifiers should be omitted for compatibility with OpenDocument v1.1.

18.3.2anyIRI

An IRI-reference as defined in [RFC3987], expressed in an [xmlschema-2] anyURI.

Note: The procedure for resolution of anyIRI values that are not IRI values is undefined.

18.3.3boolean

A Boolean value may have either of the values true or false.

18.3.4cellAddress

A cell address as specified in 9.2.1.

18.3.5cellRangeAddress

A cell range address as specified in 9.2.3.

18.3.6cellRangeAddressList

A cell range address list as specified in 9.2.5.

18.3.7character

A character value is a string with only one character.

18.3.8clipShape

A clip shape as defined in §7.20.1 of [XSL]. Offsets shall not be specified using the units em and px.

18.3.9color

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 8-bit hexadecimal digits.

18.3.10coordinate

A coordinate represents a length in a coordinate system. It specifies the distance from the origin of the coordinate system along the relevant axis.

18.3.11countryCode

A country code is a value that conforms to ISO 3166 ([ISO3166-1], [ISO3166-2], [ISO3166-3], or their successors, and further parts).

See §2.2.4 Region Subtag of [RFC5646], or its successors.

18.3.12CURIE

A CURIE, as described in §7 of [RDFa].

18.3.13CURIEs

A list of CURIEs, as described in §7 of [RDFa], separated by whitespaces.

18.3.14dateOrDateTime

A dateOrDateTime value is either an [xmlschema-2] date value or an [xmlschema-2] dateTime value.

18.3.15distance

The length between two points.

18.3.16language

A language is a natural language identifier as defined by [RFC5646], or its successor. The lexical space is the same as the [xmlschema-2] language data type.

Note 1: The language datatype is the same as the [xmlschema-2] language datatype, except that its value range is not restricted to values of [RFC3066], but follows the syntax of the xml:lang attribute. See §2.12 of [XML1.0].

18.3.17languageCode

A language code is a value that conforms to ISO 639 ([ISO639-1], [ISO639-2], [ISO639-3] or their successors, and further parts).

See §2.2.1 Primary Language Subtag of [RFC5646], or its successors.

18.3.18length

A (positive or negative) length, consisting of magnitude and unit, in conformance with the Units of Measure defined in §5.9.13 of [XSL].

18.3.19namespacedToken

A namespaced token is an [xmlschema-2] QName that matches the definition of PrefixedName in §4 of [xml-names].

18.3.20nonNegativeLength

A measurement with a value that shall be zero or positive.

18.3.21nonNegativePixelLength

A non-negative measurement that shall have the unit px (pixels).

18.3.22pathData

Path data as described in §8.3 of [SVG]. Attribute values of this data type shall match the BNF grammar for SVG path data in §8.3.9 of [SVG].

18.3.23percent

(Positive or negative) percentage values in conformance with §5.9.11 of [XSL].

18.3.24point3D

A 3D point. The syntax of a 3D point is the same as that of a vector3D, except that each coordinate is shall be followed by a unit.

18.3.25points

A sequence of points. Each point consists of two integer coordinates separated by a comma “,” (U+002C, COMMA). The points are separated by white space.

18.3.26positiveLength

A measurement with a value that shall be positive.

18.3.27relativeLength

A relative length is a positive integer, followed by a ”*” (U+002A, ASTERISK) character.

18.3.28safeCURIE

A safe CURIE, as described in §7 of [RDFa].

18.3.29scriptCode

A script code conforming to [ISO15924], or its successors. See §2.2.3 Script Subtag of [RFC5646], or its successors.

18.3.30signedZeroToHundredPercent

Percentage values in the range [-100%,100%] in conformance with §5.9.11 of [XSL].

18.3.31styleName

A NCName as specified in [xmlschema-2] that is the name of a style.

18.3.32styleNameRef

A NCName as specified in [xmlschema-2] that is the name of a referenced style, or an empty value.

18.3.33styleNameRefs

A white space separated list of NCNames as specified in [xmlschema-2] that are the names of a styles.

18.3.34targetFrameName

The name of a target frame in conformance with §6.16 of [HTML4].

18.3.35textEncoding

A character encoding in the notation described in the §4.3.3 of [XML1.0], or the value x-symbol. The value is x-symbol means that the character encoding is not enumerated by §4.3.3 of [XML1.0].

18.3.36timeOrDateTime

A timeOrDateTime value is either an [xmlschema-2] time or an [xmlschema-2] dateTime value.

18.3.37URIorSafeCURIE

An IRI or a safe CURIE, as described in §7 of [RDFa].

18.3.38valueType

A list of value types.,

18.3.39variableName

A string specifying the name of a variable

18.3.40vector3D

A 3-element vector that is represented by floating point x, y, z coordinates. The format of a vector3D value is whitespace separated tokens in the order x, y, and z, and that expression starts with "(" (LEFT PARENTHESIS U+0028) and ends with ")" (RIGHT PARENTHESIS U+0029). If this value represents a normal, then it should be normalized.

18.3.41zeroToHundredPercent

Percentage values in the range [0%,100%] in conformance with §5.9.11 of [XSL].

19General Attributes

19.1General

Attributes for elements defined by OpenDocument are divided between those used by structural elements (19) versus those used by <style:*-properties> elements (20).

Attributes have default values defined by this standard. When any element appears in a document instance without such an attribute, consumers should behave as if the attribute is present with the defined default value.

19.2anim:color-interpolation

The anim:color-interpolation attribute specifies the color space that is used for color interpolation.

The defined values for the anim:color-interpolation attribute are:

The default value for this attribute is rgb.

The anim:color-interpolation attribute is usable with the following element: <anim:animateColor> 15.2.6.

The values of the anim:color-interpolation attribute are rgb or hsl.

19.3anim:color-interpolation-direction

The anim:color-interpolation-direction attribute specifies the direction that is used for color interpolation. This is only valid for the HSL color space.

The defined values for the anim:color-interpolation-direction attribute are:

The default value for this attribute is clockwise.

The anim:color-interpolation-direction attribute is usable with the following element: <anim:animateColor> 15.2.6.

The values of the anim:color-interpolation-direction attribute are clockwise or counter-clockwise.

19.4anim:audio-level

The anim:audio-level attribute specifies the audio volume during a playback.

The defined value range for the anim:audio-level attribute is a rational number between 0 (inaudible) and 1 (system volume), inclusive.

The anim:audio-level attribute is usable with the following element: <anim:audio> 15.5.

The anim:audio-level attribute has the data type double 18.2.

19.5anim:command

The anim:command attribute specifies an animation command.

The defined values for the anim:command attribute are:

If the value of the anim:command attribute is custom, then there shall be a <anim:param> child element whose anim:name attribute and anim:value attribute values are user defined.

If the value of the anim:command attribute is verb, then there shall be a <anim:param> child element whose anim:name attribute value is verb and whose anim:value attribute value contains the verb number.

If the value of the anim:command attribute is play, then there shall be a <anim:param> child element whose anim:name attribute value is play and whose anim:value attribute value contains a value expressed in seconds.

The anim:command attribute is usable with the following element: <anim:command> 15.6.1.

The anim:command attribute has the data type string 18.2.

19.6anim:formula

The anim:formula attribute specifies a formula used in an animation function.

The following is the minimum supported grammar:

formula::= additive_expression

identifier::= '$' | 'pi' | 'e' | 'x' | 'y' | 'width' | 'height'

function::= 'abs'|'sqrt'|'sin'|'cos'|'tan'|'atan'|'acos'|'asin'|'exp'|'log'

binary_function::= 'min'|'max'

basic_expression::= number

    | identifier

    | unary_function S* '(' S* additive_expression S* ')'

    | binary_function S* '(' S* additive_expression S* ','     S*additive_expression S* ')'

    | '(' S* additive_expression S* ')'

unary_expression::= '-' S* basic_expression | basic_expression

multiplicative_expression::= unary_expression ( ( S* '*' S* unary_expression )

    | ( S* '/' S* unary_expression ) )*

additive_expression::= multiplicative_expression ( ( S* '+' S* multiplicative_expression )

    | ( S* '-' S* multiplicative_expression ) )*

number::= sign? integer | sign? Floating-point-constant

floating-point-constant::= fractional-constant exponent? | integer exponent

fractional-constant::= integer? '.' integer | integer '.'

exponent::= ( 'e' | 'E' ) sign? Integer

sign::= '+' | '-'

integer::= [0-9]+

S::= (#x20 | #x9)

The defined identifiers for the anim:formula attribute are:

When the anim:formula attribute appears on a descendant element of <office:presentation>, it may use the following additional identifiers:

If an anim:formula attribute is given, it overrides the smil:values, smil:to, smil:from and smil:by attributes as specified in 15.3.2.

The anim:formula attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3 and <anim:transitionFilter> 15.2.7.

The anim:formula attribute has the data type string 18.2.

19.7anim:id (deprecated)

The anim:id attribute specifies an identifier to an animation element.

OpenDocument consumers shall ignore an anim:id attribute if it occurs on an element with an xml:id attribute value.

When consuming OpenDocument v1.0 and v1.1 documents, OpenDocument consumers should process anim:id attributes as they were xml:id attributes.

OpenDocument producers may write anim:id attributes for elements in addition to an xml:id attribute.

 The value of an anim:id attribute shall equal the value of an xml:id attribute on the same element.

The anim:id attribute is deprecated in favor of xml:id. 19.914

The anim:id attribute is usable with the following elements: <anim:audio> 15.5, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:par> 15.4.2 and <anim:seq> 15.4.3.

The anim:id attribute has the data type NCName 18.2.

19.8anim:iterate-interval

The anim:iterate-interval attribute specifies the time interval between effects that are children of <anim:iterate> elements.

The anim:iterate-interval attribute is usable with the following element: <anim:iterate> 15.4.4.

The anim:iterate-interval attribute has the data type duration 18.2.

19.9anim:iterate-type

The anim:iterate-type attribute of a <anim:iterate> element specifies the iteration of child elements.

The defined values for the anim:iterate-type attribute are:

The anim:iterate-type attribute is usable with the following element: <anim:iterate> 15.4.4.

The anim:iterate-type attribute has the data type string 18.2.

19.10anim:name

The anim:name attribute specifies the name of a parameter for an <anim:command> element.

The anim:name attribute is usable with the following element: <anim:param> 15.6.2.

The anim:name attribute has the data type string 18.2.

19.11anim:sub-item

The anim:sub-item attribute specifies components of a target element for application of animation effects.

The defined values for the anim:sub-item attribute are:

The anim:sub-item attribute is usable with the following elements: <anim:animate> 15.2.2, <anim:animateColor> 15.2.6, <anim:animateMotion> 15.2.5, <anim:animateTransform> 15.2.3, <anim:command> 15.6.1, <anim:iterate> 15.4.4, <anim:set> 15.2.4 and <anim:transitionFilter> 15.2.7.

The anim:sub-item attribute has the data type string 18.2.

19.12anim:value

The anim:value attribute specifies the value of a parameter for an <anim:command> element.

The anim:value attribute is usable with the following element: <anim:param> 15.6.2.

The anim:value attribute has the data type string 18.2.

19.13chart:attached-axis

The chart:attached-axis attribute specifies an axis to be used with a series. The value shall be the name of an axis as defined with the chart:name attribute on a <chart:axis> element.

The chart:attached-axis attribute is usable with the following element: <chart:series> 11.11.

The chart:attached-axis attribute has the data type string 18.2.

19.14chart:automatic-content

The chart:automatic-content attribute specifies if an equation to be displayed should be calculated automatically or if text given within a <text:p> element should be used instead.

If no <text:p> element is provided, the chart:automatic-content attribute is assumed to be true.

The defined values for the chart:automatic-content attribute are:

The default value for this attribute is true.

The chart:automatic-content attribute is usable with the following element: <chart:equation> 11.18.

The chart:automatic-content attribute has the data type boolean 18.3.3.

19.15chart:class

19.15.1<chart:chart>, <chart:series>

The chart:class attribute specifies a chart type. The value is a namespaced token. The values for the predefined chart types are defined within the chart namespace ( urn:oasis:names:tc:opendocument:xmlns:chart:1.0).

The term line attributes is used in defining chart:class values to refer to the attributes of the <style:graphic-properties> element within a chart style: draw:stroke, svg:stroke-color, svg:stroke-width, svg:stroke-opacity, draw:stroke-dash and draw:stroke-linejoin.

The term fill attributes is used in defining chart:class values to refer to the attributes of the <style:graphic-properties> element within a chart style: draw:fill, draw:fill-color, draw:fill-gradient-name, draw:gradient-step-count, draw:fill-hatch-name, draw:fill-hatch-solid, draw:fill-image-name, style:repeat, draw:fill-image-height, draw:fill-image-width, draw:fill-image-ref-point, draw:fill-image-ref-point-x, draw:fill-image-ref-point-y, draw:tile-repeat-offset, draw:opacity and draw:opacity-name.

The defined values for the chart:class attribute are: