diff options
author | Regina Henschel <rb.henschel@t-online.de> | 2022-02-21 23:08:10 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2022-02-24 11:43:51 +0100 |
commit | c893c0e359b82be71107e064bd2266c6daff81d7 (patch) | |
tree | cb86c0bfe6fad9fc3971382ffeecf6ed2ee5bbbe /include | |
parent | cf2449aac0141711a7610d67f7c50cd108e12443 (diff) |
tdf#147580 use valid values for extrusion-specularity
The fix for tdf#145700 has changed the internal handling so, that
values larger than 100% from MS binary import are now kept und correctly
used. But ODF 1.2 and 1.3 have the range restricted to
zeroToHundredPercent.
The patch writes values larger than 100% in extended namespace for our
'ODF 1.3 extended'. It writes draw:extrusion-specularity in any case, so
that older versions get a meaninful value, but clamps it to [0,100] if
necessary to get valid files.
Change-Id: I98298d5c3e3367ffe4a45cdc051be23679308119
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130306
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/xmloff/xmltoken.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/xmloff/xmltoken.hxx b/include/xmloff/xmltoken.hxx index 7e278b4cffc3..4f7cd7e148a4 100644 --- a/include/xmloff/xmltoken.hxx +++ b/include/xmloff/xmltoken.hxx @@ -2461,6 +2461,7 @@ namespace xmloff::token { XML_EXTRUSION_SHININESS, XML_EXTRUSION_SKEW, XML_EXTRUSION_SPECULARITY, + XML_EXTRUSION_SPECULARITY_LOEXT, XML_EXTRUSION_PROJECTION_MODE, XML_EXTRUSION_VIEWPOINT, XML_EXTRUSION_ORIGIN, |