DOCX Generation
Back to TOCJust VideosCondensed TOC
Generating WordprocessingML documents is the most common usage of Open XML.
- Generating Documents from SharePoint with Open XML Content Controls
- Generating Open XML WordprocessingML Documents
- Automated Processing of Open XML Documents using PowerShell
- Building Document Generation Systems from Templates with Word 2010 and Word 2007
- Generating Open XML WordprocessingML Documents
- Using a WordprocessingML Document as a Template in the Document Generation Process
- The Second Iteration of the Template Document
- More Enhancements to the Document Template
- Generating C# code from an XML Tree using Virtual Extension Methods
- Text Templates (T4) and the Code Generation Process
- Video of use of Document Generation Example
- Release of V1 of Simple DOCX Generation System
- Changing the Schema for this Open XML Document Generation System
- Generating Open XML WordprocessingML Documents using XPath Expressions in Content Controls
- Release of V2 of Doc Gen System: XPath in Content Controls
- Review of XPath Semantics of LINQ to XML
- Change the Schema for Simple Free Doc Generation System
I’ll present some guidance and sample code for creating a document-generation system that uses SharePoint lists to populate tables in an Open XML word-processing document. (Article)
This is a blog post series on parameterized Open XML WordprocessingML document generation. (Article)
Processing Open XML documents using PowerShell is a powerful approach for creating, modifying, and transforming Open XML documents. The PowerTools for Open XML are examples and guidance that show how to do this. They consist of PowerShell cmdlets, and a number of example scripts that demonstrate the use of the cmdlets. Examples include automated word processing document and spreadsheet generation, and preparing documents for distribution external to a company, including removing comments, accepting revisions, applying a uniform theme to them, and applying a watermark to them. (Article)
Some business scenarios require generation of many documents by using a template document and a data source. This article contains guidance for this scenario and links to MSDN articles and blog posts. (Article)
Introduces this blog post series on generating WordprocessingML documents, outlines the goals of the series, and describes various approaches that I may take as I develop some document generation examples. (Article)
This post examines the approaches for building a template document for the document generation process. A template document is a DOCX document that contains content controls that will control the document generation process. (Article)
This post presents the second iteration on a template document to be used for a document generation process. (Article)
Discusses enhancements that enable the template designer to write infrastructure code for the document generation process. Also discusses how the document generation process will work. (Article)
One integral part of my scheme for building a document generation system is to write some code that generates C# code to create an arbitrary XML tree. I want to transform the markup for the main document part into C# code that will produce that main document part, with the exception that at various points where I find content controls, I want to alter the transformation as appropriate. The first task is to write code that produces C# code that will create any arbitrary XML tree. (Article)
Text templates are very cool, and have applicability in the Open XML document generation process. This post details my notes and thoughts on text templates. (Article)
First version of this document generation system that is driven by C# code that you write in content controls in a Word document. As an intro, he has recorded a small screen-cast that shows the doc gen system in action. (Article,Video)
This is a preliminary version of a simple DOCX generation system, which you can download, unzip, and try. This article lists two screen casts, first 90 second screen-cast shows how to run the doc gen system after you download and unzip the zip file.The second 2 1/2 minute video shows using the document generation system at scale. It shows generating 3000 documents in under a minute. (Article,Video)
In the following screen cast shows the process of adjusting the XML data that drives the document generation system, as well as adjusting the template document to use that data. (Article,Video)
Introduces the approach of configuring the document generation process by entering XPath expressions in content controls in a template document. (Article)
In this post, I release V2 of this simple document generation example. I provide a 2-minute screen-cast that shows the document generation process, generating 3000 documents in less than 30 seconds. (Article,Video)
In this post, I review the XPath semantics of LINQ to XML, and show some concrete examples of how I use those semantics in the XPath-in-Content-Controls approach to Open XML WordprocessingML document generation. (Article)
Three minute screen-cast that demonstrates changing the schema for simple document generation system that you configure by placing XPath expressions in content controls. (Article,Video)