Changed how DoBeforeTransFlagSupport located replace words string in step text from first location to last location
Added and used new method IncludesParentToHLS to PDFReport to correct how step tab data is displayed in PDF report
This commit is contained in:
@@ -476,7 +476,8 @@ namespace Volian.Controls.Library
|
||||
string findit = beforeTran.Substring(0, beforeTran.LastIndexOf(@"\v <START]\v0"));
|
||||
if (findit != null && findit.Trim().ToUpper().EndsWith(repstr.ReplaceWord.ToUpper()))
|
||||
{
|
||||
int rindx = findit.Trim().ToUpper().IndexOf(repstr.ReplaceWord.ToUpper());
|
||||
// int rindx = findit.Trim().ToUpper().IndexOf(repstr.ReplaceWord.ToUpper());
|
||||
int rindx = findit.Trim().ToUpper().LastIndexOf(repstr.ReplaceWord.ToUpper());
|
||||
// don't replace string because case of words may be match replace with string.
|
||||
beforeTran = findit.Substring(0, rindx) + @"\b " + findit.Substring(rindx) + @"\b0" + beforeTran.Substring(indx);
|
||||
return beforeTran;
|
||||
|
Reference in New Issue
Block a user