dori.jasper.engine.fill
Class JRBaseFiller

java.lang.Object
  extended bydori.jasper.engine.fill.JRBaseFiller
All Implemented Interfaces:
JRDefaultFontProvider
Direct Known Subclasses:
JRHorizontalFiller, JRVerticalFiller

public abstract class JRBaseFiller
extends java.lang.Object
implements JRDefaultFontProvider


Field Summary
protected  JRFillBand background
           
protected  int bottomMargin
           
protected  JRCalculator calculator
           
protected  java.util.Map columnBoundImages
           
protected  java.util.Map columnBoundTexts
           
protected  int columnCount
           
protected  JRFillBand columnFooter
           
protected  JRFillBand columnHeader
           
protected  int columnSpacing
           
protected  int columnWidth
           
protected  JRDataSource dataSource
           
protected  JRReportFont defaultFont
           
protected  JRFillBand detail
           
protected  JRFillField[] fields
           
protected  java.util.Map fieldsMap
           
protected  JRReportFont[] fonts
           
protected  java.util.Map groupBoundImages
           
protected  java.util.Map groupBoundTexts
           
protected  JRFillGroup[] groups
           
protected  boolean isParametersAlreadySet
           
protected  boolean isSummaryNewPage
           
protected  boolean isTitleNewPage
           
protected  JasperPrint jasperPrint
           
protected  int leftMargin
           
protected  java.util.Map loadedImages
           
protected  java.util.Map loadedSubreports
           
protected  java.lang.String name
           
protected  byte orientation
           
protected  java.util.Map pageBoundImages
           
protected  java.util.Map pageBoundTexts
           
protected  JRFillBand pageFooter
           
protected  JRFillBand pageHeader
           
protected  int pageHeight
           
protected  int pageWidth
           
protected  JRFillParameter[] parameters
           
protected  java.util.Map parametersMap
           
protected  byte printOrder
           
protected  JRPrintPage printPage
           
protected  int printPageStretchHeight
           
protected  JRQuery query
           
protected  java.util.Map reportBoundImages
           
protected  java.util.Map reportBoundTexts
           
protected  int rightMargin
           
protected  JRAbstractScriptlet scriptlet
           
protected  java.lang.String scriptletClass
           
protected  JRFillBand summary
           
protected  JRFillBand title
           
protected  int topMargin
           
protected  JRFillVariable[] variables
           
protected  java.util.Map variablesMap
           
protected  byte whenNoDataType
           
 
Constructor Summary
protected JRBaseFiller(JasperReport jasperReport, JRBaseFiller parentFiller)
           
 
Method Summary
 JasperPrint fill(java.util.Map parameterValues, java.sql.Connection conn)
           
protected  JasperPrint fill(java.util.Map parameterValues, JRDataSource ds)
           
protected abstract  void fillReport()
           
protected  JRPrintPage getCurrentPage()
           
protected  int getCurrentPageStretchHeight()
           
 JRReportFont getDefaultFont()
           
protected  JRReportFont[] getFonts()
           
 JasperPrint getJasperPrint()
           
protected  boolean isInterrupted()
           
protected  boolean isSubreport()
           
protected static JRCalculator loadCalculator(JasperReport jasperReport, java.util.Map parametersMap, java.util.Map fieldsMap, java.util.Map variablesMap, JRFillVariable[] variables, JRFillGroup[] groups)
           
protected static JRAbstractScriptlet loadScriptlet(java.lang.String className, java.util.Map parametersMap, java.util.Map fieldsMap, java.util.Map variablesMap, JRFillGroup[] groups)
           
protected  boolean next()
           
protected  void resolveColumnBoundImages(byte evaluation)
           
protected  void resolveColumnBoundTexts(byte evaluation)
           
protected  void resolveGroupBoundImages(byte evaluation, boolean isFinal)
           
protected  void resolveGroupBoundTexts(byte evaluation, boolean isFinal)
           
protected  void resolvePageBoundImages(byte evaluation)
           
protected  void resolvePageBoundTexts(byte evaluation)
           
protected  void resolveReportBoundImages()
           
protected  void resolveReportBoundTexts()
           
protected  void setInterrupted(boolean isInterrupted)
           
protected abstract  void setPageHeight(int pageHeight)
           
protected  void setParameter(JRFillParameter parameter, java.lang.Object value)
           
protected  void setParameters(java.util.Map parameterValues)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

columnCount

protected int columnCount

printOrder

protected byte printOrder

pageWidth

protected int pageWidth

pageHeight

protected int pageHeight

orientation

protected byte orientation

whenNoDataType

protected byte whenNoDataType

columnWidth

protected int columnWidth

columnSpacing

protected int columnSpacing

leftMargin

protected int leftMargin

rightMargin

protected int rightMargin

topMargin

protected int topMargin

bottomMargin

protected int bottomMargin

isTitleNewPage

protected boolean isTitleNewPage

isSummaryNewPage

protected boolean isSummaryNewPage

scriptletClass

protected java.lang.String scriptletClass

