Can't export to rtf text with background image

General TRichView support forum. Please post your questions here
Post Reply
lexie
Posts: 9
Joined: Sat Aug 02, 2008 4:21 pm

Can't export to rtf text with background image

Post by lexie »

Hi,
I'm testing RichViewActions component and when I exported test text to rtf background image on the left isn't exported. Am I missing something? Thanks.
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Background images in RTF files are not supported.
lexie
Posts: 9
Joined: Sat Aug 02, 2008 4:21 pm

Post by lexie »

Sergey Tkachenko wrote:Background images in RTF files are not supported.
Ok, so it's completely impossible to export to pdf with background image?
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

RTF or PDF?
lexie
Posts: 9
Joined: Sat Aug 02, 2008 4:21 pm

Post by lexie »

Sergey Tkachenko wrote:RTF or PDF?
To PDF.
I use LLPDFLib lib and tried to export from richview to pdf. I tried load to TRVReportHelper from both rtf and rvf streams and when I then do export there is no background image in pdf. Probably it's better to ask author of that lib.
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Probably background image just was not loaded.

Background image cannot be loaded from RTF files.
For RVF, make sure that rvfoLoadBack is included in RVReportHelper.RichView.RVFOptions (and rvfoSaveBack is included in RVFOptions of RichView[Edit] which saved this RVF file)
lexie
Posts: 9
Joined: Sat Aug 02, 2008 4:21 pm

Post by lexie »

Sergey Tkachenko wrote:Probably background image just was not loaded.

Background image cannot be loaded from RTF files.
For RVF, make sure that rvfoLoadBack is included in RVReportHelper.RichView.RVFOptions (and rvfoSaveBack is included in RVFOptions of RichView[Edit] which saved this RVF file)
Thanks, rvfoLoadBack does the trick. ;) Now the problem is solved.
Post Reply