[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: [calligra]
From: jaham () gmx ! net
Date: 2011-01-20 17:41:48
Message-ID: 201101201841.49070.jaham () gmx ! net
[Download RAW message or body]
On Thursday 20 January 2011 08:30:55 Yue Liu wrote:
> Git commit ac70a743a0d573d789d7f64e58806e911a80c23e by Yue Liu
> Pushed by liu into branch master
>
> blur and spread support for KoShapeShadow
>
> M +163 -19 libs/flake/KoShapeShadow.cpp
> M +20 -0 libs/flake/KoShapeShadow.h
> M +42 -2 libs/widgets/KoShadowConfigWidget.cpp
> M +20 -0 libs/widgets/KoShadowConfigWidget.h
> M +25 -5 libs/widgets/KoShadowConfigWidget.ui
> M +6 -0 plugins/dockers/shadowdocker/ShadowDocker.cpp
>
> http://commits.kde.org/47e7010d/ac70a743a0d573d789d7f64e58806e911a80c23e
>
<snip>
> @@ -61,52 +66,88 @@ void KoShapeShadow::fillStyle(KoGenStyle &style,
> KoShapeSavingContext &context) style.addProperty("draw:shadow-opacity",
> QString("%1%").arg(d->color.alphaF() * 100.0));
> style.addProperty("draw:shadow-offset-x",
> QString("%1pt").arg(d->offset.x()));
> style.addProperty("draw:shadow-offset-y",
> QString("%1pt").arg(d->offset.y())); + if (d->blur != 0)
> + style.addProperty("draw:shadow-blur-radius",
> QString("%1pt").arg(d->blur)); + if (d->spread != 0)
> + style.addProperty("draw:shadow-spread",
> QString("%1pt").arg(d->spread)); }
If i recall correctly, there are no such attributes in the odf spec. So you
should use another namespace, e.g. koffice. And then, where is the corresponding
loading code?
Ciao Jan
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic