Mendix Runtime
Documentation for the Mendix Runtime Environment API
com.mendix.modules.exportmanager.ExportManagerModule Class Reference

List of all members.

Static Public Member Functions

static IPDFGrid createPDFGrid (int[] columnsPerPage, float[] columnWidths)
static IPDFGrid createPDFGrid (int[] columnsPerPage)
static IExcelGrid createExcelGrid ()
static IMendixObject generateXLS (IContext context, IMendixObject fileObject, String fileName, IExcelGrid grid) throws CoreException
static IMendixObject generateXLS (IContext context, IMendixObject fileObject, String fileName, List< IExcelGrid > grids) throws CoreException
static IMendixObject generateXLS (IContext context, IMendixObject fileObject, String fileName, List< String > oqlQueries, boolean autoSizeColumns) throws CoreException
static IMendixObject generateXLS (IContext context, IMendixObject fileObject, String fileName, String oqlQuery, boolean autoSizeColumns) throws CoreException
static IMendixObject generateXLS (IContext context, IMendixObject fileObject, String fileName, String oqlQuery, boolean autoSizeColumns, List< String > headerNames) throws CoreException
static IMendixObject generatePDF (IContext context, IMendixObject fileObject, String fileName, IPDFGrid grid, boolean isLandscape, float marginLeft, float marginRight, float marginTop, float marginBottom) throws CoreException
static IMendixObject generatePDF (IContext context, IMendixObject fileObject, String fileName, IPDFGrid grid, boolean isLandscape) throws CoreException
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 CoreException
static IMendixObject generatePDF (IContext context, IMendixObject fileObject, String fileName, String oqlQuery, List< String > headerNames, int[] columnsPerPage, float[] columnWidths, boolean isLandscape) throws CoreException
static IMendixObject generatePDF (IContext context, IMendixObject fileObject, String fileName, String oqlQuery, int[] columnsPerPage, float[] columnWidths, boolean isLandscape) throws CoreException

Detailed Description

Generate PDF and Excel files using this module.


Member Function Documentation

static IExcelGrid com.mendix.modules.exportmanager.ExportManagerModule.createExcelGrid ( ) [static]

Creates a new ExcelGrid

Returns:
the excel grid
static IPDFGrid com.mendix.modules.exportmanager.ExportManagerModule.createPDFGrid ( int[]  columnsPerPage,
float[]  columnWidths 
) [static]

Creates a new PDFGrid specified by the columns per page and the width ratio per column

Parameters:
columnsPerPagethe columns per page
columnWidthsthe columnwidths sum(columnsPerPage) should be equal to columnWidths.length
Returns:
the pdf grid
static IPDFGrid com.mendix.modules.exportmanager.ExportManagerModule.createPDFGrid ( int[]  columnsPerPage) [static]

Creates a new PDFGrid specified by the columns per page (all columns same width)

Parameters:
columnsPerPagethe columns per page
Returns:
the pdf grid
static IMendixObject com.mendix.modules.exportmanager.ExportManagerModule.generatePDF ( IContext  context,
IMendixObject  fileObject,
String  fileName,
IPDFGrid  grid,
boolean  isLandscape,
float  marginLeft,
float  marginRight,
float  marginTop,
float  marginBottom 
) throws CoreException [static]

Generates an PDF file from the given grid.

Parameters:
context
fileObject
fileName
gridThe grid to be converted
isLandscape
marginLeft
marginRight
marginTop
marginBottom
Returns:
the file object
Exceptions:
CoreException
static IMendixObject com.mendix.modules.exportmanager.ExportManagerModule.generatePDF ( IContext  context,
IMendixObject  fileObject,
String  fileName,
IPDFGrid  grid,
boolean  isLandscape 
) throws CoreException [static]

Generates an PDF file from the given grid.

Parameters:
context
fileObject
fileName
gridThe grid to be converted
isLandscape
Returns:
the file object
Exceptions:
CoreException
static IMendixObject com.mendix.modules.exportmanager.ExportManagerModule.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 CoreException [static]

Generates an PDF file from the given oql query.

Parameters:
context
fileObject
fileName
oqlQuerythe oql query
headerNames
columnsPerPage
columnWidths
isLandscape
marginLeft
marginRight
marginTop
marginBottom
Returns:
the file object
Exceptions:
CoreException
static IMendixObject com.mendix.modules.exportmanager.ExportManagerModule.generatePDF ( IContext  context,
IMendixObject  fileObject,
String  fileName,
String  oqlQuery,
List< String >  headerNames,
int[]  columnsPerPage,
float[]  columnWidths,
boolean  isLandscape 
) throws CoreException [static]

Generates an PDF file from the given oql query.

Parameters:
context
fileObject
fileName
oqlQuerythe oql query
headerNames
columnsPerPage
columnWidths
isLandscape
Returns:
the file object
Exceptions:
CoreException
static IMendixObject com.mendix.modules.exportmanager.ExportManagerModule.generatePDF ( IContext  context,
IMendixObject  fileObject,
String  fileName,
String  oqlQuery,
int[]  columnsPerPage,
float[]  columnWidths,
boolean  isLandscape 
) throws CoreException [static]

Generates an PDF file from the given oql query.

Parameters:
context
fileObject
fileName
oqlQuerythe oql query
columnsPerPage
columnWidths
isLandscape
Returns:
the file object
Exceptions:
CoreException
static IMendixObject com.mendix.modules.exportmanager.ExportManagerModule.generateXLS ( IContext  context,
IMendixObject  fileObject,
String  fileName,
IExcelGrid  grid 
) throws CoreException [static]

* Generates an Excel file from the given grid.

Parameters:
context
fileObject
fileName
gridThe grid to be converted
Returns:
the file object
Exceptions:
CoreException
static IMendixObject com.mendix.modules.exportmanager.ExportManagerModule.generateXLS ( IContext  context,
IMendixObject  fileObject,
String  fileName,
List< IExcelGrid grids 
) throws CoreException [static]

Generates an Excel file from the given grids

Parameters:
context
fileObject
fileName
gridsthe grids to be converted
Returns:
the file object
Exceptions:
CoreException
static IMendixObject com.mendix.modules.exportmanager.ExportManagerModule.generateXLS ( IContext  context,
IMendixObject  fileObject,
String  fileName,
List< String >  oqlQueries,
boolean  autoSizeColumns 
) throws CoreException [static]

Generates an Excel file from the given oql queries.

Parameters:
context
fileObject
fileName
oqlQueriesthe oql queries
autoSizeColumns
Returns:
the file object
Exceptions:
CoreException
static IMendixObject com.mendix.modules.exportmanager.ExportManagerModule.generateXLS ( IContext  context,
IMendixObject  fileObject,
String  fileName,
String  oqlQuery,
boolean  autoSizeColumns 
) throws CoreException [static]

Generates an Excel file from the given oql query.

Parameters:
context
fileObject
fileName
oqlQuerythe oql query
autoSizeColumns
Returns:
the file object
Exceptions:
CoreException
static IMendixObject com.mendix.modules.exportmanager.ExportManagerModule.generateXLS ( IContext  context,
IMendixObject  fileObject,
String  fileName,
String  oqlQuery,
boolean  autoSizeColumns,
List< String >  headerNames 
) throws CoreException [static]

Generates an Excel file from the given oql query.

Parameters:
context
fileObject
fileName
oqlQuerythe oql query
autoSizeColumns
headerNames
Returns:
the file object
Exceptions:
CoreException

The documentation for this class was generated from the following file: