In single column mode, allow one blank line between HLS and first RNO

This commit is contained in:
John Jenko 2014-07-15 01:57:56 +00:00
parent 52f2aa089c
commit beb97b57e8

View File

@ -1917,9 +1917,14 @@ namespace Volian.Print.Library
{ {
// the DoubleSpace & SpaceDouble flags seem redundant. The 2nd line was added for foldout // 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) // 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)
if (!itemInfo.FormatStepData.SpaceDouble && itemInfo.MyParent.IsHigh) yoff = YOffset = yoff - SixLinesPerInch; {
// 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; else if (itemInfo.FormatStepData.NoSpaceMultipleRNOs) yoff = YOffset = yoff - SixLinesPerInch;
if (itemInfo.FormatStepData.DoubleSpace && itemInfo.FormatStepData.SpaceDouble) yoff = YOffset = yoff + SixLinesPerInch;
} }
AddMacros(itemInfo, mytab); AddMacros(itemInfo, mytab);
if (mytab != null) if (mytab != null)