Handling the sidbar with API and macro's

sos sos at pmg.be
Tue May 3 08:17:39 UTC 2016


Hallo Katerina,Thanks, Laurent Goddard pointed me already in this direction.Problem is the need of a extension to make the "mydeck" sidebar.Secondly I need also to create some private controls to call some macro,s from the sidebar. I mean: how to call a macro from the sidebar in the same way we can customise our toolbars and menu"s for calling some macro'sGreetzFernand


Sent from my Samsung Galaxy smartphone.
-------- Original message --------From: Katarina Behrens <Katarina.Behrens at cib.de> Date: 02/05/2016  11:19  (GMT+01:00) To: libreoffice at lists.freedesktop.org Subject: Re: Handling the sidbar with API and macro's 
Hi,

> 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)

HTH

[1] 
http://api.libreoffice.org/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1ui_1_1XSidebarProvider.html
[2] 
https://cgit.freedesktop.org/libreoffice/core/commit/?id=a64999511ae654131d997eec9a3d78478cfc1c75
-- 

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
www.cib.de
–––
Sitz: München
Registergericht München, HRB 123286
Geschäftsführer: Dipl.-Ing. Ulrich Brandner
_______________________________________________
LibreOffice mailing list
LibreOffice at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20160503/8ac96904/attachment.html>


More information about the LibreOffice mailing list