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 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
rallavagu
 
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 5.4.4 and older versions, PortableOpenOffice 4.1.5 and older, StarOffice 5.2
---
Maybe we might! (Create a powerful UFO: United Free Office)
Lupp from München
User avatar
Lupp
Volunteer
 
Posts: 1793
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.
https://wiki.openoffice.org/w/images/d/d9/DevelopersGuide_OOo3.1.0.pdf
If your problem has been solved, please edit this topic's initial post and add "[Solved]" to the subject line
Apache OpenOffice 4.1.5 - Windows 10 Professional
UnklDonald418
Volunteer
 
Posts: 752
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 2 guests