summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2025-01-22 16:01:34 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2025-01-22 18:37:03 +0100
commit5f8a15382610e5d537d2e0fb338fffe33f8f4c09 (patch)
treed9aac1cfa21202b72fadb950cbd115bf276023fc /sc/inc
parentf8bf05b294102bbc5dc4b4763cd2288de781288a (diff)
tdf#150880: Add support for WRAPROWS function
Change-Id: I44341835403c068a61cfb79185aeabe6daf32f70 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180598 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/helpids.h1
-rw-r--r--sc/inc/scfuncs.hrc14
2 files changed, 14 insertions, 1 deletions
diff --git a/sc/inc/helpids.h b/sc/inc/helpids.h
index 1a09a2ab7d11..3152f41a17a7 100644
--- a/sc/inc/helpids.h
+++ b/sc/inc/helpids.h
@@ -605,5 +605,6 @@ inline constexpr OUString HID_FUNC_TOROW_MS = u"SC_HID_FUNC_TOROW_MS"_ustr;
inline constexpr OUString HID_FUNC_UNIQUE_MS = u"SC_HID_FUNC_UNIQUE_MS"_ustr;
inline constexpr OUString HID_FUNC_LET_MS = u"SC_HID_FUNC_LET_MS"_ustr;
inline constexpr OUString HID_FUNC_WRAPCOLS_MS = u"SC_HID_FUNC_WRAPCOLS_MS"_ustr;
+inline constexpr OUString HID_FUNC_WRAPROWS_MS = u"SC_HID_FUNC_WRAPROWS_MS"_ustr;
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/scfuncs.hrc b/sc/inc/scfuncs.hrc
index 11de057230aa..86b3c2835b74 100644
--- a/sc/inc/scfuncs.hrc
+++ b/sc/inc/scfuncs.hrc
@@ -4304,11 +4304,23 @@ const TranslateId SC_OPCODE_WRAPCOLS_ARY[] =
{
NC_("SC_OPCODE_WRAPCOLS", "Wraps the provided row or column of values by columns after a specified number of elements to form a new array."),
NC_("SC_OPCODE_WRAPCOLS", "Range"),
- NC_("SC_OPCODE_WRAPCOLS", "to range to wrap."),
+ NC_("SC_OPCODE_WRAPCOLS", "the range to wrap."),
NC_("SC_OPCODE_WRAPCOLS", "Wrap count"),
NC_("SC_OPCODE_WRAPCOLS", "The maximum number of values for each column."),
NC_("SC_OPCODE_WRAPCOLS", "Pad with"),
NC_("SC_OPCODE_WRAPCOLS", "The value with which to pad. The default is #N/A.")
};
+// -=*# Resource for function WRAPROWS #*=-
+const TranslateId SC_OPCODE_WRAPROWS_ARY[] =
+{
+ NC_("SC_OPCODE_WRAPROWS", "Wraps the provided row or column of values by rows after a specified number of elements to form a new array."),
+ NC_("SC_OPCODE_WRAPROWS", "Range"),
+ NC_("SC_OPCODE_WRAPROWS", "the range to wrap."),
+ NC_("SC_OPCODE_WRAPROWS", "Wrap count"),
+ NC_("SC_OPCODE_WRAPROWS", "The maximum number of values for each row."),
+ NC_("SC_OPCODE_WRAPROWS", "Pad with"),
+ NC_("SC_OPCODE_WRAPROWS", "The value with which to pad. The default is #N/A.")
+};
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */