| java.lang.Object org.apache.poi.hslf.model.Shape org.apache.poi.hslf.model.ShapeGroup org.apache.poi.hslf.model.Table
Table | public class Table extends ShapeGroup (Code) | | Represents a table in a PowerPoint presentation
author: Yegor Kozlov |
Constructor Summary | |
public | Table(int numrows, int numcols) | protected | Table(EscherContainerRecord escherRecord, Shape parent) Create a Table object and initilize it from the supplied Record container. |
BORDERS_ALL | final protected static int BORDERS_ALL(Code) | | |
BORDERS_INSIDE | final protected static int BORDERS_INSIDE(Code) | | |
BORDERS_NONE | final protected static int BORDERS_NONE(Code) | | |
BORDERS_OUTSIDE | final protected static int BORDERS_OUTSIDE(Code) | | |
BORDER_BOTTOM | final protected static int BORDER_BOTTOM(Code) | | |
BORDER_LEFT | final protected static int BORDER_LEFT(Code) | | |
BORDER_RIGHT | final protected static int BORDER_RIGHT(Code) | | |
BORDER_TOP | final protected static int BORDER_TOP(Code) | | |
Table | public Table(int numrows, int numcols)(Code) | | Create a new Table of the given number of rows and columns
Parameters: numrows - the number of rows Parameters: numcols - the number of columns |
Table | protected Table(EscherContainerRecord escherRecord, Shape parent)(Code) | | Create a Table object and initilize it from the supplied Record container.
Parameters: escherRecord - EscherSpContainer container which holds information about this shape Parameters: parent - the parent of the shape |
createBorder | public Line createBorder()(Code) | | Create a border to format this table
the created border |
getCell | public TableCell getCell(int row, int col)(Code) | | Gets a cell
Parameters: row - the row index (0-based) Parameters: col - the column index (0-based) the cell |
getNumberOfColumns | public int getNumberOfColumns()(Code) | | |
getNumberOfRows | public int getNumberOfRows()(Code) | | |
setAllBorders | public void setAllBorders(Line line)(Code) | | Format the table and apply the specified Line to all cell boundaries,
both outside and inside
Parameters: line - the border line |
setColumnWidth | public void setColumnWidth(int col, int width)(Code) | | Sets the column width.
Parameters: col - the column index (0-based) Parameters: width - the width to set (in pixels) |
setInsideBorders | public void setInsideBorders(Line line)(Code) | | Format the inside border using the specified Line object
Parameters: line - the border line |
setOutsideBorders | public void setOutsideBorders(Line line)(Code) | | Format the outside border using the specified Line object
Parameters: line - the border line |
setRowHeight | public void setRowHeight(int row, int height)(Code) | | Sets the row height.
Parameters: row - the row index (0-based) Parameters: height - the height to set (in pixels) |
|
|