[OOo]Uno Slots for the 2.0


Wed 23 March 2005 By nuxeo

Uno slots are ID that uniquely identifies functions generally available
through menus. The macro recorder uses these UNO slots to call the menu
actions through dispatching. It is sometimes the quickest and only way to
cover some functionalities not available through API (like copy/paste)

The OOo Framework project
announced the publication of this list for OOo2.0. It is available at
http://www.openoffice.org/files/documents/25/2570/commandsReference.html

An other use of the slots, less known, is to call functions directly from
command line, enabling direct access to some wizards (new name for
autopilots) and toolboxes:


  • New doc from Templates : /opt/openoffice.org1.9.84/program$ ./soffice
    slot:5500

  • New presentation wizard : /opt/openoffice.org1.9.84/program$ ./soffice
    slot:6686

  • Macro organizer : /opt/openoffice.org1.9.84/program$ ./soffice
    slot:6691

  • ...


Although it is disadvised, the numerical codes seem to be required instead
of symbolic names in this particular use.

(Post originally written by Laurent Godard on the old Nuxeo blogs.)


Category: Product & Development