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

--- Comment #17 from [email protected] ---
(In reply to Hossein from comment #0)
> If you look at this wiki page:
> 
> Development/DispatchCommands
> https://wiki.documentfoundation.org/Development/DispatchCommands
> 
> it contains a list of UNO commands extracted from some version of the
> LibreOffice code. Each of these commands has its own unique ID, called
> "Resource ID" or "Slot ID" (SID).
> 
> For example:
> 
> SID:                5502
> SID URL:            "slot:5502"
> Dispatch command:   ".uno:SaveAs"
> Symbolic constant:  SID_SAVEASDOC 
> 
> In some parts of the code, you can see that instead of the using the
> dispatch command, the equivalent SID is used. This can cause problems,
> because:
> 
> 1. One may use wrong SID mistakenly:
> https://git.libreoffice.org/core/+/1aa57f44c0d37ef23551943a64211dea17903873
> 
> 2. The SID may change because of some problems or technical issues:
> https://git.libreoffice.org/core/+/8ea9a8bc43ea054521a44dc8e3bc537110ca9e33
> 
> Some of the instances can be found using:
> 
>     git grep -e slot:[0-9]
> 
> So, a better approach would be using dispatch commands instead of the SID
> URLs. This task is defined to use "dispatch command" instead of "numerical
> ID" for the UNO commands. A sample conversion would be:
> 
>     "slot:5502" -> ".uno:SaveAs"

Hi,

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...)

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

Reply via email to