dori.jasper.engine.export
Class JRHtmlExporter

java.lang.Object
  extended bydori.jasper.engine.JRAbstractExporter
      extended bydori.jasper.engine.export.JRHtmlExporter
All Implemented Interfaces:
JRExporter

public class JRHtmlExporter
extends JRAbstractExporter


Field Summary
protected  java.lang.String betweenPagesHtml
           
protected static int colorMask
           
static java.lang.String CSS_TEXT_ALIGN_CENTER
           
static java.lang.String CSS_TEXT_ALIGN_JUSTIFY
           
static java.lang.String CSS_TEXT_ALIGN_LEFT
           
static java.lang.String CSS_TEXT_ALIGN_RIGHT
           
protected  JRFont defaultFont
           
protected  dori.jasper.engine.export.StringProvider emptyCellStringProvider
           
protected  java.lang.String encoding
           
protected  JRExporterGridCell[][] grid
           
static java.lang.String HTML_VERTICAL_ALIGN_BOTTOM
           
static java.lang.String HTML_VERTICAL_ALIGN_MIDDLE
           
static java.lang.String HTML_VERTICAL_ALIGN_TOP
           
protected  java.lang.String htmlFooter
           
protected  java.lang.String htmlHeader
           
protected  java.io.File imagesDir
           
protected  java.util.Map imagesMap
           
protected  java.lang.String imagesURI
           
protected  boolean isOutputImagesToDir
           
protected  boolean isRemoveEmptySpace
           
protected  boolean[] isRowNotEmpty
           
protected  boolean isWhitePageBackground
           
protected  java.util.Map loadedImagesMap
           
protected  JRExportProgressMonitor progressMonitor
           
protected  java.io.Writer writer
           
protected  java.util.List xCuts
           
protected  java.util.List yCuts
           
 
Fields inherited from class dori.jasper.engine.JRAbstractExporter
endPageIndex, jasperPrint, parameters, startPageIndex
 
Constructor Summary
JRHtmlExporter()
           
 
Method Summary
protected  void exportImage(JRPrintImage image, JRExporterGridCell gridCell)
           
protected  void exportLine(JRPrintLine line, JRExporterGridCell gridCell)
           
protected  void exportPage(JRPrintPage page)
           
protected  void exportRectangle(JRPrintElement element, JRExporterGridCell gridCell)
           
 void exportReport()
           
protected  void exportReportToWriter()
           
protected  void exportText(JRPrintText text, JRExporterGridCell gridCell)
           
protected  JRFont getDefaultFont()
           
protected  void layoutGrid(JRPrintPage page)
           
protected  void loadPxImage()
           
protected static java.lang.String replaceNewLineWithBR(java.lang.String source)
           
 
Methods inherited from class dori.jasper.engine.JRAbstractExporter
getParameter, getParameters, setInput, setOutput, setPageRange, setParameter, setParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CSS_TEXT_ALIGN_LEFT

public static final java.lang.String CSS_TEXT_ALIGN_LEFT
See Also:
Constant Field Values

CSS_TEXT_ALIGN_RIGHT

public static final java.lang.String CSS_TEXT_ALIGN_RIGHT
See Also:
Constant Field Values

CSS_TEXT_ALIGN_CENTER

public static final java.lang.String CSS_TEXT_ALIGN_CENTER
See Also:
Constant Field Values

CSS_TEXT_ALIGN_JUSTIFY

public static final java.lang.String CSS_TEXT_ALIGN_JUSTIFY
See Also:
Constant Field Values

HTML_VERTICAL_ALIGN_TOP

public static final java.lang.String HTML_VERTICAL_ALIGN_TOP
See Also:
Constant Field Values

HTML_VERTICAL_ALIGN_MIDDLE

public static final java.lang.String HTML_VERTICAL_ALIGN_MIDDLE
See Also:
Constant Field Values

HTML_VERTICAL_ALIGN_BOTTOM

public static final java.lang.String HTML_VERTICAL_ALIGN_BOTTOM
See Also:
Constant Field Values

writer

protected java.io.Writer writer

progressMonitor

protected JRExportProgressMonitor progressMonitor

loadedImagesMap

protected java.util.Map loadedImagesMap

imagesMap

protected java.util.Map imagesMap

defaultFont

protected JRFont defaultFont

imagesDir

protected java.io.File imagesDir

imagesURI

protected java.lang.String imagesURI

isOutputImagesToDir

protected boolean isOutputImagesToDir

isRemoveEmptySpace

protected boolean isRemoveEmptySpace

isWhitePageBackground

protected boolean isWhitePageBackground

encoding

protected java.lang.String encoding

htmlHeader

protected java.lang.String htmlHeader

betweenPagesHtml

protected java.lang.String betweenPagesHtml

htmlFooter

protected java.lang.String htmlFooter

emptyCellStringProvider

protected dori.jasper.engine.export.StringProvider emptyCellStringProvider

colorMask

protected static final int colorMask

grid

protected JRExporterGridCell[][] grid

isRowNotEmpty

protected boolean[] isRowNotEmpty

xCuts

protected java.util.List xCuts

yCuts

protected java.util.List yCuts
Constructor Detail

JRHtmlExporter

public JRHtmlExporter()
Method Detail

getDefaultFont

protected JRFont getDefaultFont()

exportReport

public void exportReport()
                  throws JRException
Specified by:
exportReport in interface JRExporter
Specified by:
exportReport in class JRAbstractExporter
Throws:
JRException

exportReportToWriter

protected void exportReportToWriter()
                             throws JRException,
                                    java.io.IOException
Throws:
JRException
java.io.IOException

exportPage

protected void exportPage(JRPrintPage page)
                   throws JRException,
                          java.io.IOException
Throws:
JRException
java.io.IOException

exportLine

protected void exportLine(JRPrintLine line,
                          JRExporterGridCell gridCell)
                   throws java.io.IOException
Throws:
java.io.IOException

exportRectangle

protected void exportRectangle(JRPrintElement element,
                               JRExporterGridCell gridCell)
                        throws java.io.IOException
Throws:
java.io.IOException

exportText

protected void exportText(JRPrintText text,
                          JRExporterGridCell gridCell)
                   throws java.io.IOException
Throws:
java.io.IOException

exportImage

protected void exportImage(JRPrintImage image,
                           JRExporterGridCell gridCell)
                    throws JRException,
                           java.io.IOException
Throws:
JRException
java.io.IOException

layoutGrid

protected void layoutGrid(JRPrintPage page)

replaceNewLineWithBR

protected static java.lang.String replaceNewLineWithBR(java.lang.String source)

loadPxImage

protected void loadPxImage()
                    throws JRException
Throws:
JRException


Copyright © 2001-2004 Teodor Danciu. All Rights Reserved.