BGEVL: added NotesToFootnotes flag
Paginate BGE Valve sections
This commit is contained in:
parent
fac9c4436a
commit
bffb924c2e
@ -952,6 +952,14 @@ namespace VEPROMS.CSLA.Library
|
|||||||
return LazyLoad(ref _PrintNoTitle, "@PrintNoTitle");
|
return LazyLoad(ref _PrintNoTitle, "@PrintNoTitle");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
private LazyLoad<bool> _NotesToFootnotes;
|
||||||
|
public bool NotesToFootnotes
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return LazyLoad(ref _NotesToFootnotes, "@NotesToFootnotes");
|
||||||
|
}
|
||||||
|
}
|
||||||
private LazyLoad<bool> _CountFoldoutPages;
|
private LazyLoad<bool> _CountFoldoutPages;
|
||||||
public bool CountFoldoutPages
|
public bool CountFoldoutPages
|
||||||
{
|
{
|
||||||
|
@ -172,7 +172,12 @@ namespace Volian.Print.Library
|
|||||||
}
|
}
|
||||||
if (!MyItemInfo.IsHigh) return 0; // Don't Paginate on a Substep level
|
if (!MyItemInfo.IsHigh) return 0; // Don't Paginate on a Substep level
|
||||||
bool doSectionTitleContinued = false;
|
bool doSectionTitleContinued = false;
|
||||||
if (MyItemInfo.InList(1148, 391)) Console.Write("Here");
|
if (MyPageHelper.NotesToFootNotes != null && MyPageHelper.NotesToFootNotes.Count > 0)
|
||||||
|
{
|
||||||
|
float vtnHeight = SixLinesPerInch;
|
||||||
|
foreach (vlnText vtn in MyPageHelper.NotesToFootNotes) vtnHeight += vtn.Height;
|
||||||
|
yEndMsg += vtnHeight; // * vlnPrintObject.SixLinesPerInch);
|
||||||
|
}
|
||||||
if (MyItemInfo.MyPrevious != null && !MyItemInfo.IsSection && MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.ContinueSectionHeader)
|
if (MyItemInfo.MyPrevious != null && !MyItemInfo.IsSection && MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.ContinueSectionHeader)
|
||||||
{
|
{
|
||||||
SectionConfig sch = MyItemInfo.ActiveSection.MyConfig as SectionConfig;
|
SectionConfig sch = MyItemInfo.ActiveSection.MyConfig as SectionConfig;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user