Word Document-Level Customization Development

Applies to

The information in this topic applies only to the specified Visual Studio Tools for Office projects and versions of Microsoft Office.

Project type

  • Document-level projects

Microsoft Office version

  • Word 2003

  • Word 2007

For more information, see Features Available by Application and Project Type.

A document-level customization for Microsoft Office Word consists of an assembly that is associated with a specific document. The assembly typically extends the document by customizing the user interface (UI) and by automating Word. Unlike an application-level add-in, which is associated with Word itself, functionality that you implement in a customization is available only when the associated document is open in Word.

For more information about document-level customizations, see Getting Started Programming Document-Level Customizations for Word and Architecture of Document-Level Customizations.

Word Customization Programming Model

When you develop a document-level project for Word, you work with Visual Studio Tools for Office features and automate Word by using host items and host controls. These are classes that extend some of the objects that are provided by the native object model for Microsoft Office Word (that is, the object model that is exposed by the primary interop assembly for Word). For more information, see Automating Word by Using Extended Objects.

For general information about the programming model of document-level customizations in Visual Studio Tools for Office, see Programming Document-Level Customizations.

Customizing the User Interface of Word

For both Word 2003 and Word 2007, you can customize the UI in the following ways:

For Word 2007, you can also customize the UI in the following ways:

For Word 2003, you can also customize the UI in the following ways:

For more information about customizing the UI of Word and other Microsoft Office applications, see Office UI Customization.

See Also

Tasks

Walkthrough: Creating Your First Document-Level Customization For Word

Concepts

Automating Word by Using Extended Objects

Using Windows Forms Controls on Word Documents

Getting Started Programming Document-Level Customizations for Word

Programming Document-Level Customizations

Office UI Customization