Development/DispatchCommands

This page is about the dispatch commands.

Information Validity
The following information has been produced 2022, January 5th from the libreoffice-7-3 branch

Script example
The listed Dispatch commands are used in conjunction with the  service.

The columns
The internal command names are reserved for the core source code. The internal value is for info only. It is strongly recommended to not use them in the code. Names and values are meaningless for scripts and extensions.

The following legend is used for the mode column:


 * U : Autoupdate, M : MenuConfig, T : ToolboxConfig, A : AccelConfig

Tool to update the page
Parts of this page are generated with a script which analyses a number of source files. The concerned files are listed in the paragraph.
 * XCU files: the uno commands are classified on the XCU file where they belong to in the first place.
 * SDI files: they reveal the arguments that may be passed and are a second choice classification.
 * HXX files: they are produced by a LibreOffice "build".

By command, and for each XCU and SDI file, a direct link to the relevant OpenGrok page and line is provided. HXX files point to their index in the list, the line number appearing in a tooltip.

To produce an updated version of the current page :


 * Build LibreOffice
 * Launch next script . Source file HERE.
 * Update the wiki including the paragraph

Source files
(1) https://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/Office/UI/BasicIDECommands.xcu

(2) https://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu

(3) https://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/Office/UI/ChartCommands.xcu

(4) https://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/Office/UI/DbuCommands.xcu

(5) https://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/Office/UI/DrawImpressCommands.xcu

(6) https://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu

(7) https://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/Office/UI/MathCommands.xcu

(8) https://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/Office/UI/ReportCommands.xcu

(9) https://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu

(10) https://opengrok.libreoffice.org/xref/core/sc/sdi/scalc.sdi

(11) https://opengrok.libreoffice.org/xref/core/sd/sdi/sdraw.sdi

(12) https://opengrok.libreoffice.org/xref/core/sfx2/sdi/sfx.sdi

(13) https://opengrok.libreoffice.org/xref/core/starmath/sdi/smath.sdi

(14) https://opengrok.libreoffice.org/xref/core/svx/sdi/svx.sdi

(15) https://opengrok.libreoffice.org/xref/core/sw/sdi/swriter.sdi

(16) workdir/SdiTarget/basctl/sdi/basslots.hxx

(17) workdir/SdiTarget/sc/sdi/scslots.hxx

(18) workdir/SdiTarget/sd/sdi/sdgslots.hxx

(19) workdir/SdiTarget/sd/sdi/sdslots.hxx

(20) workdir/SdiTarget/sfx2/sdi/sfxslots.hxx

(21) workdir/SdiTarget/starmath/sdi/smslots.hxx

(22) workdir/SdiTarget/svx/sdi/svxslots.hxx

(23) workdir/SdiTarget/sw/sdi/swslots.hxx