log.println("creating a Spreadsheet document");
log.println("Loading: "+utils.getFullTestURL(
"ScAnnotationShapeObj.sxc"));
xSheetDoc =
(XSpreadsheetDocument) UnoRuntime.queryInterface(XSpreadsheetDocument.class,
SOF.loadDocument(utils.getFullTestURL(
"ScAnnotationShapeObj.sxc")));
} catch (com.sun.star.uno.Exception e) {
// Some exception occures.FAILED
e.printStackTrace(log);
throw new StatusException("Couldn't create document", e);