throw new StatusException(
"Exception occured while getting StyleFamily", e);
}
SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)tParam.getMSF());
XComponent xComp = (XComponent)
UnoRuntime.queryInterface(XComponent.class, xSpreadsheetDoc);
XInterface oInstance = (XInterface)
SOF.createInstance(xComp,"com.sun.star.style.CellStyle");