I work as a software analyst/developer (PhD level) and after I looked at the SDK and I got the impression that it is boycotted by its own developers or directors.
I suppose one of the priorities for “Calc” is to provide an interface to custom functions from external shared libraries (.so in Linux), in a simple way like Microsoft Excel with VBA and C/C++ DLL.
My question is very simple:
How could call a simple C/C++ function from a shared library in Linux that adds 1 + 1 = 2.
void add(long n1, long n2, long *n3);
Is the “Declare” statement suppose to work in LibreOffice Basic? Or is replaced by something else?
Please provide a simple example.
I would deeply appreciate that and I would try to add the LibreOffice site into my donations.
I am not sure what is supposed to be achieved by the SDK; probably to manipulate elements of LibreOffice Documents externally. But don’t you think that a significant priority is to have a decent interface between macros (“Basic”) and C/C++ for simple calculations like 1 + 1 = 2?