documentText.insertString( textCursor, "text field, and vice versa.\n", false );
XTextTable table = (XTextTable)UnoRuntime.queryInterface( XTextTable.class,
m_document.createInstance( "com.sun.star.text.TextTable" )
);
table.initialize( 1, 1 );
documentText.insertTextContent( textCursor, table, false );
// insert our sample control
XPropertySet textControl = m_formLayer.insertControlLine( "DatabaseTextField", "enter some text", "", 30 );