diff --git a/PROMS/Volian.Print.Library/VlnSvgPageHelper.cs b/PROMS/Volian.Print.Library/VlnSvgPageHelper.cs index 5c1deafb..d9f0f475 100644 --- a/PROMS/Volian.Print.Library/VlnSvgPageHelper.cs +++ b/PROMS/Volian.Print.Library/VlnSvgPageHelper.cs @@ -1173,6 +1173,9 @@ namespace Volian.Print.Library ProcDescrList pdl = section.ActiveFormat.PlantFormat.FormatData.PrintData.ProcDescrList; if (pdl != null && pdl.Count > 0) { + // the following line is needed for FNP: a checkin needed to be done for Robinson and + // did not want to include the commented out lines in this 'case' statement group: + //string procnum = section.MyProcedure.MyContent.Number.Replace(@"\u8209?", "-"); // uncomment for FNP string procnum = section.MyProcedure.MyContent.Number; foreach (ProcDescr pd in pdl) { @@ -1184,7 +1187,10 @@ namespace Volian.Print.Library } if (pd.MatchProcNumber == "@") { - plstr = pd.ProcDescr1; + //if (Regex.IsMatch(procnum, "^[A-Za-z]+$")) // uncomment for FNP + plstr = pd.ProcDescr1; + //else // uncomment for FNP + // plstr = ""; // uncomment for FNP break; } } @@ -1388,7 +1394,8 @@ namespace Volian.Print.Library { lnCnt++; if (lnCnt == 1) continue; - svgGroup.Add(PageItemToSvgText(pageItem, line, yOffset)); + plstr = plstr.Replace(match, line); + svgGroup.Add(PageItemToSvgText(pageItem, plstr, yOffset)); yOffset += 12; } return plstr;