org.pentaho.reporting.engine.classic.core.layout
Class DefaultLayoutBuilder
java.lang.Object
org.pentaho.reporting.engine.classic.core.layout.DefaultLayoutBuilder
- All Implemented Interfaces:
- Cloneable, BufferedLayoutBuilder, LayoutBuilder
public class DefaultLayoutBuilder
- extends Object
- implements Cloneable, BufferedLayoutBuilder
A layout builder is responsible for translating a single band into a layoutable chunk. The builder also collects the
Instance-IDs of all subreports it encounters.
- Author:
- Thomas Morgner
DefaultLayoutBuilder
public DefaultLayoutBuilder(OutputProcessorMetaData metaData)
endSection
public InlineSubreportMarker[] endSection(RenderBox pageArea,
RenderBox sectionBox)
- Specified by:
endSection
in interface LayoutBuilder
startSection
public void startSection(RenderBox pageArea,
boolean limitedSubReports)
- Specified by:
startSection
in interface LayoutBuilder
addEmptyRootLevelBand
public void addEmptyRootLevelBand(RenderBox parent,
ReportStateKey stateKey)
throws ReportProcessingException
- Specified by:
addEmptyRootLevelBand
in interface LayoutBuilder
- Throws:
ReportProcessingException
setCollapseProgressMarker
public void setCollapseProgressMarker(boolean collapseProgressMarker)
isCollapseProgressMarker
public boolean isCollapseProgressMarker()
add
public void add(RenderBox parent,
Band band,
ExpressionRuntime runtime,
ReportStateKey stateKey)
throws ReportProcessingException
- Specified by:
add
in interface LayoutBuilder
- Throws:
ReportProcessingException
isLimitedSubReports
public boolean isLimitedSubReports()
clone
public Object clone()
throws CloneNotSupportedException
- Overrides:
clone
in class Object
- Throws:
CloneNotSupportedException
createBufferedLayoutBuilder
public LayoutBuilder createBufferedLayoutBuilder()
dispose
public void dispose()
- Specified by:
dispose
in interface BufferedLayoutBuilder