// creation of testobject here
// first we write what we are intend to do to log file
log.println( "Creating a test environment" );
// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)Param.getMSF() );
log.println("Getting test object ");
XComponent oComp = (XComponent)
UnoRuntime.queryInterface (XComponent.class, xSheetDoc);
oObj = (XInterface)
SOF.createInstance(oComp, "com.sun.star.sheet.SheetCellRanges");
XSpreadsheets oSheets = xSheetDoc.getSheets() ;
XIndexAccess oIndSheets = (XIndexAccess)
UnoRuntime.queryInterface (XIndexAccess.class, oSheets);
XSpreadsheet oSheet = null;