[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: koFilter/olefilter design question
From: David Faure <david () mandrakesoft ! com>
Date: 2000-11-01 3:12:05
[Download RAW message or body]
On Sun, Oct 29, 2000 at 09:10:38PM +0000, Shaheed Haque wrote:
> Hi,
>
> I have to invoke a filter from within an OLE filter. Specifically, in the
> winword97 filter, I need to invoke the WMF filter. Here, the WMF filter
> should cause a killustrator kpart to be embedded in the kword document.
>
> The problem is that koFilterManager expects to invoke filters in the context
> of a KoDocument (mainly to display the progress bar when it is not the
> destination of the filter). There are two solutions I can think of:
>
> 1. Pass a koDocument into olefilter for just this purpose. PRO: preserves
> koFilterManager architecture. CON: koDocument is not currently used by any
> OLEfilter.
>
> 2. Allow koFilterManager to live with a NULL koDocument assuming the filter
> does not need it. PRO: allows KoFilterManager to be used as the basis of a
> non-GUI filter application. CON: not sure if this is the right thing to do.
I don't like dummy objects, so I'd vote for the latter.
If it's really just for progress info, it's not very useful
to have a kodocument... (can't check right now, sorry)
--
David FAURE
david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today
_______________________________________________
Koffice-devel mailing list
Koffice-devel@master.kde.org
http://master.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic