On 21/02/13 15:43, Regina Henschel wrote:
Michael Stahl schrieb:
On 20/02/13 22:11, Eric Seynaeve wrote:
<style:style ...>
<style:chart-properties chart:interpolation="gnm:step-end".../>
</style:style>
I guess the 'gnm:step-end' is a foreign element/attribute. Should I
implement something similar for LO ? If yes, what to use instead of
"gnm:". If no, can you point me in the right direction.
if what you implement has the same semantics as what Gnumeric does (and
i think that's your goal) then it does make sense to use the same
foreign elements.
you'd need to add a namespace declaration for the "gnm" prefix; look at
the xmlns:gnm="..." attribute that must be somewhere in the file (likely
on the root element).  you can add namespaces in
xmloff/inc/xmloff/xmlnmspe.hxx and SchXMLExport::SchXMLExport() in
xmloff/source/chart/SchXMLExport.cxx.
I'm not sure whether the namespace it necessary for an attribute 
_value_. Currently the attribute "chart:interpolation" allows only the 
values none, cubic-spline and b-spline. Gnumeric does not introduce a 
new attribute or element, but a new value for the attribute.
oops, i should have read more carefully - i completely missed that it's
a value that is "prefixed" :)
of course since Thorsten says it's already in ODF 1.3 it's best to just
use the values specified in that draft.
Context
- Re: Re: Re: fdo#61135 New feature in Calc: Stepped Lines graphs -	first part of code submitted (continued)
 
  Re: Re: New feature in Calc: Stepped Lines graphs · Eric Seynaeve
  Re: Re: New feature in Calc: Stepped Lines graphs · Eric Seynaeve
   
 
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.