Commit 95806dd5 authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

Ускорение формул. убран for in в DependencyGraph

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@53204 954022d7-b5bf-4e40-9824-e11837661b57
parent 30fd9de5
This diff is collapsed.
...@@ -3677,6 +3677,21 @@ RangeDataManager.prototype = { ...@@ -3677,6 +3677,21 @@ RangeDataManager.prototype = {
} }
return oRes; return oRes;
}, },
getExact : function(bbox)
{
var oRes = null;
var oGet = this.get(bbox);
for(var i = 0, length = oGet.inner.length; i < length; i++)
{
var elem = oGet.inner[i];
if(elem.bbox.isEqual(bbox))
{
oRes = elem;
break;
}
}
return oRes;
},
_getByCell : function(nRow, nCol) _getByCell : function(nRow, nCol)
{ {
var oRes = null; var oRes = null;
...@@ -3737,6 +3752,11 @@ RangeDataManager.prototype = { ...@@ -3737,6 +3752,11 @@ RangeDataManager.prototype = {
this.fChange.call(this, elemToDelete.data, elemToDelete.bbox, null); this.fChange.call(this, elemToDelete.data, elemToDelete.bbox, null);
} }
}, },
removeAll : function()
{
//todo fChange
this.oIntervalTreeRB = new IntervalTreeRB();
},
shiftGet : function(bbox, bHor) shiftGet : function(bbox, bHor)
{ {
var bboxGet = null; var bboxGet = 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