summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorscito <info@scito.ch>2021-05-06 21:55:05 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2021-05-07 09:23:39 +0200
commitb37cb3e5dbb145c5a5fed094f02c1bc6dc1d31f8 (patch)
treef219b40db63df9a8bad33d9b3e219849d5c48686 /sfx2
parent7b450b6ccd9f9bee0bb47500e7bf71f9ba641e36 (diff)
tdf#90101 add .uno:PasteAsLink
No attributes or notes are pasted, i.e. only the links. Links to dates loose the date formatting currently, see tdf#142093. Paste As Link is only added as command. No entries to menus or context menus are made as this functionality is not widely used, see tdf#102255 Icons are added with tdf#141885 Change-Id: Ifbdaa076045b5f10073a658115fea211bb30e6a1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115137 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/sdi/sfx.sdi17
1 files changed, 17 insertions, 0 deletions
diff --git a/sfx2/sdi/sfx.sdi b/sfx2/sdi/sfx.sdi
index 0de7ed400c78..43dc58e317bf 100644
--- a/sfx2/sdi/sfx.sdi
+++ b/sfx2/sdi/sfx.sdi
@@ -3160,6 +3160,23 @@ SfxVoidItem PasteTransposed SID_PASTE_TRANSPOSED
GroupId = SfxGroupId::Edit;
]
+SfxVoidItem PasteAsLink SID_PASTE_AS_LINK
+
+[
+ AutoUpdate = FALSE,
+ FastCall = TRUE,
+ ReadOnlyDoc = FALSE,
+ Toggle = FALSE,
+ Container = FALSE,
+ RecordAbsolute = FALSE,
+ RecordPerSet;
+
+ AccelConfig = TRUE,
+ MenuConfig = TRUE,
+ ToolBoxConfig = TRUE,
+ GroupId = SfxGroupId::Edit;
+]
+
SfxVoidItem PasteTextImportDialog SID_PASTE_TEXTIMPORT_DIALOG
[