public class ExportManagerModule extends Object
| Constructor and Description |
|---|
ExportManagerModule() |
| Modifier and Type | Method and Description |
|---|---|
static IExcelGrid |
createExcelGrid()
Creates a new ExcelGrid
|
static IPDFGrid |
createPDFGrid(int[] columnsPerPage)
Deprecated.
use the document exporter instead or use an up-to-date PDF library if you need this much customization
|
static IPDFGrid |
createPDFGrid(int[] columnsPerPage,
float[] columnWidths)
Deprecated.
use the document exporter instead or use an up-to-date PDF library if you need this much customization
|
static IMendixObject |
generatePDF(IContext context,
IMendixObject fileObject,
String fileName,
IPDFGrid grid,
boolean isLandscape)
Deprecated.
use the document exporter instead or use an up-to-date PDF library if you need this much customization
|
static IMendixObject |
generatePDF(IContext context,
IMendixObject fileObject,
String fileName,
IPDFGrid grid,
boolean isLandscape,
float marginLeft,
float marginRight,
float marginTop,
float marginBottom)
Deprecated.
use the document exporter instead or use an up-to-date PDF library if you need this much customization
|
static IMendixObject |
generatePDF(IContext context,
IMendixObject fileObject,
String fileName,
String oqlQuery,
int[] columnsPerPage,
float[] columnWidths,
boolean isLandscape)
Deprecated.
use the document exporter instead or use an up-to-date PDF library if you need this much customization
|
static IMendixObject |
generatePDF(IContext context,
IMendixObject fileObject,
String fileName,
String oqlQuery,
List<String> headerNames,
int[] columnsPerPage,
float[] columnWidths,
boolean isLandscape)
Deprecated.
use the document exporter instead or use an up-to-date PDF library if you need this much customization
|
static IMendixObject |
generatePDF(IContext context,
IMendixObject fileObject,
String fileName,
String oqlQuery,
List<String> headerNames,
int[] columnsPerPage,
float[] columnWidths,
boolean isLandscape,
float marginLeft,
float marginRight,
float marginTop,
float marginBottom)
Deprecated.
use the document exporter instead or use an up-to-date PDF library if you need this much customization
|
static IMendixObject |
generateXLS(IContext context,
IMendixObject fileObject,
String fileName,
IExcelGrid grid)
* Generates an Excel file from the given grid.
|
static IMendixObject |
generateXLS(IContext context,
IMendixObject fileObject,
String fileName,
List<IExcelGrid> grids)
Generates an Excel file from the given grids
|
static IMendixObject |
generateXLS(IContext context,
IMendixObject fileObject,
String fileName,
List<String> oqlQueries,
boolean autoSizeColumns)
Generates an Excel file from the given oql queries.
|
static IMendixObject |
generateXLS(IContext context,
IMendixObject fileObject,
String fileName,
String oqlQuery,
boolean autoSizeColumns)
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)
Generates an Excel file from the given oql query.
|
@Deprecated public static IPDFGrid createPDFGrid(int[] columnsPerPage, float[] columnWidths)
columnsPerPage - the columns per pagecolumnWidths - the columnwidths
sum(columnsPerPage) should be equal to columnWidths.length@Deprecated public static IPDFGrid createPDFGrid(int[] columnsPerPage)
columnsPerPage - the columns per pagepublic static IExcelGrid createExcelGrid()
public static IMendixObject generateXLS(IContext context, IMendixObject fileObject, String fileName, IExcelGrid grid) throws com.mendix.core.CoreException
context - fileObject - fileName - grid - The grid to be convertedcom.mendix.core.CoreExceptionpublic static IMendixObject generateXLS(IContext context, IMendixObject fileObject, String fileName, List<IExcelGrid> grids) throws com.mendix.core.CoreException
context - fileObject - fileName - grids - the grids to be convertedcom.mendix.core.CoreExceptionpublic static IMendixObject generateXLS(IContext context, IMendixObject fileObject, String fileName, List<String> oqlQueries, boolean autoSizeColumns) throws com.mendix.core.CoreException
context - fileObject - fileName - oqlQueries - the oql queriesautoSizeColumns - com.mendix.core.CoreExceptionpublic static IMendixObject generateXLS(IContext context, IMendixObject fileObject, String fileName, String oqlQuery, boolean autoSizeColumns) throws com.mendix.core.CoreException
context - fileObject - fileName - oqlQuery - the oql queryautoSizeColumns - com.mendix.core.CoreExceptionpublic static IMendixObject generateXLS(IContext context, IMendixObject fileObject, String fileName, String oqlQuery, boolean autoSizeColumns, List<String> headerNames) throws com.mendix.core.CoreException
context - fileObject - fileName - oqlQuery - the oql queryautoSizeColumns - headerNames - com.mendix.core.CoreException@Deprecated public static IMendixObject generatePDF(IContext context, IMendixObject fileObject, String fileName, IPDFGrid grid, boolean isLandscape, float marginLeft, float marginRight, float marginTop, float marginBottom) throws com.mendix.core.CoreException
context - fileObject - fileName - grid - The grid to be convertedisLandscape - marginLeft - marginRight - marginTop - marginBottom - com.mendix.core.CoreException@Deprecated public static IMendixObject generatePDF(IContext context, IMendixObject fileObject, String fileName, IPDFGrid grid, boolean isLandscape) throws com.mendix.core.CoreException
context - fileObject - fileName - grid - The grid to be convertedisLandscape - com.mendix.core.CoreException@Deprecated public static IMendixObject generatePDF(IContext context, IMendixObject fileObject, String fileName, String oqlQuery, List<String> headerNames, int[] columnsPerPage, float[] columnWidths, boolean isLandscape, float marginLeft, float marginRight, float marginTop, float marginBottom) throws com.mendix.core.CoreException
context - fileObject - fileName - oqlQuery - the oql queryheaderNames - columnsPerPage - columnWidths - isLandscape - marginLeft - marginRight - marginTop - marginBottom - com.mendix.core.CoreException@Deprecated public static IMendixObject generatePDF(IContext context, IMendixObject fileObject, String fileName, String oqlQuery, List<String> headerNames, int[] columnsPerPage, float[] columnWidths, boolean isLandscape) throws com.mendix.core.CoreException
context - fileObject - fileName - oqlQuery - the oql queryheaderNames - columnsPerPage - columnWidths - isLandscape - com.mendix.core.CoreException@Deprecated public static IMendixObject generatePDF(IContext context, IMendixObject fileObject, String fileName, String oqlQuery, int[] columnsPerPage, float[] columnWidths, boolean isLandscape) throws com.mendix.core.CoreException
context - fileObject - fileName - oqlQuery - the oql querycolumnsPerPage - columnWidths - isLandscape - com.mendix.core.CoreException