Does KOffice support scripting?
Yes, KOffice supports scripting. You can script KOffice applications using the scripting language of your choice thanks to the application’s DCOP interfaces (provided that DCOP-bindings exist for your language). Using a language’s DCOP bindings you can remote control a KOffice application via this interface. You can find several DCOP bindings in the kdebindings module, be it Perl, Python or even Java. Furthermore, using the dcop command line utility from kdelibs, you can control applications from your shell, so you can basically even script KOffice using bash or whatever shell you prefer. Of course you can also access these interfaces using a C++ library or its C wrapper. Support for scripting within applications was introduced in Kexi and Krita in KOffice 1.5.0. Script developers should note that this support is new, and subject to change. As such, large scripting projects are not recommended at this stage.