Package org.formulacompiler.spreadsheet.internal.parser

Examples of org.formulacompiler.spreadsheet.internal.parser.SpreadsheetExpressionParserA1ODF


    final Attribute nameAttribute = _startElement.getAttributeByName( XMLConstants.Table.NAME );
    final String name = nameAttribute.getValue();

    final Attribute rangeAttribute = _startElement.getAttributeByName( XMLConstants.Table.CELL_RANGE_ADDRESS );
    final String cellRangeAddress = rangeAttribute.getValue();
    final ExpressionParser parser = new SpreadsheetExpressionParserA1ODF( cellRangeAddress, this.spreadsheet );
    parser.token_source.SwitchTo( GeneratedExpressionParserConstants.IN_ODF_CELL_REF );
    try {
      final CellRange cellRange = (CellRange) parser.rangeOrCellRefODF();
      this.spreadsheet.defineModelRangeName( name, cellRange );
    }
    catch (org.formulacompiler.compiler.internal.expressions.parser.ParseException e) {
      throw new RuntimeException( e );
    }
View Full Code Here

TOP

Related Classes of org.formulacompiler.spreadsheet.internal.parser.SpreadsheetExpressionParserA1ODF

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.