[PATCH] - Scalc.java ported to C++ , uses DocumentLoader

Rai, Neeraj neeraj.rai at citi.com
Thu Jan 3 06:58:39 PST 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scalc.ods
Type: application/oleobject
Size: 7117 bytes
Desc: scalc.ods
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130103/7dca53fe/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SCalcpp.cxx
Type: application/octet-stream
Size: 12959 bytes
Desc: SCalcpp.cxx
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130103/7dca53fe/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 4809 bytes
Desc: Makefile
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130103/7dca53fe/attachment-0003.obj>


More information about the LibreOffice mailing list