Commit c436a380 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

setWordFlag у CGraphicFrame

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59872 954022d7-b5bf-4e40-9824-e11837661b57
parent aeab0ce8
......@@ -925,6 +925,27 @@ CGraphicFrame.prototype =
this.parent = parent;
},
setWordFlag: function(bPresentation)
{
if(this.graphicObject)
{
this.graphicObject.bPresentation = bPresentation;
for(var i = 0; i < this.graphicObject.Content.length; ++i)
{
var row = this.graphicObject.Content[i];
for(var j = 0; j < row.Content.length; ++j)
{
var content = row.Content[j].Content;
content.bPresentation = bPresentation;
for(var k = 0; k < content.Content.length; ++k)
{
content.Content[k].bFromDocument = !bPresentation;
}
}
}
}
},
Get_Styles: function(level)
{
......
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