[MS-OFFMACRO2]: Office Macro-Enabled File Format Version 2

Transcription

[MS-OFFMACRO2]:Office Macro-Enabled File Format Version 2Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes Open Specifications documentation (“thisdocumentation”) for protocols, file formats, data portability, computer languages, and standardssupport. Additionally, overview documents cover inter-protocol relationships and interactions.Copyrights. This documentation is covered by Microsoft copyrights. Regardless of any otherterms that are contained in the terms of use for the Microsoft website that hosts thisdocumentation, you can make copies of it in order to develop implementations of the technologiesthat are described in this documentation and can distribute portions of it in your implementationsthat use these technologies or in your documentation as necessary to properly document theimplementation. You can also distribute in your implementation, with or without modification, anyschemas, IDLs, or code samples that are included in the documentation. This permission alsoapplies to any documents that are referenced in the Open Specifications documentation.No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.Patents. Microsoft has patents that might cover your implementations of the technologiesdescribed in the Open Specifications documentation. Neither this notice nor Microsoft's delivery ofthis documentation grants any licenses under those patents or any other Microsoft patents.However, a given Open Specifications document might be covered by the Microsoft OpenSpecifications Promise or the Microsoft Community Promise. If you would prefer a written license,or if the technologies described in this documentation are not covered by the Open SpecificationsPromise or Community Promise, as applicable, patent licenses are available by contactingiplg@microsoft.com.License Programs. To see all of the protocols in scope under a specific license program and theassociated patents, visit the Patent Map.Trademarks. The names of companies and products contained in this documentation might becovered by trademarks or similar intellectual property rights. This notice does not grant anylicenses under those rights. For a list of Microsoft trademarks, visitwww.microsoft.com/trademarks.Fictitious Names. The example companies, organizations, products, domain names, emailaddresses, logos, people, places, and events that are depicted in this documentation are fictitious.No association with any real company, organization, product, domain name, email address, logo,person, place, or event is intended or should be inferred.Reservation of Rights. All other rights are reserved, and this notice does not grant any rights otherthan as specifically described above, whether by implication, estoppel, or otherwise.Tools. The Open Specifications documentation does not require the use of Microsoft programmingtools or programming environments in order for you to develop an implementation. If you have accessto Microsoft programming tools and environments, you are free to take advantage of them. CertainOpen Specifications documents are intended for use in conjunction with publicly available standardsspecifications and network programming art and, as such, assume that the reader either is familiarwith the aforementioned material or has immediate access to it.Support. For questions and support, please contact dochelp@microsoft.com.1 / 33[MS-OFFMACRO2] - v20180828Office Macro-Enabled File Format Version 2Copyright 2018 Microsoft CorporationRelease: August 28, 2018

Revision 3/20090.1MajorInitial Availability8/28/20090.2EditorialRevised and edited the technical content11/6/20090.3EditorialRevised and edited the technical content2/19/20101.0MinorUpdated the technical content3/31/20101.01EditorialRevised and edited the technical content4/30/20101.02EditorialRevised and edited the technical content6/7/20101.03EditorialRevised and edited the technical content6/29/20101.04EditorialChanged language and formatting in the technical content.7/23/20101.04NoneNo changes to the meaning, language, or formatting of thetechnical content.9/27/20101.04NoneNo changes to the meaning, language, or formatting of thetechnical content.11/15/20101.04NoneNo changes to the meaning, language, or formatting of thetechnical content.12/17/20101.04NoneNo changes to the meaning, language, or formatting of thetechnical content.3/18/20111.04NoneNo changes to the meaning, language, or formatting of thetechnical content.6/10/20111.04NoneNo changes to the meaning, language, or formatting of thetechnical content.1/20/20121.5MinorClarified the meaning of the technical content.4/11/20121.5NoneNo changes to the meaning, language, or formatting of thetechnical content.7/16/20121.6MinorClarified the meaning of the technical content.10/8/20121.7MinorClarified the meaning of the technical content.2/11/20131.7NoneNo changes to the meaning, language, or formatting of thetechnical content.7/30/20131.7NoneNo changes to the meaning, language, or formatting of thetechnical content.11/18/20131.7NoneNo changes to the meaning, language, or formatting of thetechnical content.2/10/20141.7NoneNo changes to the meaning, language, or formatting of thetechnical content.4/30/20141.8MinorClarified the meaning of the technical content.7/31/20141.8NoneNo changes to the meaning, language, or formatting of thetechnical content.2 / 33[MS-OFFMACRO2] - v20180828Office Macro-Enabled File Format Version 2Copyright 2018 Microsoft CorporationRelease: August 28, 2018

