Package com.mendix.modules.exportmanager
Class ExportManagerModule
java.lang.Object
com.mendix.modules.exportmanager.ExportManagerModule
Deprecated.
Generates PDF and Excel files using this module.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic IExcelGrid
Deprecated.Creates a new Excel grid.static IMendixObject
generateXLS
(IContext context, IMendixObject fileObject, String fileName, IExcelGrid grid) Deprecated.Generates an Excel file from the given grid.static IMendixObject
generateXLS
(IContext context, IMendixObject fileObject, String fileName, String oqlQuery, boolean autoSizeColumns) Deprecated.Generates an Excel file from the given OQL query.static IMendixObject
generateXLS
(IContext context, IMendixObject fileObject, String fileName, String oqlQuery, boolean autoSizeColumns, List<String> headerNames) Deprecated.Generates an Excel file from the given OQL query.static IMendixObject
generateXLS
(IContext context, IMendixObject fileObject, String fileName, List<IExcelGrid> grids) Deprecated.Generates an Excel file from the given grids.static IMendixObject
generateXLS
(IContext context, IMendixObject fileObject, String fileName, List<String> oqlQueries, boolean autoSizeColumns) Deprecated.Generates an Excel file from the given OQL queries.
-
Constructor Details
-
ExportManagerModule
public ExportManagerModule()Deprecated.
-
-
Method Details
-
createExcelGrid
Deprecated.Creates a new Excel grid.- Returns:
- the Excel grid
-
generateXLS
public static IMendixObject generateXLS(IContext context, IMendixObject fileObject, String fileName, IExcelGrid grid) throws CoreException Deprecated.Generates an Excel file from the given grid.- Parameters:
context
- the context to usefileObject
- the file document objectfileName
- the file namegrid
- the grid to be converted- Returns:
- the file object
- Throws:
CoreException
- if generating the Excel file failed
-
generateXLS
public static IMendixObject generateXLS(IContext context, IMendixObject fileObject, String fileName, List<IExcelGrid> grids) throws CoreException Deprecated.Generates an Excel file from the given grids.- Parameters:
context
- the context to usefileObject
- the file document objectfileName
- the file namegrids
- the grids to be converted- Returns:
- the file object
- Throws:
CoreException
- if generating the Excel file failed
-
generateXLS
public static IMendixObject generateXLS(IContext context, IMendixObject fileObject, String fileName, List<String> oqlQueries, boolean autoSizeColumns) throws CoreException Deprecated.Generates an Excel file from the given OQL queries.- Parameters:
context
- the context to usefileObject
- the file document objectfileName
- the file nameoqlQueries
- the OQL queriesautoSizeColumns
- indicates whether to size columns automatically- Returns:
- the file object
- Throws:
CoreException
- if generating the Excel file failed
-
generateXLS
public static IMendixObject generateXLS(IContext context, IMendixObject fileObject, String fileName, String oqlQuery, boolean autoSizeColumns) throws CoreException Deprecated.Generates an Excel file from the given OQL query.- Parameters:
context
- the context to usefileObject
- the file document objectfileName
- the file nameoqlQuery
- the OQL queryautoSizeColumns
- indicates whether to size columns automatically- Returns:
- the file object
- Throws:
CoreException
- if generating the Excel file failed
-
generateXLS
public static IMendixObject generateXLS(IContext context, IMendixObject fileObject, String fileName, String oqlQuery, boolean autoSizeColumns, List<String> headerNames) throws CoreException Deprecated.Generates an Excel file from the given OQL query.- Parameters:
context
- the context to usefileObject
- the file document objectfileName
- the file nameoqlQuery
- the OQL queryautoSizeColumns
- indicates whether to size columns automaticallyheaderNames
- the columns names- Returns:
- the file object
- Throws:
CoreException
- if generating the Excel file failed
-
ExcelExporter
instead