(MS-CTDOC) : Word Custom Toolbar Binary File Format Structure Specification
(MS-CTDOC) : Word Custom Toolbar Binary File Format Structure Specification
(MS-CTDOC) : Word Custom Toolbar Binary File Format Structure Specification
No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.
Patents. Microsoft has patents that may cover your implementations of the technologies
described in the Open Specifications. Neither this notice nor Microsoft's delivery of the
documentation grants any licenses under those or any other Microsoft patents. However, a given
Open Specification may be covered by Microsoft's Open Specification Promise (available here:
http://www.microsoft.com/interop/osp) or the Community Promise (available here:
http://www.microsoft.com/interop/cp/default.mspx). If you would prefer a written license, or if
the technologies described in the Open Specifications are not covered by the Open Specifications
Promise or Community Promise, as applicable, patent licenses are available by contacting
[email protected].
Trademarks. The names of companies and products contained in this documentation may be
covered by trademarks or similar intellectual property rights. This notice does not grant any
licenses under those rights.
Fictitious Names. The example companies, organizations, products, domain names, e-mail
addresses, logos, people, places, and events 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
other than specifically described above, whether by implication, estoppel, or otherwise.
Tools. The Open Specifications do not require the use of Microsoft programming tools or
programming environments in order for you to develop an implementation. If you have access to
Microsoft programming tools and environments you are free to take advantage of them. Certain
Open Specifications are intended for use in conjunction with publicly available standard
specifications and network programming art, and assumes that the reader either is familiar with the
aforementioned material or has immediate access to it.
1 / 11
[MS-CTDOC] — v20101219
Word Custom Toolbar Binary File Format Structure Specification
Revision Revision
Date History Class Comments
2 / 11
[MS-CTDOC] — v20101219
Word Custom Toolbar Binary File Format Structure Specification
2 Structures ................................................................................................................ 6
2.1 Toolbar Data ......................................................................................................... 6
2.2 Toolbar Control Data .............................................................................................. 6
4 Security Considerations............................................................................................ 8
6 Change Tracking..................................................................................................... 10
7 Index ..................................................................................................................... 11
3 / 11
[MS-CTDOC] — v20101219
Word Custom Toolbar Binary File Format Structure Specification
1.1 Glossary
custom toolbar
custom toolbar control
toolbar
toolbar control
toolbar control identifier (TCID)
toolbar delta
MAY, SHOULD, MUST, SHOULD NOT, MUST NOT: These terms (in all caps) are used as
described in [RFC2119]. All statements of optional behavior use either MAY, SHOULD, or
SHOULD NOT.
1.2 References
We conduct frequent surveys of the normative references to assure their continued availability. If
you have any issue with finding a normative reference, please contact [email protected]. We
will assist you in finding the relevant information. Please check the archive site,
http://msdn2.microsoft.com/en-us/library/E4BD6494-06AD-4aed-9823-445E921C9624, as an
additional source.
[MSDN-TBID/Word] Microsoft Corporation, "Word Toolbar IDs Table", Excerpted from MS-CTDOC,
http://download.microsoft.com/download/2/0/D/20D8E396-3A8E-4777-9973-
12E66DD545A2/WordTBIDTable.txt
[MSDN-TCID/Word] Microsoft Corporation, "Word Toolbar Control IDs Table", Excerpted from MS-
CTDOC, http://download.microsoft.com/download/2/0/D/20D8E396-3A8E-4777-9973-
12E66DD545A2/WordTCIDTable.txt
[MS-DOC] Microsoft Corporation, "Word Binary File Format (.doc) Structure Specification", June
2008.
[MS-OSHARED] Microsoft Corporation, "Office Common Data Types and Objects Structure
Specification", June 2008.
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC
2119, March 1997, http://www.ietf.org/rfc/rfc2119.txt
4 / 11
[MS-CTDOC] — v20101219
Word Custom Toolbar Binary File Format Structure Specification
None.
The toolbar data presented in section 2.1 of this document is used by the TBCMenuSpecific
structure, as described in [MS-OSHARED] section 2.3.1 and by the Customization structure, as
described in [MS-DOC] section 2.9.
The toolbar control data presented in section 2.2 of this document is used by the TBCHeader and
TBCSFlags structures, as described in [MS-OSHARED] section 2.3.1.
The toolbar information presented in section 2.1 of this document is intended to be used in
conjunction with the toolbar customization structures, as described in [MS-DOC] and [MS-
OSHARED]. It provides the association between a built-in toolbar, a toolbar control, a custom
toolbar, and a toolbar delta.
The toolbar control information presented in section 2.2 of this document is intended to be used in
conjunction with the toolbar customization structures, as described in [MS-OSHARED] section 2.3.1.
It provides the values for the tcid field of the TBCHeader structure, as described in [MS-OSHARED]
section 2.3.1.10 and the values for several fields of the TBCSFlags structure, as described in [MS-
OSHARED] section 2.3.1.12, which are used by built-in toolbar controls with a specific toolbar
control identifier (TCID).
None.
None.
5 / 11
[MS-CTDOC] — v20101219
Word Custom Toolbar Binary File Format Structure Specification
The Toolbar Data table [MSDN-TBID/Word] contains toolbar data used by the TBCMenuSpecific
structure, as specified in [MS-OSHARED] section 2.3.1 and by the Customization structure, as
specified in [MS-DOC] section 2.9.
The TBID column of the Toolbar Data table contains a list of values for the tbid field of the
TBCMenuSpecific structure, as specified in [MS-OSHARED] section 2.3.1 and for the tbidForTBD
field of the Customization structure, as specified in [MS-DOC] section 2.9. The Meaning column
contains a short description of the toolbar associated to a specific toolbar identifier.
The Toolbar Control Data table [MSDN-TCID/Word] contains toolbar control data used by the
TBCHeader and TBCSFlags structures, as specified in [MS-OSHARED] section 2.3.1.
The TCID column of the Toolbar Control Data table specifies the list of values that the tcid field of
the TBCHeader structure specified in [MS-OSHARED] section 2.3.1 MUST have if the toolbar control
is not a custom toolbar control. The value of the tcid field of the TBCHeader structure specified
in [MS-OSHARED] section 2.3.1 MAY<1> also equal 4177. The TCT column specifies the toolbar
control type as specified by the tct field of the TBCHeader structure, as specified in [MS-OSHARED]
section 2.3.1 for the tcid. The Meaning column contains a short description for the tcid.
6 / 11
[MS-CTDOC] — v20101219
Word Custom Toolbar Binary File Format Structure Specification
7 / 11
[MS-CTDOC] — v20101219
Word Custom Toolbar Binary File Format Structure Specification
8 / 11
[MS-CTDOC] — v20101219
Word Custom Toolbar Binary File Format Structure Specification
Microsoft® Word 97
Exceptions, if any, are noted below. If a service pack or Quick Fix Engineering (QFE) number
appears with the product version, behavior changed in that service pack or QFE. The new behavior
also applies to subsequent service packs of the product unless otherwise specified. If a product
edition appears with the product version, behavior is different in that product edition.
Unless otherwise specified, any statement of optional behavior in this specification that is prescribed
using the terms SHOULD or SHOULD NOT implies product behavior in accordance with the SHOULD
or SHOULD NOT prescription. Unless otherwise specified, the term MAY implies that the product
does not follow the prescription.
<1> Section 2.2: The toolbar control identifier (TCID) value 4177 is not supported.
9 / 11
[MS-CTDOC] — v20101219
Word Custom Toolbar Binary File Format Structure Specification
10 / 11
[MS-CTDOC] — v20101219
Word Custom Toolbar Binary File Format Structure Specification
Details T
Toolbar Control Data table 6
Toolbar Data table 6 Toolbar Control Data table 6
Toolbar Data table 6
E Tracking changes 10
Example 7 V
Examples
overview 7 Vendor-extensible fields 5
Versioning 5
F
Fields
vendor-extensible 5
Glossary 4
Informative references 4
Introduction 4
Localization 5
Normative references 4
Overview 5
Product behavior
overview 9
References
informative 4
normative 4
overview 4
Relationship to protocols and other structures 5
11 / 11
[MS-CTDOC] — v20101219
Word Custom Toolbar Binary File Format Structure Specification