LibreOffice 24.8 帮助
You can set the locale used for controlling the formatting numbers, dates and currencies in LibreOffice Basic in - Languages and Locales - General. In Basic format codes, the decimal point (.) is always used as placeholder for the decimal separator defined in your locale and will be replaced by the corresponding character.
同样适用于日期、时间和货币格式的区域设置。Basic 格式的代码的解释和显示将遵循您的区域设置。
16 种基本颜色的颜色值如下:
| 「颜色值」 | 「颜色名称」 | 
|---|---|
| 0 | 黑色 | 
| 128 | 蓝色 | 
| 32768 | 绿色 | 
| 32896 | 蓝绿色 | 
| 8388608 | 红色 | 
| 8388736 | 紫红色 | 
| 8421376 | 黄色 | 
| 8421504 | 白色 | 
| 12632256 | 灰色 | 
| 255 | 浅蓝色 | 
| 65280 | 浅绿色 | 
| 65535 | 浅蓝绿色 | 
| 16711680 | 浅红色 | 
| 16711935 | 浅紫红色 | 
| 16776960 | 浅黄色 | 
| 16777215 | 透明白色 | 
Open and select container.
Open and select container.
This library must be loaded before execution. Execute the following statement before running any macro that uses this library:
This constant, function or object is enabled with the statement Option VBASupport 1 placed before the executable program code in a module.
此语句必须添加到模块中的可执行程序代码之前。
This method is only available for Basic scripts.
This method is only available for Python scripts.
This method requires the installation of the APSO (Alternative Script Organizer for Python) extension. In turn APSO requires the presence of LibreOffice Python scripting framework. If APSO or Python are missing, an error occurs.
This service is fully supported in both Basic and Python languages. All examples are expressed using the Basic programming language and can be easily converted to Python.