public class JRHorizontalFiller extends JRBaseFiller
JRBaseFiller.DefaultStyleListenerbackground, bands, bottomMargin, boundElements, calculator, columnCount, columnDirection, columnFooter, columnFooterOffsetY, columnHeader, columnHeaderOffsetY, columnIndex, columnSpacing, columnWidth, datasetMap, dateFormatCache, defaultStyle, detailSection, fileResolver, fillContext, fillElements, fillerId, formatFactory, groups, isCreatingNewPage, isFirstColumnBand, isFirstPageBand, isFloatColumnFooter, isLastPageFooter, isNewColumn, isNewGroup, isNewPage, isSummaryNewPage, isSummaryWithPageHeaderAndFooter, isTitleNewPage, jasperPrint, jasperReport, keepTogetherSavePoint, lastPageColumnFooterOffsetY, lastPageFooter, leftMargin, mainDataset, missingFillBand, missingFillSection, name, noData, numberFormatCache, offsetX, offsetY, orientation, pageFooter, pageHeader, pageHeight, pageWidth, parentElement, parentFiller, printOrder, printPage, printPageStretchHeight, reportClassLoader, reportTemplates, rightMargin, scriptlet, styles, subfillers, summary, templates, title, topMargin, urlHandlerFactory, virtualizationContext, virtualizationListener, whenNoDataType, whenResourceMissingType| Modifier | Constructor and Description |
|---|---|
protected |
JRHorizontalFiller(JasperReport jasperReport) |
protected |
JRHorizontalFiller(JasperReport jasperReport,
DatasetExpressionEvaluator evaluator,
JRFillSubreport parentElement) |
protected |
JRHorizontalFiller(JasperReport jasperReport,
JREvaluator evaluator,
JRFillSubreport parentElement) |
protected |
JRHorizontalFiller(JasperReport jasperReport,
JRFillSubreport parentElement) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fillBand(JRPrintBand band) |
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, addPrintStyle, addVariableCalculationReq, advanceSavePoint, assignElementId, cancelFill, collectIncludedTemplates, collectStyles, collectStyles, collectStyles, collectTemplates, collectTemplateStyles, createReportTemplates, evaluateExpression, fill, fill, fill, getCurrentPage, getCurrentPageCount, getCurrentPageStretchHeight, getDateFormat, getDefaultStyle, getExpressionEvaluator, getField, getFieldsMap, getFillContext, getFillerId, getFormatFactory, getGroup, getJasperPrint, getJasperReport, getLocale, getMainDataset, getMasterColumnCount, getMasterFiller, getNumberFormat, getParametersMap, getParameterValue, getParameterValuesMap, getResourceBundle, getStyledTextParser, getTemplates, getTimeZone, getVariable, getVariablesMap, getVariableValue, getWhenResourceMissingType, hasMasterFormatFactory, hasMasterLocale, hasMasterTimeZone, initVirtualizationContext, isBandOverFlowAllowed, isInterrupted, isSubreport, isSubreportRunToBottom, loadStyles, lookupExternalDefaultStyle, moveKeepTogetherSavePointContent, newPage, next, registerSubfiller, resolveBandBoundElements, resolveBoundElements, resolveColumnBoundElements, resolveGroupBoundElements, resolvePageBoundElements, resolveReportBoundElements, setBandOverFlowAllowed, setConnectionParameterValue, setDatasourceParameterValue, setDefaultStyle, setInterrupted, setParameter, setParameter, setParameters, setSubreportRunner, setVirtualPageSize, suspendSubreportRunner, unregisterSubfillerprotected JRHorizontalFiller(JasperReport jasperReport) throws JRException
JRExceptionprotected JRHorizontalFiller(JasperReport jasperReport, JRFillSubreport parentElement) throws JRException
JRExceptionprotected JRHorizontalFiller(JasperReport jasperReport, DatasetExpressionEvaluator evaluator, JRFillSubreport parentElement) throws JRException
JRExceptionprotected JRHorizontalFiller(JasperReport jasperReport, JREvaluator evaluator, JRFillSubreport parentElement) throws JRException
JRExceptionprotected void setPageHeight(int pageHeight)
setPageHeight in class JRBaseFillerprotected void fillReport()
throws JRException
fillReport in class JRBaseFillerJRExceptionprotected void fillPageBand(JRFillBand band, byte evaluation) throws JRException
JRExceptionprotected net.sf.jasperreports.engine.fill.SavePoint fillColumnBand(JRFillBand band, byte evaluation) throws JRException
JRExceptionprotected void fillFixedBand(JRFillBand band, byte evaluation) throws JRException
JRExceptionprotected void fillFixedBand(JRFillBand band, byte evaluation, boolean allowShrinking) throws JRException
JRExceptionprotected void fillBand(JRPrintBand band)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com