Adempiere 3.5.2a

org.adempiere.impexp
Class AbstractExcelExporter

java.lang.Object
  extended by org.adempiere.impexp.AbstractExcelExporter
Direct Known Subclasses:
ArrayExcelExporter, PrintDataExcelExporter, RModelExcelExporter

public abstract class AbstractExcelExporter
extends Object

Abstract MS Excel Format (xls) Exporter

Author:
Teo Sarca, SC ARHIPAC SERVICE SRL

Field Summary
protected  CLogger log
          Logger
 
Constructor Summary
AbstractExcelExporter()
           
 
Method Summary
protected  void createHeaderFooter(org.apache.poi.hssf.usermodel.HSSFSheet sheet)
           
 void export(File file, Language language)
          Export to file
 void export(File file, Language language, boolean autoOpen)
          Export to file
protected  void formatPage(org.apache.poi.hssf.usermodel.HSSFSheet sheet)
           
protected abstract  int getColumnCount()
           
protected  Properties getCtx()
           
protected abstract  int getDisplayType(int row, int col)
           
protected abstract  String getHeaderName(int col)
           
protected  Language getLanguage()
           
protected abstract  int getRowCount()
           
protected abstract  Object getValueAt(int row, int col)
           
protected abstract  boolean isColumnPrinted(int col)
           
protected abstract  boolean isFunctionRow()
           
protected abstract  boolean isPageBreak(int row, int col)
           
protected abstract  void setCurrentRow(int row)
           
protected  void setFreezePane(int colSplit, int rowSplit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected CLogger log
Logger

Constructor Detail

AbstractExcelExporter

public AbstractExcelExporter()
Method Detail

isFunctionRow

protected abstract boolean isFunctionRow()

getColumnCount

protected abstract int getColumnCount()

getRowCount

protected abstract int getRowCount()

setCurrentRow

protected abstract void setCurrentRow(int row)

isColumnPrinted

protected abstract boolean isColumnPrinted(int col)

getHeaderName

protected abstract String getHeaderName(int col)

getDisplayType

protected abstract int getDisplayType(int row,
                                      int col)

getValueAt

protected abstract Object getValueAt(int row,
                                     int col)

isPageBreak

protected abstract boolean isPageBreak(int row,
                                       int col)

getCtx

protected Properties getCtx()

setFreezePane

protected void setFreezePane(int colSplit,
                             int rowSplit)

getLanguage

protected Language getLanguage()

createHeaderFooter

protected void createHeaderFooter(org.apache.poi.hssf.usermodel.HSSFSheet sheet)

formatPage

protected void formatPage(org.apache.poi.hssf.usermodel.HSSFSheet sheet)

export

public void export(File file,
                   Language language)
            throws Exception
Export to file

Parameters:
file -
language - reporting language
Throws:
Exception

export

public void export(File file,
                   Language language,
                   boolean autoOpen)
            throws Exception
Export to file

Parameters:
file -
language - reporting language
autoOpen - auto open file after generated
Throws:
Exception

Adempiere 3.5.2a

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