<?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>WordprocessingML - Recent Threads</title><link>http://openxmldeveloper.org/discussions/formats/f/13.aspx</link><description /><dc:language /><generator>Telligent Community 5.6.582.12783 (Build: 5.6.582.12783)</generator><item><title>Adding Multiple Images At Set Location</title><link>http://openxmldeveloper.org/thread/160877.aspx</link><pubDate>Thu, 23 May 2013 07:53:11 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:160877</guid><dc:creator>Dane Balia</dc:creator><slash:comments>1</slash:comments><comments>http://openxmldeveloper.org/thread/160877.aspx</comments><wfw:commentRss>http://openxmldeveloper.org/discussions/formats/f/13/t/160877/rss.aspx</wfw:commentRss><description>&lt;p&gt;I currently am inserting images with Picture Content Controls, but there appears to be an obvious limitation (by nature of the control) to only 1 IMAGE.&lt;/p&gt;
&lt;p&gt;How can I add multiple images at a set location using the OpenXML SDK (2+)?&lt;/p&gt;
&lt;p&gt;PS. I did try BookMarks but that doesn&amp;#39;t seem to work, just results in a broken document. I already have quite a bit of code that&amp;#39;s building an existing document, so considering the mHtml route is not an option. Lastly I did try the OpenXML SDK Productivity Tool, but still can&amp;#39;t see how to insert multiple images at a set location.&lt;/p&gt;
&lt;p&gt;Forgive me if this has been asked before, I did check the forum and found nothing matching.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;h1&gt;&lt;/h1&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Require Help</title><link>http://openxmldeveloper.org/thread/160870.aspx</link><pubDate>Sat, 18 May 2013 07:14:58 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:160870</guid><dc:creator>pankajbaviskar</dc:creator><slash:comments>0</slash:comments><comments>http://openxmldeveloper.org/thread/160870.aspx</comments><wfw:commentRss>http://openxmldeveloper.org/discussions/formats/f/13/t/160870/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am new to OpenXml , my requirement is i want to develop a word document which having text, tables and chart in that. i had written code for that , when i open word it gives unspecified Error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>DocumentBuilder dont find file create in runtime</title><link>http://openxmldeveloper.org/thread/160854.aspx</link><pubDate>Mon, 13 May 2013 21:31:27 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:160854</guid><dc:creator>ClaudiaJS</dc:creator><slash:comments>2</slash:comments><comments>http://openxmldeveloper.org/thread/160854.aspx</comments><wfw:commentRss>http://openxmldeveloper.org/discussions/formats/f/13/t/160854/rss.aspx</wfw:commentRss><description>&lt;p&gt;i use DocumentBuilder.BuildDocument(Sources, Outfile) , i created a dynamically files list (The source), i try to do a file merging this list, inside the list, i have three files, created in runtime, when i do the debug of the project, the files are there i can see him and read, but when documentbuilder take the list to do the merge, seems dont find this files, the other files (created non in runtime) are reading by the process.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;this is my code.&amp;nbsp;&lt;/p&gt;
&lt;pre class="prettyprint"&gt; &amp;#39;Procedure with OpenXml - File generated with openxml
&lt;span style="color:#0000ff;"&gt;Dim AddressFile1 As String = doc.GeneraFile1()
Dim AddressFile2 As String = doc.GeneraFile2()
Dim AddressFile3 As String = doc.GeneraFile3()
&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;pre class="prettyprint"&gt;&lt;span style="color:#0000ff;"&gt;            Dim sources As List(Of OpenXmlPowerTools.Source) = Nothing
            sources = New List(Of OpenXmlPowerTools.Source)
            Dim MyBoolean As Boolean = True

            Dim Stringa As String = &amp;quot;SELECT *  FROM ListFiles&amp;quot;
            Dt = csDati.BaseQueryGral(Stringa)

            sources.Add(New OpenXmlPowerTools.Source(New WmlDocument(AddressFile1), MyBoolean))
            sources.Add(New OpenXmlPowerTools.Source(New WmlDocument(AddressFile2), MyBoolean))
            If Dt.Rows.Count &amp;gt; 0 Then
                For Each row As DataRow In Dt.Rows
                    FileName = row(&amp;quot;strIndFileDescrittivo&amp;quot;).ToString()
                    StrIndirizzoDb = (Server.MapPath(FileName))
                    sources.Add(New OpenXmlPowerTools.Source(New WmlDocument(StrIndirizzoDb), MyBoolean))
                    MyBoolean = False
                Next
            End If
            sources.Add(New OpenXmlPowerTools.Source(New WmlDocument(AddressFile3), MyBoolean))

            Dim IndFinal As String = &amp;quot;d:\OutFinal.docx&amp;quot;
            DocumentBuilder.BuildDocument(sources, IndFinal)
