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:
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 Map<String, HtmlFontFamily> protected static final Stringprotected static final Stringprotected static final Stringstatic final Stringprotected static final intprotected static final Stringstatic final StringFields inherited from class net.sf.jasperreports.engine.JRAbstractExporter
allSelector, crtCompositeConfiguration, crtCompositeItemConfiguration, crtItem, dateFormatCache, EXCEPTION_MESSAGE_KEY_EMPTY_INPUT_SOURCE_IN_BATCH_MODE, EXCEPTION_MESSAGE_KEY_END_PAGE_INDEX_OUT_OF_RANGE, EXCEPTION_MESSAGE_KEY_INVALID_IMAGE_NAME, EXCEPTION_MESSAGE_KEY_INVALID_ZOOM_RATIO, EXCEPTION_MESSAGE_KEY_NO_INPUT_SOURCE, EXCEPTION_MESSAGE_KEY_NO_OUTPUT_SPECIFIED, 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, 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) static JRPrintImagegetImage(List<JasperPrint> jasperPrintList, String imageName) static JRPrintImagegetImage(List<JasperPrint> jasperPrintList, JRPrintElementIndex imageIndex) static StringgetImageName(JRPrintElementIndex printElementIndex, String fileExtension) static JRPrintElementIndexgetPrintElementIndex(String imageName) 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) Methods inherited from class net.sf.jasperreports.engine.JRAbstractExporter
checkInterrupted, createFilter, defaultParseNumber, ensureInput, ensureJasperReportsContext, ensureOutput, exportReport, getBooleanCellValue, getConfigurationInterface, getCurrentConfiguration, getCurrentItemConfiguration, getCurrentJasperPrint, getDateCellValue, getDateFormat, getExporterConfiguration, getExporterContext, getExporterInput, getExporterKey, getExporterOutput, getExporterPropertiesPrefix, getHyperlinkProducer, getItemConfigurationInterface, getJasperReportsContext, getLocale, getNumberCellValue, getNumberFormat, getOffsetX, getOffsetY, getPageRange, getPropertiesUtil, getRendererUtil, getReportContext, getReportExportConfiguration, getRepository, getStyledText, getTextFormatFactoryClass, getTextLocale, getTextTimeZone, getTextValue, getTextValueString, initExport, initReport, insideFrame, reset, resetExportContext, restoreElementOffsets, setConfiguration, setConfiguration, setCurrentExporterInputItem, setExporterInput, setExporterOutput, setFrameElementsOffset, setJasperReportsContext, setOffset, setOffset, 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 -
fontsToProcess
-
-
Constructor Details
-
AbstractHtmlExporter
-
-
Method Details
-
getImage
-
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>
-