From a70ad1568ea0fb5b4d7f888fb56fcee130afc433 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 5 Dec 2022 11:44:48 +0000 Subject: Resolves: tdf#121297 weld Presentation Minimizer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ifdf1746bc9f6567a1aded233a4350f6828604c9e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143678 Tested-by: Caolán McNamara Reviewed-by: Caolán McNamara --- sd/UIConfig_simpress.mk | 5 + sd/uiconfig/simpress/ui/pmimagespage.ui | 201 +++++++++++++++++++++++ sd/uiconfig/simpress/ui/pmintropage.ui | 134 ++++++++++++++++ sd/uiconfig/simpress/ui/pmobjectspage.ui | 120 ++++++++++++++ sd/uiconfig/simpress/ui/pmslidespage.ui | 129 +++++++++++++++ sd/uiconfig/simpress/ui/pmsummarypage.ui | 267 +++++++++++++++++++++++++++++++ 6 files changed, 856 insertions(+) create mode 100644 sd/uiconfig/simpress/ui/pmimagespage.ui create mode 100644 sd/uiconfig/simpress/ui/pmintropage.ui create mode 100644 sd/uiconfig/simpress/ui/pmobjectspage.ui create mode 100644 sd/uiconfig/simpress/ui/pmslidespage.ui create mode 100644 sd/uiconfig/simpress/ui/pmsummarypage.ui (limited to 'sd') diff --git a/sd/UIConfig_simpress.mk b/sd/UIConfig_simpress.mk index 3476e409a73b..d71e7ff71f67 100644 --- a/sd/UIConfig_simpress.mk +++ b/sd/UIConfig_simpress.mk @@ -150,6 +150,11 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/simpress,\ sd/uiconfig/simpress/ui/optimpressgeneralpage \ sd/uiconfig/simpress/ui/pagesfieldbox \ sd/uiconfig/simpress/ui/photoalbum \ + sd/uiconfig/simpress/ui/pmimagespage \ + sd/uiconfig/simpress/ui/pmintropage \ + sd/uiconfig/simpress/ui/pmobjectspage \ + sd/uiconfig/simpress/ui/pmslidespage \ + sd/uiconfig/simpress/ui/pmsummarypage \ sd/uiconfig/simpress/ui/presentationdialog \ sd/uiconfig/simpress/ui/prntopts \ sd/uiconfig/simpress/ui/publishingdialog \ diff --git a/sd/uiconfig/simpress/ui/pmimagespage.ui b/sd/uiconfig/simpress/ui/pmimagespage.ui new file mode 100644 index 000000000000..f3c6068e7481 --- /dev/null +++ b/sd/uiconfig/simpress/ui/pmimagespage.ui @@ -0,0 +1,201 @@ + + + + + + 100 + 1 + 10 + + + True + False + True + True + 6 + vertical + 12 + + + True + False + 6 + 6 + True + True + 0 + none + + + + True + False + 12 + 6 + 6 + True + True + 6 + + + _Delete cropped image areas + True + True + False + True + True + + + 0 + 4 + + + + + _Embed external images + True + True + False + True + True + + + 0 + 5 + + + + + True + False + 12 + + + True + False + Reduce _image resolution + True + LB_RESOLUTION + + + False + True + 0 + + + + + True + False + 0 + + <no change> + 96 DPI (screen resolution) + 150 DPI (projector resolution) + 300 DPI (print resolution) + 600 DPI (print resolution) + + + + False + True + 1 + + + + + 0 + 3 + + + + + _Lossless compression + True + True + False + True + True + True + + + 0 + 0 + + + + + _JPEG compression + True + True + False + True + True + STR_LOSSLESS_COMPRESSION + + + 0 + 1 + + + + + True + False + 24 + 12 + + + True + False + False + _Quality in % + True + SB_QUALITY + + + False + True + 0 + + + + + True + False + True + adjustment1 + + + False + True + 1 + + + + + 0 + 2 + + + + + + + True + False + Choose settings for optimizing images + + + + + + + + False + True + 0 + + + + diff --git a/sd/uiconfig/simpress/ui/pmintropage.ui b/sd/uiconfig/simpress/ui/pmintropage.ui new file mode 100644 index 000000000000..6361cf301c79 --- /dev/null +++ b/sd/uiconfig/simpress/ui/pmintropage.ui @@ -0,0 +1,134 @@ + + + + + + True + False + True + True + 6 + vertical + 12 + + + True + False + 6 + 6 + True + True + 0 + none + + + + True + False + 12 + 6 + 6 + True + True + 6 + + + True + False + True + True + The Presentation Minimizer is used to reduce the file size of the current presentation. Images will be compressed and data, that is no longer needed, will be removed. + + At the last step of the wizard you can choose to apply the changes to the current presentation or to create an optimized new version of the presentation. + True + 58 + 58 + 0 + 0 + + + 0 + 0 + + + + + + True + False + 12 + + + True + False + True + + + 0 + 0 + + + + + _Delete + True + True + True + True + + + 1 + 0 + + + + + 0 + 3 + + + + + True + False + start + _Choose settings for Presentation Minimizer + True + LB_SETTINGS + + + 0 + 2 + + + + + True + False + + + 0 + 1 + + + + + + + True + False + Introduction + + + + + + + + False + True + 0 + + + + diff --git a/sd/uiconfig/simpress/ui/pmobjectspage.ui b/sd/uiconfig/simpress/ui/pmobjectspage.ui new file mode 100644 index 000000000000..303432106cce --- /dev/null +++ b/sd/uiconfig/simpress/ui/pmobjectspage.ui @@ -0,0 +1,120 @@ + + + + + + True + False + True + True + 6 + vertical + 12 + + + True + False + 6 + 6 + True + True + 0 + none + + + + True + False + 12 + 6 + 6 + True + True + 6 + + + Create static replacement images for OLE objects + True + True + False + True + True + True + + + 0 + 0 + + + + + For _all OLE objects + True + True + False + 18 + True + True + True + + + 0 + 1 + + + + + _For OLE objects not based on OpenDocument format + True + True + False + 18 + True + True + STR_ALL_OLE_OBJECTS + + + 0 + 2 + + + + + True + False + 6 + 12 + True + True + True + 58 + 58 + 0 + 0 + + + 0 + 3 + + + + + + + True + False + Choose settings for replacing OLE objects + + + + + + + + False + True + 0 + + + + diff --git a/sd/uiconfig/simpress/ui/pmslidespage.ui b/sd/uiconfig/simpress/ui/pmslidespage.ui new file mode 100644 index 000000000000..fdc9fa511488 --- /dev/null +++ b/sd/uiconfig/simpress/ui/pmslidespage.ui @@ -0,0 +1,129 @@ + + + + + + True + False + True + True + 6 + vertical + 12 + + + True + False + 6 + 6 + True + True + 0 + none + + + + True + False + 12 + 6 + 6 + True + True + 6 + + + Delete unused _master slides + True + True + False + True + True + + + 0 + 0 + + + + + Delete hidden _slides + True + True + False + True + True + + + 0 + 1 + + + + + Delete slides that are not used for the _custom slide show + True + False + True + False + True + True + + + + + + 0 + 2 + + + + + True + False + False + 12 + + + + + + 0 + 3 + + + + + _Clear notes + True + True + False + True + True + + + 0 + 4 + + + + + + + True + False + Choose which slides to delete + + + + + + + + False + True + 0 + + + + diff --git a/sd/uiconfig/simpress/ui/pmsummarypage.ui b/sd/uiconfig/simpress/ui/pmsummarypage.ui new file mode 100644 index 000000000000..51ec684ac6b6 --- /dev/null +++ b/sd/uiconfig/simpress/ui/pmsummarypage.ui @@ -0,0 +1,267 @@ + + + + + + True + False + True + True + 6 + vertical + 12 + + + True + False + 6 + 6 + True + True + 0 + none + + + + True + False + 12 + 6 + 6 + True + True + 6 + + + True + False + 0 + + + 0 + 0 + + + + + _Apply changes to current presentation + True + True + False + 12 + True + True + STR_SAVE_AS + + + 0 + 4 + + + + + _Duplicate presentation before applying changes + True + True + False + True + True + + + 0 + 5 + + + + + True + False + True + + + 0 + 7 + + + + + True + False + True + + + 0 + 8 + + + + + True + False + 12 + + + _Save settings as + True + True + False + True + True + + + + + + False + True + 0 + + + + + True + False + True + + + False + + + + + + + + False + True + 1 + + + + + 0 + 9 + + + + + True + False + 0 + + + 0 + 1 + + + + + True + False + 0 + + + 0 + 2 + + + + + + True + False + 18 + 6 + 12 + + + True + False + Current file size: + 0 + + + 0 + 0 + + + + + True + False + Estimated new file size: + 0 + + + 0 + 1 + + + + + True + False + 0 + + + 1 + 0 + + + + + True + False + 0 + + + 1 + 1 + + + + + 0 + 3 + + + + + True + False + 12 + True + PROGRESS + 0 + + + 0 + 6 + + + + + + + True + False + Choose where to apply the following changes + + + + + + + + False + True + 0 + + + + + 100 + 1 + 10 + + -- cgit v1.2.3