Class EMFFormsSpreadsheetExporterImpl

    • Constructor Detail

      • EMFFormsSpreadsheetExporterImpl

        public EMFFormsSpreadsheetExporterImpl()
        Default Constructor.
      • EMFFormsSpreadsheetExporterImpl

        public EMFFormsSpreadsheetExporterImpl​(EMFFormsSpreadsheetExporterImpl.ViewProvider viewProvider)
        Constructor which offers a way to influence the view model retrieval.
        Parameters:
        viewProvider - the provider which will be used to find the view model that will be rendered
    • Method Detail

      • render

        public org.apache.poi.ss.usermodel.Workbook render​(java.util.Collection<? extends org.eclipse.emf.ecore.EObject> domainObjects,
                                                           org.eclipse.emf.ecore.EObject viewEobject,
                                                           VViewModelProperties properties)
        Description copied from interface: EMFFormsSpreadsheetExporter
        Starts the rendering to the Spreadsheet document.
        Specified by:
        render in interface EMFFormsSpreadsheetExporter
        Parameters:
        domainObjects - The collection of EObject containing the data to export
        viewEobject - the eObject which will be used to determine the view model
        properties - the properties which will be used to determine the view model
        Returns:
        The created Workbook