After converting the DOCX to PDF, the point line in table of contents appear as straight lin

1 Answer 18 Views
RichTextBox
Mingchang
Top achievements
Rank 1
Iron
Iron
Mingchang asked on 03 Mar 2022, 09:06 AM

Hi,

I created a new file in the RadRichTextBox  , edited some text and set the style as header, then referenced the table of contents in the file.

The table of contents line is displayed as a dotted line. When I save the file as PDF, the dotted line becomes a straight line.

 

1 Answer, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 07 Mar 2022, 01:39 PM

Hello Mingchang,

Similar to the discussion inside the other thread, the tab stop leader is not exported to PDF in the current version of RadRichTextBox. The line that appears in the PDF is actually a result of the Hyperlink style being applied to the table of contents. This behavior is a known one and you can track the status of the related report using this item: RichTextBox: TableOfContentsField (TOC) is exported to PDF with hyperlink styling. In the description of the item, you will find a suggestion on how to remove that styling.

Hope this is helpful.

Regards,
Tanya
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
RichTextBox
Asked by
Mingchang
Top achievements
Rank 1
Iron
Iron
Answers by
Tanya
Telerik team
Share this question
or