{"id":705,"date":"2011-12-01T04:07:39","date_gmt":"2011-12-01T04:07:39","guid":{"rendered":"http:\/\/www.ericwhite.com\/home2\/bm8qcmjy\/public_html\/blog\/?page_id=705"},"modified":"2014-03-04T05:57:48","modified_gmt":"2014-03-04T05:57:48","slug":"managed-add-ins-expanded","status":"publish","type":"page","link":"https:\/\/www.ericwhite.com\/blog\/managed-add-ins-expanded\/","title":{"rendered":"Managed Add-Ins"},"content":{"rendered":"<h2 style='font-size: small;'><a href='https:\/\/www.ericwhite.com\/blog\/toc-expanded'>Back to TOC<\/a><span style='position: relative; left: 1em;'><a href='https:\/\/www.ericwhite.com\/blog\/managed-add-ins-condensed'>Condensed TOC<\/a><\/span><\/h2>\n<p>Extend the Office client applications using C# and Visual Studio Tools for Office (VSTO)<\/p>\n<ul>\n<li class='ericListItem'><a class='ericListItem' href='http:\/\/blogs.technet.com\/b\/gray_knowlton\/archive\/2010\/01\/04\/using-content-controls-vs-custom-xml-elements.aspx' target='_blank'>Designing a Content Publishing System<\/a><\/li>\n<p><\/p>\n<div style='margin-left: 2em; margin-bottom: 1em;'>Explains an approach for using styles and content controls for implementing an authoring environment for a publishing system.<span style='color:#2b91af;'>  (Article)<\/span><\/p>\n<div style='vertical-align: text-top; margin-top: .5em;'><span style='color:#2b91af;'>Keywords:&nbsp;&nbsp;<\/span><a href='https:\/\/www.ericwhite.com\/blog\/openxml-expanded'>OpenXML<\/a>&nbsp;&nbsp;<a href='https:\/\/www.ericwhite.com\/blog\/wordprocessingml-expanded'>WordprocessingML<\/a>&nbsp;&nbsp;<a href='https:\/\/www.ericwhite.com\/blog\/managed-add-ins-expanded'>Managed Add-Ins<\/a>&nbsp;&nbsp;<a href='https:\/\/www.ericwhite.com\/blog\/content-controls-expanded'>Content Controls<\/a>&nbsp;&nbsp;<\/div>\n<\/div>\n<li class='ericListItem'><a class='ericListItem' href='http:\/\/blogs.technet.com\/b\/gray_knowlton\/archive\/2010\/01\/15\/associating-data-with-content-controls.aspx' target='_blank'>Associating Data with Content Controls<\/a><\/li>\n<p><\/p>\n<div style='margin-left: 2em; margin-bottom: 1em;'>You may have the need to associate arbitrary amounts of data with each content control. You may also have the requirement that the document author can create and edit this auxiliary information. Content controls don&#8217;t directly have a facility for storing and maintaining such information, but there is a fairly easy approach to solving this problem.<span style='color:#2b91af;'>  (Article)<\/span><\/p>\n<div style='vertical-align: text-top; margin-top: .5em;'><span style='color:#2b91af;'>Keywords:&nbsp;&nbsp;<\/span><a href='https:\/\/www.ericwhite.com\/blog\/openxml-expanded'>OpenXML<\/a>&nbsp;&nbsp;<a href='https:\/\/www.ericwhite.com\/blog\/wordprocessingml-expanded'>WordprocessingML<\/a>&nbsp;&nbsp;<a href='https:\/\/www.ericwhite.com\/blog\/content-controls-expanded'>Content Controls<\/a>&nbsp;&nbsp;<a href='https:\/\/www.ericwhite.com\/blog\/managed-add-ins-expanded'>Managed Add-Ins<\/a>&nbsp;&nbsp;<\/div>\n<\/div>\n<li class='ericListItem'><a class=\"ericListItem broken_link\" href=\"http:\/\/blogs.msdn.com\/b\/ericwhite\/archive\/2010\/01\/27\/programmatically-limiting-styles-in-word.aspx\" target=\"_blank\">Programmatically Limiting Styles in Word<\/a><\/li>\n<p><\/p>\n<div style='margin-left: 2em; margin-bottom: 1em;'>Authoring in Word makes publishing systems very user friendly.  After the user authors his or her paper, you can transform Open XML WordprocessingML to the desired output format.  Some publishing systems use an approach of limiting the paragraph and character styles that the author can use.  This can help in writing a more deterministic transform to the output format.<span style='color:#2b91af;'>  (Article)<\/span><\/p>\n<div style='vertical-align: text-top; margin-top: .5em;'><span style='color:#2b91af;'>Keywords:&nbsp;&nbsp;<\/span><a href='https:\/\/www.ericwhite.com\/blog\/openxml-expanded'>OpenXML<\/a>&nbsp;&nbsp;<a href='https:\/\/www.ericwhite.com\/blog\/wordprocessingml-expanded'>WordprocessingML<\/a>&nbsp;&nbsp;<a href='https:\/\/www.ericwhite.com\/blog\/managed-add-ins-expanded'>Managed Add-Ins<\/a>&nbsp;&nbsp;<\/div>\n<\/div>\n<li class='ericListItem'><a class=\"ericListItem broken_link\" href=\"http:\/\/blogs.msdn.com\/b\/ericwhite\/archive\/2010\/02\/02\/increasing-performance-of-word-automation-for-large-amount-of-data-using-open-xml-sdk.aspx\" target=\"_blank\">Increasing Performance of Word Automation for large amount of data using Open Xml SDK<\/a><\/li>\n<p><\/p>\n<div style='margin-left: 2em; margin-bottom: 1em;'>Sometimes in the process of building a managed add-in, you want to insert a large amount of content into a document &#8211; perhaps hundreds of paragraphs or hundreds of rows in a table.  Using Word automation can be slow.  It was not designed for this scenario.  But there is a way to dramatically speed up this process by processing\/creating Open XML from within the managed add-in using the Open XML SDK.<span style='color:#2b91af;'>  (Article)<\/span><\/p>\n<div style='vertical-align: text-top; margin-top: .5em;'><span style='color:#2b91af;'>Keywords:&nbsp;&nbsp;<\/span><a href='https:\/\/www.ericwhite.com\/blog\/openxml-expanded'>OpenXML<\/a>&nbsp;&nbsp;<a href='https:\/\/www.ericwhite.com\/blog\/wordprocessingml-expanded'>WordprocessingML<\/a>&nbsp;&nbsp;<a href='https:\/\/www.ericwhite.com\/blog\/managed-add-ins-expanded'>Managed Add-Ins<\/a>&nbsp;&nbsp;<\/div>\n<\/div>\n<li class='ericListItem'><a class=\"ericListItem broken_link\" href=\"http:\/\/blogs.msdn.com\/b\/ericwhite\/archive\/2010\/03\/02\/using-nested-content-controls-for-data-and-content-extraction.aspx\" target=\"_blank\">Using Nested Content Controls for Data and Content Extraction from Open XML WordprocessingML Documents<\/a><\/li>\n<p><\/p>\n<div style='margin-left: 2em; margin-bottom: 1em;'>Data and content extraction is one of the scenarios where content controls are very useful.  Data extraction is when you are extracting specific numbers or string values from a document.  Content extraction is when you are extracting formatted WordprocessingML tables and paragraphs, and constructing another document from that content.<span style='color:#2b91af;'>  (Article)<\/span><\/p>\n<div style='vertical-align: text-top; margin-top: .5em;'><span style='color:#2b91af;'>Keywords:&nbsp;&nbsp;<\/span><a href='https:\/\/www.ericwhite.com\/blog\/openxml-expanded'>OpenXML<\/a>&nbsp;&nbsp;<a href='https:\/\/www.ericwhite.com\/blog\/wordprocessingml-expanded'>WordprocessingML<\/a>&nbsp;&nbsp;<a href='https:\/\/www.ericwhite.com\/blog\/managed-add-ins-expanded'>Managed Add-Ins<\/a>&nbsp;&nbsp;<a href='https:\/\/www.ericwhite.com\/blog\/content-controls-expanded'>Content Controls<\/a>&nbsp;&nbsp;<\/div>\n<\/div>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Back to TOCCondensed TOC Extend the Office client applications using C# and Visual Studio Tools for Office (VSTO) Designing a Content Publishing System Explains an approach for using styles and content controls for implementing an authoring environment for a publishing system. (Article) Keywords:&nbsp;&nbsp;OpenXML&nbsp;&nbsp;WordprocessingML&nbsp;&nbsp;Managed Add-Ins&nbsp;&nbsp;Content Controls&nbsp;&nbsp; Associating Data with Content Controls You may have the need [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_s2mail":"","footnotes":""},"class_list":["post-705","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/pages\/705","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/comments?post=705"}],"version-history":[{"count":6,"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/pages\/705\/revisions"}],"predecessor-version":[{"id":1703,"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/pages\/705\/revisions\/1703"}],"wp:attachment":[{"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/media?parent=705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}