B2023-001: Barakah – crash on print of large table. added null check
This commit is contained in:
		@@ -1042,7 +1042,8 @@ namespace Volian.Print.Library
 | 
			
		||||
					paraBreak = FindPageBreak(yStart, ySpaceOnCurPage - accountForCalvertAlarmConditionResponseFooter - yAccountForBottomMsg, yLowerLimit,
 | 
			
		||||
						myList, lastBreak, yPageSize - (myTopMsgSpace + SixLinesPerInch) - myBottomMsgSpace,
 | 
			
		||||
						myBottomMsgSpace, MyItemInfo.ActiveFormat.PlantFormat.FormatData.StepDataList[40].ContinueOnly, yTop);
 | 
			
		||||
					paraBreak.yPageSizeForPagination = yPageSize;
 | 
			
		||||
					// B2023-001:  Check for null paraBreak:
 | 
			
		||||
					if (paraBreak != null) paraBreak.yPageSizeForPagination = yPageSize;
 | 
			
		||||
					// B2020-032 put in for Barakah EOPs 1T4-OP-EOP-XX-0100 Attachement 32 step 1.2.2a where a table was printing on a page by itself.
 | 
			
		||||
					//           The following logic will walk up to each parent level to see try and get as many parent step levels on the same page
 | 
			
		||||
					//           as the Table.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user