[PATCH] fdo#50950 modify calc functions WEEKNUM(_ADD) to comply with ODFF1.2

Winfried Donkers W.Donkers at dci-electronics.nl
Fri Oct 5 03:25:57 PDT 2012

Attached patch modifies the calc functions WEEKNUM and WEEKNUM_ADD to respectively ISOWEEKNUM and WEEKNUM. These latter functions comply with ODFF1.2
The link to the help files has been broken, i.e. WEEKNUM now points to the (partially out of date) help text for WEEKNUM_ADD, but ISOWEEKNUM does not point to a help text.

One important matter  is still open:
When opening calc-documents that use the 'old' functions, they are not always computed correctly. The 'new' functions differ in paramter count.
I do not know where to add code for backward compatibility when opening these documents, but with some help/hints I might be able to fix that.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20121005/48f38b98/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fdo-50950-modify-calc-functions-WEEKNUM-_ADD-to-comp.patch
Type: application/octet-stream
Size: 20410 bytes
Desc: 0001-fdo-50950-modify-calc-functions-WEEKNUM-_ADD-to-comp.patch
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20121005/48f38b98/attachment-0001.obj>

More information about the LibreOffice mailing list