public class XSLFTable extends XSLFGraphicFrame implements java.lang.Iterable<XSLFTableRow>, TableShape<XSLFShape,XSLFTextParagraph>
Modifier and Type | Method and Description |
---|---|
XSLFTableRow |
addRow() |
double |
getColumnWidth(int idx) |
org.openxmlformats.schemas.drawingml.x2006.main.CTTable |
getCTTable() |
int |
getNumberOfColumns() |
int |
getNumberOfRows() |
java.util.List<XSLFTableRow> |
getRows() |
java.util.Iterator<XSLFTableRow> |
iterator() |
void |
mergeCells(int firstRow,
int lastRow,
int firstCol,
int lastCol)
Merge cells of a table
|
void |
setColumnWidth(int idx,
double width) |
getAnchor, getFlipHorizontal, getFlipVertical, getRotation, getShapeType, setAnchor, setFlipHorizontal, setFlipVertical, setRotation
fetchShapeProperty, getBgPr, getBgRef, getCNvPr, getCTPlaceholder, getFillPaint, getGrpSpPr, getPaint, getParent, getShapeId, getShapeName, getSheet, getSpPr, getSpStyle, getXmlObject, selectPaint, selectPaint, selectPaint, selectPaint, selectPaint, selectProperty, setParent, setPlaceholder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnchor, getFlipHorizontal, getFlipVertical, getParent, getRotation, setAnchor, setFlipHorizontal, setFlipVertical, setRotation
@Internal public org.openxmlformats.schemas.drawingml.x2006.main.CTTable getCTTable()
public int getNumberOfColumns()
public int getNumberOfRows()
public double getColumnWidth(int idx)
public void setColumnWidth(int idx, double width)
public java.util.Iterator<XSLFTableRow> iterator()
iterator
in interface java.lang.Iterable<XSLFTableRow>
public java.util.List<XSLFTableRow> getRows()
public XSLFTableRow addRow()
public void mergeCells(int firstRow, int lastRow, int firstCol, int lastCol)
Copyright 2016 The Apache Software Foundation or its licensors, as applicable.