Examples of SectionBinding


Examples of org.formulacompiler.spreadsheet.internal.binding.SectionBinding


  ExpressionNode buildExpressionModelForCell( CellIndex _cellIndex ) throws CompilerException
  {
    if (this.sectionDef.contains( _cellIndex )) {
      final SectionBinding containingSection = this.sectionDef.getContainingSection( _cellIndex );
      if (null != containingSection) {
        return new RangeExpressionBuilder( _cellIndex, false ).build();
      }
      return buildExpressionModelForLocalCell( _cellIndex );
    }
View Full Code Here

Examples of org.formulacompiler.spreadsheet.internal.binding.SectionBinding

  private ComputationModel buildNewModel() throws CompilerException
  {
    assert null == this.computationModel;

    final SectionBinding rootDef = this.binding.getRoot();
    final Environment env = this.binding.getEnvironment();
    this.computationModel = new ComputationModel( rootDef.getInputClass(), rootDef.getOutputClass(), getComputationMode(), env );
    new SectionModelCompiler( this, null, rootDef, this.computationModel.getRoot() );

    buildModel();

    if (this.copyCellNames) {
View Full Code Here

Examples of org.formulacompiler.spreadsheet.internal.binding.SectionBinding

  }


  private CellModel createCellModel( CellIndex _index ) throws CompilerException
  {
    SectionBinding sectionDef = getEngineDef().getSectionFor( _index );
    SectionModelCompiler sectionCompiler = getOrCreateSectionCompiler( sectionDef );
    CellModel result = sectionCompiler.createCellModel( _index );
    return result;
  }
View Full Code Here

Examples of org.formulacompiler.spreadsheet.internal.binding.SectionBinding

  }


  public void buildStepsInto( CellIndex _cellIndex )
  {
    SectionBinding section;
    while (null != (section = this.targetSectionCompiler.getSectionDef().getContainingSection( _cellIndex ))) {
      stepInto( section );
    }
  }
View Full Code Here

Examples of org.formulacompiler.spreadsheet.internal.binding.SectionBinding

  public void stepOutTo( CellIndex _cellIndex ) throws CompilerException
  {
    while (!this.targetSectionCompiler.getSectionDef().contains( _cellIndex )) {
      stepOut();
    }
    final SectionBinding containingSection = this.targetSectionCompiler.getSectionDef().getContainingSection(
        _cellIndex );
    if (null != containingSection) {
      throw new CompilerException.ReferenceToOuterInnerCell();
    }
  }
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.