{"id":474,"date":"2011-08-22T16:58:57","date_gmt":"2011-08-22T16:58:57","guid":{"rendered":"http:\/\/www.ericwhite.com\/home2\/bm8qcmjy\/public_html\/blog\/?p=474"},"modified":"2011-11-29T05:41:26","modified_gmt":"2011-11-29T05:41:26","slug":"fourth-and-final-screen-cast-in-series-on-addingupdating-the-toc-in-openxml-wordprocessingml-documents","status":"publish","type":"post","link":"https:\/\/www.ericwhite.com\/blog\/2011\/08\/22\/fourth-and-final-screen-cast-in-series-on-addingupdating-the-toc-in-openxml-wordprocessingml-documents\/","title":{"rendered":"Fourth and Final Screen-Cast in Series on Adding\/Updating the TOC in OpenXML WordprocessingML Documents"},"content":{"rendered":"<p>Whew!\u00a0 I finished the fourth and final screen-cast.\u00a0 In this screen-cast, I show how to use Word Automation Services to repaginate a document and update the table-of-contents.<\/p>\n<div id=\"scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:3a70365a-c4a7-4dd2-a456-95122a6898d3\" class=\"wlWriterEditableSmartContent\" style=\"margin: 0px; display: inline; float: none; padding: 0px;\">\n<div><object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" width=\"589\" height=\"331\" codebase=\"http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=6,0,40,0\"><param name=\"src\" value=\"http:\/\/www.youtube.com\/v\/MXcQ47SzdPY?hl=en&amp;hd=1\" \/><embed type=\"application\/x-shockwave-flash\" width=\"589\" height=\"331\" src=\"http:\/\/www.youtube.com\/v\/MXcQ47SzdPY?hl=en&amp;hd=1\"><\/embed><\/object><\/div>\n<div style=\"width: 589px; clear: both; font-size: .8em;\">Shows how to use Word Automation Services to populate the TOC<\/div>\n<\/div>\n<p>You can download the code that I present in this video from <a href=\"http:\/\/openxmldeveloper.org\/home2\/bm8qcmjy\/public_html\/blog\/b\/openxmldeveloper\/archive\/2011\/08\/22\/exploring-tables-of-contents-in-openxml-wordprocessingml-documents-part-4.aspx\">OpenXMLDeveloper.org<\/a>.<\/p>\n<p>Here is the complete list of screen-casts in this series.<\/p>\n<table cellpadding=\"0\" cellspacing=\"0\" border=\"1\" style=\"border-collapse: collapse; border: none;\">\n<tbody>\n<tr>\n<td valign=\"top\" style=\"border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; font-weight: bold;\">\n<p>Link<\/p>\n<\/td>\n<td valign=\"top\" style=\"border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; font-weight: bold;\">\n<p>Summary<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" style=\"border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;\">\n<p><a href=\"http:\/\/openxmldeveloper.org\/home2\/bm8qcmjy\/public_html\/blog\/b\/openxmldeveloper\/archive\/2011\/08\/08\/exploring-tables-of-contents-in-open-xml-wordprocessingml-documents.aspx\">Screen-cast #1<\/a><\/p>\n<\/td>\n<td valign=\"top\" style=\"border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;\">\n<p>Explains the markup of tables-of-contents. TOCs use field markup.<br \/>See <a target=\"_blank\" href=\"https:\/\/www.ericwhite.com\/blog\/2011\/04\/25\/deep-dive-into-open-xml-wordprocessingml-fields-and-hyperlinks\/\">Deep dive into OpenXML Fields<\/a> for more info.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" style=\"border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;\">\n<p><a href=\"http:\/\/openxmldeveloper.org\/home2\/bm8qcmjy\/public_html\/blog\/b\/openxmldeveloper\/archive\/2011\/08\/10\/exploring-tables-of-contents-in-open-xml-wordprocessingml-documents-part-2.aspx\">Screen-cast #2<\/a><\/p>\n<\/td>\n<td valign=\"top\" style=\"border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;\">\n<p>Presents some sample code that shows how to insert TOC markup into a document.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" style=\"border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;\">\n<p><a href=\"http:\/\/openxmldeveloper.org\/home2\/bm8qcmjy\/public_html\/blog\/b\/openxmldeveloper\/archive\/2011\/08\/15\/exploring-tables-of-contents-in-open-xml-wordprocessingml-documents-part-3.aspx\">Screen-cast #3<\/a><\/p>\n<\/td>\n<td valign=\"top\" style=\"border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;\">\n<p>Shows how to use Word Automation to update the TOC.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" style=\"border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;\">\n<p><a href=\"http:\/\/openxmldeveloper.org\/home2\/bm8qcmjy\/public_html\/blog\/b\/openxmldeveloper\/archive\/2011\/08\/22\/exploring-tables-of-contents-in-openxml-wordprocessingml-documents-part-4.aspx\">Screen-cast #4<\/a><\/p>\n<\/td>\n<td valign=\"top\" style=\"border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;\">\n<p>Shows how to use Word Automation Services to update the TOC.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" style=\"border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;\">\n<p><a href=\"http:\/\/openxmldeveloper.org\/home2\/bm8qcmjy\/public_html\/blog\/b\/openxmldeveloper\/archive\/2011\/08\/24\/updating-the-toc-in-a-wordprocessingml-document-using-an-autoopen-macro.aspx\">Screen-cast #5<\/a><\/p>\n<\/td>\n<td valign=\"top\" style=\"border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;\">\n<p>Shows how to use an AutoOpen macro to update the TOC whenever any document that contains a TOC is opened.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Screen-cast: shows how to update an OpenXML WordprocessingML table-of-contents using Word Automation Services.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","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":""},"categories":[3,9,5],"tags":[],"class_list":["post-474","post","type-post","status-publish","format-standard","hentry","category-open-xml","category-powertools","category-wordprocessingml"],"_links":{"self":[{"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/posts\/474","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"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=474"}],"version-history":[{"count":3,"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/posts\/474\/revisions"}],"predecessor-version":[{"id":476,"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/posts\/474\/revisions\/476"}],"wp:attachment":[{"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/media?parent=474"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/categories?post=474"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ericwhite.com\/blog\/wp-json\/wp\/v2\/tags?post=474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}