summaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorRegina Henschel <rb.henschel@t-online.de>2023-05-22 15:57:38 +0200
committerRegina Henschel <rb.henschel@t-online.de>2023-05-22 19:40:45 +0200
commit1d2830b936d02ed0882d9cc1234ddafb3bb7e8dd (patch)
tree166c38cb7f425b8b27c81d58db57eb45281a2cc4 /schema
parentb47401e12d9c45386899df0aa26653bd26c9abd4 (diff)
tdf#155271 add drawooo:display to libreoffice-schema
Commit 33ef17ed had introduced attribute drawooo:display at 2010-03-02. The entry in libreoffice-schema.rng was missing and therefore validation in unit tests fails, when this attribute occures. The attribute is written in case an object in Calc is hidden by hiding the cell to which it is anchored, for example. The attribute belongs to properties 'Visibile' and 'Printable' in 'Shape Service' in API. Change-Id: Id3d2e7984aed146fca9e2819eb183d7d7bfaf701 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152119 Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> Tested-by: Jenkins Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Diffstat (limited to 'schema')
-rw-r--r--schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng13
1 files changed, 13 insertions, 0 deletions
diff --git a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng
index 0436448644bb..2466b797933c 100644
--- a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng
+++ b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng
@@ -3620,4 +3620,17 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.
</rng:element>
</rng:define>
+ <!-- TODO no proposal, belongs to commit 33ef17ed, 2010-03-02 -->
+ <rng:define name="common-draw-shape-with-styles-attlist" combine="interleave">
+ <rng:optional>
+ <rng:attribute name="drawooo:display">
+ <rng:choice>
+ <rng:value>always</rng:value>
+ <rng:value>screen</rng:value>
+ <rng:value>printer</rng:value>
+ <rng:value>none</rng:value>
+ </rng:choice>
+ </rng:attribute>
+ </rng:optional>
+ </rng:define>
</rng:grammar>