summaryrefslogtreecommitdiff
path: root/sfx2/sdi
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2016-03-21 12:35:46 +0200
committerMaxim Monastirsky <momonasmon@gmail.com>2016-03-21 12:39:14 +0200
commitae00a95ea458a0328d7b12d25c231e9f4ac8eed8 (patch)
treee8627899f298afadd69ac64fc00f35bdfdf29684 /sfx2/sdi
parente4765bdfecf94287aeaf3f27cca185b533761784 (diff)
tdf#98745 Optional save button without the dropdown
Change-Id: I66499a9108dce76e661df9b5b45b249caf9eece8
Diffstat (limited to 'sfx2/sdi')
-rw-r--r--sfx2/sdi/docslots.sdi1
-rw-r--r--sfx2/sdi/sfx.sdi15
2 files changed, 16 insertions, 0 deletions
diff --git a/sfx2/sdi/docslots.sdi b/sfx2/sdi/docslots.sdi
index 73e1e4d790bd..8a54a6c689a5 100644
--- a/sfx2/sdi/docslots.sdi
+++ b/sfx2/sdi/docslots.sdi
@@ -124,6 +124,7 @@ interface OfficeDocument : Document
ExecMethod = ExecProps_Impl ;
StateMethod = GetState_Impl ;
]
+ SID_SAVESIMPLE []
SID_SAVEDOC // ole(req) api(final/play/rec)
[
ExecMethod = ExecFile_Impl ;
diff --git a/sfx2/sdi/sfx.sdi b/sfx2/sdi/sfx.sdi
index e1b37a584a7a..b69f94d116c7 100644
--- a/sfx2/sdi/sfx.sdi
+++ b/sfx2/sdi/sfx.sdi
@@ -3563,6 +3563,21 @@ SfxVoidItem RunBasic SID_BASICRUN
GroupId = GID_MACRO;
]
+SfxVoidItem SaveSimple SID_SAVESIMPLE
+[
+ AutoUpdate = FALSE,
+ FastCall = FALSE,
+ ReadOnlyDoc = FALSE,
+ Toggle = FALSE,
+ Container = TRUE,
+ RecordAbsolute = FALSE,
+ NoRecord;
+
+ AccelConfig = TRUE,
+ MenuConfig = TRUE,
+ ToolBoxConfig = TRUE,
+ GroupId = GID_DOCUMENT;
+]
SfxBoolItem Save SID_SAVEDOC
(SfxStringItem VersionComment SID_DOCINFO_COMMENTS,SfxStringItem Author SID_DOCINFO_AUTHOR)