Hi !
When I insert a docx document in a RichViewEdit I see all my document with the pictures.
Then I save it and load it with SaveRVF And LoadRVF method.
When I load it with rfvoIgnoreUnknownPicFmt = false in RVFOptions my text is cut after the first picture. If I turn this option to true I've all my text but no picture.
How can I get all my document with text and pictures ? Is there any options when I save or load I have to turn true ?
Thanks a lot !
Issue with pictures from docx in RVF
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
All graphic classes must be registered in order to be loaded from RVF.
TRichView already registers TBitmap, TMetafile, TIcon, TJpegImage.
New version of TRichView also registers TWicImage and TPngImage (in Delphi versions where they are available). But if you use older version of TRichView, you need to register them manually.
The only standard graphic format which is not registered is TGifImage.
Register it:
RegisterClass(TGifImage)
TRichView already registers TBitmap, TMetafile, TIcon, TJpegImage.
New version of TRichView also registers TWicImage and TPngImage (in Delphi versions where they are available). But if you use older version of TRichView, you need to register them manually.
The only standard graphic format which is not registered is TGifImage.
Register it:
RegisterClass(TGifImage)