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 class
PartReportFiller.JasperPrintPartOutput
-
Field Summary
Fields Modifier and Type Field Description static String
EXCEPTION_MESSAGE_KEY_EVALUATION_GROUP_NOT_FOUND
static String
EXCEPTION_MESSAGE_KEY_UNKNOWN_EVALUATION_TIME_TYPE
static String
EXCEPTION_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 void
calculateDetail()
protected void
calculateGroups()
protected void
estimateGroups()
JasperPrint
fill(Map<String,Object> parameterValues)
protected void
fillChangedGroupEvaluatedParts()
protected void
fillChangedGroupHeaders()
protected void
fillDelayedEvaluatedParts(List<DelayedPrintPart> parts, byte evaluation)
protected void
fillDelayedPart(byte evaluation, DelayedPrintPart part)
protected void
fillDetail()
protected void
fillFirstGroupHeaders()
protected void
fillLastGroupEvaluatedParts()
protected void
fillPart(FillPart part, byte evaluation)
protected void
fillParts(FillParts parts, byte evaluation)
protected void
fillReport()
protected void
fillReportEvaluatedParts()
BookmarkHelper
getFirstBookmarkHelper()
protected void
ignorePaginationSet(Map<String,Object> parameterValues)
protected JRFillObjectFactory
initFillFactory()
boolean
isPageFinal(int pageIndex)
protected void
jasperReportSet()
protected void
partPageUpdated(int pageIndex)
protected void
startReport()
-
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 String EXCEPTION_MESSAGE_KEY_EVALUATION_GROUP_NOT_FOUND
- See Also:
- Constant Field Values
-
EXCEPTION_MESSAGE_KEY_UNKNOWN_EVALUATION_TIME_TYPE
public static final String EXCEPTION_MESSAGE_KEY_UNKNOWN_EVALUATION_TIME_TYPE
- See Also:
- Constant Field Values
-
EXCEPTION_MESSAGE_KEY_UNSUPPORTED_SECTION_TYPE
public static final 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:
jasperReportSet
in classBaseReportFiller
-
initFillFactory
protected JRFillObjectFactory initFillFactory()
- Specified by:
initFillFactory
in classBaseReportFiller
-
fill
public JasperPrint fill(Map<String,Object> parameterValues) throws JRException
- Throws:
JRException
-
ignorePaginationSet
protected void ignorePaginationSet(Map<String,Object> parameterValues)
- Specified by:
ignorePaginationSet
in classBaseReportFiller
-
fillReport
protected void fillReport() throws JRException
- Throws:
JRException
-
startReport
protected void startReport() throws JRScriptletException, JRException
- Throws:
JRScriptletException
JRException
-
calculateDetail
protected void calculateDetail() throws JRScriptletException, JRException
- Throws:
JRScriptletException
JRException
-
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(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()
-
-