Revision 576751

Go back to digest for 27th August 2006

Features in Office

Sebastian Sauer committed changes in /trunk/koffice/libs/kross:

Be able to use kjs e.g. from python;

import Kross
kjsaction = Kross.action("MyKjsScript")
kjsaction.setInterpreter("javascript")
kjsaction.setCode( "println(\"Hello world from Kjs\");" )
kjsaction.trigger()

File Changes

Added 2 files
  • /trunk/koffice/libs/kross/test
  •   /testkross.js
  •   /testkross.py
Modified 15 files
  • /trunk/koffice/libs/kross
  •   /CMakeLists.txt
  •   /core/action.cpp
  •   /core/action.h
  •   /core/guiclient.cpp
  •   /core/manager.cpp
  •   /core/manager.h
  •   /core/script.h
  •   /kjs/kjsscript.cpp
  •   /kjs/kjsscript.h
  •   /python/pythonscript.cpp
  •   /python/pythonscript.h
  •   /ruby/rubyscript.cpp
  •   /ruby/rubyscript.h
  •   /test/main.cpp
  •   /test/testwindow.cpp
17 files changed in total