Logic to adjust the column width when a checkoff header is selected

Format tweaks for Robinson
Format tweaks for Robinson’s Background, EOP and AOP formats
This commit is contained in:
2013-11-08 19:38:33 +00:00
parent 60dbbb6269
commit 575606318c
3 changed files with 61 additions and 10 deletions

View File

@@ -2648,6 +2648,9 @@ namespace Volian.Print.Library
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))
// For Robinson, tried using font's CharsToTwips but it made it too narrow, so used hardcoded 6:
CheckOffAdj = -((float)9 * 6);
}
float adjwidth = CheckOffAdj;
SectData sd = formatInfo.PlantFormat.FormatData.SectData;