Page Layouts and Document Templates

Page Layouts

A Page Layout is the collection of tables and fields on any one page.
When you speak of a layout, it includes all the tables and fields, their positions on the page, their various settings and formats and interactions. If you copy one page's layout to another page, all the elements will appear in the same place relative to the page itself.

Linked Layouts

When the document you're working on has many similar pages, you have the option of creating linked layouts, which means that the layouts of several pages will remain identical to one another, and every change in the layout of one page will be mirrored in the layouts of the rest of the pages. This can be useful if you've created a layout for many similar pages, and later you decide to make a small change, for example by adding a field.
Linked layouts can be unlinked, after which the unlinked page will have its own separate layout and will no longer affect the layouts it was linked to or be affected by them. If you have many pages which are similar but not identical, you might want to consider building a linked layout, creating all the similar parts, then unlinking the different pages to adjust the different parts of the layout.



Document Templates

A Document Template is the collection of all the individual page layouts. In addition, the template remembers which page layouts are linked to which other page layouts, as well as the template structure, which is the pattern followed by the pages throughout the entire document.

The Template Structure

In many documents, most pages are very similar to one another, and one or several page layouts repeat themselves throughout the document.
Suppose you've worked hard to build a layout for a 20-page PDF document where there's one layout for odd-numbered pages and another for even-numbered pages, and the next day you receive another PDF document, with exactly identical odd and even page layouts, only this one has 100 pages rather than 20. Normally, you could save the 20-page layout, and load it into the 100-page document where it would cover the first 20 pages and force you to manually apply the layouts to the remaining pages.
However, PDF2XL Enterprise allows you to set a repetition pattern for an the entire document, which doesn't depend on its length. For example, if you've made the odd/even template for the 20-page document, using the "Repeat every 2 pages" option, loading the same template onto a 100-page document will apply these layouts to all 100 pages instead of making you manually copy them.
PDF2XL Enterprise supports the following types of template structures:

In addition to this repetition pattern, you can also mark the First Page Different or Last Page Different options, which exclude the first/ last page from the repetition pattern.

Both layouts and templates can be saved externally, for reuse in other documents. Click here for details.