diff options
author | Eike Rathke <erack@redhat.com> | 2016-01-11 18:06:20 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-01-11 18:10:08 +0100 |
commit | b9f89eea4e1c58a21767a219ac673befc2fe1b9a (patch) | |
tree | 2b238fba79753d4557883c59ca5859b03283e834 /sc/source/ui/src | |
parent | ab14a9708d2937bc767c14542610ce91b56dda1e (diff) |
add WEEKNUM_OOO hidden function resource
Not displayed in the Function Wizard's function list, unless used then
displayed when travelling through the formula expression.
Change-Id: I7489ce1eb9197a84c64c5293321553430baadebb
Diffstat (limited to 'sc/source/ui/src')
-rw-r--r-- | sc/source/ui/src/scfuncs.src | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sc/source/ui/src/scfuncs.src b/sc/source/ui/src/scfuncs.src index 632cd4317877..59b4cec02a9e 100644 --- a/sc/source/ui/src/scfuncs.src +++ b/sc/source/ui/src/scfuncs.src @@ -1218,6 +1218,37 @@ Resource RID_SC_FUNCTION_DESCRIPTIONS1 Text [ en-US ] = "The internal number of the date." ; }; }; + Resource SC_OPCODE_WEEKNUM_OOO + { + String 1 // Description + { + Text [ en-US ] = "Calculates the calendar week corresponding to the given date.\nThis function only provides interoperability with %PRODUCTNAME 5.0 and earlier and OpenOffice.org." ; + }; + ExtraData = + { + 2; + ID_FUNCTION_GRP_DATETIME; + U2S( HID_FUNC_WEEKNUM_OOO ); + 2; 0; 0; + 0; + }; + String 2 // Name of Parameter 1 + { + Text [ en-US ] = "Number" ; + }; + String 3 // Description of Parameter 1 + { + Text [ en-US ] = "The internal number of the date." ; + }; + String 4 // Name of Parameter 2 + { + Text [ en-US ] = "mode" ; + }; + String 5 // Description of Parameter 2 + { + Text [ en-US ] = "Indicates the first day of the week (1 = Sunday, other values = Monday)." ; + }; + }; // -=*# Resource for function EASTERSUNDAY #*=- Resource SC_OPCODE_EASTERSUNDAY { |