Hi, I am attaching the 3 files. this is a port of Scalc.java to C++. The code is based on http://wiki.openoffice.org/wiki/Calc/API/Programming and borrows from examples/cpp/DocumentLoader and examples/java/Scalc.java. It can be dropped into the dir examples/cpp/Scalcpp and build similar to DocumentLoader (makefile is similar). 1. scalc.ods is a dummy blank file 2. Scalcpp.cxx is a C++ program that connects to running soffice and writes some scalc data to it. 3. Makefile supports "make ALL" and prints the program to run it. I'd appreciate if someone reviews it and incorporates it as part of dist examples. These are all new files. No existing files were changed. Thanks Neeraj
Attachment:
scalc.ods
Description: scalc.ods
Attachment:
SCalcpp.cxx
Description: SCalcpp.cxx
Attachment:
Makefile
Description: Makefile