Commit 06c24641 authored by Alexander.Trofimov's avatar Alexander.Trofimov

delete unused code

add asc_getWorksheetId in class asc_CCommentData

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55407 954022d7-b5bf-4e40-9824-e11837661b57
parent bc1d386a
...@@ -345,6 +345,10 @@ asc_CCommentData.prototype = { ...@@ -345,6 +345,10 @@ asc_CCommentData.prototype = {
return oReply; return oReply;
}, },
asc_getWorksheetId: function () {
return this.wsId;
},
// For collaborative editing // For collaborative editing
getType: function() { getType: function() {
return UndoRedoDataTypes.CommentData; return UndoRedoDataTypes.CommentData;
...@@ -398,7 +402,7 @@ asc_CCommentData.prototype = { ...@@ -398,7 +402,7 @@ asc_CCommentData.prototype = {
this.nRow = collaborativeEditing.getLockMeRow2(nSheetId, this.nRow); this.nRow = collaborativeEditing.getLockMeRow2(nSheetId, this.nRow);
} }
} }
} };
window["Asc"]["asc_CCommentData"] = window["Asc"].asc_CCommentData = asc_CCommentData; window["Asc"]["asc_CCommentData"] = window["Asc"].asc_CCommentData = asc_CCommentData;
prot = asc_CCommentData.prototype; prot = asc_CCommentData.prototype;
...@@ -447,6 +451,8 @@ prot["asc_getReply"] = prot.asc_getReply; ...@@ -447,6 +451,8 @@ prot["asc_getReply"] = prot.asc_getReply;
prot["asc_addReply"] = prot.asc_addReply; prot["asc_addReply"] = prot.asc_addReply;
prot["asc_getWorksheetId"] = prot.asc_getWorksheetId;
//} //}
//----------------------------------------------------------------------------------- //-----------------------------------------------------------------------------------
......
...@@ -5828,7 +5828,7 @@ function Binary_WorksheetTableReader(stream, wb, aSharedStrings, aCellXfs, Dxfs, ...@@ -5828,7 +5828,7 @@ function Binary_WorksheetTableReader(stream, wb, aSharedStrings, aCellXfs, Dxfs,
else else
res = c_oSerConstants.ReadUnknown; res = c_oSerConstants.ReadUnknown;
return res; return res;
} };
this.ReadComment = function(type, length, oCommentCoords, aCommentData) this.ReadComment = function(type, length, oCommentCoords, aCommentData)
{ {
var res = c_oSerConstants.ReadOk; var res = c_oSerConstants.ReadOk;
......
...@@ -1706,7 +1706,6 @@ function Woorksheet(wb, _index, bAddUserId, sId){ ...@@ -1706,7 +1706,6 @@ function Woorksheet(wb, _index, bAddUserId, sId){
this.TableParts = []; this.TableParts = [];
this.AutoFilter = null; this.AutoFilter = null;
this.oAllCol = null; this.oAllCol = null;
this.objForRebuldFormula = {};
this.aComments = []; this.aComments = [];
this.aCommentsCoords = []; this.aCommentsCoords = [];
var oThis = this; var oThis = this;
......
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