How to create an alias for a slot?

Ilmari Lauhakangas ilmari.lauhakangas at libreoffice.org
Fri Oct 25 08:31:13 UTC 2024


The .uno:InsertHyperlinkDlg command has become obsolete (it used to open 
the Hyperlink tab in Character Formatting dialog, but the tab is gone). 
The command is considered public API, so can't be removed. It would be 
nice to alias it to HyperlinkDialog instead, but there are no docs on 
how to achieve this.

Some kind of pseudocode:

SfxBoolItem HyperlinkDialog, SfxBoolItem InsertHyperlinkDlg 
SID_HYPERLINK_DIALOG

There are rumours that this would be possible, but nobody remembers how. 
Any ideas?

I would do it in this patch https://gerrit.libreoffice.org/c/core/+/175412

Ilmari


More information about the LibreOffice mailing list