![]() ![]() Whether this does exactly what you are wanting I'm not completely sure, as it does seem a bit limited and messy, but it does at least seem to get somewhere near. This will give you the following window, in which you can go to the Custom tab and if you enter your Bookmark name, click Link to content and then Add will give you a custom property that will always show the contents of that field in the document. Switch to the File tab on the ribbon and click Options on the left. In the Subwindow that opens: Click `Document Properties` and select `Advanced Properties` Before you can add content controls to a document, you need to enable the Developer tab in the ribbon. Next click the "Office" button and get to the advanced document properties: Office -> Prepare -> Properties Then enter the bookmark/property name you want and click Add Effectively just select the text then go to Insert -> Links -> Bookmark Not quite in the same way as the already defined document properties, and I don't know how well it show up outside of Word, but it at least does appear to fit the bill for an updatable property field.įirst type your text that you want to make into an updatable document property and create a bookmark for it. I've found a way to do this, in Word 2007 at least. Right-click on the property you want in your document, and choose 'Insert Content Control' and choose the Content Control you like to edit your properties. Now your properties has been added to the document and you can use them by selecting your properties in the XML Mapping Pane. If you want to limit what users add, insert the plain text content control. ![]() In a rich text content control, users can format text as bold or italic, and they can type multiple paragraphs. Insert a text control where users can enter text. In the XML Mapping Pane click the drop down box and choose 'Add new part.' and select the XML file you just created. On the Developer tab, in the Controls group, click Design Mode, and then insert the controls that you want. (if your developer ribbon is not visible you can find it in File -> Options -> Costomize Ribbon, and set checkmark in the Developer ribbon tab) "MyProperties.xml"Īdd the xml file to your document (only tested in word 2013 but should be possible in 2010) Currently, only rich text and plain text content. Individual content controls may contain contents such as images, tables, or paragraphs of formatted text. Content controls are bounded and potentially labeled regions in a document that serve as containers for specific types of content. I know this is a long time since this question was asked, but is is actually possible by adding a custom XML part to your document :)Ĭreate a xml file with the properties you want (you can make this as many levels as you like) Contains a collection of Word.ContentControl objects.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |