I have installed the XRayTools library and can see it in the My Macros list
If I look at the element names in GlobalScope.BasicLibraries it is there.
But GlobalScope.BasicLibraries.loadLibrary(“XRayTool”) fails with NoSuchElementException
The erally annoying thing is it used to work - it just stopped working for no apparent reason.
A complete wipe and re-install of LibreOffice and XRayTool made no difference.
This is LiberOffice version 7.3.2.2 running under Manjaro Linux