Package org.pentaho.reporting.engine.classic.core.modules.output.pageable.base

Examples of org.pentaho.reporting.engine.classic.core.modules.output.pageable.base.SinglePageFlowSelector


    final LocalFontRegistry localFontRegistry = new LocalFontRegistry();
    localFontRegistry.initialize();

    final InterceptingXmlPageOutputProcessor outputProcessor = new InterceptingXmlPageOutputProcessor
        (new NullOutputStream(), new XmlPageOutputProcessorMetaData(localFontRegistry));
    outputProcessor.setFlowSelector(new SinglePageFlowSelector(page, false));
    final PageableReportProcessor proc = new PageableReportProcessor(report, outputProcessor);
    proc.processReport();

    if (outputProcessor.getLogicalPageBox() == null)
    {
View Full Code Here


    localFontRegistry.initialize();

    final InterceptingXmlTableOutputProcessor outputProcessor = new InterceptingXmlTableOutputProcessor
        (new NullOutputStream(), new XmlTableOutputProcessorMetaData
            (XmlTableOutputProcessorMetaData.PAGINATION_MANUAL, localFontRegistry));
    outputProcessor.setFlowSelector(new SinglePageFlowSelector(page, true));
    final ReportProcessor proc = new FlowReportProcessor(report, outputProcessor);
    proc.processReport();

    if (outputProcessor.getLogicalPageBox() == null)
    {
View Full Code Here

        final ContentLocation data = RepositoryUtilities.createLocation
            (zipRepository, RepositoryUtilities.splitPath("data", "/"));
        final ContentLocation root = html.getRoot();

        final PageableHtmlOutputProcessor outputProcessor = new PageableHtmlOutputProcessor(report.getConfiguration());
        outputProcessor.setFlowSelector(new SinglePageFlowSelector(page, true));

        final HtmlPrinter printer = new AllItemsHtmlPrinter(report.getResourceManager());
        printer.setContentWriter(root, new DefaultNameGenerator(root, "report.html"));
        printer.setDataWriter(data, new DefaultNameGenerator(data, "content"));
        printer.setUrlRewriter(new NullURLRewriter());
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.modules.output.pageable.base.SinglePageFlowSelector

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.