Hi,
I have a WPRichText made of just a table, with several rows.
There are one or several cells per row.
Some cells have just an image, and I was obliged to insert a #10 character in order to prevent the image from deleting the separating line of the cell. The size of this #10 was very small.
All this worked fine.
My problem is the following.
I want to save this table in a file and, of course, to load it later (like any text processor)
wprichtext1.SaveToFile( 'fic1.rtf',false,'' ) ;
...
wprichtext1.LoadFromFile( 'fic1.rtf' , true , '' ) ;
the problems are:
1 - the size of some images is not kept as in the original table
2 - the size of the #10 character is not kept, so the image of the cell has a bad position now.
I tried to put any of the options (wObRTF , wObStandard...). I tried them all, but the result is always the same.
so, is there a way to save the file and to load it exactly as it was ?
I spent a lot of time with my program, I have almost finished the software, and I really wouldn't like to hear "Sorry, there is no solution for this problem"
I am using the version V5.206 (that what is displayed in the properties of TWPRichText)
Thank you for any help...