starmath/inc/strings.hrc | 1 + starmath/inc/strings.hxx | 1 + starmath/source/ElementsDockingWindow.cxx | 2 +- starmath/source/mathtype.cxx | 3 +++ starmath/uiconfig/smath/popupmenu/edit.xml | 1 + 5 files changed, 7 insertions(+), 1 deletion(-)
New commits: commit 1fa83df607b9721c8f12125942de1c586a624bd0 Author: Julien Nabet <[email protected]> AuthorDate: Sun Feb 14 10:36:29 2021 +0100 Commit: Noel Grandin <[email protected]> CommitDate: Sun Feb 14 20:09:12 2021 +0100 tdf#140386: Math: Add 'backepsilon' symbol to elements panel corresponds to GREEK REVERSED LUNATE EPSILON SYMBOL see https://www.unicodepedia.com/unicode/greek-and-coptic/3f6/greek-reversed-lunate-epsilon-symbol/ Change-Id: I39628c55642e549174a0e59798c401976fdfaef2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110880 Reviewed-by: Dante DM <[email protected]> Reviewed-by: Noel Grandin <[email protected]> Tested-by: Jenkins diff --git a/starmath/inc/strings.hrc b/starmath/inc/strings.hrc index daa90f02545d..ab85c5b49aa6 100644 --- a/starmath/inc/strings.hrc +++ b/starmath/inc/strings.hrc @@ -269,6 +269,7 @@ #define RID_NABLA_HELP NC_("RID_NABLA_HELP", "Nabla" ) #define RID_LAPLACE_HELP NC_("RID_LAPLACE_HELP", "Laplace transform" ) #define RID_FOURIER_HELP NC_("RID_FOURIER_HELP", "Fourier transform" ) +#define RID_BACKEPSILON_HELP NC_("RID_BACKEPSILON_HELP", "Backwards epsilon" ) #define RID_WP_HELP NC_("RID_WP_HELP", "Weierstrass p" ) #define RID_DOTSAXIS_HELP NC_("RID_DOTSAXIS_HELP", "Dots In Middle" ) #define RID_DOTSUP_HELP NC_("RID_DOTSUP_HELP", "Dots To Top" ) diff --git a/starmath/inc/strings.hxx b/starmath/inc/strings.hxx index db89180937d7..258e2b800403 100644 --- a/starmath/inc/strings.hxx +++ b/starmath/inc/strings.hxx @@ -261,6 +261,7 @@ #define RID_NABLA "nabla " #define RID_WP "wp " #define RID_LAPLACE "laplace " +#define RID_BACKEPSILON "backepsilon " #define RID_FOURIER "fourier " #define RID_DOTSAXIS "dotsaxis " #define RID_DOTSUP "dotsup " diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx index 1c3cf9deb9f1..754d819aa3f1 100644 --- a/starmath/source/ElementsDockingWindow.cxx +++ b/starmath/source/ElementsDockingWindow.cxx @@ -240,7 +240,7 @@ const SmElementDescr SmElementsControl::m_aOthersList[] = {RID_EXISTS, RID_EXISTS_HELP}, {RID_NOTEXISTS, RID_NOTEXISTS_HELP}, {RID_FORALL, RID_FORALL_HELP}, {RID_HBAR, RID_HBAR_HELP}, {RID_LAMBDABAR, RID_LAMBDABAR_HELP}, {RID_RE, RID_RE_HELP}, {RID_IM, RID_IM_HELP}, {RID_WP, RID_WP_HELP}, {RID_LAPLACE, RID_LAPLACE_HELP}, - {RID_FOURIER, RID_FOURIER_HELP}, + {RID_FOURIER, RID_FOURIER_HELP}, {RID_BACKEPSILON, RID_BACKEPSILON_HELP}, {nullptr, nullptr}, {RID_LEFTARROW, RID_LEFTARROW_HELP}, {RID_RIGHTARROW, RID_RIGHTARROW_HELP}, {RID_UPARROW, RID_UPARROW_HELP}, {RID_DOWNARROW, RID_DOWNARROW_HELP}, diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx index 4bf9bcf0a7e2..e13dd7160f2e 100644 --- a/starmath/source/mathtype.cxx +++ b/starmath/source/mathtype.cxx @@ -314,6 +314,9 @@ bool MathType::LookupChar(sal_Unicode nChar,OUStringBuffer &rRet,sal_uInt8 nVers case 0x2112: pC = " laplace "; break; + case 0x03F6: + pC = " backepsilon "; + break; case 0x2208: // in case 0x2209: // notin rRet.append(" func ").append(OUStringChar(nChar)).append(" "); diff --git a/starmath/uiconfig/smath/popupmenu/edit.xml b/starmath/uiconfig/smath/popupmenu/edit.xml index f5a7f0680d6c..c9626cc6a033 100644 --- a/starmath/uiconfig/smath/popupmenu/edit.xml +++ b/starmath/uiconfig/smath/popupmenu/edit.xml @@ -253,6 +253,7 @@ <menu:menuitem menu:label="Im" menu:id=".uno:InsertCommandText?Text:string=Im "/> <menu:menuitem menu:label="wp" menu:id=".uno:InsertCommandText?Text:string=wp "/> <menu:menuitem menu:label="laplace" menu:id=".uno:InsertCommandText?Text:string=laplace "/> + <menu:menuitem menu:label="backepsilon" menu:id=".uno:InsertCommandText?Text:string=backepsilon "/> <menu:menuseparator/> <menu:menuitem menu:label="leftarrow" menu:id=".uno:InsertCommandText?Text:string=leftarrow "/> <menu:menuitem menu:label="rightarrow" menu:id=".uno:InsertCommandText?Text:string=rightarrow "/> _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
