protected void initialize( TestParameters tParam, PrintWriter log ) {
SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)tParam.getMSF() );
try {
log.println( "creating a Spreadsheet document" );
XSpreadsheetDocument xSpreadsheetDoc = SOF.createCalcDoc( null );
xSheetDoc = (XComponent) UnoRuntime.queryInterface
(XComponent.class, xSpreadsheetDoc);
} catch ( com.sun.star.uno.Exception e ) {
// Some exception occures.FAILED
e.printStackTrace( log );