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


Hi Eike,


So, having wrapped my head around this ...

Function-wise my proposal is
1
* keep the Add-In WEEKNUM_ADD implementation as is, and let it get used
  when reading/writing old BIFF Excel documents as it is done today
  * rename in UI to WEEKNUM_EXCEL2007 or whatever seems fit to point out
    it is a legacy function
  * store in ODFF as COM.MICROSOFT.WEEKNUM
  * store in OOXML as WEEKNUM
2
* enhance the internal WEEKNUM function to actually implement what ODFF
  defines
  * store in ODFF as WEEKNUM
  * store in OOXML as WEEKNUM
3
* implement ISOWEEKNUM as defined by ODFF
  * store in ODFF as ISOWEEKNUM
  * store in OOXML as _xlfn.ISOWEEKNUM

For forward-compatibilty in older still supported LibreOffice branches
4
* add functionality to map ISOWEEKNUM with one parameter to WEEKNUM with
  two parameters, adding a second parameter with value 2 (which for
  those implementations means week starting on Monday and first Thursday
  is week 1 (the ISO definition)).

Does all that make sense?

Yes, it does and it sounds like a good plan.
I will start working on it, probably in two parts, first (1 and 2), followed by (3 and 4).
(My fuzzy proposal regarded 2 as a starting point.)
 
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.