org.opengts.war.report
Class ReportSpreadsheet
java.lang.Object
org.opengts.war.report.ReportSpreadsheet
public class ReportSpreadsheet
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReportSpreadsheet
public ReportSpreadsheet(boolean xlsx,
ReportData rd)
GetExcelSpreadsheetClass
public static java.lang.Class GetExcelSpreadsheetClass()
IsExcelSpreadsheetSupported
public static boolean IsExcelSpreadsheetSupported()
isValid
public boolean isValid()
isXLS
public boolean isXLS()
isXLSX
public boolean isXLSX()
incrementRowIndex
public int incrementRowIndex()
getCurrentRowIndex
public int getCurrentRowIndex()
getCurrentColumnIndex
public int getCurrentColumnIndex()
incrementColumnIndex
public int incrementColumnIndex()
incrementColumnIndex
public int incrementColumnIndex(int span)
setHeaderTitle
public void setHeaderTitle(java.lang.String title)
setHeaderSubtitle
public void setHeaderSubtitle(java.lang.String title)
setBlankRow
public void setBlankRow()
addHeaderColumn
public void addHeaderColumn(java.lang.String colTitle,
int charWidth)
addHeaderColumn
public void addHeaderColumn(int colSpan,
java.lang.String colTitle,
int charWidth)
addBodyColumn
public void addBodyColumn(java.lang.Object value)
- Add Excel Body Column
- Parameters:
value
- The value to add
addSubtotalColumn
public void addSubtotalColumn(java.lang.Object value)
- Add Excel Subtotal Column
- Parameters:
value
- The value to add
addTotalColumn
public void addTotalColumn(java.lang.Object value)
- Add Excel Total Column
- Parameters:
value
- The value to add
write
public boolean write(java.io.OutputStream out)