Package ag.ion.bion.officelayer.spreadsheet

Examples of ag.ion.bion.officelayer.spreadsheet.ISpreadsheetDocument


      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)}};
View Full Code Here

TOP

Related Classes of ag.ion.bion.officelayer.spreadsheet.ISpreadsheetDocument

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.