Set page number on sections for transitions (with page num) to sections

Always print hls boxit steps
This commit is contained in:
2015-04-16 13:05:36 +00:00
parent 7dbc2aad65
commit efd971ffec
2 changed files with 4 additions and 1 deletions

View File

@@ -806,6 +806,8 @@ namespace Volian.Print.Library
}
public void CreateWordDocPdf(PdfContentByte cb, SectionInfo mySection)
{
if (mySection.PageNumber == 0) // If page num transition goes to a section, need the pagenumber of section.
mySection.PageNumber = _MyHelper.CurrentPageNumber;
int profileDepth = ProfileTimer.Push(">>>> CreateWordDocPdf");
_MyHelper.MySection = mySection;
try