public class JRHorizontalFiller extends JRBaseFiller
JRBaseFiller.DefaultStyleListener
background, bandReportParent, bands, bottomMargin, columnCount, columnDirection, columnFooter, columnFooterOffsetY, columnHeader, columnHeaderOffsetY, columnIndex, columnSpacing, columnWidth, dateFormatCache, defaultStyle, detailSection, EXCEPTION_MESSAGE_KEY_CIRCULAR_DEPENDENCY_FOUND, EXCEPTION_MESSAGE_KEY_COLUMN_HEADER_OVERFLOW_INFINITE_LOOP, EXCEPTION_MESSAGE_KEY_EXTERNAL_STYLE_NAME_NOT_SET, EXCEPTION_MESSAGE_KEY_INFINITE_LOOP_CREATING_NEW_PAGE, EXCEPTION_MESSAGE_KEY_NO_SUCH_GROUP, EXCEPTION_MESSAGE_KEY_PAGE_HEADER_OVERFLOW_INFINITE_LOOP, EXCEPTION_MESSAGE_KEY_UNSUPPORTED_REPORT_SECTION_TYPE, groups, isCreatingNewPage, isFirstColumnBand, isFirstPageBand, isFloatColumnFooter, isLastPageFooter, isNewColumn, isNewGroup, isNewPage, isReorderBandElements, isSummaryNewPage, isSummaryWithPageHeaderAndFooter, isTitleNewPage, keepTogetherSavePoint, lastPageColumnFooterOffsetY, lastPageFooter, leftMargin, missingFillBand, missingFillSection, name, noData, numberFormatCache, offsetX, offsetY, orientation, pageFooter, pageHeader, pageHeight, pageWidth, printOrder, printPage, reportTemplates, rightMargin, styleResolver, styles, subfillers, summary, templates, title, topMargin, whenNoDataType, whenResourceMissingType
bookmarkHelper, calculator, datasetMap, delayedActions, factory, fillContext, fillerId, fillingThread, fillListener, formatFactory, ignorePagination, jasperPrint, jasperReport, jasperReportsContext, mainDataset, parent, printTransferPropertyPrefixes, propertiesUtil, scriptlet, virtualizationContext
Modifier | Constructor and Description |
---|---|
protected |
JRHorizontalFiller(JasperReportsContext jasperReportsContext,
JasperReport jasperReport) |
|
JRHorizontalFiller(JasperReportsContext jasperReportsContext,
JasperReport jasperReport,
BandReportFillerParent parent) |
Modifier and Type | Method and Description |
---|---|
protected net.sf.jasperreports.engine.fill.SavePoint |
fillColumnBand(JRFillBand band,
byte evaluation) |
protected void |
fillFixedBand(JRFillBand band,
byte evaluation) |
protected void |
fillFixedBand(JRFillBand band,
byte evaluation,
boolean allowShrinking) |
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
{
if (keepTogetherSavePoint != null)
{
keepTogetherSavePoint.saveEndOffsetY(offsetY);
}
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(
Integer.valueOf(((Number)calculator.getColumnNumber().getValue()).intValue() + 1)
);
calculator.getColumnNumber().setOldValue(
calculator.getColumnNumber().getValue()
);
fillColumnHeader(evalNextPage);
if (keepTogetherSavePoint != null)
{
moveKeepTogetherSavePointContent();
}
}
}
/**
|
protected void |
fillReport() |
protected void |
setPageHeight(int pageHeight) |
addBoundElement, addBoundElement, addBoundElement, addDefaultStyleListener, addPage, addPageToParent, addPrintStyle, advanceSavePoint, assignElementId, cancelFill, collectIncludedTemplates, collectStyles, collectStyles, collectStyles, collectTemplates, collectTemplateStyles, createReportTemplates, fill, fillBand, getCurrentPage, getCurrentPageCount, getDateFormat, getDateFormat, getDefaultStyle, getField, getFieldsMap, getFillerId, getGroup, getMasterColumnCount, getMasterFiller, getNumberFormat, getPrintTransferPropertyPrefixes, getResourceBundle, getStyledTextParser, getStyledTextUtil, getStyleResolver, getTemplates, getVariablesMap, getWhenResourceMissingType, hasBoundActions, hasMasterFormatFactory, hasMasterLocale, hasMasterTimeZone, ignorePaginationSet, initFillFactory, isBandOverFlowAllowed, isPageFinal, isPageFinal, isReorderBandElements, isSubreportRunToBottom, jasperReportSet, loadStyles, lookupExternalDefaultStyle, moveBoundActions, moveKeepTogetherSavePointContent, newPage, next, registerReportStyles, registerSubfiller, resolveBandBoundElements, resolveColumnBoundElements, resolveGroupBoundElements, resolvePageBoundElements, resolveReportBoundElements, setBandOverFlowAllowed, setDefaultStyle, setJasperReportsContext, setMasterPageVariables, setParameter, setParameter, setReorderBandElements, subreportPageFilled, unregisterSubfiller
addBoundElement, addFillListener, addLastPageBookmarks, addVariableCalculationReq, checkInterrupted, createBoundElementMaps, evaluateExpression, fill, fill, getExpressionEvaluator, getFillContext, getFormatFactory, getJasperPrint, getJasperReport, getJasperReportsContext, getLocale, getMainDataset, getOwnIgnorePagination, getParametersMap, getParameterValue, getParameterValuesMap, getPropertiesUtil, getTimeZone, getVariable, getVariableValue, initDatasets, initVirtualizationContext, isDeliberatelyInterrupted, isIgnorePagination, isInterrupted, isMasterReport, isSubreport, resolveBoundElements, resolveMasterBoundElements, setConnectionParameterValue, setDatasourceParameterValue, setFormatFactory, setIgnorePagination, setInterrupted, setParameters, setParametersToContext, setVirtualPageSize, updateBookmark
protected JRHorizontalFiller(JasperReportsContext jasperReportsContext, JasperReport jasperReport) throws JRException
JRException
public JRHorizontalFiller(JasperReportsContext jasperReportsContext, JasperReport jasperReport, BandReportFillerParent parent) throws JRException
JRException
protected void setPageHeight(int pageHeight)
setPageHeight
in class JRBaseFiller
protected void fillReport() throws JRException
fillReport
in class JRBaseFiller
JRException
protected void fillPageBand(JRFillBand band, byte evaluation) throws JRException
JRException
protected net.sf.jasperreports.engine.fill.SavePoint fillColumnBand(JRFillBand band, byte evaluation) throws JRException
JRException
protected void fillFixedBand(JRFillBand band, byte evaluation) throws JRException
JRException
protected void fillFixedBand(JRFillBand band, byte evaluation, boolean allowShrinking) throws JRException
JRException
Copyright © 2016. All rights reserved.