I am trying to save my page to rtf, so it can be read in MS Word.
I use the following code (this is a part ofcourse):
Code
// set formatWPRichText1.TextSaveFormat := 'RTF';WPRichText1.TextLoadFormat := 'RTF';// then write contents to a fileWPRichText1.AsString;
This works fine, but when I open the file in MS Word all the links and images are gone.
When I look in the saved file, the hyperlinks are saved like this:
Code
\plain\f0\fs20\cf0{\field{\*\fldinst { HYPERLINK "http://www.aardappeldemodag.com/lees/42"}}{\fldrslt{here\plain\f0\fs20\cf0}}}\plain\f0\fs20\cf0
And images are saved like this (i replace the real imagedata):
My problems are:
- Links and images are not recognised
- I don't want the images to be save in the document, but external (the same way as they were inserted, as external), so I just want a link to the file.
I search and tried, but I couldn't get it done.
Do you have a solution for these problems?