There are many Java examples for LibreOffice SDK that are listed here: https://api.libreoffice.org/examples/examples.html#Java_examples Some of them are ported to Python, C++ and BASIC. The task here is to port examples to BASIC. If a Python port is available, porting would be much easier. All the examples are listed here: https://git.libreoffice.org/core/+/HEAD/odk/examples/
Hossein committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/930f0aa232611d751209c5cb089b9f282f26bde8 tdf#157273 Port DevelopersGuide/FirstSteps examples to BASIC It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.