|
|
Browse by Tags
All Tags » OpenXML (RSS)
-
Zeyad is one of the Open XML document format program manager s within the Office division, and has started a series of posts on the Open XML SDK V2 . His first post on the Open XML SDK V2 tells you want it is (and what it is not), why you would want to use it, provides a number of important links related to the SDK, and describes the important scenarios that the SDK addresses. Zeyad and I will be presenting together at PDC 2008 on the Open XML SDK. Read More...
|
-
Transforming Open XML documents using XSLT is an interesting scenario. However, Open XML documents are stored using the Open Packaging Convention (OPC), which are essentially ZIP files that contain XML and binary parts. XLST processors can’t open and transform such files. But if we first convert this document to a different format, the Flat OPC format, we can then transform the document using XSLT. Perhaps the most compelling reason to use XSLT on Open XML documents is document generation. You can Read More...
|
-
Transforming Open XML documents using XSLT is an interesting scenario, but before we can do so, we need to convert the Open XML document into the Flat OPC format. We then perform the XSLT transform, producing a new file in the Flat OPC format, and then convert back to Open XML (OPC) format. This post is one in a series of four posts that present this approach to transforming Open XML documents using XSLT. The four posts are: Transforming Open XML Documents using XSLT Presents an overview of the transformation Read More...
|
-
Transforming Open XML documents using XSLT is an interesting scenario, but before we can do so, we need to convert the Open XML document into the Flat OPC format. We then perform the XSLT transform, producing a new file in the Flat OPC format, and then convert back to Open XML (OPC) format. This post is one in a series of four posts that present this approach to transforming Open XML documents using XSLT. The four posts are: Transforming Open XML Documents using XSLT Presents an overview of the transformation Read More...
|
-
Transforming Open XML documents using XSLT is an interesting scenario, but before we can do so, we need to convert the Open XML document into the Flat OPC format. We then perform the XSLT transform, producing a new file in the Flat OPC format, and then convert back to Open XML (OPC) format. This post is one in a series of four posts that present this approach to transforming Open XML documents using XSLT. The four posts are: Transforming Open XML Documents using XSLT Presents an overview of the transformation Read More...
|
-
Julien Chable has posted the details (in English and French ) of his installer for PowerTools for Open XML . Antonio Zamora has posted details about the award-winning scripts that he wrote using PowerTools for Open XML and the VMware Infrastructure Toolkit. Nice! Róger Bermúdez posted about a real-life scenario - using a script to send bulk mail containing Open Xml Documents to a group of people. Read More...
|
-
About three months ago, I posted the PowerTools for Open XML on CodePlex. I also posted a video on installing and using them. The response has been very positive – more than 1000 downloads, a lot of blog posts, and some news stories. I’ve received a fair amount of email regarding them. I'd like to determine the extent of their use. Have you used the PowerTools in a real-world situation? What problems have you solved using them? If you are using them, and find them valuable, please let me know. You Read More...
|
-
Microsoft has a bulk conversion utility that can convert multiple DOC files to DOCX files. This blog post presents very basic information on its use. This utility has been around for a while, but a fair number of people don’t know of its existence. Because it’s a powerful tool designed to convert all files on a server (or even a bunch of servers), its use is a little cryptic. This is fine for IT professionals, but if all you want to do is bulk convert a single directory of DOC files, this post shows Read More...
|
-
Sometimes you need to create a list of all parts in a package so that you can write some generalized code to deal with the parts. This post presents a bit of code that creates a list (List<OpenXmlPart>) of all parts in a package. Note that the parts in a package don’t form a tree – they form a graph. Any part can potentially have a relationship to any other part, which in turn can potentially have a relationship back to the first part. So the recursive code has to look and see if the part already Read More...
|
-
When I was writing the LINQ to XML documentation , Ralf Lämmel was the program manager for LINQ to XSD , an incubation project in the data programmability group at Microsoft. Ralf really helped me a lot in those days, both with questions on LINQ to XML, and questions around functional programming. It was in email exchanges with Ralf that the lights started going on for me around functional programming. So far, LINQ to XSD hasn't become a supported product (I don't know the product team's plans around Read More...
|
-
Zeyad Rajabi, one of the program managers who worked on the Open XML SDK, and I will be presenting a joint session on version 2 of the Open XML SDK at PDC 2008, which takes place October 27 – 30. Version 2 of the SDK builds on top of version 1 to provide you with a rich set of functionality that helps you deal with the underlying XML contained within each of the parts of a package. The strongly typed nature of the V2 document object model of the SDK really shows its value when writing code – Intellisense Read More...
|
-
Many types of documents contain code, including API documentation, tutorials, specifications, technical books, and magazine articles. Too often, there is no way to automate testing and validation of this code. This post presents a small example program that shows how to use content controls in Open XML word documents to delineate code snippets so that you can automate validation of the snippets. This scenario was my first use of Open XML – it was the killer application (for me) that prompted me to Read More...
|
-
Johann Granados (of Staff DotNet ) recently blogged about some new cmdlets for working with spreadsheets. Using these cmdlets, you can: Add a new table to a spreadsheet Set values for a cell or cell range Set the style for a cell or cell range Set the width of a column Working with Open XML using PowerShell is one of the most effective ways to work with Open XML. You can get the source code from CodePlex, or you can download the binaries from Staff DotNet’s web site. See Johann’s blog post for all Read More...
|
-
Today, the development team for the Open XML SDK has announced that they have released the first Community Technology Preview (CTP) of version 2 of the Open XML SDK. Download it at http://go.microsoft.com/fwlink/?LinkId=127912 . There is a lot of very cool stuff in this release, including: Strongly typed document object model (DOM). Tool to compare two Open XML files. Class explorer that helps you understand the markup and determine which classes to use in the strongly typed DOM. Document reflector Read More...
|
-
Content controls are an effective way to add structure to word processing documents. You can write a very small LINQ query to retrieve the contents of content controls. This topic in Office Online provides more information on content controls. In an upcoming post, I’m going to show how you can write a small test harness to test code that is embedded in documents. This is particularly useful, say, to a program manager who has written a specification that contains a lot of code that shows how to use Read More...
|
|
|
|