Class InfiniteMajorAxisLayoutStep
- 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.InfiniteMajorAxisLayoutStep
-
public final class InfiniteMajorAxisLayoutStep extends AbstractMajorAxisLayoutStep
Computes the absolute layout. The computed height and y positions of all abolutely positioned elements will be stored in the 'canvasY' and 'canvasHeight' properties of RenderNode. Percentages will be resolved to zero.- Author:
- Thomas Morgner
-
-
Field Summary
-
Fields inherited from class org.pentaho.reporting.engine.classic.core.layout.process.AbstractMajorAxisLayoutStep
MAX_AUTO
-
-
Constructor Summary
Constructors Constructor Description InfiniteMajorAxisLayoutStep()
-
Method Summary
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.layout.process.AbstractMajorAxisLayoutStep
checkCacheValid, clearAllChildsDirtyMarker, getTableRowHeightStep, isCacheClean, markAllChildsDirty, performFinishTable, performStartTable
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.layout.process.IterateVisualProcessStep
close, finishTableColGroupLevelBox, finishTableColLevelBox, getEventWatch, getSummaryWatch, initializePerformanceMonitoring, processBlockLevelChild, processBoxChilds, processCanvasLevelChild, processInlineLevelChild, processOtherLevelChild, processRowLevelChild, processTableCellChild, processTableCellLevelNode, processTableChild, processTableColChild, processTableColGroupChild, processTableColGroupLevelNode, processTableColLevelNode, processTableRowChild, processTableRowLevelNode, processTableSectionChild, startProcessing, startTableColGroupLevelBox, startTableColLevelBox
-
-
-
-
Method Detail
-
initialize
public void initialize(OutputProcessorMetaData metaData)
-
compute
public void compute(LogicalPageBox pageBox)
- Overrides:
compute
in classAbstractMajorAxisLayoutStep
-
continueComputation
public void continueComputation(RenderBox box)
Continues processing. The renderbox must have a valid x-layout (that is: X, content-X1, content-X2 and Width)- Overrides:
continueComputation
in classAbstractMajorAxisLayoutStep
- Parameters:
box
- the box.
-
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
-
computeVerticalBlockPosition
public static long computeVerticalBlockPosition(RenderNode node)
-
computeBlockHeightAndAlign
public static long computeBlockHeightAndAlign(RenderBox box, BoxDefinition boxDefinition, long resolveSize, boolean alignChilds)
-
processParagraphChilds
protected void processParagraphChilds(ParagraphRenderBox box)
- Specified by:
processParagraphChilds
in classIterateVisualProcessStep
-
startInlineLevelBox
protected boolean startInlineLevelBox(RenderBox box)
- Overrides:
startInlineLevelBox
in classIterateVisualProcessStep
-
processInlineLevelNode
protected void processInlineLevelNode(RenderNode node)
- Overrides:
processInlineLevelNode
in classIterateVisualProcessStep
-
finishInlineLevelBox
protected void finishInlineLevelBox(RenderBox box)
- Overrides:
finishInlineLevelBox
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
- the 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
-
-