From beb97b57e82434d420636eea3e283520fe290e95 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 15 Jul 2014 01:57:56 +0000 Subject: [PATCH] In single column mode, allow one blank line between HLS and first RNO --- PROMS/Volian.Print.Library/vlnParagraph.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index b5f0ce5e..cdada466 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -1917,9 +1917,14 @@ namespace Volian.Print.Library { // the DoubleSpace & SpaceDouble flags seem redundant. The 2nd line was added for foldout // line spacing for IP2 foldouts (one example can be found in E-1) - if (itemInfo.FormatStepData.DoubleSpace && itemInfo.FormatStepData.SpaceDouble) yoff = YOffset = yoff + SixLinesPerInch; - if (!itemInfo.FormatStepData.SpaceDouble && itemInfo.MyParent.IsHigh) yoff = YOffset = yoff - SixLinesPerInch; + if (!itemInfo.FormatStepData.SpaceDouble && itemInfo.MyParent.IsHigh) + { + // but it we are in single column mode, don't remove the blank line. (Wolf Creek Admin Instructions - wcn1) + if ((itemInfo.MyActiveSection as SectionInfo).SectionConfig.Section_ColumnMode != SectionConfig.SectionColumnMode.One) + yoff = YOffset = yoff - SixLinesPerInch; + } else if (itemInfo.FormatStepData.NoSpaceMultipleRNOs) yoff = YOffset = yoff - SixLinesPerInch; + if (itemInfo.FormatStepData.DoubleSpace && itemInfo.FormatStepData.SpaceDouble) yoff = YOffset = yoff + SixLinesPerInch; } AddMacros(itemInfo, mytab); if (mytab != null)