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, setInteriorAnchor
draw, 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, setShapeType
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createAutoShape, createConnector, createFreeform, createGroup, createOleShape, createPicture, createTextBox
addShape, createTable, getShapes, removeShape
forEach, iterator, spliterator
draw, getAnchor, getParent, getShapeId, getShapeName, getSheet
getAnchor, getFlipHorizontal, getFlipVertical, getParent, getRotation, getSheet, setAnchor, setFlipHorizontal, setFlipVertical, setRotation
public HSLFTableCell getCell(int row, int col)
TableShape
getCell
in interface TableShape<HSLFShape,HSLFTextParagraph>
row
- the row index (0-based)col
- the column index (0-based)public int getNumberOfColumns()
TableShape
getNumberOfColumns
in interface TableShape<HSLFShape,HSLFTextParagraph>
public int getNumberOfRows()
TableShape
getNumberOfRows
in interface TableShape<HSLFShape,HSLFTextParagraph>
public void setSheet(HSLFSheet sheet)
SlideShow
this shape belongs topublic double getRowHeight(int row)
TableShape
getRowHeight
in interface TableShape<HSLFShape,HSLFTextParagraph>
row
- the row index (0-based)public void setRowHeight(int row, double height)
TableShape
setRowHeight
in interface TableShape<HSLFShape,HSLFTextParagraph>
row
- the row index (0-based)height
- the height to set (in points)public double getColumnWidth(int col)
TableShape
getColumnWidth
in interface TableShape<HSLFShape,HSLFTextParagraph>
col
- the column index (0-based)public void setColumnWidth(int col, double width)
TableShape
setColumnWidth
in interface TableShape<HSLFShape,HSLFTextParagraph>
col
- the column index (0-based)width
- the width (in points)Copyright © 2010 - 2020 Adobe. All Rights Reserved