Ask Your Question

Add toolbar separator in an xcu file

asked 2018-09-27 11:53:55 +0200

marojor gravatar image

I'm creating an extension for LibreOffice which defines a toolbar with a set of buttons in an Addons.xcu.

I would like to add a toolbar separator (<toolbar:toolbarseparator/>), but couldn't find any documentation about how to insert it into an xcu.

Any hint is appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2018-09-27 14:18:58 +0200

pierre-yves samyn gravatar image


I do not know if this can apply to your case (and I have not tested) but in this page I see :

URL string. Specifies the command URL that should be dispatched when the user activates the menu entry. To define a separator you can use the special command URL "private:separator". A separator ignores all other properties.

HTH - Regards

edit flag offensive delete link more


Indeed. Works like a charm. I completely misread that part of the specification.

Many thanks!

marojor gravatar imagemarojor ( 2018-09-28 16:51:06 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-09-27 11:53:55 +0200

Seen: 30 times

Last updated: Sep 27 '18