Examples of ReportFormulaContext


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

    if (isFormulaFragment())
    {
      final GenericExpressionRuntime expressionRuntime = new GenericExpressionRuntime
          (new StaticDataRow(), new DefaultTableModel(), -1, new DefaultProcessingContext());
      final String formulaText = FormulaUtil.createEditorTextFromFormula
          (text, new ReportFormulaContext(new DefaultFormulaContext(), expressionRuntime));
      formulaField.setText(formulaText);
      formulaBox.setSelectedItem(formulaText);
    }
    else
    {
View Full Code Here

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

        if (FORMULA_VALUE_ROLE.equals(valueRole) && isFormulaFragment())
        {
          final GenericExpressionRuntime expressionRuntime = new GenericExpressionRuntime
              (new StaticDataRow(), new DefaultTableModel(), -1, new DefaultProcessingContext());
          final String formulaText = FormulaUtil.createEditorTextFromFormula
              (String.valueOf(value), new ReportFormulaContext(new DefaultFormulaContext(), expressionRuntime));
          textField.setText(formulaText);
          comboBox.setSelectedItem(formulaText);
        }
        else
        {
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.