defaultFont

protected JRReportFont defaultFont

fonts

protected JRReportFont[] fonts

parameters

protected JRFillParameter[] parameters

parametersMap

protected java.util.Map parametersMap

query

protected JRQuery query

fields

protected JRFillField[] fields

fieldsMap

protected java.util.Map fieldsMap

variables

protected JRFillVariable[] variables

variablesMap

protected java.util.Map variablesMap

groups

protected JRFillGroup[] groups

background

protected JRFillBand background

title

protected JRFillBand title

pageHeader

protected JRFillBand pageHeader

columnHeader

protected JRFillBand columnHeader

detail

protected JRFillBand detail

columnFooter

protected JRFillBand columnFooter

pageFooter

protected JRFillBand pageFooter

summary

protected JRFillBand summary

calculator

protected JRCalculator calculator

scriptlet

protected JRAbstractScriptlet scriptlet

dataSource

protected JRDataSource dataSource

loadedImages

protected java.util.Map loadedImages

loadedSubreports

protected java.util.Map loadedSubreports

reportBoundImages

protected java.util.Map reportBoundImages

pageBoundImages

protected java.util.Map pageBoundImages

columnBoundImages

protected java.util.Map columnBoundImages

groupBoundImages

protected java.util.Map groupBoundImages

reportBoundTexts

protected java.util.Map reportBoundTexts

pageBoundTexts

protected java.util.Map pageBoundTexts

columnBoundTexts

protected java.util.Map columnBoundTexts

groupBoundTexts

protected java.util.Map groupBoundTexts

jasperPrint

protected JasperPrint jasperPrint

printPage

protected JRPrintPage printPage

printPageStretchHeight

protected int printPageStretchHeight

isParametersAlreadySet

protected boolean isParametersAlreadySet
Constructor Detail

JRBaseFiller

protected JRBaseFiller(JasperReport jasperReport,
                       JRBaseFiller parentFiller)
                throws JRException
Method Detail

getJasperPrint

public JasperPrint getJasperPrint()

getDefaultFont

public JRReportFont getDefaultFont()
Specified by:
getDefaultFont in interface JRDefaultFontProvider

isSubreport

protected boolean isSubreport()

isInterrupted

protected boolean isInterrupted()

setInterrupted

protected void setInterrupted(boolean isInterrupted)

getCurrentPage

protected JRPrintPage getCurrentPage()

getFonts

protected JRReportFont[] getFonts()

getCurrentPageStretchHeight

protected int getCurrentPageStretchHeight()

setPageHeight

protected abstract void setPageHeight(int pageHeight)
                               throws JRException
Throws:
JRException

fill

public JasperPrint fill(java.util.Map parameterValues,
                        java.sql.Connection conn)
                 throws JRException
Throws:
JRException

fill

protected JasperPrint fill(java.util.Map parameterValues,
                           JRDataSource ds)
                    throws JRException
Throws:
JRException

fillReport

protected abstract void fillReport()
                            throws JRException
Throws:
JRException

loadScriptlet

protected static JRAbstractScriptlet loadScriptlet(java.lang.String className,
                                                   java.util.Map parametersMap,
                                                   java.util.Map fieldsMap,
                                                   java.util.Map variablesMap,
                                                   JRFillGroup[] groups)
                                            throws JRException
Throws:
JRException

loadCalculator

protected static JRCalculator loadCalculator(JasperReport jasperReport,
                                             java.util.Map parametersMap,
                                             java.util.Map fieldsMap,
                                             java.util.Map variablesMap,
                                             JRFillVariable[] variables,
                                             JRFillGroup[] groups)
                                      throws JRException
Throws:
JRException

setParameters

protected void setParameters(java.util.Map parameterValues)
                      throws JRException
Throws:
JRException

setParameter

protected void setParameter(JRFillParameter parameter,
                            java.lang.Object value)
                     throws JRException
Throws:
JRException

next

protected boolean next()
                throws JRException
Throws:
JRException

resolveReportBoundImages

protected void resolveReportBoundImages()
                                 throws JRException
Throws:
JRException

resolvePageBoundImages

protected void resolvePageBoundImages(byte evaluation)
                               throws JRException
Throws:
JRException

resolveColumnBoundImages

protected void resolveColumnBoundImages(byte evaluation)
                                 throws JRException
Throws:
JRException

resolveGroupBoundImages

protected void resolveGroupBoundImages(byte evaluation,
                                       boolean isFinal)
                                throws JRException
Throws:
JRException

resolveReportBoundTexts

protected void resolveReportBoundTexts()
                                throws JRException
Throws:
JRException

resolvePageBoundTexts

protected void resolvePageBoundTexts(byte evaluation)
                              throws JRException
Throws:
JRException

resolveColumnBoundTexts

protected void resolveColumnBoundTexts(byte evaluation)
                                throws JRException
Throws:
JRException

resolveGroupBoundTexts

protected void resolveGroupBoundTexts(byte evaluation,
                                      boolean isFinal)
                               throws JRException
Throws:
JRException


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