command.Name = "openDesign";
command.Argument = new Short( OpenMode.DOCUMENT );
DocumentHelper subDocument = new DocumentHelper( m_orb,
UnoRuntime.queryInterface( XComponent.class,
subComponentCommands.execute( command, subComponentCommands.createCommandIdentifier(), null )
)
);
FormLayer formLayer = new FormLayer( subDocument );
XPropertySet controlModel = formLayer.insertControlLine( "DatabaseNumericField", "ID", "", 10 );
formLayer.insertControlLine( "DatabaseTextField", "Name", "", 20 );