What are the benefits of MS Word content controls? -
office 2007 brings new goodie called 'content controls'. need evaluate see if serves solution problem under research.
due paucity of time , general disdain office-interop-pains,
- can summarize benefits?
- is possible define custom content controls?
- where word programmers (if there any) hang out :) ?
rtfmsdn links welcome.
so far see (from screencasts) possible define - template word docs content can stubbed in data-behind-xml. create xml wish.. e.g. translate contents of db xml form. word doc can 'data-bind' xml.
well after 2 days of research, here's found.
content controls next step in evolution old bookmarks..
- protection - can protect content-controls in document such user cannot edit them. e.g. terms of contract may not editable rest of doc
- data binding - can create 'forms' in word doc content controls bind custom xml via visual designer. 2-way: changing xml updates controls in word doc , vice versa. throw in xml schema xml , can have user-input validation well. content controls can bind individual xml nodes via xpath.
- events - content controls expose events can handle custom processing.
- document auto-generation - knowledge of io.packaging namespace, open xml specs + visual studio, can create skeleton document , churn out actual documents (e.g. invoices) supplying different data store/object (custom xml). can .net 'datatemplates' - e.g. how each order line item should like.. repeat n line items in xml
best at-a-glance post: http://blogs.msdn.com/kathleen/archive/2007/06/20/my-favorite-feature-word-content-controls.aspx
mike ormond’s screencasts - http://blogs.msdn.com/mikeormond/archive/2007/05/24/office-open-xml-file-format-nuggets.aspx
Comments
Post a Comment