scope - ecma web viewdocument interchange ... and a checkmark bullet at the third ... type="5"...

201
Office Open XML Document Interchange Specification Ecma TC45 Working Draft 1.4 Part 1: Fundamentals Public Distribution August 2006 The contents of this document reflect the work of Ecma TC45 as of August 2006, and are subject to change without notice. Text highlighted like this indicates a placeholder for some TODO action. 1 2 3 4 5 6 7 8 9 10 1 2 3

Upload: nguyentram

Post on 05-Feb-2018

212 views

Category:

Documents


0 download

TRANSCRIPT

Office Open XMLDocument Interchange Specification

Ecma TC45

Working Draft 1.4

Part 1: Fundamentals

Public Distribution

August 2006

The contents of this document reflect the work of Ecma TC45 as of August 2006, and are subject to change without notice.

Text highlighted like this indicates a placeholder for some TODO action.

What's New in this Draft?

When compared to the previous draft, this draft contains the following substantive edits:

Document reorganization: In response to feedback from Ecma TC45 members, the Ecma Coordinating Committee, and ISO/IEC JTC 1/SC34 members, a significant reorganization of the specification was carried out to improve readability. As a result, most reviewers of that specification should be able to get a good understanding of it by reading only the first Part (about 130pages). The specific changes made were:

The standard was split into multiple parts, as follows:

Part1: "Fundamentals"Part2: "Open Packaging Conventions"Part3: "Primer"Part4: "Markup Language Reference"Part5: "Markup Compatibility"

The number of entry levels in the Table of Contents of Part1 has been reduced from5 to3.

Clauses912, which previously contained the informative tutorial material, were moved to Part3.

Clauses1926, which previously contained the normative reference material, were moved to Part4.

Clause9 was replaced by text that points to the (new) separate OPC specification in Part2.

Part5 is new.

The WordprocessingML subclause on fields (formerly 14.5) was moved to Part4.

The SpreadsheetML subclause on formulas (formerly 15.5) was moved to Part4.

The Conformance clause (2) was completely rewritten.

Tutorial material on the following topics was added Part3:

WordprocessingML: Annotations, Custom Markup, Fields and Hyperlinks, Fonts, Glossary Document, Mail Merge, Miscellaneous Topics, Settings, Styles, Tables.

SpreadsheetML: Calculation Chain, Comments, Custom XML Mappings, External Connections, External Links, Metadata, PivotTable, Query Tables, Shared String Table, Shared Workbooks, Tables.

PresentationML: Animation, Slide Synchronization

DrawingML: 3D, Diagrams, Coordinate Systems and Transformations, Picture, Shape Definitions and Attributes, Styles, Text,

General: Equations, Extensibility, Metadata Core.

SpreadsheetML formulas

Moved to Part4

Completion of the missing function definitions.

Changed the vast majority of cases of undefined behavior to well-defined behavior.

Numerous editorial improvements, including putting each function's argument list in tabular form; renaming "Return Value" to "Return Type and Value", and stating the return type first

Addition of R1C1-style cell references (added the grammar and revised functions ADDRESS and INDIRECT)

WordprocessingML fields

Moved to Part4

A considerable amount of new reference material was added, and existing reference material was improved. This includes:

Completion of the WordprocessingML specification

Substantial additions to other MLs

Table of Contents

Introductionvii

1.Scope8

2.Conformance9

2.1Goal9

2.2Issues9

2.3What this Standard Specifies10

2.4Document Conformance10

2.5Application Conformance10

2.6Interoperability Guidelines10

3.Normative References12

4.Definitions13

5.Notational Conventions15

6.Acronyms and Abbreviations16

7.General Description17

8.Overview18

8.1Packages and Parts18

8.2Consumers and Producers18

8.3WordprocessingML18

8.4SpreadsheetML19

8.5PresentationML20

8.6Supporting MLs21

8.6.1DrawingML21

8.6.2VML22

8.6.3Custom XML Data Properties22

8.6.4File Properties22

8.6.5Math22

8.6.6Bibliography22

9.Packages23

9.1Relationships23

9.2Constraints on Office Open XML's Use of OPC27

9.2.1Part Names27

9.2.2Part Addressing28

9.2.3Fragments28

9.2.4Physical Packages28

9.2.5Interleaving28

10.WordprocessingML29

10.1Package Structure29

10.2Part Summary30

10.2.1Alternative Format Import Part31

10.2.2Comments Part32

10.2.3Document Settings Part34

10.2.4Endnotes Part35

10.2.5Font Table Part38

10.2.6Footer Part39

10.2.7Footnotes Part41

10.2.8Glossary Document Part43

10.2.9Header Part45

10.2.10Main Document Part47

