How to create an alias for a slot?

Ilmari Lauhakangas ilmari.lauhakangas at libreoffice.org
Fri Oct 25 09:41:53 UTC 2024


On 25.10.2024 11.43, Heiko Tietze wrote:
> On 25.10.24 10:31 AM, Ilmari Lauhakangas wrote:
>> 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
>>
 > You're probably looking for <prop oor:name="TargetURL"
 > oor:type="xs:string">, a prototype could be .uno:ViewTrackChanges.
 >

Thanks, I was making it too complicated indeed :)

Ilmari


More information about the LibreOffice mailing list