--===============0230032234== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="82I3+IH0IqGh5yIs" Content-Disposition: inline --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable As I explained a year ago, a weight for each filter, and a maximum weight a filter-chain can take is the easiest and best solution to this problem. With each filter getting an individual weight, its very powerful. Its not clear to me how your solution would be better (I don't even get that it would stop long chains while allowing non-aburt, but very long chains) On Sun, Oct 03, 2004 at 03:30:05PM +0200, Nicolas Goutte wrote: > Since the change of the filter system (for KOffice 1.2), the filter manag= er=20 > allows absurd filter chains like: > KSpread -> plain text -> KWord -> Latex >=20 > As replacing again the filter system is going to be hard and as we are mo= ving=20 > to OASIS, it is also not much the time for a big rewrite in this code. >=20 > I had thought long about simple solution and I had the idea of a kind of= =20 > namespaces (KWord, KSpread...) but I had not any good idea how to impleme= nt=20 > it until now. >=20 > Now I have thought about extended mimetypes, like > text/plain;kword > so that especially text/plain can be differenciated. >=20 > I think the best would be to add 2 new entries to the .desktop files of= =20 > filters, adding the namespace at input and at output. (It can be differen= t,=20 > see the KPresenter to KWord filter.) >=20 > As far as I see, this method would stop absurd filter chains without limi= t any=20 > other feature of the current filter systems, like very long filter chains. >=20 > Also the seems to allow not to need changes to the code of each filter, o= nly=20 > the filter system code seems to need changes. >=20 > Have a nice day! --=20 Thomas Zander --82I3+IH0IqGh5yIs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFBYAnBCojCW6H2z/QRAjOCAJ0aMhpeDmwWd2J++akrgcjH6mdoCACdF48G oN1dU5VYvPC9TLOaoSefa8A= =tEh3 -----END PGP SIGNATURE----- --82I3+IH0IqGh5yIs-- --===============0230032234== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel --===============0230032234==--