Typical project structures
variaDoc allows you to specify the export method, as well as the number and structure of generated documents.
Single document, single page
If you want to create a single document containing a single page you should first add an output document and then a new page. This page can be either an empty page or an existing PDF document. Once you added this, your project should look like this:
This can be useful for automated form filling.
Single document, multiple pages
To generate a single document for every item in your data source, add a new document, then add the database with the needed data underneath. Finally, add the page you want to work with, using an existing PDF or a new document.
If you followed the described steps, your project should look like this:
The output document is higher up in the tree than the data source. Consequently the data source will repeat the page for each row. All the generated pages are gathered by the output document and combined into a single PDF document.
This project structure can be used to prepare a mailing letter that will be printed.
Multiple documents, each with a single page
To generate a single document for every item in your data source, start by adding a database, then a new document and under this document, a new page(using either an existing PDF or a new page). Your project should look like this:
In this project the data source is higher up in the tree than the output document. Now the output document is repeated, similarly to the template page in the previous sample. The effect is that a document is generated for each row in the data source.
This project structure is most suited for sending personalized documents via e-mail to as many addresses as you like.
Multiple documents, multiple pages
variaDoc allows the nesting of data sources to generate almost any conceivable document structure.
The following structure generates multiple documents. Each document has multiple pages.
This project structure can be used to generate multiple reports.
Multiple template pages
You can add multiple template pages to your project by first adding a new database, then a new document, and finally the pages you want to work with(as demonstrated in the figure below).
This project will generate multiple documents, each with two pages.