Example usage for Java org.apache.poi.xwpf.usermodel XWPFTableCell fields, constructors, methods, implement or subclass
The text is from its open source code.
XWPFTableCell(CTTc cell, XWPFTableRow tableRow, IBody part) If a table cell does not include at least one block-level element, then this document shall be considered corrupt |
XWPFParagraph | addParagraph() Add a Paragraph to this Table Cell |
List | getBodyElements() returns an Iterator with paragraphs and tables |
String | getColor() Get cell color. |
CTTc | getCTTc() |
XWPFParagraph | getParagraphArray(int pos) |
List | getParagraphs() returns a list of paragraphs |
XWPFTableRow | getTableRow() |
List | getTables() |
String | getText() |
void | insertTable(int pos, XWPFTable table) inserts an existing XWPFTable to the arrays bodyElements and tables |
void | removeParagraph(int pos) removes a paragraph of this tablecell |
void | setColor(String rgbStr) Set cell color. |
void | setText(String text) |
void | setVerticalAlignment(XWPFVertAlign vAlign) Set the vertical alignment of the cell. |