|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.xslf.usermodel.XSLFShape org.apache.poi.xslf.usermodel.XSLFSimpleShape org.apache.poi.xslf.usermodel.XSLFTextShape org.apache.poi.xslf.usermodel.XSLFTableCell
public class XSLFTableCell
Represents a cell of a table in a .pptx presentation
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.poi.xslf.usermodel.XSLFTextShape |
---|
addNewTextParagraph, clearText, drawContent, getBottomInset, getLeftInset, getRightInset, getText, getTextAutofit, getTextBodyPr, getTextDirection, getTextHeight, getTextParagraphs, getTextType, getTopInset, getWordWrap, iterator, resizeToFitText, setPlaceholder, setText, setTextAutofit, setTextDirection, setWordWrap |
Methods inherited from class org.apache.poi.xslf.usermodel.XSLFSimpleShape |
---|
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 |
Methods inherited from class org.apache.poi.xslf.usermodel.XSLFShape |
---|
applyTransform |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |