summaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2021-07-23 13:41:27 +0200
committerMiklos Vajna <vmiklos@collabora.com>2021-07-23 14:34:35 +0200
commitee3d408fd6c909556d1671d28591cde4c0122979 (patch)
treefbd524a11840527aa461899b511a7a9046a1d4b0 /schema
parentdaffec714ef28f52ae2d70e5553500046b8b26c2 (diff)
sw bibliography, local copy: add ODF filter
Map it to <text:bibliography-mark loext:local-url="...">. Note how this can be a relative URL, while the text:url attribute is typically a http(s) URL. Change-Id: If16171c9761221841ff07824cb0466fd42911480 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119407 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'schema')
-rw-r--r--schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng50
1 files changed, 50 insertions, 0 deletions
diff --git a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng
index 2800a3eac028..8c6d29611caa 100644
--- a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng
+++ b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng
@@ -2669,4 +2669,54 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.
</rng:optional>
</rng:define>
+ <!-- TODO no proposal -->
+ <rng:define name="paragraph-content" combine="choice"
+ xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0">
+ <rng:element name="text:bibliography-mark">
+ <rng:attribute name="text:bibliography-type">
+ <rng:ref name="text-bibliography-types"/>
+ </rng:attribute>
+ <rng:zeroOrMore>
+ <rng:attribute>
+ <rng:choice>
+ <rng:name>text:identifier</rng:name>
+ <rng:name>text:address</rng:name>
+ <rng:name>text:annote</rng:name>
+ <rng:name>text:author</rng:name>
+ <rng:name>text:booktitle</rng:name>
+ <rng:name>text:chapter</rng:name>
+ <rng:name>text:edition</rng:name>
+ <rng:name>text:editor</rng:name>
+ <rng:name>text:howpublished</rng:name>
+ <rng:name>text:institution</rng:name>
+ <rng:name>text:journal</rng:name>
+ <rng:name>text:month</rng:name>
+ <rng:name>text:note</rng:name>
+ <rng:name>text:number</rng:name>
+ <rng:name>text:organizations</rng:name>
+ <rng:name>text:pages</rng:name>
+ <rng:name>text:publisher</rng:name>
+ <rng:name>text:school</rng:name>
+ <rng:name>text:series</rng:name>
+ <rng:name>text:title</rng:name>
+ <rng:name>text:report-type</rng:name>
+ <rng:name>text:volume</rng:name>
+ <rng:name>text:year</rng:name>
+ <rng:name>text:url</rng:name>
+ <rng:name>text:custom1</rng:name>
+ <rng:name>text:custom2</rng:name>
+ <rng:name>text:custom3</rng:name>
+ <rng:name>text:custom4</rng:name>
+ <rng:name>text:custom5</rng:name>
+ <rng:name>text:isbn</rng:name>
+ <rng:name>text:issn</rng:name>
+ <rng:name>loext:local-url</rng:name>
+ </rng:choice>
+ <rng:ref name="string"/>
+ </rng:attribute>
+ </rng:zeroOrMore>
+ <rng:text/>
+ </rng:element>
+ </rng:define>
+
</rng:grammar>