Introduction
The general steps to create .DOCX files using DocxFactory are (see picture below):
You start by designing a template (a regular .DOCX file) in Microsoft Word (or another office suite like OpenOffice.org).
You then mark parts of the template using bookmarks, called items and add fields to your items by typing the field names in squiggly brackets. For example: {MyField}.
When creating a new document from a template, DocxFactory first copies all the items with their fields into the DocxFactory clipboard.
You then merge the data with the template by setting the field values of the items in the clipboard and pasting the items with the set field values to the end of the new document.
Note: DocxFactory can only create .DOCX files directly. To create .PDF, .HTML or other files, DocxFactory first creates a .DOCX file and then converts the file using Microsoft Office or OpenOffice.org running in the background. Future versions of DocxFactory will also support creating Microsoft Excel and OpenOffice.org files directly.