public class JRHorizontalFiller extends JRBaseFiller
JRBaseFiller.BoundElementMap, JRBaseFiller.DefaultStyleListener, JRBaseFiller.PageIdentityDataProvider
background, bands, bottomMargin, boundElements, calculator, columnCount, columnFooter, columnFooterOffsetY, columnHeader, columnHeaderOffsetY, columnIndex, columnSpacing, columnWidth, datasetMap, dateFormatCache, defaultFont, defaultStyle, detailSection, fileResolver, fillContext, fillerId, fonts, formatFactory, groups, isCreatingNewPage, isFirstColumnBand, isFirstPageBand, isFloatColumnFooter, isLastPageFooter, isNewColumn, isNewGroup, isNewPage, isPerPageBoundElements, 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, virtualizer, 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, addPageIdentityDataProvider, addPrintStyle, addVariableCalculationReq, advanceSavePoint, cancelFill, collectIncludedTemplates, collectStyles, collectStyles, collectStyles, collectTemplates, collectTemplateStyles, createReportTemplates, evaluateExpression, fill, fill, fill, getCurrentPage, getCurrentPageCount, getCurrentPageStretchHeight, getDateFormat, getDefaultFont, getDefaultStyle, getExpressionEvaluator, getField, getFieldsMap, getFonts, getFormatFactory, getGroup, getIdentityData, getJasperPrint, getJasperReport, getLocale, getMainDataset, getMasterColumnCount, getMasterFiller, getNumberFormat, getParametersMap, getParameterValuesMap, getResourceBundle, getStyledTextParser, getTemplates, getTimeZone, getVariable, getVariablesMap, getVariableValue, getWhenResourceMissingType, hasMasterFormatFactory, hasMasterLocale, hasMasterTimeZone, isBandOverFlowAllowed, isInterrupted, isSubreport, isSubreportRunToBottom, loadStyles, lookupExternalDefaultStyle, moveKeepTogetherSavePointContent, newPage, next, registerSubfiller, removePageIdentityDataProvider, resolveBandBoundElements, resolveBoundElements, resolveColumnBoundElements, resolveGroupBoundElements, resolvePageBoundElements, resolveReportBoundElements, setBandOverFlowAllowed, setConnectionParameterValue, setDatasourceParameterValue, setDefaultStyle, setIdentityData, setInterrupted, setParameter, setParameter, setParameters, setSubreportRunner, suspendSubreportRunner, unregisterSubfiller
protected JRHorizontalFiller(JasperReport jasperReport) throws JRException
JRException
protected JRHorizontalFiller(JasperReport jasperReport, JRFillSubreport parentElement) throws JRException
JRException
protected JRHorizontalFiller(JasperReport jasperReport, DatasetExpressionEvaluator evaluator, JRFillSubreport parentElement) throws JRException
JRException
protected JRHorizontalFiller(JasperReport jasperReport, JREvaluator evaluator, JRFillSubreport parentElement) 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
protected void fillBand(JRPrintBand band)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com