office-gobmx/officecfg
Per99 ef7429f867 tdf#161765, tdf#115688 Let user choose which animation settings to use
In the accessibility option page, the user can now choose which
animation settings to use (OS's or LO's animation setting) and what
animations to allow.
This fixes also tdf#115688: "Add Checkbox option to disable animated
overlay to Tools -> Options -> Accessibility panel"

Changes due to this patch:
1. Changes in the GUI of the accessibility option page:
  - New option "Allow other animations"  (Used for "Marching Ants"
    animation, instead of old expert option "AnimationsEnabled"), now as enum.
  - Changed option "Allow animated images", now as enum: "System", "No", "Yes"
  - Changed option "Allow animated text", now as enum: "System", "No", "Yes"
  - The old animation options in Common.xcs are not renamed, but marked
    as deprecated and obsolete in their text.
These above changes are in the files: [optaccessibilitypage.ui,
optaccessibility.hxx, optaccessibility.cxx, Common.xcs]

2. Added functions to compute if the animations of images/text/other
are allowed. If "System" is chosen, then use OS’s animation setting.
See files: [settings.hxx, settings.cxx]

3. Respect the animation settings of animated images/texts in Draw and
Impress. Don't prohibit the user to enable animations in Draw and
Impress if the OS's animations are disabled.
See file: [objectcontactofpageview.cxx]

4. Respect the animation settings of animated images in Writer.
See file: [viewsh.cxx]

5. Respect the "Allow other animations" setting in Calc
(for "marching ants" animation). Don't prohibit the user to enable these
other animations in LO if the OS's animations are disabled.
See file: [overlayobject.cxx]

Change-Id: I5173f9b3d8652a17a6ae07164e874143738bcd66
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170827
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-07-31 09:29:47 +02:00
..
qa
registry tdf#161765, tdf#115688 Let user choose which animation settings to use 2024-07-31 09:29:47 +02:00
util
Configuration_officecfg.mk
CppunitTest_officecfg_cppheader_test.mk
CustomTarget_registry.mk
files.mk
Makefile
Module_officecfg.mk
Package_misc.mk
README.md

Default Settings for LibreOffice

The schema and default settings for the LibreOffice configuration database.

If you change a file in this module, then a make postprocess is needed after make officecfg.

See also: configmgr

AcceleratorKeyChecker.fodt in the util folder is a tool written in Basic that check menus for entries that use the same accelerator key. The tool goes through the menus using the accessibility api and checks the accelerator keys. For information on how to use the tool open the fodt file in LibreOffice.

For more details about the file format, see https://www.openoffice.org/projects/util/common/configuration/oor-document-format.html (also mirrored at https://web.archive.org/web/20101103025920/http://util.openoffice.org/common/configuration/oor-document-format.html).