Package org.formulacompiler.runtime.internal.spreadsheet

Examples of org.formulacompiler.runtime.internal.spreadsheet.CellAddressImpl


  }

  public CellAddress getCellAddress()
  {
    final String sheetName = getSheet().getName();
    return new CellAddressImpl( sheetName, getColumnIndex(), getRowIndex() );
  }
View Full Code Here


      final String expression;
      try {
        expression = xlsFormulaCell.getFormula();
      }
      catch (jxl.biff.formula.FormulaException e) {
        final CellAddressImpl cellIndex = new CellAddressImpl( _sheetName, _xlsCell.getColumn(), _xlsCell.getRow() );
        throw new SpreadsheetException.LoadError( "Error parsing cell " + cellIndex, e );
      }
      _rowBuilder.addCellWithExpression( new LazySpreadsheetExpressionParser( expression, CellRefFormat.A1 ) );
      if (xlsFormulaCell instanceof NumberFormulaCell) {
        final NumberFormulaCell xlsNumFormulaCell = ((NumberFormulaCell) xlsFormulaCell);
View Full Code Here

      String _endSheetName, int _endRowIndex, int _endColumnIndex )
  {
    final int index = _index;
    final RangeAddressImpl range;
    if (_startSheetName != null && _endSheetName != null) {
      final CellAddress startCellAddress = new CellAddressImpl( _startSheetName, _startColumnIndex, _startRowIndex );
      final CellAddress endCellAddress = new CellAddressImpl( _endSheetName, _endColumnIndex, _endRowIndex );
      range = new RangeAddressImpl( startCellAddress, endCellAddress );
    }
    else range = null;
    return new SectionInfoImpl( _name, range, index );
  }
View Full Code Here

  void util_log( Object _value, String _sheetName, int _columnIndex, int _rowIndex, String _definedName, boolean _input, boolean _output )
  {
    final Object value = _value;
    final CellComputationListener listener = this.environment.computationListener();
    final CellAddress cellAddress = new CellAddressImpl( _sheetName, _columnIndex, _rowIndex );
    final CellInfo cellInfo = new CellInfoImpl( cellAddress, _definedName );
    final SpreadsheetCellComputationEvent event = new SpreadsheetCellComputationEvent( cellInfo, this.sectionInfo, value, _input, _output );
    listener.cellCalculated( event );
  }
View Full Code Here

TOP

Related Classes of org.formulacompiler.runtime.internal.spreadsheet.CellAddressImpl

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.