IOfficeApplication officeAplication = OfficeApplicationRuntime.getApplication(configuration);
officeAplication.setConfiguration(configuration);
officeAplication.activate();
IDocumentService documentService = officeAplication.getDocumentService();
IDocument document = documentService.constructNewDocument(IDocument.CALC, DocumentDescriptor.DEFAULT);
ISpreadsheetDocument spreadsheetDocument = (ISpreadsheetDocument) document;
XSpreadsheets spreadsheets = spreadsheetDocument.getSpreadsheetDocument().getSheets();
String sheetName= "Tabelle1";
Object[][] rows = new Object[][]{
new Object[]{"DataCell1","DataCell2","DataCell3","DataCell4"},
new Object[]{new Integer(10),new Integer(20),new Integer(30),new Integer(40)},
new Object[]{new Double(11.11),new Double(22.22),new Double(33.33),new Double(44.44)}};