&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any Idea about this??&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Get position of character or paragraph in Word document</title><link>http://openxmldeveloper.org/thread/160743.aspx</link><pubDate>Sat, 27 Apr 2013 03:57:15 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:160743</guid><dc:creator>jack London</dc:creator><slash:comments>1</slash:comments><comments>http://openxmldeveloper.org/thread/160743.aspx</comments><wfw:commentRss>http://openxmldeveloper.org/discussions/formats/f/13/t/160743/rss.aspx</wfw:commentRss><description>&lt;p&gt;How to get exactly position of a character or paragraph in MS Word document?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Extract paragraph information from Word document</title><link>http://openxmldeveloper.org/thread/160718.aspx</link><pubDate>Thu, 25 Apr 2013 04:42:06 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:160718</guid><dc:creator>jack London</dc:creator><slash:comments>6</slash:comments><comments>http://openxmldeveloper.org/thread/160718.aspx</comments><wfw:commentRss>http://openxmldeveloper.org/discussions/formats/f/13/t/160718/rss.aspx</wfw:commentRss><description>&lt;p&gt;The following xml code describe MS Word paragraph :&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;-&amp;lt;Pages&amp;gt;&lt;/p&gt;
&lt;p&gt;-&amp;lt;Page id=&amp;quot;11&amp;quot;&amp;gt;-&lt;/p&gt;
&lt;p&gt;&amp;lt;P id=&amp;quot;4C1D2019&amp;quot; storyId=&amp;quot;1&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;T id=&amp;quot;294&amp;quot; cw=&amp;quot;,5;,5;,5;,6;,5;,5;,6;,5;,6;,5;,5;,6;,5;,6;,5;,5;,6;,5;,5;,5;,6;,5;,6;,5;,5;,6;,5;,6;,5;,5;,6;,5;,6;,5;,5;,6;,5;,6;,5;,5;,6;,5;,6;,5;,5;,6;,5;,6;,5;,5;,6;,6;,5;&amp;quot; b=&amp;quot;1&amp;quot; h=&amp;quot;12&amp;quot; w=&amp;quot;382.5&amp;quot; t=&amp;quot;97.3&amp;quot; l=&amp;quot;120.1&amp;quot;&amp;gt;Text Here &amp;lt;/T&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/P&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/Page&amp;gt;&lt;/p&gt;
&lt;p&gt;This xml can be parsed by javascript to render to web browser. I&amp;#39;m confusing What is the meaning of cw , t and l property of T tag. How can i extract paragraph information from word document.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Find two paragraphs by inner text and insert xml in between them.</title><link>http://openxmldeveloper.org/thread/160707.aspx</link><pubDate>Thu, 18 Apr 2013 16:56:59 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:160707</guid><dc:creator>thomasFR</dc:creator><slash:comments>3</slash:comments><comments>http://openxmldeveloper.org/thread/160707.aspx</comments><wfw:commentRss>http://openxmldeveloper.org/discussions/formats/f/13/t/160707/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hello, my first post here because i&amp;#39;m stuck and I am new to open xml.&lt;/p&gt;
&lt;p&gt;My problem is the following, I first need to locate two specific paragraphs...&lt;/p&gt;
&lt;p&gt;Example : locate &amp;lt;w:t&amp;gt;lambda text1&amp;lt;/w:t&amp;gt;&amp;lt;/w:r&amp;gt;&amp;lt;/w:p&amp;gt; and&amp;nbsp;&amp;lt;w:t&amp;gt;lambda text2&amp;lt;/w:t&amp;gt;&amp;lt;/w:r&amp;gt;&amp;lt;/w:p&amp;gt;&lt;/p&gt;
&lt;p&gt;Then delete all xml between these two paragraphs.&lt;/p&gt;
&lt;p&gt;Then I need to insert into main document part xml that has been built from scratch (tables, paragraphs ect...) exactly after the &amp;lt;/w:p&amp;gt; of the first located paragraph in order to replace the content that was previously there between my two located paragraphs.&lt;/p&gt;
&lt;p&gt;I can build all the elements I wish to insert but I just can&amp;#39;t find a way to replace an old complex content by a new one.&lt;/p&gt;
&lt;p&gt;I hope my question is clear... Many thanks !&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Multiple OleObjects (Linked Objects) are not getting merged properly using DocumentBuilder</title><link>http://openxmldeveloper.org/thread/160686.aspx</link><pubDate>Fri, 12 Apr 2013 07:44:03 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:160686</guid><dc:creator>fenilrathod</dc:creator><slash:comments>1</slash:comments><comments>http://openxmldeveloper.org/thread/160686.aspx</comments><wfw:commentRss>http://openxmldeveloper.org/discussions/formats/f/13/t/160686/rss.aspx</wfw:commentRss><description>&lt;p&gt;&lt;span&gt;Hi,&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;I&amp;#39;m getting issues during merging multiple documents having OleObjects (Linked Objects) having external relationships to files using DocumentBuilder.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;You can reproduce this issue by having multiple linked objects in it and try to merge them using DocumentBuilder.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;As a result you will have a merged document with OleObjects with broken external relationship and you will no longer able to update those objects by clicking them.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;I just want to know if this is the issue with DocumentBuilder or I am doing something wrong?&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Fenil.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Clone Bookmark</title><link>http://openxmldeveloper.org/thread/160684.aspx</link><pubDate>Thu, 11 Apr 2013 21:29:32 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:160684</guid><dc:creator>websamurai</dc:creator><slash:comments>1</slash:comments><comments>http://openxmldeveloper.org/thread/160684.aspx</comments><wfw:commentRss>http://openxmldeveloper.org/discussions/formats/f/13/t/160684/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I need to copy one bookmark (source) in a word document on an other location in the same document (destination).&lt;/p&gt;
&lt;p&gt;This bookmark contains other bookmark and content controls.&lt;/p&gt;
&lt;p&gt;I can duplicate the bookmark but all the bookmarks are now in the duplicated one.&lt;/p&gt;
&lt;p&gt;I need to work on the original bookmark (source).&lt;/p&gt;
&lt;p&gt;The main feature is the copy paragraphs and bookmarks with within a main bookmark and remove the unused paragraphs defined within bookmarks.&lt;/p&gt;
&lt;p&gt;Any idea?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Compare two documents and merge the changes using RSIDs</title><link>http://openxmldeveloper.org/thread/160675.aspx</link><pubDate>Mon, 08 Apr 2013 09:09:26 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:160675</guid><dc:creator>fenilrathod</dc:creator><slash:comments>1</slash:comments><comments>http://openxmldeveloper.org/thread/160675.aspx</comments><wfw:commentRss>http://openxmldeveloper.org/discussions/formats/f/13/t/160675/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;I have a scenario where after editing the document (i.e., adding, deleting, moving paragraphs), I need to merge those changes to original document. And related to this I&amp;#39;ve few questions on which I would like suggestions.&lt;/p&gt;
&lt;p&gt;1] How can we identify that the document is edited or changed? After doing some research I&amp;#39;ve found RSIDs in the settings.xml could be useful for this. But not getting how to use it exactly.&lt;/p&gt;
&lt;p&gt;2] How can we compare two documents based on RSIDs and merge the changes?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Fenil.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Is it possible to use Custom XML tags?</title><link>http://openxmldeveloper.org/thread/160659.aspx</link><pubDate>Tue, 02 Apr 2013 12:35:45 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:160659</guid><dc:creator>fenilrathod</dc:creator><slash:comments>1</slash:comments><comments>http://openxmldeveloper.org/thread/160659.aspx</comments><wfw:commentRss>http://openxmldeveloper.org/discussions/formats/f/13/t/160659/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;I m trying to wrap bunch of paragraphs by custom xml tag with few custom attributes.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i.e, &lt;/p&gt;
&lt;p&gt;
&lt;pre class="prettyprint"&gt;&amp;lt;customTag attr=&amp;quot;attrValue&amp;quot; attr1=&amp;quot;attr1Value&amp;quot;&amp;gt;

