diff options
author | Vojtěch Doležal <dolezvo1@cvut.cz> | 2023-04-06 00:25:34 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-05-05 08:32:09 +0200 |
commit | d543eb2d8e45999a3d8fa6134f0d98f08acb8037 (patch) | |
tree | d5a1c6d1e2b2d5cd7084746f6428d03d9c35a802 /schema | |
parent | 671d1c6cd14b28b5960ad56086299bd69533dfd8 (diff) |
Reworked bibliography mark link target to have user-selectable type
Without this change, havign no link is not possible, if the bibliography entry has URL.
This commit adds a select box for user to choose between target types (Entry URL, specific Target URL, None, bibliography table row)
The main features are that it also makes it more obvious to the user and makes it possible to easily extend target types in the future.
As for compatibility, files from before 7b99871635 are fully compatible without any hurdles, as missing property maps to the old behaviour.
Bibliography marks saved after 7b99871635 will also revert to the old behaviour, however no actual data (such as target URLs) will be lost.
Change-Id: Iad61dd8b4df337fa202f45d117313ee47ec20c05
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150708
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'schema')
-rw-r--r-- | schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng index a3900e4f31c7..5fe259dbd5e5 100644 --- a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng +++ b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng @@ -3262,8 +3262,8 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1. <rng:name>text:issn</rng:name> <rng:name>loext:local-url</rng:name> <!-- TODO no proposal --> + <rng:name>loext:target-type</rng:name> <rng:name>loext:target-url</rng:name> - <rng:name>loext:use-target-url</rng:name> </rng:choice> <rng:ref name="string"/> </rng:attribute> |