summaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorShubham Goyal <22shubh22@gmail.com>2019-07-25 07:56:59 +0530
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-08-22 13:45:28 +0200
commit437fe778a81f3c39b8b259acd2d960c285d4f244 (patch)
tree2097fb4382d96889af6f1263e42703b938375822 /schema
parentbf1638f8fc629fa211a8c57f962b9a3c4c40152f (diff)
QR Code : ODF import/export
Change-Id: I6c1ae63a89d5ed34d2fa245279d4552949bb64a7 Reviewed-on: https://gerrit.libreoffice.org/74853 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'schema')
-rw-r--r--schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng22
1 files changed, 22 insertions, 0 deletions
diff --git a/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng b/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng
index 8e78fa6211f9..a8b2b55ef20f 100644
--- a/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng
+++ b/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng
@@ -1212,6 +1212,9 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.
<rng:optional>
<rng:ref name="loext-signatureline"/>
</rng:optional>
+ <rng:optional>
+ <rng:ref name="loext-qrcode"/>
+ </rng:optional>
</rng:element>
</rng:define>
@@ -1680,6 +1683,25 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.
</rng:element>
</rng:define>
+ <rng:define name="loext-qrcode">
+ <rng:element name="loext:qrcode">
+ <rng:attribute name="office:string-value">
+ <rng:ref name="string"/>
+ </rng:attribute>
+ <rng:attribute name="loext:qrcode-errorcorrection">
+ <rng:choice>
+ <rng:value>low</rng:value>
+ <rng:value>medium</rng:value>
+ <rng:value>quartile</rng:value>
+ <rng:value>high</rng:value>
+ </rng:choice>
+ </rng:attribute>
+ <rng:attribute name="loext:qrcode-border">
+ <rng:ref name="nonNegativeInteger"/>
+ </rng:attribute>
+ </rng:element>
+ </rng:define>
+
<!-- https://issues.oasis-open.org/browse/OFFICE-3761 -->
<rng:define name="loext-table">
<rng:element name="loext:table">