SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)tParam.getMSF() );
try {
log.println( "creating a drawdoc" );
xDrawDoc = SOF.createImpressDoc(null);
aModel = (XModel)
UnoRuntime.queryInterface(XModel.class, xDrawDoc);
} catch ( com.sun.star.uno.Exception e ) {
// Some exception occures.FAILED