Revision 786217

Go back to digest for 23rd March 2008

Features in Office

Adam Pigg committed changes in /trunk/koffice/kexi/plugins/reportspgz:

Lots of changes here
* Made a single library, as its unlikely that any of backend/* will be used outside the plugin
* Added much more scripting ablilty (and more to come)
* Moved all scripting related clases to backend/renderer/scripting
* Started creating classes to allow scripting of sections and objects
* Added an on_render event for rendering sections, though the way this is stored in the report is likely to change

For a sample on how to script, have a look at <a href="/issues/2008-03-23/files/Simple_Database2.kexi">http://www.piggz.co.uk/Simple_Database2.kexi</a>; in the rptRainfall report, just double click on the 'detail' header to open the script editor.

File Changes

Added 11 files
  • /trunk/koffice/kexi/plugins/reportspgz/backend/renderer/scripting
  •   /krscriptfield.cpp
  •   /krscriptfield.h
  •   /krscriptfunctions.cpp
  •   /krscriptfunctions.h
  •   /krscripthandler.cpp
  •   /krscripthandler.h
  •   /krscriptlabel.cpp
  •   /krscriptlabel.h
  •   /krscriptsection.cpp
  •   /krscriptsection.h
Deleted 6 files
  • /trunk/koffice/kexi/plugins/reportspgz/backend
  •   /CMakeLists.txt
  •   /common/CMakeLists.txt
  •   /renderer/CMakeLists.txt
  •   /renderer/krscriptfunctions.cpp
  •   /renderer/krscriptfunctions.h
  •   /wrtembed/CMakeLists.txt
Modified 16 files
  • /trunk/koffice/kexi/plugins/reportspgz
  •   /CMakeLists.txt
  •   /pgzkexireporthandler.desktop
  •   /backend/common/krfielddata.h
  •   /backend/common/krobjectdata.h
  •   /backend/common/parsexmlutils.cpp
  •   /backend/common/parsexmlutils.h
  •   /backend/renderer/orprerender.cpp
  •   /backend/renderer/orutils.cpp
  •   /backend/wrtembed/3of9paint.cpp
  •   /backend/wrtembed/code128paint.cpp
  •   /backend/wrtembed/ext3of9paint.cpp
  •   /backend/wrtembed/reportdesigner.cpp
  •   /backend/wrtembed/reportdesigner.h
  •   /backend/wrtembed/reportrectentity.cpp
  •   /backend/wrtembed/reportsection.cpp
  •   /backend/wrtembed/reportsection.h
33 files changed in total