diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-09-20 17:04:35 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-09-20 17:04:35 +0200 |
commit | eef3b0182af2f6196eb4c2a402d72eeaed069083 (patch) | |
tree | 59a6d25427fef2d65bb27732339b15b3f95e7e09 /sfx2/sdi | |
parent | 321c2d4426bf9f856e780c3ad089286d92265047 (diff) |
EPUB export: add uno command to trigger the filter
This is quite similar to PDF, except that by default the File menu
doesn't advertise this command. Possible to add it via Tools ->
Customize -> Menus -> Search -> EPUB.
(Reasoning for having a dedicated UNO command for EPUB is an increasing
amount of users look at EPUB as the new PDF, given how non-reflowable
PDF is hard to read on mobile devices, while EPUB is primarily
reflowable.)
Change-Id: Ib80f784a630a192f5b6ffbbfc60cb565fda7ed37
Diffstat (limited to 'sfx2/sdi')
-rw-r--r-- | sfx2/sdi/docslots.sdi | 5 | ||||
-rw-r--r-- | sfx2/sdi/sfx.sdi | 16 |
2 files changed, 21 insertions, 0 deletions
diff --git a/sfx2/sdi/docslots.sdi b/sfx2/sdi/docslots.sdi index 52476b5c16c6..04039af5728a 100644 --- a/sfx2/sdi/docslots.sdi +++ b/sfx2/sdi/docslots.sdi @@ -234,6 +234,11 @@ shell SfxObjectShell ExecMethod = ExecFile_Impl ; StateMethod = GetState_Impl ; ] + SID_EXPORTDOCASEPUB + [ + ExecMethod = ExecFile_Impl ; + StateMethod = GetState_Impl ; + ] SID_SIGNATURE [ ExecMethod = ExecFile_Impl; diff --git a/sfx2/sdi/sfx.sdi b/sfx2/sdi/sfx.sdi index 9b755fb36e6e..75b883ae5508 100644 --- a/sfx2/sdi/sfx.sdi +++ b/sfx2/sdi/sfx.sdi @@ -4778,6 +4778,22 @@ SfxVoidItem ExportDirectToPDF SID_DIRECTEXPORTDOCASPDF GroupId = SfxGroupId::Document; ] +SfxVoidItem ExportToEPUB SID_EXPORTDOCASEPUB +(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 |