&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;

&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;

&amp;lt;/customTag&amp;gt;&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;I am looking for any suggestion that, is it possible to do this? or any other way to mark paragraphs with few custom properties?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Fenil.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Tricky: MS Word vs Google Docs: Numbering starts at 2 whilst &lt;w:start w:val="1"/&gt;</title><link>http://openxmldeveloper.org/thread/160640.aspx</link><pubDate>Tue, 26 Mar 2013 19:47:43 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:160640</guid><dc:creator>kdeebee</dc:creator><slash:comments>1</slash:comments><comments>http://openxmldeveloper.org/thread/160640.aspx</comments><wfw:commentRss>http://openxmldeveloper.org/discussions/formats/f/13/t/160640/rss.aspx</wfw:commentRss><description>&lt;p&gt;Consider the following MS Word document numbering (attached is the original .docx file):&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img border="0" src="http://openxmldeveloper.org/resized-image.ashx/__size/550x0/__key/communityserver-discussions-components-files/13/1731.worddocnumbering.jpg" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;In summary this numbering consists off:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Three paragraphs with&amp;nbsp;&amp;lt;w:ilvl w:val=&amp;quot;2&amp;quot;/&amp;gt;&lt;/li&gt;
&lt;li&gt;Then a paragraph with&amp;nbsp;&lt;span&gt;&amp;lt;w:ilvl&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;span&gt;w:val&lt;/span&gt;=&amp;quot;&lt;span&gt;1&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;/&amp;gt; that is under consideration&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;A last paragraph with&amp;nbsp;&lt;span&gt;&amp;lt;w:ilvl&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;span&gt;w:val&lt;/span&gt;=&amp;quot;&lt;span&gt;1&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;/&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;When opening the &lt;a title="Bullets and Numbering" href="http://screencast.com/t/1a83QXAXP1EL"&gt;&amp;quot;Bullets and Numbering&amp;quot; menu&lt;/a&gt;&amp;nbsp;for the considered paragraph, it states that counting starts at 2 for level 2 (thus ilvl 1), so you would expect the paragraph under consideration to have a number of 2. All makes sense!&lt;/p&gt;
&lt;p&gt;My challenge is that I do not find anything in the underlying XML to back this up, and am therefore not able to render this document properly in my consumer. The steps I follow are as follows: &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The &lt;a title="paragraph" href="http://screencast.com/t/VOJuu7bEa"&gt;paragraph&lt;/a&gt; has a pStyle of &amp;quot;ListParagraph&amp;quot;. This &lt;a title="style" href="http://screencast.com/t/44OREwQU5Y"&gt;style&lt;/a&gt; does not contain any numbering information, nor does the &lt;a title="Normal Style" href="http://screencast.com/t/fUONCzGFBiV8"&gt;&amp;quot;Normal&amp;quot; style&lt;/a&gt; that it is based on.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;So we look at the &amp;lt;numPr&amp;gt; information in the document part: ilvl = 1, numId = 15&lt;/li&gt;
&lt;li&gt;In &lt;a title="numId information" href="http://screencast.com/t/24WyMlYHWBF"&gt;the numbering part&lt;/a&gt;, the numId of 15 is mapped to an abstractNumId of 16. There is no lvlOverride tag to consider.&lt;/li&gt;
&lt;li&gt;The &lt;a title="lvl" href="http://screencast.com/t/w76zpLGb"&gt;relevant lvl &lt;/a&gt;(given ilvl = 1 and abstractNumId = 16) contains the following tag:&amp;nbsp;&lt;strong&gt;&amp;lt;w:start&amp;nbsp;w:val=&amp;quot;1&amp;quot;/&amp;gt;.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Based on a start tag of 1, I would have expected a count starting at 1), instead of 2).&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Maybe&amp;nbsp;&lt;strong&gt;&amp;lt;w:lvlText&amp;nbsp;w:val=&amp;quot;%2)&amp;quot;&lt;/strong&gt;&lt;strong&gt;/&amp;gt;&lt;/strong&gt; plays a role here? But my understanding of this tag is that it states that the numbering of Level 2 (i.e. ilvl 1) applies here, with an &amp;quot;)&amp;quot; character at the end. So &amp;quot;%2&amp;quot; is replaced with whatever number is applicable at ilvl 1, and given it is the first item in this list... we look at the &amp;lt;w:start&amp;gt; tag... which is set to 1?&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;I am obviously missing something here. Does anyone know why the considered paragraph starts with a 2, instead of 1?&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;FYI: I opened the document in &lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;Google Docs&lt;/strong&gt;&lt;/span&gt; and the folks at Google seems to be confused too... as they use 1 as well!! &amp;nbsp;;-)&lt;/p&gt;
&lt;p&gt;&lt;img border="0" src="http://openxmldeveloper.org/resized-image.ashx/__size/550x0/__key/communityserver-discussions-components-files/13/5415.Google_5F00_Version.jpg" alt=" " /&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>numbered list are reinica</title><link>http://openxmldeveloper.org/thread/160623.aspx</link><pubDate>Sat, 23 Mar 2013 01:53:18 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:160623</guid><dc:creator>danxkode</dc:creator><slash:comments>0</slash:comments><comments>http://openxmldeveloper.org/thread/160623.aspx</comments><wfw:commentRss>http://openxmldeveloper.org/discussions/formats/f/13/t/160623/rss.aspx</wfw:commentRss><description>&lt;p&gt;How about working with Word2007&amp;#39;m processing the PowerTools for OpenXML document that I need to convert HTML where I need to identify each element of the template by which items are added rich text type on the Developer tab where each element is added to the text with numbered lists eg&lt;/p&gt;
&lt;p&gt;1. PURPOSE AND SCOPE&lt;/p&gt;
&lt;p&gt;1.1. if&lt;/p&gt;
&lt;p&gt;1.2. no&lt;/p&gt;
&lt;p&gt;2. RULES&lt;/p&gt;
&lt;p&gt;2.1. if&lt;/p&gt;
&lt;p&gt;2.2. no&lt;/p&gt;
&lt;p&gt;3. SANCTIONS&lt;/p&gt;
&lt;p&gt;the problem is when it processes the next item as it resets the list numbered 1 as follows&lt;/p&gt;
&lt;p&gt;1. POLICY&lt;/p&gt;
&lt;p&gt;1.1. if&lt;/p&gt;
&lt;p&gt;1.2. no&lt;/p&gt;
&lt;p&gt;2. OPERATION&lt;/p&gt;
&lt;p&gt;2.1. if&lt;/p&gt;
&lt;p&gt;2.2. no&lt;/p&gt;
&lt;p&gt;when serious or is right and so is set to create the content of the document&lt;/p&gt;
&lt;p&gt;4. POLICY&lt;/p&gt;
&lt;p&gt;4.1. if&lt;/p&gt;
&lt;p&gt;4.2. no&lt;/p&gt;
&lt;p&gt;5. OPERATION&lt;/p&gt;
&lt;p&gt;5.1. if&lt;/p&gt;
&lt;p&gt;5.2. no&lt;/p&gt;
&lt;p&gt;summarizing this correct full processing would be as follows&lt;/p&gt;
&lt;p&gt;/ ******* ******* ONE ELEMENT *****/&lt;/p&gt;
&lt;p&gt;1. PURPOSE AND SCOPE&lt;/p&gt;
&lt;p&gt;1.1. if&lt;/p&gt;
&lt;p&gt;1.2. no&lt;/p&gt;
&lt;p&gt;2. RULES&lt;/p&gt;
&lt;p&gt;2.1. if&lt;/p&gt;
&lt;p&gt;2.2. no&lt;/p&gt;
&lt;p&gt;3. SANCTIONS&lt;/p&gt;
&lt;p&gt;/ ******* ITEM TWO ****** /&lt;/p&gt;
&lt;p&gt;4. POLICY&lt;/p&gt;
&lt;p&gt;4.1. if&lt;/p&gt;
&lt;p&gt;4.2. no&lt;/p&gt;
&lt;p&gt;5. OPERATION&lt;/p&gt;
&lt;p&gt;5.1. if&lt;/p&gt;
&lt;p&gt;5.2. no&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Embedding Documents/Object in Word by Using the Open XML SDK</title><link>http://openxmldeveloper.org/thread/160621.aspx</link><pubDate>Fri, 22 Mar 2013 07:09:07 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:160621</guid><dc:creator>josephrxavier</dc:creator><slash:comments>0</slash:comments><comments>http://openxmldeveloper.org/thread/160621.aspx</comments><wfw:commentRss>http://openxmldeveloper.org/discussions/formats/f/13/t/160621/rss.aspx</wfw:commentRss><description>&lt;p&gt;Using the following &amp;quot;&lt;a title="Embedding Documents" href="http://msdn.microsoft.com/en-ca/library/ee355229.aspx"&gt;http://msdn.microsoft.com/en-ca/library/ee355229.aspx&lt;/a&gt;&amp;quot; i am able to embed documents in word successfully. But while inserting i am unable to change the name of the object. (By default it shows as &amp;#39;Embedded document&amp;#39;&amp;nbsp;-- May be comes from the image part.). Is there any way to mention the Object name dynamically?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>The element has unexpected child element Validation error</title><link>http://openxmldeveloper.org/thread/160549.aspx</link><pubDate>Thu, 07 Mar 2013 19:10:40 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:160549</guid><dc:creator>Phlow</dc:creator><slash:comments>1</slash:comments><comments>http://openxmldeveloper.org/thread/160549.aspx</comments><wfw:commentRss>http://openxmldeveloper.org/discussions/formats/f/13/t/160549/rss.aspx</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m getting a number of validation errors that I&amp;#39;m not able to resolve.&lt;/p&gt;
&lt;p&gt;The errors that validation is complaining about seem to be fine to me, from a documentation standpoint.&lt;/p&gt;
&lt;p&gt;Is there anything I can do to see why it&amp;#39;s complaining?&amp;nbsp; Maybe analyze the xsd?&amp;nbsp; The descriptions don&amp;#39;t really explain what conflict it&amp;#39;s finding.&lt;/p&gt;
&lt;p&gt;Validation errors:&lt;/p&gt;
&lt;p&gt;Type: Schema&lt;br /&gt;Path: /w:document[1]/w:body[1]/w:p[4]/w:pPr[1]&lt;br /&gt;Node: ParagraphProperties (pPr)&lt;br /&gt;Related Node: Indentation (ind)&lt;br /&gt;Description: The element has unexpected child element &amp;#39;http://schemas.openxmlformats.org/wordprocessingml/2006/main:ind&amp;#39;.&lt;br /&gt;-----------------------&lt;br /&gt;Type: Schema&lt;br /&gt;Path: /w:document[1]/w:body[1]/w:tbl[1]/w:tr[3]/w:tc[2]/w:p[2]/w:r[3]/w:rPr[1]&lt;br /&gt;Node: RunProperties (rPr)&lt;br /&gt;Related Node: Bold (b)&lt;br /&gt;Description: The element has unexpected child element &amp;#39;http://schemas.openxmlformats.org/wordprocessingml/2006/main:b&amp;#39;.&lt;br /&gt;-----------------------&lt;br /&gt;Type: Schema&lt;br /&gt;Path: /w:document[1]/w:body[1]/w:tbl[1]/w:tr[3]/w:tc[3]/w:p[2]/w:r[1]/w:rPr[1]&lt;br /&gt;Node: RunProperties (rPr)&lt;br /&gt;Related Node: Italic (i)&lt;br /&gt;Description: The element has unexpected child element &amp;#39;http://schemas.openxmlformats.org/wordprocessingml/2006/main:i&amp;#39;.&lt;br /&gt;-----------------------&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Error for register dll OpenXmlTools</title><link>http://openxmldeveloper.org/thread/160523.aspx</link><pubDate>Fri, 01 Mar 2013 10:51:13 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:160523</guid><dc:creator>ClaudiaJS</dc:creator><slash:comments>1</slash:comments><comments>http://openxmldeveloper.org/thread/160523.aspx</comments><wfw:commentRss>http://openxmldeveloper.org/discussions/formats/f/13/t/160523/rss.aspx</wfw:commentRss><description>&lt;p&gt;i try to install my web app in a server Win 2008 , i use dll of Documentbuilder, unfortunately , i have an error when i try to build the document the error is : &amp;quot;Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005 Accesso negato. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).&amp;quot; &amp;nbsp;any idea&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I use the tool for dll control, and as an error for the lack of dll OpenXmlPowerTools I have the dll in the root of the web app&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any idea about this&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;PS: Rigth now i try to open the file with OpenXmlSdk productivity tools and this other error:&lt;/p&gt;
&lt;p&gt;&amp;quot;cannot open the file : part/customxml/item3.xml: element root leak&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>How to Check a Checkbox in Word Table</title><link>http://openxmldeveloper.org/thread/160502.aspx</link><pubDate>Mon, 25 Feb 2013 18:29:16 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:160502</guid><dc:creator>bloremohan</dc:creator><slash:comments>0</slash:comments><comments>http://openxmldeveloper.org/thread/160502.aspx</comments><wfw:commentRss>http://openxmldeveloper.org/discussions/formats/f/13/t/160502/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have a checkbox field in tabel row 1 and cell 1, I like to check/uncheck it from my program. See what I am doing here and suggest me right solution:&lt;/p&gt;
&lt;p&gt;Word.TableCell cell2 = row.Elements&amp;lt;Word.TableCell&amp;gt;().ElementAt(1);&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Word.CheckBox cb = cell2.Elements&amp;lt;Word.CheckBox&amp;gt;().First();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FormFieldName cbName = (FormFieldName)cb.Parent.ChildElements.FirstOrDefault();&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DefaultCheckBoxFormFieldState defaultState = cb.GetFirstChild&amp;lt;DefaultCheckBoxFormFieldState&amp;gt;();&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; defaultState.Val = true;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Word (.doc) to OpenXML conversion using C#</title><link>http://openxmldeveloper.org/thread/160478.aspx</link><pubDate>Wed, 20 Feb 2013 11:24:56 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:160478</guid><dc:creator>misawasim</dc:creator><slash:comments>0</slash:comments><comments>http://openxmldeveloper.org/thread/160478.aspx</comments><wfw:commentRss>http://openxmldeveloper.org/discussions/formats/f/13/t/160478/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hello Friends,&lt;/p&gt;
&lt;p&gt;I want to convert a Word (.doc) &amp;nbsp;file into OpenXML using C#.&lt;/p&gt;
&lt;p&gt;Its a large sum of files, so I need a program in C# with the help of which I can do it.&lt;/p&gt;
&lt;p&gt;Please help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>WordML to OpenXML converstion using C#</title><link>http://openxmldeveloper.org/thread/160477.aspx</link><pubDate>Wed, 20 Feb 2013 11:03:32 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:160477</guid><dc:creator>misawasim</dc:creator><slash:comments>0</slash:comments><comments>http://openxmldeveloper.org/thread/160477.aspx</comments><wfw:commentRss>http://openxmldeveloper.org/discussions/formats/f/13/t/160477/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hello Friends,&lt;/p&gt;
&lt;p&gt;I want to convert a WordML file into OpenXML using C#.&lt;/p&gt;
&lt;p&gt;Its a large some of files, so I want to need a program in C# with help of which I can do it.&lt;/p&gt;
&lt;p&gt;Please help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Apply existing styles in Word</title><link>http://openxmldeveloper.org/thread/160429.aspx</link><pubDate>Wed, 13 Feb 2013 17:35:17 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:160429</guid><dc:creator>GenesysMarty</dc:creator><slash:comments>1</slash:comments><comments>http://openxmldeveloper.org/thread/160429.aspx</comments><wfw:commentRss>http://openxmldeveloper.org/discussions/formats/f/13/t/160429/rss.aspx</wfw:commentRss><description>&lt;p&gt;&lt;span style="font-family:arial,helvetica,sans-serif;"&gt;I&amp;#39;ve been able to create code that takes an existing document and inserts text (paragraphs and tables). I&amp;#39;ve found sample code that creates a style and applies it.  What I cannot figure out is how to apply a style that already exists in the document (&amp;quot;Heading 1&amp;quot; or &amp;quot;Heading 2&amp;quot;) to the paragraph I am inserting.  I&amp;#39;ve used this as my example:  &lt;a href="http://msdn.microsoft.com/en-us/library/office/gg188062.aspx"&gt;http://msdn.microsoft.com/en-us/library/office/gg188062.aspx&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:arial,helvetica,sans-serif;"&gt;The Word document I&amp;#39;m inserting text into is pre-formatted based on a corporate template, with the cover, TOC, etc. and I am using OpenXML to append text to it, but need to apply the existing styles to preserve the look of the document, and to have the Table of Contents update correctly.  I&amp;#39;m working in Visual Studio with VB.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:arial,helvetica,sans-serif;"&gt;Any advice I can get will be greatly appreciated!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:arial,helvetica,sans-serif;"&gt;Thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:arial,helvetica,sans-serif;"&gt;Marty&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;&lt;span style="font-family:book antiqua,palatino;"&gt;
&lt;p&gt;&lt;span style="font-family:arial black,avant garde;"&gt;
&lt;p&gt;&lt;span style="font-family:arial,helvetica,sans-serif;"&gt;
&lt;p&gt;&lt;span style="font-size:x-small;"&gt;
&lt;p&gt;&lt;span style="font-size:small;"&gt;
&lt;p&gt;&lt;span style="color:#008000;font-family:Consolas;"&gt;
&lt;p&gt;&lt;span style="color:#008000;font-family:Consolas;"&gt;
&lt;p&gt;&lt;span style="color:#008000;font-family:Consolas;"&gt;
&lt;p&gt;&lt;span style="color:#008000;font-family:Consolas;"&gt;&lt;span style="color:#008000;font-family:Consolas;"&gt;&lt;span style="color:#008000;font-family:Consolas;"&gt;&lt;span style="color:#000000;font-family:Arial;font-size:x-small;"&gt;﻿&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>How to identify watermark in xml file format</title><link>http://openxmldeveloper.org/thread/160349.aspx</link><pubDate>Tue, 05 Feb 2013 11:15:49 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:160349</guid><dc:creator>prasanna.barate@synerzip.com</dc:creator><slash:comments>3</slash:comments><comments>http://openxmldeveloper.org/thread/160349.aspx</comments><wfw:commentRss>http://openxmldeveloper.org/discussions/formats/f/13/t/160349/rss.aspx</wfw:commentRss><description>&lt;p&gt;hi ..&lt;/p&gt;
&lt;p&gt;I am working on watermark issue but i am having problem while 
identifying watermark in xml file format .. can any one tell me how to 
identify watermark.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>What types of pictures can be embedded in a word document</title><link>http://openxmldeveloper.org/thread/160343.aspx</link><pubDate>Mon, 04 Feb 2013 15:21:49 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:160343</guid><dc:creator>ajfish</dc:creator><slash:comments>2</slash:comments><comments>http://openxmldeveloper.org/thread/160343.aspx</comments><wfw:commentRss>http://openxmldeveloper.org/discussions/formats/f/13/t/160343/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t find anywhere in the documentation where there is a mention of what types of picture can be embedded in a Word document. It seems this is always done with an &amp;lt;a:blip&amp;gt; element but that does not in itself define the type - I presume that&amp;#39;s left for word to decide on the basis of the file extension.&lt;/p&gt;
&lt;p&gt;If there isn&amp;#39;t an official list, can anyone name any more please, so far I have:&lt;/p&gt;
&lt;p&gt;png, gif, bmp, jpeg, emf, wmf, emz, wmz,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Restarting numbering after section break...</title><link>http://openxmldeveloper.org/thread/160148.aspx</link><pubDate>Thu, 17 Jan 2013 23:45:25 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:160148</guid><dc:creator>gemmell</dc:creator><slash:comments>8</slash:comments><comments>http://openxmldeveloper.org/thread/160148.aspx</comments><wfw:commentRss>http://openxmldeveloper.org/discussions/formats/f/13/t/160148/rss.aspx</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m loading a template docx and generating content into it. As a part of this process I put in a section break and then continue to generate. However I want to tell it to restart that numbering.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now I&amp;#39;ve read the spec for &amp;lt;w:lvlRestart&amp;gt; and friends, and I&amp;#39;ve seen what word does when you right click-&amp;gt;Restart Numbering (it adds something like this:&lt;/p&gt;
&lt;p&gt;
&lt;pre class="prettyprint"&gt;document.xml

         &amp;lt;w:pPr&amp;gt;
            &amp;lt;w:pStyle w:val=&amp;quot;StyleHead1&amp;quot;/&amp;gt;
            &amp;lt;w:numPr&amp;gt;
               &amp;lt;w:ilvl w:val=&amp;quot;0&amp;quot;/&amp;gt;
               &amp;lt;w:numId w:val=&amp;quot;42&amp;quot;/&amp;gt;
            &amp;lt;/w:numPr&amp;gt;
         &amp;lt;/w:pPr&amp;gt;

