F2021-060 Do not remove blank line between step and Caution, Note or Warning below it (Caution, Note, Warning are off 1st sub step)

B2021-118: On cover page, if procedure title is 3 lines it prints over Revision Number
F2021-060 Add double lines for Warning box; B2021-120 Second Bulleted Sub-step type with empty bullet & remove dashed step type
This commit is contained in:
Kathy Ruffing 2021-10-18 11:29:39 +00:00
parent 26643799c5
commit 1f8be43773
3 changed files with 2 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -5291,7 +5291,8 @@ namespace Volian.Print.Library
// F2021-033: No blank line between hls and its first substep:
if (MyItemInfo.ActiveFormat.PlantFormat.FormatData.PrintData.NoBlankHlsAndFirstSub && MyItemInfo.IsHigh)
{
if (MyItemInfo.Steps != null && MyItemInfo.Steps.Count > 0) return 0;
// F2021-060 Do not remove blank line between step and Caution, Note or Warning below it (Caution, Note, Warning are off 1st sub step)
if (MyItemInfo.Steps != null && MyItemInfo.Steps.Count > 0 && !MyItemInfo.Steps[0].HasCautionOrNote) return 0;
}
// F2021-025: Barakah single column no blank line between last Note/Caution/Warning text and bottom line of box
// C2021-049: Barakah no blank line between last Note/Caution/Warning text, include sub-step text by using 'IsInCautionOrNote'