Revision 803932

Go back to digest for 11th May 2008

Features in Office

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

Scripting support for images, allowing code such as:

function detail_onrender()
{
var img = report.objectByName("Image1");
img.setResizeMode("Stretch");
img.loadFromFile(math.value("Path"));
}

File Changes

Modified 8 files
  • /trunk/koffice/kexi/plugins/reportspgz/backend
  •   /common/krimagedata.cpp
  •   /common/krimagedata.h
  •   /common/krreportdata.cpp
  •   /common/krreportdata.h
  •   /wrtembed/reportdesigner.cpp
  •   /renderer/scripting/krscripthandler.cpp
  •   /renderer/scripting/krscriptimage.cpp
  •   /renderer/scripting/krscriptimage.h
8 files changed in total