org.pentaho.reporting.engine.classic.core.modules.output.table.base
Class TableContentProducer

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.layout.process.IterateStructuralProcessStep
      extended by org.pentaho.reporting.engine.classic.core.modules.output.table.base.TableContentProducer
Direct Known Subclasses:
ExcelTableContentProducer

public class TableContentProducer
extends IterateStructuralProcessStep

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

Constructor Summary
TableContentProducer(SheetLayout sheetLayout, OutputProcessorMetaData metaData)
           
 
Method Summary
 void clearFinishedBoxes()
           
 void compute(LogicalPageBox logicalPage, boolean iterativeUpdate)
           
 RenderBox getBackground(int row, int column)
           
 int getColumnCount()
           
 RenderBox getContent(int row, int column)
           
 long getContentOffset(int row, int column)
           
 long getContentRowCount()
           
 int getFilledRows()
           
 int getFinishedRows()
           
 int getRowCount()
           
 int getSectionType(int row, int column)
           
 SheetLayout getSheetLayout()
           
 String getSheetName()
           
 boolean startCanvasBox(CanvasRenderBox box)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableContentProducer

public TableContentProducer(SheetLayout sheetLayout,
                            OutputProcessorMetaData metaData)
Method Detail

getSheetName

public String getSheetName()

compute

public void compute(LogicalPageBox logicalPage,
                    boolean iterativeUpdate)

getContent

public RenderBox getContent(int row,
                            int column)

getBackground

public RenderBox getBackground(int row,
                               int column)

getSectionType

public int getSectionType(int row,
                          int column)

getContentOffset

public long getContentOffset(int row,
                             int column)

getRowCount

public int getRowCount()

getColumnCount

public int getColumnCount()

getFinishedRows

public int getFinishedRows()

clearFinishedBoxes

public void clearFinishedBoxes()

startCanvasBox

public boolean startCanvasBox(CanvasRenderBox box)

getSheetLayout

public SheetLayout getSheetLayout()

getFilledRows

public int getFilledRows()

getContentRowCount

public long getContentRowCount()