Megosztás a következőn keresztül:


Word Solutions

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

  • Application-level projects

Microsoft Office version

  • Word 2003

  • Word 2007

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

Visual Studio Tools for Office provides project templates you can use to create document-level customizations and application-level add-ins for Microsoft Office Word. You can use these solutions to automate Word, extend Word features, and customize the Word user interface (UI).

For more information about document-level customizations, see Word Document-Level Customization Development. For more information about application-level add-ins, see Word Application-Level Add-in Development.

Creating a Word Project

Create the following types of Word projects by using the project templates in the New Project dialog box:

  • Word add-in

  • Word document

  • Word template

These project templates include required assembly references and project files. Visual Studio Tools for Office provides a version of these templates for Microsoft Office 2003 and the 2007 Microsoft Office system.

For more information about how to create a Word project, see How to: Create Visual Studio Tools for Office Projects. For more information about the project templates, see Visual Studio Tools for Office Project Templates Overview.

Automating Word by Using the Word Object Model

The Word object model exposes many types that you can use to automate Word. For example, you can programmatically create tables, format documents, and set the text in ranges and paragraphs. For more information, see Word Object Model Overview.

See Also

Concepts

Word Object Model Overview

Word Application-Level Add-in Development

Word Document-Level Customization Development