Page Number for the second pass for transitions to Word Sections were not getting updated properly

This commit is contained in:
Rich 2015-06-05 16:29:51 +00:00
parent fe8fc4ceec
commit 5359e05e77

View File

@ -852,6 +852,8 @@ namespace Volian.Print.Library
{
if (mySection.PageNumber == -1) // If page num transition goes to a section, need the pagenumber of section.
mySection.PageNumber = _MyHelper.CurrentPageNumber;
else
mySection.PageNumberNextPass = _MyHelper.CurrentPageNumber;
int profileDepth = ProfileTimer.Push(">>>> CreateWordDocPdf");
_MyHelper.MySection = mySection;
try