summaryrefslogtreecommitdiff
path: root/sw/inc/IDocumentSettingAccess.hxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2021-12-03 20:52:12 +0100
committerTomaž Vajngerl <quikee@gmail.com>2021-12-06 12:43:00 +0100
commit4c00e8fb10437fcaefe8635ef390b78376938d15 (patch)
treefd001904cf7640a13bd4a3ef3521f1c2db93fa4b /sw/inc/IDocumentSettingAccess.hxx
parent30d6787b98131fce5a280f005b75e9d496f21573 (diff)
Add image preffered DPI document setting, use it in Writer, Impress
This adds a "image preferred DPI" document setting, which is used as a suggestion of the DPI that an image should have in the document. This is currently used when the image is inserted into the document (Writer, Impress/Draw) to resize it to the preferred DPI value. Change-Id: I3ee9d409257e3c6aa2ead05144ecbba7b3b916f6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126334 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sw/inc/IDocumentSettingAccess.hxx')
-rw-r--r--sw/inc/IDocumentSettingAccess.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/inc/IDocumentSettingAccess.hxx b/sw/inc/IDocumentSettingAccess.hxx
index d20130dbd3e5..11bef9d2729d 100644
--- a/sw/inc/IDocumentSettingAccess.hxx
+++ b/sw/inc/IDocumentSettingAccess.hxx
@@ -255,6 +255,9 @@ public:
*/
virtual void Setn32DummyCompatibilityOptions2(const sal_uInt32 CompatibilityOptions2) = 0;
+ virtual sal_Int32 getImagePreferredDPI() = 0;
+ virtual void setImagePreferredDPI(sal_Int32 nValue) = 0;
+
protected:
virtual ~IDocumentSettingAccess(){};
};