From db04be037b611e296ef9f2542322c52ed82d7a2b Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Fri, 18 May 2018 18:48:38 +0300 Subject: tdf#35798: Hide empty Database fields' paragraphs (+ compat option) With this change, Database fields that expand to empty values behave as if they are "Hidden Paragraph" fields. A compatibility option to enable this behaviour is added. The option is enabled by default, and for any non-native documents (for compatibility with other office suites). For existing (F)ODT documents, the option is disabled for those documents that don't have this setting set, to keep the layout of legacy documents. Change-Id: Ic5e8cb15a3a7d1a765a984eef4b0d97666df7dfd Reviewed-on: https://gerrit.libreoffice.org/54552 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'officecfg') diff --git a/officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs b/officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs index 03921814dcb1..1dbe8f217bd0 100644 --- a/officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs @@ -122,6 +122,12 @@ false + + + A database field (e.g., MailMerge) with empty value hides its paragraph + + true + -- cgit