Preparing your document model
Last Updated on Wednesday, 06 January 2010 23:15 Written by Ahmed Charfeddine Sunday, 06 December 2009 21:08
The document model is created in Microsoft Word. In a first step, BatchDoc reads its content, then identifies the dynamic portions in it. The production process outputs document instances that resemble the document model but differ in the values of those dynamic portions.
To design your model, you can create a new one or reuse any existing document. Rely completely on Word : BatchDoc does not interveine there. However for the purpose of marking the dynamic parts of the model, your intervention is needed to alter the document in a minor way prior to engaging BatchDoc.
Tagging content :
Helping BatchDoc recognize those dynamic portion is done through Word, too, by an command feature called "content controls". All you have is to select the content then invoke that command and edit unique names. This way BatchDoc can discover your markers and display them in a hierarchy view prioir to advancing to next stages where you are required to describe the production logic that will allow each marker to receive a custom value upon each final document.
Dynamic content types :
The following types of content can be tagged :
- Table line
For each type of content control, there is a particular interpretation of its production-time value. For example, concerning Picture controls, BatchDoc needs to know the picture file path for each document instance while it is the pilot dataset that is needed for each line control.