summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorRegina Henschel <rb.henschel@t-online.de>2019-02-13 16:56:30 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2019-02-19 14:56:18 +0100
commitc40b39375dbc1248c8c067ee709ad3bdcb4a01ee (patch)
tree6e1be5f058c6ad294763d1f6f92bc724a2167fcb /officecfg
parentb48a2741477e4dbc79760c592c8263f34dff1e9d (diff)
tdf#123440 new expert option 'WriteLayerStateAsConfigItem'
LibreOffice writes the ODF attributes 'display' and 'protected' of the 'layer' element since version 6.2. It can read the ODF attributes since version 6.2. But they are only evaluated if non of the config items VisibleLayers, PrintableLayers and LockedLayers exists. If the option is set to 'false' no config items are written and so reading of ODF attributes is forced. Version 6.1 is the last one which needs the config items. So until version 6.1 is end of life the default value is 'true'. The patch introduces this option and adapts the relevant unit tests to consider the option. Change-Id: I2f8fc61506b14820f6bee8bf153d89363690b9e8 Reviewed-on: https://gerrit.libreoffice.org/67784 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/Common.xcs9
1 files changed, 9 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
index 324f22055eb7..277960fe719d 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
@@ -5403,6 +5403,15 @@
</info>
<value>false</value>
</prop>
+ <prop oor:name="WriteLayerStateAsConfigItem" oor:type="xs:boolean" oor:nillable="false">
+ <info>
+ <desc>If 'true', the config items VisibleLayers, PrintableLayers and
+ LockedLayers are written to 'office:settings' element, otherwise not.
+ Since LO 6.2 the ODF attributes of 'draw:layer' element are used on
+ file open, if these config items do not exist.</desc>
+ </info>
+ <value>true</value>
+ </prop>
<prop oor:name="ExperimentalMode" oor:type="xs:boolean" oor:nillable="false">
<info>
<desc>Determines if various experimental, and potentially unstable