diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2023-04-06 20:56:00 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2023-04-11 20:16:28 +0200 |
commit | d57abff54db6860c3e263c8874c6b606e1ba1088 (patch) | |
tree | fed7746e70f5a14f5e8e2261c58d917ed4d43399 /officecfg | |
parent | 7460e4f4a7b15cc7984adf65bc17e3d580413224 (diff) |
officecfg,cui,sw: add Common::Load::ViewPositionForAnyUser
Add setting Office::Common::Load::ViewPositionForAnyUser which if
enabled skips the user name matching against meta.xml that sw does
before restoring a view position stored as ViewTop/ViewLeft/etc. in
settings.xml in an ODF file.
This is particularly useful if the user disables the "ApplyUserData"
in Document->Properties->General, which made restoring view position
impossible.
Change-Id: Ie3ced3c4ad20a35eb8453ad1521c787b0b0c8458
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150113
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'officecfg')
-rw-r--r-- | officecfg/registry/schema/org/openoffice/Office/Common.xcs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs b/officecfg/registry/schema/org/openoffice/Office/Common.xcs index 6702c8499315..9beda4a62c81 100644 --- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs @@ -2565,6 +2565,14 @@ </info> <value>true</value> </prop> + <prop oor:name="ViewPositionForAnyUser" oor:type="xs:boolean" oor:nillable="false"> + <info> + <desc>Determines if the view position of the document is loaded with + a document even if it was saved by a different user. + </desc> + </info> + <value>false</value> + </prop> <prop oor:name="ShowOfficeUpdateDialog" oor:type="xs:boolean" oor:nillable="false"> <info> <desc>Specifies whether the office update dialog should be shown in |