Search in sources :

Example 1 with SmjXlsReport

use of org.adempiere.excel.SmjXlsReport in project adempiere by adempiere.

the class SMJReportViewer method createXlsReport.

//	dynInit
/**
			 * crea el reporte XLS - Create XLS report
			 */
private void createXlsReport() {
    SmjXlsReport xls = new SmjXlsReport();
    HSSFWorkbook book = xls.generate(data, generalTitle, clientName, clientNIT, periodName, currencyName, m_columns, city, logoId);
    fileXls = xls.tofile(book, generalTitle);
    revalidate();
}
Also used : SmjXlsReport(org.adempiere.excel.SmjXlsReport) HSSFWorkbook(org.apache.poi.hssf.usermodel.HSSFWorkbook)

Aggregations

SmjXlsReport (org.adempiere.excel.SmjXlsReport)1 HSSFWorkbook (org.apache.poi.hssf.usermodel.HSSFWorkbook)1