o changes to the meaning, language, or formatting of thetechnical content.3/16/20152.0MajorSignificantly changed the technical content.9/4/20152.1MinorClarified the meaning of the technical content.7/15/20162.2MinorClarified the meaning of the technical content.9/14/20162.2NoneNo changes to the meaning, language, or formatting of thetechnical content.12/15/20162.3MinorClarified the meaning of the technical content.12/12/20172.4MinorClarified the meaning of the technical content.4/27/20183.0MajorSignificantly changed the technical content.8/28/20184.0MajorSignificantly changed the technical content.Comments3 / 33[MS-OFFMACRO2] - v20180828Office Macro-Enabled File Format Version 2Copyright 2018 Microsoft CorporationRelease: August 28, 2018

Table of Contents1Introduction . 61.1Glossary . 61.2References . 71.2.1Normative References . 71.2.2Informative References . 81.3Structure Overview . 81.4Relationship to Protocols and Other Structures . 81.5Applicability Statement . 81.6Versioning and Localization . 91.7Vendor-Extensible Fields . 92Structures . 102.1Macro-enabled WordprocessingML Structures . 102.1.1Part Enumeration. 102.1.1.1Main Document. 102.1.1.2VBA Project . 102.1.1.3VBA Supplemental Data . 112.1.2Extensions . 112.1.3Global Elements . 112.1.3.1vbaSuppData. 112.1.4Global Attributes. 112.1.5Complex Types . 112.1.5.1CT DocEvents . 112.1.5.2CT Mcd . 122.1.5.3CT Mcds . 132.1.5.4CT VbaSuppData . 132.1.6Simple Types . 142.2Macro-enabled SpreadsheetML structures . 142.2.1Part Enumeration. 142.2.1.1International Macro Sheet . 142.2.1.2Macro Sheet . 152.2.1.3VBA Project . 152.2.1.4Workbook . 162.2.2Excel Extensions . 162.2.2.1Extensions by Part . 162.2.2.1.1extLst . 162.2.3Global Elements . 162.2.3.1macrosheet . 162.2.3.2definedNames . 172.2.4Global Attributes. 172.2.5Complex Types . 172.2.5.1CT Worksheet . 172.2.5.2CT DefinedNames . 202.2.5.3CT DefinedName . 202.2.5.4CT DefinedNameArgumentDescriptions . 212.2.5.5CT DefinedNameArgumentDescription . 212.2.6Simple Types . 222.2.7Formulas . 222.3Macro-Enabled PresentationML Structures . 222.3.1Part Enumeration. 222.3.1.1Presentation . 222.3.1.2VBA Project . 222.3.2Extensions . 232.3.3Global Elements . 232.3.4Global Attributes. 234 / 33[MS-OFFMACRO2] - v20180828Office Macro-Enabled File Format Version 2Copyright 2018 Microsoft CorporationRelease: August 28, 2018

2.3.5Complex Types . 232.3.5.1CT SlideMasterIdListEntry . 232.3.6Simple Types . 233Structure Examples . 243.1VBA Supplemental Data Part . 243.2Macro Sheet Part . 244Security Considerations . 254.1Security Considerations for Implementers . 254.2Index of Security Fields . 255Appendix A: Full XML Schemas . /wordml Schema . 6/main Schema . 8/2/main Schema .

described in the Open Specifications documentation. Neither this notice nor Microsoft's delivery of this documentation grants any licenses under those patents or any other Microsoft patents. However, a given Open Specifications document might be covered by the Microsoft Open Specifications Promise or the Microsoft Community Promise. If you .