Table save in rtf-Format...

General TRichView support forum. Please post your questions here
Post Reply
Crowbar
Posts: 82
Joined: Wed Oct 11, 2006 8:54 pm
Location: Germany

Table save in rtf-Format...

Post by Crowbar »

Hi,
i have following problem:
1.
load rtf-File with table in the RichViewEdit
2.
change the border-width of table from 1 (or higher) to 0 (no border)
3.
save the rtf-File
4.
load rtf-File again and i would like the border-width to change from 0 (no border) to 1 (or higher)

But after save and again load of rtf-File, I can not more change the border-width of table. => border-width = 0 (no border) forever :?
With rvf-File works correct.
Give it a solution for this?

Regards
Crowbar
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Tables in HTML are designed by HTML model.
Tables in RTF are different, so conversion is performed (sometimes it's very complicated). It's not always possible to keep all properties of table when saving and loading from RTF.

After loading such tables from RTF, all table.VisibleBorders are set to False (RichViewActions do not allow to change table.VisibleBorders yet)
Post Reply