protected void initialize(TestParameters Param, PrintWriter log) {
log.println( "creating a text document" );
SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)Param.getMSF());
try {
log.println( "creating a chartdocument" );
xChartDoc = SOF.createChartDoc(null);
} catch (com.sun.star.uno.Exception e) {
// Some exception occures.FAILED
e.printStackTrace( log );
throw new StatusException( "Couldn't create document", e );
}