log.println( "creating a test environment" );
// create testobject here
try {
XTextFieldsSupplier oTFS = (XTextFieldsSupplier)
UnoRuntime.queryInterface( XTextFieldsSupplier.class, xTextDoc );
oObj = oTFS.getTextFieldMasters();
}
catch (Exception ex) {
log.println("Couldn't create instance");
ex.printStackTrace(log);