net.sf.jasperreports.engine.export
Class JRXlsAbstractExporter
java.lang.Object
net.sf.jasperreports.engine.JRAbstractExporter
net.sf.jasperreports.engine.export.JRXlsAbstractExporter
- All Implemented Interfaces:
- JRExporter
- Direct Known Subclasses:
- JRXlsExporter
- public abstract class JRXlsAbstractExporter
- extends JRAbstractExporter
Method Summary |
protected abstract void |
addBlankCell(int colIndex,
int rowIndex)
|
protected abstract void |
closeWorkbook(java.io.OutputStream os)
|
protected abstract void |
createSheet(java.lang.String name)
|
protected abstract void |
exportImage(JRPrintImage image,
JRExporterGridCell cell,
int colIndex,
int rowIndex)
|
protected abstract void |
exportLine(JRPrintLine line,
JRExporterGridCell cell,
int colIndex,
int rowIndex)
|
protected void |
exportPage(JRPrintPage alterYPage,
JRPrintPage page)
|
protected abstract void |
exportRectangle(JRPrintElement element,
JRExporterGridCell cell,
int colIndex,
int rowIndex)
|
void |
exportReport()
Actually starts the export process. |
protected void |
exportReportToStream(java.io.OutputStream os)
|
protected abstract void |
exportText(JRPrintText text,
JRExporterGridCell cell,
int colIndex,
int rowIndex)
|
protected JRFont |
getDefaultFont()
|
protected JRStyledText |
getStyledText(JRPrintText textElement)
|
protected static net.sf.jasperreports.engine.export.JRXlsAbstractExporter.TextAlignHolder |
getTextAlignHolder(JRPrintText textElement)
|
protected abstract boolean |
isToExport(JRPrintElement element)
|
protected void |
layoutGrid(JRPrintPage alterYPage,
JRPrintPage page)
|
protected abstract void |
openWorkbook(java.io.OutputStream os)
|
protected abstract void |
setBackground()
|
protected abstract void |
setCell(int colIndex,
int rowIndex)
|
protected abstract void |
setColumnWidth(short index,
short width)
|
protected void |
setParameters()
|
protected abstract void |
setRowHeight(int rowIndex,
int lastRowHeight)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pageHeight
protected int pageHeight
defaultFont
protected JRFont defaultFont
loadedFonts
protected java.util.List loadedFonts
loadedCellStyles
protected java.util.List loadedCellStyles
isOnePagePerSheet
protected boolean isOnePagePerSheet
isRemoveEmptySpace
protected boolean isRemoveEmptySpace
isWhitePageBackground
protected boolean isWhitePageBackground
isAutoDetectCellType
protected boolean isAutoDetectCellType
grid
protected JRExporterGridCell[][] grid
isRowNotEmpty
protected boolean[] isRowNotEmpty
xCuts
protected java.util.List xCuts
yCuts
protected java.util.List yCuts
styledTextParser
protected JRStyledTextParser styledTextParser
progressMonitor
protected JRExportProgressMonitor progressMonitor
reportIndex
protected int reportIndex
fontMap
protected java.util.Map fontMap
JRXlsAbstractExporter
public JRXlsAbstractExporter()
getDefaultFont
protected JRFont getDefaultFont()
- Overrides:
getDefaultFont
in class JRAbstractExporter
exportReport
public void exportReport()
throws JRException
- Description copied from interface:
JRExporter
- Actually starts the export process.
- Specified by:
exportReport
in interface JRExporter
- Specified by:
exportReport
in class JRAbstractExporter
- Throws:
JRException
setParameters
protected void setParameters()
setBackground
protected abstract void setBackground()
exportReportToStream
protected void exportReportToStream(java.io.OutputStream os)
throws JRException
- Throws:
JRException
layoutGrid
protected void layoutGrid(JRPrintPage alterYPage,
JRPrintPage page)
exportPage
protected void exportPage(JRPrintPage alterYPage,
JRPrintPage page)
throws JRException
- Throws:
JRException
getStyledText
protected JRStyledText getStyledText(JRPrintText textElement)
- Overrides:
getStyledText
in class JRAbstractExporter
getTextAlignHolder
protected static net.sf.jasperreports.engine.export.JRXlsAbstractExporter.TextAlignHolder getTextAlignHolder(JRPrintText textElement)
isToExport
protected abstract boolean isToExport(JRPrintElement element)
openWorkbook
protected abstract void openWorkbook(java.io.OutputStream os)
throws JRException
- Throws:
JRException
createSheet
protected abstract void createSheet(java.lang.String name)
closeWorkbook
protected abstract void closeWorkbook(java.io.OutputStream os)
throws JRException
- Throws:
JRException
setColumnWidth
protected abstract void setColumnWidth(short index,
short width)
setRowHeight
protected abstract void setRowHeight(int rowIndex,
int lastRowHeight)
throws JRException
- Throws:
JRException
setCell
protected abstract void setCell(int colIndex,
int rowIndex)
addBlankCell
protected abstract void addBlankCell(int colIndex,
int rowIndex)
throws JRException
- Throws:
JRException
exportText
protected abstract void exportText(JRPrintText text,
JRExporterGridCell cell,
int colIndex,
int rowIndex)
throws JRException
- Throws:
JRException
exportImage
protected abstract void exportImage(JRPrintImage image,
JRExporterGridCell cell,
int colIndex,
int rowIndex)
throws JRException
- Throws:
JRException
exportRectangle
protected abstract void exportRectangle(JRPrintElement element,
JRExporterGridCell cell,
int colIndex,
int rowIndex)
throws JRException
- Throws:
JRException
exportLine
protected abstract void exportLine(JRPrintLine line,
JRExporterGridCell cell,
int colIndex,
int rowIndex)
throws JRException
- Throws:
JRException
© 2001-2005 JasperSoft Corporation www.jaspersoft.com