Package org.formulacompiler.spreadsheet.internal.parser

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


      final int definedNamesContext = getContext();
      while ((se = find( XMLConstants.Main.DEFINED_NAME, definedNamesContext )) != null) {
        final String name = se.getAttributeByName( XMLConstants.Main.NAME ).getValue();
        if (!name.startsWith( DEFINED_NAME_RESERVED_PREFIX )) {
          final String cellRangeAddress = getText();
          final ExpressionParser parser = new SpreadsheetExpressionParserA1OOXML( cellRangeAddress, _spreadsheet );
          try {
            final CellRange cellRange = (CellRange) parser.rangeOrCellRefA1();
            _spreadsheet.defineModelRangeName( name, cellRange );
          }
          catch (org.formulacompiler.compiler.internal.expressions.parser.ParseException e) {
            throw new SpreadsheetException.LoadError( "Error parsing named range " + name, e );
          }
View Full Code Here

TOP

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

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.