F2022-024 – added logic to generate a Time Critical Action Summary report

F2022-024 – logic to replace {!Clock} with the defined genmac macro when step tab is printed from the pagelist (Enhanced Backgrounds)
This commit is contained in:
2022-08-11 18:27:03 +00:00
parent bfeed42a59
commit 67a19a4358
4 changed files with 92 additions and 16 deletions

View File

@@ -43,6 +43,12 @@ namespace Volian.Print.Library
{
get { return _MyContActSteps; }
}
// F2022-024 Time Critical Action Step
private pkParagraphs _MyTimeCriticalActionSteps = new pkParagraphs();
public pkParagraphs MyTimeCriticalActionSteps
{
get { return _MyTimeCriticalActionSteps; }
}
private float? _BottomContent = null;// RHM20150525 - Table Scrunch
public float? BottomContent
{
@@ -2189,6 +2195,11 @@ i = 0;
plstr = HLRNO==null?string.Empty:plstr.Replace(token, HLRNO);
break;
case "{HLSTAB}":
if (HLSTAB.Contains("{!Clock}")) // F2022-024 replace with the clock symbol defined in GenMac format file
{
HLSTAB = HLSTAB.Replace("{!Clock}",string.Empty).TrimStart(" ".ToCharArray());
svgGroup.Add(PageItemToSvgUse(pageItem, "Clock"));
}
plstr = plstr.Replace(token, HLSTAB);
break;
case "{UNITALPHA}":