C2018-039: Upgrade – User Control of Format
This commit is contained in:
@@ -4138,6 +4138,13 @@ namespace Volian.Print.Library
|
||||
xloc_co = XOffset + (relX > 0 ? Width : 0) + relX;
|
||||
}
|
||||
}
|
||||
// if there is ucf value for adjusting the alignment for checkoffs, use it:
|
||||
FormatConfig fc = PlantFormat.GetFormatConfig(formatInfo);
|
||||
if (fc != null && fc.PlantFormat.FormatData.CheckOffXOffAdj != null)
|
||||
{
|
||||
if (co.Index > 99) xloc_co += ((float)fc.PlantFormat.FormatData.CheckOffXOffAdj * 72);
|
||||
}
|
||||
|
||||
// CheckOffXtraLines was introduced for the additional lines needed for the longer signoffs
|
||||
// for VCBA (&WST1), for F2016-061.
|
||||
float checkOffNumberOfLines = (co.CheckOffNumberOfLines ?? 0);
|
||||
@@ -4823,7 +4830,8 @@ namespace Volian.Print.Library
|
||||
|
||||
// First see if there is any checkoff data in the format file and that there
|
||||
// is a pagelist item for the checkoff header.
|
||||
if (itemInfo.ActiveFormat.PlantFormat.FormatData.ProcData.CheckOffData.CheckOffList.MaxIndex <= 0) return;
|
||||
int maxindx = itemInfo.ActiveFormat.PlantFormat.FormatData.ProcData.CheckOffUCF ? itemInfo.ActiveFormat.PlantFormat.FormatData.ProcData.CheckOffData.CheckOffList.MaxIndex : itemInfo.ActiveFormat.PlantFormat.FormatData.ProcData.CheckOffData.CheckOffList.MaxIndexNoInherit;
|
||||
if (maxindx <= 0) return;
|
||||
if (MyPageHelper.PageListCheckOffHeader == null) return;
|
||||
|
||||
VE_Font font = null;
|
||||
|
Reference in New Issue
Block a user