Page breaks problem in Table.

General TRichView support forum. Please post your questions here
Post Reply
yoon jin suk
Posts: 20
Joined: Fri Sep 01, 2006 4:20 am
Location: seoul korea

Page breaks problem in Table.

Post 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?
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
yoon jin suk
Posts: 20
Joined: Fri Sep 01, 2006 4:20 am
Location: seoul korea

Post 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.
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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?
yoon jin suk
Posts: 20
Joined: Fri Sep 01, 2006 4:20 am
Location: seoul korea

What I want.

Post by yoon jin suk »

I want to display only one line just like other situation.

Couldn't I?

Image
Last edited by yoon jin suk on Tue Aug 28, 2007 6:32 am, edited 1 time in total.
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

I cannot see your picture.
yoon jin suk
Posts: 20
Joined: Fri Sep 01, 2006 4:20 am
Location: seoul korea

Post by yoon jin suk »

I fix the picture's address at the above message.
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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}
Post Reply