GridContainers are placeholders that can be filled with several article templates according to a raster setting. The grid of the GridContainer is defined in the InDesign document by an attribute.

Graphic frames of any template in InDesign can be designated as containers with the tag »PFGridContainer«.

To this an attribute with the name layout is added. The value defines the grid of the container: two comma-separated integers are entered in a square bracket. The first value defines how many units (number of columns) the container should have horizontally, the second value calculates the vertical division (number of rows). For example, if a container is to be created with a grid of 9 areas, the value is [3,3]. The graphic frame is divided horizontally and vertically by 3.

If you want to automatically provide articles inserted in the container with a frame, this can be defined as a stroke at the GridContainer in the InDesign document (stroke thickness and color). The frame is always as large as the grid, even if the inserted article is smaller.

Settings in printformer

The corresponding article templates must be created separately in InDesign and in printformer (see configure PF templates).
Make sure that their format is similar to the grid, i.e. that they fit exactly to columns and rows. If the articles are smaller, they can be aligned (horizontally and vertically) or moved in the container. Article templates should always be created without bleed.

For inserting article templates into the container later, an additional tag must be added in the printformer (after uploading the template), which indicates the format of the template. This is again defined by the number of units in the grid, the notation is "number of columns"x"number of rows".
For our previous example there are 9 possible formats: 1x1, 1x2, 1x3, 2x1, 2x2, 2x3, 3x1, 3x2, 3x3
(The tags are typed/copied into the Tags field and then added by pressing the Enter key).

Examples format article template and tag:
The size of the grid container is 60x30 mm and is divided into 9 areas via layout (3x3):

  • an article template in the format 20x10 must then be marked with the tag 1x1

  • article template 40x10 = 2x1

  • article template 20x30 = 1x3

After master and article templates have been configured in printformer, the articles must be assigned to the master.
Thus, when editing the template in the editor, the Catalog Templates tab automatically appears (sidebar) from which the articles can be inserted into the grid areas of the container via drag&drop.


The values listed under name are individual attributes of the tag PFContainer and are entered as name, the possible values are listed in the second column. If the cell is empty, the value is freely selectable.


value (Limitations)



Arrangement (array) with integers e.g. [2,3]

The layout specifies how many units the GridContainer consists of. The first number stands for the number of columns and the second number for the number of rows.


left, center, right

Automatic horizontal alignment of the article template
Default value: left


top, center, bottom

Automatic vertical alignment of the article template
Default value: bottom


Valides JSON-Format


Sample Template