The code provided here addresses that short sightedness and gives you a quick and simple method to create and use mapped plain text content controls in your documents. If you change the data in one content control that change updated in the data store and reflected in all other copies of that content control.įor whatever reason Microsoft has not made this powerful feature fully available to users through the user interface. The beauty of this relationship is that you can copy and paste a mapped content control to one or many other locations in the document. Data entered in a content control updates the data in the data store. When a content control is mapped (or bound) to data in this data store then whatever information is in the data store is displayed in the content control. Both methods work well but their construction can be cumbersome and time consuming.Ĭontent Controls and more importantly their ability to be bound to data in a document CustomXMLPart introduced in Word2007 makes this process a walk in the sun.Ī CustomXMLPart is an information data store that users can create that becomes a part of the Word 2007/2010 OpenOfficeXMLFile format. In Word versions previous to to Word2007 this objective was met with bookmarks and reference fields or document variables and DocVariable fields. Word users are frequently looking for a reliable and efficient method to enter data at one point in a document and have that data automatically repeated (or duplicated) at other locations in the document. Mapped content controls are bound to data stored in a document CustomXMLPart. Inserts a mapped ContentContol at the selection.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |