After you create a ContentControl, you can change the type of content control that it represents by using the Type property. When you create a ContentControl, you must specify the type of the content control that you want to create, or you can base the new control on an existing content control. You cannot add a ContentControl to a document at design time. To create a ContentControl, use one of the AddContentControl methods. For more information about content controls, see Content Controls. For example, a RichTextContentControl can only represent a rich text control. Other content controls cannot be used in this way. For example, if you create a ContentControl that initially has the functionality of a plain text control, you can change it at run time so that it behaves like a combo box. For full instructions on developing forms using Content Controls, run a search on "Create forms that users complete in Word 2007" and select the help option: Word > Creating specific documents > Forms.įor the developer perspective on Content Controls, you may want to check out this overview.ContentControlBase IComponent ISupportInitialize IDisposable IBindableComponent RemarksĪ ContentControl object is a mutable control that can represent any of the eight types of content controls that you can use in Microsoft Office Word. This is a significant new area that is well documented in the on-line help system. You can build forms using Content Controls. Click Design Mode to toggle Design Mode off and see how the Content Control will display in a document.įor full instructions on working with each of the following Content Controls, use the on-line help system, run a search on "Content Controls" and select the help option: Word > Creating specific documents > Forms.Complete the fields in the dialog box as required.With your cursor in the field you have just created, click Properties, to display the Content Control Properties dialog box.You can set an option that automatically removes all your content when the user starts typing in the control. You can type very detailed instructions here, formatted in any way you like. Type any changes you want to make to the Place Holder text.Click the Aa button to insert a Rich Text content control.Back in your document, click on the Developer tab, and identify the Controls group.With Popular highlighted, tick Show Developer tab.Click the Office button, Word Options to display the Word Options dialog box.For this you will need the Developer tab. If you are creating templates for others to use, you may want to create content control fields like these. (Note that this option is only available if the template designer made it available.) You are returned to the document and there is no longer a Place Holder. When you type your own text in the brackets, the Place Holder disappears and just your own text remains. When you click on one of these, a box displays around it. Look at the instructions surrounded by square brackets – these are called Place Holders.Find and click on Median Letter, then click Create.These are the templates supplied by default with Microsoft Word 2007. From the Templates frame click Installed Templates.In Microsoft Word, click Office, New to display the New Document dialog box.The best way to see what these are is to open one of the new boilerplate templates in Word 2007 and have a look. You may want to create customised templates, such as corporate forms, or letter or fax templates, that use your own theme and that use Content Control fields. Content Controls are another new feature of Microsoft Word 2007.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |