From 3d80cf5832a7fd0c038ab75aa8e6b7acf05b9e6a Mon Sep 17 00:00:00 2001 From: Kathy Date: Tue, 5 Oct 2021 14:17:30 +0000 Subject: [PATCH] C2021-049: Caution, Notes & Warnings with sub-steps should have no blank line between text & bottom box in BNPP1 & BNPPalr --- PROMS/Volian.Print.Library/vlnParagraph.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index 0849b372..1261b862 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -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; }