trichview.com

trichview.support




Re: Table cell protection


Return to index


Author

Message

Sergey Tkachenko

Posted: 05/15/2003 18:17:40


Use OnSaveRTFExtra event:


procedure TForm3.RichViewEdit1SaveRTFExtra(Sender: TCustomRichView;

  Area: TRVRTFSaveArea; Obj: TObject; Index1, Index2: Integer;

  InStyleSheet: Boolean; var RTFCode: String);

begin

  if Area=rv_rtfs_RowProps then

    RTFCode := '\trkeep';

end;


> Hi,

>

> I have looked at it, and it seems that cells are actually broken. What I

> mean is, if a cell is too high to fit in the bottom of the page, the

> rest of the cell is moved to the next page. I would rather prefer that

> the whole cell is moved to the next page.

>

> Is that possible?

>

> I am not talking printing (my application don't print) but the exported

> RTF document when opened in word or another word processor.

>

> Martin

>

> Sergey Tkachenko wrote:

> > Hi,

> >

> > Cells are never broken, but table can be broken between rows.

> > Exclude rvtoRowsSplit from table.PrintOptions to prevent breaking.

> >

> >

> >> Hi,

> >>

> >> Is it possible to protect table cells so that the don't break on page

> >> breaks? Ie. instead of breaking a cell, it is moved to the next page.

> >>

> >> Martin

> >>

> >

> >

>





Powered by ABC Amber Outlook Express Converter