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
This commit is contained in:
parent
92a1a8cf4e
commit
1f74af6c0e
@ -3032,11 +3032,15 @@ namespace Volian.Print.Library
|
|||||||
float CheckOffAdj = 0;
|
float CheckOffAdj = 0;
|
||||||
if (itemInfo.MyDocStyle.UseCheckOffs)
|
if (itemInfo.MyDocStyle.UseCheckOffs)
|
||||||
{
|
{
|
||||||
|
bool FmtHasAdj = false;
|
||||||
if (formatInfo.PlantFormat.FormatData.ProcData.CheckOffData.CheckOffAdjustment != null)
|
if (formatInfo.PlantFormat.FormatData.ProcData.CheckOffData.CheckOffAdjustment != null)
|
||||||
|
{
|
||||||
|
FmtHasAdj = true;
|
||||||
CheckOffAdj = -(float)formatInfo.PlantFormat.FormatData.ProcData.CheckOffData.CheckOffAdjustment;
|
CheckOffAdj = -(float)formatInfo.PlantFormat.FormatData.ProcData.CheckOffData.CheckOffAdjustment;
|
||||||
|
}
|
||||||
if (!HasCheckOffHeading(itemInfo, formatInfo) && CheckOffAdj < 0)
|
if (!HasCheckOffHeading(itemInfo, formatInfo) && CheckOffAdj < 0)
|
||||||
CheckOffAdj += (float)(9 * 7.2); // 9 is the size of the SIGNOFF adjustment
|
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:
|
// For Robinson, tried using font's CharsToTwips but it made it too narrow, so used hardcoded 6:
|
||||||
CheckOffAdj = -((float)9 * 6);
|
CheckOffAdj = -((float)9 * 6);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user