B2019-150 & B2019-151 - Pagination Flag added to limit where new pagination logic would be used.
This commit is contained in:
parent
caf1fe24f6
commit
2f06862a79
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -3726,6 +3726,14 @@ namespace VEPROMS.CSLA.Library
|
|||||||
return LazyLoad(ref _SpecialPageBreakFlag, "@SpecialPageBreakFlag");
|
return LazyLoad(ref _SpecialPageBreakFlag, "@SpecialPageBreakFlag");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
private LazyLoad<bool> _PaginateOnStepThatWillFitOnBlankPage;
|
||||||
|
public bool PaginateOnStepThatWillFitOnBlankPage
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return LazyLoad(ref _PaginateOnStepThatWillFitOnBlankPage, "@PaginateOnStepThatWillFitOnBlankPage");
|
||||||
|
}
|
||||||
|
}
|
||||||
private LazyLoad<bool> _PaginateOnFirstSubstep;
|
private LazyLoad<bool> _PaginateOnFirstSubstep;
|
||||||
public bool PaginateOnFirstSubstep
|
public bool PaginateOnFirstSubstep
|
||||||
{
|
{
|
||||||
|
@ -1577,6 +1577,10 @@ namespace Volian.Print.Library
|
|||||||
}
|
}
|
||||||
private static bool StepWillFitOnBlankPageButNotOnCurrentPage(vlnParagraph myPara, float yLocation, float yStart,float fullPage)
|
private static bool StepWillFitOnBlankPageButNotOnCurrentPage(vlnParagraph myPara, float yLocation, float yStart,float fullPage)
|
||||||
{
|
{
|
||||||
|
// B2019-150 & B2019-151 Pagination Bugs Seen for Summer EOP4.1 Step 10 and
|
||||||
|
// SAG Step 9. Added format flag to limit when this logic would be used.
|
||||||
|
if (myPara.MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.PaginateOnStepThatWillFitOnBlankPage == false)
|
||||||
|
return false;
|
||||||
float spaceOnCurrentPage = fullPage - (-yLocation+yStart);
|
float spaceOnCurrentPage = fullPage - (-yLocation+yStart);
|
||||||
// B2019-124 - Pagination - if substep will fit on a blank page but will not fit on the current page
|
// B2019-124 - Pagination - if substep will fit on a blank page but will not fit on the current page
|
||||||
// And is not the first substep then break
|
// And is not the first substep then break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user