LibreOfficeDev Python 脚本帮助
LibreOfficeDev 提供应用程序编程接口 (API),允许通过 LibreOfficeDev 软件开发套件 (SDK) 使用不同的编程语言控制 LibreOfficeDev 组件。关于 LibreOfficeDev API 及 SDK 的更多信息,请访问 https://api.libreoffice.org 获取
本帮助段落讲解 LibreOfficeDev 最常见的 Python 脚本功能。要获取更多深入的信息,请参考 Wiki 中的《设计与开发 Python 应用程序》。
LibreOfficeDev 中的 Python 脚本
您可以通过选择「
」来执行 Python 脚本。脚本可使用您偏好的文本编辑器来编辑。Python 脚本存放在不同位置,下文将详细说明。您可以参考编程示例,其中有宏演示如何在 LibreOfficeDev 中运行 Python 交互控制台。The LibreOfficeDev scripting framework for Python is optional on some GNU/Linux distributions. If it is installed, selecting LibreOfficeDev Macros for the presence of HelloWorld – HelloWorldPython macro is sufficient. If absent, please refer to your distribution documentation in order to install the LibreOfficeDev scripting framework for Python.
and checking