F2023-112 format setting to remove -B from background proc num (used in title box)
This commit is contained in:
parent
f0670905b3
commit
71cef595ca
Binary file not shown.
Binary file not shown.
@ -202,6 +202,15 @@ namespace VEPROMS.CSLA.Library
|
||||
return LazyLoad(ref _TextColor, "@TextColor");
|
||||
}
|
||||
}
|
||||
// F2023-112 Vogtle Units 3 & Backgrounds - trim the ending "-B" from the procedure number (used in title box of page header)
|
||||
private LazyLoad<string> _TrimEnding;
|
||||
public string TrimEnding
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _TrimEnding, "@TrimEnding");
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region Override ToString
|
||||
public override string ToString()
|
||||
|
@ -1934,8 +1934,6 @@ i = 0;
|
||||
else
|
||||
eopnum = section.MyProcedure.DisplayNumber;// B2021-066: found and fixed during proc pc/pc work
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
// B2022-066 the "{PREDELIMEOPNUM}" token was not being processed because there was a space after the "{"
|
||||
if (token.Equals("{PREDELIMEOPNUM}"))
|
||||
@ -1947,6 +1945,10 @@ i = 0;
|
||||
if (idx < eopnum.Length)
|
||||
eopnum = eopnum.Substring(0, idx);
|
||||
}
|
||||
|
||||
if (pageItem.TrimEnding != null)
|
||||
eopnum = eopnum.TrimEnd(pageItem.TrimEnding.ToCharArray());
|
||||
|
||||
plstr = plstr.Replace(token, eopnum);
|
||||
//svgGroup.Add(PageItemToSvgText(pageItem, pageItem.Token.Replace(token, eopnum)));
|
||||
//svgGroup.Add(PageItemToSvgText(pageItem, pageItem.Token.Replace(token, section.MyProcedure.MyContent.Number)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user