Commit 3abe6aef authored by konovalovsergey's avatar konovalovsergey

for libre: don't write in docx blank page border

parent bd648ab7
......@@ -1804,7 +1804,7 @@ function Binary_pPrWriter(memory, oNumIdMap, oBinaryHeaderFooterTableWriter, sav
this.bs.WriteItem(c_oSerProp_secPrType.pageNumType, function(){oThis.WritePageNumType(PageNumType);});
if(null != sectPr.Columns)
this.bs.WriteItem(c_oSerProp_secPrType.cols, function(){oThis.WriteColumns(sectPr.Columns);});
if(null != sectPr.Borders)
if(null != sectPr.Borders && !sectPr.Borders.IsEmptyBorders())
this.bs.WriteItem(c_oSerProp_secPrType.pgBorders, function(){oThis.WritePgBorders(sectPr.Borders);});
if(null != sectPr.FootnotePr)
this.bs.WriteItem(c_oSerProp_secPrType.footnotePr, function(){oThis.WriteFootnotePr(sectPr.FootnotePr);});
......
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