metadata-editor/README.md
2016-04-07 12:32:05 +02:00

2.5 KiB

LibreOffice Starter Plugin

This repository contains some boilerplate code and config you need to get started to build your own LibreOffice Extension.

You can use this project as a starting point to write your own extension for LibreOffice.

Get started

Install LibreOffice & LibreOffice SDK (5.0 or greater)

Install Eclipse & the LOEclipse plugin

Download this starter project & unzip it

Import the project in Eclipse (File->Import->Existing Projects into Workspace)

Let Eclipse know the paths to LibreOffice & the SDK (Project->Properties->UNO Properties)

Setup Run Configuration

Go to Run->Run Configurations

Create a new run configuration of the type "LibreOffice Application"

Select the project

Run!

Hint: Show the error log to view the output of the run configuration (Window->Show View->Error Log)

The extension will be installed in LibreOffice and you will see a toolbar and a menu entry have been added to Writer.

Development Hints