summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-11-05 12:04:51 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-11-05 18:00:15 +0100
commite9a7ff1a5ba9d5ba34eeca9d622d8a3a9c68ade8 (patch)
tree82e706f837ca0d827dc5a9ae979ae3d15ec86e47 /starmath/inc
parent01f6f620395a86abe1e7f503ae4b3b5f7124e144 (diff)
fdo#67862: Add greek symbols to docking window
Those were already present at starmath/source/symbol.src and are merged to the docking window now. Also make use of SAL_N_ELEMENTS. Change-Id: I3e1f082082763168e731c3771c0b71467d095eba
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/ElementsDockingWindow.hxx2
-rw-r--r--starmath/inc/starmath.hrc87
2 files changed, 89 insertions, 0 deletions
diff --git a/starmath/inc/ElementsDockingWindow.hxx b/starmath/inc/ElementsDockingWindow.hxx
index 2cc13e75f06e..ce17664b921f 100644
--- a/starmath/inc/ElementsDockingWindow.hxx
+++ b/starmath/inc/ElementsDockingWindow.hxx
@@ -76,6 +76,8 @@ class SmElementsControl : public Control
static const sal_uInt16 aAttributes[][2];
static const sal_uInt16 aBrackets[][2];
static const sal_uInt16 aFormats[][2];
+ static const sal_uInt16 aGreek[][2];
+ static const sal_uInt16 aSymbols[][2];
static const sal_uInt16 aOthers[][2];
Link aSelectHdlLink;
diff --git a/starmath/inc/starmath.hrc b/starmath/inc/starmath.hrc
index 6a731e491238..fbc354139a2a 100644
--- a/starmath/inc/starmath.hrc
+++ b/starmath/inc/starmath.hrc
@@ -484,6 +484,7 @@
#define RID_CATEGORY_FORMATS (RID_APP_START + 4008)
#define RID_CATEGORY_OTHERS (RID_APP_START + 4009)
#define RID_CATEGORY_EXAMPLES (RID_APP_START + 4010)
+#define RID_CATEGORY_SYMBOLS (RID_APP_START + 2173)
// more tooptips help texts
#define RID_XEQY_HELP (RID_APP_START + 4011)
@@ -666,6 +667,92 @@
#define RID_LLINT_FROMTOX_HELP (RID_APP_START + 4189)
#define RID_LLLINT_FROMTOX_HELP (RID_APP_START + 4190)
+#define RID_GRC_ALPHA (RID_APP_START + 4191)
+#define RID_GRC_ALPHA_HELP (RID_APP_START + 4192)
+#define RID_GRC_BETA (RID_APP_START + 4193)
+#define RID_GRC_BETA_HELP (RID_APP_START + 4194)
+#define RID_GRC_CHI (RID_APP_START + 4195)
+#define RID_GRC_CHI_HELP (RID_APP_START + 4196)
+#define RID_GRC_DELTA (RID_APP_START + 4197)
+#define RID_GRC_DELTA_HELP (RID_APP_START + 4198)
+#define RID_GRC_EPSILON (RID_APP_START + 4199)
+#define RID_GRC_EPSILON_HELP (RID_APP_START + 4200)
+#define RID_GRC_ETA (RID_APP_START + 4201)
+#define RID_GRC_ETA_HELP (RID_APP_START + 4202)
+#define RID_GRC_GAMMA (RID_APP_START + 4203)
+#define RID_GRC_GAMMA_HELP (RID_APP_START + 4204)
+#define RID_GRC_IOTA (RID_APP_START + 4205)
+#define RID_GRC_IOTA_HELP (RID_APP_START + 4206)
+#define RID_GRC_KAPPA (RID_APP_START + 4207)
+#define RID_GRC_KAPPA_HELP (RID_APP_START + 4208)
+#define RID_GRC_LAMBDA (RID_APP_START + 4209)
+#define RID_GRC_LAMBDA_HELP (RID_APP_START + 4210)
+#define RID_GRC_MU (RID_APP_START + 4211)
+#define RID_GRC_MU_HELP (RID_APP_START + 4212)
+#define RID_GRC_NU (RID_APP_START + 4213)
+#define RID_GRC_NU_HELP (RID_APP_START + 4214)
+#define RID_GRC_OMEGA (RID_APP_START + 4215)
+#define RID_GRC_OMEGA_HELP (RID_APP_START + 4216)
+#define RID_GRC_OMICRON (RID_APP_START + 4217)
+#define RID_GRC_OMICRON_HELP (RID_APP_START + 4218)
+#define RID_GRC_PHI (RID_APP_START + 4219)
+#define RID_GRC_PHI_HELP (RID_APP_START + 4220)
+#define RID_GRC_PI (RID_APP_START + 4221)
+#define RID_GRC_PI_HELP (RID_APP_START + 4222)
+#define RID_GRC_PSI (RID_APP_START + 4223)
+#define RID_GRC_PSI_HELP (RID_APP_START + 4224)
+#define RID_GRC_RHO (RID_APP_START + 4225)
+#define RID_GRC_RHO_HELP (RID_APP_START + 4226)
+#define RID_GRC_SIGMA (RID_APP_START + 4227)
+#define RID_GRC_SIGMA_HELP (RID_APP_START + 4228)
+#define RID_GRC_TAU (RID_APP_START + 4229)
+#define RID_GRC_TAU_HELP (RID_APP_START + 4230)
+#define RID_GRC_THETA (RID_APP_START + 4231)
+#define RID_GRC_THETA_HELP (RID_APP_START + 4232)
+#define RID_GRC_UPSILON (RID_APP_START + 4233)
+#define RID_GRC_UPSILON_HELP (RID_APP_START + 4234)
+#define RID_GRC_XI (RID_APP_START + 4235)
+#define RID_GRC_XI_HELP (RID_APP_START + 4236)
+#define RID_GRC_ZETA (RID_APP_START + 4237)
+#define RID_GRC_ZETA_HELP (RID_APP_START + 4238)
+
+#define RID_SYM_VAREPSILON (RID_APP_START + 4239)
+#define RID_SYM_VAREPSILON_HELP (RID_APP_START + 4240)
+#define RID_SYM_VARTHETA (RID_APP_START + 4241)
+#define RID_SYM_VARTHETA_HELP (RID_APP_START + 4242)
+#define RID_SYM_VARPI (RID_APP_START + 4243)
+#define RID_SYM_VARPI_HELP (RID_APP_START + 4244)
+#define RID_SYM_VARRHO (RID_APP_START + 4245)
+#define RID_SYM_VARRHO_HELP (RID_APP_START + 4246)
+#define RID_SYM_VARSIGMA (RID_APP_START + 4247)
+#define RID_SYM_VARSIGMA_HELP (RID_APP_START + 4248)
+#define RID_SYM_VARPHI (RID_APP_START + 4249)
+#define RID_SYM_VARPHI_HELP (RID_APP_START + 4250)
+#define RID_SYM_ELEMENT (RID_APP_START + 4251)
+#define RID_SYM_ELEMENT_HELP (RID_APP_START + 4252)
+#define RID_SYM_NOELEMENT (RID_APP_START + 4253)
+#define RID_SYM_NOELEMENT_HELP (RID_APP_START + 4254)
+#define RID_SYM_STRICTLYLESSTHAN (RID_APP_START + 4255)
+#define RID_SYM_STRICTLYLESSTHAN_HELP (RID_APP_START + 4256)
+#define RID_SYM_STRICTLYGREATERTHAN (RID_APP_START + 4257)
+#define RID_SYM_STRICTLYGREATERTHAN_HELP (RID_APP_START + 4258)
+#define RID_SYM_NOTEQUAL (RID_APP_START + 4259)
+#define RID_SYM_NOTEQUAL_HELP (RID_APP_START + 4260)
+#define RID_SYM_IDENTICAL (RID_APP_START + 4261)
+#define RID_SYM_IDENTICAL_HELP (RID_APP_START + 4262)
+#define RID_SYM_TENDTO (RID_APP_START + 4263)
+#define RID_SYM_TENDTO_HELP (RID_APP_START + 4264)
+#define RID_SYM_INFINITE (RID_APP_START + 4265)
+#define RID_SYM_INFINITE_HELP (RID_APP_START + 4266)
+#define RID_SYM_ANGLE (RID_APP_START + 4267)
+#define RID_SYM_ANGLE_HELP (RID_APP_START + 4268)
+#define RID_SYM_PERTHOUSAND (RID_APP_START + 4269)
+#define RID_SYM_PERTHOUSAND_HELP (RID_APP_START + 4270)
+#define RID_SYM_AND (RID_APP_START + 4271)
+#define RID_SYM_AND_HELP (RID_APP_START + 4272)
+#define RID_SYM_OR (RID_APP_START + 4273)
+#define RID_SYM_OR_HELP (RID_APP_START + 4274)
+
#define BMP_ARROW_RIGHT 1
#define MN_WIN 60