Commit dda076e5 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by 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 55381bcf
......@@ -2078,10 +2078,6 @@ function Woorksheet(wb, _index, sId){
this.sheetViews = [];
this.aConditionalFormatting = [];
this.sheetPr = null;
this.nMaxRowId = 1;
this.nMaxColId = 1;
this.oDrawingOjectsManager = new DrawingObjectsManager(this);
this.contentChanges = new CContentChanges();
......@@ -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(){
return this.Id;
};
......
......@@ -2138,7 +2138,6 @@ function Col(worksheet, index)
this.sm = this.ws.workbook.oStyleManager;
this.cs = this.ws.workbook.CellStyles;
this.index = index;
this.id = this.ws.getNextColId();
this.BestFit = null;
this.hd = null;
this.CustomWidth = null;
......@@ -2147,10 +2146,6 @@ function Col(worksheet, index)
}
Col.prototype =
{
getId : function()
{
return this.id;
},
moveHor : function(nDif)
{
this.index += nDif;
......@@ -2401,7 +2396,6 @@ function Row(worksheet)
this.sm = this.ws.workbook.oStyleManager;
this.cs = this.ws.workbook.CellStyles;
this.c = {};
this.id = this.ws.getNextRowId();
this.r = null;
this.index = null;
this.xfs = null;
......@@ -2414,10 +2408,6 @@ Row.prototype =
getCells : function () {
return this.c;
},
getId : function()
{
return this.id;
},
create : function(row)
{
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