Example: insertParagraph method

This example inserts a paragraph before a text table.

  TextTables tables = document.getTables();
  TextTable table = tables.item(1);
  TextParagraph paragraph = document.getContent().insertParagraph(table, true);

Related information

insertParagraph method