Class FastSheetLayout
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.modules.output.fast.template.FastSheetLayout
-
- All Implemented Interfaces:
SlimSheetLayout
public class FastSheetLayout extends Object implements SlimSheetLayout
-
-
Constructor Summary
Constructors Constructor Description FastSheetLayout(SheetLayout sheetLayout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StrictBounds
getBounds(TableRectangle rectangle)
long
getCellWidth(int col)
long
getCellWidth(int startCell, int endCell)
int
getColumnCount()
long
getMaxWidth()
long
getRowHeight(int row)
TableRectangle
getTableBounds(StrictBounds cb, TableRectangle rectangle)
long
getXPosition(int col)
long
getYPosition(int row)
void
reinit(long rowHeightOffset, long[] cellHeights)
-
-
-
Constructor Detail
-
FastSheetLayout
public FastSheetLayout(SheetLayout sheetLayout)
-
-
Method Detail
-
reinit
public void reinit(long rowHeightOffset, long[] cellHeights)
-
getCellWidth
public long getCellWidth(int col)
- Specified by:
getCellWidth
in interfaceSlimSheetLayout
-
getRowHeight
public long getRowHeight(int row)
- Specified by:
getRowHeight
in interfaceSlimSheetLayout
-
getXPosition
public long getXPosition(int col)
- Specified by:
getXPosition
in interfaceSlimSheetLayout
-
getYPosition
public long getYPosition(int row)
- Specified by:
getYPosition
in interfaceSlimSheetLayout
-
getTableBounds
public TableRectangle getTableBounds(StrictBounds cb, TableRectangle rectangle)
- Specified by:
getTableBounds
in interfaceSlimSheetLayout
-
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in interfaceSlimSheetLayout
-
getCellWidth
public long getCellWidth(int startCell, int endCell)
- Specified by:
getCellWidth
in interfaceSlimSheetLayout
-
getMaxWidth
public long getMaxWidth()
- Specified by:
getMaxWidth
in interfaceSlimSheetLayout
-
getBounds
public StrictBounds getBounds(TableRectangle rectangle)
-
-