sw keep aspect ratio: add filter for this setting

Desktop / LibreOffice - Miklos Vajna [collabora.com] - 7 June 2021 16:49 UTC

SwViewOption::IsKeepRatio() was only in-memory, so ticking that checkbox and restarting soffice disabled it again.

Handle this similar to e.g. the zoom factor which is mapped to a
view-specific settings.xml key.

Change-Id: I8d2de7d2c7ae0dbf34230e2011f6b07f63e02fbb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116791

02c435082058 sw keep aspect ratio: add filter for this setting
sw/qa/uibase/uiview/data/keep-ratio.fodt | 21 ++++++++++++++++++
sw/qa/uibase/uiview/uiview.cxx | 38 ++++++++++++++++++++++++++++++++
sw/source/uibase/uiview/view.cxx | 18 +++++++++++++++
3 files changed, 77 insertions(+)

Upstream: cgit.freedesktop.org


  • Share