summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2022-04-25 14:53:33 +0200
committerMichael Stahl <michael.stahl@allotropia.de>2022-04-26 10:39:31 +0200
commit404c51f3664ffd4f7e2c1c8bb8a12ac70954fec2 (patch)
treeb38e7a5088e4c3cbd1b7ea447b03fb595bd8f1ba /officecfg
parentc51ef466f736c9e0e192d2c7feeda0a39bca2011 (diff)
officecfg,unotools,framework,sfx2: store ReadOnly for recent docs
Add Office::Histories::HistoryItem::ReadOnly flag to configuration so that a document that was opened read-only isn't opened as editable from recent documents. Change-Id: I6985da287d3337a53a7e41e8e500421038eedb91 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133385 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/Histories.xcs5
1 files changed, 5 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Histories.xcs b/officecfg/registry/schema/org/openoffice/Office/Histories.xcs
index d4f8b27ea67e..0f4894477d4c 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Histories.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Histories.xcs
@@ -47,6 +47,11 @@
<desc>Contains a base64 encoded thumbnail of the document.</desc>
</info>
</prop>
+ <prop oor:name="ReadOnly" oor:type="xs:boolean">
+ <info>
+ <desc>Stores whether the document was opened editable or read-only.</desc>
+ </info>
+ </prop>
</group>
<group oor:name="HistoryOrder">
<info>