org.apache.poi.xslf.usermodel
Class XSLFTableCell

java.lang.Object
  extended by org.apache.poi.xslf.usermodel.XSLFShape
      extended by org.apache.poi.xslf.usermodel.XSLFSimpleShape
          extended by org.apache.poi.xslf.usermodel.XSLFTextShape
              extended by org.apache.poi.xslf.usermodel.XSLFTableCell

public class XSLFTableCell
extends XSLFTextShape

Represents a cell of a table in a .pptx presentation

Author:
Yegor Kozlov

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)
           
 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 setFillColor(java.awt.Color color)
          Specifies a solid color fill.
 void setMarginBottom(double margin)
          Sets the botom margin.
 void setMarginLeft(double margin)
          Sets the left margin.
 void setMarginRight(double margin)
          Sets the right margin.
 void setMarginTop(double margin)
          Sets the top margin.
 
Methods inherited from class org.apache.poi.xslf.usermodel.XSLFTextShape
addNewTextParagraph, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getText, getTextAutofit, getTextBodyPr, getTextDirection, getTextParagraphs, getVerticalAlignment, getWordWrap, setTextAutofit, setTextDirection, setVerticalAlignment, setWordWrap
 
Methods inherited from class org.apache.poi.xslf.usermodel.XSLFSimpleShape
getAnchor, getFlipHorizontal, getFlipVertical, getLineCap, getLineColor, getLineDash, getLineWidth, getNvPr, getRotation, getShapeId, getShapeName, getShapeType, getSheet, getSpPr, setAnchor, setFlipHorizontal, setFlipVertical, setLineCap, setLineColor, setLineDash, setLineWidth, setRotation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getXmlObject

public org.openxmlformats.schemas.drawingml.x2006.main.CTTableCell getXmlObject()
Overrides:
getXmlObject in class XSLFSimpleShape

getTextBody

protected org.openxmlformats.schemas.drawingml.x2006.main.CTTextBody getTextBody(boolean create)
Specified by:
getTextBody in class XSLFTextShape

setMarginLeft

public void setMarginLeft(double margin)
Description copied from class: XSLFTextShape
Sets the left margin.

Overrides:
setMarginLeft in class XSLFTextShape
Parameters:
margin - the left margin
See Also:
XSLFTextShape.getMarginLeft()

setMarginRight

public void setMarginRight(double margin)
Description copied from class: XSLFTextShape
Sets the right margin.

Overrides:
setMarginRight in class XSLFTextShape
Parameters:
margin - the right margin
See Also:
XSLFTextShape.getMarginRight()

setMarginTop

public void setMarginTop(double margin)
Description copied from class: XSLFTextShape
Sets the top margin.

Overrides:
setMarginTop in class XSLFTextShape
Parameters:
margin - the top margin
See Also:
XSLFTextShape.getMarginTop()

setMarginBottom

public void setMarginBottom(double margin)
Description copied from class: XSLFTextShape
Sets the botom margin.

Overrides:
setMarginBottom in class XSLFTextShape
Parameters:
margin - the bottom margin
See Also:
XSLFTextShape.getMarginBottom()

setBorderLeft

public void setBorderLeft(double width)

getBorderLeft

public double getBorderLeft()

setBorderLeftColor

public void setBorderLeftColor(java.awt.Color color)

getBorderLeftColor

public java.awt.Color getBorderLeftColor()

setBorderRight

public void setBorderRight(double width)

getBorderRight

public double getBorderRight()

setBorderRightColor

public void setBorderRightColor(java.awt.Color color)

getBorderRightColor

public java.awt.Color getBorderRightColor()

setBorderTop

public void setBorderTop(double width)

getBorderTop

public double getBorderTop()

setBorderTopColor

public void setBorderTopColor(java.awt.Color color)

getBorderTopColor

public java.awt.Color getBorderTopColor()

setBorderBottom

public void setBorderBottom(double width)

getBorderBottom

public double getBorderBottom()

setBorderBottomColor

public void setBorderBottomColor(java.awt.Color color)

getBorderBottomColor

public java.awt.Color getBorderBottomColor()

setFillColor

public void setFillColor(java.awt.Color color)
Specifies a solid color fill. The shape is filled entirely with the specified color.

Overrides:
setFillColor in class XSLFTextShape
Parameters:
color - the solid color fill. The value of null unsets the solidFIll attribute from the underlying xml

getFillColor

public java.awt.Color getFillColor()
Overrides:
getFillColor in class XSLFTextShape
Returns:
solid fill color of null if not set


Copyright 2011 The Apache Software Foundation or its licensors, as applicable.