Commit 8782a6c1 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@56039 954022d7-b5bf-4e40-9824-e11837661b57
parent 843daee0
......@@ -1927,8 +1927,8 @@ CDocument.prototype =
var RepH = ( null === Header || null !== SectPr.Get_HdrFtrInfo(Header) ? false : true );
var RepF = ( null === Footer || null !== SectPr.Get_HdrFtrInfo(Footer) ? false : true );
pGraphics.DrawHeaderEdit( this.Pages[nPageIndex].Y, this.HdrFtr.Lock.Get_Type(), SectIndex, RepH, Header.RecalcInfo.NeedRecalc[nPageIndex] );
pGraphics.DrawFooterEdit( this.Pages[nPageIndex].YLimit, this.HdrFtr.Lock.Get_Type(), SectIndex, RepF, Footer.RecalcInfo.NeedRecalc[nPageIndex] );
pGraphics.DrawHeaderEdit( this.Pages[nPageIndex].Y, this.HdrFtr.Lock.Get_Type(), SectIndex, RepH, null === Header ? undefined : Header.RecalcInfo.NeedRecalc[nPageIndex] );
pGraphics.DrawFooterEdit( this.Pages[nPageIndex].YLimit, this.HdrFtr.Lock.Get_Type(), SectIndex, RepF, null === Footer ? undefined : Footer.RecalcInfo.NeedRecalc[nPageIndex] );
}
},
......
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