Package org.pentaho.reporting.engine.classic.core.modules.output.table.html

Examples of org.pentaho.reporting.engine.classic.core.modules.output.table.html.PageableHtmlOutputProcessor


        final ZipRepository zipRepository = new ZipRepository(new NullOutputStream());
        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());
        outputProcessor.setPrinter(printer);

        final PageableReportProcessor sp = new PageableReportProcessor(report, outputProcessor);
        sp.processReport();
        sp.close();
        zipRepository.close();
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.modules.output.table.html.PageableHtmlOutputProcessor

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.