From koffice-devel Wed Feb 27 22:48:44 2002 From: Ewald Snel Date: Wed, 27 Feb 2002 22:48:44 +0000 To: koffice-devel Subject: Re: How to use kwmf for KWord import filters X-MARC-Message: https://marc.info/?l=koffice-devel&m=101491244807773 Hi Thierry, [...] > actually kword store wmf file in QPicture format > (in memory and on disk). > > the following code can do the job. > #include "qwmf.h" > QWinMetaFile wmf; > QPicture pic; > if ( wmf.load( filename ) > wmf.paint( &pic ); Thanks a lot! :) I did not expect it to be this easy to use the kwmf library. Now I can fi= nally=20 fix the broken clipart import for RTF documents. > when you untar a .kwd file the /cliparts > directory contain *.wmf files. > But these files are in QPicture format > and not 'windows meta file'. I know, otherwise you wouldn't need kwmf. ;) > bye. > thierry bye, ewald _______________________________________________ koffice-devel mailing list koffice-devel@mail.kde.org http://mail.kde.org/mailman/listinfo/koffice-devel