Commit d07d5a60 authored by Alexander.Trofimov's avatar Alexander.Trofimov

parse3DRef return multisheets

parent 1a8bb5ed
...@@ -1527,12 +1527,12 @@ parserHelper.prototype.parse3DRef = function ( formula ) { ...@@ -1527,12 +1527,12 @@ parserHelper.prototype.parse3DRef = function ( formula ) {
var indexStartRange = formula.indexOf( "!" ) + 1; var indexStartRange = formula.indexOf( "!" ) + 1;
if ( this.isArea( formula, indexStartRange ) ) { if ( this.isArea( formula, indexStartRange ) ) {
if ( this.operand_str.length == formula.substring( indexStartRange ).length ) if ( this.operand_str.length == formula.substring( indexStartRange ).length )
return {sheet:sheetName, range:this.operand_str}; return {sheet:sheetName, sheet2:is3DRefResult[2], range:this.operand_str};
else else
return null; return null;
} else if ( this.isRef( formula, indexStartRange ) ) { } else if ( this.isRef( formula, indexStartRange ) ) {
if ( this.operand_str.length == formula.substring( indexStartRange ).length ) if ( this.operand_str.length == formula.substring( indexStartRange ).length )
return {sheet:sheetName, range:this.operand_str}; return {sheet:sheetName, sheet2:is3DRefResult[2], range:this.operand_str};
else else
return null; return null;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment