[OOo]Uno Slots for the 2.0

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.

Important announcement: Join the Nuxeo team and contribute to the Nuxeo project! We have open positions in France and the UK for open source Java EE developers and sales engineers, both junior and senior.

Like this post? Share it:


Trackback Pings

Trackback URL for this entry:
http://blogs.nuxeo.com/sections/blogs/laurent_godard/2005_03_23_ooouno_slots_for_the_2_0/tbping
» The great OpenOffice API hack from Electronic Scrapbook
OpenOffice’s Dispatch API seems like a great big hack and it is something one tries to avoid using when working with the API but sometimes the API just won’t do what one would like it do i.e. Copying and Pasting content. The Dispatch API a...

Tracked on 09/22/2005 03:15 PM

Posted by Laurent Godard @ 03/23/2005 12:49 PM. - Categories: openoffice -  0 comments

Nuxeo Bloggers: Log in!
Nuxeo - Indesko - Nuxeo 5 Project
All content is copyrighted by their author.
CPSSkins is Copyright © 2003-2006 by Jean-Marc Orliaguet. | CPS is Copyright © 2002-2006 by Nuxeo SAS.