// insert a table with exactly one cell. The content of this table will be synced with
// the content of a form control
XTextDocument textDoc = (XTextDocument)UnoRuntime.queryInterface( XTextDocument.class, m_document.getDocument() );
XText documentText = textDoc.getText();
XTextCursor textCursor = documentText.createTextCursor();
documentText.insertString( textCursor, "Below, there's a table cell, and a text field. ", false );
documentText.insertString( textCursor, "Both are linked via an external value binding.\n", false );
documentText.insertString( textCursor, "That means that anything you insert into the table cell is reflected in the ", false );
documentText.insertString( textCursor, "text field, and vice versa.\n", false );
XTextTable table = (XTextTable)UnoRuntime.queryInterface( XTextTable.class,