From 2fca4bcfda927c6e63f67f70a3331d2d748e65ca Mon Sep 17 00:00:00 2001 From: Kelemen Gábor Date: Tue, 15 Oct 2019 13:34:02 +0200 Subject: tdf#86188 Compatibility setting enabling comments to footnotes For better OOXML interoperability allow disabling the insertion of comments to footnotes/endnotes. It is not possible to add comments to footnotes/endnotes in Word so no wonder Writer generates invalid XML if one tries to save comments added to footnotes as DOCX. Prevent that by adding a centrally manageably key for disabling the menu item if the cursor is in a footnote/endnote. In OOXML-heavy environments sysadmins should be able to disable this and thus hide the footgun from users. Default setting is true so it means no change compared to current feature set. Change-Id: I2f799cb3f77a47fc14fa60b55fc5689a2710aff7 Reviewed-on: https://gerrit.libreoffice.org/80829 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'officecfg/registry/schema/org/openoffice') diff --git a/officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs b/officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs index 5d781baf6b64..1712a85a30cc 100644 --- a/officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs @@ -163,6 +163,14 @@ false + + + + Specifies whether adding comments to footnotes is allowed. This is allowed for ODF but not in OOXML and can result in invalid docx files being saved. + + + true + -- cgit