Commit 5b78f2f8 authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

CHeaderFooter default margin

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55444 954022d7-b5bf-4e40-9824-e11837661b57
parent f3e23c07
......@@ -6947,7 +6947,11 @@ function Binary_HdrFtrTableReader(doc, oReadResult, openParams, stream)
var res = c_oSerConstants.ReadOk;
if ( c_oSerHdrFtrTypes.HdrFtr_First === type || c_oSerHdrFtrTypes.HdrFtr_Even === type || c_oSerHdrFtrTypes.HdrFtr_Odd === type )
{
var hdrftr = new CHeaderFooter(this.Document.HdrFtr, this.Document, this.Document.DrawingDocument, nHdrFtrType, 0);
var hdrftr;
if(hdrftr_Header == nHdrFtrType)
hdrftr = new CHeaderFooter(this.Document.HdrFtr, this.Document, this.Document.DrawingDocument, nHdrFtrType, Y_Default_Header);
else
hdrftr = new CHeaderFooter(this.Document.HdrFtr, this.Document, this.Document.DrawingDocument, nHdrFtrType, Page_Height - Y_Default_Footer);
this.bdtr.Document = hdrftr.Content;
var oNewItem = {Content: null};
res = this.bcr.Read1(length, function(t, l){
......
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