| java.lang.Object dinamica.AbstractModule dinamica.GenericOutput dinamica.AbstractExcelOutput
All known Subclasses: dinamica.GenericExcelOutput,
AbstractExcelOutput | public class AbstractExcelOutput extends GenericOutput (Code) | | Base class to produce Excel output modules (hand made reports)
based on the Apache POI v3 open source component.
This super class provides several common utility methods, including
methods to retrieve images from URLs (local or remotes), which can be
used to insert charts into the document by reusing a server-side chart Action,
or to insert another dinamically generated image, like a BarCode. The method to retrieve
via HTTP is session sensitive, meaning that it can reuse the same session ID, which is
a requirement when accessing local resources that are session-sensitive, like chart Actions.
In order to reuse this class, you must override the method print().
(c) 2007 Martin Cordova
This code is released under the LGPL license
Dinamica Framework - http://www.martincordova.com
author: Martin Cordova (dinamica@martincordova.com) |
createWorkbook | public HSSFWorkbook createWorkbook(GenericTransaction data) throws Throwable(Code) | | Create excel document as a workbook (Apache POI specific class). This method
should be overriden by subclasses
workbook ready to print via servlet output stream throws: Throwable - |
getAttachmentString | String getAttachmentString()(Code) | | Sets the value of the Content-Disposition response header, by default
it will be [attachment; filename="data.xls";], but can be overriden
Content-Disposition response header value |
|
|