Adempiere 3.5.2a

org.adempiere.print.export
Class PrintDataExcelExporter

java.lang.Object
  extended by org.adempiere.impexp.AbstractExcelExporter
      extended by org.adempiere.print.export.PrintDataExcelExporter

public class PrintDataExcelExporter
extends AbstractExcelExporter

Export PrintData to Excel (XLS) file

Author:
Teo Sarca, SC ARHIPAC SERVICE SRL
  • BF [ 1939010 ] Excel Export ERROR - java.sql.Date - integrated Mario Grigioni's fix
  • BF [ 1974309 ] Exporting a report to XLS is not setting page format

  • Field Summary
     
    Fields inherited from class org.adempiere.impexp.AbstractExcelExporter
    log
     
    Constructor Summary
    PrintDataExcelExporter(PrintData printData, MPrintFormat printFormat)
               
     
    Method Summary
    protected  void formatPage(org.apache.poi.hssf.usermodel.HSSFSheet sheet)
               
    protected  int getColumnCount()
               
    protected  int getDisplayType(int row, int col)
               
    protected  String getHeaderName(int col)
               
    protected  int getRowCount()
               
    protected  Object getValueAt(int row, int col)
               
    protected  boolean isColumnPrinted(int col)
               
    protected  boolean isFunctionRow()
               
    protected  boolean isPageBreak(int row, int col)
               
    protected  void setCurrentRow(int row)
               
     
    Methods inherited from class org.adempiere.impexp.AbstractExcelExporter
    createHeaderFooter, export, export, getCtx, getLanguage, setFreezePane
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Constructor Detail

    PrintDataExcelExporter

    public PrintDataExcelExporter(PrintData printData,
                                  MPrintFormat printFormat)
    Method Detail

    getColumnCount

    protected int getColumnCount()
    Specified by:
    getColumnCount in class AbstractExcelExporter

    getDisplayType

    protected int getDisplayType(int row,
                                 int col)
    Specified by:
    getDisplayType in class AbstractExcelExporter

    getValueAt

    protected Object getValueAt(int row,
                                int col)
    Specified by:
    getValueAt in class AbstractExcelExporter

    getHeaderName

    protected String getHeaderName(int col)
    Specified by:
    getHeaderName in class AbstractExcelExporter

    getRowCount

    protected int getRowCount()
    Specified by:
    getRowCount in class AbstractExcelExporter

    isColumnPrinted

    protected boolean isColumnPrinted(int col)
    Specified by:
    isColumnPrinted in class AbstractExcelExporter

    isPageBreak

    protected boolean isPageBreak(int row,
                                  int col)
    Specified by:
    isPageBreak in class AbstractExcelExporter

    setCurrentRow

    protected void setCurrentRow(int row)
    Specified by:
    setCurrentRow in class AbstractExcelExporter

    isFunctionRow

    protected boolean isFunctionRow()
    Specified by:
    isFunctionRow in class AbstractExcelExporter

    formatPage

    protected void formatPage(org.apache.poi.hssf.usermodel.HSSFSheet sheet)
    Overrides:
    formatPage in class AbstractExcelExporter

    Adempiere 3.5.2a

    Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.