Help Writing Extension/Plugin

Creating a macro - Writing a Script - Using the API

Help Writing Extension/Plugin

Postby rallavagu » Fri May 18, 2018 1:00 am

Hello All,

Need a tutorial/help to get started on writing openoffice plugin/extension. Essentially, I would like to do the following in my plugin.

1. Open a file
2. Verify and convert the file from a format (for instance, decode a custom encoded file). If needed prompt the user for decode key with a dialog screen.
3. After editing, save with custom encoding.

I intend to use Java as programming language. I have referred to wiki at

But, I have no clue where to start. Any help would be appreciated.

Thanks in advance.
OpenOffice 4.1.5 on Mac Sierra 10.12.6
Posts: 1
Joined: Fri May 18, 2018 12:54 am

Re: Help Writing Extension/Plugin

Postby Lupp » Fri May 18, 2018 4:04 pm

A query in the web for, e.g.

LibreOffice develop extension
OpenOffice develop extension

may help to do a first step.
On Windows 10: LibreOffice 6.2 and older versions, PortableOpenOffice 4.1.5 and older, StarOffice 5.2
Lupp from München
User avatar
Posts: 2491
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

Re: Help Writing Extension/Plugin

Postby UnklDonald418 » Fri May 18, 2018 6:49 pm

Chapter 4 of the Developer's Guide has information on writing extensions.
If your problem has been solved, please edit this topic's initial post and add "[Solved]" to the beginning of the subject line
Apache OpenOffice 4.1.6 & LibreOffice - Windows 10 Professional
Posts: 1179
Joined: Wed Jun 24, 2015 12:56 am
Location: Colorado, USA

Return to Macros and UNO API

Who is online

Users browsing this forum: No registered users and 6 guests