final private void impl_setupListenerScript()
{
try
{
XPropertySet docProps = dbfTools.queryPropertySet( m_document.getDocument() );
XLibraryContainer basicLibs = (XLibraryContainer)UnoRuntime.queryInterface(
XLibraryContainer.class, docProps.getPropertyValue( "BasicLibraries" ) );
XNameContainer basicLib = basicLibs.createLibrary( "default" );
String sListSelectionScript =
"Option Explicit\n" +
"\n" +
"Sub onListBoxSelected( oEvent as Object )\n" +