According to the documentation
https://www.openoffice.org/api/docs/com ... oveLibrary
The most efficient way might be a global variable which is set by a sub which loads all the libraries you need. Then you just need to test that variable instead of calling isLibraryLoaded and run the sub if not.
https://www.openoffice.org/api/docs/com ... oveLibrary
So presumably you're calling a function which itself runs isLibraryLoaded, or similar code, as its first step, and then exits if loaded, meaning little cost of omitting it if loaded (edit: and using LoadLibrary). You'd have to check the source code though.loadLibrary
Causes the accessed library to be loaded from its storage if it hasn't already been loaded.
The most efficient way might be a global variable which is set by a sub which loads all the libraries you need. Then you just need to test that variable instead of calling isLibraryLoaded and run the sub if not.
Statistics: Posted by JeJe — Sun Aug 04, 2024 12:43 pm