Code Monkey home page Code Monkey logo

loeclipse's Introduction

LOEclipse

This plugin helps with developing and debugging LibreOffice extensions/components from Eclipse.

This release supports only LibreOffice 5.0 and upwards (due to some changed internal paths). It was tested with Eclipse Mars (4.5). Older versions might still work, but are untested.

For historic releases supporting older versions of LibreOffice (and OpenOffice) visit this site.

Installation

Install this plugin via the Eclipse Marketplace. Drag the button below to your running Eclipse instance.

Drag to your running Eclipse workspace to install LOEclipse

After installing the plugin, you can create new extensions/components by using File->New->Project->LibreOffice.

You can also have a look at the LibreOffice Starter Extension. It contains a step-by-step guide to get started with extension development.

Documentation

Developer and User Documentation is found in core/doc/help/html.

Development

Prerequisites

In order to build LOEclipseIntegration to produce an update site, you need to have LibreOffice, the LibreOffice SDK and Eclipse installed.

On Ubuntu for example you need libreoffice-dev and libreoffice-java-common.

Also you need to add some jar files to the build path in Eclipse. Select the Window->Preferences menu in Eclipse and open the Java->Build path->User Library configuration page. Then add a new library named LO-Classes and add the following jars from the LibreOffice installation (found in program/classes): unoil.jar juh.jar jurt.jar ridl.jar unoloader.jar. This is necessary in order to correctly build the sources.

Working with Eclipse

You can run and debug this extension with Eclipse. Just import the projects using File->Import and run/debug the project as an Eclipse installation.

Building an update site

To build an update site, run the following command in the build folder:

ant -Dlibreoffice.home=... -Declipse.home=...

where libreoffice.home is the path to the LibreOffice installation and eclipse.home the path to the eclipse installation (needs to contain a plugins and a features directory).

You can also persist the options by setting the ANT_ARGS variable to

-Dlibreoffice.home=... -Declipse.home=....

Available build targets

Run ant help to see the available build targets.

Features

  • UNO-IDL syntax highlighting
  • SDK and LibreOffice Configuration
  • Java code generation
  • New UNO project wizard
  • New UNO file wizard
  • New UNO service wizard
  • New UNO interface wizard
  • Skeleton-maker integration for basic components creation
  • URE configuration
  • New URE application wizard
  • Automatic component build and packaging
  • Automatic deployment to an existing LibreOffice installation
  • Remote debugging using the Eclipse debugger
  • Generate ant build script to build the extension without Eclipse

loeclipse's People

Contributors

smehrbrodt avatar os-cib avatar castorls avatar thorstenb avatar akkisna avatar mianto avatar

Watchers

James Cloos avatar  avatar

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.