B2018-107 – Need to convert rtf hard space (\~) to the hard space character when printing tables

This commit is contained in:
John Jenko 2018-07-10 20:13:20 +00:00
parent 03f07f3aeb
commit 44322ba5bf

View File

@ -876,7 +876,7 @@ namespace Volian.Print.Library
// add the using statment to free up window handle that is created doing a New RichTextBox()
using (System.Windows.Forms.RichTextBox rtb = new System.Windows.Forms.RichTextBox())
{
rtb.Rtf = rtf.Replace(@"\u9586?", "<dblbs>");// rename backslash character to avoid RTF confusion
rtb.Rtf = rtf.Replace(@"\u9586?", "<dblbs>").Replace(@"\~",@"\u160?");// rename backslash character and B2018-107 \~ to hard space to avoid RTF confusion
string strRTF = rtf;
bool changed = false;
// C2017-008 - WCN wants the box symbol to look like their checkoff/signoff box