public class JROdtExporter extends JRAbstractExporter
| Modifier and Type | Class and Description |
|---|---|
protected class |
JROdtExporter.ExporterContext |
protected class |
JROdtExporter.OdtDocumentBuilder |
JRAbstractExporter.BaseExporterContext, JRAbstractExporter.ParameterOverriddenResolver, JRAbstractExporter.ParameterOverrideResolver, JRAbstractExporter.ParameterResolver| Modifier and Type | Field and Description |
|---|---|
protected Color |
backcolor |
protected LinkedList<Color> |
backcolorStack |
protected DocumentBuilder |
documentBuilder |
protected String |
encoding |
protected boolean |
flexibleRowHeight |
protected String |
invalidCharReplacement |
protected ExporterNature |
nature |
static String |
ODT_EXPORTER_KEY
The exporter key, as used in
GenericElementHandlerEnviroment.getHandler(net.sf.jasperreports.engine.JRGenericElementType, String). |
protected static String |
ODT_EXPORTER_PROPERTIES_PREFIX |
protected int |
pageIndex |
protected JRExportProgressMonitor |
progressMonitor |
static String |
PROPERTY_IGNORE_HYPERLINK |
protected int |
reportIndex |
protected boolean |
startPage |
protected StyleCache |
styleCache |
protected int |
tableIndex |
protected WriterHelper |
tempBodyWriter |
protected WriterHelper |
tempStyleWriter |
allSelector, dateFormatCache, endPageIndex, filter, fontMap, globalOffsetX, globalOffsetY, hyperlinkProducerFactory, isModeBatch, jasperPrint, jasperPrintList, jasperReportsContext, noBackcolorSelector, noneSelector, numberFormatCache, parameters, propertiesUtil, PROPERTY_DEFAULT_FILTER_FACTORY, PROPERTY_SUFFIX_DEFAULT_FILTER_FACTORY, startPageIndex, styledTextUtil| Constructor and Description |
|---|
JROdtExporter() |
JROdtExporter(JasperReportsContext jasperReportsContext) |
createFilter, defaultParseNumber, getBooleanCellValue, getBooleanParameter, getCharacterParameter, getCurrentJasperPrint, getCustomHandler, getDateCellValue, getDateFormat, getFloatParameter, getHyperlinkProducer, getIntegerParameter, getJasperReportsContext, getLocale, getNumberCellValue, getNumberFormat, getOffsetX, getOffsetY, getParameter, getParameterResolver, getParameters, getPropertiesUtil, getReportContext, getStringArrayParameter, getStringParameter, getStringParameterOrDefault, getStyledText, getStyledText, getTextFormatFactoryClass, getTextLocale, getTextTimeZone, getTextValue, getTextValueString, reset, resetClassLoader, resetExportContext, restoreElementOffsets, setClassLoader, setExportContext, setFontMap, setFrameElementsOffset, setHyperlinkProducerFactory, setInput, setJasperPrint, setJasperReportsContext, setOffset, setOffset, setOutput, setPageRange, setParameter, setParameters, setReportContextpublic static final String ODT_EXPORTER_KEY
GenericElementHandlerEnviroment.getHandler(net.sf.jasperreports.engine.JRGenericElementType, String).protected static final String ODT_EXPORTER_PROPERTIES_PREFIX
public static final String PROPERTY_IGNORE_HYPERLINK
protected WriterHelper tempBodyWriter
protected WriterHelper tempStyleWriter
protected JRExportProgressMonitor progressMonitor
protected int reportIndex
protected int pageIndex
protected int tableIndex
protected boolean startPage
protected boolean flexibleRowHeight
protected String invalidCharReplacement
protected String encoding
protected LinkedList<Color> backcolorStack
protected Color backcolor
protected DocumentBuilder documentBuilder
protected StyleCache styleCache
protected ExporterNature nature
public JROdtExporter()
JROdtExporter(JasperReportsContext)public JROdtExporter(JasperReportsContext jasperReportsContext)
public void exportReport()
throws JRException
JRExporterexportReport in interface JRExporterexportReport in class JRAbstractExporterJRExceptionprotected void exportReportToOasisZip(OutputStream os) throws JRException, IOException
JRExceptionIOExceptionprotected void exportPage(JRPrintPage page) throws JRException, IOException
JRExceptionIOExceptionprotected void exportGrid(JRGridLayout gridLayout, JRPrintElementIndex frameIndex) throws IOException, JRException
IOExceptionJRExceptionprotected String getExporterPropertiesPrefix()
public JRPrintImage getImage(List<JasperPrint> jasperPrintList, String imageName) throws JRException
JRExceptionpublic JRPrintImage getImage(List<JasperPrint> jasperPrintList, JRPrintElementIndex imageIndex) throws JRException
JRExceptionprotected void exportFrame(TableBuilder tableBuilder, JRPrintFrame frame, JRExporterGridCell gridCell) throws IOException, JRException
IOExceptionJRExceptionprotected void setBackcolor(Color color)
protected void restoreBackcolor()
protected void exportRectangle(TableBuilder tableBuilder, JRPrintRectangle rectangle, JRExporterGridCell gridCell)
protected void exportLine(TableBuilder tableBuilder, JRPrintLine line, JRExporterGridCell gridCell)
protected void exportEllipse(TableBuilder tableBuilder, JRPrintEllipse ellipse, JRExporterGridCell gridCell)
public void exportText(TableBuilder tableBuilder, JRPrintText text, JRExporterGridCell gridCell)
public void exportImage(TableBuilder tableBuilder, JRPrintImage image, JRExporterGridCell gridCell) throws JRException
JRExceptionprotected void insertPageAnchor(TableBuilder tableBuilder)
protected void exportGenericElement(TableBuilder tableBuilder, JRGenericPrintElement element, JRExporterGridCell gridCell) throws IOException, JRException
IOExceptionJRExceptionprotected void setExporterHints()
public String getExporterKey()
getExporterKey in class JRAbstractExporterprotected JRPrintImage getPrintImageForGenericElement(JRGenericPrintElement genericPrintElement) throws JRException
JRExceptionprotected void setFlexibleRowHeight()
Copyright © 2014. All rights reserved.