Eric White's Blog
Open XML, SharePoint, and Office
May, 2011
Exploring Table Markup in Open XML SpreadsheetML
Explores tables in Open XML SpreadsheetML, and walks through an example that converts some ordinary cells into a table.
Posted in Open XML, SpreadsheetML | 2 Comments »
Consuming External OData Feeds with SharePoint BCS
Create a .NET assembly connector that creates an ECT that consumes an OData feed.
Posted in BCS, SharePoint | 4 Comments »
Search and Replace Text in an Open XML WordprocessingML Document
Screen-cast that shows the correct algorithm for searching and replacing text in an Open XML WordprocessingML document.
Posted in Open XML, WordprocessingML | 15 Comments »
Using XML DOM to Detect Tracked Revisions in an Open XML WordprocessingML Document
I’ve written a short article at OpenXMLDeveloper.org that shows how to detect tracked revisions using XmlDocument. Previously, I wrote an article on detecting tracked revisions using LINQ to XML or the strongly-typed object model of the Open XML SDK 2.0. However, some developers do not have the option of using LINQ, and instead must use [...]
Posted in Open XML, WordprocessingML, XML DOM Document | 3 Comments »
Custom Formatting of XML using LINQ to XML
Presents some code to iterate through a LINQ to XML tree, manually serializing to an XmlWriter, which allows you to write code to control formatting at a very precise level.
Posted in LINQ to XML | No Comments »
Align Attributes when Formatting XML using LINQ to XML
Shows how to align attributes when serializing XML using LINQ to XML.
Posted in LINQ to XML | 6 Comments »
Screen-cast: Exploring Margins in Open XML WordprocessingML Documents
Short screen-cast that explores various ways to set margins in Open XML WordprocessingML documents.
Posted in Open XML, WordprocessingML | No Comments »
Querying for Fields in an Open XML WordprocessingML Document
Post contains example code that queries an Open XML WordprocessingML document for all fields in the document.
Posted in Open XML, WordprocessingML | No Comments »