Package org.jfree.report.flow

Examples of org.jfree.report.flow.ReportTarget


    }

    public void processReport(final ReportJob job) throws ReportDataFactoryException, DataSourceException,
            ReportProcessingException
    {
        final ReportTarget reportTarget = createReportTarget(job);
        // first run: collect table cell sizes for all tables
        processReportRun(job, reportTarget);
        // second run: uses table cell data to output a single uniform table
        processReportRun(job, reportTarget);
    }
View Full Code Here


    }

    public void processReport(final ReportJob job) throws ReportDataFactoryException, DataSourceException,
            ReportProcessingException
    {
        final ReportTarget reportTarget = createReportTarget(job);
        processReportRun(job, reportTarget);
    }
View Full Code Here

    }

    public void processReport(final ReportJob job) throws ReportDataFactoryException, DataSourceException,
            ReportProcessingException
    {
        final ReportTarget reportTarget = createReportTarget(job);
        processReportRun(job, reportTarget);
    }
View Full Code Here

          // This is an assertation that we do not run into invalid states
          // later.
          if (PaginatingReportProcessor.ASSERTATION)
          {
            final ReportTarget reportTarget =
              targetState.restore(outputProcessor);
          }

          target.resetPagebreakFlag();
        }
View Full Code Here

    pcvr.startElementPrecomputation(nodeKey);

    final LayoutController rootLc = layoutController.createPrecomputeInstance(fc);
    final LayoutController rootParent = rootLc.getParent();
    final ReportTarget target = new EmptyReportTarget(fc.getReportJob(), fc.getExportDescriptor());

    LayoutController lc = rootLc;
    while (lc.isAdvanceable())
    {
      lc = lc.advance(target);
      while (lc.isAdvanceable() == false && lc.getParent() != null)
      {
        final LayoutController parent = lc.getParent();
        lc = parent.join(lc.getFlowController());
      }
    }

    target.commit();
    final PrecomputeNode precomputeNode = pcvr.currentNode();
    final Object functionResult = precomputeNode.getFunctionResult(expressionPosition);
    pcvr.finishElementPrecomputation(nodeKey);
    return functionResult;
//    throw new IllegalStateException
View Full Code Here

  public static LayoutController skipInvisibleElement(final LayoutController layoutController)
      throws ReportProcessingException, ReportDataFactoryException, DataSourceException
  {
    final FlowController fc = layoutController.getFlowController();
    final ReportTarget target = new EmptyReportTarget(fc.getReportJob(), fc.getExportDescriptor());
    final LayoutController rootParent = layoutController.getParent();

    // Now start to iterate until the derived layout controller 'lc' that has this given parent
    // wants to join.
    LayoutController lc = layoutController;
    while (lc.isAdvanceable())
    {
      lc = lc.advance(target);
      while (lc.isAdvanceable() == false && lc.getParent() != null)
      {
        final LayoutController parent = lc.getParent();
        lc = parent.join(lc.getFlowController());
        if (parent == rootParent)
        {
          target.commit();
          return lc;
        }
      }
    }
    target.commit();
    throw new IllegalStateException
        ("Ups - we did not get to the root parent again. This is awful and we cannot continue.");
//    return lc;
  }
View Full Code Here

    }

    public void processReport(final ReportJob job) throws ReportDataFactoryException, DataSourceException,
            ReportProcessingException
    {
        final ReportTarget reportTarget = createReportTarget(job);
        // first run: collect table cell sizes for all tables
        processReportRun(job, reportTarget);
        // second run: uses table cell data to output a single uniform table
        processReportRun(job, reportTarget);
    }
View Full Code Here

    }

    public void processReport(final ReportJob job) throws ReportDataFactoryException, DataSourceException,
            ReportProcessingException
    {
        final ReportTarget reportTarget = createReportTarget(job);
        processReportRun(job, reportTarget);
    }
View Full Code Here

    }

    public void processReport(final ReportJob job) throws ReportDataFactoryException, DataSourceException,
            ReportProcessingException
    {
        final ReportTarget reportTarget = createReportTarget(job);
        processReportRun(job, reportTarget);
    }
View Full Code Here

    }

    public void processReport(final ReportJob job) throws ReportDataFactoryException, DataSourceException,
            ReportProcessingException
    {
        final ReportTarget reportTarget = createReportTarget(job);
        // first run: collect table cell sizes for all tables
        processReportRun(job, reportTarget);
        // second run: uses table cell data to output a single uniform table
        processReportRun(job, reportTarget);
    }
View Full Code Here

TOP

Related Classes of org.jfree.report.flow.ReportTarget

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.