[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Re: Calling filters from within a koffice application
From:       David Faure <faure () kde ! org>
Date:       2005-05-30 13:21:55
Message-ID: 200505301521.55867.faure () kde ! org
[Download RAW message or body]

On Monday 30 May 2005 13:41, Boudewijn Rempt wrote:
> Currently the import/export code is in Krita, not in the filter, so I can call 
> that code to import an image into a document. That breaks down as soon as I 
> start adding filters for image types that are not supported by ImageMagick, 
> like exr. I'd prefer to not have a fragile system with two plugins, one a 
> KOffice filter and one a Krita internal import/export plugin for every file 
> type.
> 
> Is there a way to directly query for a suitable filter and ask it to import a 
> file without creating a new view?

Sure, take a look at KoFilterManager in kofficecore...

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
____________________________________
koffice mailing list
koffice@kde.org
To unsubscribe please visit:
https://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic