Examples of ExpressionRuntime


Examples of org.pentaho.reporting.engine.classic.core.function.ExpressionRuntime

        if (deepTraversing && expression.isDeepTraversing() == false)
        {
          continue;
        }

        final ExpressionRuntime oldRuntime = expression.getRuntime();
        expression.setRuntime(runtime);
        final Function e = (Function) expression;
        try
        {
          e.reportInitialized(event);
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.function.ExpressionRuntime

        if (deepTraversing && expression.isDeepTraversing() == false)
        {
          continue;
        }

        final ExpressionRuntime oldRuntime = expression.getRuntime();
        expression.setRuntime(runtime);
        final PageEventListener e = (PageEventListener) expression;
        try
        {
          e.pageStarted(event);
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.function.ExpressionRuntime

        if (deepTraversing && expression.isDeepTraversing() == false)
        {
          continue;
        }

        final ExpressionRuntime oldRuntime = expression.getRuntime();
        expression.setRuntime(runtime);
        final PageEventListener e = (PageEventListener) expression;
        try
        {
          e.pageFinished(event);
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.function.ExpressionRuntime

          (new String[]{"::path", "::parameter", "::config", "::entries",
              TAB_NAME_PARAMETER, TAB_ACTIVE_PARAMETER},
              new Object[]{reportPath, parameter, configIndicator, createEntryTable(entries),
                  computeMantleTabName(formulaContext, entries), computeMantleTabActive(formulaContext, entries)});

      final ExpressionRuntime expressionRuntime;
      if (formulaContext instanceof ReportFormulaContext)
      {
        final ReportFormulaContext rfc = (ReportFormulaContext) formulaContext;
        expressionRuntime = new WrapperExpressionRuntime(staticDataRow, rfc.getRuntime());
      }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.function.ExpressionRuntime

      {
        plot.setBackgroundImage(plotImageCache);
      }
      else
      {
        final ExpressionRuntime expressionRuntime = getRuntime();
        final ProcessingContext context = expressionRuntime.getProcessingContext();
        final ResourceKey contentBase = context.getContentBase();
        final ResourceManager manager = context.getResourceManager();
        try
        {
          final ResourceKey key = createKeyFromString(manager, contentBase, backgroundImage);
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.function.ExpressionRuntime

      if (event.getState().isSubReportEvent() == false)
      {
        renderer.startReport(report);

        final ReportState reportState = event.getState();
        final ExpressionRuntime runtime = getRuntime();
        try
        {
          reportState.setCurrentPage(1);
          reportState.firePageStartedEvent(reportState.getEventCode());
        }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.function.ExpressionRuntime

    }

    final ProcessingContext processingContext = getRuntime().getProcessingContext();
    final ReportDefinition report = state.getReport();
    LayouterLevel[] levels = null;
    ExpressionRuntime runtime = null;
    final OutputProcessorMetaData metaData = renderer.getOutputProcessor().getMetaData();
    if (metaData.isFeatureSupported(OutputProcessorFeature.WATERMARK_SECTION))
    {
      renderer.startSection(Renderer.TYPE_WATERMARK);
      // a new page has started, so reset the cursor ...
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.function.ExpressionRuntime

   * @return the value of the function.
   */
  public Object getValue()
  {

    final ExpressionRuntime runtime = getRuntime();
    if (runtime == null)
    {
      return null;
    }
    final TableModel data = runtime.getData();
    if (data == null)
    {
      return null;
    }
    if (data.getRowCount() == 0)
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.function.ExpressionRuntime

    {
      inlineDataRowRuntime = new InlineDataRowRuntime();
    }
    inlineDataRowRuntime.setState(state);

    final ExpressionRuntime oldRuntime;
    final OutputFunction outputFunction = getOutputFunction();
    if (outputFunction != null)
    {
      oldRuntime = outputFunction.getRuntime();
      outputFunction.setRuntime(inlineDataRowRuntime);
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.function.ExpressionRuntime

    {
      inlineDataRowRuntime = new InlineDataRowRuntime();
    }
    inlineDataRowRuntime.setState(event.getState());

    final ExpressionRuntime oldRuntime;
    final OutputFunction outputFunction = getOutputFunction();
    if (outputFunction != null)
    {
      oldRuntime = outputFunction.getRuntime();
      outputFunction.setRuntime(inlineDataRowRuntime);
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.