summaryrefslogtreecommitdiff
path: root/officecfg/registry/schema/org
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2021-09-15 15:26:41 +0200
committerMiklos Vajna <vmiklos@collabora.com>2021-09-15 16:45:57 +0200
commitf2e80f9f9b5d53ed270687f000bcb8b76dd81fb9 (patch)
tree2ed1adcc0527bb857c82bfc7fb9e9b5c9fef216d /officecfg/registry/schema/org
parent66df55d80034e924d6ca6c05b576e417873f358c (diff)
sw: add a DisableBuiltinStyles API setting
The built-in Writer styles (e.g. Caption) are written to each & every document to help compatibility: this way if the built-in style changes, existing documents are not changing. While this is a good default, sometimes document conversion workflows want to ensure that no new styles are added to the document during conversion. This new settings allows to opt in for this behavior in case not polluting the doc model is more important than the negative effects of changing built-in styles. Change-Id: I43130a215ee10ee6952724dbef2caab7174ff77f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122154 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'officecfg/registry/schema/org')
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/Common.xcs6
1 files changed, 6 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
index c9940001b573..d967d748b90a 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
@@ -2590,6 +2590,12 @@
</info>
<value>true</value>
</prop>
+ <prop oor:name="DisableBuiltinStyles" oor:type="xs:boolean" oor:nillable="false">
+ <info>
+ <desc>Determines whether to skip addition of built-in styles to the document model.</desc>
+ </info>
+ <value>false</value>
+ </prop>
</group>
<group oor:name="Security">
<info>