1、 ECMA-376, 4th Edition Office Open XML File Formats Transitional Migration Features December 2012 Table of Contents iii Table of Contents Foreword xiii Introduction . xiv 1. Scope 1 2. Conformance 2 2.1 Document Conformance 2 2.2 Application Conformance 2 3. Normative References .4 4. Terms and Defi
2、nitions .8 5. Notational Conventions . 11 6. Acronyms and Abbreviations . 12 7. General Description. 13 8. Additional Shared Parts . 15 8.1 VML Drawing Part . 15 9. WordprocessingML . 17 9.1 Part Summary (Part 1, 11.3) . 17 9.1.1 Alternative Format Import Part (Part 1, 11.3.1) . 17 9.1.2 Comments Pa
3、rt (Part 1, 11.3.2) 17 9.1.3 Document Settings Part (Part 1, 11.3.3) . 17 9.1.4 Endnotes Part (Part 1, 11.3.4) . 17 9.1.5 Fonts Table Part (Part 1, 11.3.5) . 17 9.1.6 Footer Part (Part 1, 11.3.6) . 17 9.1.7 Footnotes Part (Part 1, 11.3.7) 18 9.1.8 Glossary Document Part (Part 1, 11.3.8) 18 9.1.9 Hea
4、der Part (Part 1, 11.3.9) 18 9.1.10 Main Document Part (Part 1, 11.3.10) 18 9.1.11 Numbering Definitions Part (Part 1, 11.3.11) . 18 9.1.12 Style Definitions Part (Part 1, 11.3.12) 18 9.1.13 Web Settings Part (Part 1, 11.3.13). 18 9.2 Document Template (Part 1, 11.4) . 19 9.3 Framesets (Part 1, 11.5
5、) 19 9.4 Master Documents and Subdocuments (Part 1, 11.6) . 19 9.5 Mail Merge Data Source (Part 1, 11.7) . 19 9.6 Mail Merger Header Data Source (Part 1, 11.8) . 19 9.7 XSL Transformation (Part 1, 11.9) . 19 10. SpreadsheetML 20 10.1 Part Summary (Part 1, 12.3) . 20 10.1.1 Calculation Chain Part (Pa
6、rt 1, 12.3.1) 20 10.1.2 Chartsheet Part (Part 1, 12.3.2) 20 10.1.3 Comments Part (Part 1, 12.3.3) 20 ECMA-376 Part 4 iv 10.1.4 Connections Part (Part 1, 12.3.4) 20 10.1.5 Custom Property Part (Part 1, 12.3.5). 20 10.1.6 Custom XML Mappings Part (Part 1, 12.3.6) . 21 10.1.7 Dialogsheet Part (Part 1,
7、12.3.7) . 21 10.1.8 Drawings Part (Part 1, 12.3.8) . 21 10.1.9 External Workbook References Part (Part 1, 12.3.9) 21 10.1.10 Metadata Part (Part 1, 12.3.10) 21 10.1.11 Pivot Table Part (Part 1, 12.3.11) 21 10.1.12 Pivot Table Cache Definition Part (Part 1, 12.3.12) 21 10.1.13 Pivot Table Cache Recor
8、ds Part (Part 1, 12.3.13) . 22 10.1.14 Query Table Part (Part 1, 12.3.14) 22 10.1.15 Shared Strings Table Part (Part 1, 12.3.15) . 22 10.1.16 Shared Workbook Revision Headers Part (Part 1, 12.3.16) 22 10.1.17 Shared Workbook Revision Log Part (Part 1, 12.3.17) 22 10.1.18 Shared Workbook User Data pa
9、rt (Part 1, 12.3.18) 22 10.1.19 Single Cell Table Definitions Part (Part 1, 12.3.19) . 22 10.1.20 Styles Part (Part 1, 12.3.20). 23 10.1.21 Table Definition Part (Part 1, 12.3.21) 23 10.1.22 Volatile Dependencies Part (Part 1, 12.3.22) 23 10.1.23 Workbook Part (Part 1, 12.3.23) . 23 10.1.24 Workshee
10、t Part (Part 1, 12.3.24) 23 10.2 External Workbooks (Part 1, 12.4) 23 11. PresentationML . 24 11.1 Part Summary (Part 1, 13.3) . 24 11.1.1 Comment Authors Part (Part 1, 13.3.1) 24 11.1.2 Comments Part (Part 1, 13.3.2) 24 11.1.3 Handout Master Part (Part 1, 13.3.3) . 24 11.1.4 Notes Master Part (Part
11、 1, 13.3.4) 24 11.1.5 Notes Slide Part (Part 1, 13.3.5) 24 11.1.6 Presentation Part (Part 1, 13.3.6) . 25 11.1.7 Presentation Properties Part (Part 1, 13.3.7) . 25 11.1.8 Slide Part (Part 1, 13.3.8) 25 11.1.9 Slide Layout Part (Part 1, 13.3.9) 25 11.1.10 Slide Master Part (Part 1, 13.3.10) 25 11.1.1
12、1 Slide Synchronization Data Part (Part 1, 13.3.11) . 25 11.1.12 User Defined Tags Part (Part 1, 13.3.12) . 25 11.1.13 View Properties Part (Part 1, 13.3.13) 26 11.2 HTML Publish Location (Part 1, 13.4) 26 11.3 Slide Synchronization Server Location (Part 1, 13.5) 26 12. DrawingML 27 12.1 Part Summar
13、y (Part 1, 14.2) . 27 12.1.1 Chart Part (Part 1, 14.2.1) . 27 12.1.2 Chart Drawing Part (Part 1, 14.2.2) . 27 12.1.3 Diagram Colors Part (Part 1, 14.2.3) . 27 12.1.4 Diagram Data Part (Part 1, 14.2.4) 27 12.1.5 Diagram Layout Definition Part (Part 1, 14.2.5) 27 12.1.6 Diagram Style Part (Part 1, 14.
14、2.6) 28 Table of Contents v 12.1.7 Theme Part (Part 1, 14.2.7) . 28 12.1.8 Theme Override Part (Part 1, 14.2.8) 28 12.1.9 Table Styles Part (Part 1, 14.2.9) . 28 13. Shared MLs 29 13.1 Part Summary (Part 1, 15.2) . 29 13.1.1 Additional Characteristics Part (Part 1, 15.2.1) . 29 13.1.2 Audio Part (Pa
15、rt 1, 15.2.2) 29 13.1.3 Bibliography Part (Part 1, 15.2.3) 29 13.1.4 Content Part (Part 1, 15.2.4) . 29 13.1.5 Custom XML Data Storage Part (Part 1, 15.2.5) 29 13.1.6 Custom XML Data Storage Properties Part (Part 1, 15.2.6) 29 13.1.7 Embedded Control Persistence Part (Part 1, 15.2.9) 30 13.1.8 Embed
16、ded Object Part (Part 1, 15.2.10) . 30 13.1.9 Embedded Package Part (Part 1, 15.2.11) 30 13.1.10 Core File Properties Part (Part 1, 15.2.12.1) . 30 13.1.11 Custom File Properties Part (Part 1, 15.2.12.2) 30 13.1.12 Extended File Properties Part (Part 1, 15.2.12.3) . 30 13.1.13 Font Part (Part 1, 15.
17、2.13) . 30 13.1.14 Image Part (Part 1, 15.2.14) 30 13.1.15 Printer Settings Part (Part 1, 15.2.15) . 30 13.1.16 Thumbnail Part (Part 1, 15.2.16) . 31 13.1.17 Video Part (Part 1, 15.2.17) . 31 13.2 Hyperlinks Part (Part 1, 15.3) 31 14. WordprocessingML Reference Material 32 14.1 Table of Contents 32
18、14.2 Paragraphs and Rich Formatting 35 14.2.1 Paragraphs 35 14.2.2 Run Content 37 14.3 Tables 39 14.3.1 left (Table Cell Leading Edge Border) 39 14.3.2 left (Table Leading Edge Border) . 39 14.3.3 left (Table Cell Leading Margin Exception) . 39 14.3.4 left (Table Cell Leading Margin Default) . 40 14
19、.3.5 right (Table Cell Trailing Edge Border) 40 14.3.6 right (Table Trailing Edge Border) . 40 14.3.7 right (Table Cell Trailing Margin Default) 40 14.3.8 right (Table Cell Trailing Margin Exception) 40 14.3.9 Additional attribute for cnfStyle element (Part 1, 17.4.7) 40 14.3.10 Additional attribute
20、 for cnfStyle element (Part 1, 17.4.8) 42 14.3.11 Additional attribute for tblLook element (Part 1, 17.4.55) . 43 14.3.12 Additional attribute for tblLook element (Part 1, 17.4.56) . 43 14.3.13 hMerge (Horizontally Merged Cell) 44 14.4 Fonts . 46 14.4.1 Elements . 46 14.5 Numbering 48 14.5.1 pict (P
21、icture Numbering Symbol Properties) 48 14.5.2 legacy (Legacy Numbering Level Properties) 49 ECMA-376 Part 4 vi 14.6 Annotations 50 14.6.1 Revisions . 50 14.7 Settings . 59 14.7.1 Legacy Password Hash Algorithm . 59 14.7.2 Document Settings 66 14.7.3 Compatibility Settings . 80 14.7.4 Web Page Settin
22、gs 159 14.8 Miscellaneous Topics 160 14.8.1 Text Box Content . 160 14.9 Fields and Hyperlinks 162 14.9.1 Syntax 162 14.9.2 Legacy language references 163 14.9.3 Use of DOS File Paths 170 14.9.4 Field definitions . 170 14.9.5 fldData (Custom Field Data) 179 14.9.6 fldData (Custom Field Data) 180 14.9
23、.7 hyperlink (Hyperlink) (Part 1, 17.16.22) 181 14.10 Simple Types . 181 14.10.1 Additional member types for the union in ST_DecimalNumberOrPercent (Part 1, 17.18.11) . 181 14.10.2 Additional enumeration values for ST_Jc (Part 1, 17.18.44). 181 14.10.3 Additional enumeration values for ST_JcTable (P
24、art 1, 17.18.45) 181 14.10.4 Additional enumeration values for ST_NumberFormat (Part 1, 17.18.59) 182 14.10.5 Additional enumeration values for ST_StyleSort (Part 1, 17.18.82) . 182 14.10.6 Additional enumeration values for ST_TabJc (Part 1, 17.18.84) . 183 14.10.7 Additional enumeration values for
25、ST_TextDirection (Part 1, 17.18.93) 183 14.10.8 Additional member types for the union in ST_TextScale (Part 1, 17.18.95) 183 14.10.9 ST_Cnf (Conditional Formatting Bitmask) . 183 14.10.10 ST_UnqualifiedPercentage (Percentage Value Without Percent Sign) . 185 14.10.11 ST_TextScaleDecimal (Text Expans
26、ion/Compression Percentage) . 185 14.11 Changed attributes . 186 14.11.1 Changed attribute for contentPart element (Part 1, 17.3.3.2) . 186 14.11.2 Changed attribute for control element (Part 1, 17.3.3.3) . 187 14.11.3 Changed attribute for movie element (Part 1, 17.3.3.17) 187 14.11.4 Changed attri
27、bute for objectEmbed element (Part 1, 17.3.3.20) . 188 14.11.5 Changed attribute for objectLink element (Part 1, 17.3.3.21) 189 14.11.6 Changed attribute for bottom element (Part 1, 17.6.2) . 189 14.11.7 Changed attribute for left element (Part 1, 17.6.7) 190 14.11.8 Changed attribute for printerSet
28、tings element (Part 1, 17.6.14) . 191 14.11.9 Changed attribute for right element (Part 1, 17.6.15) 192 14.11.10 Changed attribute for top element (Part 1, 17.6.21) 192 14.11.11 Changed attribute for embedBold element (Part 1, 17.8.3.3) 194 14.11.12 Changed attribute for embedBoldItalic element (Par
29、t 1, 17.8.3.4) 194 14.11.13 Changed attribute for embedItalic element (Part 1, 17.8.3.5) . 195 14.11.14 Changed attribute for embedRegular element (Part 1, 17.8.3.6) . 196 14.11.15 Changed attribute for footerReference element (Part 1, 17.10.2) . 196 14.11.16 Changed attribute for headerReference el
30、ement (Part 1, 17.10.5) . 197 14.11.17 Changed attribute for dataSource element (Part 1, 17.14.9) . 198 14.11.18 Changed attribute for headerSource element (Part 1, 17.14.16) . 198 Table of Contents vii 14.11.19 Changed attribute for recipientData element (Part 1, 17.14.28) . 199 14.11.20 Changed at
31、tribute for src element (Part 1, 17.14.30) . 200 14.11.21 Changed attribute for attachedTemplate element (Part 1, 17.15.1.6). 200 14.11.22 Changed attribute for saveThroughXslt element (Part 1, 17.15.1.76) . 201 14.11.23 Changed attribute for longDesc element (Part 1, 17.15.2.23) 201 14.11.24 Change
32、d attribute for sourceFileName element (Part 1, 17.15.2.39) 202 14.11.25 Changed attribute for subDoc element (Part 1, 17.17.1.1) 203 14.11.26 Changed attribute for altChunk element (Part 1, 17.17.2.1) 203 15. SpreadsheetML Reference Material 205 15.1 Table of Contents 205 15.2 Workbook . 206 15.2.1
33、 Additional attribute for fileSharing element (Part 1, 18.2.12) 206 15.2.2 Additional attribute for webPublishing element (Part 1, 18.2.24) . 206 15.2.3 Additional attributes for workbookProtection element (Part 1, 18.2.29) 206 15.2.4 Modified content for Date Conversion for Serial Date-Times (Part
34、1, 18.17.4.1) 212 15.3 Worksheets . 213 15.3.1 Worksheets . 213 15.3.2 AutoFilter Settings 216 15.4 Styles . 217 15.4.1 left (Leading Edge Border) 217 15.4.2 right (Trailing Edge Border) . 217 15.5 Pivot Tables . 217 15.5.1 Pivot Tables . 217 15.6 External Data Connections . 218 15.6.1 Additional at
35、tribute for textPr element (Part 1, 18.13.12) . 218 15.7 Simple Types . 218 15.7.1 Additional enumeration values for ST_PivotAreaType (Part 1, 18.18.58) 218 15.7.2 ST_UnsignedShortHex (Unsigned Short Hex) . 218 15.7.3 Removed enumeration values for ST_CellType (Part 1, 18.18.11) . 219 15.8 Formulas
36、. 219 15.8.1 Attribute synonym for c element (Part 1, 18.6.1) . 219 15.8.2 Additional representation for dates and times (Part 1, 18.17.4 ) . 219 15.9 Changed attributes . 219 15.9.1 Changed attribute for externalReference element (Part 1, 18.2.8) . 219 15.9.2 Changed attribute for pivotCache elemen
37、t (Part 1, 18.2.17) . 219 15.9.3 Changed attribute for sheet element (Part 1, 18.2.19) 220 15.9.4 Changed attribute for control element (Part 1, 18.3.1.19) . 220 15.9.5 Changed attribute for controlPr element (Part 1, 18.3.1.20) . 220 15.9.6 Changed attribute for customPr element (Part 1, 18.3.1.22)
38、 . 221 15.9.7 Changed attribute for dataRef element (Part 1, 18.3.1.30) 221 15.9.8 Changed attribute for drawing element (Part 1, 18.3.1.36) . 221 15.9.9 Changed attribute for drawingHF element (Part 1, 18.3.1.37) . 221 15.9.10 Changed attribute for hyperlink element (Part 1, 18.3.1.47) . 222 15.9.1
39、1 Changed attribute for objectPr element (Part 1, 18.3.1.56) . 222 15.9.12 Changed attribute for oleObject element (Part 1, 18.3.1.59) 222 15.9.13 Changed attribute for pageSetup element (Part 1, 18.3.1.63) . 223 15.9.14 Changed attribute for pageSetup element (Part 1, 18.3.1.64) . 223 ECMA-376 Part
40、 4 viii 15.9.15 Changed attribute for picture element (Part 1, 18.3.1.67) . 223 15.9.16 Changed attribute for pivotSelection element (Part 1, 18.3.1.69) . 223 15.9.17 Changed attribute for tablePart element (Part 1, 18.3.1.94) . 223 15.9.18 Changed attribute for pivotCacheDefinition element (Part 1,
41、 18.10.1.67) 224 15.9.19 Changed attribute for rangeSet element (Part 1, 18.10.1.79) 224 15.9.20 Changed attribute for worksheetSource element (Part 1, 18.10.1.95) 224 15.9.21 Changed attribute for header element (Part 1, 18.11.1.1) . 224 15.9.22 Changed attribute for externalBook element (Part 1, 1
42、8.14.7) 225 15.9.23 Changed attribute for oleLink element (Part 1, 18.14.11) 225 16. PresentationML Reference Material . 226 16.1 Table of Contents 226 16.2 Presentation 227 16.2.1 Presentation Properties 227 16.3 Slides . 235 16.3.1 Embedded Objects 235 16.4 Simple Types . 236 16.4.1 ST_WebColorTyp
43、e (HTML Slide Navigation Control Colors) . 236 16.4.2 ST_WebEncoding (Web Encoding) 236 16.4.3 ST_WebScreenSize (HTML/Web Screen Size Target) . 236 16.5 Changed attributes . 237 16.5.1 Changed attribute for bold element (Part 1, 19.2.1.1) . 237 16.5.2 Changed attribute for boldItalic element (Part 1
44、, 19.2.1.2) . 238 16.5.3 Changed attribute for font element (Part 1, 19.2.1.13) . 238 16.5.4 Changed attribute for handoutMasterId element (Part 1, 19.2.1.14) 240 16.5.5 Changed attribute for italic element (Part 1, 19.2.1.16). 240 16.5.6 Changed attribute for notesMasterId element (Part 1, 19.2.1.2
45、0) 241 16.5.7 Changed attribute for notesSz element (Part 1, 19.2.1.22) 241 16.5.8 Changed attribute for regular element (Part 1, 19.2.1.29) . 242 16.5.9 Changed attribute for sld element (Part 1, 19.2.1.31) 242 16.5.10 Changed attribute for sldId element (Part 1, 19.2.1.33). 242 16.5.11 Changed att
46、ribute for sldMasterId element (Part 1, 19.2.1.36) . 242 16.5.12 Changed attribute for SmartTags element (Part 1, 19.2.1.40) . 243 16.5.13 Changed attribute for gridSpacing element (Part 1, 19.2.2.3) 243 16.5.14 Changed attribute for origin element (Part 1, 19.2.2.9) . 244 16.5.15 Changed attribute
47、for sld element (Part 1, 19.2.2.14) 244 16.5.16 Changed attribute for bgRef element (Part 1, 19.3.1.3) . 245 16.5.17 Changed attribute for blipFill element (Part 1, 19.3.1.4) 245 16.5.18 Changed attribute for clrMap element (Part 1, 19.3.1.6) . 245 16.5.19 Changed attribute for cNvPicPr element (Par
48、t 1, 19.3.1.11) 247 16.5.20 Changed attribute for cNvPr element (Part 1, 19.3.1.12) . 247 16.5.21 Changed attribute for cNvSpPr element (Part 1, 19.3.1.13) . 249 16.5.22 Changed attribute for contentPart element (Part 1, 19.3.1.14) . 249 16.5.23 Changed attribute for custData element (Part 1, 19.3.1
49、.17) 250 16.5.24 Changed attribute for grpSpPr element (Part 1, 19.3.1.23) . 250 16.5.25 Changed attribute for sldLayoutId element (Part 1, 19.3.1.40) 250 16.5.26 Changed attribute for spPr element (Part 1, 19.3.1.44) . 250 16.5.27 Changed attribute for tags element (Part 1, 19.3.1.47) . 251 Table of Contents ix 16.5.28 Changed attribute for xfrm element (Part 1, 19.3.1.53) . 251 16.5.29 Changed attribute