ScriptForge Libraries /text/sbasic/shared/03/lib_ScriptForge.xhp

The ScriptForge Library

BASIC ScriptForge library

GlobalScope.BasicLibraries.LoadLibrary("ScriptForge")
The described modules and classes are invoked from user scripts as "Services". A generic constructor of those services has been designed for that purpose: CreateScriptService("servicename"[, arg0, Arg1, ...]) Services from external libraries can be registered with the RegisterScriptServices(...) method in order to extend the set of available services. The ScriptForge Basic library is available from %PRODUCTNAME 7.1 onwards.

Services provided by the ScriptForge library

Category Services LibreOffice Basic Array
Dictionary
Exception
FileSystem
String
TextStream
Document Content Calc
Database
Document
User Interface Dialog
DialogControl
UI
Utilities L10N
Platform
Services
Session
Timer

Database
Platform
Restricted use for SF_Root, SF_Utils modules as well as internal methods Note: Other ScriptForge undescribed modules are reserved for internal use. Their content is subject to change without notice.
All ScriptForge Basic routines or identifiers that are prefixed with an underscore character "_" are reserved for internal use. They are not meant be used in Basic macros.