From ca3098403158fe3ce3e1ae350f0ff7932cd3598c Mon Sep 17 00:00:00 2001 From: Kathy Date: Wed, 3 Sep 2014 13:56:40 +0000 Subject: [PATCH] Calvert Alarms: fix line spacing around text for Caution1 step type (Annunciator Window) --- PROMS/Volian.Print.Library/vlnParagraph.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index f28e0674..67039c48 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -197,7 +197,9 @@ namespace Volian.Print.Library if (childItemInfo.FormatStepData.OneLineBeforeTab) ln++; if (!boxHLS || (boxHLS && !childItemInfo.HasCautionOrNote)) { - if (!formatInfo.PlantFormat.FormatData.PrintData.SpecialCaseCalvertAlarm) + // note that in the following line of code, the Calvert Alarms' caution1 is their annunciator window + // so it needs the extra lines as defined by 'ln' or the text will be too close to the top of the box. + if (!formatInfo.PlantFormat.FormatData.PrintData.SpecialCaseCalvertAlarm || iChildItemInfo.IsCaution1) yoff += ln * vlnPrintObject.SixLinesPerInch; else yoff += vlnPrintObject.SixLinesPerInch;