B2018-107 – Need to convert rtf hard space (\~) to the hard space character when printing tables
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user