Maybe this has been answered elsewhere, but I created a libreoffice writer extension, and I want to extend it so that the same menu appears in calc, but I can’t find any “writer” or “calc” strings in any libreoffice extensions that seem to obviously establish which Libreoffice programs they target.
Here is my extension’s source, in case its helpful.