public class JRPptxExporter extends JRAbstractExporter
| Modifier and Type | Class and Description |
|---|---|
protected class |
JRPptxExporter.ExporterContext |
JRAbstractExporter.BaseExporterContext, JRAbstractExporter.ParameterOverriddenResolver, JRAbstractExporter.ParameterOverrideResolver, JRAbstractExporter.ParameterResolverallSelector, 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 |
|---|
JRPptxExporter() |
JRPptxExporter(JasperReportsContext jasperReportsContext) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeSlide() |
protected void |
createSlide(String name) |
protected void |
exportElements(List<JRPrintElement> elements) |
protected void |
exportEllipse(JRPrintEllipse ellipse) |
void |
exportFrame(JRPrintFrame frame) |
protected void |
exportGenericElement(JRGenericPrintElement element) |
void |
exportImage(JRPrintImage image) |
protected void |
exportLine(JRPrintLine line) |
protected void |
exportPage(JRPrintPage page) |
protected void |
exportRectangle(JRPrintRectangle rectangle) |
void |
exportReport()
Actually starts the export process.
|
protected void |
exportReportToStream(OutputStream os) |
protected void |
exportStyledText(JRStyle style,
JRStyledText styledText,
Locale locale) |
void |
exportText(JRPrintText text) |
protected JRPrintElementIndex |
getElementIndex() |
String |
getExporterKey() |
protected String |
getExporterPropertiesPrefix() |
protected String |
getHyperlinkTarget(JRPrintHyperlink link) |
protected String |
getHyperlinkURL(JRPrintHyperlink link) |
JRPrintImage |
getImage(List<JasperPrint> jasperPrintList,
JRPrintElementIndex imageIndex) |
JRPrintImage |
getImage(List<JasperPrint> jasperPrintList,
String imageName) |
protected String |
getImagePath(Renderable renderer,
boolean isLazy) |
static JRPrintElementIndex |
getPrintElementIndex(String imageName)
protected void writeImageMap(String imageMapName, JRPrintHyperlink mainHyperlink, List imageMapAreas)
{
writer.write("
|
protected void |
setExporterHints() |
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 PPTX_EXPORTER_KEY
GenericElementHandlerEnviroment.getHandler(net.sf.jasperreports.engine.JRGenericElementType, String).protected static final String PPTX_EXPORTER_PROPERTIES_PREFIX
public static final String PROPERTY_IGNORE_HYPERLINK
protected static final String JR_PAGE_ANCHOR_PREFIX
public static final String IMAGE_NAME_PREFIX
protected static final int IMAGE_NAME_PREFIX_LEGTH
protected PptxZip pptxZip
protected PptxPresentationHelper presentationHelper
protected PptxPresentationRelsHelper presentationRelsHelper
protected PptxContentTypesHelper ctHelper
protected PptxSlideHelper slideHelper
protected PptxSlideRelsHelper slideRelsHelper
protected Writer presentationWriter
protected JRExportProgressMonitor progressMonitor
protected List<JRPrintElementIndex> imagesToProcess
protected int reportIndex
protected int pageIndex
protected int elementIndex
protected boolean startPage
protected String invalidCharReplacement
protected int slideIndex
protected JRPptxExporterContext exporterContext
public JRPptxExporter()
JRPptxExporter(JasperReportsContext)public JRPptxExporter(JasperReportsContext jasperReportsContext)
public void exportReport()
throws JRException
JRExporterexportReport in interface JRExporterexportReport in class JRAbstractExporterJRExceptionpublic JRPrintImage getImage(List<JasperPrint> jasperPrintList, String imageName) throws JRException
JRExceptionpublic JRPrintImage getImage(List<JasperPrint> jasperPrintList, JRPrintElementIndex imageIndex) throws JRException
JRExceptionprotected void exportReportToStream(OutputStream os) throws JRException, IOException
JRExceptionIOExceptionprotected void exportPage(JRPrintPage page) throws JRException
JRExceptionprotected void createSlide(String name)
protected void closeSlide()
protected void exportElements(List<JRPrintElement> elements) throws JRException
JRExceptionprotected void exportLine(JRPrintLine line)
protected void exportRectangle(JRPrintRectangle rectangle)
protected void exportEllipse(JRPrintEllipse ellipse)
public void exportText(JRPrintText text)
protected void exportStyledText(JRStyle style, JRStyledText styledText, Locale locale)
public void exportImage(JRPrintImage image) throws JRException
JRExceptionprotected String getImagePath(Renderable renderer, boolean isLazy)
protected JRPrintElementIndex getElementIndex()
public static JRPrintElementIndex getPrintElementIndex(String imageName)
public void exportFrame(JRPrintFrame frame) throws JRException
JRExceptionprotected void exportGenericElement(JRGenericPrintElement element)
protected String getHyperlinkTarget(JRPrintHyperlink link)
protected String getHyperlinkURL(JRPrintHyperlink link)
protected String getExporterPropertiesPrefix()
public String getExporterKey()
getExporterKey in class JRAbstractExporterprotected void setExporterHints()
Copyright © 2014. All rights reserved.