Commit ea0fabf6 authored by SergeyLuzyanin's avatar SergeyLuzyanin

fix Bug 35085

parent 7c29e182
...@@ -167,12 +167,18 @@ CTextBody.prototype = ...@@ -167,12 +167,18 @@ CTextBody.prototype =
Get_Theme : function() Get_Theme : function()
{ {
if(this.parent){
return this.parent.Get_Theme(); return this.parent.Get_Theme();
}
return null;
}, },
Get_ColorMap: function() Get_ColorMap: function()
{ {
if(this.parent){
return this.parent.Get_ColorMap(); return this.parent.Get_ColorMap();
}
return null;
}, },
setParent: function(pr) setParent: function(pr)
......
...@@ -211,11 +211,17 @@ CDocumentContent.prototype.Get_PageContentStartPos2 = function(StartPageIndex, S ...@@ -211,11 +211,17 @@ CDocumentContent.prototype.Get_PageContentStartPos2 = function(StartPageIndex, S
}; };
CDocumentContent.prototype.Get_Theme = function() CDocumentContent.prototype.Get_Theme = function()
{ {
if(this.Parent){
return this.Parent.Get_Theme(); return this.Parent.Get_Theme();
}
return null;
}; };
CDocumentContent.prototype.Get_ColorMap = function() CDocumentContent.prototype.Get_ColorMap = function()
{ {
if(this.Parent){
return this.Parent.Get_ColorMap(); return this.Parent.Get_ColorMap();
}
return null;
}; };
CDocumentContent.prototype.Get_PageLimits = function(PageIndex) CDocumentContent.prototype.Get_PageLimits = function(PageIndex)
{ {
......
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