Commit bca2c398 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

+ asc_getComments

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50772 954022d7-b5bf-4e40-9824-e11837661b57
parent ab9468f4
...@@ -3631,6 +3631,27 @@ asc_docs_api.prototype.asyncImagesDocumentEndLoaded = function() ...@@ -3631,6 +3631,27 @@ asc_docs_api.prototype.asyncImagesDocumentEndLoaded = function()
} }
} }
asc_docs_api.prototype.asc_getComments = function()
{
var comms = [];
if (null == this.WordControl.m_oLogicDocument)
return comms;
var _slides = this.WordControl.m_oLogicDocument.Slides;
var _slidesCount = _slides.length;
for (var i = 0; i < _slidesCount; i++)
{
var _comments = _slides[i].comments;
var _commentsCount = _comments.length;
for (var j = 0; j < _commentsCount; j++)
{
comms.push(_comments[j]);
}
}
return comms;
}
asc_docs_api.prototype.OpenDocumentEndCallback = function() asc_docs_api.prototype.OpenDocumentEndCallback = function()
{ {
var bIsScroll = false; var bIsScroll = false;
......
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