diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2020-05-07 14:24:44 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-05-07 19:24:52 +0200 |
commit | 5ac2075d56cfff57f2254e4e5bd5a1e3a3579f83 (patch) | |
tree | fda46c21aff3de5aa68828ce5e7256806fc15398 /schema | |
parent | 36110559e9cd2b4f7c3dd173cb1cd60bb8d3df6f (diff) |
tdf#101181: unit test for glow attributes in ODF
Tests loext:glow,
loext:glow-radius,
loext:glow-color,
loext:glow-transparency
There's original decision to keep EMUs in GlowEffectRad property,
which makes this to be stored as hundreds of cm in ODF. I suppose
we should change this in a follow-up to use mm100s instead.
Change-Id: I47bf6530799ed16a55d58d0be5a8a7c3446d2df9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93633
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'schema')
-rw-r--r-- | schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng b/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng index a61f6da11f71..5e1a587fda74 100644 --- a/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng +++ b/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng @@ -920,6 +920,30 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1. <rng:ref name="boolean"/> </rng:attribute> </rng:optional> + <!-- TODO: no proposal for loext:glow* --> + <rng:optional> + <rng:attribute name="loext:glow"> + <rng:choice> + <rng:value>visible</rng:value> + <rng:value>hidden</rng:value> + </rng:choice> + </rng:attribute> + </rng:optional> + <rng:optional> + <rng:attribute name="loext:glow-radius"> + <rng:ref name="length"/> + </rng:attribute> + </rng:optional> + <rng:optional> + <rng:attribute name="loext:glow-color"> + <rng:ref name="color"/> + </rng:attribute> + </rng:optional> + <rng:optional> + <rng:attribute name="loext:glow-transparency"> + <rng:ref name="zeroToHundredPercent"/> + </rng:attribute> + </rng:optional> </rng:interleave> </rng:define> |