The Tools Library

To access this command...

Open Tools - Macros - LibreOffice Basic - Edit and select LibreOffice Macros container.


Note Icon

This library must be loaded before execution. Place the following statement before the first macro in your module:
GlobalScope.BasicLibraries.LoadLibrary("Tools")


Debug Module

ListBox Module

Misc Module

ModuleControls Module

Strings Module

UCB Module

Debug Module

Functions and subroutines for debugging Basic macros.

Macro

Calling parameters and comments

ActivateReadOnlyFlag

                        Sub ActivateReadOnlyFlag()
                    
DeactivateReadOnlyFlag

                        Sub DeactivateReadOnlyFlag()
                    
SetBasicReadOnlyFlag

                        Sub SetBasicReadOnlyFlag(bReadOnly as Boolean)
                    
WritedbgInfo

                        Sub WritedbgInfo(LocObject as Object)
                    
WriteDbgString

                        Sub WriteDbgString(LocString as String)
                    
ShowArray

                        Sub ShowArray(LocArray())
                    
ShowPropertyValues

                        Sub ShowPropertyValues(oLocObject as Object)
                    
ShowNameValuePair

                        Sub ShowNameValuePair(Pair())
                    
ShowElementNames

' Retrieves all the Elements of aSequence of an object, with the

' possibility to define a filter(sfilter <> "")


                        Sub ShowElementNames(
                        oLocElements() as Object,
                        Optional sFiltername as String)
                    
ShowSupportedServiceNames

' Retrieves all the supported servicenames of an object, with the

' possibility to define a filter(sfilter <> "")