[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: khtml and mathml
From: David Faure <david () mandrakesoft ! com>
Date: 2002-03-28 17:38:07
[Download RAW message or body]
On Thursday 28 March 2002 17:04, Ellis Whitehead wrote:
> On Thursday 28 March 2002 08:53, Cristian Tibirna wrote:
> > > 1) is there an objection to starting a MathML renderer to be used by
> > > khtml?
> >
> > I was rather thinking to make kformula widget bet embedded in khtml when
> > mathml tags are found in a document (would require moving kformula to libs
> > but...)
>
> Sounds good to me. For doing local testing, can someone tell me what I need
> to edit to have the <math> element trigger kformula embedding?
Treat it like an <object> or <embed> element, see RenderPartObject in render_frames.*
Those are the tags that currently trigger the embedding of a KParts or NSPlugin component.
If you make the mimetype kformula's mimetype, and since kformula provides
a KoDocument (which is a KParts::ReadOnlyPart), it will automatically
get embedded - doesn't KParts rock? ;-)
--
David FAURE, david@mandrakesoft.com, faure@kde.org
http://people.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic