public abstract class DocumentBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
IMAGE_NAME_PREFIX |
protected static int |
IMAGE_NAME_PREFIX_LEGTH |
protected static String |
JR_PAGE_ANCHOR_PREFIX |
protected OasisZip |
oasisZip |
protected Map<String,String> |
rendererToImagePathMap |
| Constructor and Description |
|---|
DocumentBuilder(OasisZip oasisZip) |
| Modifier and Type | Method and Description |
|---|---|
protected JRPrintElementIndex |
getElementIndex(JRExporterGridCell gridCell) |
protected abstract JRHyperlinkProducer |
getHyperlinkProducer(JRPrintHyperlink link) |
protected String |
getHyperlinkURL(JRPrintHyperlink link) |
static String |
getImageName(JRPrintElementIndex printElementIndex) |
protected String |
getImagePath(Renderable renderer,
JRPrintImage image,
JRExporterGridCell gridCell) |
abstract String |
getInvalidCharReplacement() |
protected abstract JasperReportsContext |
getJasperReportsContext() |
protected abstract int |
getPageIndex() |
static JRPrintElementIndex |
getPrintElementIndex(String imageName) |
protected abstract int |
getReportIndex() |
abstract JRStyledText |
getStyledText(JRPrintText text) |
abstract Locale |
getTextLocale(JRPrintText text) |
protected abstract void |
insertPageAnchor(TableBuilder tableBuilder) |
protected void |
processImage(JRPrintImage image,
JRPrintElementIndex imageIndex) |
protected static final String JR_PAGE_ANCHOR_PREFIX
public static final String IMAGE_NAME_PREFIX
protected static final int IMAGE_NAME_PREFIX_LEGTH
protected final OasisZip oasisZip
public DocumentBuilder(OasisZip oasisZip)
public static String getImageName(JRPrintElementIndex printElementIndex)
public static JRPrintElementIndex getPrintElementIndex(String imageName)
protected String getHyperlinkURL(JRPrintHyperlink link)
protected String getImagePath(Renderable renderer, JRPrintImage image, JRExporterGridCell gridCell) throws JRException
JRExceptionprotected void processImage(JRPrintImage image, JRPrintElementIndex imageIndex) throws JRException
JRExceptionprotected JRPrintElementIndex getElementIndex(JRExporterGridCell gridCell)
public abstract JRStyledText getStyledText(JRPrintText text)
public abstract Locale getTextLocale(JRPrintText text)
public abstract String getInvalidCharReplacement()
protected abstract void insertPageAnchor(TableBuilder tableBuilder)
protected abstract JRHyperlinkProducer getHyperlinkProducer(JRPrintHyperlink link)
protected abstract JasperReportsContext getJasperReportsContext()
protected abstract int getReportIndex()
protected abstract int getPageIndex()
Copyright © 2014. All rights reserved.