public final class HSLFTable extends HSLFGroupShape implements HSLFShapeContainer, TableShape<HSLFShape,HSLFTextParagraph>
| Modifier and Type | Method and Description |
|---|---|
HSLFTableCell |
getCell(int row,
int col)
Gets a cell
|
double |
getColumnWidth(int col)
Gets the width (in points) of the n-th column
|
int |
getNumberOfColumns()
Return the maximum number of columns.
|
int |
getNumberOfRows()
Return the number of rows
|
double |
getRowHeight(int row)
Gets the row height
|
void |
setColumnWidth(int col,
double width)
Sets the width (in points) of the n-th column
|
void |
setRowHeight(int row,
double height)
Sets the row height.
|
void |
setSheet(HSLFSheet sheet)
Assign the
SlideShow this shape belongs to |
addShape, createAutoShape, createConnector, createFreeform, createGroup, createOleShape, createPicture, createTable, createTextBox, getAnchor, getEscherChild, getHyperlink, getInteriorAnchor, getShapes, getShapeType, iterator, removeShape, setAnchor, setInteriorAnchordraw, getClientDataRecord, getEscherChild, getEscherChild, getEscherChild, getEscherOptRecord, getEscherProperty, getEscherProperty, getEscherProperty, getFill, getFillStyle, getFlipHorizontal, getFlipVertical, getParent, getRotation, getShapeId, getShapeName, getSheet, getSpContainer, isPlaceholder, moveTo, setEscherProperty, setEscherProperty, setFlipHorizontal, setFlipVertical, setRotation, setShapeId, setShapeTypeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateAutoShape, createConnector, createFreeform, createGroup, createOleShape, createPicture, createTextBoxaddShape, createTable, getShapes, removeShapeforEach, iterator, spliteratordraw, getAnchor, getParent, getShapeId, getShapeName, getSheetgetAnchor, getFlipHorizontal, getFlipVertical, getParent, getRotation, getSheet, setAnchor, setFlipHorizontal, setFlipVertical, setRotationpublic HSLFTableCell getCell(int row, int col)
TableShapegetCell in interface TableShape<HSLFShape,HSLFTextParagraph>row - the row index (0-based)col - the column index (0-based)public int getNumberOfColumns()
TableShapegetNumberOfColumns in interface TableShape<HSLFShape,HSLFTextParagraph>public int getNumberOfRows()
TableShapegetNumberOfRows in interface TableShape<HSLFShape,HSLFTextParagraph>public void setSheet(HSLFSheet sheet)
SlideShow this shape belongs topublic double getRowHeight(int row)
TableShapegetRowHeight in interface TableShape<HSLFShape,HSLFTextParagraph>row - the row index (0-based)public void setRowHeight(int row,
double height)
TableShapesetRowHeight in interface TableShape<HSLFShape,HSLFTextParagraph>row - the row index (0-based)height - the height to set (in points)public double getColumnWidth(int col)
TableShapegetColumnWidth in interface TableShape<HSLFShape,HSLFTextParagraph>col - the column index (0-based)public void setColumnWidth(int col,
double width)
TableShapesetColumnWidth in interface TableShape<HSLFShape,HSLFTextParagraph>col - the column index (0-based)width - the width (in points)Copyright © 2010 - 2020 Adobe. All Rights Reserved