Package org.pentaho.reporting.engine.classic.core.function

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


        }
        else
        {
          optionPane = new ExpressionPropertiesDialog();
        }
        final StructureFunction structureFunction = (StructureFunction) selectedItem;
        final StructureFunction expression = (StructureFunction)
            optionPane.editExpression(structureFunction, designerContext);
        if (expression != selectedItem)
        {
          expressionEditor.setSelectedItem(expression);
        }
View Full Code Here


      throws ReportProcessingException
  {
    final StructureFunction[] functions = next.getLayoutProcess().getCollectionFunctions();
    for (int i = 0; i < functions.length; i++)
    {
      final StructureFunction function = functions[i];
      if (function instanceof CrosstabProcessorFunction)
      {
        final CrosstabSpecification cs = (CrosstabSpecification) function.getValue();
        if (cs == null)
        {
          return new DummyCrosstabSpecification(next.getProcessKey());
        }
        return cs;
View Full Code Here

    }
    boolean retval = false;
    final StructureFunction[] collectionFunctions = lp.getCollectionFunctions();
    for (int i = 0; i < collectionFunctions.length; i++)
    {
      final StructureFunction function = collectionFunctions[i];
      if (function.getDependencyLevel() == LayoutProcess.LEVEL_STRUCTURAL_PREPROCESSING)
      {
        // this indicates a structural-preprocessor function, like the CrosstabNormalizer. They do not
        // take part in the ordinary processing.
        continue;
      }
      final Integer level = IntegerCache.getInteger(function.getDependencyLevel());
      levels.add(level);

      if (level != LayoutProcess.LEVEL_PAGINATE)
      {
        retval = true;
View Full Code Here

    final StructureFunction[] structureFunctions = getStructureFunctions();
    final ArrayList<StructureFunction> newProcessors =
        new ArrayList<StructureFunction>(Math.max(10, structureFunctions.length));
    for (int i = 0; i < structureFunctions.length; i++)
    {
      final StructureFunction structureFunction = structureFunctions[i];
      newProcessors.add(structureFunction);
    }
    newProcessors.add(function);

    final StructureFunction[] newArray = newProcessors.toArray(new StructureFunction[newProcessors.size()]);
View Full Code Here

    final ArrayList<StructureFunction> newProcessors =
        new ArrayList<StructureFunction>(Math.max(10, structureFunctions.length));
    boolean found = false;
    for (int i = 0; i < structureFunctions.length; i++)
    {
      final StructureFunction structureFunction = structureFunctions[i];
      if (found || structureFunction != f)
      {
        newProcessors.add(structureFunction);
        found = true;
      }
View Full Code Here

      final StructureFunction[] functions = definition.getStructureFunctions();
      boolean hasOverrideFunction = false;
      for (int i = 0; i < functions.length; i++)
      {
        final StructureFunction function = functions[i];
        if (function instanceof WizardOverrideFormattingFunction)
        {
          hasOverrideFunction = true;
          break;
        }
View Full Code Here

                                               final boolean isSelected,
                                               final int row,
                                               final int column)
  {
    init();
    final StructureFunction value1;
    if (value instanceof StructureFunction)
    {
      value1 = (StructureFunction) value;
    }
    else
View Full Code Here

        }
        else
        {
          optionPane = new ExpressionPropertiesDialog();
        }
        final StructureFunction expression = (StructureFunction) optionPane.editExpression((StructureFunction) selectedItem);
        if (expression != selectedItem)
        {
          expressionEditor.setSelectedItem(expression);
        }
        fireEditingStopped();
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.function.StructureFunction

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.