Example: add method

This example adds one row before the second row

  TextTables tables = document.getTables();
  TextTable table = tables.item(1);
  TextTableRows rows = table.getRows();
  System.out.println(rows.getCount());
  TextTableRow row = rows.add(2, 1);
  System.out.println(rows.getCount());

Related information

add method