Help Writing Extension/Plugin

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
rallavagu
Posts: 1
Joined: Fri May 18, 2018 12:54 am

Help Writing Extension/Plugin

Post by rallavagu »

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 https://wiki.openoffice.org/wiki/JavaEclipseTuto

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
User avatar
Lupp
Volunteer
Posts: 3542
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

Re: Help Writing Extension/Plugin

Post by Lupp »

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 24.2 (new numbering) and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
UnklDonald418
Volunteer
Posts: 1544
Joined: Wed Jun 24, 2015 12:56 am
Location: Colorado, USA

Re: Help Writing Extension/Plugin

Post by UnklDonald418 »

Chapter 4 of the Developer's Guide has information on writing extensions.
https://wiki.openoffice.org/w/images/d/ ... o3.1.0.pdf
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.14 & LibreOffice 7.6.2.1 (x86_64) - Windows 10 Professional- Windows 11
Post Reply