Commit 4f921ab6 authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix #32234

parent 87f62a76
......@@ -1474,6 +1474,7 @@ CCellCommentator.prototype.Redo = function(type, data) {
//----------------------------------------------------------export----------------------------------------------------
window['AscCommonExcel'] = window['AscCommonExcel'] || {};
window["AscCommonExcel"].asc_CCommentCoords = asc_CCommentCoords;
window["AscCommonExcel"].CompositeCommentData = CompositeCommentData;
window["AscCommonExcel"].CCellCommentator = CCellCommentator;
window['Asc'] = window['Asc'] || {};
......
......@@ -460,8 +460,8 @@ var UndoRedoDataTypes = new function() {
case this.StyleBorderProp: return new BorderProp();break;
case this.StyleXfs: return new CellXfs();break;
case this.StyleAlign: return new Align();break;
case this.CommentData: return new asc_CCommentData();break;
case this.CompositeCommentData: return new CompositeCommentData();break;
case this.CommentData: return new Asc.asc_CCommentData();break;
case this.CompositeCommentData: return new AscCommonExcel.CompositeCommentData();break;
case this.ChartSeriesData: return new asc_CChartSeria();break;
case this.SheetAdd: return new UndoRedoData_SheetAdd();break;
case this.SheetRemove: return new UndoRedoData_SheetRemove();break;
......
......@@ -3289,7 +3289,7 @@ Woorksheet.prototype.clone=function(sNewId, sName){
}
if(null != this.aComments) {
for (i = 0; i < this.aComments.length; i++) {
var comment = new asc_CCommentData(this.aComments[i]);
var comment = new Asc.asc_CCommentData(this.aComments[i]);
comment.wsId = oNewWs.getId();
comment.nId = "sheet" + comment.wsId + "_" + (i + 1);
oNewWs.aComments.push(comment);
......
......@@ -9743,7 +9743,7 @@
for ( var i = 0; i < val.aComments.length; i++ ) {
comment = val.aComments[i];
if ( comment.nCol == pasteCol && comment.nRow == pasteRow ) {
var commentData = new asc_CCommentData( comment );
var commentData = new Asc.asc_CCommentData( comment );
//change nRow, nCol
commentData.asc_putCol( c + autoC * plCol );
commentData.asc_putRow( r + autoR * plRow );
......
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