Package net.sf.jasperreports.engine.fill
Class PartReportFiller
- java.lang.Object
-
- net.sf.jasperreports.engine.fill.BaseReportFiller
-
- net.sf.jasperreports.engine.fill.PartReportFiller
-
- All Implemented Interfaces:
ReportFiller
public class PartReportFiller extends BaseReportFiller
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classPartReportFiller.JasperPrintPartOutput
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEXCEPTION_MESSAGE_KEY_EVALUATION_GROUP_NOT_FOUNDstatic java.lang.StringEXCEPTION_MESSAGE_KEY_UNKNOWN_EVALUATION_TIME_TYPEstatic java.lang.StringEXCEPTION_MESSAGE_KEY_UNSUPPORTED_SECTION_TYPE-
Fields inherited from class net.sf.jasperreports.engine.fill.BaseReportFiller
bookmarkHelper, calculator, datasetMap, delayedActions, factory, fillContext, fillerId, fillingThread, fillListener, formatFactory, ignorePagination, jasperPrint, jasperReport, jasperReportsContext, mainDataset, parent, printTransferPropertyPrefixes, propertiesUtil, reportSource, repositoryContext, scriptlet, usedPageWidth, virtualizationContext
-
-
Constructor Summary
Constructors Constructor Description PartReportFiller(JasperReportsContext jasperReportsContext, JasperReportSource reportSource, PartFillerParent parent)PartReportFiller(JasperReportsContext jasperReportsContext, JasperReport jasperReport)PartReportFiller(JasperReportsContext jasperReportsContext, JasperReport jasperReport, PartFillerParent parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcalculateDetail()protected voidcalculateGroups()protected voidestimateGroups()JasperPrintfill(java.util.Map<java.lang.String,java.lang.Object> parameterValues)protected voidfillChangedGroupEvaluatedParts()protected voidfillChangedGroupHeaders()protected voidfillDelayedEvaluatedParts(java.util.List<DelayedPrintPart> parts, byte evaluation)protected voidfillDelayedPart(byte evaluation, DelayedPrintPart part)protected voidfillDetail()protected voidfillFirstGroupHeaders()protected voidfillLastGroupEvaluatedParts()protected voidfillPart(FillPart part, byte evaluation)protected voidfillParts(FillParts parts, byte evaluation)protected voidfillReport()protected voidfillReportEvaluatedParts()BookmarkHelpergetFirstBookmarkHelper()protected voidignorePaginationSet(java.util.Map<java.lang.String,java.lang.Object> parameterValues)protected JRFillObjectFactoryinitFillFactory()booleanisPageFinal(int pageIndex)protected voidjasperReportSet()protected voidpartPageUpdated(int pageIndex)protected voidstartReport()-
Methods inherited from class net.sf.jasperreports.engine.fill.BaseReportFiller
addBoundElement, addFillListener, addLastPageBookmarks, addVariableCalculationReq, cancelFill, checkInterrupted, clearFillingThread, createBoundElementMaps, detectPart, evaluateExpression, fill, fill, getExpressionEvaluator, getFillContext, getFormatFactory, getJasperPrint, getJasperReport, getJasperReportsContext, getLocale, getMainDataset, getOwnIgnorePagination, getParametersMap, getParameterValue, getParameterValuesMap, getPropertiesUtil, getReportSource, getRepositoryContext, getTimeZone, getUsedPageWidth, getVariable, getVariableValue, getVirtualizationContext, initDatasets, initVirtualizationContext, isDeliberatelyInterrupted, isIgnorePagination, isInterrupted, isMasterReport, isSubreport, recordUsedPageWidth, resolveBoundElements, resolveMasterBoundElements, setBookmarkHelper, setConnectionParameterValue, setDatasourceParameterValue, setFormatFactory, setIgnorePagination, setInterrupted, setJasperReportsContext, setParameters, setParametersToContext, setVirtualPageSize, updateBookmark
-
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_EVALUATION_GROUP_NOT_FOUND
public static final java.lang.String EXCEPTION_MESSAGE_KEY_EVALUATION_GROUP_NOT_FOUND
- See Also:
- Constant Field Values
-
EXCEPTION_MESSAGE_KEY_UNKNOWN_EVALUATION_TIME_TYPE
public static final java.lang.String EXCEPTION_MESSAGE_KEY_UNKNOWN_EVALUATION_TIME_TYPE
- See Also:
- Constant Field Values
-
EXCEPTION_MESSAGE_KEY_UNSUPPORTED_SECTION_TYPE
public static final java.lang.String EXCEPTION_MESSAGE_KEY_UNSUPPORTED_SECTION_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PartReportFiller
public PartReportFiller(JasperReportsContext jasperReportsContext, JasperReport jasperReport) throws JRException
- Throws:
JRException
-
PartReportFiller
public PartReportFiller(JasperReportsContext jasperReportsContext, JasperReport jasperReport, PartFillerParent parent) throws JRException
- Throws:
JRException
-
PartReportFiller
public PartReportFiller(JasperReportsContext jasperReportsContext, JasperReportSource reportSource, PartFillerParent parent) throws JRException
- Throws:
JRException
-
-
Method Detail
-
jasperReportSet
protected void jasperReportSet()
- Specified by:
jasperReportSetin classBaseReportFiller
-
initFillFactory
protected JRFillObjectFactory initFillFactory()
- Specified by:
initFillFactoryin classBaseReportFiller
-
fill
public JasperPrint fill(java.util.Map<java.lang.String,java.lang.Object> parameterValues) throws JRException
- Throws:
JRException
-
ignorePaginationSet
protected void ignorePaginationSet(java.util.Map<java.lang.String,java.lang.Object> parameterValues)
- Specified by:
ignorePaginationSetin classBaseReportFiller
-
fillReport
protected void fillReport() throws JRException- Throws:
JRException
-
startReport
protected void startReport() throws JRScriptletException, JRException- Throws:
JRScriptletExceptionJRException
-
calculateDetail
protected void calculateDetail() throws JRScriptletException, JRException- Throws:
JRScriptletExceptionJRException
-
estimateGroups
protected void estimateGroups() throws JRException- Throws:
JRException
-
calculateGroups
protected void calculateGroups() throws JRException- Throws:
JRException
-
fillDetail
protected void fillDetail() throws JRException- Throws:
JRException
-
fillFirstGroupHeaders
protected void fillFirstGroupHeaders() throws JRException- Throws:
JRException
-
fillChangedGroupHeaders
protected void fillChangedGroupHeaders() throws JRException- Throws:
JRException
-
fillParts
protected void fillParts(FillParts parts, byte evaluation) throws JRException
- Throws:
JRException
-
fillPart
protected void fillPart(FillPart part, byte evaluation) throws JRException
- Throws:
JRException
-
isPageFinal
public boolean isPageFinal(int pageIndex)
-
partPageUpdated
protected void partPageUpdated(int pageIndex)
-
fillReportEvaluatedParts
protected void fillReportEvaluatedParts() throws JRException- Throws:
JRException
-
fillChangedGroupEvaluatedParts
protected void fillChangedGroupEvaluatedParts() throws JRException- Throws:
JRException
-
fillLastGroupEvaluatedParts
protected void fillLastGroupEvaluatedParts() throws JRException- Throws:
JRException
-
fillDelayedEvaluatedParts
protected void fillDelayedEvaluatedParts(java.util.List<DelayedPrintPart> parts, byte evaluation) throws JRException
- Throws:
JRException
-
fillDelayedPart
protected void fillDelayedPart(byte evaluation, DelayedPrintPart part) throws JRException- Throws:
JRException
-
getFirstBookmarkHelper
public BookmarkHelper getFirstBookmarkHelper()
-
-