Page 1 of 1

horzline gets duplicated?

Posted: Tue Aug 09, 2022 1:17 pm
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 5796 times
hline.png
hline.png (28.38 KiB) Viewed 5796 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

Re: horzline gets duplicated?

Posted: Tue Aug 23, 2022 11:46 am
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.

Re: horzline gets duplicated?

Posted: Tue Aug 23, 2022 1:41 pm
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.