<?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: Update Cell not working</title><link>http://openxmldeveloper.org/discussions/development_tools/f/17/p/5427/158986.aspx#158986</link><pubDate>Wed, 23 May 2012 19:40:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158986</guid><dc:creator>VorlonShadow</dc:creator><description>&lt;p&gt;After 2 days of trying to learn Open XML, I have the following small piece of code so far:&lt;/p&gt;  &lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Dim SD As SpreadsheetDocument = SpreadsheetDocument.Open(DocName, True)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Dim sheets As Sheets = SD.WorkbookPart.Workbook.Sheets&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Dim SESheet &amp;nbsp;As Sheet&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; For Each sh As Sheet In sheets&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if sh.Name = &amp;quot;Score Entry&amp;quot; then&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SESheet = sh&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;end if&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Next&lt;/p&gt;  &lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Dim C As New Cell()&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; C.CellReference = &amp;quot;B3&amp;quot;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Dim CV As New CellValue()&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; CV.Text = &amp;quot;123456&amp;quot;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; C.CellValue = CV&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; SD.Close()&lt;/p&gt;  &lt;p&gt;This code runs without any errors, but when I look at the spreadsheet, the cell has not been changed. &amp;nbsp;I&amp;#39;m sure I&amp;#39;ve done something wrong or forgotten something. Could someone people me in the right direction?&lt;/p&gt;  &lt;p&gt;Thanks,&lt;br /&gt;Jesse&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/158985.aspx#158985</link><pubDate>Wed, 23 May 2012 15:23:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158985</guid><dc:creator>twalberti</dc:creator><description>&lt;p&gt;I&amp;#39;m having trouble seeing how the sample code above will help copy a slidelayout from &lt;/p&gt;  &lt;p&gt;presentation A (template) to presentation B (blank or existing presentation). If you could give me some explanation it would help a lot.&lt;/p&gt;</description></item><item><title>Forum Post: Re: Mark Image in Open Xml</title><link>http://openxmldeveloper.org/discussions/formats/f/13/p/5420/158984.aspx#158984</link><pubDate>Wed, 23 May 2012 13:56:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158984</guid><dc:creator>Fanski</dc:creator><description>&lt;p&gt;Hi pramodhegde,&lt;/p&gt;  &lt;p&gt;thank you. That&amp;rsquo;s what I was looking for.I tried it out, and it works great. (I split the document into parts (also documents) and only what is left are content &amp;nbsp;controls with id and names of the content documents and images)&lt;/p&gt;  &lt;p&gt;Best Regards&lt;/p&gt;  &lt;p&gt;Peter Stefanski&lt;/p&gt;</description></item><item><title>Forum Post: Getting the Spreadsheet</title><link>http://openxmldeveloper.org/discussions/development_tools/f/17/p/5426/158983.aspx#158983</link><pubDate>Wed, 23 May 2012 12:55:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158983</guid><dc:creator>VorlonShadow</dc:creator><description>&lt;p&gt;I am having to piece together my code from whatever I can find on the web and am taking this one step at a time. &amp;nbsp;I need to open an existing Excel spreadsheet, unprotect it, write something to some of the cells, re-protect it, then save it back. &amp;nbsp;Taking this one step at a time, here is what I&amp;#39;ve come up with so far:&lt;/p&gt;  &lt;p&gt;&amp;lt;!DOCTYPE HTML PUBLIC &amp;quot;-//W3C//DTD HTML 4.01 Transitional//EN&amp;quot; &amp;quot;http://www.w3.org/TR/html4/loose.dtd&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;%@ Page Language=&amp;quot;VB&amp;quot; ContentType=&amp;quot;text/html&amp;quot; ResponseEncoding=&amp;quot;iso-8859-1&amp;quot;%&amp;gt;&lt;br /&gt;&amp;lt;%@ Import Namespace=&amp;quot;DocumentFormat.OpenXml&amp;quot;%&amp;gt;&lt;br /&gt;&amp;lt;%@ Import Namespace=&amp;quot;DocumentFormat.OpenXml.Packaging&amp;quot;%&amp;gt;&lt;br /&gt;&amp;lt;%@ Import Namespace=&amp;quot;DocumentFormat.OpenXml.Spreadsheet&amp;quot;%&amp;gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;Test App&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=iso-8859-1&amp;quot;/&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;script runat=&amp;quot;server&amp;quot;&amp;gt;&lt;br /&gt;Sub Page_Load()&lt;br /&gt;Dim SD As SpreadsheetDocument = SpreadsheetDocument.Open(&amp;quot;C:\temp\MyFile.xlsx&amp;quot;, True)&lt;br /&gt;Dim WBP As WorkbookPart = SD.WorkbookPart&lt;br /&gt;Dim WSP As WorksheetPart = WBP.WorksheetParts.First() &amp;#39; Blows up here&lt;br /&gt;&lt;br /&gt;Results.Text = &amp;quot;Should be done&amp;quot;&lt;br /&gt;End Sub&lt;/p&gt;  &lt;p&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&amp;lt;asp:Label id=&amp;quot;Results&amp;quot; runat=&amp;quot;server&amp;quot;/&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;/p&gt;  &lt;p&gt;On the line above indicating &amp;quot;Blows up here&amp;quot;, I get the error &amp;quot;&amp;nbsp;&amp;#39;First&amp;#39; is not a member of &amp;#39;System.Collections.Generic.IEnumerable(Of DocumentFormat.OpenXml.Packaging.WorksheetPart)&amp;#39;&amp;quot; &amp;nbsp;I&amp;#39;m doing this because of an example I found. Also, at some point I may actually need to open the 2nd worksheet in the document so I can read in some settings. &amp;nbsp;how do I do that? &amp;nbsp;Also, is there a way to get the sheet by it&amp;#39;s name? &amp;nbsp;I found some example VB code on the MS web site, but it won&amp;#39;t compile.&lt;/p&gt;  &lt;p&gt;Thanks,&lt;br /&gt;Jesse&amp;nbsp;&lt;/p&gt;</description></item><item><title>Forum Post: Advice - Windows Service</title><link>http://openxmldeveloper.org/discussions/development_tools/f/17/p/5425/158982.aspx#158982</link><pubDate>Wed, 23 May 2012 12:41:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158982</guid><dc:creator>rocky050371</dc:creator><description>&lt;p&gt;Due to have trouble automating word through a windows service (vb.net), I am contemplating moving over to Open XML. The service loads a word document, loops through merge fields, replaces them with appropriate data, saves the files then prints it.&lt;/p&gt;  &lt;p&gt;Is this achievable in Open XML, are there any resources / examples available?&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;Thanks for any help in advance&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/158981.aspx#158981</link><pubDate>Wed, 23 May 2012 10:24:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158981</guid><dc:creator>aroshlakshan</dc:creator><description>&lt;p&gt;Only 3 things i gotta know here...&lt;/p&gt; &lt;p&gt;1. How to make it to type right in the next line after OBSERVATIONS&lt;/p&gt; &lt;p&gt;2. How to make the letters Unbold in the list under OBSERVATIONS.&lt;/p&gt; &lt;p&gt;3. How to make the check boxes work.&lt;/p&gt; </description></item><item><title>Forum Post: Using Open XML to update an existing Spreadsheet</title><link>http://openxmldeveloper.org/discussions/development_tools/f/17/p/5424/158979.aspx#158979</link><pubDate>Tue, 22 May 2012 18:48:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158979</guid><dc:creator>VorlonShadow</dc:creator><description>&lt;p&gt;I have some existing Excel files that I have created. &amp;nbsp;I have updated these files to be .xlsx files. &amp;nbsp;The worksheets are protected. There are certain areas that I want the user to be able to enter numeric values and other cells I don&amp;#39;t want them to touch. &amp;nbsp;I need to copy these files out to a new copy, unprotect the worksheets, update certain cells, then re-protect the worksheets. &amp;nbsp;I have spent hours researching how to do this, and this web site seems to be the best resource I&amp;#39;ve found for figuring this out. &amp;nbsp;Since this application will be deployed on a server that does not have Excel installed, my understanding is it&amp;#39;s better to use OpenXML to do what I need to do. &amp;nbsp;So, as a test to make sure I can do this, I simply want to open up a file that I have on my machine with a physical path, unprotect it, update a cell, then re-protect it and save it. &amp;nbsp;Once I know how to do this, I can probably figure out the rest.&lt;/p&gt;  &lt;p&gt;I have downloaded and installed the OpenXML 2.0 SDK on my Windows 7 Development machine. &amp;nbsp;I have the following code (only partial is listed):&lt;/p&gt;  &lt;p&gt;&amp;lt;!DOCTYPE HTML PUBLIC &amp;quot;-//W3C//DTD HTML 4.01 Transitional//EN&amp;quot; &amp;quot;http://www.w3.org/TR/html4/loose.dtd&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;%@ Page Language=&amp;quot;VB&amp;quot; ContentType=&amp;quot;text/html&amp;quot; ResponseEncoding=&amp;quot;iso-8859-1&amp;quot;%&amp;gt;&lt;br /&gt;&amp;lt;%@ Import Namespace=&amp;quot;DocumentFormat.OpenXml&amp;quot;%&amp;gt;&lt;br /&gt;&amp;lt;%@ Import Namespace=&amp;quot;DocumentFormat.OpenXml.Packaging&amp;quot;%&amp;gt;&lt;br /&gt;&amp;lt;%@ Import Namespace=&amp;quot;DocumentFormat.OpenXml.Spreadsheet&amp;quot;%&amp;gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;title&amp;gt;Test App&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=iso-8859-1&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;script runat=&amp;quot;server&amp;quot;&amp;gt;&lt;br /&gt;sub Page_Load()&lt;br /&gt;&amp;nbsp; &amp;nbsp;Dim spreadsheetDocument As DocumentFormat.OpenXml.Packaging.SpreadsheetDocument = &amp;nbsp;spreadsheetDocument.Create(&amp;quot;C:\temp\MyFile.xlsx&amp;quot;, SpreadsheetDocumentType.Workbook)&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp; &amp;nbsp;...&lt;br /&gt;end sub&lt;/p&gt;  &lt;p&gt;When it gets to the line that starts &amp;quot;Dim spreadsheetDocument As Document...&amp;quot; I get the error &amp;quot;Type &amp;#39;DocumentFormat.OpenXml.Packaging.SpreadsheetDocument&amp;#39; is not defined.&amp;quot;. &amp;nbsp;I think someone had a similar problem and someone suggested that it&amp;#39;s having trouble accessing the .DLL, but my question is &amp;quot;what DLL&amp;quot;, and how can I show it where it should be? &amp;nbsp;I thought there needed to be a web.config file change, but I can&amp;#39;t figure out what the change should be, and the ones I&amp;#39;ve tried have all failed.&lt;/p&gt;  &lt;p&gt;This is an asp.net (VB) application. &amp;nbsp;This is all hand coded. &amp;nbsp;I&amp;#39;m not using Visual Studios for this application. &amp;nbsp;I&amp;#39;m developing on a Windows 7 machine and it will be deployed to a Windows Server 2003 web server. &amp;nbsp;Any help is greatly appreciated.&lt;/p&gt;  &lt;p&gt;Thanks,&lt;br /&gt;Jesse&lt;/p&gt;</description></item><item><title>Forum Post: Re: Section properties when merging documents</title><link>http://openxmldeveloper.org/discussions/formats/f/13/p/5419/158977.aspx#158977</link><pubDate>Tue, 22 May 2012 11:21:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158977</guid><dc:creator>davesol</dc:creator><description>&lt;p&gt;I thought about using Document Builder instead of altChunks, however I can&amp;#39;t as some of my docs that i am using may themselves contain altChunks and Document Builder does not support this so I really am stuck using altChunk.  Does anyone know a way to get Word to recognise section properties within the altChunks?&lt;/p&gt;  &lt;p&gt;Thanks&lt;/p&gt;  &lt;p&gt;Dave&lt;/p&gt;</description></item><item><title>Forum Post: Re: Implementing Barcodes with Apache Tomcat</title><link>http://openxmldeveloper.org/discussions/development_tools/f/18/p/5422/158976.aspx#158976</link><pubDate>Tue, 22 May 2012 09:15:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158976</guid><dc:creator>Luther Clinton</dc:creator><description>&lt;p&gt;1. Place the.jar file from what you have used inside the package in the /WEB-INF/lib directory of the WebApp.&lt;/p&gt;  &lt;p&gt;2. Install or verify use of Java developmental environment&lt;/p&gt;  &lt;p&gt;3. Be sure Java.awt GUI functions are available in the environment.&lt;/p&gt;  &lt;p&gt;4. Edit the web.xml in the appropriate /WEB-INF/ directory for the WebApp.&lt;/p&gt;  &lt;p&gt;5. Restart the Apache Tomcat server by either restarting the service or executing the appropriate control scripts per system configuration. &lt;/p&gt;  &lt;p&gt;6. After the servlet server is started, type the following code into a browser and specify applet parameters to create the barcode.&lt;/p&gt;  &lt;p&gt;To be more detailed you can refer to a&lt;a href="http://www.keepautomation.com/products/java_barcode/"&gt; java&amp;nbsp;barcode tutorial guide&lt;/a&gt; with detailed information on barcode generation aspects including how to integrate with tomcat using Java servlet.&lt;/p&gt;</description></item><item><title>Forum Post: MS Excel - vs - ECMA-376 sheetProtection hashing algorithm?</title><link>http://openxmldeveloper.org/discussions/formats/f/14/p/5423/158972.aspx#158972</link><pubDate>Mon, 21 May 2012 23:34:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158972</guid><dc:creator>randym</dc:creator><description>&lt;p&gt;The ECMA spec uses the following three attributes to generate a password hash for sheet protection:&lt;/p&gt;  &lt;p&gt;18.3.1.85&amp;nbsp;&amp;nbsp;&amp;nbsp; sheetProtection (Sheet Protection Options)&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;algorithmName&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;(defaults to SHA-1)&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;saltValue&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Specifies the salt which was prepended to the user-supplied password before it was hashed using the hashing algorithm defined by the preceding attribute values to generate the hashValue attribute, and which shall also be prepended to the user-supplied password before attempting to generate a hash value for comparison.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;spinCount&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Specifies the number of times the hashing function shall be iteratively run (runs using each iteration&amp;#39;s result plus a 4 byte value (0-based, little endian) containing the number of the iteration as the input for the next iteration) when attempting to compare a user- supplied password with the value stored in the hashValue attribute.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;hashValue&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Those attributes, in addition to the user supplied password are used to generated the hash value used for comparison when disabling sheet protection.&lt;/p&gt;  &lt;p&gt;However after a frustrating day of implementing this and watching excel happily tell us that we must have the caps lock key enabled as the password entered is certainly not what is stored in the document we ended up going with&amp;nbsp; Daniel Rentz&amp;#39;&amp;nbsp; fairly old writeup here: http://www.openoffice.org/sc/excelfileformat.pdf. &lt;/p&gt;  &lt;p&gt;(Un?)Fortunately that actually seems to work - but it is a FAR cry from what is actually documented&lt;/p&gt;  &lt;p&gt;Wondering if anyone has been able to implement the specification, and actually get it to work with a modern (2007 and up) version MS Excel? &lt;/p&gt;</description></item><item><title>Forum Post: Re: Export to XML</title><link>http://openxmldeveloper.org/discussions/formats/f/14/p/5360/158971.aspx#158971</link><pubDate>Mon, 21 May 2012 21:19:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158971</guid><dc:creator>ashish.rajbanshi</dc:creator><description>&lt;p&gt;Hi Eric,&lt;/p&gt; &lt;p&gt;Thanks for the links Eric. I looked at the screen cast of how to convert Excel sheet to HTML but I have a scenario where there are no tables or table headers in the spreadsheet and instead it is only made of lines, text boxes and other such elements. How can I convert the spreadsheet like that to HTML?&lt;/p&gt; </description></item><item><title>Forum Post: Re: Search and replace rectangle on Excel Sheet</title><link>http://openxmldeveloper.org/discussions/development_tools/f/17/p/5418/158970.aspx#158970</link><pubDate>Mon, 21 May 2012 10:51:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158970</guid><dc:creator>nix</dc:creator><description>&lt;p&gt;To be more precise I need do it for all pages for all sheets.&lt;/p&gt; </description></item><item><title>Forum Post: Re: How to insert a Word table into a content control?</title><link>http://openxmldeveloper.org/discussions/development_tools/f/17/p/5220/158967.aspx#158967</link><pubDate>Mon, 21 May 2012 07:41:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158967</guid><dc:creator>Jure.L</dc:creator><description>&lt;p&gt;Why don&amp;#39;t you create tables in templates and use content controls to mark repeating rows in tables and placeholders this way you can create a more generic data driven document generation solution. You can check &lt;a href="http://www.docentric.com"&gt;this toolkit&lt;/a&gt; to get the idea.&lt;/p&gt;  &lt;p&gt;And yes, you can nest tables inside content controls.&lt;/p&gt;</description></item><item><title>Forum Post: Re: Inserting comments in a excel spreadsheet</title><link>http://openxmldeveloper.org/discussions/formats/f/14/p/5254/158962.aspx#158962</link><pubDate>Sun, 20 May 2012 03:08:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158962</guid><dc:creator>randym</dc:creator><description>&lt;p&gt;I&amp;#39;ve a functional version here which might be enough to get you started.&lt;/p&gt; &lt;p&gt;in addition to specifying the lecgacyDrawing in your worksheet, you will be adding in a comments document that lists the authors and comments:&lt;/p&gt; &lt;p&gt;&lt;a rel="nofollow" href="https://github.com/randym/axlsx/blob/master/lib/axlsx/workbook/worksheet/comments.rb"&gt;github.com/.../comments.rb&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a rel="nofollow" href="https://github.com/randym/axlsx/blob/master/lib/axlsx/workbook/worksheet/comment.rb"&gt;github.com/.../comment.rb&lt;/a&gt;&lt;/p&gt; &lt;p&gt;as well as a bit of vml:&lt;/p&gt; &lt;p&gt;&lt;a rel="nofollow" href="https://github.com/randym/axlsx/blob/master/lib/axlsx/drawing/vml_drawing.rb"&gt;github.com/.../vml_drawing.rb&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a rel="nofollow" href="https://github.com/randym/axlsx/blob/master/lib/axlsx/drawing/vml_shape.rb"&gt;github.com/.../vml_shape.rb&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Hope this helps!&lt;/p&gt; </description></item><item><title>Forum Post: Re: Document merge</title><link>http://openxmldeveloper.org/discussions/formats/f/13/p/5405/158957.aspx#158957</link><pubDate>Fri, 18 May 2012 03:48:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158957</guid><dc:creator>Eric White</dc:creator><description>&lt;p&gt;Hi hcoco,&lt;/p&gt; &lt;p&gt;I need more information in order to be able to comment on this. &amp;nbsp;What is the problem you are facing?&lt;/p&gt; &lt;p&gt;-Eric&lt;/p&gt; </description></item><item><title>Forum Post: Re: IsolatedStorageException in System.IO.Packaging</title><link>http://openxmldeveloper.org/discussions/formats/f/12/p/1595/158954.aspx#158954</link><pubDate>Thu, 17 May 2012 11:46:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158954</guid><dc:creator>Vishalakshi.g</dc:creator><description>&lt;p&gt;I have the same error in .Net with c# when try to create a word 2010 document with Table contain large string of data in size 14875967&lt;/p&gt; </description></item><item><title>Forum Post: Re: Read .docx page by page</title><link>http://openxmldeveloper.org/discussions/formats/f/13/p/1708/158952.aspx#158952</link><pubDate>Thu, 17 May 2012 10:40:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158952</guid><dc:creator>nix</dc:creator><description>&lt;p&gt;Hello Jim,&lt;/p&gt; &lt;p&gt;Thanks for the answer. I can not use header, footer and watermark. I need to put some labels to top and footer for all pages. &amp;nbsp;I do it so&lt;/p&gt; &lt;p&gt;IEnumerable&amp;lt;Paragraph&amp;gt; topP = wdDoc.MainDocumentPart.Document.Body.Elements&amp;lt;Paragraph&amp;gt;();&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;bool skip = false;&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 (Paragraph p in topP)&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;if (!ContainLastRenderedPageBreak(p))&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;if (!skip)&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;&amp;#123; &amp;nbsp; &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; &amp;nbsp; &amp;nbsp;p.Append(runElementFooter.CloneNode(true));&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; &amp;nbsp; &amp;nbsp;p.Append(runElementHeader.CloneNode(true));&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; &amp;nbsp; &amp;nbsp;skip = true;&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;&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;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;nbsp; &amp;nbsp;else skip = false;&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 (ContainPageBreak(p))&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;p.Append(runElementFooter.CloneNode(true));&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;p.Append(runElementHeader.CloneNode(true));&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;skip = false;&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;public bool ContainPageBreak(Paragraph p)&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;return p.Elements&amp;lt;Run&amp;gt;().FirstOrDefault(r =&amp;gt; r.Elements&amp;lt;Break&amp;gt;().FirstOrDefault(b =&amp;gt; b.Type == BreakValues.Page) != null) != null;&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#125;&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public bool ContainLastRenderedPageBreak(Paragraph p)&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;return p.Elements&amp;lt;Run&amp;gt;().FirstOrDefault(r =&amp;gt; r.Elements&amp;lt;LastRenderedPageBreak&amp;gt;().FirstOrDefault() != null) != null;&lt;/p&gt; &lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#125;&lt;/p&gt; &lt;p&gt;And its work for me now, but for some documtns bottom label is bad positioning and I don&amp;#39;t know why its happen.&lt;/p&gt; &lt;p&gt;Aleksey&lt;/p&gt; </description></item><item><title>Forum Post: How to insert a table inside a content control.</title><link>http://openxmldeveloper.org/discussions/development_tools/f/17/p/5417/158950.aspx#158950</link><pubDate>Thu, 17 May 2012 10:02:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158950</guid><dc:creator>nishant.sharma.jecrc</dc:creator><description>&lt;p&gt;Hi All,&lt;/p&gt;  &lt;p&gt;&amp;nbsp;I am trying to append the a table inside a content control. &lt;/p&gt;  &lt;p&gt;For this first i created a table and when i am trying to append.&lt;/p&gt;  &lt;p&gt;&amp;nbsp;DocumentFormat.OpenXml.Packaging.MainDocumentPart mainPart= file.MainDocumentPart;&lt;/p&gt;  &lt;p&gt;SdtBlock cc = mainPart.Document.Body.Descendants().Where(r =&amp;gt; r.SdtProperties.GetFirstChild().Val == &amp;quot;TagName&amp;quot;).Single();&lt;/p&gt;  &lt;p&gt;&amp;nbsp;-- Create table logic &lt;/p&gt;  &lt;p&gt;-- Table name is theTable &lt;/p&gt;  &lt;p&gt;cc.Append(theTable)&lt;/p&gt;  &lt;p&gt;&amp;nbsp;please let me know where i am going wrong.&lt;/p&gt;  &lt;p&gt;The word generate agfter saving the file is not opening.&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;Regards&lt;/p&gt;  &lt;p&gt;Nishant Sharma&lt;/p&gt;</description></item><item><title>Forum Post: Supporting all Chart types in Spreadsheet..</title><link>http://openxmldeveloper.org/discussions/development_tools/f/17/p/5416/158949.aspx#158949</link><pubDate>Thu, 17 May 2012 07:31:00 GMT</pubDate><guid isPermaLink="false">1ff61f26-0981-41c7-ad52-ff725e9b1da8:158949</guid><dc:creator>pranay</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;  &lt;p&gt;I just stuck on a problem. Let me first explane the problem.&lt;/p&gt;  &lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;Here it is:&lt;/strong&gt;&lt;/span&gt;&amp;nbsp; I need to create different types of charts on spreadsheet&amp;nbsp;by fetching data from&amp;nbsp;database. I have a spreadsheet which will contain one&amp;nbsp;many sheets e.g.&amp;nbsp;&lt;/p&gt;  &lt;p&gt;1. Data Sheet:&amp;nbsp;It will contain the data fetch from data base.&lt;/p&gt;  &lt;p&gt;2. DataRange Sheet: It will contain the range of data filled in first sheet(data sheet). e.g.&amp;nbsp;In&amp;nbsp;cell&amp;nbsp;&lt;/p&gt;  &lt;table align="left" border="1" style="width:175px;height:1px;margin-left:auto;margin-right:auto;"&gt;  &lt;caption&gt;&lt;/caption&gt;  &lt;tbody&gt;  &lt;tr&gt;  &lt;td&gt;Data Sheet&lt;/td&gt;  &lt;td&gt;A2&lt;/td&gt;  &lt;td&gt;C6&lt;/td&gt;  &lt;/tr&gt;  &lt;/tbody&gt;  &lt;/table&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;3. many sheets of different chart types. : e.g. Bar chart,Bar3DChart,PieChart,Line Chart, Area Chart, Bubble chart etc.&lt;/p&gt;  &lt;p&gt;And these sheets will have currosponding chart templates also. But it will not have any set data reference becoz it will be generated dynamicaly.&lt;/p&gt;  &lt;p&gt;I need to draw the the charts on the basis of data in first sheet.&lt;/p&gt;  &lt;p&gt;The way I did it is just using a switch case with different chart type.&lt;/p&gt;  &lt;p&gt;And create a function for each chart type. e.g. CreateBarChart(), CreatePieChart().&lt;/p&gt;  &lt;p&gt;But I don&amp;#39;t think its a good way of emplimentation.&lt;/p&gt;  &lt;p&gt;Is there any generic way to create different types of charts. like factory patterns etc.&lt;/p&gt;  &lt;p&gt;Please help me with some nice sample code.&lt;/p&gt;  &lt;p&gt;Pranay&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&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></channel></rss>
