Java org.apache.poi.xwpf.usermodel XWPFTableCell fields, constructors, methods, implement or subclass

Example usage for Java org.apache.poi.xwpf.usermodel XWPFTableCell fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.poi.xwpf.usermodel XWPFTableCell.

The text is from its open source code.

Constructor

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

Method

XWPFParagraphaddParagraph()
Add a Paragraph to this Table Cell
ListgetBodyElements()
returns an Iterator with paragraphs and tables
StringgetColor()
Get cell color.
CTTcgetCTTc()
XWPFParagraphgetParagraphArray(int pos)
ListgetParagraphs()
returns a list of paragraphs
XWPFTableRowgetTableRow()
ListgetTables()
StringgetText()
voidinsertTable(int pos, XWPFTable table)
inserts an existing XWPFTable to the arrays bodyElements and tables
voidremoveParagraph(int pos)
removes a paragraph of this tablecell
voidsetColor(String rgbStr)
Set cell color.
voidsetText(String text)
voidsetVerticalAlignment(XWPFVertAlign vAlign)
Set the vertical alignment of the cell.