Class CanvasMajorAxisLayoutStep
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep
-
- org.pentaho.reporting.engine.classic.core.layout.process.AbstractMajorAxisLayoutStep
-
- org.pentaho.reporting.engine.classic.core.layout.process.CanvasMajorAxisLayoutStep
-
public final class CanvasMajorAxisLayoutStep extends AbstractMajorAxisLayoutStep
This processes the second step of the vertical-layouting. At this point, the static height of all elements is known (that is the height of all elements that do not use percentages in either the y or height properties). That height is then used as base-value to resolve all relative heights and y positions and the layouting is redone.- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description CanvasMajorAxisLayoutStep()
-
Method Summary
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.layout.process.AbstractMajorAxisLayoutStep
checkCacheValid, clearAllChildsDirtyMarker, continueComputation, getTableRowHeightStep, isCacheClean, markAllChildsDirty, performFinishTable, performStartTable
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep
close, finishInlineLevelBox, finishTableColGroupLevelBox, finishTableColLevelBox, getEventWatch, getSummaryWatch, initializePerformanceMonitoring, processBlockLevelChild, processBoxChilds, processCanvasLevelChild, processInlineLevelChild, processInlineLevelNode, processOtherLevelChild, processRowLevelChild, processTableCellChild, processTableCellLevelNode, processTableChild, processTableColChild, processTableColGroupChild, processTableColGroupLevelNode, processTableColLevelNode, processTableRowChild, processTableRowLevelNode, processTableSectionChild, startInlineLevelBox, startProcessing, startTableColGroupLevelBox, startTableColLevelBox
-
-
-
-
Method Detail
-
compute
public void compute(LogicalPageBox pageBox)
- Overrides:
compute
in classAbstractMajorAxisLayoutStep
-
initialize
public void initialize(OutputProcessorMetaData metaData)
-
startBlockLevelBox
protected boolean startBlockLevelBox(RenderBox box)
- Overrides:
startBlockLevelBox
in classIterateVisualProcessStep
-
processBlockLevelNode
protected void processBlockLevelNode(RenderNode node)
- Overrides:
processBlockLevelNode
in classIterateVisualProcessStep
-
finishBlockLevelBox
protected void finishBlockLevelBox(RenderBox box)
- Overrides:
finishBlockLevelBox
in classIterateVisualProcessStep
-
processParagraphChilds
protected void processParagraphChilds(ParagraphRenderBox box)
- Specified by:
processParagraphChilds
in classIterateVisualProcessStep
-
startCanvasLevelBox
protected boolean startCanvasLevelBox(RenderBox box)
- Overrides:
startCanvasLevelBox
in classIterateVisualProcessStep
-
processCanvasLevelNode
protected void processCanvasLevelNode(RenderNode node)
- Overrides:
processCanvasLevelNode
in classIterateVisualProcessStep
-
finishCanvasLevelBox
protected void finishCanvasLevelBox(RenderBox box)
Finishes up a canvas level box. This updates/affects the height of the parent, as the canvas model defines that the parent always fully encloses all of its childs. When no preferred height is defined, the height of an element is the maximum of its minimum-height and the absolute height of all of its direct children. To resolve the value of percentages, the system uses the maximum of the parent's height and the maximum of all (y + height) of all children.)- Overrides:
finishCanvasLevelBox
in classIterateVisualProcessStep
- Parameters:
box
-
-
startRowLevelBox
protected boolean startRowLevelBox(RenderBox box)
- Overrides:
startRowLevelBox
in classIterateVisualProcessStep
-
processRowLevelNode
protected void processRowLevelNode(RenderNode node)
- Overrides:
processRowLevelNode
in classIterateVisualProcessStep
-
finishRowLevelBox
protected void finishRowLevelBox(RenderBox box)
- Overrides:
finishRowLevelBox
in classIterateVisualProcessStep
-
startTableCellLevelBox
protected boolean startTableCellLevelBox(RenderBox box)
- Overrides:
startTableCellLevelBox
in classIterateVisualProcessStep
-
finishTableCellLevelBox
protected void finishTableCellLevelBox(RenderBox box)
- Overrides:
finishTableCellLevelBox
in classIterateVisualProcessStep
-
startTableRowLevelBox
protected boolean startTableRowLevelBox(RenderBox box)
- Overrides:
startTableRowLevelBox
in classIterateVisualProcessStep
-
finishTableRowLevelBox
protected void finishTableRowLevelBox(RenderBox box)
- Overrides:
finishTableRowLevelBox
in classIterateVisualProcessStep
-
startTableLevelBox
protected boolean startTableLevelBox(RenderBox box)
- Overrides:
startTableLevelBox
in classIterateVisualProcessStep
-
processTableLevelNode
protected void processTableLevelNode(RenderNode node)
- Overrides:
processTableLevelNode
in classIterateVisualProcessStep
-
finishTableLevelBox
protected void finishTableLevelBox(RenderBox box)
- Overrides:
finishTableLevelBox
in classIterateVisualProcessStep
-
startTableSectionLevelBox
protected boolean startTableSectionLevelBox(RenderBox box)
- Overrides:
startTableSectionLevelBox
in classIterateVisualProcessStep
-
processTableSectionLevelNode
protected void processTableSectionLevelNode(RenderNode node)
- Overrides:
processTableSectionLevelNode
in classIterateVisualProcessStep
-
finishTableSectionLevelBox
protected void finishTableSectionLevelBox(RenderBox box)
- Overrides:
finishTableSectionLevelBox
in classIterateVisualProcessStep
-
-