org.apache.poi.xslf.usermodel
Class XSLFTable
- java.lang.Object
-
- org.apache.poi.xslf.usermodel.XSLFShape
-
- org.apache.poi.xslf.usermodel.XSLFGraphicFrame
-
- org.apache.poi.xslf.usermodel.XSLFTable
-
- All Implemented Interfaces:
- java.lang.Iterable<XSLFTableRow>
public class XSLFTable extends XSLFGraphicFrame implements java.lang.Iterable<XSLFTableRow>
Represents a table in a .pptx presentation
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description XSLFTableRowaddRow()doublegetColumnWidth(int idx)org.openxmlformats.schemas.drawingml.x2006.main.CTTablegetCTTable()intgetNumberOfColumns()intgetNumberOfRows()java.util.List<XSLFTableRow>getRows()java.util.Iterator<XSLFTableRow>iterator()voidmergeCells(int firstRow, int lastRow, int firstCol, int lastCol)Merge cells of a tablevoidsetColumnWidth(int idx, double width)-
Methods inherited from class org.apache.poi.xslf.usermodel.XSLFGraphicFrame
draw, getAnchor, getFlipHorizontal, getFlipVertical, getRotation, getShapeId, getShapeName, getShapeType, getSheet, getXmlObject, setAnchor, setFlipHorizontal, setFlipVertical, setRotation
-
-
-
-
Method Detail
-
getCTTable
@Internal public org.openxmlformats.schemas.drawingml.x2006.main.CTTable getCTTable()
-
getNumberOfColumns
public int getNumberOfColumns()
-
getNumberOfRows
public int getNumberOfRows()
-
getColumnWidth
public double getColumnWidth(int idx)
-
setColumnWidth
public void setColumnWidth(int idx, double width)
-
iterator
public java.util.Iterator<XSLFTableRow> iterator()
- Specified by:
iteratorin interfacejava.lang.Iterable<XSLFTableRow>
-
getRows
public java.util.List<XSLFTableRow> getRows()
-
addRow
public XSLFTableRow addRow()
-
mergeCells
public void mergeCells(int firstRow, int lastRow, int firstCol, int lastCol)Merge cells of a table
-
-
DataMelt 3.0 © DataMelt by jWork.ORG