How to create a sidebar panel in OpenOffice?

Discussions about using 3rd party extension with OpenOffice.org

How to create a sidebar panel in OpenOffice?

Postby Manuel708 » Wed Jan 16, 2019 11:24 am

I want to create an OpenOffice.org plug-in that adds a sidebar. I have successfully installed OpenOffice.org, OpenOffice.org SDK and NetBeans OpenOffice plug-in.

I am familiar with Java, AWT and Swing, so no need to explain these concepts to me.

Now, I want to create a sidebar Panel(or JPanel) in OpenOffice.org Writer application. How can I do this? It would be in the left and fill all available height(while using a fixed width).

Any idea on how to implement this? I have no OpenOffice.org plug-in past experience. Thank you in advance.
Manuel708
 
Posts: 1
Joined: Wed Jan 02, 2019 7:17 am

Re: How to create a sidebar panel in OpenOffice?

Postby RoryOF » Wed Jan 16, 2019 12:12 pm

This side may be a good starting point
https://wiki.openoffice.org/wiki/Sidebar_for_Developers
Apache OpenOffice 4.1.6 on Xubuntu 18.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 28938
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: How to create a sidebar panel in OpenOffice?

Postby JeJe » Wed Jan 16, 2019 12:45 pm

Openoffice 4.1.2
Windows 8
JeJe
Volunteer
 
Posts: 508
Joined: Wed Mar 09, 2016 2:40 pm

Re: How to create a sidebar panel in OpenOffice?

Postby John_Ha » Wed Jan 16, 2019 1:28 pm

Manuel708 wrote:I want to create an OpenOffice.org ...

A minor correction. OpenOffice.org disappeared many years ago. It is now either Apache OpenOffice or LibreOffice.
AOO 4.1.6, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 6616
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: How to create a sidebar panel in OpenOffice?

Postby JeJe » Wed Jan 16, 2019 1:42 pm

One thing to be aware of is sidebar panels aren't visible when in full screen mode... I don't know whether they can be made visible... but that's one advantage of a non-modal dialog over a panel - you can have it kept showing when the user switches to full screen mode.
Openoffice 4.1.2
Windows 8
JeJe
Volunteer
 
Posts: 508
Joined: Wed Mar 09, 2016 2:40 pm

Re: How to create a sidebar panel in OpenOffice?

Postby Villeroy » Wed Jan 16, 2019 2:00 pm

I think we have to distinguish docking windows from _the_ side bar (menu:View>Sidebar). The data source browser and the "Pages" or "Slides" window in Impress/Draw appear in docking windows on top and on the left. The side bar appears always on the right side and has vertical "tabs", for hard formatting properties, navigator, stylist, galery.
The Organon extension uses a docking window on the left (which annoyingly remains after the extension has been removed).
Some docking windows seem to be fixed (Organon, data sources) whereas others can be switched to floating mode (navigator, stylist, pages, slides).
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04, no OpenOffice, LibreOffice 6.x
User avatar
Villeroy
Volunteer
 
Posts: 26730
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: How to create a sidebar panel in OpenOffice?

Postby JeJe » Wed Jan 16, 2019 3:11 pm

Helper extension by hanya

viewtopic.php?f=47&t=62176
Openoffice 4.1.2
Windows 8
JeJe
Volunteer
 
Posts: 508
Joined: Wed Mar 09, 2016 2:40 pm

Re: How to create a sidebar panel in OpenOffice?

Postby sasa » Thu Jan 17, 2019 6:55 pm

Hi,

You can try UNODIT https://github.com/kelsa-pi/unodit

UNO Dialog Tools is a Python3 command-line tool which takes a .xdl file written in the Basic Dialog Editor and generates dialog code in PyUNO (Python) in order to create LibreOffice extension, sidebar extension or embed in ODF documents.

HTH
LibreOffice 5.2 on Xubuntu 16.04
sasa
 
Posts: 5
Joined: Wed Feb 08, 2017 12:54 am


Return to Extensions

Who is online

Users browsing this forum: No registered users and 1 guest