Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi Eike,

The problem I have here is that with CEILING() and FLOOR() the second argument (significance) is 
optional 
and has its default value (1 or -1) depending on the sign of the first argument (value). 
How do I obtain this value in formula/source/core/api/token.cxx 
FormulaMissingContext::AddMoreArgs() 
and FormulaMissingContext::AddMissing()?

The same problem may apply in sc/source/filter/excel/xeformula.cxx 
XclExpFmlaCompImpl::AppendTrailingParam()

I fear I have the answer: I can't make the change to ODF-compliance backwards-compatible.
When the optional 2nd argument (significance) is not entered by the user it has a value depending 
on the value of 
the 1st argument. But this 1st argument can contain a reference, i.e. is not known at the time of 
writing the file...

This looks like the WEEKNUM/ISOWEEKNUM problem: to make the formulas comply with ODF1.2, backwards 
compatibilty is broken... :(

What is the best way to proceed?

Winfried

Context


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.