No description
Find a file
Samuel Mehrbrodt 51983943cb Fix extension not showing up in LibreOffice >= 6.1
Unknown locales are now discarded, so set xml:lang to en-US.
2018-11-14 12:13:37 +01:00
bin Add dist/ folder, needed to generate project 2016-04-05 17:45:56 +02:00
build Add dist/ folder, needed to generate project 2016-04-05 17:45:56 +02:00
description CRLF -> LF 2016-04-06 16:47:21 +02:00
dialog Add example dialog 2016-04-07 11:55:05 +02:00
dist Fix extension not showing up in LibreOffice >= 6.1 2018-11-14 12:13:37 +01:00
idl/org/libreoffice/example Drop unused file 2016-04-06 13:39:05 +02:00
images Add toolbar & menu entry, and a shortcut 2016-04-06 16:44:09 +02:00
registry/org/openoffice/Office Fix extension not showing up in LibreOffice >= 6.1 2018-11-14 12:13:37 +01:00
source/org/libreoffice/example Add helper to retrieve frame, document etc 2017-03-29 08:35:29 +02:00
.classpath Add generated extension 2016-04-05 16:51:52 +02:00
.gitignore Add dist/ folder, needed to generate project 2016-04-05 17:45:56 +02:00
.project Add generated extension 2016-04-05 16:51:52 +02:00
.unoproject Add dist/ folder, needed to generate project 2016-04-05 17:45:56 +02:00
description.xml Add version number 2016-04-06 13:42:57 +02:00
LICENSE Initial commit 2016-04-05 16:49:42 +02:00
package.properties Add example dialog 2016-04-07 11:55:05 +02:00
README.md Improve readme 2017-03-23 13:10:40 +01:00

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