Commit ebf31763 authored by Dmitry.Shahtanov's avatar Dmitry.Shahtanov Committed by Alexander.Trofimov

не определялся им.диапазон.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@63310 954022d7-b5bf-4e40-9824-e11837661b57
parent facb5fc7
...@@ -6480,12 +6480,10 @@ ...@@ -6480,12 +6480,10 @@
var c1 = mc ? mc.c1 : ar.startCol, var c1 = mc ? mc.c1 : ar.startCol,
r1 = mc ? mc.r1 : ar.startRow, r1 = mc ? mc.r1 : ar.startRow,
ar_norm = ar.normalize(), ar_norm = ar.normalize(),
mc_norm = mc ? mc.normalize() : null; mc_norm = mc ? mc.normalize() : null,
c2 = mc_norm ? mc_norm.isEqual(ar_norm)? mc_norm.c1 : ar_norm.c2 : ar_norm.c2,
var c2 = mc_norm ? mc_norm.isEqual(ar_norm)? mc_norm.c1 : ar_norm.c2 : ar_norm.c2, r2 = mc_norm ? mc_norm.isEqual(ar_norm)? mc_norm.r1 : ar_norm.r2 : ar_norm.r2,
r2 = mc_norm ? mc_norm.isEqual(ar_norm)? mc_norm.r1 : ar_norm.r2 : ar_norm.r2; selectionSize = !bRangeText ? "" : (function (r) {
var selectionSize = !bRangeText ? "" : (function (r) {
var rc = Math.abs(r.r2 - r.r1) + 1; var rc = Math.abs(r.r2 - r.r1) + 1;
var cc = Math.abs(r.c2 - r.c1) + 1; var cc = Math.abs(r.c2 - r.c1) + 1;
switch (r.type) { switch (r.type) {
...@@ -6495,9 +6493,10 @@ ...@@ -6495,9 +6493,10 @@
case c_oAscSelectionType.RangeMax: return gc_nMaxRow + "R x " + gc_nMaxCol + "C"; case c_oAscSelectionType.RangeMax: return gc_nMaxRow + "R x " + gc_nMaxCol + "C";
} }
return ""; return "";
})(ar); })(ar ),
cellName = this._getColumnTitle( c1 ) + this._getRowTitle( r1 ),
var cellName = this._getColumnTitle( c1 ) + this._getRowTitle( r1 ), defName = null, dN = new Asc.Range(c1, r1, c2 ,r2, true); defName = null,
dN = new Asc.Range(ar_norm.c1, ar_norm.r1, c2 ,r2, true ).normalize();
/*if( c1==c2 && r1==r2 ){ /*if( c1==c2 && r1==r2 ){
defName = this.model.getName() + "!" + dN.getAbsName(); defName = this.model.getName() + "!" + dN.getAbsName();
......
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