Warning: Constant ABSPATH already defined in /var/www/html/site/wp-config.php on line 30

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/site/wp-config.php:30) in /var/www/html/site/wp-content/plugins/comet-cache/src/includes/traits/Shared/HttpUtils.php on line 172

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/site/wp-config.php:30) in /var/www/html/site/wp-content/plugins/comet-cache/src/includes/traits/Shared/HttpUtils.php on line 173

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/site/wp-config.php:30) in /var/www/html/site/wp-content/plugins/comet-cache/src/includes/traits/Shared/HttpUtils.php on line 174

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/site/wp-config.php:30) in /var/www/html/site/wp-content/plugins/comet-cache/src/includes/traits/Shared/HttpUtils.php on line 175

Warning: Constant WP_DEBUG already defined in /var/www/html/site/wp-config.php on line 35

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/site/wp-config.php:30) in /var/www/html/site/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/site/wp-config.php:30) in /var/www/html/site/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/site/wp-config.php:30) in /var/www/html/site/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/site/wp-config.php:30) in /var/www/html/site/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/site/wp-config.php:30) in /var/www/html/site/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/site/wp-config.php:30) in /var/www/html/site/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Undefined variable $phpexec_output in /var/www/html/site/wp-content/plugins/phpexec.php on line 68

Warning: Undefined variable $phpexec_output in /var/www/html/site/wp-content/plugins/phpexec.php on line 68

Warning: Undefined variable $phpexec_output in /var/www/html/site/wp-content/plugins/phpexec.php on line 68

