<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Embedding Any File Type, Like PDF, in an Open XML File</title><link>http://blogs.msdn.com/b/brian_jones/archive/2009/07/21/embedding-any-file-type-like-pdf-in-an-open-xml-file.aspx</link><description>In my last post, I showed you guys how to embed an Excel spreadsheet within a Word document without the need to invoke an OLE Server. In today's post I am going to show you how to embed any file in an Open XML file. Specifically, I am going to show you</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Embedding Any File Type, Like PDF, in an Open XML File</title><link>http://blogs.msdn.com/b/brian_jones/archive/2009/07/21/embedding-any-file-type-like-pdf-in-an-open-xml-file.aspx#9857041</link><pubDate>Tue, 04 Aug 2009 14:40:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9857041</guid><dc:creator>David McCabe</dc:creator><description>&lt;p&gt;Is there any way to detect where in a document a particular part is referenced, with SDK v2? It would be nice to be able to look at, say, a Paragraph, and get a list of Parts referenced.&lt;/p&gt;
&lt;p&gt;There are several use cases:&lt;/p&gt;
&lt;p&gt;* removing a paragraph from a document; what set of Parts need to be removed as well?&lt;/p&gt;
&lt;p&gt;* extracting a single paragraph from a document; what set of Parts need to come along?&lt;/p&gt;
&lt;p&gt;Word obviously has this information because it strips out unreferenced Parts when saving.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9857041" width="1" height="1"&gt;</description></item><item><title>re: Embedding Any File Type, Like PDF, in an Open XML File</title><link>http://blogs.msdn.com/b/brian_jones/archive/2009/07/21/embedding-any-file-type-like-pdf-in-an-open-xml-file.aspx#9851749</link><pubDate>Wed, 29 Jul 2009 09:01:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9851749</guid><dc:creator>Bennett Yip</dc:creator><description>&lt;p&gt;The program runs very well in my PC. However, I got a HRESULT=0x80070057 error code when I tried to convert a TXT file to an OLE object under Win2003 server. There is also no EMF image file in the output when 0x80070057 error exists.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9851749" width="1" height="1"&gt;</description></item><item><title>re: Embedding Any File Type, Like PDF, in an Open XML File</title><link>http://blogs.msdn.com/b/brian_jones/archive/2009/07/21/embedding-any-file-type-like-pdf-in-an-open-xml-file.aspx#9843983</link><pubDate>Wed, 22 Jul 2009 01:16:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9843983</guid><dc:creator>Zeyad Rajabi</dc:creator><description>&lt;p&gt;Johann - Thanks. To merge PDF content within Open XML files you will need some kind of API that understands PDF. I found several doing a quick internet search. As for Office 2003 files, there are 3rd party APIs that can help you out. You could also programmatically access the content of binary documents yourself. Check out the following link: &lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/cc313153.aspx"&gt;http://msdn.microsoft.com/en-us/library/cc313153.aspx&lt;/a&gt; to see the specification for the .doc file format. Another approach for handling Office 2003 files is to convert them to Open XML. You can use the OMPM tool to do bulk conversions for you.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9843983" width="1" height="1"&gt;</description></item><item><title>re: Embedding Any File Type, Like PDF, in an Open XML File</title><link>http://blogs.msdn.com/b/brian_jones/archive/2009/07/21/embedding-any-file-type-like-pdf-in-an-open-xml-file.aspx#9843839</link><pubDate>Tue, 21 Jul 2009 23:45:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9843839</guid><dc:creator>Johann Granados</dc:creator><description>&lt;p&gt;Excellent article!!! &amp;nbsp;Do you know about a solution for merging (not embedding) PDF files and Office 2003 files into a docx file? &amp;nbsp;Thanks in advance for your answer&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9843839" width="1" height="1"&gt;</description></item></channel></rss>