Class TableContentProducer
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.layout.process.IterateSimpleStructureProcessStep
-
- org.pentaho.reporting.engine.classic.core.modules.output.table.base.TableContentProducer
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ExcelTableContentProducer
public class TableContentProducer extends IterateSimpleStructureProcessStep
After the pagination was able to deriveForAdvance the table-structure (all column and row-breaks are now known), this second step flattens the layout-tree into a two-dimensional table structure.- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TableContentProducer(SheetLayout sheetLayout, OutputProcessorMetaData metaData)
-
Method Summary
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.layout.process.IterateSimpleStructureProcessStep
processOtherNode, startProcessing
-
-
-
-
Constructor Detail
-
TableContentProducer
public TableContentProducer(SheetLayout sheetLayout, OutputProcessorMetaData metaData)
-
-
Method Detail
-
isProcessWatermark
public boolean isProcessWatermark()
-
setProcessWatermark
public void setProcessWatermark(boolean processWatermark)
-
updateSheetLayout
protected void updateSheetLayout(SheetLayout sheetLayout)
-
getSheetName
public String getSheetName()
-
getSectionType
public CellMarker.SectionType getSectionType()
-
compute
public void compute(LogicalPageBox logicalPage, boolean iterativeUpdate)
-
computeDesigntimeConflicts
protected void computeDesigntimeConflicts(RenderBox box)
-
getContent
public RenderBox getContent(int row, int column)
-
getBackground
public RenderBox getBackground(int row, int column)
-
getSectionType
public CellMarker.SectionType getSectionType(int row, int column)
-
getContentOffset
public long getContentOffset(int row, int column)
-
getRowCount
public int getRowCount()
-
getColumnCount
public int getColumnCount()
-
startBox
protected boolean startBox(RenderBox box)
- Overrides:
startBox
in classIterateSimpleStructureProcessStep
-
isProcessed
protected boolean isProcessed(RenderBox box)
-
isReplaceableBackground
protected boolean isReplaceableBackground(CellMarker oldMarker, CellMarker newMarker)
-
getLookupRectangle
protected TableRectangle getLookupRectangle()
-
isFailOnCellConflicts
protected boolean isFailOnCellConflicts()
-
setFailOnCellConflicts
protected void setFailOnCellConflicts(boolean failOnCellConflicts)
-
handleContentConflict
protected void handleContentConflict(RenderBox box)
-
collectSheetStyleData
protected void collectSheetStyleData(RenderBox box)
-
getFinishedRows
public int getFinishedRows()
-
clearFinishedBoxes
public void clearFinishedBoxes()
-
finishBox
protected void finishBox(RenderBox box)
- Overrides:
finishBox
in classIterateSimpleStructureProcessStep
-
processParagraphChilds
protected void processParagraphChilds(ParagraphRenderBox box)
-
getSheetLayout
public SheetLayout getSheetLayout()
-
getFilledRows
public int getFilledRows()
-
getContentRowCount
public long getContentRowCount()
-
processBoxChilds
protected void processBoxChilds(RenderBox box)
- Overrides:
processBoxChilds
in classIterateSimpleStructureProcessStep
-
reset
public void reset(SheetLayout layout)
-
-