Warning: Undefined variable $phpexec_output in /var/www/html/site/wp-content/plugins/phpexec.php on line 68

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/site/wp-config.php:30) in /var/www/html/site/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/site/wp-config.php:30) in /var/www/html/site/wp-includes/rest-api/class-wp-rest-server.php on line 1893
{"id":237,"date":"2010-12-10T09:46:49","date_gmt":"2010-12-10T08:46:49","guid":{"rendered":"http:\/\/www.trappers.tk\/site\/?p=237"},"modified":"2010-12-11T16:39:35","modified_gmt":"2010-12-11T15:39:35","slug":"syntax-highlighting-addin-for-powerpoint-2010","status":"publish","type":"post","link":"https:\/\/jeroentrappers.be\/site\/2010\/12\/10\/syntax-highlighting-addin-for-powerpoint-2010\/","title":{"rendered":"Syntax Highlighting addin for Powerpoint 2010"},"content":{"rendered":"

I’ve been working on a syntax highlighting addin<\/a> for powerpoint for some time now. I finally feel that it is stable enough to push a first version onto the interwebs.<\/p>\n

You can use it on your slides to make code in there more readable and have a consistent styling. I know you can use “paste with keep formatting”, but I find it can be annoying.<\/p>\n

\"\"<\/a><\/p>\n

I used Alsing.Syntaxbox<\/a> and \u00c2\u00a0NRtfTree<\/a> to help with the heavy lifting. I modified them a bit, just by removing code I didn’t need.<\/p>\n

What it does, essentially, is add a couple of buttons to a Ribbon. When you click a button, the addin detects which element was selected on a slide and applies syntax coloring of the selected language to it. To do this, a SyntaxDocument is created, it parses and calculates the styles for each word. Then I take the output of the SyntaxDocument and feed it into a RtfDocument. When that is done, i use the clipboard to do a rich paste into the element and apply some styles I like. It is written in C#. The syntax definition files are included as embedded resources.<\/p>\n

To install the addin: unzip (using 7zip<\/a>) the archive<\/a>, then double click the SyntaxColoring.vsto file. This will install the plugin for you. You can remove it from your machine in “Add or remove programs”. In Powerpoint you can enable and disable the addin, or remove it if you don’t like it. Note that you might need to install the Visual Studio 2010 Tools for Office<\/a>, before you can execute the vsto file.<\/p>\n

Please provide feedback if you like this or if you have suggestions for improvement. Take the source code<\/a> and make it better. This is released under a GPL licence. You can take it, modify it, but you have to give me credit and publish the source of your modifications. There is no support or warranty of any kind. The components I used are open source, so respect the licence of those.<\/p>\n","protected":false},"excerpt":{"rendered":"

I’ve been working on a syntax highlighting addin for powerpoint for some time now. I finally feel that it is stable enough to push a first version onto the interwebs. You can use it on your slides to make code in there more readable and have a consistent styling. I know you can use “paste…<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[8],"tags":[],"class_list":["post-237","post","type-post","status-publish","format-standard","hentry","category-tinternet"],"jetpack_publicize_connections":[],"yoast_head":"\nSyntax Highlighting addin for Powerpoint 2010 - Appmire blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jeroentrappers.be\/site\/2010\/12\/10\/syntax-highlighting-addin-for-powerpoint-2010\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Syntax Highlighting addin for Powerpoint 2010 - Appmire blog\" \/>\n<meta property=\"og:description\" content=\"I’ve been working on a syntax highlighting addin for powerpoint for some time now. I finally feel that it is stable enough to push a first version onto the interwebs. You can use it on your slides to make code in there more readable and have a consistent styling. I know you can use “paste...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jeroentrappers.be\/site\/2010\/12\/10\/syntax-highlighting-addin-for-powerpoint-2010\/\" \/>\n<meta property=\"og:site_name\" content=\"Appmire blog\" \/>\n<meta property=\"article:published_time\" content=\"2010-12-10T08:46:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2010-12-11T15:39:35+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.trappers.tk\/site\/wp-content\/uploads\/2010\/12\/Syntax-Coloring-Addin.png\" \/>\n<meta name=\"author\" content=\"Jeroen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeroen\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jeroentrappers.be\/site\/2010\/12\/10\/syntax-highlighting-addin-for-powerpoint-2010\/\",\"url\":\"https:\/\/jeroentrappers.be\/site\/2010\/12\/10\/syntax-highlighting-addin-for-powerpoint-2010\/\",\"name\":\"Syntax Highlighting addin for Powerpoint 2010 - Appmire blog\",\"isPartOf\":{\"@id\":\"https:\/\/jeroentrappers.be\/site\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/jeroentrappers.be\/site\/2010\/12\/10\/syntax-highlighting-addin-for-powerpoint-2010\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/jeroentrappers.be\/site\/2010\/12\/10\/syntax-highlighting-addin-for-powerpoint-2010\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.trappers.tk\/site\/wp-content\/uploads\/2010\/12\/Syntax-Coloring-Addin.png\",\"datePublished\":\"2010-12-10T08:46:49+00:00\",\"dateModified\":\"2010-12-11T15:39:35+00:00\",\"author\":{\"@id\":\"https:\/\/jeroentrappers.be\/site\/#\/schema\/person\/ea0bde8bb7c5133df1161487590ab952\"},\"breadcrumb\":{\"@id\":\"https:\/\/jeroentrappers.be\/site\/2010\/12\/10\/syntax-highlighting-addin-for-powerpoint-2010\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jeroentrappers.be\/site\/2010\/12\/10\/syntax-highlighting-addin-for-powerpoint-2010\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jeroentrappers.be\/site\/2010\/12\/10\/syntax-highlighting-addin-for-powerpoint-2010\/#primaryimage\",\"url\":\"http:\/\/www.trappers.tk\/site\/wp-content\/uploads\/2010\/12\/Syntax-Coloring-Addin.png\",\"contentUrl\":\"http:\/\/www.trappers.tk\/site\/wp-content\/uploads\/2010\/12\/Syntax-Coloring-Addin.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jeroentrappers.be\/site\/2010\/12\/10\/syntax-highlighting-addin-for-powerpoint-2010\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jeroentrappers.be\/site\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Syntax Highlighting addin for Powerpoint 2010\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/jeroentrappers.be\/site\/#website\",\"url\":\"https:\/\/jeroentrappers.be\/site\/\",\"name\":\"Appmire blog\",\"description\":\"www.appmire.be\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/jeroentrappers.be\/site\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/jeroentrappers.be\/site\/#\/schema\/person\/ea0bde8bb7c5133df1161487590ab952\",\"name\":\"Jeroen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jeroentrappers.be\/site\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1d9628375678040b12e41cb45eb268a3?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1d9628375678040b12e41cb45eb268a3?s=96&d=identicon&r=g\",\"caption\":\"Jeroen\"},\"sameAs\":[\"http:\/\/www.trappers.tk\"],\"url\":\"https:\/\/jeroentrappers.be\/site\/author\/jeroen\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Syntax Highlighting addin for Powerpoint 2010 - Appmire blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jeroentrappers.be\/site\/2010\/12\/10\/syntax-highlighting-addin-for-powerpoint-2010\/","og_locale":"en_US","og_type":"article","og_title":"Syntax Highlighting addin for Powerpoint 2010 - Appmire blog","og_description":"I’ve been working on a syntax highlighting addin for powerpoint for some time now. I finally feel that it is stable enough to push a first version onto the interwebs. You can use it on your slides to make code in there more readable and have a consistent styling. I know you can use “paste...","og_url":"https:\/\/jeroentrappers.be\/site\/2010\/12\/10\/syntax-highlighting-addin-for-powerpoint-2010\/","og_site_name":"Appmire blog","article_published_time":"2010-12-10T08:46:49+00:00","article_modified_time":"2010-12-11T15:39:35+00:00","og_image":[{"url":"http:\/\/www.trappers.tk\/site\/wp-content\/uploads\/2010\/12\/Syntax-Coloring-Addin.png","type":"","width":"","height":""}],"author":"Jeroen","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Jeroen","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/jeroentrappers.be\/site\/2010\/12\/10\/syntax-highlighting-addin-for-powerpoint-2010\/","url":"https:\/\/jeroentrappers.be\/site\/2010\/12\/10\/syntax-highlighting-addin-for-powerpoint-2010\/","name":"Syntax Highlighting addin for Powerpoint 2010 - Appmire blog","isPartOf":{"@id":"https:\/\/jeroentrappers.be\/site\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jeroentrappers.be\/site\/2010\/12\/10\/syntax-highlighting-addin-for-powerpoint-2010\/#primaryimage"},"image":{"@id":"https:\/\/jeroentrappers.be\/site\/2010\/12\/10\/syntax-highlighting-addin-for-powerpoint-2010\/#primaryimage"},"thumbnailUrl":"http:\/\/www.trappers.tk\/site\/wp-content\/uploads\/2010\/12\/Syntax-Coloring-Addin.png","datePublished":"2010-12-10T08:46:49+00:00","dateModified":"2010-12-11T15:39:35+00:00","author":{"@id":"https:\/\/jeroentrappers.be\/site\/#\/schema\/person\/ea0bde8bb7c5133df1161487590ab952"},"breadcrumb":{"@id":"https:\/\/jeroentrappers.be\/site\/2010\/12\/10\/syntax-highlighting-addin-for-powerpoint-2010\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jeroentrappers.be\/site\/2010\/12\/10\/syntax-highlighting-addin-for-powerpoint-2010\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jeroentrappers.be\/site\/2010\/12\/10\/syntax-highlighting-addin-for-powerpoint-2010\/#primaryimage","url":"http:\/\/www.trappers.tk\/site\/wp-content\/uploads\/2010\/12\/Syntax-Coloring-Addin.png","contentUrl":"http:\/\/www.trappers.tk\/site\/wp-content\/uploads\/2010\/12\/Syntax-Coloring-Addin.png"},{"@type":"BreadcrumbList","@id":"https:\/\/jeroentrappers.be\/site\/2010\/12\/10\/syntax-highlighting-addin-for-powerpoint-2010\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jeroentrappers.be\/site\/"},{"@type":"ListItem","position":2,"name":"Syntax Highlighting addin for Powerpoint 2010"}]},{"@type":"WebSite","@id":"https:\/\/jeroentrappers.be\/site\/#website","url":"https:\/\/jeroentrappers.be\/site\/","name":"Appmire blog","description":"www.appmire.be","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jeroentrappers.be\/site\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/jeroentrappers.be\/site\/#\/schema\/person\/ea0bde8bb7c5133df1161487590ab952","name":"Jeroen","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jeroentrappers.be\/site\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1d9628375678040b12e41cb45eb268a3?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1d9628375678040b12e41cb45eb268a3?s=96&d=identicon&r=g","caption":"Jeroen"},"sameAs":["http:\/\/www.trappers.tk"],"url":"https:\/\/jeroentrappers.be\/site\/author\/jeroen\/"}]}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1Ezsm-3P","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/jeroentrappers.be\/site\/wp-json\/wp\/v2\/posts\/237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jeroentrappers.be\/site\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jeroentrappers.be\/site\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jeroentrappers.be\/site\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jeroentrappers.be\/site\/wp-json\/wp\/v2\/comments?post=237"}],"version-history":[{"count":5,"href":"https:\/\/jeroentrappers.be\/site\/wp-json\/wp\/v2\/posts\/237\/revisions"}],"predecessor-version":[{"id":241,"href":"https:\/\/jeroentrappers.be\/site\/wp-json\/wp\/v2\/posts\/237\/revisions\/241"}],"wp:attachment":[{"href":"https:\/\/jeroentrappers.be\/site\/wp-json\/wp\/v2\/media?parent=237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jeroentrappers.be\/site\/wp-json\/wp\/v2\/categories?post=237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jeroentrappers.be\/site\/wp-json\/wp\/v2\/tags?post=237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}