public class XSLFTable extends XSLFGraphicFrame implements Iterable<XSLFTableRow>
| Modifier and Type | Method and Description |
|---|---|
XSLFTableRow |
addRow() |
double |
getColumnWidth(int idx) |
org.openxmlformats.schemas.drawingml.x2006.main.CTTable |
getCTTable() |
int |
getNumberOfColumns() |
int |
getNumberOfRows() |
List<XSLFTableRow> |
getRows() |
Iterator<XSLFTableRow> |
iterator() |
void |
mergeCells(int firstRow,
int lastRow,
int firstCol,
int lastCol)
Merge cells of a table
|
void |
setColumnWidth(int idx,
double width) |
draw, getAnchor, getFlipHorizontal, getFlipVertical, getRotation, getShapeId, getShapeName, getShapeType, getSheet, getXmlObject, setAnchor, setFlipHorizontal, setFlipVertical, setRotationapplyTransformclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliterator@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 Iterator<XSLFTableRow> iterator()
iterator in interface Iterable<XSLFTableRow>public List<XSLFTableRow> getRows()
public XSLFTableRow addRow()
public void mergeCells(int firstRow,
int lastRow,
int firstCol,
int lastCol)
Copyright © 2020. All rights reserved.