C2022-003-Change-Textboxes-to-RTF-3
This commit is contained in:
@@ -1975,9 +1975,6 @@ namespace RODBInterface
|
|||||||
elem.SetAttribute("RecID", RecID);
|
elem.SetAttribute("RecID", RecID);
|
||||||
elem.SetAttribute("ParentID", node.GetAttribute("RecID"));
|
elem.SetAttribute("ParentID", node.GetAttribute("RecID"));
|
||||||
elem.SetAttribute("Table", node.GetAttribute("Table"));
|
elem.SetAttribute("Table", node.GetAttribute("Table"));
|
||||||
//AccPageID = Regex.Replace(AccPageID, @"\\u([0-9]{1,4})\?", m => Convert.ToChar(int.Parse(m.Groups[1].Value)).ToString()); // RO Editor add symbols C2022 - 003
|
|
||||||
string pattern = @"\\u([0-9]{1,4})\?";
|
|
||||||
AccPageID = Regex.Replace(AccPageID, pattern, ""); // Remove any symbols from AccPageID - RO Editor add symbols C2022 - 003
|
|
||||||
elem.SetAttribute("AccPageID", AccPageID);
|
elem.SetAttribute("AccPageID", AccPageID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
|
using Csla.Data;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Text.RegularExpressions;
|
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Data.SqlClient;
|
using System.Data.SqlClient;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
using static System.Net.Mime.MediaTypeNames;
|
||||||
using Csla.Data;
|
|
||||||
|
|
||||||
|
|
||||||
namespace VEPROMS.CSLA.Library
|
namespace VEPROMS.CSLA.Library
|
||||||
@@ -2154,15 +2154,8 @@ namespace VEPROMS.CSLA.Library
|
|||||||
if (string.IsNullOrEmpty(s2))
|
if (string.IsNullOrEmpty(s2))
|
||||||
return s2;
|
return s2;
|
||||||
|
|
||||||
var pattern = @"\\u([0-9]{1,4})\?"; // RO Editor add symbols C2022 - 003
|
|
||||||
|
|
||||||
if (Regex.IsMatch(s2, pattern))
|
|
||||||
|
|
||||||
s2 = s2.Replace(@"\u160?", "<HSP>"); // convert hard spaces bug fix: B2016-206
|
s2 = s2.Replace(@"\u160?", "<HSP>"); // convert hard spaces bug fix: B2016-206
|
||||||
if (!Regex.IsMatch(s2, pattern)) // RO Editor add symbols C2022 - 003
|
s2 = s2.Replace(@"\(?!u)", @"\u9586?"); // convert backslashes to a backslash symbol
|
||||||
{
|
|
||||||
s2 = s2.Replace(@"\", @"\u9586?"); // convert backslashes to a backslash symbol
|
|
||||||
}
|
|
||||||
s2 = s2.Replace("<HSP>", @"\u160?"); // convert hard spaces bug fix: B2016-206
|
s2 = s2.Replace("<HSP>", @"\u160?"); // convert hard spaces bug fix: B2016-206
|
||||||
s2 = s2.Replace("`", @"\'b0"); // convert backquote to degree - left over from DOS days.
|
s2 = s2.Replace("`", @"\'b0"); // convert backquote to degree - left over from DOS days.
|
||||||
s2 = s2.Replace("\xf8", @"\'b0"); // convert \xf8 to degree.
|
s2 = s2.Replace("\xf8", @"\'b0"); // convert \xf8 to degree.
|
||||||
|
|||||||
Reference in New Issue
Block a user