Example usage for Java org.apache.poi.xwpf.usermodel XWPFTable fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addRow(XWPFTableRow row) add a new Row to the table |
XWPFTableRow | createRow() create a new XWPFTableRow object with as many cells as the number of columns defined in that moment |
IBody | getBody() |
CTTbl | getCTTbl() |
int | getNumberOfRows() |
XWPFTableRow | getRow(int pos) |
XWPFTableRow | getRow(CTRow row) returns the XWPFRow which belongs to the CTRow row if this row is not existing in the table null will be returned |
List | getRows() |
String | getStyleID() get the StyleID of the table |
String | getText() Convenience method to extract text in cells. |
int | getWidth() Get the width value as an integer. |
XWPFTableRow | insertNewTableRow(int pos) inserts a new tablerow |
boolean | removeRow(int pos) Remove a row at position pos from the table |
void | setCellMargins(int top, int left, int bottom, int right) |
void | setColBandSize(int size) |
void | setInsideHBorder(XWPFBorderType type, int size, int space, String rgbColor) Set Inside horizontal borders for a table |
void | setInsideVBorder(XWPFBorderType type, int size, int space, String rgbColor) Set Inside Vertical borders for table |
void | setRowBandSize(int size) |
void | setWidth(int width) Set the width in 20ths of a point (twips). |
void | setWidth(String widthValue) Set the width to the value "auto", an integer value (20ths of a point), or a percentage ("nn.nn%"). |