This project brings to power of OOO Development Tools (OooDev) to LibreOffice as an extension.
OOO Development Tools can be pip installed or compiled into a macro; However, this can be cumbersome that is the reason for this project.
By installing this extension you can have the power of OOO Development Tools at your fingertips with no extra need to pip install or compile into a macro.
A guide on how to install OooDev
can be found here.
On LibreOffice Extensions the OooDev
extension can be found here, locally the OooDev
extension can is found in the dist folder.
Develop Notes
To update the extension from the development container, run the following command:
poetry update
This command will install the latest version of OOO Development Tools.
Edit the pyproject.toml
file and update the version number.
Then run the following command:
python -m app build
This command will build the extension and place it in the dist folder. The build command also will automatically update the dist/ooodev.ext.update.xml
. That's it. You can now install the extension.
This project is based upon the Live LibreOffice Python template. Beleow is the original readme from the template.
Original Template Readme
Live LibreOffice Python is a complete development environment for creating, debugging and testing python scripts. It leverages the power of VS Code and has LibreOffice baked in that can be access via the internal web browser or via your local web browser which allows for a much more pleasant and consistent debugging experience.
With the power of GitHub Codespaces it is possible to have VS Code and LibreOffice running together. One big benefit is a isolated and VS Code/LibreOffice environment.
Locally a project based upon this template can also be run in a Development Container.
It is also possible to use GitHub CLI/CD to create a workflow that test your project with the presents of LibreOffice. This template has a working example of testing using GitHub CLI/CD.
There are Built in Tools such as gitget that allow you to quickly add examples to your project from sources such as LibreOffice Python UNO Examples. Also there is a built in console to help debug the API.
This templated can also be leveraged to demonstrate working examples of code.
See the Getting Started in the Wiki.