Add toolbar separator in an xcu file

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.


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

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

Many thanks!