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

List:       koffice
Subject:    Re: Experiences with KWord 1.2.1 (KDE3.1)
From:       David Faure <dfaure () klaralvdalens-datakonsult ! se>
Date:       2003-02-19 16:40:46
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 19 February 2003 15:22, Nicolas Goutte wrote:
> On Wednesday 19 February 2003 13:58, Michael Thaler wrote:
> > Using another KOffice application is fine if you want to import,
> > e.g. a complicated eps picture. But if I just want to add a line
> > somewhere or an arrow, especially somewhere in the text, this is not
> > possible. Would be nice to have this feature. I am thinking about
> > lines, rectangles, ellipses, maybe bezier curves which can be directly
> > added to the text. To some extend, one can use frames and just chose
> > one border as aline, but this is obviously not an elegant solution.
> 
> I would like to make something like that. KPresenter can already do it, so it 
> would be nice if KWord could it too. However the problem that I have is that 
> KPresenter uses objects and KWord frames. That is very similar but not the 
> same. I would like to do something but I do not see when I could take time to 
> plan and do something like this.

I'd suggest a common lib for such objects, using a KoDrawingObject base
class or so, and then a KPObject and a KWFrameSet "wrappers" for
KoDrawingObjects. That way you can centralize code without having
to merge the object classes used by the applications (which wouldn't
make sense; the KWFrameSet/KWFrame concept doesn't apply to kpresenter).

The wrappers would simply "forward" paint events, geometry changes,
and (mouse) events to the KoDrawingObjects.

- -- 
David Faure -- faure@kde.org, dfaure@klaralvdalens-datakonsult.se
Qt/KDE/KOffice developer
Klarälvdalens Datakonsult AB, Platform-independent software solutions
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+U7OO72KcVAmwbhARAoBaAKCMYg5b1W9bPbp1f30uTc/hki+hNgCeI2Q4
v1cuRBIE+qtZFw2RZi+6StI=
=qMk2
-----END PGP SIGNATURE-----

____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
http://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