Examples of FileSystemURLRewriter


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

          return (new SingleRepositoryURLRewriter());
        }
        else if (bulkRepository instanceof UrlRepository &&
            bodyRepository instanceof UrlRepository)
        {
          return (new FileSystemURLRewriter());
        }
        else
        {
          return (new SingleRepositoryURLRewriter());
        }
View Full Code Here

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

      {
        final PageableHtmlOutputProcessor outputProcessor = new PageableHtmlOutputProcessor(report.getConfiguration());
        final HtmlPrinter printer = new AllItemsHtmlPrinter(report.getResourceManager());
        printer.setContentWriter(targetRoot, new DefaultNameGenerator(targetRoot, filename, suffix));
        printer.setDataWriter(dataRoot, new DefaultNameGenerator(dataRoot, "content")); //$NON-NLS-1$
        printer.setUrlRewriter(new FileSystemURLRewriter());
        outputProcessor.setPrinter(printer);
        sp = new PageableReportProcessor(report, outputProcessor);
      }
      else
      {
        final HtmlOutputProcessor outputProcessor = createOutputProcessor();
        final HtmlPrinter printer = new AllItemsHtmlPrinter(report.getResourceManager());
        printer.setContentWriter(targetRoot,
            new DefaultNameGenerator(targetRoot, filename, suffix));
        printer.setDataWriter(dataRoot, new DefaultNameGenerator(dataRoot, "content")); //$NON-NLS-1$
        printer.setUrlRewriter(new FileSystemURLRewriter());
        outputProcessor.setPrinter(printer);
        sp = new FlowReportProcessor(report, outputProcessor);
      }
      if (progressDialog != null)
      {
View Full Code Here

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

      {
        final HtmlOutputProcessor outputProcessor = new StreamHtmlOutputProcessor(report.getConfiguration());
        final HtmlPrinter printer = new AllItemsHtmlPrinter(report.getResourceManager());
        printer.setContentWriter(targetRoot, new DefaultNameGenerator(targetRoot, filename, suffix));
        printer.setDataWriter(null, null); //$NON-NLS-1$
        printer.setUrlRewriter(new FileSystemURLRewriter());
        outputProcessor.setPrinter(printer);
        reportProcessor = new StreamReportProcessor(report, outputProcessor);
      }
      else
      {
        FastHtmlContentItems printer = new FastHtmlContentItems();
        printer.setContentWriter(targetRoot, new DefaultNameGenerator(targetRoot, filename, suffix));
        printer.setDataWriter(null, null); //$NON-NLS-1$
        printer.setUrlRewriter(new FileSystemURLRewriter());
        reportProcessor = new FastHtmlExportProcessor(report, printer);
      }


      if (progressDialog != null)
View Full Code Here

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

          final ContentLocation targetRoot = targetRepository.getRoot();
          final HtmlOutputProcessor outputProcessor = new StreamHtmlOutputProcessor(report.getConfiguration());
          final HtmlPrinter printer = new AllItemsHtmlPrinter(report.getResourceManager());
          printer.setContentWriter(targetRoot, new DefaultNameGenerator(targetRoot, "index", "html"));
          printer.setDataWriter(null, null);
          printer.setUrlRewriter(new FileSystemURLRewriter());
          outputProcessor.setPrinter(printer);
          reportProcessor = new StreamReportProcessor(report, outputProcessor);
          break;
        }
      }
View Full Code Here

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


          final HtmlPrinter printer = new AllItemsHtmlPrinter(report.getResourceManager());
          printer.setContentWriter(targetRoot, new DefaultNameGenerator(targetRoot, "index", "html"));//$NON-NLS-1$
          printer.setDataWriter(targetRoot, new DefaultNameGenerator(targetRoot, "content"));//$NON-NLS-1$
          printer.setUrlRewriter(new FileSystemURLRewriter());

          final StreamHtmlOutputProcessor outputProcessor = new StreamHtmlOutputProcessor(report.getConfiguration());
          outputProcessor.setPrinter(printer);
          final StreamReportProcessor reportProcessor = new StreamReportProcessor(report, outputProcessor);
          reportProcessor.addReportProgressListener(progressDialog);
View Full Code Here

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

      final HtmlOutputProcessor outputProcessor = new StreamHtmlOutputProcessor( report.getConfiguration() );
      final HtmlPrinter printer = new AllItemsHtmlPrinter( report.getResourceManager() );
      printer.setContentWriter( targetRoot, new DefaultNameGenerator( targetRoot, "index", "html" ) ); //$NON-NLS-1$//$NON-NLS-2$
      printer.setDataWriter( null, null );
      printer.setUrlRewriter( new FileSystemURLRewriter() );
      outputProcessor.setPrinter( printer );

      final StreamReportProcessor sp = new StreamReportProcessor( report, outputProcessor );
      final int yieldRate = getYieldRate();
      if ( yieldRate > 0 ) {
View Full Code Here

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

      final FlowHtmlOutputProcessor outputProcessor = new FlowHtmlOutputProcessor();

      final HtmlPrinter printer = new AllItemsHtmlPrinter( report.getResourceManager() );
      printer.setContentWriter( targetRoot, new DefaultNameGenerator( targetRoot, targetFile.getName() ) );
      printer.setDataWriter( dataRoot, new DefaultNameGenerator( targetRoot, "content" ) ); //$NON-NLS-1$
      printer.setUrlRewriter( new FileSystemURLRewriter() );
      outputProcessor.setPrinter( printer );

      final FlowReportProcessor sp = new FlowReportProcessor( report, outputProcessor );
      final int yieldRate = getYieldRate();
      if ( yieldRate > 0 ) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.