org.pentaho.reporting.engine.classic.core.layout.process
Class FlowPaginationStep

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep
      extended by org.pentaho.reporting.engine.classic.core.layout.process.FlowPaginationStep

public final class FlowPaginationStep
extends IterateVisualProcessStep

The flow-pagination is a pagination step, where the page-boundaries cannot be determined beforehand. It only works for infinite size pages and ignores all page-header and footers.

The page-break list is updated on the fly while the report is paginated. A new break will only be added if the old list did not contain the new break. It is guaranteed that only one break is added on every run.

If complex compound layouts are required, this pagination step must be followed by a classical pagination step so that boxes that overlap a break-position get shifted accordingly.

Author:
Thomas Morgner

Constructor Summary
FlowPaginationStep()
           
 
Method Summary
 PaginationResult performPagebreak(LogicalPageBox pageBox)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlowPaginationStep

public FlowPaginationStep()
Method Detail

performPagebreak

public PaginationResult performPagebreak(LogicalPageBox pageBox)