I’m trying to use LibreOffice BASIC to link data from a LibreOffice Base database, with shapes on a LibreOffice Draw document. I’ve made some progress accessing the data, but need to understand how I can determine which shape has been selected in the Draw document, then read some properties of that shape. I will then use the shape property to build a SQL statement to get the right data from the Base file. I’m finding this a very steep learning curve and though there is some useful information around, there is nothing I have found (yet) that shows me how to get the selected shape and read properties of it.
Any assistance (preferably and example Sub) would be greatly appreciated.