// get a soffice factory object
SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)tParam.getMSF());
try {
log.println( "creating a chartdocument" );
XComponent xComp = SOF.loadDocument(
utils.getFullTestURL("TransparencyChart.sxs"));
xChartDoc = (XChartDocument)
UnoRuntime.queryInterface(XChartDocument.class,xComp);
} catch (com.sun.star.uno.Exception e) {
// Some exception occures.FAILED