KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   


- Content .- Fans  .- Knowledge Base  . 

KOffice python module


KDE Development Tool

Score 77%
KOffice python module

KOffice python module

Link:  http://
Minimum required   KOffice 1.4
Downloads:  781
Submitted:  Dec 8 2004
Updated:  May 1 2006


The KOffice Python module is officially buried. It's being left up now for historic purposes. It provided a way to script the KOffice applications (KWord, KSpread, KPresenter) with a nice Python API when no other way was possible (Dec 2004). I just blew the dust off and tried running the examples with the latest KOffice - all but one failed, so you probably don't want to use it.
Kross (a multi language scripting solution for KOffice, originally from the Kexi guys) is in active development, so that will provide what this attempted to be :-)

This package provides a python module for connecting to and scripting KOffice applications - you can get a range of cells and change their background colors in KSpread, insert shapes into slides in KPresenter, analyze text and make changes in a KWord instance from the comfortable environment provided by Python, etc.

It is now quite functional with the ability to script the KOffice 'big 3' - KWord, KPresenter, KSpread.
Unfortunately last time I checked other smaller KOffice apps lacked an in-depth DCOP interface to make a scripting interface a possibility.

The only dependancy (other than python) it has is dcoppython, but as i've had many people saying they couldn't build it, it comes pre-compiled in the package. Its source is available in KDE's cvs in the kdebindings module, but unfortunately it seems to be a dead project.


Message stated, officially burying the project. Changed license to LGPL.

Sun Feb 13 2005 (afternoon)
0.5-pre1 released. KWord class now functional - you can insert/append/set text in the frame, get the text in the frame, add sections of bold/italic/striked-out text. There are a few known issues, one pertaining to setting color and one pertaining to checking whether or not text is striked out. When they have been resolved (along with other bugs that will no doubt pop up) 0.5 will be released.

Sun Feb 13 2005
Precompiled dcoppython compiled with --disable-debug.

Sat Feb 12 2005
Included pcop.so in the libs dir.. funny this hasn't been pointed out as missing.

Wed Dec 22 2004
Added insertImage function to the KPresenterSlide object, as well as insertText. The KPresenterTextBox class has many functions for changing the color of text, rich text styling.
All visible items on a slide now inherit from KPresenterObject which means all shapes/images/textboxes can move, have shadows, resize, etc.

Sun Dec 12 2004
KPresenter people swiftly fixed the DCOP bug with individual shapes, meaning you have complete access to individual shapes now.
Fulfilled a couple of todos and added more comments - will generate some documentation soon.

Thu Dec 9 2004
Added insertEllipse function. insertImage coming up next..
Added a few functions to the base KPresenterShape class. You can now get and set the shadow of a shape's color and size, as well as move the object and resize it.
Again, there are a few issues with how KPresenter deals with individual dcop objects like slides and shapes. I'm gonna try and notify developer about it, but until then you may have some issues manipulating more than one shape directly.

Wed Dec 8 2004
Uploaded version 0.2. You can now insert rectangles into KPresenter slides, but due to a bug in KPresenter you'll have to wait for the next version of KOffice (or build it from CVS) before you can choose which slide the inserted shape goes on (it goes onto the active slide, whatever slide you choose otherwise).

Send to a friend
Other  Apps  from cerulean
Report inappropriate content


 Keep it coming ...

 by scobiej on: Jan 11 2005
Score 50%

Just some encouragement. Great work. Being able to add these components into PyQt apps is fantastic. Haven't tried it but I soon will.
People question the need for a seperate KDE office suite but tight integration like this with python is just one more reason. Obviously, C++, DCOP etc. can be used but python is just so much easier.

Reply to this


 Re: Keep it coming ...

 by cerulean on: Jan 17 2005
Score 50%

Thanks :-)
I'll keep it going. KWord stuff coming up next.

If anyone has any suggestions for something they'd like added to this module, please say so. While it may seem like things are limited to what the DCOP interface provides, this is not so. A lot of things are hacked together - selecting all the text in frames is one, getting a list of a range of cells is another.
If you have an idea, just mention it.

Reply to this


 very helpful

 by matt2002 on: Feb 13 2005
Score 50%

This is very helpful!

Waiting for the kword stuff now, that's what I need to use.


Reply to this

Add commentBack

How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

 Who we are
More about us
Frequently Asked Questions
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Sponsor us
Report Abuse

Copyright 2003-2016 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.