It seems to me that you think that LibreOffice is based on Java. No, it’s pure C++, and the JARs are only to allow external Java code to communicate with LibreOffice from outside, similar to how PY files are there to allow Python code to communicate with LibreOffice.
Ah right, well I was about 50% there as I knew LO was C++ but I did think there was some referencing to Java at some point but looking more deeply, I can now see how the namespaces and LO Basic parses them to get to the required methods/function…(I think!!).
And just as I thought somethings were starting to make sense, I found myself in the clouds again as looking at one of the example links you kindly gave me ( createUnoListener
and trying to get some understanding of what is referenced and why, I noticed that there are several include statements at the top of the script (and others) ie as an example.
#include <com/sun/star/sheet/XSheetCellCursor.hpp>
but that actual .hpp file cannot be found either by reference of the link itself or in the source code package and the same goes for some other .hpp files.
I can see the related.idl files and are they the replacements for the .hpp files and if so where does the transfer/lookup take place?
Sorry for going on but for me to understand something, I have to go to its roots then work forward otherwise I am looking and something not really understanding its true nature.
Many thanks
P.R