Commit 3e56861a authored by Alexander.Trofimov's avatar Alexander.Trofimov

Убрал id из Cols и Rows

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60248 954022d7-b5bf-4e40-9824-e11837661b57
parent b9d57b2f
...@@ -2078,10 +2078,6 @@ function Woorksheet(wb, _index, sId){ ...@@ -2078,10 +2078,6 @@ function Woorksheet(wb, _index, sId){
this.sheetViews = []; this.sheetViews = [];
this.aConditionalFormatting = []; this.aConditionalFormatting = [];
this.sheetPr = null; this.sheetPr = null;
this.nMaxRowId = 1;
this.nMaxColId = 1;
this.oDrawingOjectsManager = new DrawingObjectsManager(this); this.oDrawingOjectsManager = new DrawingObjectsManager(this);
this.contentChanges = new CContentChanges(); this.contentChanges = new CContentChanges();
...@@ -2362,12 +2358,6 @@ Woorksheet.prototype._forEachCell=function(fAction){ ...@@ -2362,12 +2358,6 @@ Woorksheet.prototype._forEachCell=function(fAction){
} }
} }
}; };
Woorksheet.prototype.getNextRowId=function(){
return this.nMaxRowId++;
};
Woorksheet.prototype.getNextColId=function(){
return this.nMaxColId++;
};
Woorksheet.prototype.getId=function(){ Woorksheet.prototype.getId=function(){
return this.Id; return this.Id;
}; };
......
...@@ -2138,7 +2138,6 @@ function Col(worksheet, index) ...@@ -2138,7 +2138,6 @@ function Col(worksheet, index)
this.sm = this.ws.workbook.oStyleManager; this.sm = this.ws.workbook.oStyleManager;
this.cs = this.ws.workbook.CellStyles; this.cs = this.ws.workbook.CellStyles;
this.index = index; this.index = index;
this.id = this.ws.getNextColId();
this.BestFit = null; this.BestFit = null;
this.hd = null; this.hd = null;
this.CustomWidth = null; this.CustomWidth = null;
...@@ -2147,10 +2146,6 @@ function Col(worksheet, index) ...@@ -2147,10 +2146,6 @@ function Col(worksheet, index)
} }
Col.prototype = Col.prototype =
{ {
getId : function()
{
return this.id;
},
moveHor : function(nDif) moveHor : function(nDif)
{ {
this.index += nDif; this.index += nDif;
...@@ -2401,7 +2396,6 @@ function Row(worksheet) ...@@ -2401,7 +2396,6 @@ function Row(worksheet)
this.sm = this.ws.workbook.oStyleManager; this.sm = this.ws.workbook.oStyleManager;
this.cs = this.ws.workbook.CellStyles; this.cs = this.ws.workbook.CellStyles;
this.c = {}; this.c = {};
this.id = this.ws.getNextRowId();
this.r = null; this.r = null;
this.index = null; this.index = null;
this.xfs = null; this.xfs = null;
...@@ -2414,10 +2408,6 @@ Row.prototype = ...@@ -2414,10 +2408,6 @@ Row.prototype =
getCells : function () { getCells : function () {
return this.c; return this.c;
}, },
getId : function()
{
return this.id;
},
create : function(row) create : function(row)
{ {
this.index = row - 1; this.index = row - 1;
......
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