org.zkoss.zss.model.impl
Class ExcelExporter

java.lang.Object
  extended by org.zkoss.zss.model.impl.ExcelExporter
All Implemented Interfaces:
Exporter

public class ExcelExporter
extends java.lang.Object
implements Exporter

Exports Book contents as an Excel file.

Author:
ashish

Constructor Summary
ExcelExporter()
           
 
Method Summary
 void export(Book workbook, java.io.OutputStream outputStream)
          Exports Book as an Excel file to given OutputStream
 void export(Worksheet worksheet, java.io.OutputStream outputStream)
          Exports ZK Spreadsheet sheet into another format written to a
 void exportSelection(Worksheet worksheet, org.zkoss.poi.ss.util.AreaReference area, java.io.OutputStream outputStream)
          Exports selected area of ZK Spreadsheet active sheet represented by Range
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExcelExporter

public ExcelExporter()
Method Detail

export

public void export(Book workbook,
                   java.io.OutputStream outputStream)
Exports Book as an Excel file to given OutputStream

Specified by:
export in interface Exporter

export

public void export(Worksheet worksheet,
                   java.io.OutputStream outputStream)
Description copied from interface: Exporter
Exports ZK Spreadsheet sheet into another format written to a

Specified by:
export in interface Exporter
Parameters:
worksheet - sheet instance that contains selected area
outputStream - outoutStream to which exported contents to be written

exportSelection

public void exportSelection(Worksheet worksheet,
                            org.zkoss.poi.ss.util.AreaReference area,
                            java.io.OutputStream outputStream)
Description copied from interface: Exporter
Exports selected area of ZK Spreadsheet active sheet represented by Range

Specified by:
exportSelection in interface Exporter
Parameters:
worksheet - sheet instance that contains selected area
area - area representing selected area to be exported
outputStream - outoutStream to which exported contents to be written


Copyright © 2005-2010 Potix Corporation. All Rights Reserved. SourceForge.net Logo