Contents

# LibreOffice Basic Help

LibreOffice provides an Application Programming Interface (API) that allows controlling the LibreOffice components with different programming languages by using the LibreOffice Software Development Kit (SDK). For more information about the LibreOffice API and the Software Development Kit, visit https://api.libreoffice.org

This help section explains the most common functions of LibreOffice Basic. For more in-depth information please refer to the LibreOffice BASIC Programming Guide on the Wiki.

### 使用 LibreOffice Basic

使用 LibreOffice Basic 進行程式設計

執行階段函式

Recording a Macro

建立 Basic 對話方塊

在對話方塊編輯器中建立控制項

在對話方塊編輯器中變更控制項的屬性

Opening a Dialog With Basic

Programming Examples for Controls in the Dialog Editor

Basic Programming Examples

### Working with VBA Macros

Working with VBA Macros

Exclusive VBA Functions and Statements

VBA supported Data Model

### Working with Macros in Python

LibreOffice Python Scripts Help

Setting up an Integrated Development Environment (IDE) for Python

Python Scripts Organization and Location

Running Python Interactive Console

Programming with Python Scripts

Python programming examples

Calling Basic Macros from Python

Creating Python Scripts with ScriptForge

### LibreOffice Python Modules

msgbox module

scriptforge module

uno module

### LibreOffice internal Basic macro libraries

LibreOffice installs a set of Basic macro libraries that can be accessed from your Basic macros.

The Tools Library

The Depot Library

The Euro Library

The FormWizard Library

The Gimmicks Library

The ImportWizard Library

The Schedule Library

The ScriptBindingLibrary Library

The ScriptForge Library

The Template Library

The WikiEditor Library

#### Help about the Help

「說明」會參照設為預設系統上的程式預設值。色彩、滑鼠動作或其他可設定項目的描述，都可能會和您的程式及系統不同。

The LibreOffice Help

The Help Index

Bookmarking Help pages

Contents - The Main Help Topics

Getting Support

Please support us!