Commit e99342d3 authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55570 954022d7-b5bf-4e40-9824-e11837661b57
parent 8fda6867
......@@ -149,6 +149,9 @@ CDocumentContent.prototype =
}
else
{
if ( null === this.LogicDocument )
return { X : 0, Y : 0, XLimit : 0, YLimit : 0 };
var Page_abs = this.Get_StartPage_Absolute() + PageIndex;
var Index = ( undefined !== this.LogicDocument.Pages[Page_abs] ? this.LogicDocument.Pages[Page_abs].Pos : 0 );
var SectPr = this.LogicDocument.SectionsInfo.Get_SectPr(Index).SectPr;
......@@ -176,6 +179,9 @@ CDocumentContent.prototype =
}
else
{
if ( null === this.LogicDocument )
return { X : 0, Y : 0, XLimit : 0, YLimit : 0 };
var Page_abs = this.Get_StartPage_Absolute() + PageIndex;
var Index = ( undefined !== this.LogicDocument.Pages[Page_abs] ? this.LogicDocument.Pages[Page_abs].Pos : 0 );
var SectPr = this.LogicDocument.SectionsInfo.Get_SectPr(Index).SectPr;
......@@ -189,6 +195,9 @@ CDocumentContent.prototype =
}
else
{
if ( null === this.LogicDocument )
return { X : 0, Y : 0, XLimit : 0, YLimit : 0 };
var Page_abs = this.Get_StartPage_Absolute() + PageIndex;
var Index = ( undefined !== this.LogicDocument.Pages[Page_abs] ? this.LogicDocument.Pages[Page_abs].Pos : 0 );
var SectPr = this.LogicDocument.SectionsInfo.Get_SectPr(Index).SectPr;
......
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