[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: [calligra]
From:       Yue Liu <opuspace () gmail ! com>
Date:       2011-01-21 3:40:26
Message-ID: AANLkTimAD_AqcwE-k=w+ioXhOVQ62YBgeF-=4S59zFdm () mail ! gmail ! com
[Download RAW message or body]

Will fix today. The loading code is under KoShapeShadow::paint, and
draw:shadow-spread will be removed due to lack of application.

On Fri, Jan 21, 2011 at 1:41 AM,  <jaham@gmx.net> wrote:
> 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
>
>



-- 
Yue Liu

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic