Page overflow

Page overflow

When you insert many dynamically positioned elements in your output, then InterFormNG2 will automatically force a page overflow. This section covers the page overflow in details:

 

1.Introduction

2.Flexible header size.

3.Flexible footer size - for a total on the last page.

4.Block protection. How to protect a block of elements from being split up on two pages because of a page overflow.

5.Page overflow troubleshooting

 

 

Introduction

If you add a repeat loop, that iterates across many detail lines of your input file (XML or spooled file), then it will automatically force a new output page, when there is no more room on the current page.

 

A simple repeat loop can e.g. simply print out all the numbers from 1 to 100:

 

NG2PageOverflow0001

Since the text element is dynamically positioned, the Texts are output below each other, and when there is no more room on the current page, a new output page is generated. This is provided, that the flow direction is vertical.

 

The output looks like this:

 

NG2PageOverflow0002

 

If we also add a header and a footer, then template will look like this:

 

NG2PageOverflow0003

 

 

Before the additional output page is opened for output, the footer will be output to current page - if a footer has been defined for the page element.

 

If you insert a dynamically positioned container element (or any other dynamically positioned elements) in either the header or the footer, then the height of the header/footer is the combined height of all the dynamically positioned elements. Any design element with a fixed position does not affect the size of the header/footer.

    • Related Articles

    • 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 ...
    • 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: The body elements contains the elements, that should only be executed/inserted once. This section normally ...
    • 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 ...
    • Why detail lines are not overflowing to a new page

      If section can help you, if you have created a repeat loop to output all of the detail lines of a document, but unfortunately the detail lines are not overflowing to a new page. Here are the settings, that can prevent an automatic page overflow of ...
    • 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 ...