Commit 59056c0c authored by Ilya Kirillov's avatar Ilya Kirillov

Now even if section break is type of "continuous", document will be breaked in...

Now even if section break is type of "continuous", document will be breaked in to a new page if on the current page there is a footnote.
parent 632dff7b
......@@ -2473,7 +2473,7 @@ CDocument.prototype.Recalculate_PageColumn = function()
PageSection.EndPos = Index;
Page.EndPos = Index;
if (c_oAscSectionBreakType.Continuous === NextSectInfo.SectPr.Get_Type() && true === CurSectInfo.SectPr.Compare_PageSize(NextSectInfo.SectPr))
if (c_oAscSectionBreakType.Continuous === NextSectInfo.SectPr.Get_Type() && true === CurSectInfo.SectPr.Compare_PageSize(NextSectInfo.SectPr) && this.Footnotes.IsEmptyPage(PageIndex))
{
// Новая секция начинается на данной странице. Нам надо получить новые поля данной секции, но
// на данной странице мы будет использовать только новые горизонтальные поля, а поля по вертикали
......
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