From 1f74af6c0e4432c9f90afd2bab3689c775b78994 Mon Sep 17 00:00:00 2001 From: Kathy Date: Thu, 13 Feb 2014 13:54:38 +0000 Subject: [PATCH] A change to fix column widths for Robinson single column procedures with sign-offs (Update 133) affected the widths of single column text with checkoffs for Wolf Creek. This has been fixed for both RNP & WCN --- PROMS/Volian.Print.Library/vlnParagraph.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index 86b72474..58e7954d 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -3032,15 +3032,19 @@ namespace Volian.Print.Library float CheckOffAdj = 0; if (itemInfo.MyDocStyle.UseCheckOffs) { + bool FmtHasAdj = false; if (formatInfo.PlantFormat.FormatData.ProcData.CheckOffData.CheckOffAdjustment != null) + { + FmtHasAdj = true; CheckOffAdj = -(float)formatInfo.PlantFormat.FormatData.ProcData.CheckOffData.CheckOffAdjustment; + } if (!HasCheckOffHeading(itemInfo, formatInfo) && CheckOffAdj < 0) CheckOffAdj += (float)(9 * 7.2); // 9 is the size of the SIGNOFF adjustment - else if (HasCheckOffHeading(itemInfo, formatInfo)) + else if (!FmtHasAdj && HasCheckOffHeading(itemInfo, formatInfo)) // For Robinson, tried using font's CharsToTwips but it made it too narrow, so used hardcoded 6: CheckOffAdj = -((float)9 * 6); } - float adjwidth = CheckOffAdj; + float adjwidth = CheckOffAdj; SectData sd = formatInfo.PlantFormat.FormatData.SectData; if (sd.UseMetaSections) {