summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel <d22148483@gmail.com>2020-10-10 10:38:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-10 14:26:36 +0200
commit46772b2dbbc269c2e83f00af2cd864fb64ccf425 (patch)
treeab7491e9765049a849ca00d716515afc1af26121 /include
parent5fb0e0f68bc9d37d43e0782b903919630852904c (diff)
tdf#87963: Add percentage value to new calculated compressed image size
Change-Id: I8e9029c2fee2a42501e580737a453ad3f90eac1c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104138 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/svx/compressgraphicdialog.hxx1
-rw-r--r--include/svx/strings.hrc1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/svx/compressgraphicdialog.hxx b/include/svx/compressgraphicdialog.hxx
index a29225263efb..9c11b8dc765f 100644
--- a/include/svx/compressgraphicdialog.hxx
+++ b/include/svx/compressgraphicdialog.hxx
@@ -59,6 +59,7 @@ private:
SfxBindings& m_rBindings;
double m_dResolution;
+ sal_Int32 m_aNativeSize;
void Initialize();
diff --git a/include/svx/strings.hrc b/include/svx/strings.hrc
index 4b4ca6797e99..1e8b33826120 100644
--- a/include/svx/strings.hrc
+++ b/include/svx/strings.hrc
@@ -1368,6 +1368,7 @@
#define STR_IMAGE_ORIGINAL_SIZE NC_("STR_IMAGE_ORIGINAL_SIZE", "$(WIDTH) x $(HEIGHT) ($(WIDTH_IN_PX) x $(HEIGHT_IN_PX) px)")
#define STR_IMAGE_VIEW_SIZE NC_("STR_IMAGE_VIEW_SIZE", "$(WIDTH) x $(HEIGHT) at $(DPI) DPI")
#define STR_IMAGE_CAPACITY NC_("STR_IMAGE_CAPACITY", "$(CAPACITY) kiB")
+#define STR_IMAGE_CAPACITY_WITH_REDUCTION NC_("STR_IMAGE_CAPACITY_WITH_REDUCTION", "$(CAPACITY) kiB ($(REDUCTION) % Reduction)")
#define STR_IMAGE_GIF NC_("STR_IMAGE_GIF", "Gif image")
#define STR_IMAGE_JPEG NC_("STR_IMAGE_JPEG", "Jpeg image")
#define STR_IMAGE_PNG NC_("STR_IMAGE_PNG", "PNG image")