Page 1 of 1

Page breaks problem in Table.

Posted: Fri Aug 17, 2007 9:26 am
by yoon jin suk
My code is like below..

-------------------------------------------------
RVPrint1.AssignSource(RichViewEdit1);
RVPrint1.FormatPages(rvdoALL);
RichViewEdit1.ClearSoftPageBreaks;
RichViewEdit1.AssignSoftPageBreaks(RVPrint1);
---------------------------------------------------

When table does not exist in the rvf text, Page Breaks works well.

But if table is in the rvf text, and when Page Break occur at the
position of table..Page Breaks's shape is broken.

Is this TRichView bug?

How can I fix this?

Posted: Fri Aug 17, 2007 10:55 am
by Sergey Tkachenko
Sorry, I do not understand what you mean.
What version of TRichView do you use?

If you use the the newest version of TRichView, do you mean page breaks occuring inside table cells? In this case, this not not a bug but a feature.
When page break occurs between table rows, it is drawn across the TRichView window, like a simple page break outside tables. But if it occurs inside table cells, it's just impossible. In this case, page break line is drawn in each cell individually.

Posted: Mon Aug 20, 2007 12:45 am
by yoon jin suk
I mean page breaks occuring inside table cells.

If that is a feature of Trichview I have to fix the code.
Thanks.

Posted: Mon Aug 20, 2007 11:01 am
by Sergey Tkachenko
For example, now they are shown like:
Image
(I changed color to red to make them more noticeable)
How do you want to display them?

What I want.

Posted: Mon Aug 27, 2007 7:28 am
by yoon jin suk
I want to display only one line just like other situation.

Couldn't I?

Image

Posted: Mon Aug 27, 2007 2:38 pm
by Sergey Tkachenko
I cannot see your picture.

Posted: Tue Aug 28, 2007 6:40 am
by yoon jin suk
I fix the picture's address at the above message.

Posted: Tue Aug 28, 2007 5:09 pm
by Sergey Tkachenko
But this drawing of page break would be wrong, because in the second column the last line on page is {$DEFINE DirectX7}, not {$ENDIF}