What is flow layout?

Report templates in JReport use a flow layout model. That is, paragraphs and components in the report body can flow from one page to another, maintaining their sequence, and the Position property controls whether a component is to be part of the flow, or separate from it. Besides the report body, tabular cells and text boxes themselves in JReport can also act as flow layout containers.

The following topics explain some features related to the flow layout model.

The Position property

In a flow layout model, objects are positioned relative to one another or absolutely. The Position property controls the position of components in the flow layout container, which can be the report body, a tabular cell or a text box. Components placed in other areas, such as table cells or banded panels are not affected by the Position property.

The Position property can be one of the following values:

You can change the position of a component by changing its Position property in the Report Inspector, or by right-clicking the component and choosing the required item from the Position submenu.

Reference: For more information about this topic, see W3C standard about Visual formatting model.

Paragraphs

Paragraphs are created when text is entered directly into a flow layout container, that is the report body, a tabular cell or a text box.