Page body

Page body

The body section of a page

If you have inserted either a header or a footer element to a page element, then a body element is also added:

 

NG2PageBody0001

 

The body elements contains the elements, that should only be executed/inserted once. This section normally includes the detail lines of your input file.

 

You here normally use the repeat element to iterate across the detail lines of your input file and a page overflow is triggered, when there is no more room for additional detail lines.

 

 

The size and position of the page body

The body is positioned between the header and the footer of the page element. If one or both are not created, then the body will start on the top of the page (respecting the margin of the page) and flow down over the page.

 

The normal way to specify the height of the header and footer is with a dynamically placed container element. You simply drag in the bottom corner of this container to change the height or specify the dimensions in the attribute.

 

The normal elements in the body should be placed dynamically, but you can also place elements outside the body if you like, but such elements must be placed in a fixed position.

 

 

This video shows how the size of the header, body and footer can be set:




    • Related Articles

    • Page break element

      There are several ways to force an extra page in the output: 1.Add an extra page element 2.An overflow of detail lines in the body of a page. 3.Insert a page break element in your template. This section covers the third option. You can insert a ...
    • Page footer

      Page footer If you want to keep the same footer for all pages of a merge, then you should normally insert them in a footer element of the page element. To create a page footer element you need to right-click on the page element in the element tree ...
    • Page header

      Page header If you are creating a normal business document e.g. an invoice, then you probably want a fixed header with customer name and address and column headings for the detail lines. Such elements must be inserted in the page header element. To ...
    • Page element

      The page element in InterFormNG2 is the container of all the physical elements, that build up the output. A new template is created with a page element as you need that in order to generate any output at all. You insert an additional page element ...
    • Template: Header, footer and body area

      If you want to create a normal business document, then you probably want to define a header, footer and body area in your template. When you first create a new template, then you only have one container in the page element. All of the design elements ...