Class DocumentBuilder
- java.lang.Object
-
- net.sf.jasperreports.engine.export.oasis.DocumentBuilder
-
- Direct Known Subclasses:
JROdsExporter.OdsDocumentBuilder
,JROdtExporter.OdtDocumentBuilder
public abstract class DocumentBuilder extends Object
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
IMAGE_NAME_PREFIX
protected static int
IMAGE_NAME_PREFIX_LEGTH
protected static String
JR_PAGE_ANCHOR_PREFIX
protected OasisZip
oasisZip
protected RenderersCache
renderersCache
protected Map<String,String>
rendererToImagePathMap
-
Constructor Summary
Constructors Constructor Description DocumentBuilder(OasisZip oasisZip)
-
Method Summary
-
-
-
Field Detail
-
JR_PAGE_ANCHOR_PREFIX
protected static final String JR_PAGE_ANCHOR_PREFIX
- See Also:
- Constant Field Values
-
IMAGE_NAME_PREFIX
public static final String IMAGE_NAME_PREFIX
- See Also:
- Constant Field Values
-
IMAGE_NAME_PREFIX_LEGTH
protected static final int IMAGE_NAME_PREFIX_LEGTH
-
renderersCache
protected final RenderersCache renderersCache
-
oasisZip
protected final OasisZip oasisZip
-
-
Constructor Detail
-
DocumentBuilder
public DocumentBuilder(OasisZip oasisZip)
-
-
Method Detail
-
getImageName
public static String getImageName(JRPrintElementIndex printElementIndex)
-
getPrintElementIndex
public static JRPrintElementIndex getPrintElementIndex(String imageName)
-
getHyperlinkURL
protected String getHyperlinkURL(JRPrintHyperlink link)
-
getHyperlinkURL
protected String getHyperlinkURL(JRPrintHyperlink link, boolean isOnePagePerSheet)
-
getRenderersCache
protected RenderersCache getRenderersCache()
-
getImagePath
protected String getImagePath(Renderable renderer, Dimension dimension, Color backcolor, JRExporterGridCell gridCell, RenderersCache imageRenderersCache) throws JRException
- Throws:
JRException
-
getElementIndex
protected JRPrintElementIndex getElementIndex(JRExporterGridCell gridCell)
-
getStyledText
public abstract JRStyledText getStyledText(JRPrintText text)
-
getTextLocale
public abstract Locale getTextLocale(JRPrintText text)
-
getInvalidCharReplacement
public abstract String getInvalidCharReplacement()
-
insertPageAnchor
protected abstract void insertPageAnchor(TableBuilder tableBuilder)
-
getHyperlinkProducer
protected abstract JRHyperlinkProducer getHyperlinkProducer(JRPrintHyperlink link)
-
getJasperReportsContext
protected abstract JasperReportsContext getJasperReportsContext()
-
getReportIndex
protected abstract int getReportIndex()
-
getPageIndex
protected abstract int getPageIndex()
-
-