Print or Convert InfoPath Forms

Learn how to convert InfoPath forms to Word 2003/2007 documents or PDF files.

InfoPath to Word

InfoPath 2003

Convert an InfoPath form into a Word 2003 document and send this as an attachment in an e-mail

Use an XSLT stylesheet to convert the XML produced by an InfoPath form into WordprocessingML and send this generated WordML document as an attachment in an email using Outlook automation.

Transform data from a secondary data source using XSLT

Use XSLT to transform the data stored within a secondary data source.

InfoPath 2007

Convert an InfoPath 2007 form into a Word 2007 document using XSLT and C#

Extract and use the document.xml part of a docx file to create an XSLT stylesheet to convert the XML of InfoPath forms into docx files.

Programmatically convert Rich Text data from InfoPath to Word DOCX

Learn how to use the WindowsBase DLL and the System.IO.Packaging namespace to export the contents of a Rich Text Box field on an InfoPath form to a Word 2007 document.

InfoPath to PDF

InfoPath 2007

Printing InfoPath 2007 Web-based Forms to PDF

This article presents a technique that you can use to print InfoPath 2007 web-based forms to PDF.

Save / Print / Convert / Export an InfoPath form to PDF

Add code to the form to programmatically export the current view of the form to PDF or use the Save As PDF or XPS add-in for Microsoft Office 2007 to export a view.

Use Word 2007 to programmatically convert an InfoPath 2007 form to PDF

Use the Word 12 (= Word 2007) object model and the 2007 Microsoft Office Add-in: Microsoft Save as PDF to programmatically export an InfoPath 2007 form to PDF.

Using the Open XML Format SDK 2.0 to convert an InfoPath form into a DOCX file

This article shows a simple example of how to use the Open XML Format SDK 2.0 and C# code to convert and add the data from a rich text field and a repeating table to a Word 2007 document (DOCX file).

 
 Subscribe (RSS | Email)
 
InfoPath 2010 book

InfoPath 2010 Cookbook 2: 101 Codeless Recipes for SharePoint 2010

InfoPath 2010 Cookbook 3: 101 Code Recipes for C# Developers