Example: cell method

This example gets a cell by row index and column index.

  TextTables tables = document.getTables();
  TextTable table = tables.item(1);
  TextTableCell cell = table.cell(2,1);
  System.out.println(cell.getName());

This example gets a cell by name.

  TextTables tables = document.getTables();
  TextTable table = tables.item(1);
  TextTableCell cell = table.cell("A4");
  System.out.println(cell.getName());

Related information

cell method