public class XSLFTableCell extends XSLFTextShape
| Modifier and Type | Method and Description |
|---|---|
double |
getBorderBottom() |
Color |
getBorderBottomColor() |
double |
getBorderLeft() |
Color |
getBorderLeftColor() |
double |
getBorderRight() |
Color |
getBorderRightColor() |
double |
getBorderTop() |
Color |
getBorderTopColor() |
Color |
getFillColor() |
protected org.openxmlformats.schemas.drawingml.x2006.main.CTTextBody |
getTextBody(boolean create) |
VerticalAlignment |
getVerticalAlignment()
Returns the type of vertical alignment for the text.
|
org.openxmlformats.schemas.drawingml.x2006.main.CTTableCell |
getXmlObject() |
void |
setBorderBottom(double width) |
void |
setBorderBottomColor(Color color) |
void |
setBorderLeft(double width) |
void |
setBorderLeftColor(Color color) |
void |
setBorderRight(double width) |
void |
setBorderRightColor(Color color) |
void |
setBorderTop(double width) |
void |
setBorderTopColor(Color color) |
void |
setBottomInset(double margin)
Sets the botom margin.
|
void |
setFillColor(Color color)
Specifies a solid color fill.
|
void |
setLeftInset(double margin)
Sets the left margin.
|
void |
setRightInset(double margin)
Sets the right margin.
|
void |
setTopInset(double margin)
Sets the top margin.
|
void |
setVerticalAlignment(VerticalAlignment anchor)
Sets the type of vertical alignment for the text.
|
addNewTextParagraph, clearText, drawContent, getBottomInset, getLeftInset, getRightInset, getText, getTextAutofit, getTextBodyPr, getTextDirection, getTextHeight, getTextParagraphs, getTextType, getTopInset, getWordWrap, iterator, resizeToFitText, setPlaceholder, setText, setTextAutofit, setTextDirection, setWordWrapdraw, getAnchor, getCTPlaceholder, getFlipHorizontal, getFlipVertical, getLineCap, getLineColor, getLineDash, getLineHeadDecoration, getLineHeadLength, getLineHeadWidth, getLineTailDecoration, getLineTailLength, getLineTailWidth, getLineWidth, getNvPr, getRotation, getShadow, getShapeId, getShapeName, getShapeType, getSheet, getSpPr, getSpStyle, setAnchor, setFlipHorizontal, setFlipVertical, setLineCap, setLineColor, setLineDash, setLineHeadDecoration, setLineHeadLength, setLineHeadWidth, setLineTailDecoration, setLineTailLength, setLineTailWidth, setLineWidth, setRotation, setShapeTypeapplyTransformclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic org.openxmlformats.schemas.drawingml.x2006.main.CTTableCell getXmlObject()
getXmlObject in class XSLFSimpleShapeprotected org.openxmlformats.schemas.drawingml.x2006.main.CTTextBody getTextBody(boolean create)
getTextBody in class XSLFTextShapepublic void setLeftInset(double margin)
XSLFTextShapesetLeftInset in class XSLFTextShapemargin - the left marginXSLFTextShape.getLeftInset()public void setRightInset(double margin)
XSLFTextShapesetRightInset in class XSLFTextShapemargin - the right marginXSLFTextShape.getRightInset()public void setTopInset(double margin)
XSLFTextShapesetTopInset in class XSLFTextShapemargin - the top marginXSLFTextShape.getTopInset()public void setBottomInset(double margin)
XSLFTextShapesetBottomInset in class XSLFTextShapemargin - the bottom marginXSLFTextShape.getBottomInset()public void setBorderLeft(double width)
public double getBorderLeft()
public void setBorderLeftColor(Color color)
public Color getBorderLeftColor()
public void setBorderRight(double width)
public double getBorderRight()
public void setBorderRightColor(Color color)
public Color getBorderRightColor()
public void setBorderTop(double width)
public double getBorderTop()
public void setBorderTopColor(Color color)
public Color getBorderTopColor()
public void setBorderBottom(double width)
public double getBorderBottom()
public void setBorderBottomColor(Color color)
public Color getBorderBottomColor()
public void setFillColor(Color color)
setFillColor in class XSLFSimpleShapecolor - the solid color fill.
The value of null unsets the solidFIll attribute from the underlying xmlpublic Color getFillColor()
getFillColor in class XSLFSimpleShapepublic void setVerticalAlignment(VerticalAlignment anchor)
XSLFTextShapesetVerticalAlignment in class XSLFTextShapeanchor - - the type of alignment.
A null values unsets this property.public VerticalAlignment getVerticalAlignment()
XSLFTextShapegetVerticalAlignment in class XSLFTextShapeCopyright © 2020. All rights reserved.