summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-05-18 18:48:38 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2018-05-28 19:49:45 +0200
commit08071d4de2935b64a07cb4e9bdf9fa88e850c86b (patch)
treeb9f670a68d7ae3668b3c5d1da6af1aa89855bd18 /include
parentca8f4e2961fd1a49af92e348da618827189ac7c0 (diff)
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 <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/54929 Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/unotools/compatibility.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/unotools/compatibility.hxx b/include/unotools/compatibility.hxx
index f281f58aad1d..ac8add44e025 100644
--- a/include/unotools/compatibility.hxx
+++ b/include/unotools/compatibility.hxx
@@ -60,6 +60,7 @@ class UNOTOOLS_DLLPUBLIC SvtCompatibilityEntry
ProtectForm,
MsWordTrailingBlanks,
SubtractFlysAnchoredAtFlys,
+ EmptyDbFieldHidesPara,
/* Should be at the end. Do not remove it. */
INVALID