B2021-109 Long Section Titles were printing into the page numbers on the Table of Contents.
This commit is contained in:
parent
d6175879a8
commit
613e8384b8
@ -1539,7 +1539,7 @@ namespace Volian.Print.Library
|
|||||||
else
|
else
|
||||||
rtfText = GetRtfToC(tocSecTitle, tOfC);
|
rtfText = GetRtfToC(tocSecTitle, tOfC);
|
||||||
Paragraph myparagraphSecTitle = vlnPrintObject.RtfToParagraph(rtfText); // section title
|
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;
|
float savTitleWid = width;
|
||||||
// for South Texas Table of Contents
|
// 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
|
// if there is no section number (we put a blank in tmptxt) then move the section title over to the section number position
|
||||||
|
Loading…
x
Reference in New Issue
Block a user