numbering.xml

   &amp;lt;w:num w:numId=&amp;quot;42&amp;quot;&amp;gt;
      &amp;lt;w:abstractNumId w:val=&amp;quot;35&amp;quot;/&amp;gt;
      &amp;lt;w:lvlOverride w:ilvl=&amp;quot;0&amp;quot;&amp;gt;
         &amp;lt;w:startOverride w:val=&amp;quot;1&amp;quot;/&amp;gt;
      &amp;lt;/w:lvlOverride&amp;gt;
      &amp;lt;w:lvlOverride w:ilvl=&amp;quot;1&amp;quot;&amp;gt;
         &amp;lt;w:startOverride w:val=&amp;quot;1&amp;quot;/&amp;gt;
      &amp;lt;/w:lvlOverride&amp;gt;
      &amp;lt;w:lvlOverride w:ilvl=&amp;quot;2&amp;quot;&amp;gt;
         &amp;lt;w:startOverride w:val=&amp;quot;1&amp;quot;/&amp;gt;
      &amp;lt;/w:lvlOverride&amp;gt;
      &amp;lt;w:lvlOverride w:ilvl=&amp;quot;3&amp;quot;&amp;gt;
         &amp;lt;w:startOverride w:val=&amp;quot;1&amp;quot;/&amp;gt;
      &amp;lt;/w:lvlOverride&amp;gt;
      &amp;lt;w:lvlOverride w:ilvl=&amp;quot;4&amp;quot;&amp;gt;
         &amp;lt;w:startOverride w:val=&amp;quot;1&amp;quot;/&amp;gt;
      &amp;lt;/w:lvlOverride&amp;gt;
      &amp;lt;w:lvlOverride w:ilvl=&amp;quot;5&amp;quot;&amp;gt;
         &amp;lt;w:startOverride w:val=&amp;quot;1&amp;quot;/&amp;gt;
      &amp;lt;/w:lvlOverride&amp;gt;
      &amp;lt;w:lvlOverride w:ilvl=&amp;quot;6&amp;quot;&amp;gt;
         &amp;lt;w:startOverride w:val=&amp;quot;1&amp;quot;/&amp;gt;
      &amp;lt;/w:lvlOverride&amp;gt;
      &amp;lt;w:lvlOverride w:ilvl=&amp;quot;7&amp;quot;&amp;gt;
         &amp;lt;w:startOverride w:val=&amp;quot;1&amp;quot;/&amp;gt;
      &amp;lt;/w:lvlOverride&amp;gt;
      &amp;lt;w:lvlOverride w:ilvl=&amp;quot;8&amp;quot;&amp;gt;
         &amp;lt;w:startOverride w:val=&amp;quot;1&amp;quot;/&amp;gt;
      &amp;lt;/w:lvlOverride&amp;gt;
   &amp;lt;/w:num&amp;gt;&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;Where the w:abstractNumId is pointing to the abstract numbering element that the paragraph style (StyleHead1) is using. So I reckon in a pinch I could generate this...&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;BUT: Is there another way? Maybe I&amp;#39;ve missed a document setting which is &amp;quot;restart numbering after section breaks&amp;quot; or something like that? It seems to me like something that people would want to setup in their document template...&lt;/p&gt;
