February 2009 - Posts
One of the most effective ways to generate Open XML documents, spreadsheets, or presentations is to start with a ‘template’ document and then modify the document. For instance, you can start with a blank word processing document that is set up with your
Read More...
[Blog Map] In two previous posts , I developed a somewhat involved query to search through a word processing document for style names and/or paragraph content. This is a query that I’m developing for the PowerTools for Open XML project . In those posts,
Read More...
In some scenarios, it is useful to compute a ‘deep’ hash code using LINQ to XML. If you are writing a server-side application that caches queries expressed in XML, then you may want to store these queries in a hash table. XNode (and XElement) inherit
Read More...
[Blog Map] I believe that it is easier to maintain code that is written in the functional style. For one thing, this is the very reason for many of the characteristics of functional code. No state is maintained, so we don’t have to worry about corrupting
Read More...
[Blog Map] I’ve been thinking about how to demonstrate the thought process of developing a somewhat more involved query. The main idea is to show how you can write queries on other queries, refactor as necessary, and inject / modify code while not making
Read More...
[Blog Map] About a week ago, I posted a very interesting guest post by Bob McClellan , where he discussed some code that allows you to more easily move/insert/delete paragraphs in Open XML documents. He is in the process of putting together a PowerShell
Read More...
[Blog Map] A lot has been written about the benefits of Open XML. In my own words, here is my short list of the key benefits. IS29500 Standard It’s a standard, free for all to use, and extremely well documented. In my job, I’ve had to research, explain,
Read More...
[Blog Map] As many know, you can download and install the “ Microsoft Office Compatibility Pack for Word, Excel, and PowerPoint 2007 file formats ”, which allows you to use Office 2003 to read and write Open XML documents. The compatibility pack download
Read More...
[Blog Map] (Update March 27, 2009 - updated the Headers and Footers section, and added the Charts section.) We can potentially make extensive modifications to Open XML word processing documents. Many scenarios would benefit from the ability to move paragraphs
Read More...