Remove symbol chars from HLS tab
Added Font property NullBox, StepTypeColOverride, StepTypeWidthOverride
This commit is contained in:
@@ -598,7 +598,7 @@ namespace VEPROMS.CSLA.Library
|
||||
// add hls tab.
|
||||
if (pitem.IsHigh)
|
||||
{
|
||||
string hlsTab = StepInfo.Get(pitem.ItemID).MyTab.CleanText;
|
||||
string hlsTab = StepInfo.Get(pitem.ItemID).MyTab.CleanTextNoSymbols;
|
||||
if (!hasDelim)
|
||||
foreach (string rmvDelim in DelimList) hlsTab = hlsTab.Replace(rmvDelim, "");
|
||||
hlsTab = hlsTab.Trim(" ".ToCharArray());
|
||||
@@ -610,6 +610,7 @@ namespace VEPROMS.CSLA.Library
|
||||
sret = sret.Trim(" .)".ToCharArray());
|
||||
return sret;
|
||||
}
|
||||
|
||||
private static bool AddStepNumber(TransitionBuilder tb)
|
||||
{
|
||||
// If we're on a step put out the step number.
|
||||
@@ -620,7 +621,8 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
// check for transition that goes to a procedure step section with title of 'Procedure steps' followed
|
||||
// by ', Step'. This should output as 'Procedure step xyz' rather than 'Procedure steps, step xyz'
|
||||
if (!tb._TransFormat.Contains("{Last Step}") && tb.Prefix != null && tb.Prefix.ToUpper().Contains(", STEP") && tb.ToString().ToUpper().EndsWith("PROCEDURE STEPS"))
|
||||
// TODO: NEED TO USE A FORMAT VARIABLE TO CONTROL THE FOLLOWING
|
||||
if (tb._ToItem.ActiveFormat.Name.StartsWith("HLP") && !tb._TransFormat.Contains("{Last Step}") && tb.Prefix != null && tb.Prefix.ToUpper().Contains(", STEP") && tb.ToString().ToUpper().EndsWith("PROCEDURE STEPS"))
|
||||
{
|
||||
tb.Remove(tb.Length - 15, 15); // remove "procedure steps"
|
||||
tb.Append("procedure Step");
|
||||
|
Reference in New Issue
Block a user