Copyright © 2008-2011 Ralph Schuster. All Rights Reserved.

csv.impl
Interface ExcelFormatter

All Known Implementing Classes:
DefaultExcelFormatter

public interface ExcelFormatter

Interface for formatting Excel sheets

Author:
RalphSchuster

Method Summary
 void finalize(ExcelWriter writer, int rowCount, int columnCount)
          Finalizes the workbook.
 void setStyle(ExcelWriter writer, org.apache.poi.ss.usermodel.Cell cell, java.lang.Object value)
          Sets the cell style.
 

Method Detail

setStyle

void setStyle(ExcelWriter writer,
              org.apache.poi.ss.usermodel.Cell cell,
              java.lang.Object value)
Sets the cell style.

Parameters:
writer - writer that requires the information
cell - cell to be formatted
value - value in cell

finalize

void finalize(ExcelWriter writer,
              int rowCount,
              int columnCount)
Finalizes the workbook. This method is called immediately before the ExcelWriter writes the complete workbook to the underlying output stream.

Parameters:
writer - the calling writer
rowCount - the number of rows in the selected sheet
columnCount - the number of columns modified in the selected sheet

Copyright © 2008-2011 Ralph Schuster. All Rights Reserved.

Copyright © 2008-2011 Ralph Schuster. All Rights Reserved.