office-gobmx/unotools/source/config
Mike Kaganski c4a3b15031 Simplify massively over-engineered compatibility options
They seem to be designed with multi-dimensional flexibility in mind;
it is stored as an array of lists, each having a name and a module.
The name may mean a filter. It may have a special name "_user" with
unclear meaning.

But it only ever used a single item in the array, named "_default",
in a single module (swriter). Everything else was only read into a
hidden listbox in Compatibility dialog, and never shown nor used.

Make ir much simpler. Just use the "_default" item. It is possible
to expand it later, if needed; but the previous complexity was bad
for maintenance and adding new options.

Translatable descriptions of the options were moved from UI file
to sw/inc/strings.hrc, and used in a structure that clearly maps
them to respective identifiers, to avoid fragile hidden dependency
on order of different lists.

Change-Id: I78ac5add8a872613e1fb388e4b8cc4fbf4362adf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162651
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-01-28 04:33:38 +01:00
..
bootstrap.cxx
cmdoptions.cxx
compatibility.cxx Simplify massively over-engineered compatibility options 2024-01-28 04:33:38 +01:00
configitem.cxx Drop std::as_const from css::uno::Sequence iterations 2024-01-27 12:43:48 +01:00
configmgr.cxx
confignode.cxx
configpaths.cxx
configvaluecontainer.cxx
defaultoptions.cxx
docinfohelper.cxx
dynamicmenuoptions.cxx
eventcfg.cxx Drop std::as_const from css::uno::Sequence iterations 2024-01-27 12:43:48 +01:00
fontcfg.cxx
historyoptions.cxx
itemholder1.cxx Simplify massively over-engineered compatibility options 2024-01-28 04:33:38 +01:00
itemholder1.hxx
lingucfg.cxx Drop std::as_const from css::uno::Sequence iterations 2024-01-27 12:43:48 +01:00
moduleoptions.cxx Drop std::as_const from css::uno::Sequence iterations 2024-01-27 12:43:48 +01:00
options.cxx
optionsdlg.cxx Remove DetectHiddenControls method of locking down UI 2024-01-22 08:30:54 +01:00
pathoptions.cxx
saveopt.cxx
searchopt.cxx
securityoptions.cxx Don't export printer name & config in privacy mode 2024-01-26 07:08:19 +01:00
syslocaleoptions.cxx
useroptions.cxx
viewoptions.cxx