ECMA 376 PART 2-2012 Office Open XML File Formats - Open Packaging Conventions (4th Edition).pdf
《ECMA 376 PART 2-2012 Office Open XML File Formats - Open Packaging Conventions (4th Edition).pdf》由会员分享,可在线阅读,更多相关《ECMA 376 PART 2-2012 Office Open XML File Formats - Open Packaging Conventions (4th Edition).pdf(137页珍藏版)》请在麦多课文档分享上搜索。
1、 ECMA-376, 4th Edition Office Open XML File Formats Open Packaging Conventions December 2012 Table of Contents iii Table of Contents Foreword vii Introduction viii 1. Scope 1 2. Conformance . 2 3. Normative References 3 4. Terms and Definitions 5 5. Notational Conventions . 9 5.1 Document Convention
2、s . 9 5.2 Diagram Notes . 9 6. Acronyms and Abbreviations 11 7. General Description . 12 8. Overview . 13 9. Package Model 14 9.1 Parts . 14 9.1.1 Part Names 14 9.1.2 Content Types . 17 9.1.3 Growth Hint . 18 9.1.4 XML Usage . 18 9.2 Part Addressing . 19 9.2.1 Relative References . 19 9.3 Relationsh
3、ips . 20 9.3.1 Relationships Part 20 9.3.2 Relationship Markup . 20 9.3.3 Representing Relationships . 24 9.3.4 Support for Versioning and Extensibility . 26 10. Physical Package 27 10.1 Physical Mapping Guidelines . 27 10.1.1 Mapped Components 28 10.1.2 Mapping Content Types 28 10.1.3 Mapping Part
4、Names to Physical Package Item Names 33 10.1.4 Interleaving . 35 10.2 Mapping to a ZIP Archive 37 10.2.1 Mapping Part Data 37 10.2.2 ZIP Item Names . 37 10.2.3 Mapping Part Names to ZIP Item Names 38 10.2.4 Mapping ZIP Item Names to Part Names 38 10.2.5 ZIP Package Limitations . 38 10.2.6 Mapping Pa
5、rt Content Type 39 10.2.7 Mapping the Growth Hint . 39 ECMA-376 Part 2 iv 10.2.8 Late Detection of ZIP Items Unfit for Streaming Consumption 40 10.2.9 ZIP Format Clarifications for Packages 40 11. Core Properties 41 11.1 Core Properties Part 42 11.2 Location of Core Properties Part . 44 11.3 Support
6、 for Versioning and Extensibility . 44 11.4 Schema Restrictions for Core Properties 44 12. Thumbnails 46 12.1 Thumbnail Parts. 46 13. Digital Signatures . 47 13.1 Choosing Content to Sign 47 13.2 Digital Signature Parts . 47 13.2.1 Digital Signature Origin Part 48 13.2.2 Digital Signature XML Signat
7、ure Part 48 13.2.3 Digital Signature Certificate Part . 49 13.2.4 Digital Signature Markup 49 13.3 Digital Signature Example 59 13.4 Generating Signatures . 61 13.5 Validating Signatures . 62 13.5.1 Signature Validation and Streaming Consumption . 63 13.6 Support for Versioning and Extensibility . 6
8、3 13.6.1 Using Relationship Types 63 13.6.2 Markup Compatibility Namespace for Package Digital Signatures . 63 Annex A. (normative) Resolving Unicode Strings to Part Names 65 A.1 Creating an IRI from a Unicode String . 65 A.2 Creating a URI from an IRI . 65 A.3 Resolving a Relative Reference to a Pa
9、rt Name 66 A.4 String Conversion Examples 66 Annex B. (normative) Pack URI . 67 B.1 Pack URI Scheme . 67 B.2 Resolving a Pack URI to a Resource . 69 B.3 Composing a Pack URI . 69 B.4 Equivalence . 70 Annex C. (normative) ZIP Appnote.txt Clarifications 71 C.1 Archive File Header Consistency . 71 C.2
10、Data Descriptor Signature . 71 C.3 Table Key . 71 Annex D. (normative) Schemas - W3C XML Schema 82 D.1 Content Types Stream . 82 D.2 Core Properties Part 83 D.3 Digital Signature XML Signature Markup 84 D.4 Relationships Part 85 Annex E. (informative) Schemas - RELAX NG . 86 Table of Contents v E.1
11、Content Types Stream . 86 E.2 Core Properties Part 87 E.3 Digital Signature XML Signature Markup 87 E.4 Relationships Part 88 E.5 Additional Resources . 89 E.5.1 XML 89 E.5.2 XML Digital Signature Core 89 Annex F. (normative) Standard Namespaces and Content Types 90 Annex G. (informative) Physical M
12、odel Design Considerations 92 G.1 Access Styles 93 G.1.1 Direct Access Consumption . 93 G.1.2 Streaming Consumption 93 G.1.3 Streaming Creation . 93 G.1.4 Simultaneous Creation and Consumption 93 G.2 Layout Styles 93 G.2.1 Simple Ordering. 93 G.2.2 Interleaved Ordering . 94 G.3 Communication Styles
13、. 94 G.3.1 Sequential Delivery . 94 G.3.2 Random Access 94 Annex H. (informative) Guidelines for Meeting Conformance 95 H.1 Package Model 95 H.2 Physical Packages 103 H.3 ZIP Physical Mapping . 108 H.4 Core Properties 112 H.5 Thumbnail 114 H.6 Digital Signatures . 114 H.7 Pack URI . 125 Annex I. (in
14、formative) Differences Between ECMA-376:2012 and ECMA-376:2006 . 127 I.1 XML Elements 127 I.2 XML Attributes. 127 I.3 XML Enumeration Values 127 I.4 XML Simple Types 127 Annex J. (informative) Index . 128 Foreword vii Foreword Changes from the 3rd edition were made to align this 4th edition Standard
15、 with ECMA-376:2012. Both this 4th edition and ISO/IEC 29500:2012 refer to the 1st edition. As such, this 4th edition does not cancel or replace the 1st edition. This 4th edition does, however, cancel and replace the 3rd edition. Some important differences between ECMA-376:2012 and ECMA-376:2006 are
16、 given in Annex I. ECMA-376 consists of the following parts: Part 1: Fundamentals and Markup Language Reference Part 2: Open Packaging Conventions Part 3: Markup Compatibility and Extensibility Part 4: Transitional Migration Features Annexes A, B, C, D, and F form a normative part of this Part of EC
17、MA-376. Annexes E, G, H, I, and J are for information only. This Part of ECMA-376 includes two annexes (Annex D and Annex E) that refer to data files provided in electronic form. The document representation formats defined by this Part are different from the formats defined in the corresponding Part
18、 of ECMA-376:2006. Some of the differences are reflected in schema changes, as shown in Annex I of this Part. ECMA-376 Part 2 viii Introduction ECMA-376 specifies a family of XML schemas, collectively called Office Open XML, which define the XML vocabularies for word-processing, spreadsheet, and pre
19、sentation 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,
20、 as well as to support and strengthen document archival and preservation, all in a way that is fully compatible with the existing corpus of Microsoft Office documents. The following organizations have participated in the creation of ECMA-376 and their contributions are gratefully acknowledged: Apple
21、, Barclays Capital, BP, The British Library, Essilor, Intel, Microsoft, NextPage, Novell, Statoil, Toshiba, and the United States Library of Congress 1. Scope 1 1. Scope This Part of ECMA-376 specifies a set of conventions that are used by Office Open XML documents to define the structure and functi
22、onality of a package in terms of a package model and a physical model. The package model is a package abstraction that holds a collection of parts. The parts are composed, processed, and persisted according to a set of rules. Parts can have relationships to other parts or external resources, and the
23、 package as a whole can have relationships to parts it contains or to external resources. The package model specifies how the parts of a package are named and related. Parts have content types and are uniquely identified using the well-defined naming rules provided in this Part of ECMA-376. The phys
24、ical mapping defines the mapping of the components of the package model to the features of a specific physical format, namely a ZIP archive. This Part of ECMA-376 also describes certain features that might be supported in a package, including core properties for package metadata, a thumbnail for gra
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ECMA376PART22012OFFICEOPENXMLFILEFORMATSOPENPACKAGINGCONVENTIONS4THEDITIONPDF

链接地址:http://www.mydoc123.com/p-704807.html