<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://openxmldeveloper.org/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>Site Root</title><link>http://openxmldeveloper.org/default.aspx</link><description /><dc:language /><generator>Telligent Community 5.6.582.12783 (Build: 5.6.582.12783)</generator><item><title>Forum Post: Re: Read .docx page by page</title><link>http://openxmldeveloper.org/discussions/formats/f/13/p/1708/158948.aspx#158948</link><pubDate>Wed, 16 May 2012 19:52:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158948</guid><dc:creator>jimfjerstad</dc:creator><description>&lt;p&gt;Hi Nix,&lt;/p&gt; &lt;p&gt;Goodol is correct. The Open XML SDK does not provide rendering calculations such as page breaks. However if all you need is to put information at the top and bottom of each page, you can use headers and footers for that. Simply define the header and footer parts that you need, and make sure they are referenced in the section properties element using header/footer reference child elements.&lt;/p&gt; &lt;p&gt;Hope this helps.&lt;/p&gt; &lt;p&gt;Jim&lt;/p&gt; </description></item><item><title>Forum Post: Re: problem with boxlot pptx chart</title><link>http://openxmldeveloper.org/discussions/development_tools/f/17/p/5410/158947.aspx#158947</link><pubDate>Wed, 16 May 2012 15:04:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158947</guid><dc:creator>yaccast</dc:creator><description>&lt;p&gt;we didn&amp;#39;t find the solution for this problem, but the customer wants to generate pdf instead of pptx.&lt;/p&gt; &lt;p&gt; How can I do that with openxml ?&lt;/p&gt; </description></item><item><title>Forum Post: How to update a chart.xml</title><link>http://openxmldeveloper.org/discussions/formats/f/14/p/5415/158946.aspx#158946</link><pubDate>Wed, 16 May 2012 12:08:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158946</guid><dc:creator>Matt Balraj</dc:creator><description>&lt;p&gt;I have created an excel sheet that contains a chart. I update the data in an the excel file with  OpenXML. The data gets updated and I am able to view the chart. However when I export the chart to Powerpoint the chart is empty. If I open this file in excel and if I save it the chart is updated properly. Using the Productivity tool I tried to find out what is different between a excel file that is saved in excel and another file that is not saved. I notice that Chart.xml is not updated. Specifically there is some element called cacheddata that gets updated if the file is opened and saved in Excel. &lt;br /&gt;&lt;br /&gt;Can anyone tell me what I am doing wrong  Or what I need to do to ensure that Chart.xml is updated properly&lt;/p&gt;</description></item><item><title>Forum Post: dietary fiber</title><link>http://openxmldeveloper.org/discussions/open_xml_scenarios/f/24/p/5414/158945.aspx#158945</link><pubDate>Wed, 16 May 2012 10:38:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158945</guid><dc:creator>Isabella852</dc:creator><description>&lt;p&gt;&lt;span style="font-size:small;"&gt;&lt;a href="http://www.barndadnutrition.com"&gt;dietary fiber&lt;/a&gt;&amp;nbsp;is so important when dieting is that because it cannot be digested it&amp;nbsp;grabs onto fats, cholesterol and sugars and binds to them. As the fiber travels through your digestive system it will not only&amp;nbsp;help to extract bits of the cholesterol and fats before they can be absorbed, but will also control the sugars from being absorbed too quickly,&amp;nbsp;helping to prevent insulin spikes.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Forum Post: Excel 2010 converts cell value into exponential notation. </title><link>http://openxmldeveloper.org/discussions/formats/f/12/p/5413/158944.aspx#158944</link><pubDate>Wed, 16 May 2012 09:52:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158944</guid><dc:creator>ueckalex</dc:creator><description>&lt;p&gt;Dear all,&lt;/p&gt;  &lt;p&gt;maybe someone knows the reason.&lt;/p&gt;  &lt;p&gt;Description:&lt;/p&gt;  &lt;p&gt;- Excel cell contains formula&lt;/p&gt;  &lt;p&gt;- Due to further process I copy the cell into cache.&lt;/p&gt;  &lt;p&gt;- Insert into the same cell with option &amp;#39;only value&amp;#39;&lt;/p&gt;  &lt;p&gt;- Result was that the cell contains only the value, not the formula&lt;/p&gt;  &lt;p&gt;- Looking in XML for this cell the tag shows for value &amp;quot;0,1&amp;quot;:&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;img alt=" " /&gt;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; For other cells it shows in the v-tag simply the value = 0,1.&lt;/p&gt;  &lt;p&gt;Does anybody knows the reason?&lt;/p&gt;  &lt;p&gt;Does anybody knows how to prevent that?&lt;/p&gt;  &lt;p&gt;Br,&lt;/p&gt;  &lt;p&gt;Alex&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Forum Post: Re: Problem with reading a docx-File after saving it.</title><link>http://openxmldeveloper.org/discussions/formats/f/13/p/5409/158943.aspx#158943</link><pubDate>Wed, 16 May 2012 09:23:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158943</guid><dc:creator>Thomas Lorenz</dc:creator><description>&lt;p&gt;My problem is gone !&lt;/p&gt; &lt;p&gt;To read the XmlDocument i use this method :&lt;/p&gt; &lt;p&gt;private XmlDocument CustomXmlDateiLesen(string fileName, bool read, string schema)&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#123;&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#123;&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XmlDocument xDocCustomXML = new XmlDocument();&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;using (WordprocessingDocument wDoc = WordprocessingDocument.Open(fileName, false))&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#123;&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MainDocumentPart mainPart = wDoc.MainDocumentPart;&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;foreach (CustomXmlPart custXML in mainPart.CustomXmlParts)&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#123;&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xDocCustomXML.Load(custXML.GetStream(FileMode.Open));&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XmlNode xn = xDocCustomXML.FirstChild;&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (!xn.HasChildNodes)&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xn = xn.NextSibling; &amp;nbsp;// &amp;lt;?xml version=&amp;quot;1.0&amp;quot; ...&amp;gt; ignorieren&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (xn.NamespaceURI == schema) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // entspricht gefundener Part dem gesuchten Schema?&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#123;&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return xDocCustomXML;&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#125;&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#125;&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#125;&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#125;&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;catch (Exception)&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#123;&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Fehlerbehandlung&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#125;&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return null;&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#125;&lt;/p&gt; &lt;p&gt;That&amp;#39;s all ;)&lt;/p&gt; </description></item><item><title>Forum Post: Re: Convert wordprocessingml (2010) to HTML with styles/css</title><link>http://openxmldeveloper.org/discussions/development_tools/f/17/p/5293/158942.aspx#158942</link><pubDate>Wed, 16 May 2012 08:56:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158942</guid><dc:creator>Mahyar</dc:creator><description>&lt;p&gt;Hi Eric,&lt;/p&gt;  &lt;p&gt;I saw your video and also try to play around HTMLConverter, it is very nice piece of code, but the problem is how to get that CSS without using Word Application, to have a dynamic HTML converter, which generates the CSS styles base on document itself. try to find something on web, but couldn&amp;#39;t find anything. so is there any way to generate that CSS dynamically?&lt;/p&gt;  &lt;p&gt;Thanks&lt;br /&gt;Mahyar&amp;nbsp;&lt;/p&gt;</description></item><item><title>Forum Post: Re: Add a footer to an existing OpenXML spreadsheet</title><link>http://openxmldeveloper.org/discussions/development_tools/f/17/p/5403/158939.aspx#158939</link><pubDate>Wed, 16 May 2012 04:40:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158939</guid><dc:creator>pranay</dc:creator><description>&lt;p&gt;[quote user=&amp;quot;ewomack&amp;quot;]&lt;/p&gt;  &lt;p&gt;Thanks again for your help, I really appreciate it!&lt;/p&gt;  &lt;p&gt;But something else must be going on. First off, I didn&amp;#39;t tell you that I do have 2 sheets, not 1. The code as I entered it compiles fine and the spreadsheet generates, but when I open the Excel doc it displays &amp;quot;Excel found unreadable content in [file name]. Do you want to recover the contents?&amp;quot; When I recover the formatting of the 1st spreadsheet is off, though I do see data, and the 2nd sheet has disappeared entirely apart from its bottom tab. I don&amp;#39;t see any sign of a header or footer anywhere. When I enable editing I see a notice that Excel has repaired or removed content. The screen doesn&amp;#39;t contain any really useful content apart from that.&lt;/p&gt;  &lt;p&gt;Does the 2 sheet issue change things?&lt;/p&gt;  &lt;div style="clear:both;"&gt;&lt;/div&gt;  &lt;p&gt;[/quote]Hi,&lt;/p&gt;  &lt;p&gt;If you have more then one sheet. and want to add header and footer on both of the sheet.&lt;/p&gt;  &lt;p&gt;I think you can loop through the WorksheetParts and add header and footer with same function.&lt;/p&gt;  &lt;p&gt;And as far as &amp;quot;&amp;quot;Excel found unreadable content in [file name]&amp;quot; error is concern.&lt;/p&gt;  &lt;p&gt;you can use Open XML productivity tool for checking which part of the spreadshet package causing this issue.&lt;/p&gt;  &lt;p&gt;I have come across this issue many time and Productivity tool helps me in finding the cause of this problem.&lt;/p&gt;</description></item><item><title>Forum Post: Re: Copying Slide layouts from one presentation to another</title><link>http://openxmldeveloper.org/discussions/formats/f/15/p/5412/158938.aspx#158938</link><pubDate>Wed, 16 May 2012 04:31:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158938</guid><dc:creator>pranay</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;  &lt;p&gt;You can use below function for your purpose.&lt;/p&gt;  &lt;p&gt;here:&lt;/p&gt;  &lt;p&gt;presentationPart: is your pptx file presentation part&lt;/p&gt;  &lt;p&gt;layoutName: Its the layout name which you want ot insert. Please take a note that this a layout with &amp;quot;layoutName&amp;quot; should exist in your Slide Master layout list.&lt;/p&gt;  &lt;p&gt;&amp;nbsp; public static Slide InsertSlide(PresentationPart presentationPart, string layoutName)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SlideLayout sldlayout = new SlideLayout { layOutName = layoutName };&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (presentationPart.Presentation.SlideIdList == null)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; presentationPart.Presentation.SlideIdList = new SlideIdList();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint num = 0x100;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; num += Convert.ToUInt32(presentationPart.Presentation.SlideIdList.Count&amp;lt;OpenXmlElement&amp;gt;());&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Slide slide = new Slide(new OpenXmlElement[] { new CommonSlideData(new OpenXmlElement[] { new ShapeTree() }) });&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SlidePart openXmlPart = presentationPart.AddNewPart&amp;lt;SlidePart&amp;gt;();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; slide.Save(openXmlPart);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SlideMasterPart part2 = presentationPart.SlideMasterParts.First&amp;lt;SlideMasterPart&amp;gt;();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SlideLayoutPart part = part2.SlideLayoutParts.SingleOrDefault&amp;lt;SlideLayoutPart&amp;gt;(new Func&amp;lt;SlideLayoutPart, bool&amp;gt;(sldlayout.IslayoutExist));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; openXmlPart.AddPart&amp;lt;SlideLayoutPart&amp;gt;(part);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; openXmlPart.Slide.CommonSlideData = (CommonSlideData)part2.SlideLayoutParts.SingleOrDefault&amp;lt;SlideLayoutPart&amp;gt;(new Func&amp;lt;SlideLayoutPart, bool&amp;gt;(sldlayout.IslayoutExist)).SlideLayout.CommonSlideData.Clone();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SlideId id = presentationPart.Presentation.SlideIdList.AppendChild&amp;lt;SlideId&amp;gt;(new SlideId());&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id.Id = num;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id.RelationshipId = presentationPart.GetIdOfPart(openXmlPart);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return GetSlide(presentationPart, id.RelationshipId);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;private class SlideLayout&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public string layOutName;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public bool IslayoutExist(SlideLayoutPart layout)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return layout.SlideLayout.CommonSlideData.Name.Value.Equals(this.layOutName);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;</description></item><item><title>Blog Post: Screen-cast: Overview of the Open Packaging Conventions - Part 2</title><link>http://openxmldeveloper.org/blog/b/openxmldeveloper/archive/2012/05/15/screen-cast-overview-of-the-open-packaging-conventions-part-2.aspx</link><pubDate>Tue, 15 May 2012 16:13:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158920</guid><dc:creator>Eric White</dc:creator><description>&lt;p&gt;This video continues where the previous video (&lt;a href="http://openxmldeveloper.org/blog/b/openxmldeveloper/archive/2012/05/10/screen-cast-overview-of-the-open-packaging-conventions.aspx"&gt;Overview of the Open Packaging Conventions - Part 1&lt;/a&gt;) leaves off. &amp;nbsp;In this screen-cast, I cover relationship types, relationship ids,&amp;nbsp;internal/external relationships, explicit/implicit relationships, and more. &amp;nbsp;If you watch the previous video and this video, you will know what you need to know about Open Packaging Conventions to implement most varieties of Open XML applications.&lt;/p&gt;  &lt;p&gt;This screen-cast is one in a series on getting started with Open XML development. &amp;nbsp;You can find the complete list of videos at the bottom of this blog post.&lt;/p&gt;  &lt;p&gt;(Please visit the site to view this video)&lt;/p&gt;  &lt;p&gt;Here is the complete list of screen-casts in this series:&lt;/p&gt;  &lt;table style="border:1px solid black;border-collapse:collapse;"&gt;  &lt;tbody&gt;  &lt;tr&gt;  &lt;td style="border:1px solid black;padding:0em .7em;"&gt;&lt;a href="http://openxmldeveloper.org/blog/b/openxmldeveloper/archive/2011/10/13/getting-started-with-open-xml-development.aspx"&gt;Getting Started with Open XML Development&lt;/a&gt;&lt;/td&gt;  &lt;td style="border:1px solid black;padding:0em .7em;"&gt;  &lt;p&gt;The first in a series of screen-casts for developers getting started in development with Open XML for the first time. In this video, I look at the Open XML standard from a high level. I discuss the resources that helped me get started, and point you to places to find additional resources.&lt;/p&gt;  &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;  &lt;td style="border:1px solid black;padding:0em .7em;"&gt;&lt;a href="http://openxmldeveloper.org/blog/b/openxmldeveloper/archive/2011/10/24/getting-started-with-open-xml-development-part-ii-tools.aspx"&gt;Getting Started with Open XML Development - Part II Tools&lt;/a&gt;&lt;/td&gt;  &lt;td style="border:1px solid black;padding:0em .7em;"&gt;  &lt;p&gt;In this screen-cast, I introduce the three most important tools that you will want to be familiar with:&lt;/p&gt;  &lt;ul&gt;  &lt;li&gt;Open XML Package Editor Power Tool for Visual Studio&lt;/li&gt;  &lt;li&gt;Open XML SDK 2.0 Productivity Tool&lt;/li&gt;  &lt;li&gt;PowerTools for Open XML&lt;/li&gt;  &lt;/ul&gt;  &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;  &lt;td style="border:1px solid black;padding:0em .7em;"&gt;&lt;a href="http://openxmldeveloper.org/blog/b/openxmldeveloper/archive/2012/02/10/getting-started-with-open-xml-development-part-iii-wordprocessingml-scenarios.aspx"&gt;Getting Started with Open XML Development - Part III WordprocessingML Scenarios&lt;/a&gt;&lt;/td&gt;  &lt;td style="border:1px solid black;padding:0em .7em;"&gt;  &lt;p&gt;In this screen-cast I discuss the three most common scenarios around WordprocessingML:&lt;/p&gt;  &lt;ul&gt;  &lt;li&gt;Document generation&lt;/li&gt;  &lt;li&gt;Data and content extraction&lt;/li&gt;  &lt;li&gt;Document transformation&lt;/li&gt;  &lt;/ul&gt;  &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;  &lt;td style="border:1px solid black;padding:0em .7em;"&gt;&lt;a href="http://openxmldeveloper.org/blog/b/openxmldeveloper/archive/2012/02/22/getting-started-with-open-xml-development-part-iv-spreadsheetml-and-presentationml-scenarios.aspx"&gt;Getting Started with Open XML Development - Part IV SpreadsheetML and PresentationML Scenarios&lt;/a&gt;&lt;/td&gt;  &lt;td style="border:1px solid black;padding:0em .7em;"&gt;  &lt;p&gt;In this screen-cast I discuss the two most common scenarios around SpreadsheetML, which are a) Spreadsheet generation, and b) data extraction.&amp;nbsp; In addition, I discuss the most common scenario for PresentationML, which is presentation generation.&lt;/p&gt;  &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;  &lt;td style="border:1px solid black;padding:0em .7em;"&gt;&lt;a href="http://openxmldeveloper.org/blog/b/openxmldeveloper/archive/2012/02/27/getting-started-with-open-xml-development-part-v-developer-techniques.aspx"&gt;Getting Started with Open XML Development - Part V Developer Techniques&lt;/a&gt;&lt;/td&gt;  &lt;td style="border:1px solid black;padding:0em .7em;"&gt;  &lt;p&gt;In this screen-cast I discuss some of the most powerful techniques and approaches for implementing Open XML applications.&lt;/p&gt;  &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;  &lt;td style="border:1px solid black;padding:0em .7em;"&gt;&lt;a href="http://openxmldeveloper.org/blog/b/openxmldeveloper/archive/2012/03/01/getting-started-with-open-xml-development-part-vi-developer-techniques-continued.aspx"&gt;Getting Started with Open XML Development - Part VI Developer Techniques (continued)&lt;/a&gt;&lt;/td&gt;  &lt;td style="border:1px solid black;padding:0em .7em;"&gt;  &lt;p&gt;In this screen-cast I continue discussing some of the most powerful techniques and approaches for implementing Open XML applications.&lt;/p&gt;  &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;  &lt;td style="border:1px solid black;padding:0em .7em;"&gt;&lt;a href="http://openxmldeveloper.org/blog/b/openxmldeveloper/archive/2012/05/10/screen-cast-overview-of-the-open-packaging-conventions.aspx"&gt;Overview of the Open Packaging Conventions - (1 of 2)&lt;/a&gt;&lt;/td&gt;  &lt;td style="border:1px solid black;padding:0em .7em;"&gt;  &lt;p&gt;In this screen-cast, I introduce Open Packaging Conventions (OPC) and cover some of the basic information that you need to know.&lt;/p&gt;  &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;  &lt;td style="border:1px solid black;padding:0em .7em;"&gt;&lt;a href="http://openxmldeveloper.org/blog/b/openxmldeveloper/archive/2012/05/15/screen-cast-overview-of-the-open-packaging-conventions-part-2.aspx"&gt;Overview of the Open Packaging Conventions - (2 of 2)&lt;/a&gt;&lt;/td&gt;  &lt;td style="border:1px solid black;padding:0em .7em;"&gt;  &lt;p&gt;This screen-cast builds on the previous screen-cast, covering relationship types, relationship ids, internal/external relationships, explicit/implicit relationships, and more.  These two videos on the Open Packaging Conventions cover what you need to know to do Open XML development.&lt;/p&gt;  &lt;/td&gt;  &lt;/tr&gt;  &lt;/tbody&gt;  &lt;/table&gt;</description></item><item><title>Forum Post: Re: Problem after adding customXML to fill Content Controls</title><link>http://openxmldeveloper.org/discussions/development_tools/f/17/p/5408/158916.aspx#158916</link><pubDate>Tue, 15 May 2012 11:19:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158916</guid><dc:creator>nelson_carvalho</dc:creator><description>&lt;p&gt;Just to add extra info... i&amp;#39;ve just changed the template to set the author to same identity of the process who does the replacement of content controls and saves the document the first time...&lt;/p&gt; &lt;p&gt;After that if i try to edit the document &amp;nbsp;through internet, change the file and save it the problems does not persist.&lt;/p&gt; &lt;p&gt;Still the problem is odd and i really need to solve this...&lt;/p&gt; &lt;p&gt;Note: Track changes is not turned on.&lt;/p&gt; </description></item><item><title>Forum Post: Re: Strategy for CustomXMLPart - delete - add- feedDATA</title><link>http://openxmldeveloper.org/discussions/formats/f/13/p/5352/158914.aspx#158914</link><pubDate>Tue, 15 May 2012 06:33:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158914</guid><dc:creator>eliselavy</dc:creator><description>&lt;p&gt;thank you so much eric, now it works perfectly , my main problem was with the namespace because I would like to replace some XMLNode from another XmlDocument. I had a lot of problem with:&lt;/p&gt; &lt;p&gt;xmlns=&amp;quot;&amp;quot; added in all attributes.&lt;/p&gt; </description></item><item><title>Forum Post: Re: Problem to update CustomXMLPart with feedData</title><link>http://openxmldeveloper.org/discussions/formats/f/13/p/5351/158913.aspx#158913</link><pubDate>Tue, 15 May 2012 06:30:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158913</guid><dc:creator>eliselavy</dc:creator><description>&lt;p&gt;thank you so much Jim, it works by calling the flush method:&lt;/p&gt; &lt;p&gt; &amp;nbsp;result.FeedData(xmlStream);&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;wordDocSource.Package.Flush();&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;wordDocSource.Close();&lt;/p&gt; </description></item><item><title>Forum Post: Re: How to manipulate this word document?</title><link>http://openxmldeveloper.org/discussions/development_tools/f/35/p/5373/158912.aspx#158912</link><pubDate>Tue, 15 May 2012 04:46:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158912</guid><dc:creator>aroshlakshan</dc:creator><description>&lt;p&gt;Thanks! i&amp;#39;ll try that and let you know&lt;/p&gt; </description></item><item><title>Forum Post: Re: Where to find documentation on namespaces?</title><link>http://openxmldeveloper.org/discussions/formats/f/14/p/5400/158909.aspx#158909</link><pubDate>Tue, 15 May 2012 04:04:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158909</guid><dc:creator>pramodhegde</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp;I am not sure there is any document which describes at this level. But you can do it yourself. Create the office &amp;nbsp;document manually and see the generated xml. That will help you to get the right syntax.&lt;/p&gt; </description></item><item><title>Forum Post: Convert OpenXml to RTF in RichTextBox</title><link>http://openxmldeveloper.org/discussions/development_tools/f/35/p/5407/158908.aspx#158908</link><pubDate>Mon, 14 May 2012 12:22:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158908</guid><dc:creator>bahamutzero</dc:creator><description>&lt;p&gt;&lt;span style="font-family:arial,helvetica,sans-serif;font-size:small;"&gt;Hi,&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="font-family:arial,helvetica,sans-serif;font-size:small;"&gt;I need to know if a converter OpenXml to Rtf exist already or if i must build an engine for preview the OpenXml Document in a RichTextBox with the Style,Font,... when i search a ContentControl by Tag or others.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Forum Post: add image to word document header</title><link>http://openxmldeveloper.org/discussions/development_tools/f/35/p/5406/158907.aspx#158907</link><pubDate>Sun, 13 May 2012 14:52:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158907</guid><dc:creator>ghostme</dc:creator><description>&lt;p&gt;Hello guys,&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;I can manipulate an existing word document&amp;nbsp; header in a SharePoint library and insert a text header to it.&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;However, I am having some chanllenges adding an image to a header into a word document here is my code. When I run this code I don&amp;#39;t get to see the image in the header, all I see is x image which says image cannot be displayed. &lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;Please assist&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;  &lt;pre class="prettyprint"&gt;static void Main(string[] args)     {             string siteUrl = &amp;quot;http://moss&amp;quot;;     using (SPSite spSite = new SPSite(siteUrl))   {     Console.WriteLine(&amp;quot;Querying for doc.docx&amp;quot;);   SPList list = spSite.RootWeb.Lists[&amp;quot;Test&amp;quot;];   SPQuery query = new SPQuery();   query.ViewFields = @&amp;quot;&amp;lt;FieldRef Name=&amp;#39;FileLeafRef&amp;#39; /&amp;gt;&amp;quot;;   query.Query =   @&amp;quot;&amp;lt;Where&amp;gt;   &amp;lt;Eq&amp;gt;   &amp;lt;FieldRef Name=&amp;#39;FileLeafRef&amp;#39; /&amp;gt;   &amp;lt;Value Type=&amp;#39;Text&amp;#39;&amp;gt;doc.docx&amp;lt;/Value&amp;gt;   &amp;lt;/Eq&amp;gt;   &amp;lt;/Where&amp;gt;&amp;quot;;   SPListItemCollection collection = list.GetItems(query);   if (collection.Count != 1)   {   Console.WriteLine(&amp;quot;doc.docx not found&amp;quot;);   Environment.Exit(0);   }   Console.WriteLine(&amp;quot;Opening&amp;quot;);   SPFile file = collection[0].File;   byte[] byteArray = file.OpenBinary();   const string wordmlNamespace = &amp;quot;http://schemas.openxmlformats.org/wordprocessingml/2006/main&amp;quot;;   const string relationshipNamespace = &amp;quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships&amp;quot;;   string reference = &amp;quot;w:headerReference&amp;quot;;   using (MemoryStream memStr = new MemoryStream())   {   memStr.Write(byteArray, 0, byteArray.Length);   using (WordprocessingDocument wordDoc = WordprocessingDocument.Open(memStr, true))   {   Document document = wordDoc.MainDocumentPart.Document;  document.MainDocumentPart.DeleteParts(document.MainDocumentPart.FooterParts);   document.MainDocumentPart.DeleteParts(document.MainDocumentPart.HeaderParts);    AddPicHeader(wordDoc);     }     Console.WriteLine(&amp;quot;Saving&amp;quot;);   string linkFileName = file.Item[&amp;quot;LinkFilename&amp;quot;] as string;   file.ParentFolder.Files.Add(linkFileName, memStr, true);   }     }   }       public static Header Mkpicheader(WordprocessingDocument doc, string relationshipId)          {               //Define the reference of the image.                                           var element =                          new Drawing(                              new DW.Inline(                                  new DW.Extent() { Cx = 990000L, Cy = 792000L },                                  new DW.EffectExtent()                                  {                                      LeftEdge = 0L,                                      TopEdge = 0L,                                      RightEdge = 0L,                                      BottomEdge = 0L                                  },                                  new DW.DocProperties()                                  {                                      Id = (UInt32Value)1U,                                      Name = &amp;quot;Picture 1&amp;quot;                                  },                                  new DW.NonVisualGraphicFrameDrawingProperties(                                      new A.GraphicFrameLocks() { NoChangeAspect = true }),                                  new A.Graphic(                                      new A.GraphicData(                                          new PIC.Picture(                                              new PIC.NonVisualPictureProperties(                                                  new PIC.NonVisualDrawingProperties()                                                  {                                                      Id = (UInt32Value)0U,                                                      Name = &amp;quot;oando-logo.png&amp;quot;                                                  },                                                  new PIC.NonVisualPictureDrawingProperties()),                                              new PIC.BlipFill(                                                  new A.Blip(                                                      new A.BlipExtensionList(                                                          new A.BlipExtension()                                                          {                                                              Uri =                                                                &amp;quot;{28A0092B-C50C-407E-A947-70E740481C1C}&amp;quot;                                                          })                                                  )                                                  {                                                      Embed = relationshipId,                                                      CompressionState =                                                      A.BlipCompressionValues.Print                                                  },                                                  new A.Stretch(                                                      new A.FillRectangle())),                                              new PIC.ShapeProperties(                                                  new A.Transform2D(                                                      new A.Offset() { X = 0L, Y = 0L },                                                      new A.Extents() { Cx = 990000L, Cy = 792000L }),                                                  new A.PresetGeometry(                                                      new A.AdjustValueList()                                                  ) { Preset = A.ShapeTypeValues.Rectangle }))                                      ) { Uri = &amp;quot;http://schemas.openxmlformats.org/drawingml/2006/picture&amp;quot; })                              )                              {                                  DistanceFromTop = (UInt32Value)0U,                                  DistanceFromBottom = (UInt32Value)0U,                                  DistanceFromLeft = (UInt32Value)0U,                                  DistanceFromRight = (UInt32Value)0U,                                  EditId = &amp;quot;50D07946&amp;quot;                              });                       var header = new Header();                     var paragraph = new Paragraph();                     var run = new Run();                                          run.Append(element);                     paragraph.Append(run);                     header.Append(paragraph);                     return header;                                          //newHeaderPart.Header = header;                    // wordDoc.MainDocumentPart.Document.Body.AppendChild(new Paragraph(new Run(element)));                 }          public static void AddPicHeader(WordprocessingDocument doc)          {              ImagePart imgPart=doc.MainDocumentPart.AddImagePart(ImagePartType.Png);              var imagePartID = doc.MainDocumentPart.GetIdOfPart(imgPart);              using (Stream targetStream = imgPart.GetStream())              {                  using (FileStream sourceStream = new FileStream(&amp;quot;../../officelogo.gif&amp;quot;, FileMode.Open, FileAccess.Read))                  {                      byte[] buffer = new byte[1024];                      int nrBytesWritten = sourceStream.Read(buffer, 0, 1024);                      while (nrBytesWritten &amp;gt; 0)                      {                          targetStream.Write(buffer, 0, nrBytesWritten);                          nrBytesWritten = sourceStream.Read(buffer, 0, 1024);                      }                  }              }              if (doc.MainDocumentPart.HeaderParts.Count() == 0)              {                  doc.MainDocumentPart.DeleteParts(doc.MainDocumentPart.HeaderParts);                  var newHeaderPart = doc.MainDocumentPart.AddNewPart&amp;lt;HeaderPart&amp;gt;();                  var rId = doc.MainDocumentPart.GetIdOfPart(newHeaderPart);                  var headerRef = new HeaderReference();                  headerRef.Id = rId;                  var sectionProps = doc.MainDocumentPart.Document.Body.Elements&amp;lt;SectionProperties&amp;gt;().LastOrDefault();                  if (sectionProps == null)                  {                      sectionProps = new SectionProperties();                      doc.MainDocumentPart.Document.Body.Append(sectionProps);                  }                  sectionProps.RemoveAllChildren&amp;lt;HeaderReference&amp;gt;();                  sectionProps.Append(headerRef);                newHeaderPart.Header=Mkpicheader(doc,imagePartID);                  newHeaderPart.Header.Save();              }          }&lt;/pre&gt;  &lt;/p&gt;</description></item><item><title>Forum Post: Document merge</title><link>http://openxmldeveloper.org/discussions/formats/f/13/p/5405/158906.aspx#158906</link><pubDate>Sun, 13 May 2012 09:34:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158906</guid><dc:creator>hcoco</dc:creator><description>&lt;p&gt;I m using document builder to merge document sources but im facing a problem with numbering part.&lt;/p&gt;  &lt;p&gt;All Heading styles are shown in bullet style.&lt;/p&gt;  &lt;p&gt;Here is the code:&lt;/p&gt;  &lt;p&gt;var sources = new List&amp;lt;Source&amp;gt;();&lt;br /&gt;&amp;nbsp;foreach (var s in files) &amp;nbsp;&amp;nbsp;{&amp;nbsp; sources.Add(new Source(new WmlDocument(s), true)); &amp;nbsp;}&lt;/p&gt;  &lt;p&gt;string outputFile = &amp;quot;Output.docx&amp;quot;;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/p&gt;  &lt;p&gt;DocumentBuilder.BuildDocument(sources, outputFile&amp;nbsp;);&lt;/p&gt;  &lt;p&gt;Any Help would be appriciated.&lt;/p&gt;</description></item><item><title>Forum Post: Mail merge with word template using complex field type</title><link>http://openxmldeveloper.org/discussions/development_tools/f/35/p/5404/158905.aspx#158905</link><pubDate>Sun, 13 May 2012 06:55:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158905</guid><dc:creator>michaelxu</dc:creator><description>&lt;p&gt;I&amp;#39;m using XML SDK 2.0 to mail merge a template document that uses complex field type. A sample is included below, it is a FORMTEXT field. The data from database will replace whole section starting from &amp;lt;w:fldChar w:fldCharType=&amp;quot;begin&amp;quot;&amp;gt; to &amp;lt;w.fldChar w:fldCharType=&amp;quot;end&amp;quot; /&amp;gt;.  Any recommandation/suggestion how to do it using SDK?&lt;/p&gt;  &lt;p&gt; &amp;lt;w:r&amp;gt;&lt;/p&gt;  &lt;p&gt;     &amp;lt;w:fldChar w:fldCharType=&amp;quot;begin&amp;quot;&amp;gt;&lt;br /&gt;          &amp;lt;w:ffData&amp;gt;&lt;br /&gt;            &amp;lt;w:name w:val=&amp;quot;Date_LongDate01&amp;quot; /&amp;gt;&lt;br /&gt;            &amp;lt;w:enabled /&amp;gt;&lt;br /&gt;            &amp;lt;w:calcOnExit w:val=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;            &amp;lt;w:textInput&amp;gt;&lt;br /&gt;              &amp;lt;w:default w:val=&amp;quot;{Date.Long Date}&amp;quot; /&amp;gt;&lt;br /&gt;            &amp;lt;/w:textInput&amp;gt;&lt;br /&gt;          &amp;lt;/w:ffData&amp;gt;&lt;br /&gt;        &amp;lt;/w:fldChar&amp;gt;&lt;br /&gt;        &amp;lt;w:instrText xml:space=&amp;quot;preserve&amp;quot;&amp;gt; FORMTEXT &amp;lt;/w:instrText&amp;gt;&lt;br /&gt;        &amp;lt;w:fldChar w:fldCharType=&amp;quot;separate&amp;quot; /&amp;gt;&lt;br /&gt;        &amp;lt;w:t&amp;gt;{Date.Long Date}&amp;lt;/w:t&amp;gt;&lt;br /&gt;        &amp;lt;w:fldChar w:fldCharType=&amp;quot;end&amp;quot; /&amp;gt;&lt;br /&gt;  &lt;br /&gt;      &amp;lt;/w:r&amp;gt; &lt;/p&gt;  &lt;p&gt;thanks&lt;/p&gt;  &lt;p&gt;Michael&lt;/p&gt;</description></item><item><title>Forum Post: Re: stylesWithEffects</title><link>http://openxmldeveloper.org/discussions/formats/f/13/p/5355/158902.aspx#158902</link><pubDate>Fri, 11 May 2012 14:11:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158902</guid><dc:creator>jimfjerstad</dc:creator><description>&lt;p&gt;I answered the &amp;quot;how that preservation was manifest in Word 2010&amp;quot; question by clicking on the Convert button in the Info section of the File tab. That button converts the file back to Word 2010. When Word converts the file to 2010 format, it applies the styling information in stylesWithEffects part.&lt;/p&gt; </description></item></channel></rss>
