summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorWang Lei <leiw@apache.org>2012-10-10 06:08:12 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-06-11 12:30:10 +0100
commit0946de1e2fbf8bd5ad3919429f648359d4464eca (patch)
tree5d3fa059defeeb3d3216e0f9e15eecd97917405d /formula
parent1691607cc44579bc8193db382d96038177acfc64 (diff)
Resolves: #i121120 Support RightB(), LeftB(), LenB() and MidB()
Patch by: Zhang Lu Review by: Wang Lei (cherry picked from commit 424079cb8348d77e40f7d3291578bdffbe662f34) Conflicts: formula/inc/formula/compiler.hrc formula/inc/formula/opcode.hxx oox/source/xls/formulabase.cxx sc/inc/helpids.h sc/util/hidother.src sc/util/makefile.mk Change-Id: Ia04aa69aa2764842507b36ba7cc8c99e99a314e9
Diffstat (limited to 'formula')
-rw-r--r--formula/source/core/resource/core_resource.src24
1 files changed, 24 insertions, 0 deletions
diff --git a/formula/source/core/resource/core_resource.src b/formula/source/core/resource/core_resource.src
index 42d8b5301cb5..f4c5f9654e87 100644
--- a/formula/source/core/resource/core_resource.src
+++ b/formula/source/core/resource/core_resource.src
@@ -260,6 +260,10 @@ Resource RID_STRLIST_FUNCTION_NAMES_ENGLISH_ODFF
String SC_OPCODE_RIGHT { Text = "RIGHT" ; };
String SC_OPCODE_SEARCH { Text = "SEARCH" ; };
String SC_OPCODE_MID { Text = "MID" ; };
+ String SC_OPCODE_LENB { Text = "LENB" ; };
+ String SC_OPCODE_RIGHTB { Text = "RIGHTB" ; };
+ String SC_OPCODE_LEFTB { Text = "LEFTB" ; };
+ String SC_OPCODE_MIDB { Text = "MIDB" ; };
String SC_OPCODE_TEXT { Text = "TEXT" ; };
String SC_OPCODE_SUBSTITUTE { Text = "SUBSTITUTE" ; };
String SC_OPCODE_REPT { Text = "REPT" ; };
@@ -601,6 +605,10 @@ Resource RID_STRLIST_FUNCTION_NAMES_ENGLISH
String SC_OPCODE_RIGHT { Text = "RIGHT" ; };
String SC_OPCODE_SEARCH { Text = "SEARCH" ; };
String SC_OPCODE_MID { Text = "MID" ; };
+ String SC_OPCODE_LENB { Text = "LENB" ; };
+ String SC_OPCODE_RIGHTB { Text = "RIGHTB" ; };
+ String SC_OPCODE_LEFTB { Text = "LEFTB" ; };
+ String SC_OPCODE_MIDB { Text = "MIDB" ; };
String SC_OPCODE_TEXT { Text = "TEXT" ; };
String SC_OPCODE_SUBSTITUTE { Text = "SUBSTITUTE" ; };
String SC_OPCODE_REPT { Text = "REPT" ; };
@@ -1578,6 +1586,22 @@ Resource RID_STRLIST_FUNCTION_NAMES
{
Text [ en-US ] = "MID" ;
};
+ String SC_OPCODE_LENB
+ {
+ Text [ en-US ] = "LENB" ;
+ };
+ String SC_OPCODE_RIGHTB
+ {
+ Text [ en-US ] = "RIGHTB" ;
+ };
+ String SC_OPCODE_LEFTB
+ {
+ Text [ en-US ] = "LEFTB" ;
+ };
+ String SC_OPCODE_MIDB
+ {
+ Text [ en-US ] = "MIDB" ;
+ };
String SC_OPCODE_TEXT
{
Text [ en-US ] = "TEXT" ;