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

Stryles в setWordFlag

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59958 954022d7-b5bf-4e40-9824-e11837661b57
parent 58d8eae0
...@@ -925,7 +925,7 @@ CGraphicFrame.prototype = ...@@ -925,7 +925,7 @@ CGraphicFrame.prototype =
this.parent = parent; this.parent = parent;
}, },
setWordFlag: function(bPresentation) setWordFlag: function(bPresentation, Document)
{ {
if(this.graphicObject) if(this.graphicObject)
{ {
...@@ -936,6 +936,14 @@ CGraphicFrame.prototype = ...@@ -936,6 +936,14 @@ CGraphicFrame.prototype =
for(var j = 0; j < row.Content.length; ++j) for(var j = 0; j < row.Content.length; ++j)
{ {
var content = row.Content[j].Content; var content = row.Content[j].Content;
if(!bPresentation && Document)
{
content.Styles = Document.Styles;
}
else
{
content.Styles = null;
}
content.bPresentation = bPresentation; content.bPresentation = bPresentation;
for(var k = 0; k < content.Content.length; ++k) for(var k = 0; k < content.Content.length; ++k)
{ {
......
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