https://bugs.documentfoundation.org/show_bug.cgi?id=146150

--- Comment #18 from Caolán McNamara <[email protected]> ---
(In reply to ghiath.makhoul from comment #17)
> I would like to ask where to get those mappings - such as "slot:5502" ->
> ".uno:SaveAs" - from. Is there any file where those mappings are listed. I
> tried with the given wiki link but I didn't find everything (for example:
> 5400, 5401, 5404, 5410, 6661...)

The difficultly in seeing what a slot number means is the motivation for making
these changes.

But if you use https://wiki.documentfoundation.org/Development/DispatchCommands
to get a number close to your target number then you can generally puzzle it
out.

Lets start with 5404 and 5401 which are explicitly listed as: 
5401: SID_HELPINDEX (5401), so .uno:HelpIndex
5404: SID_HELPTIPS (5404), so .uno:HelpTip

these appear in include/sfx2/sfxsids.hrc as
#define SID_HELPINDEX (SID_SFX_START + 401)
#define SID_HELPTIPS (SID_SFX_START + 404)

(so SID_SFX_START is 5000)

There doesn't seem to be a "SID_SFX_START + 400" but there was in the past
before
commit 2fc5ef74c5200bdb82cdbbc812d7ac05a9a489dd so 5400 *was*

5400: SID_HELPONHELP (5400), .uno:HelpOnHelp

Similarly 410 is marked as "free", but in the past before
ecc3d43d2feb4ec09a3f797a4eb6d2eb25e5ee7f 5410 *was*

5410: SID_HELPMENU (5410), .uno:HelpMenu

6661 I think was removed in 01552f1e77c67f70ffd879294288612f9ab64e3b and was

6661: SID_TOGGLE_MENUBAR (6661), .uno:MenuBarVisible

It might be that in some of these cases, especially in odk examples, that the
right fix might be to just remove the uses of dead uno commands, or replace
them with some fairly arbitrary existing one, depending on what the example
might be for.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to