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:
1 parent
2ef2f898b1
commit
98d8a174fb
2 files changed
+14
-1
No files matched your search
@@ -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