dori.jasper.engine.fill
Class JRHorizontalFiller

java.lang.Object
  extended bydori.jasper.engine.fill.JRBaseFiller
      extended bydori.jasper.engine.fill.JRHorizontalFiller
All Implemented Interfaces:
JRDefaultFontProvider

public class JRHorizontalFiller
extends JRBaseFiller


Field Summary
 
Fields inherited from class dori.jasper.engine.fill.JRBaseFiller
background, bottomMargin, calculator, columnBoundImages, columnBoundTexts, columnCount, columnFooter, columnHeader, columnSpacing, columnWidth, dataSource, defaultFont, detail, fields, fieldsMap, fonts, groupBoundImages, groupBoundTexts, groups, isParametersAlreadySet, isSummaryNewPage, isTitleNewPage, jasperPrint, leftMargin, loadedImages, loadedSubreports, name, orientation, pageBoundImages, pageBoundTexts, pageFooter, pageHeader, pageHeight, pageWidth, parameters, parametersMap, printOrder, printPage, printPageStretchHeight, query, reportBoundImages, reportBoundTexts, rightMargin, scriptlet, scriptletClass, summary, title, topMargin, variables, variablesMap, whenNoDataType
 
Constructor Summary
protected JRHorizontalFiller(JasperReport jasperReport)
           
protected JRHorizontalFiller(JasperReport jasperReport, JRBaseFiller parentFiller)
           
 
Method Summary
protected  void fillBand(JRPrintBand band)
           
protected  void fillColumnBand(JRFillBand band, byte evaluation)
           
protected  void fillFixedBand(JRFillBand band, byte evaluation)
           
protected  void fillPageBand(JRFillBand band, byte evaluation)
          private void fillColumnBreak( byte evalPrevPage, byte evalNextPage ) throws JRException { if (columnIndex == columnCount - 1) { fillPageBreak(false, evalPrevPage, evalNextPage); } else { this.fillColumnFooter(evalPrevPage); resolveGroupBoundImages(evalPrevPage, false); resolveColumnBoundImages(evalPrevPage); resolveGroupBoundTexts(evalPrevPage, false); resolveColumnBoundTexts(evalPrevPage); scriptlet.callBeforeColumnInit(); calculator.initializeVariables(JRVariable.RESET_TYPE_COLUMN); scriptlet.callAfterColumnInit(); columnIndex += 1; offsetX = leftMargin + columnIndex * (columnSpacing + columnWidth); offsetY = columnHeaderOffsetY; calculator.getColumnNumber().setValue( new Integer(((Number)calculator.getColumnNumber().getValue()).intValue() + 1) ); calculator.getColumnNumber().setOldValue( calculator.getColumnNumber().getValue() ); this.fillColumnHeader(evalNextPage); } } /**
protected  void fillReport()
           
protected  void setPageHeight(int pageHeight)
           
 
Methods inherited from class dori.jasper.engine.fill.JRBaseFiller
fill, fill, getCurrentPage, getCurrentPageStretchHeight, getDefaultFont, getFonts, getJasperPrint, isInterrupted, isSubreport, loadCalculator, loadScriptlet, next, resolveColumnBoundImages, resolveColumnBoundTexts, resolveGroupBoundImages, resolveGroupBoundTexts, resolvePageBoundImages, resolvePageBoundTexts, resolveReportBoundImages, resolveReportBoundTexts, setInterrupted, setParameter, setParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRHorizontalFiller

protected JRHorizontalFiller(JasperReport jasperReport)
                      throws JRException

JRHorizontalFiller

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

setPageHeight

protected void setPageHeight(int pageHeight)
                      throws JRException
Specified by:
setPageHeight in class JRBaseFiller
Throws:
JRException

fillReport

protected void fillReport()
                   throws JRException
Specified by:
fillReport in class JRBaseFiller
Throws:
JRException

fillPageBand

protected void fillPageBand(JRFillBand band,
                            byte evaluation)
                     throws JRException
private void fillColumnBreak( byte evalPrevPage, byte evalNextPage ) throws JRException { if (columnIndex == columnCount - 1) { fillPageBreak(false, evalPrevPage, evalNextPage); } else { this.fillColumnFooter(evalPrevPage); resolveGroupBoundImages(evalPrevPage, false); resolveColumnBoundImages(evalPrevPage); resolveGroupBoundTexts(evalPrevPage, false); resolveColumnBoundTexts(evalPrevPage); scriptlet.callBeforeColumnInit(); calculator.initializeVariables(JRVariable.RESET_TYPE_COLUMN); scriptlet.callAfterColumnInit(); columnIndex += 1; offsetX = leftMargin + columnIndex * (columnSpacing + columnWidth); offsetY = columnHeaderOffsetY; calculator.getColumnNumber().setValue( new Integer(((Number)calculator.getColumnNumber().getValue()).intValue() + 1) ); calculator.getColumnNumber().setOldValue( calculator.getColumnNumber().getValue() ); this.fillColumnHeader(evalNextPage); } } /**

Throws:
JRException

fillColumnBand

protected void fillColumnBand(JRFillBand band,
                              byte evaluation)
                       throws JRException
Throws:
JRException

fillFixedBand

protected void fillFixedBand(JRFillBand band,
                             byte evaluation)
                      throws JRException
Throws:
JRException

fillBand

protected void fillBand(JRPrintBand band)
                 throws JRException
Throws:
JRException


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