This is a mirror of official site: http://jasper-net.blogspot.com/

Using OpenXML SDK to generate Word documents via templates (and without Word being installed)

| Sunday, January 22, 2012
This utility generates Word documents from templates using Content controls. The utility will be enhanced later as per feedback and source code is available for download at http://worddocgenerator.codeplex.com/. It has been created in Visual Studio 2010 and uses Open Xml 2.0 SDK which can be downloaded from http://www.microsoft.com/download/en/details.aspx?id=5124.

The purpose of creating this utility was to use the Open Xml 2.0 SDK to generate Word documents based on predefined templates using minimum code changes. These documents can either be refreshable or non- refreshable. I’ll explain this difference later. Also there is no dependency that Word should be installed.

A few samples for generating Word 2010 documents have been provided. More samples can be added later as per feedback. The screenshots below display the sample template and the document generated out of this template using this utility.

Read more: Greg's Cool [Insert Clever Name] of the Day
Read more: Utility to generate Word documents from templates using Visual Studio 2010 and Open Xml 2.0 SDK
QR: utility-to-generate-word-documents-from-templates-using-visual-studio-2010-and-open-xml-2-0-sdk.aspx

Posted via email from Jasper-net

0 comments: