![]() I really like the 'cleanliness' of the IF field if only you could reference the content control title or tag as a 'variable' that represents the value of the controlled content. ![]() The solution needs to be 'embedded' with the document with no references to external code, sites, configurations. I've found other information but, after a good 30+ hours of 'research', for the life of me I cannot figure out how to use the values in the content controls to display or not display text in the Word document. I've tried the IF field route but the bookmark linking that the IF field statement uses to identify 'expression 1' doesn't work for bookmarking the controlled content. Similarly, with the content control date field, I need to have another tagline display if the difference between the content control date and the current date is beyond a defined value. ![]() I have a requirement for the document to display certain text (a warning line) when the content control contains the "yes" text and to not display the warning line when the content control does not contain the word "yes". Click on a location in the document where you want to add a control. The plain text field is either the word "yes" or the word "no". Insert and Change Rich Text Content Control. All Rights Reserved.I have a MS Word file that has a content controls (one is plain text and the other is a date field). LockContentControl - prevents users from deleting the controlĮntering - ContentControlOnEnter - runs when the user clicks in the content control or when the cursor is moved into the content control programmatically.Įxiting - ContentControlOnExit - runs when the user clicks outside the content control or when the cursor is moved outside the content control pgrammaticallyĪdded - ContentControlAfterAdd - runs when the content control is added to the document as a result of a redo or undo operations.ĭeleting - ContentControlBeforeDelete - runs just before the content control is deleted from the document LockControls - prevents users from editing the control The text in the control remains in the document Temporary - remove the control from the document automatically after the user edits the control. Title - get or set the title that is displayed in the border of the content control when the user clicks on it PlaceholderText - get or set the temporary text that is displayed in the control until a user edits the control Text - get or set the text that is displayed in the control (Added in 2013) - If this control is opened up in Word 2007 it is displayed in a RichText control Use this to specify a set of cover pages, headers, page designs or other building blocks from the Quick Parts galleryĪllows the user to choose a specific building block Shows a gallery of formatted choices.Ĭan select items from a drop-down that displays items from existing galleries built-in to Word or from custom template no restriction on the number of itemsĬan only be a value selected from a drop-downĬontains a calendar control, limits text to a single paragraphĬan be arbitrary text or date selected from a drop-down date picker Text is restricted to a single paragraph with no formatting. Formatting can be saved by saving or closing the documentĬan be arbitrary text or a value selected from a drop-downĬontains a list of restricted choices defined by the template. Limits formatting changes to picture brightness and contrast.Ĭan display pictures in several different formatsĬontains a list that you can edit. ![]() PlainTextContentControlįills the content control with a single picture. ![]() The format is determined by the formatting around the content control Limited to content that has no formatting. When the cursor is placed insode a group control a border is displayed around the areaįormatting can be saved by loading, saving or closing the document. This is useful when you want to bind the control to data when the control is created. Drag a content control to your document from the Data Sources window. Add a content control to your document in the same manner you would add a native content control in Word. When you hover over a group with the mouse the area will be highlighted Add a content control from the Word Controls tab of the Toolbox. Provides an easy way to protect document content when it is combined with editable custom controls This is not a control for grouping other content controls.Ĭan contain other content controls plus other word objects, tables, graphics etcĬan be used to group content controls together and other document content to protect it from editing or deletion.Īllows you to protect an area of the document without having to apply protection to the whole documentĬan contain other content controls although problems found when adding no editable content controls into groups and then PDF'ing Represents a protected region that users cannot edit or delete. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |