public final class HSLFTableCell extends HSLFTextBox implements TableCell<HSLFShape,HSLFTextParagraph>
TextShape.TextAutofit, TextShape.TextDirection| Modifier and Type | Field and Description |
|---|---|
protected static int |
DEFAULT_HEIGHT |
protected static int |
DEFAULT_WIDTH |
_frc, _paragraphs, _txtbox, WrapByPoints, WrapNone, WrapSquare, WrapThrough, WrapTopBottom_clientData, _clientRecords, DEFAULT_LINE_WIDTH| Modifier | Constructor and Description |
|---|---|
protected |
HSLFTableCell(EscherContainerRecord escherRecord,
ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
Create a TableCell object and initialize it from the supplied Record container.
|
|
HSLFTableCell(ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
Create a new TableCell.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
anchorBorder(int type,
HSLFLine line) |
protected EscherContainerRecord |
createSpContainer(boolean isChild)
Create a new TextBox and initialize its internal structures
|
HSLFLine |
getBorderBottom() |
HSLFLine |
getBorderLeft() |
HSLFLine |
getBorderRight() |
HSLFLine |
getBorderTop() |
void |
setAnchor(java.awt.Rectangle anchor)
Sets the anchor (the bounding box rectangle) of this shape.
|
void |
setBorderBottom(HSLFLine line) |
void |
setBorderLeft(HSLFLine line) |
void |
setBorderRight(HSLFLine line) |
void |
setBorderTop(HSLFLine line) |
setDefaultTextPropertiesafterInsert, appendText, getBottomInset, getEscherTextboxWrapper, getHyperlinks, getInsets, getLeftInset, getPlaceholderAtom, getRawText, getRightInset, getRunType, getText, getTextDirection, getTextHeight, getTextId, getTextParagraphs, getTopInset, getVerticalAlignment, getWordWrap, getWordWrapEx, isAlignToBaseline, isHorizontalCentered, isPlaceholder, iterator, resizeToFitText, setAlignToBaseline, setBottomInset, setHorizontalCentered, setHyperlink, setLeftInset, setRightInset, setRunType, setSheet, setText, setTextId, setTopInset, setVerticalAlignment, setWordWrap, storeTextgetAdjustValue, getClientDataRecord, getClientRecords, getFillColor, getGeometry, getLineColor, getLineCompound, getLineDashing, getLineDecoration, getLineWidth, getShadow, getShadowAngle, getShadowColor, getShadowDistance, getStrokeStyle, setFillColor, setHyperlink, setLineColor, setLineCompound, setLineDashing, setLineWidth, updateClientDatadraw, getAnchor, getEscherChild, getEscherChild, getEscherOptRecord, getEscherProperty, getEscherProperty, getEscherProperty, getFill, getFillStyle, getFlipHorizontal, getFlipVertical, getHyperlink, getParent, getRotation, getShapeId, getShapeName, getShapeType, getSheet, getSpContainer, moveTo, setEscherProperty, setEscherProperty, setFlipHorizontal, setFlipVertical, setRotation, setShapeId, setShapeTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInsets, getTextDirection, getTextHeight, getTextParagraphs, getVerticalAlignment, getWordWrap, isHorizontalCenteredgetFillStyle, getGeometry, getLineDecoration, getShadow, getShapeType, getStrokeStyle, isPlaceholdergetAdjustValuegetAnchor, getFlipHorizontal, getFlipVertical, getParent, getRotation, setFlipHorizontal, setFlipVertical, setRotationprotected static final int DEFAULT_WIDTH
protected static final int DEFAULT_HEIGHT
protected HSLFTableCell(EscherContainerRecord escherRecord, ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
escherRecord - EscherSpContainer which holds information about this shapeparent - the parent of the shapepublic HSLFTableCell(ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
parent - the parent of this Shape. For example, if this text box is a cell
in a table then the parent is Table.protected EscherContainerRecord createSpContainer(boolean isChild)
HSLFTextBoxcreateSpContainer in class HSLFTextBoxisChild - true if the Line is inside a group, false otherwiseEscherContainerRecord which holds shape dataprotected void anchorBorder(int type,
HSLFLine line)
public HSLFLine getBorderLeft()
public void setBorderLeft(HSLFLine line)
public HSLFLine getBorderRight()
public void setBorderRight(HSLFLine line)
public HSLFLine getBorderTop()
public void setBorderTop(HSLFLine line)
public HSLFLine getBorderBottom()
public void setBorderBottom(HSLFLine line)
public void setAnchor(java.awt.Rectangle anchor)
HSLFShapesetAnchor in interface PlaceableShape<HSLFShape,HSLFTextParagraph>setAnchor in class HSLFShapeanchor - new anchorCopyright 2016 The Apache Software Foundation or its licensors, as applicable.