10.2.11Numbering Definitions Part49

10.2.12Style Definitions Part52

10.2.13Web Settings Part53

10.3Document Template54

10.4Framesets55

10.5Master Documents and Subdocuments56

10.6Mail Merge Data Source57

10.7Mail Merge Header Data Source57

10.8XSL Transformation58

11.SpreadsheetML59

11.1Glossary of SpreadsheetML-Specific Terms59

11.2Package Structure60

11.3Part Summary61

11.3.1Calculation Chain Part62

11.3.2Chartsheet Part63

11.3.3Comments Part64

11.3.4Connections Part65

11.3.5Custom Property Part66

11.3.6Custom XML Mappings Part67

11.3.7Dialogsheet Part68

11.3.8Drawings Part70

11.3.9External Workbook References Part71

11.3.10Metadata Part73

11.3.11Pivot Table Part75

11.3.12Pivot Table Cache Definition Part76

11.3.13Pivot Table Cache Records Part78

11.3.14Printer Settings Part79

11.3.15Query Table Part79

11.3.16Shared String Table Part80

11.3.17Shared Workbook Revision Headers Part81

11.3.18Shared Workbook Revision Log Part82

11.3.19Shared Workbook User Data Part83

11.3.20Single Cell Table Definitions Part84

11.3.21Styles Part85

11.3.22Table Definition Part87

11.3.23Volatile Dependencies Part88

11.3.24Workbook Part89

11.3.25Worksheet Part90

11.4External Workbooks92

12.PresentationML94

12.1Glossary of PresentationML-Specific Terms94

12.2Package Structure94

12.3Part Summary96

12.3.1Comment Authors Part97

12.3.2Comments Part98

12.3.3Handout Master Part99

12.3.4Notes Master Part100

12.3.5Notes Slide Part102

12.3.6Presentation Part103

12.3.7Presentation Properties Part105

12.3.8Slide Part105

12.3.9Slide Layout Part107

12.3.10Slide Master Part109

12.3.11Slide Synchronization Data Part110

12.3.12User Defined Tags Part111

12.3.13View Properties Part112

12.4HTML Publish Location113

12.5Slide Synchronization Server Location113

13.DrawingML115

13.1Glossary of DrawingML-Specific Terms115

13.2Part Summary115

13.2.1Chart Part116

13.2.2Chart Drawing Part118

13.2.3Diagram Colors Part119

13.2.4Diagram Data Part120

13.2.5Diagram Layout Definition Part121

13.2.6Diagram Style Part122

13.2.7Theme Part123

13.2.8Theme Override Part125

13.2.9Table Styles Part126

14.Shared127

14.1Glossary of Shared Part-Specific Terms127

14.2Part Summary127

14.2.1Audio Part128

14.2.2Bibliography Part129

14.2.3Custom XML Data Storage Part130

14.2.4Custom XML Data Storage Properties Part130

14.2.5Digital Signature Origin Part131

14.2.6Digital Signature XML Signature Part132

14.2.7Embedded Control Persistence Part133

14.2.8Embedded Object Part135

14.2.9Embedded Package Part137

14.2.10File Properties138

14.2.11Font Part142

14.2.12Image Part143

14.2.13Thumbnail Part144

14.2.14Video Part145

14.3Hyperlinks146

Annex A.Bibliography147

Annex B.Index149

DRAFT: Contents are subject to change without notice.vi

Introduction

This Standard describes a family of XML schemas, collectively called Office Open XML, which define the XML vocabularies for word-processing, spreadsheet, and presentation documents, as well as the packaging of documents that conform to these schemas.

The goal is to enable the implementation of the Office Open XML formats by the widest set of tools and platforms, fostering interoperability across office productivity applications and line-of-business systems, as well as to support and strengthen document archival and preservation, all in a way that is fully compatible with the large existing investments in Microsoft Office documents.

This Standard is Part1 of a multi-part standard covering Open XML-related technology.

Part1: "Fundamentals" (this document)

Part2: "Open Packaging Conventions"

Part3: "Primer"

Part4: "Markup Language Reference"

Part5: "Markup Compatibility"

Introduction

DRAFT: Contents are subject to change without notice.152

Scope

This Standard defines Office Open XML's vocabularies and document representation and packaging. It also specifies requirements for consumers and producers of Office Open XML.

Conformance

The text in this Standard is divided into normative and informative categories. Unless documented otherwise, any feature shall be implemented as specified by the normative text describing that feature in this Standard. Text marked informative (using the mechanisms described in7) is for information purposes only. Unless stated otherwise, all text is normative.

Use of the word shall indicates required behavior.

Any behavior that is not explicitly specified by this Standard is implicitly unspecified (4).

Goal

The goal