B2019-089 - Removed the “End of Search Results” text from the Complete RO report.

Code cleanup – removed un-used code.
This commit is contained in:
John Jenko 2019-06-26 16:58:39 +00:00
parent ef3d04b4aa
commit 90be719f34
2 changed files with 2 additions and 8 deletions

View File

@ -404,7 +404,8 @@ namespace Volian.Print.Library
{
if (document.IsOpen())
{
document.Add(new Phrase("End of Search Results",FontFactory.GetFont("Arial",4)));
//document.Add(new Phrase("End of Search Results",FontFactory.GetFont("Arial",4))); // B2019-089 commented out - used for debug
document.Add(new Phrase(" ", FontFactory.GetFont("Arial", 4))); // B2019-089 - assure output has at least a blank space to prevent error on close
document.Close();
System.Diagnostics.Process.Start(_FileName);
}

View File

@ -99,13 +99,6 @@ namespace Volian.Print.Library
get { return _HasIndent; }
set { _HasIndent = value; }
}
private static bool _DoingComparison = false;
public static bool DoingComparison
{
get { return Rtf2iTextSharp._DoingComparison; }
set { Rtf2iTextSharp._DoingComparison = value; }
}
private IRtfDocument _RtfDoc;
private Paragraph _MyParagraph = new Paragraph();
private iTextSharp.text.Font _MyFont;