Always unable to export to MS Word
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Hi Sergey.
I tried to export this rtf file: http://www.megaupload.com/?d=X0OAONTC
Which settings I should use (from RTFOptions) so all images could be exported in doc file...
I tried rvrtfSaveBitmapDefault but it didn't work
Could you help me please..?
Thank you in advance.
I tried to export this rtf file: http://www.megaupload.com/?d=X0OAONTC
Which settings I should use (from RTFOptions) so all images could be exported in doc file...
I tried rvrtfSaveBitmapDefault but it didn't work
Could you help me please..?
Thank you in advance.
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Cosmin3, as I can see, this file has some metafiles (which are exported to docx) and some bitmaps (which are not).
Unfortunately, TRichView does not have an option to export bitmaps as metafiles to RTF (rvrtfSaveBitmapDefault allows only choosing how to save non-RTF image types, such as TIcon).
I can suggest using PNG for exporting bitmaps. Include PngImage in your project, call RV_RegisterPngGraphic(TPNGObject) (or TPNGImage, depending on your version of Delphi) one time before the first file operation, include rvrtfPNGInsteadOfBitmap in RTFOptions.
Unfortunately, TRichView does not have an option to export bitmaps as metafiles to RTF (rvrtfSaveBitmapDefault allows only choosing how to save non-RTF image types, such as TIcon).
I can suggest using PNG for exporting bitmaps. Include PngImage in your project, call RV_RegisterPngGraphic(TPNGObject) (or TPNGImage, depending on your version of Delphi) one time before the first file operation, include rvrtfPNGInsteadOfBitmap in RTFOptions.
-
- Posts: 1
- Joined: Mon Dec 07, 2009 7:00 am
- Location: Chapel Hill, North Carolina
- Contact:
-
- Posts: 1
- Joined: Mon Dec 07, 2009 11:22 am
- Contact: