diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-09-20 17:10:31 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-09-21 14:39:02 +0200 |
commit | 39e75be271667d156044d7641ff2347b9f8a513c (patch) | |
tree | d507c28ce3f2ad1052c0db623ee2c6cda15c2cf0 /sfx2/sdi | |
parent | 917bcea4b4660c516bb18691e4f8ee60313804ef (diff) |
EPUB export: add uno command to bypass options dialog
Similarly how this is possible with PDF. The toolbar button is hidden by
default in Writer, though.
Change-Id: Iaf3b61ac2160578f7eaabd194ce8932792575c29
Reviewed-on: https://gerrit.libreoffice.org/42554
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sfx2/sdi')
-rw-r--r-- | sfx2/sdi/docslots.sdi | 5 | ||||
-rw-r--r-- | sfx2/sdi/sfx.sdi | 17 |
2 files changed, 22 insertions, 0 deletions
diff --git a/sfx2/sdi/docslots.sdi b/sfx2/sdi/docslots.sdi index 04039af5728a..a6da56c2488d 100644 --- a/sfx2/sdi/docslots.sdi +++ b/sfx2/sdi/docslots.sdi @@ -239,6 +239,11 @@ shell SfxObjectShell ExecMethod = ExecFile_Impl ; StateMethod = GetState_Impl ; ] + SID_DIRECTEXPORTDOCASEPUB + [ + ExecMethod = ExecFile_Impl ; + StateMethod = GetState_Impl ; + ] SID_SIGNATURE [ ExecMethod = ExecFile_Impl; diff --git a/sfx2/sdi/sfx.sdi b/sfx2/sdi/sfx.sdi index 75b883ae5508..bb32b9745c71 100644 --- a/sfx2/sdi/sfx.sdi +++ b/sfx2/sdi/sfx.sdi @@ -4795,6 +4795,23 @@ SfxVoidItem ExportToEPUB SID_EXPORTDOCASEPUB GroupId = SfxGroupId::Document; ] +SfxVoidItem ExportDirectToEPUB SID_DIRECTEXPORTDOCASEPUB +(SfxStringItem URL SID_FILE_NAME, SfxStringItem FilterName SID_FILTER_NAME) +[ + AutoUpdate = FALSE, + FastCall = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = TRUE, + RecordAbsolute = FALSE, + RecordPerSet; + + AccelConfig = TRUE, + MenuConfig = TRUE, + ToolBoxConfig = TRUE, + GroupId = SfxGroupId::Document; +] + SfxImageItem ImageOrientation SID_IMAGE_ORIENTATION [ |