tdf#111705: Add the new maj and hadd operators to the elements panel

Change-Id: Ib62592d86a1bf2e5d94348fca731473dba92be74
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156996
Tested-by: Jenkins
Reviewed-by: خالد حسني <khaled@libreoffice.org>
This commit is contained in:
Khaled Hosny
2023-09-18 08:09:00 +02:00
committed by خالد حسني
parent 49a3e60685
commit 2cedcebc15
3 changed files with 26 additions and 0 deletions
+8
View File
@@ -119,6 +119,10 @@
#define RID_SUM_FROMX_HELP NC_("RID_SUM_FROMX_HELP", "Sum Subscript Bottom" )
#define RID_SUM_TOX_HELP NC_("RID_SUM_TOX_HELP", "Sum Superscript Top" )
#define RID_SUM_FROMTOX_HELP NC_("RID_SUM_FROMTOX_HELP", "Sum Sup/Sub script" )
#define RID_MAJX_HELP NC_("RID_MAJX_HELP", "Summation (Arabic)" )
#define RID_MAJ_FROMX_HELP NC_("RID_MAJ_FROMX_HELP", "Summation Subscript Bottom (Arabic)" )
#define RID_MAJ_TOX_HELP NC_("RID_MAJ_TOX_HELP", "Summation Superscript Top (Arabic)" )
#define RID_MAJ_FROMTOX_HELP NC_("RID_MAJ_FROMTOX_HELP", "Summation Sup/Sub script (Arabic)" )
#define RID_PRODX_HELP NC_("RID_PRODX_HELP", "Product" )
#define RID_PROD_FROMX_HELP NC_("RID_PROD_FROMX_HELP", "Product Subscript Bottom" )
#define RID_PROD_TOX_HELP NC_("RID_PROD_TOX_HELP", "Product Superscript Top" )
@@ -139,6 +143,10 @@
#define RID_LIMSUP_FROMX_HELP NC_("RID_LIMSUP_FROMX_HELP", "Limit Superior Subscript Bottom" )
#define RID_LIMSUP_TOX_HELP NC_("RID_LIMSUP_TOX_HELP", "Limit Superior Superscript Top" )
#define RID_LIMSUP_FROMTOX_HELP NC_("RID_LIMSUP_FROMTOX_HELP", "Limit Superior Sup/Sub script" )
#define RID_HADDX_HELP NC_("RID_HADDX_HELP", "Limits (Persian)" )
#define RID_HADD_FROMX_HELP NC_("RID_HADD_FROMX_HELP", "Limits Subscript Bottom (Persian)" )
#define RID_HADD_TOX_HELP NC_("RID_HADD_TOX_HELP", "Limits Superscript Top (Persian)" )
#define RID_HADD_FROMTOX_HELP NC_("RID_HADD_FROMTOX_HELP", "Limits Sup/Sub script (Persian)" )
#define RID_EXISTS_HELP NC_("RID_EXISTS_HELP", "There Exists" )
#define RID_NOTEXISTS_HELP NC_("RID_NOTEXISTS_HELP", "There does not exist" )
#define RID_FORALL_HELP NC_("RID_FORALL_HELP", "For all" )
+8
View File
@@ -110,6 +110,10 @@ inline constexpr OUStringLiteral RID_UNDOFORMATNAME = u"Format";
#define RID_SUM_FROMX "sum from{<?>} <?> "
#define RID_SUM_TOX "sum to{<?>} <?> "
#define RID_SUM_FROMTOX "sum from{<?>} to{<?>} <?> "
#define RID_MAJX "maj <?> "
#define RID_MAJ_FROMX "maj from{<?>} <?> "
#define RID_MAJ_TOX "maj to{<?>} <?> "
#define RID_MAJ_FROMTOX "maj from{<?>} to{<?>} <?> "
#define RID_PRODX "prod <?> "
#define RID_PROD_FROMX "prod from{<?>} <?> "
#define RID_PROD_TOX "prod to{<?>} <?> "
@@ -130,6 +134,10 @@ inline constexpr OUStringLiteral RID_UNDOFORMATNAME = u"Format";
#define RID_LIMSUP_FROMX "limsup from{<?>} <?> "
#define RID_LIMSUP_TOX "limsup to{<?>} <?> "
#define RID_LIMSUP_FROMTOX "limsup from{<?>} to{<?>} <?> "
#define RID_HADDX "hadd <?> "
#define RID_HADD_FROMX "hadd from{<?>} <?> "
#define RID_HADD_TOX "hadd to{<?>} <?> "
#define RID_HADD_FROMTOX "hadd from{<?>} to{<?>} <?> "
#define RID_EXISTS "exists "
#define RID_NOTEXISTS "notexists "
#define RID_FORALL "forall "
+10
View File
@@ -197,11 +197,21 @@ const SmElementDescr s_a5OperatorsList[] =
{RID_LIMSUP_TOX, RID_LIMSUP_TOX_HELP, {}, {}},
{RID_LIMSUP_FROMTOX, RID_LIMSUP_FROMTOX_HELP, {}, {}},
{},
{RID_HADDX, RID_HADDX_HELP, {}, {}},
{RID_HADD_FROMX, RID_HADD_FROMX_HELP, {}, {}},
{RID_HADD_TOX, RID_HADD_TOX_HELP, {}, {}},
{RID_HADD_FROMTOX, RID_HADD_FROMTOX_HELP, {}, {}},
{},
{RID_SUMX, RID_SUMX_HELP, {}, {}},
{RID_SUM_FROMX, RID_SUM_FROMX_HELP, {}, {}},
{RID_SUM_TOX, RID_SUM_TOX_HELP, {}, {}},
{RID_SUM_FROMTOX, RID_SUM_FROMTOX_HELP, {}, {}},
{},
{RID_MAJX, RID_MAJX_HELP, {}, {}},
{RID_MAJ_FROMX, RID_MAJ_FROMX_HELP, {}, {}},
{RID_MAJ_TOX, RID_MAJ_TOX_HELP, {}, {}},
{RID_MAJ_FROMTOX, RID_MAJ_FROMTOX_HELP, {}, {}},
{},
{RID_PRODX, RID_PRODX_HELP, {}, {}},
{RID_PROD_FROMX, RID_PROD_FROMX_HELP, {}, {}},
{RID_PROD_TOX, RID_PROD_TOX_HELP, {}, {}},