diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:51:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:51:28 +0000 |
commit | 940b4d1848e8c70ab7642901a68594e8016caffc (patch) | |
tree | eb72f344ee6c3d9b80a7ecc079ea79e9fba8676d /connectivity/registry/README | |
parent | Initial commit. (diff) | |
download | libreoffice-upstream.tar.xz libreoffice-upstream.zip |
Adding upstream version 1:7.0.4.upstream/1%7.0.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | connectivity/registry/README | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/connectivity/registry/README b/connectivity/registry/README new file mode 100644 index 000000000..18842b7b0 --- /dev/null +++ b/connectivity/registry/README @@ -0,0 +1,25 @@ +xcu files are made from several sections, the main ones are: Properties and Features + +Property: actual setting with its underlying type and its default value + +Feature: a boolean that says "let the user change that setting in the Advanced Settings UI" + +This is checked by using officecfg/registry/schema/org/openoffice/Office/DataAccess/Drivers.xcs +and configmgr mechanism +There are two kinds of properties named "Value": +- first one is in "Property" groups and has a static oor:type="any" (can take on boolean, int and other types of values) +- second one is in "Feature" groups and has a static oor:type="boolean" so can take on only boolean values. + +Each node in Feature section must have an equivalent in Property section +Most of the time the node name of both sections should be equal, +however there are 5 known exceptions (more?): +- "UseBracketedOuterJoinSyntax" feature => "EnableOuterJoinEscape" property +- "UseDOSLineEnds" feature => "PreferDosLikeLineEnds" property +- "UseSQL92NamingConstraints" feature => "EnableSQL92Check" property +- "AppendTableAliasInSelect" feature => "AppendTableAliasName" property +- "UseKeywordAsBeforeAlias" feature => "GenerateASBeforeCorrelationName" + +See dbaccess/source/ui/dlg/DbAdminImpl.cxx, ODbDataSourceAdministrationHelper constructor, eg: +m_aIndirectPropTranslator.emplace( <ID>, <property> ) +and dbaccess/source/ui/misc/dsmeta.cxx, lcl_getFeatureMappings() function, eg: +{ <ID>, <feature> }
\ No newline at end of file |