<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - Introduction to Office Open XML Code Snippets</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Blogs/dmahugh/Introduction-to-Office-Open-XML-Code-Snippets/RSS"></atom:link>
	<image>
		<url>http://ecn.channel9.msdn.com/o9/previewImages/100/251789_100x75.jpg</url>
		<title>Channel 9 - Introduction to Office Open XML Code Snippets</title>
		<link></link>
	</image>
	<description>
In this screencast, Office program manager Kevin Boske demos three code snippets for Visual Studio 2005 for working with Office Open XML files using the System.IO.Packaging namespace from .NET 3.0. Office Open XML is a file format standardized by Ecma. It
 is the new default file format for Word, Excel and PowerPoint 2007. The ability to programmatically access data within these file formats is a key feature for developers. 
Ken Getz wrote 40 Visual Studio 2005 code snippets in C# and VB.Net for working with the Open XML files that are downloadable from the web. The Office Open XML code snippets include snippets for redacting macros from Word Documents, adding string values
 to cells in Excel workbooks, finding slides by title in PowerPoint, etc. 
These code snippets will help you get started building applications to directly access data within Open XML files. 
Related links: 
Office Open XML Code Snippets
Managing VS.NET 2005 Code Snippets
OpenXMLDeveloper.org
Kevin Boske’s Blog 
</description>
	<link></link>
	<language>en</language>
	<pubDate>Sun, 19 May 2013 07:30:21 GMT</pubDate>
	<lastBuildDate>Sun, 19 May 2013 07:30:21 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: Introduction to Office Open XML Code Snippets</title>
		<description>
			<![CDATA[
<p>i can't see the screen cast...</p>
<p>posted by babba</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/dmahugh/Introduction-to-Office-Open-XML-Code-Snippets#c633057456880000000</link>
		<pubDate>Tue, 30 Jan 2007 09:21:28 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/dmahugh/Introduction-to-Office-Open-XML-Code-Snippets#c633057456880000000</guid>
		<dc:creator>babba</dc:creator>
	</item>
	<item>
		<title>Re: Introduction to Office Open XML Code Snippets</title>
		<description>
			<![CDATA[There was a bad link, Babba, but it's fixed now.&nbsp; Sorry for the inconvenience.<p>posted by dmahugh</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/dmahugh/Introduction-to-Office-Open-XML-Code-Snippets#c633058030090000000</link>
		<pubDate>Wed, 31 Jan 2007 01:16:49 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/dmahugh/Introduction-to-Office-Open-XML-Code-Snippets#c633058030090000000</guid>
		<dc:creator>dmahugh</dc:creator>
	</item>
	<item>
		<title>Re: Introduction to Office Open XML Code Snippets</title>
		<description>
			<![CDATA[Sorry but the audio level is very low, I can just about make out what's said if I have my volume really high but it's giving me a headache trying to listen!. <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-6.gif' alt='Sad' /><br>
<p>posted by nbradshaw</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/dmahugh/Introduction-to-Office-Open-XML-Code-Snippets#c633063460680000000</link>
		<pubDate>Tue, 06 Feb 2007 08:07:48 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/dmahugh/Introduction-to-Office-Open-XML-Code-Snippets#c633063460680000000</guid>
		<dc:creator>nbradshaw</dc:creator>
	</item>
	<item>
		<title>Re: Introduction to Office Open XML Code Snippets</title>
		<description>
			<![CDATA[I have to create a Custom Connector&nbsp;like a Custom Shape in a PPTX using OOXml. As, bent connector or curve connector bent on 90 degree only, so like a custom shape i have to create a custom connector, because my connector can go through any path. I download
 the &quot;OfficeOpenXML-DrawingMLGeometries.zip&quot; where i found a definition of preset Shapes on the file &quot;presetShapeDefinitions.xml&quot; , in this file Bentconnector2 is defined by:<br>
<br>
----------------------------------------------------------------------------------------------------<br>
&lt;bentConnector2&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;rect l=&quot;l&quot; t=&quot;t&quot; r=&quot;r&quot; b=&quot;b&quot; xmlns=&quot;<a href="http://schemas.openxmlformats.org/drawingml/2006/main&quot;">http&#58;&#47;&#47;schemas.openxmlformats.org&#47;drawingml&#47;2006&#47;main&#34;</a> /&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;pathLst xmlns=&quot;<a href="http://schemas.openxmlformats.org/drawingml/2006/main&quot;">http&#58;&#47;&#47;schemas.openxmlformats.org&#47;drawingml&#47;2006&#47;main&#34;</a>&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;path fill=&quot;none&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;moveTo&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;pt x=&quot;l&quot; y=&quot;t&quot; /&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/moveTo&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;lnTo&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;pt x=&quot;r&quot; y=&quot;t&quot; /&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/lnTo&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;lnTo&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;pt x=&quot;r&quot; y=&quot;b&quot; /&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/lnTo&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/path&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/pathLst&gt;<br>
&nbsp; &lt;/bentConnector2&gt;&nbsp; <br>
-----------------------------------------------------------------------------------------------------<br>
That means bent connector2 is being drawn in this way. But, now i want to create a custom connector like above one. My slide1.xml contain a connection shape like....<br>
<br>
----------------------------------------------------------------------------------------------------<br>
&lt;p:cxnSp&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;p:nvCxnSpPr/&gt;&nbsp;&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;p:spPr&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;a:xfrm &gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;a:off x=&quot;3886200&quot; y=&quot;2362200&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;a:ext cx=&quot;914400&quot; cy=&quot;914400&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/a:xfrm&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b> &lt;a:custGeom &gt;<br>
</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;rect l=&quot;l&quot; t=&quot;t&quot; r=&quot;r&quot; b=&quot;b&quot; xmlns=&quot;<a href="http://schemas.openxmlformats.org/drawingml/2006/main&quot;">http&#58;&#47;&#47;schemas.openxmlformats.org&#47;drawingml&#47;2006&#47;main&#34;</a> /&gt;<br>
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;pathLst xmlns=&quot;<a href="http://schemas.openxmlformats.org/drawingml/2006/main&quot;">http&#58;&#47;&#47;schemas.openxmlformats.org&#47;drawingml&#47;2006&#47;main&#34;</a>&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;path fill=&quot;none&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &lt;moveTo&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;pt x=&quot;l&quot; y=&quot;t&quot; /&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &lt;/moveTo&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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bsp; &nbsp;&nbsp; &lt;/path&gt;<br>
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &lt;/pathLst&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b> &lt;/a:custGeom&gt;<br>
</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/p:spPr&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;p:style/&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
&lt;/p:cxnSp&gt;<br>
-----------------------------------------------------------------------------------------------------<br>
Rather than....<br>
----------------------------------------------------------------------------------------------------<br>
&lt;p:cxnSp&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;p:nvCxnSpPr/&gt;&nbsp;&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;p:spPr&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;a:xfrm &gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;a:off x=&quot;3886200&quot; y=&quot;2362200&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;a:ext cx=&quot;914400&quot; cy=&quot;914400&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/a:xfrm&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>&lt;a:prstGeom prst=&quot;bentConnector2&quot;&gt;</b>&nbsp; // Generally We define in this way to create a&nbsp;Predefined Connector<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;a:avLst/&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>&lt;/a:prstGeom&gt;<br>
</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/p:spPr&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;p:style/&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
&lt;/p:cxnSp&gt;<br>
-----------------------------------------------------------------------------------------------------<br>
&nbsp;But it gives always an error when open that pptx, It says pptx has been corrupted .....<br>
&nbsp;Plz, help me how i can fix this problem...??? If it is not possible for you to help me rgarding this metter, then Where should i go ? where i can get the actual cause, Plz mention me....<br>
<br>
Thanks and Regards<br>
Tamkin<br>
SW ENG. (KAZ Software)<br>
Bangladesh<p>posted by Tamkin</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/dmahugh/Introduction-to-Office-Open-XML-Code-Snippets#c633723506190000000</link>
		<pubDate>Wed, 11 Mar 2009 06:43:39 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/dmahugh/Introduction-to-Office-Open-XML-Code-Snippets#c633723506190000000</guid>
		<dc:creator>Tamkin</dc:creator>
	</item>
	<item>
		<title>Re: Introduction to Office Open XML Code Snippets</title>
		<description>
			<![CDATA[
<p>it seems the link is missing?</p>
<p>posted by tswaters</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/dmahugh/Introduction-to-Office-Open-XML-Code-Snippets#c633864135010000000</link>
		<pubDate>Fri, 21 Aug 2009 01:05:01 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/dmahugh/Introduction-to-Office-Open-XML-Code-Snippets#c633864135010000000</guid>
		<dc:creator>tswaters</dc:creator>
	</item>
</channel>
</rss>