3.1.1.2 Customizations Part
Content Type
application/vnd.ms-word.keyMapCustomizations+xml
Root Namespace
http://schemas.openxmlformats.org/wordprocessingml/2006/main
Source Relationship
http://schemas.microsoft.com/office/2006/relationships/keyMapCustomizations
An instance of this part type contains the document's template command group (TCG), which consists of key mapping and toolbar customizations.
A package shall contain no more than two Customizations parts. If it exists, one instance of that part shall be the target of an implicit relationship from the Main Document part ("[ISO/IEC-29500-1] §11.3.10"), and the other instance shall be the target of an implicit relationship from the Glossary Document part ("[ISO/IEC-29500-1] §11.3.8").
[Example: The following Main Document part-relationship item contains a relationship to a Customizations part, which is stored in the ZIP item customizations.xml:
-
<Relationships xmlns="…"> <Relationship Id="rId4" Type="http://…/keyMapCustomizations" Target="customizations.xml"/> </Relationships>
end example]
The root element for a part of this content type shall be tcg.
[Example:
-
<wne:tcg …> <wne:keymaps> <wne:keymap wne:kcmPrimary="0341"> <wne:fci wne:fciName="CssLinks" wne:swArg="0000"/> </wne:keymap> </wne:keymaps> <wne:toolbars> <wne:toolbarData r:id="rId1"/> </wne:toolbars> </wne:tcg>
end example]
A Customizations part is permitted to contain explicit relationships to the following parts defined by Office Open XML File Formats [ISO/IEC-29500-1]:
Word Attached Toolbars Part (§3.1.1.1, Word Attached Toolbars Part)
A Customizations part shall not have any implicit or explicit relationships to any other part defined by Office Open XML File Formats [ISO/IEC-29500-1].