SOfficeFactory SOF = SOfficeFactory.getFactory(
(XMultiServiceFactory)Param.getMSF());
try {
log.println( "creating a draw document" );
xDrawDoc = SOF.createDrawDoc(null);
} catch (com.sun.star.uno.Exception e) {
// Some exception occures.FAILED
e.printStackTrace( log );
throw new StatusException( "Couldn't create document", e );
}