C2024-002-Print-Section
This commit is contained in:
parent
0095b2883b
commit
d6cb841d46
@ -1578,6 +1578,8 @@ namespace Volian.Print.Library
|
||||
Volian.Base.Library.BaselineMetaFile.WriteLine("TOC Ystart {0} LeftMar {1} ScNmPos {2} ScTtlPos {3} ScPgPos {4}", yPageStart, leftMargin, secNumPos, secTitlePos, secPagePos);
|
||||
bool inGroup = false;
|
||||
foreach (SectionInfo mySection in ii.Sections)
|
||||
{
|
||||
if (PntSectID == -1 || (PntSectID > -1 && mySection.ItemID == PntSectID))
|
||||
{
|
||||
sectCnt++;
|
||||
SectionConfig sc = mySection.MyConfig as SectionConfig;
|
||||
@ -1847,6 +1849,7 @@ namespace Volian.Print.Library
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return yLocation;
|
||||
}
|
||||
// C2021-015: Barakah High Level Steps in Table of Contents
|
||||
@ -2934,6 +2937,8 @@ namespace Volian.Print.Library
|
||||
{
|
||||
if (ii.Sections == null) return; // B2021-067 crash on null reference
|
||||
foreach (SectionInfo si in ii.Sections)
|
||||
{
|
||||
if (MyPromsPrinter.PntSectID == -1 || (MyPromsPrinter.PntSectID > -1 && si.ItemID == MyPromsPrinter.PntSectID))
|
||||
{
|
||||
if (si.IsStepSection)
|
||||
{
|
||||
@ -2975,6 +2980,7 @@ namespace Volian.Print.Library
|
||||
}
|
||||
}
|
||||
}
|
||||
//}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user