Instead of removing a problematic indent character (while printing), simply don’t do the indent calculations and return an indent value of zero.

This commit is contained in:
John Jenko 2014-10-20 20:15:41 +00:00
parent f6a471dde8
commit 741b2608f1

View File

@ -265,7 +265,7 @@ namespace Volian.Print.Library
if (rtf.Contains(@"\f1\fnil\fcharset0 "))
rtfDoc2 = RtfInterpreterTool.BuildDoc(rtf.Replace(@"\'05", @"\f1 \u9999? \f0 "));
else
rtfDoc2 = RtfInterpreterTool.BuildDoc(rtf.Replace(@"\'05", ""));
return 0; //rtfDoc2 = RtfInterpreterTool.BuildDoc(rtf.Replace(@"\'05", ""));
Rtf2iTextSharp rtf2IText2 = new Rtf2iTextSharp(rtfDoc2);
iTextSharp.text.Paragraph para2 = rtf2IText2.Convert();