![]() For example, if you insert plain text content controls into cells of a table of stock prices, you can map the content controls in the table cells to nodes in an XML file that contain the current stock prices. Map the contents of a content control to data in a custom XML part. This makes templates more robust than in previous versions. Or, as another example, you can also lock a content control that you have placed within a template document so that a user does not accidentally delete the content contained in the content control. This is useful if, for example, you have copyright information in a template that the user should be able to read but not edit. Each content control can be restricted, so that it cannot be deleted or edited. Restrict the ability to modify content controls within a document. In this way, you can build a template with predefined block types. Similarly, if you want a section of a template to display an image, create a picture content control in that area. For example, if you want a region of your template to be a calendar, you insert a calendar content control in that area of the document, which automatically determines what that block of content does. Each content control takes up a portion of a document and, as the template author, you can specify what each region does. Examples of types of structured regions (or content controls) are combo boxes, pictures, text blocks, and calendars.ĭetermine the behavior of content controls. Each structured region has its own unique ID so that you can read from and write to it. Specify structured regions in a template. Content controls enable you to author templates that insert well-defined blocks into your documents. ![]() However, they are much more powerful, flexible, and useful because they enable you to create rich, structured blocks of content. In some cases, content controls might remind you of forms. Individual content controls can contain content such as dates, lists, or paragraphs of formatted text. Others generally require refreshing the destination fields, which is not automatic.In this article What Are Content Controls?Ĭontent controls are bounded and potentially labeled regions in a document that serve as containers for specific types of content. The advantage of the Mapped Content Controls is that the changes take effect throughout the document immediately upon exiting the Content Control. If the template is to be used on versions of Word pre Word 2007, content controls will not work.Īs far as I know, these are all discussed and demonstrated in Greg Maxey's page on Repeating Data (Populating Multiple Like Fields). Here is Word MVP John Korchock's page on doing this. Otherwise, it requires vba programming on a Mac to create or modify Content Controls. Templates can be created in the Word version and will work on a Mac. The Mac interface does not currently have Quick Parts. On a Mac, Content Controls can be used but can not be created. This is not as simple but there are utilities to assist with that. These are known as Cover Page Properties. This is what is done in many of the templates from Microsoft. A change made in one spot will be reflected in all copies. Then copy that modified control to other places. ![]() Repeating Data Using Document Property Content Controls or other Mapped Content ControlsĮssentially, you can insert one of these, rename it in your document and change the placeholder text to prompt users. These can be "repurposed." This is my page discussing that. There are 15 of these built into the Windows version under Quick Parts > Document Properties. The simplest method is using Mapped Content Controls. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |