Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does KOffice support scripting?

koffice Scripting support
0
Posted

Does KOffice support scripting?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123