To use the example, run it from the ThisAddIn class in your project. The following code example can be used in a VSTO Add-in. To use this example, run it from the ThisDocument class in your project. The following code example can be used in a document-level customization. Refer to the cell by its location in the table, add text to the cell, and apply the formatting. This article describes, with the aid of screenshots, how to hyperlink content and create a linked table of contents (TOC). Text that has been styled with a Heading style will be included in the TOC as if it is a normal section heading. For any long document published online, such as in PDF, a clickable table of contents and active URLs, email addresses, and links to other documents are, in a word, essential and, frankly, expected by readers. Occasionally I run in to an issue with Microsoft Word where I insert a TOC but find it includes unwanted headings from the front page of the document. For more information, see Features available by Office application and project type. How to Hide Text from Microsoft Word Table of Contents. This example refers to the cell located in the first row and the first column of the table adds text to the cell and applies formatting.Īpplies to: The information in this topic applies to document-level projects and VSTO Add-in projects for Word. You refer to each cell by its location in the table. Each individual Cell object represents one cell in the table. Each table consists of a collection of cells.
0 Comments
Leave a Reply. |