Giter Club home page Giter Club logo

libreoffice_ooodev_ext's Introduction

OooDev Logo

OOO Development Tools Extension

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

Development

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

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.

image

Getting Started

See the Getting Started in the Wiki.

libreoffice_ooodev_ext's People

Contributors

amourspirit avatar

Stargazers

 avatar  avatar Carlos Luiz avatar Edius Ferreira avatar Abhisit Sangjan avatar

Watchers

 avatar  avatar

Forkers

flywire

libreoffice_ooodev_ext's Issues

Installation in openSUSE failed

Thanks for this great extension!

I installed OooDev.oxt v0.45.1 in LibreOffice in openSUSE, got error. Since it is available in Extensions window, I updated it to v0.45.3. Then I got:

**Error while installing extension OOO Development Tools. The error message is: <class 'SyntaxError'>: invalid syntax (py_runner.py, line 454), traceback follows
File "/usr/lib64/libreoffice/program/pythonloader.py", line 147, in writeRegistryInfo
mod = self.getModuleFromUrl( locationUrl )
File "/usr/lib64/libreoffice/program/pythonloader.py", line 100, in getModuleFromUrl
codeobject = compile( src, encfile(filename), "exec" )

at /home/abuild/rpmbuild/BUILD/libreoffice-24.2.1.2/pyuno/source/module/pyuno_runtime.cxx:947
The extension will not be installed.**

#####################
I installed ooo-dev-tools in python with sucess, but when I run "from ooodev.loader import Lo", I got errors. Is it because I don't have ooodev extension?

Thanks!

pip not installing for flatpak

Pip is uninstall itself and then trying to upgrade. This causes an issue as there is no pip installed to upgrade pip.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.