Commit 80d030e8 authored by SergeyLuzyanin's avatar SergeyLuzyanin

notes

parent 1f039eb6
...@@ -89,12 +89,26 @@ ...@@ -89,12 +89,26 @@
}; };
CNotesMaster.prototype.setCSldName = function(pr){ CNotes.prototype.setCSldName = function(pr){
History.Add(new AscDFH.CChangesDrawingsString(this, AscDFH.historyitem_NotesSetName, this.cSld.name , pr)); History.Add(new AscDFH.CChangesDrawingsString(this, AscDFH.historyitem_NotesSetName, this.cSld.name , pr));
this.cSld.name = pr; this.cSld.name = pr;
}; };
CNotes.prototype.recalculate = function(){
var aSpTree = this.cSld.spTree;
for(var i = 0; i < aSpTree.length; ++i){
var sp = aSpTree[i];
if(sp.isPlaceholder()){
if(sp.getPlaceholderType() === AscFormat.phType_body){
return;
}
}
}
};
window['AscCommonSlide'] = window['AscCommonSlide'] || {}; window['AscCommonSlide'] = window['AscCommonSlide'] || {};
window['AscCommonSlide'].CNotes = CNotes; window['AscCommonSlide'].CNotes = CNotes;
})(); })();
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