'Apache FOP || How does fo:flow knows that it has to print header in one column when there is less data

<fo:region-body region-name="page-region-body" column-count="2" column-gap="0.18in">

The header in fo:flow is printing two columns with same header when there is good amount of data, but only printing header in one column where there is less data, want to know the specific flow how it is working. How it gets to know when and how to print?

header repeated twice

header repeated once



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source