From 741b2608f118acf53971403fe932fcdbeddd0a57 Mon Sep 17 00:00:00 2001 From: John Date: Mon, 20 Oct 2014 20:15:41 +0000 Subject: [PATCH] =?UTF-8?q?Instead=20of=20removing=20a=20problematic=20ind?= =?UTF-8?q?ent=20character=20(while=20printing),=20simply=20don=E2=80=99t?= =?UTF-8?q?=20do=20the=20indent=20calculations=20and=20return=20an=20inden?= =?UTF-8?q?t=20value=20of=20zero.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROMS/Volian.Print.Library/Grid2Pdf.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PROMS/Volian.Print.Library/Grid2Pdf.cs b/PROMS/Volian.Print.Library/Grid2Pdf.cs index deed0958..d3ed50a2 100644 --- a/PROMS/Volian.Print.Library/Grid2Pdf.cs +++ b/PROMS/Volian.Print.Library/Grid2Pdf.cs @@ -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();