diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2020-08-05 17:15:52 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@cib.de> | 2020-08-06 14:01:14 +0200 |
commit | ee9cb297c583cb5a2e6ed388af31fffc79f282ca (patch) | |
tree | 9a1dcee4994f9f15be3172519dba416b1fa3207f /schema | |
parent | 6a32a2dfb45865d5bc8986e753260558a7be6429 (diff) |
schema: add fieldmarks to LO schema
Change-Id: I4ff445a9cf70a3a918d9a47f9bf615167f85958b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100180
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'schema')
-rw-r--r-- | schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng b/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng index 51d905c88b13..920cc0348111 100644 --- a/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng +++ b/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng @@ -2368,4 +2368,56 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1. </rng:optional> </rng:define> + <!-- https://issues.oasis-open.org/browse/OFFICE-2096 --> + <rng:define name="paragraph-content" combine="choice" + xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"> + <rng:element name="field:fieldmark-start"> + <rng:attribute name="text:name"> + <rng:ref name="string"/> + </rng:attribute> + <rng:attribute name="field:type"> + <!-- TODO <rng:ref name="namespacedToken"/> --> + <rng:ref name="string"/> + </rng:attribute> + <rng:zeroOrMore> + <rng:element name="field:param"> + <rng:attribute name="field:name"> + <rng:ref name="string"/> + </rng:attribute> + <rng:attribute name="field:value"> + <rng:ref name="string"/> + </rng:attribute> + </rng:element> + </rng:zeroOrMore> + </rng:element> + </rng:define> + <rng:define name="paragraph-content" combine="choice" + xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"> + <rng:element name="field:fieldmark-end"> + <rng:empty/> + </rng:element> + </rng:define> + <rng:define name="paragraph-content" combine="choice" + xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"> + <rng:element name="field:fieldmark"> + <rng:attribute name="text:name"> + <rng:ref name="string"/> + </rng:attribute> + <rng:attribute name="field:type"> + <!-- TODO <rng:ref name="namespacedToken"/> --> + <rng:ref name="string"/> + </rng:attribute> + <rng:zeroOrMore> + <rng:element name="field:param"> + <rng:attribute name="field:name"> + <rng:ref name="string"/> + </rng:attribute> + <rng:attribute name="field:value"> + <rng:ref name="string"/> + </rng:attribute> + </rng:element> + </rng:zeroOrMore> + </rng:element> + </rng:define> + </rng:grammar> |