Examples of requireStructuralProcessing()


Examples of org.pentaho.reporting.engine.classic.core.states.datarow.DefaultFlowController.requireStructuralProcessing()

    {
      // otherwise process the report one time to walk through all eligible states. Record all subreports,
      // and then compute the runlevels based on what we have in the caches.
      this.structuralPreprocessingNeeded = true;
      this.processLevels.add(LayoutProcess.LEVEL_STRUCTURAL_PREPROCESSING);
      postQueryFlowController.requireStructuralProcessing();
    }

    final Expression[] expressions;
    if (designtime)
    {
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.states.datarow.GlobalMasterRow.requireStructuralProcessing()

  {
    // second run. Now with padding ..
    final ProcessingContext prc = new DefaultProcessingContext();
    final GlobalMasterRow gmr = GlobalMasterRow.createReportRow
        (prc, new DefaultDataSchemaDefinition(), new ParameterDataRow());
    gmr.requireStructuralProcessing();
    MasterDataRow wdata = gmr.deriveWithQueryData(data);
    int advanceCount = 1;
    wdata = wdata.startCrosstabMode(specification);
    logger.debug("Rows:  " + wdata.getGlobalView().get("Rows"));
    logger.debug("Cols:  " + wdata.getGlobalView().get("Cols"));
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.states.datarow.GlobalMasterRow.requireStructuralProcessing()

  {
    // second run. Now with padding ..
    final ProcessingContext prc = new DefaultProcessingContext();
    final GlobalMasterRow gmr = GlobalMasterRow.createReportRow
        (prc, new DefaultDataSchemaDefinition(), new ParameterDataRow());
    gmr.requireStructuralProcessing();
    MasterDataRow wdata = gmr.deriveWithQueryData(data);
    int advanceCount = 1;
    wdata = wdata.startCrosstabMode(specification);
    logger.debug("Region:  " + wdata.getGlobalView().get("Region"));
    logger.debug("Product: " + wdata.getGlobalView().get("Product"));
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.states.datarow.GlobalMasterRow.requireStructuralProcessing()

  private static CrosstabSpecification buildCS(final TableModel data) throws ReportProcessingException
  {
    final ProcessingContext prc = new DefaultProcessingContext();
    final GlobalMasterRow gmr = GlobalMasterRow.createReportRow
        (prc, new DefaultDataSchemaDefinition(), new ParameterDataRow());
    gmr.requireStructuralProcessing();
    MasterDataRow masterDataRow = gmr.deriveWithQueryData(data);
    final CrosstabSpecification crosstabSpecification = new SortedMergeCrosstabSpecification
        (new ReportStateKey(), new String[]{"Product", "Time"}, new String[] {"Region"});

    int advanceCount = 0;
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.states.datarow.GlobalMasterRow.requireStructuralProcessing()

  {
    // second run. Now with padding ..
    final ProcessingContext prc = new DefaultProcessingContext();
    final GlobalMasterRow gmr = GlobalMasterRow.createReportRow
        (prc, new DefaultDataSchemaDefinition(), new ParameterDataRow());
    gmr.requireStructuralProcessing();
    MasterDataRow wdata = gmr.deriveWithQueryData(data);
    int advanceCount = 1;
    wdata = wdata.startCrosstabMode(specification);
    logger.debug("Rows:  " + wdata.getGlobalView().get("Rows"));
    logger.debug("Cols:  " + wdata.getGlobalView().get("Cols"));
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.