Class AbstractHtmlExporter<RC extends HtmlReportConfiguration,C extends HtmlExporterConfiguration>
java.lang.Object
net.sf.jasperreports.engine.JRAbstractExporter<RC,C,HtmlExporterOutput,JRHtmlExporterContext>
net.sf.jasperreports.engine.export.AbstractHtmlExporter<RC,C>
- All Implemented Interfaces:
JRExporter<ExporterInput,,RC, C, HtmlExporterOutput> Exporter<ExporterInput,RC, C, HtmlExporterOutput>
- Direct Known Subclasses:
HtmlExporter
public abstract class AbstractHtmlExporter<RC extends HtmlReportConfiguration,C extends HtmlExporterConfiguration>
extends JRAbstractExporter<RC,C,HtmlExporterOutput,JRHtmlExporterContext>
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Nested Class Summary
Nested classes/interfaces inherited from class net.sf.jasperreports.engine.JRAbstractExporter
JRAbstractExporter.BaseExporterContext, JRAbstractExporter.PageRange -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final floatprotected HtmlResourceHandlerDeprecated.To be removed.protected Map<String,HtmlFontFamily> protected static final Stringprotected static final Stringprotected static final Stringstatic final Stringprotected static final intprotected HtmlResourceHandlerDeprecated.To be removed.protected static final Stringprotected static final Stringprotected HtmlResourceHandlerDeprecated.To be removed.Fields inherited from class net.sf.jasperreports.engine.JRAbstractExporter
allSelector, crtCompositeConfiguration, crtCompositeItemConfiguration, crtItem, dateFormatCache, EXCEPTION_MESSAGE_KEY_END_PAGE_INDEX_OUT_OF_RANGE, EXCEPTION_MESSAGE_KEY_INVALID_IMAGE_NAME, EXCEPTION_MESSAGE_KEY_INVALID_ZOOM_RATIO, EXCEPTION_MESSAGE_KEY_MIXED_CALLS_NOT_ALLOWED, EXCEPTION_MESSAGE_KEY_OUTPUT_WRITER_ERROR, EXCEPTION_MESSAGE_KEY_PAGE_INDEX_OUT_OF_RANGE, EXCEPTION_MESSAGE_KEY_START_PAGE_INDEX_OUT_OF_RANGE, exporterConfiguration, exporterContext, exporterInput, exporterOutput, filter, fontUtil, hyperlinkProducerFactory, itemConfiguration, jasperPrint, jasperReportsContext, noBackcolorSelector, noneSelector, numberFormatCache, parameters, propertiesUtil, PROPERTY_DEFAULT_FILTER_FACTORY, PROPERTY_SUFFIX_DEFAULT_FILTER_FACTORY, rendererUtil, styledTextUtil, textValueClasses -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFontFamily(HtmlFontFamily htmlFontFamily) getFontFamily(boolean ignoreCase, String fontFamily, Locale locale) Deprecated.Replaced byHtmlExporterOutput.getFontHandler().static JRPrintImagegetImage(List<JasperPrint> jasperPrintList, String imageName) static JRPrintImagegetImage(List<JasperPrint> jasperPrintList, JRPrintElementIndex imageIndex) Deprecated.Replaced byHtmlExporterOutput.getImageHandler().static StringgetImageName(JRPrintElementIndex printElementIndex) Deprecated.Replaced bygetImageName(JRPrintElementIndex, String).static StringgetImageName(JRPrintElementIndex printElementIndex, String fileExtension) static JRPrintElementIndexgetPrintElementIndex(String imageName) Deprecated.Replaced byHtmlExporterOutput.getResourceHandler().protected JRStyledTextgetStyledText(JRPrintText textElement, boolean setBackcolor) protected StringhandleFont(FontInfo fontInfo, Locale locale) protected booleanisConvertSvgToImage(JRPrintElement element) protected booleanisEmbeddedSvgUseFonts(JRPrintElement element) protected booleanisEmbedImage(JRPrintElement element) protected booleanprotected booleanprotected StringresolveFontFamily(Map<AttributedCharacterIterator.Attribute, Object> attributes, Locale locale) voidsetFontHandler(HtmlResourceHandler fontHandler) Deprecated.Replaced byHtmlExporterOutput.getFontHandler().voidsetImageHandler(HtmlResourceHandler imageHandler) Deprecated.Replaced byHtmlExporterOutput.getImageHandler().voidsetResourceHandler(HtmlResourceHandler resourceHandler) Deprecated.Replaced byHtmlExporterOutput.getResourceHandler().Methods inherited from class net.sf.jasperreports.engine.JRAbstractExporter
checkInterrupted, createFilter, defaultParseNumber, ensureInput, ensureJasperReportsContext, ensureOutput, exportReport, getBooleanCellValue, getConfigurationInterface, getCurrentConfiguration, getCurrentItemConfiguration, getCurrentJasperPrint, getDateCellValue, getDateFormat, getExporterContext, getExporterInput, getExporterKey, getExporterOutput, getExporterPropertiesPrefix, getHyperlinkProducer, getItemConfigurationInterface, getJasperReportsContext, getLocale, getNumberCellValue, getNumberFormat, getOffsetX, getOffsetY, getPageRange, getParameter, getParameters, getPropertiesUtil, getRendererUtil, getReportContext, getRepository, getStyledText, getTextFormatFactoryClass, getTextLocale, getTextTimeZone, getTextValue, getTextValueString, initExport, initReport, insideFrame, reset, resetClassLoader, resetExportContext, restoreElementOffsets, setClassLoader, setConfiguration, setConfiguration, setCurrentExporterInputItem, setExporterInput, setExporterOutput, setFrameElementsOffset, setJasperReportsContext, setOffset, setOffset, setParameter, setParameters, setReportContext
-
Field Details
-
CSS_TEXT_ALIGN_LEFT
- See Also:
-
CSS_TEXT_ALIGN_RIGHT
- See Also:
-
CSS_TEXT_ALIGN_CENTER
- See Also:
-
CSS_TEXT_ALIGN_JUSTIFY
- See Also:
-
HTML_VERTICAL_ALIGN_TOP
- See Also:
-
HTML_VERTICAL_ALIGN_MIDDLE
- See Also:
-
HTML_VERTICAL_ALIGN_BOTTOM
- See Also:
-
JR_PAGE_ANCHOR_PREFIX
- See Also:
-
JR_BOOKMARK_ANCHOR_PREFIX
- See Also:
-
DEFAULT_ZOOM
protected static final float DEFAULT_ZOOM- See Also:
-
IMAGE_NAME_PREFIX
- See Also:
-
IMAGE_NAME_PREFIX_LEGTH
protected static final int IMAGE_NAME_PREFIX_LEGTH -
imageHandler
Deprecated.To be removed. -
fontHandler
Deprecated.To be removed. -
resourceHandler
Deprecated.To be removed. -
fontsToProcess
-
-
Constructor Details
-
AbstractHtmlExporter
-
-
Method Details
-
getImageHandler
Deprecated.Replaced byHtmlExporterOutput.getImageHandler(). -
setImageHandler
Deprecated.Replaced byHtmlExporterOutput.getImageHandler(). -
getFontHandler
Deprecated.Replaced byHtmlExporterOutput.getFontHandler(). -
setFontHandler
Deprecated.Replaced byHtmlExporterOutput.getFontHandler(). -
getResourceHandler
Deprecated.Replaced byHtmlExporterOutput.getResourceHandler(). -
setResourceHandler
Deprecated.Replaced byHtmlExporterOutput.getResourceHandler(). -
getImage
-
getImageName
Deprecated.Replaced bygetImageName(JRPrintElementIndex, String). -
getImageName
-
getImage
public static JRPrintImage getImage(List<JasperPrint> jasperPrintList, JRPrintElementIndex imageIndex) -
getPrintElementIndex
-
resolveFontFamily
protected String resolveFontFamily(Map<AttributedCharacterIterator.Attribute, Object> attributes, Locale locale) -
getFontFamily
-
handleFont
-
addFontFamily
-
isOverrideHints
protected boolean isOverrideHints() -
isEmbedImage
-
isEmbeddedSvgUseFonts
-
isConvertSvgToImage
-
isUseBackgroundImageToAlign
-
getStyledText
- Overrides:
getStyledTextin classJRAbstractExporter<RC extends HtmlReportConfiguration,C extends HtmlExporterConfiguration, HtmlExporterOutput, JRHtmlExporterContext>
-