diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2021-12-19 22:31:31 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-12-20 06:21:49 +0100 |
commit | e34067483ef78c1569641becfe99b79a97600aed (patch) | |
tree | 2878b9477b25623e19795fa02c446027aa439ee2 /sax | |
parent | 046e6cfa544d2ffd67fd29ba7dde41b495744618 (diff) |
Set the original size in crop dialog to preferred DPI calc. size
If we have the document setting preferred image size set, then
use that as the default DPI and recalcualte the logical image
size using the DPI and the size in pixels.
This is useful so we have the preferred DPI size as 100% in the
crop dialog, so we can adjust the size in relation to that value.
Change-Id: I50806f194032e228ee2cf56a39e5735a57358d46
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127096
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sax')
0 files changed, 0 insertions, 0 deletions