Skip to content

smehrbrodt/libreoffice-starter-extension

Repository files navigation

LibreOffice Starter Extension

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

  1. Install LibreOffice & the LibreOffice SDK (5.0 or greater)
  2. Install Eclipse IDE for Java Developers & the LOEclipse plugin
  3. Download this starter project & unzip it
  4. Import the project in Eclipse (File->Import->Existing Projects into Workspace)
  5. Let Eclipse know the paths to LibreOffice & the SDK (Project->Properties->LibreOffice Properties)
  6. 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)
  7. The extension will be installed in LibreOffice (see Tools->Extension Manager)
  8. To launch the example dialog, click on the newly added toolbar/menu entry which have been added to Writer (named "Starter Project/Action One").

Development Hints