[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: koffice/filters/kspread/excel
From: Carlos Licea <carlos_licea () hotmail ! com>
Date: 2010-03-09 2:50:28
Message-ID: BLU0-SMTP19FC0E4B100D78186C326EF2340 () phx ! gbl
[Download RAW message or body]
On Monday 08 March 2010 14:45:13 Sebastian Sauer escribió:
>SVN commit 1100873 by sebsauer:
>
>negative chart:pie-offset's are possible too it seems.
>
> M +1 -1 import/excelimport.cc
> M +1 -1 sidewinder/objects.h
>
>
>--- trunk/koffice/filters/kspread/excel/import/excelimport.cc
>#1100872:1100873 @@ -1630,7 +1630,7 @@
>
> foreach(ChartObject::Format* f, series->datasetFormat) {
> if(ChartObject::PieFormat* pieformat =
>dynamic_cast<ChartObject::PieFormat*>(f)) -
>if(pieformat->pcExplode > 0)
>+ if(pieformat->pcExplode != 0)
> bodyWriter->addAttribute("chart:pie-offset",
>pieformat->pcExplode); }
>
>--- trunk/koffice/filters/kspread/excel/sidewinder/objects.h
>#1100872:1100873 @@ -250,7 +250,7 @@
> {
> public:
> int pcExplode; // from PieFormat
>- PieFormat(int pcExplode) : Format(), pcExplode(pcExplode) {}
>+ PieFormat(int pcExplode = 0) : Format(), pcExplode(pcExplode) {}
> };
>
> class ChartImpl
Not in ODF 1.1:
<define name="style-chart-properties-attlist" combine="interleave">
<optional>
<attribute name="chart:pie-offset" a:defaultValue="0">
<ref name="nonNegativeInteger"/>
</attribute>
</optional>
</define>
Neither on ODF 1.2:
"The chart:pie-offset attribute has the data type nonNegativeInteger 18.2."
Carlos Licea
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic