Commit 5766898f authored by Sergey Luzyanin's avatar Sergey Luzyanin

CDrawingDocContent.prototype.Recalculate

parent f233476f
......@@ -607,8 +607,20 @@
return DC;
};
CDrawingDocContent.prototype.Recalculate = function()
CDrawingDocContent.prototype.Recalculate = function()
{
if(this.Parent){
if(this.Parent instanceof AscFormat.CShape){
this.Parent.recalculateContent();
return;
}
else if(this.Parent && this.Parent.parent){
if(this.Parent.parent instanceof AscFormat.CShape){
this.Parent.parent.recalculateContent();
return;
}
}
}
if(this.XLimit > 0){
this.Recalculate_PageDrawing();
}
......
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