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

List:       koffice
Subject:    Re: status of PyKDE and Python KOffice bindings
From:       Sebastian Sauer <mail () dipe ! org>
Date:       2008-08-02 9:22:31
Message-ID: 200808021122.31227.mail () dipe ! org
[Download RAW message or body]

On Friday 01 August 2008, Boudewijn Rempt wrote:
> On Fri, 1 Aug 2008, Boudewijn Rempt wrote:
> > On Fri, 1 Aug 2008, Bogdan Bivolaru wrote:
> > > Hello,
> > >
> > > I'd like to make a Python plugin for using KOffice to check out an ODF
> > > document from a SVN repository, modify it, make a diff and then check
> > > in. I've seen KOffice 2.0 is in alpha state, what's the status of the
> > > Python bindings in KOffice 2.0? What about Kross for KOffice?
> > > What's the plan ahead of us for KOffice?
> >
> > For the KOffice libraries there aren't really bindings as there are for
> > kdelibs, so you cannot do an import "kotext" or import "kostore" in your
> > python script. But the kross bindings should be good enough and usable,
> > with the proviso that I don't think there are explicit commands to modify
> > an ODF dom from within a KOffice application, rather there are commands
> > exposed that change the document in terms of the application-internal
> > object model. What is really needed is someone who takes the current set
> > of objects and methods exposed to Kross and who, while writing scripts,
> > makes notes of what's missing and adds those missing bits to the
> > scripting plugins.
>
> _Actually_ it turns out I was unaware of the KoScriptingOdfReader class.
> That provides access to an odf document, as far as I can see.

yes and it works well :)

re PyKDE; maybe one day I'll find the time to learn a bit more about sip and 
to provide sip's for kdelibs/kross/core/* what would then allow to use 
KOffice through Kross with PyKDE, uff :-)
____________________________________
koffice mailing list
koffice@kde.org
To unsubscribe please visit:
https://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