C2021-049: Caution, Notes & Warnings with sub-steps should have no blank line between text & bottom box in BNPP1 & BNPPalr
This commit is contained in:
		@@ -5294,7 +5294,8 @@ namespace Volian.Print.Library
 | 
			
		||||
				if (MyItemInfo.Steps != null && MyItemInfo.Steps.Count > 0) return 0;
 | 
			
		||||
			}
 | 
			
		||||
			// F2021-025: Barakah single column no blank line between last Note/Caution/Warning text and bottom line of box
 | 
			
		||||
			if (MyItemInfo.ActiveFormat.PlantFormat.FormatData.PrintData.NoBlankLastNoteCautionWarn && (MyItemInfo.IsCaution || MyItemInfo.IsNote))
 | 
			
		||||
			// C2021-049: Barakah no blank line between last Note/Caution/Warning text, include sub-step text by using 'IsInCautionOrNote' 
 | 
			
		||||
			if (MyItemInfo.ActiveFormat.PlantFormat.FormatData.PrintData.NoBlankLastNoteCautionWarn && (MyItemInfo.IsInCautionOrNote))
 | 
			
		||||
			{
 | 
			
		||||
				if ((MyItemInfo.NextItem == null) || (MyItemInfo.MyContent.Type != MyItemInfo.NextItem.MyContent.Type)) return 0;
 | 
			
		||||
			}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user