org.eclipse.emfforms.spi.spreadsheet.core
Interface EMFFormsSpreadsheetExporter

All Known Implementing Classes:
EMFFormsSpreadsheetExporterImpl

public interface EMFFormsSpreadsheetExporter

Entry point for triggering the rendering to an Spreadsheet document.

Author:
Eugen Neufeld

Field Summary
static EMFFormsSpreadsheetExporter INSTANCE
          Singleton to get access to the exporter.
 
Method Summary
 org.apache.poi.ss.usermodel.Workbook render(String pathToFile, org.eclipse.emf.ecore.EObject domainObject, VView viewModel)
          Starts the rendering to the Spreadsheet document.
 

Field Detail

INSTANCE

static final EMFFormsSpreadsheetExporter INSTANCE
Singleton to get access to the exporter.

Method Detail

render

org.apache.poi.ss.usermodel.Workbook render(String pathToFile,
                                            org.eclipse.emf.ecore.EObject domainObject,
                                            VView viewModel)
Starts the rendering to the Spreadsheet document.

Parameters:
pathToFile - The path to the file to create.
domainObject - The EObject containing the data
viewModel - The VView describing the rendered data
Returns:
The created Workbook


Copyright © 2015. All Rights Reserved.