BGE_STP: Implement ‘CheckOffHeaderInPagelist’ and ‘CheckOffXtraLines’ format flags
This commit is contained in:
parent
995504ca06
commit
ba6eff87f4
@ -2597,7 +2597,10 @@ namespace Volian.Print.Library
|
||||
xloc_co = XOffset + (relX > 0 ? Width : 0) + relX;
|
||||
}
|
||||
}
|
||||
PartsRight.Add(new vlnMacro(xloc_co, yForCheckoff, co.Macro));
|
||||
float xtraCheckOffLines = (co.CheckOffXtraLines ?? 0) * SixLinesPerInch;
|
||||
xtraCheckOffLines -= ((xtraCheckOffLines>0)? SixLinesPerInch:0);
|
||||
PartsRight.Add(new vlnMacro(xloc_co, yForCheckoff + xtraCheckOffLines, co.Macro));
|
||||
yoff += (xtraCheckOffLines > 0) ? xtraCheckOffLines + SixLinesPerInch : 0;
|
||||
}
|
||||
}
|
||||
float yOffRight = yoff;
|
||||
@ -4245,6 +4248,7 @@ namespace Volian.Print.Library
|
||||
SectionConfig sc = itemInfo.MyActiveSection.MyConfig as SectionConfig;
|
||||
if (sc != null && sc.Section_CheckoffHeaderSelection > 0) return true;
|
||||
}
|
||||
if (formatInfo.PlantFormat.FormatData.ProcData.CheckOffData.CheckOffHeaderInPagelist) return true;
|
||||
return false;
|
||||
}
|
||||
// Currently not used.
|
||||
|
Loading…
x
Reference in New Issue
Block a user