From fca2704dc464f9d3a227fd5611fb59875497b4a1 Mon Sep 17 00:00:00 2001 From: Kathy Date: Wed, 16 Aug 2017 15:50:05 +0000 Subject: [PATCH] B2017-058: Summary of Changes report, column information rearranges after table that has no grid audits --- PROMS/Volian.Print.Library/PDFChronologyReport.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/PROMS/Volian.Print.Library/PDFChronologyReport.cs b/PROMS/Volian.Print.Library/PDFChronologyReport.cs index 1f5abe4c..92adb87f 100644 --- a/PROMS/Volian.Print.Library/PDFChronologyReport.cs +++ b/PROMS/Volian.Print.Library/PDFChronologyReport.cs @@ -1504,6 +1504,19 @@ namespace Volian.Print.Library //c.Border = borders; t.AddCell(c); } + // B2017-058: The following was added to handle when there are no grid audits, just put a message. Without + // adding this cell to the output, the columns get out of sync for rest of report. + else + { + h = new Phrase(); + h.Font = f4; + h.Add( "No change in table text found."); + c = new PdfPCell(h); + c.Colspan = 1; + c.HorizontalAlignment = Element.ALIGN_LEFT; + c.PaddingBottom = paddingBottom; + t.AddCell(c); + } } else {