Hi,

have a look at the following wiki page:

http://wiki.services.openoffice.org/wiki/Framework/Article/OpenOffice.org_2.x_Commands

The column ID contains the so called "Slot IDs". These IDs were used to access UI elements from within a URL object.

example:

slot:5500 will open the "New Document From Template" dialog.


Kind regards, Joost


Zhu Lihua schrieb:
Hi all,

I read the following code in OOo source code(itempool.hxx):

#define SFX_WHICH_MAX 4999

static int      IsWhich(USHORT nId) {
                                        return nId && nId <= SFX_WHICH_MAX; }
static int      IsSlot(USHORT nId) {
                                        return nId && nId > SFX_WHICH_MAX; }


I think: if nId > 4999, it's a "Slot". if nId <= 4999 and nId !=0 , it's a "Which".
What are the terms "slot" and "which" mean?
Thank you!


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to