Extension: add a context menu entry?

Hello!

I’d like to integrate a context menu entry for an extension of mine. The target is Calc’s SheetTab context menu (definition is in /share/config/soffice.cfg/modules/calc/popupmenu/sheettab.xml).

I can configure this menu using the Tools > Customize dialogue. Thus I think extension integration is possible as well :slight_smile:

How is this done in an extension AddOnUI.xcu configuration file?
I guess the syntax is very similar to what exists for the top level menu integration but I can’t find how to reference the wanted context menu name.

Thanks for any pointer.

seems pretty much an open FAQ :frowning:

One step upper for sheettab leads to
https://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/Office/UI/CalcWindowState.xcu
but doesnt give any id to hook on an xcu …

1 Like