public class XSLFTableCell extends XSLFTextShape
Modifier and Type | Method and Description |
---|---|
double |
getBorderBottom() |
java.awt.Color |
getBorderBottomColor() |
double |
getBorderLeft() |
java.awt.Color |
getBorderLeftColor() |
double |
getBorderRight() |
java.awt.Color |
getBorderRightColor() |
double |
getBorderTop() |
java.awt.Color |
getBorderTopColor() |
java.awt.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(java.awt.Color color) |
void |
setBorderLeft(double width) |
void |
setBorderLeftColor(java.awt.Color color) |
void |
setBorderRight(double width) |
void |
setBorderRightColor(java.awt.Color color) |
void |
setBorderTop(double width) |
void |
setBorderTopColor(java.awt.Color color) |
void |
setBottomInset(double margin)
Sets the botom margin.
|
void |
setFillColor(java.awt.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, setWordWrap
draw, 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, setShapeType
applyTransform
public org.openxmlformats.schemas.drawingml.x2006.main.CTTableCell getXmlObject()
getXmlObject
in class XSLFSimpleShape
protected org.openxmlformats.schemas.drawingml.x2006.main.CTTextBody getTextBody(boolean create)
getTextBody
in class XSLFTextShape
public void setLeftInset(double margin)
XSLFTextShape
setLeftInset
in class XSLFTextShape
margin
- the left marginXSLFTextShape.getLeftInset()
public void setRightInset(double margin)
XSLFTextShape
setRightInset
in class XSLFTextShape
margin
- the right marginXSLFTextShape.getRightInset()
public void setTopInset(double margin)
XSLFTextShape
setTopInset
in class XSLFTextShape
margin
- the top marginXSLFTextShape.getTopInset()
public void setBottomInset(double margin)
XSLFTextShape
setBottomInset
in class XSLFTextShape
margin
- the bottom marginXSLFTextShape.getBottomInset()
public void setBorderLeft(double width)
public double getBorderLeft()
public void setBorderLeftColor(java.awt.Color color)
public java.awt.Color getBorderLeftColor()
public void setBorderRight(double width)
public double getBorderRight()
public void setBorderRightColor(java.awt.Color color)
public java.awt.Color getBorderRightColor()
public void setBorderTop(double width)
public double getBorderTop()
public void setBorderTopColor(java.awt.Color color)
public java.awt.Color getBorderTopColor()
public void setBorderBottom(double width)
public double getBorderBottom()
public void setBorderBottomColor(java.awt.Color color)
public java.awt.Color getBorderBottomColor()
public void setFillColor(java.awt.Color color)
setFillColor
in class XSLFSimpleShape
color
- the solid color fill.
The value of null
unsets the solidFIll attribute from the underlying xmlpublic java.awt.Color getFillColor()
getFillColor
in class XSLFSimpleShape
public void setVerticalAlignment(VerticalAlignment anchor)
XSLFTextShape
setVerticalAlignment
in class XSLFTextShape
anchor
- - the type of alignment.
A null
values unsets this property.public VerticalAlignment getVerticalAlignment()
XSLFTextShape
getVerticalAlignment
in class XSLFTextShape
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.