Set page number on sections for transitions (with page num) to sections
Always print hls boxit steps
This commit is contained in:
parent
7dbc2aad65
commit
efd971ffec
@ -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
|
||||
|
@ -184,7 +184,8 @@ namespace Volian.Print.Library
|
||||
(childItemInfo.MyHeader == null && childItemInfo.MyPrevious.MyHeader != null || childItemInfo.MyHeader != null && childItemInfo.MyPrevious.MyHeader == null)))
|
||||
doSeparateBoxHdrChg = childItemInfo.MyPrevious.MyContent.Type != childItemInfo.MyContent.Type;//true;
|
||||
|
||||
if ((bxIndx ?? -1) != -1 && (bxIndex != bxIndx || childItemInfo.FormatStepData.BoxIt || childItemInfo.MyHeader != null || doSeparateBoxHdrChg || childItemInfo.FormatStepData.SeparateBox))
|
||||
bool alwaysBox = (childItemInfo.IsHigh && childItemInfo.FormatStepData.BoxIt);
|
||||
if ((alwaysBox || (bxIndx ?? -1) != -1) && (bxIndex != bxIndx || childItemInfo.FormatStepData.BoxIt || childItemInfo.MyHeader != null || doSeparateBoxHdrChg || childItemInfo.FormatStepData.SeparateBox))
|
||||
{
|
||||
if (childItemInfo.FormatStepData.BoxIt) // this is a boxed HLS
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user