[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: khtml and mathml
From: Ellis Whitehead <kde () ellisw ! net>
Date: 2002-03-29 0:38:35
[Download RAW message or body]
Hi David,
The formula widget will ultimately need to have access to the style and css
info of the parent document in order to be formatted consistently with the
surrounding text. I imagine that this might not be so easy/efficient when
using the KParts paradigm?
Regards,
Ellis
On Thursday 28 March 2002 12:38, David Faure wrote:
> On Thursday 28 March 2002 17:04, Ellis Whitehead wrote:
> > On Thursday 28 March 2002 08:53, Cristian Tibirna wrote:
> > > 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? ;-)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic