From 613e8384b8e73be758b4e078067dacd2436e874e Mon Sep 17 00:00:00 2001 From: John Date: Mon, 4 Oct 2021 15:27:07 +0000 Subject: [PATCH] B2021-109 Long Section Titles were printing into the page numbers on the Table of Contents. --- PROMS/Volian.Print.Library/PromsPrinter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PROMS/Volian.Print.Library/PromsPrinter.cs b/PROMS/Volian.Print.Library/PromsPrinter.cs index 0c4c886c..f18338f3 100644 --- a/PROMS/Volian.Print.Library/PromsPrinter.cs +++ b/PROMS/Volian.Print.Library/PromsPrinter.cs @@ -1539,7 +1539,7 @@ namespace Volian.Print.Library else rtfText = GetRtfToC(tocSecTitle, tOfC); Paragraph myparagraphSecTitle = vlnPrintObject.RtfToParagraph(rtfText); // section title - width = secPagePos - adjSecTitlePos - 6; + width = secPagePos - adjSecTitlePos - ((tOfC.TofCPageNumAlign.ToUpper() == "RIGHT") ? 18 : 6);// B2021-109 proper adjustment of section title width - copied from leader dots lenth calcuation below float savTitleWid = width; // for South Texas Table of Contents // if there is no section number (we put a blank in tmptxt) then move the section title over to the section number position