Fix page number transition if on first page

This commit is contained in:
Kathy committed 2015-06-04 11:25:58 +00:00
1 parent 265493195d
commit dd6d76dff7
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -850,7 +850,7 @@ 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.
if (mySection.PageNumber == -1) // 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;