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

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50550 954022d7-b5bf-4e40-9824-e11837661b57
parent 49203911
......@@ -638,6 +638,33 @@ CGroupShape.prototype =
return this.transform;
},
getHierarchy: function()
{
this.compiledHierarchy = [];
var hierarchy = this.compiledHierarchy;
if(this.isPlaceholder())
{
var ph_type = this.getPlaceholderType();
var ph_index = this.getPlaceholderIndex();
switch (this.parent.kind)
{
case SLIDE_KIND:
{
hierarchy.push(this.parent.Layout.getMatchingShape(ph_type, ph_index));
hierarchy.push(this.parent.Layout.Master.getMatchingShape(ph_type, ph_index));
break;
}
case LAYOUT_KIND:
{
hierarchy.push(this.parent.Master.getMatchingShape(ph_type, ph_index));
break;
}
}
}
return this.compiledHierarchy;
},
getCompiledFill: function()
{
this.compiledFill = null;
......
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