6.5
© 2007 ABBYY. All rights reserved.
14
1. Select the Document Templates object in the required batch type.
2. In the
Action menu, select the New... item.
3. The
Document Template Creation Wizard will be launched. Follow the instructions of the wizard.
4. If required, edit the structure of the document template.
5. Specify document template rules.
You can edit the name, structure and rules of the template.
To edit the name of a document template:
1. Select the required document template.
2. In the
Action menu, select Edit Name...
3. In the dialog box that appears, edit the template name.
To edit the structure of a document template:
1. Select the required document template.
2. In the
Action menu, select Edit Structure...
3. In the
Edit Document Template Structure dialog box, edit the structure of the document template.
To delete a document template:
1. Select the required document template.
2. In the
Action menu, select Delete.
The structure of a document template
The structure of a document template is a description of a sequence of page templates written in a special language.
There are four types of document template structure:
• One–page document,
• Two–page document,
• Document with a predefined page order,
• Custom structure.
A one–page document is the structure of a document consisting of one page.
A two–page document is the structure of a document consisting of two pages. The order of pages can be either arbitrary or
predefined.
A document with a predefined page order is the structure of a document consisting of several pages that go in a predefined order.
The structure types mentioned above are standard and do not require a special description. All you need to do is enter the information
requested by the program.
A custom structure is used to describe the structure of a document template in the structure description language.
Specifying and editing the structure of a document template
The structure of a document template is specified when creating the document template in the Document Template Creation Wizard.
After the structure has been created, you can edit it or change its type. Use the Edit Document Template Structure dialog box to
edit the structure.
Document template rules
When creating a new document template, you can specify multipage rules for the template. Multipage rules of a document template
establish relations between data and are used to validate the data in the document.
Creating, editing and deleting document template rules
To create a rule for a document template:
1. Select the Rules object in the required document template.
2. In the
Action menu, select New...
3. In the
Create New Rule dialog box that appears, enter the required information and write the rule in the descriptive
rule language.
To edit a rule of a document template:
1. Select the required rule.
2. In the
Action menu, select Edit...










