This example shows how to set the cell's text.
TextTables tables = document.getTables(); TextTable table = tables.item(1); TextTableCell cell = table.cell(2,1); cell.setText("sample text");
Related information
Text property