org.apache.poi.hslf.model
Class TableCell
java.lang.Object
org.apache.poi.hslf.model.Shape
org.apache.poi.hslf.model.SimpleShape
org.apache.poi.hslf.model.TextShape
org.apache.poi.hslf.model.TextBox
org.apache.poi.hslf.model.TableCell
public final class TableCell
- extends TextBox
Represents a cell in a ppt table
- Author:
- Yegor Kozlov
Fields inherited from class org.apache.poi.hslf.model.TextShape |
AlignCenter, AlignJustify, AlignLeft, AlignRight, AnchorBottom, AnchorBottomBaseline, AnchorBottomCentered, AnchorBottomCenteredBaseline, AnchorMiddle, AnchorMiddleCentered, AnchorTop, AnchorTopBaseline, AnchorTopCentered, AnchorTopCenteredBaseline, WrapByPoints, WrapNone, WrapSquare, WrapThrough, WrapTopBottom |
Methods inherited from class org.apache.poi.hslf.model.TextShape |
createTextRun, draw, getHorizontalAlignment, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPlaceholderAtom, getText, getTextId, getTextRun, getVerticalAlignment, getWordWrap, resizeToFitText, setHorizontalAlignment, setHyperlink, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setSheet, setText, setTextId, setVerticalAlignment, setWordWrap |
Methods inherited from class org.apache.poi.hslf.model.SimpleShape |
getFillColor, getFlipHorizontal, getFlipVertical, getLineColor, getLineDashing, getLineStyle, getLineWidth, getLogicalAnchor2D, getRotation, setFillColor, setHyperlink, setLineColor, setLineDashing, setLineStyle, setLineWidth, setRotation |
Methods inherited from class org.apache.poi.hslf.model.Shape |
getAnchor, getAnchor2D, getEscherChild, getEscherProperty, getEscherProperty, getEscherProperty, getFill, getHyperlink, getOutline, getParent, getShapeId, getShapeName, getShapeType, getSheet, getSpContainer, moveTo, setAnchor, setEscherProperty, setEscherProperty, setShapeId, setShapeType |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableCell
public TableCell(Shape parent)
- Create a new TableCell. This constructor is used when a new shape is created.
- Parameters:
parent
- the parent of this Shape. For example, if this text box is a cell
in a table then the parent is Table.
getBorderLeft
public Line getBorderLeft()
setBorderLeft
public void setBorderLeft(Line line)
getBorderRight
public Line getBorderRight()
setBorderRight
public void setBorderRight(Line line)
getBorderTop
public Line getBorderTop()
setBorderTop
public void setBorderTop(Line line)
getBorderBottom
public Line getBorderBottom()
setBorderBottom
public void setBorderBottom(Line line)
setAnchor
public void setAnchor(java.awt.Rectangle anchor)