Commit 1ee841c9 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@60012 954022d7-b5bf-4e40-9824-e11837661b57
parent 81ab7e8b
......@@ -975,18 +975,16 @@ CGraphicFrame.prototype =
{
return this.parent.num;
},
Get_PageContentStartPos: function()
Get_PageContentStartPos: function(PageNum)
{
if(this.parent.kind == SLIDE_KIND)
{
return this.parent.Layout.Master.presentation.Get_PageContentStartPos( this.parent.num );
}
var presentation = editor.WordControl.m_oLogicDocument;
return {
X : this.pH+this.ext.cx,
XLimit: this.ext.cx,
Y : this.pV+this.ext.cy,
YLimit : this.ext.cy,
MaxTopBorder : 0};
X : 0,
XLimit: presentation.Width,
Y : 0,
YLimit : presentation.Height,
MaxTopBorder : 0
};
},
......
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