|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.io.AbstractGenerator
inetsoft.report.io.ExcelGenerator
inetsoft.report.io.ExcelSheetGenerator
public class ExcelSheetGenerator
This is an excel generator. It takes a report, or a collection of generated pages, and converts the output to an excel file. The excel output mimics the report layout and have all the information in the report. Due to layout differences, there may be some differences on the look-and-feel of the output and original report.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class inetsoft.report.io.ExcelGenerator |
|---|
ExcelGenerator.HeaderOrFooterInfo |
| Field Summary |
|---|
| Fields inherited from class inetsoft.report.io.ExcelGenerator |
|---|
allFooterElements, allHeaderElements, defaultFooterElements, defaultHeaderElements, EXCEL_DATA, EXCEL_SHEET, EXCEL2000, EXCEL95, formulaMap, isHeaderFooterInPageSetup, margin, SINGLECOL_WIDTH |
| Fields inherited from class inetsoft.report.io.AbstractGenerator |
|---|
docInfo |
| Constructor Summary | |
|---|---|
protected |
ExcelSheetGenerator(OutputStream output,
String ver)
Create an excel generator. |
| Method Summary | |
|---|---|
void |
generate(ReportSheet report)
Generate an excel file from a report. |
void |
generate(ReportSheet sheet,
Enumeration pages)
Write a collection of pages to text. |
protected int |
getBaseH()
Get baseH. |
protected Margin |
getMargin()
Get margin. |
protected boolean |
isElementIgnored(ReportElement relem,
Rectangle bounds)
Check if this element will be ignored. |
protected boolean |
isPageBreakSupported()
Whether support auto page break in the excel file. |
| Methods inherited from class inetsoft.report.io.ExcelGenerator |
|---|
cancel, createExcelGenerator, createExcelGenerator, generate, generate, getPageSize, isLandscape, setLandscape, setPageSize |
| Methods inherited from class inetsoft.report.io.AbstractGenerator |
|---|
addProgressListener, fireProgressEvent, getCachePages, getOutput, getReportCache, getReportId, removeProgressListener, setDocumentInfo, setOutput, setReportCache, setReportId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ExcelSheetGenerator(OutputStream output,
String ver)
output - output stream to write the excel file.| Method Detail |
|---|
protected boolean isPageBreakSupported()
isPageBreakSupported in class ExcelGenerator
public void generate(ReportSheet sheet,
Enumeration pages)
throws IOException
generate in interface Generatorgenerate in class ExcelGeneratorIOException
public void generate(ReportSheet report)
throws IOException
generate in interface Generatorgenerate in class ExcelGeneratorreport - report to export.
IOExceptionprotected Margin getMargin()
getMargin in class ExcelGeneratorprotected int getBaseH()
getBaseH in class ExcelGenerator
protected boolean isElementIgnored(ReportElement relem,
Rectangle bounds)
isElementIgnored in class ExcelGenerator
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||