horzline gets duplicated?

General TRichView support forum. Please post your questions here
Post Reply
a.weber
Posts: 63
Joined: Wed Mar 02, 2022 7:02 am

horzline gets duplicated?

Post by a.weber »

Hello,
my source document contains a single horizontal line - which is created from Word just after typing ----- [return]. But if I load the resulting RTF or DOCX with RichViewEdit the line is also visible between other paragraphs?
hline-word.png
hline-word.png (81.56 KiB) Viewed 5789 times
hline.png
hline.png (28.38 KiB) Viewed 5789 times
I attached also the .rtf and .docx version of the document. (its the same which also shows the gridline bug from the other post.)

With best regards

A. Weber
Attachments
signature3.docx
(20.81 KiB) Downloaded 642 times
signature3.rtf
(70.69 KiB) Downloaded 581 times
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: horzline gets duplicated?

Post by Sergey Tkachenko »

In these Docx and RTF files, all these paragraphs have a bottom border line.
MS Word draws common borders around several paragraphs, so you can see the bottom border line only for the last paragraph in the sequence of bordered paragraphs.
Unfortunately, TRichView cannot do it, it draws borders around each paragraph.
a.weber
Posts: 63
Joined: Wed Mar 02, 2022 7:02 am

Re: horzline gets duplicated?

Post by a.weber »

Ok, thanks for checking and explaining this.
I will try to change the formating of the rtf/docx to avoid this issue. It was just a test useing the horzline as separator usually we don't do this.
Post Reply