&lt;p&gt;Any help much appreciated.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;PS. Is anybody aware that the code prettifier is broken? It only loads once (so you only get once chance at inserting code) when using Chrome&amp;nbsp;&lt;span&gt;23.0.1271.64 m&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>How to remove blank pages in word file</title><link>http://openxmldeveloper.org/thread/160128.aspx</link><pubDate>Thu, 17 Jan 2013 01:45:22 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:160128</guid><dc:creator>winsonkwok</dc:creator><slash:comments>3</slash:comments><comments>http://openxmldeveloper.org/thread/160128.aspx</comments><wfw:commentRss>http://openxmldeveloper.org/discussions/formats/f/13/t/160128/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hi Eric White&lt;/p&gt;
&lt;p&gt;Want to share some of my experience here since I can&amp;#39;t find any appropriate soultion in the internet.&amp;nbsp; If you want to remove blank pages that found in a word document with large number of pages, say more than 1000 pages, here is the C# code to achieve this:&lt;/p&gt;
&lt;p&gt;using (WordprocessingDocument wdoc = WordprocessingDocument.Open(filenamehere, true)) {&lt;/p&gt;
&lt;p&gt;&amp;nbsp; XDocument xdoc = wdoc.MainDocumentPart.GetXDocument();&lt;/p&gt;
&lt;p&gt;&amp;nbsp; xdoc.Descendants(W.r).Descendants(W.br).Where(x =&amp;gt; (string)x.Attribute(W.type) == &amp;quot;page&amp;quot;).Select(x =&amp;gt;x.Parent.Parent).Remove();&lt;/p&gt;
&lt;p&gt;// save the xdoc back to wdoc, not quoted here since this code can be easily found in the internet&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;This code will remove all the Paragraph node with page break ONLY (blank pages) &lt;/p&gt;
&lt;p&gt;After that, save back the xdoc into wdoc (reference back the code you talked before)&lt;/p&gt;
&lt;p&gt;And Remember to reference OpenXmlPowerTools dll file&lt;/p&gt;
&lt;p&gt;Winson&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Populate a dotx template</title><link>http://openxmldeveloper.org/thread/160116.aspx</link><pubDate>Wed, 16 Jan 2013 07:50:08 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:160116</guid><dc:creator>_alex</dc:creator><slash:comments>2</slash:comments><comments>http://openxmldeveloper.org/thread/160116.aspx</comments><wfw:commentRss>http://openxmldeveloper.org/discussions/formats/f/13/t/160116/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hello, I&amp;#39;m very new to the OpenXML, I have run into a problem trying to fill the placeholders in a dotx template with the date in a csv file with custom fields using C# .&lt;/p&gt;
&lt;p&gt;My testing template is downloaded from MS website &lt;a href="http://dl.dropbox.com/u/64425174/_template.dotx"&gt; link&lt;/a&gt;. Could you please give me some hints on how to do this?&lt;/p&gt;
&lt;p&gt;Thank you and please excuse me if I posted in the wrong section. Have a nice day.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Need to update original documents used in merging by edit made in merged document</title><link>http://openxmldeveloper.org/thread/160115.aspx</link><pubDate>Wed, 16 Jan 2013 07:23:58 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:160115</guid><dc:creator>fenilrathod</dc:creator><slash:comments>4</slash:comments><comments>http://openxmldeveloper.org/thread/160115.aspx</comments><wfw:commentRss>http://openxmldeveloper.org/discussions/formats/f/13/t/160115/rss.aspx</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I am very new to Open Xml and I&amp;#39;ve require help from this forum. I&amp;#39;ve one requirement that on which I need guidance to implement it.&lt;/p&gt;
&lt;p&gt;it&amp;#39;s like following,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1] I&amp;#39;ll have one master document that will have font style, header, footer, etc..&lt;/p&gt;
&lt;p&gt;2] Several section documents, that needs to be merged using above master document. I can do this using DocumentBuilder.&lt;/p&gt;
&lt;p&gt;3] Now, and edit made in merged document needs to be replicate to above section document. Here I am not getting how to reference section documents from merged document so I can track the changes and update individual documents.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please give me some direction on this.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Fenil.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>