Fixed logic to correctly determine page break location at the end of a Condition/Response substep.
This commit is contained in:
		@@ -469,7 +469,7 @@ namespace Volian.Print.Library
 | 
			
		||||
						paraBreak = paraBreak.MyParent.ChildrenAbove[0];
 | 
			
		||||
					}
 | 
			
		||||
					// If the lastbreak was part of a condition response and the location is part of a condition response account for the size of the footer.
 | 
			
		||||
					if (lastBreak != null && lastBreak.ParentHasCalvertMacro && paraBreak.ParentHasCalvertMacro)
 | 
			
		||||
					if (lastBreak != null && lastBreak.ParentHasCalvertMacro)
 | 
			
		||||
					{
 | 
			
		||||
						paraBreak = FindPageBreak(yStart, ySpaceOnCurPage - 12 * 4, yLowerLimit, myList, paraBreak, yPageSize - (myTopMsgSpace + SixLinesPerInch) - myBottomMsgSpace,
 | 
			
		||||
							myBottomMsgSpace, MyItemInfo.ActiveFormat.PlantFormat.FormatData.StepDataList[40].ContinueOnly);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user