Handling the sidbar with API and macro's

Katarina Behrens Katarina.Behrens at cib.de
Mon May 2 09:19:39 UTC 2016


> Any news on if and how we can handle the sidebar using the API and Macro's ?

Since Libreoffice 5.1 (or was it 5.0 already?) sidebar has UNO API, so it can be 
used in macros or applications/programs that talk to Libreoffice via UNO API in 
any language that has UNO bindings (Basic, Python, Java, C++, Haskell etc.)

Entry point is XSidebarProvider [1] (available via XController2 unpublished 
interface). More relevant interfaces: XDecks, XDeck, XPanel

The following git commit [2] has some nice Basic example on how to use sidebar 
UNO API (hm, the example should perhaps move to some other location, a git 
commit is pretty bad place for it to be)



Katarina Behrens

Softwareentwicklerin LibreOffice
CIB software GmbH
Geschäftsstelle Hamburg
Flachsland 10
22083 Hamburg
T +49 (40) / 28 48 42 -235
F +49 (40) / 28 48 42 -100

Katarina.Behrens at cib.de
Sitz: München
Registergericht München, HRB 123286
Geschäftsführer: Dipl.-Ing. Ulrich Brandner

More information about the LibreOffice mailing list