Bugzilla – Attachment 50574 Details for
Bug 37007
EasyHack: Add Math symbol "There does not exist"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
main part of the patch
proposed_patch.txt (text/plain), 11.32 KB, created by
Julien Nabet
on 2011-08-25 12:00:19 UTC
(
hide
)
Description:
main part of the patch
Filename:
MIME Type:
Creator:
Julien Nabet
Created:
2011-08-25 12:00:19 UTC
Size:
11.32 KB
patch
obsolete
>diff --git a/ooo_custom_images/classic/classic_images.tar.gz b/ooo_custom_images/classic/classic_images.tar.gz >index e9578d9..0a10102 100644 >Binary files a/ooo_custom_images/classic/classic_images.tar.gz and b/ooo_custom_images/classic/classic_images.tar.gz differ >diff --git a/starmath/inc/helpids.h b/starmath/inc/helpids.h >index f27b47e..1da4029 100644 >--- a/starmath/inc/helpids.h >+++ b/starmath/inc/helpids.h >@@ -160,6 +160,7 @@ > #define HID_SMA_LIMINFX "STARMATH_HID_SMA_LIMINFX" > #define HID_SMA_LIMSUPX "STARMATH_HID_SMA_LIMSUPX" > #define HID_SMA_EXISTS "STARMATH_HID_SMA_EXISTS" >+#define HID_SMA_NOTEXISTS "STARMATH_HID_SMA_NOTEXISTS" > #define HID_SMA_FORALL "STARMATH_HID_SMA_FORALL" > #define HID_SMA_NABLA "STARMATH_HID_SMA_NABLA" > #define HID_SMA_INTX "STARMATH_HID_SMA_INTX" >diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx >index 43c0992..43283d8 100644 >--- a/starmath/inc/parse.hxx >+++ b/starmath/inc/parse.hxx >@@ -97,7 +97,7 @@ enum SmTokenType > TMINUSPLUS, TOPLUS, TOMINUS, TDIV, TOTIMES, > TODIVIDE, TTRANSL, TTRANSR, TIINT, TIIINT, > TLINT, TLLINT, TLLLINT, TPROD, TCOPROD, >- TFORALL, TEXISTS, TLIM, TNABLA, TTOWARD, >+ TFORALL, TEXISTS, TNOTEXISTS, TLIM, TNABLA, TTOWARD, > TSINH, TCOSH, TTANH, TCOTH, TASIN, > TACOS, TATAN, TLN, TLOG, TUOPER, > TBOPER, TBLACK, TWHITE, TRED, TGREEN, >diff --git a/starmath/inc/starmath.hrc b/starmath/inc/starmath.hrc >index f7aa0f2..4d7509b 100755 >--- a/starmath/inc/starmath.hrc >+++ b/starmath/inc/starmath.hrc >@@ -390,6 +390,7 @@ > #define RID_UPARROW (RID_APP_START + 2018) > #define RID_DOWNARROW (RID_APP_START + 2019) > #define RID_EXISTS (RID_APP_START + 1608) >+#define RID_NOTEXISTS (RID_APP_START + 1618) > #define RID_FORALL (RID_APP_START + 1612) > > // new menue resource ID's >diff --git a/starmath/inc/types.hxx b/starmath/inc/types.hxx >index 8353f6e..d3f30d5 100644 >--- a/starmath/inc/types.hxx >+++ b/starmath/inc/types.hxx >@@ -120,6 +120,7 @@ enum MathSymbol > MS_IN = (sal_Unicode) 0x2208, > MS_NOTIN = (sal_Unicode) 0x2209, > MS_EXISTS = (sal_Unicode) 0x2203, >+ MS_NOTEXISTS = (sal_Unicode) 0x2204, > MS_BACKEPSILON = (sal_Unicode) 0x220D, > MS_ALEPH = (sal_Unicode) 0x2135, > MS_IM = (sal_Unicode) 0x2111, >diff --git a/starmath/qa/cppunit/test_nodetotextvisitors.cxx b/starmath/qa/cppunit/test_nodetotextvisitors.cxx >index f7b282c..234e87d 100644 >--- a/starmath/qa/cppunit/test_nodetotextvisitors.cxx >+++ b/starmath/qa/cppunit/test_nodetotextvisitors.cxx >@@ -353,6 +353,7 @@ void Test::SimpleMisc() > parseandparseagain("partial", "Partial"); > parseandparseagain("nabla", "Nabla"); > parseandparseagain("exists", "There exists"); >+ parseandparseagain("notexists", "There not exists"); > parseandparseagain("forall", "For all"); > parseandparseagain("hbar", "H bar"); > parseandparseagain("lambdabar", "Lambda bar"); >diff --git a/starmath/source/commands.src b/starmath/source/commands.src >index 9d618bb..150f0df 100644 >--- a/starmath/source/commands.src >+++ b/starmath/source/commands.src >@@ -119,6 +119,7 @@ String RID_LIMX { Text = "lim <?> " ; }; > String RID_LIMINFX { Text = "liminf <?> " ; }; > String RID_LIMSUPX { Text = "limsup <?> " ; }; > String RID_EXISTS { Text = "exists " ; }; >+String RID_NOTEXISTS { Text = "notexists " ; }; > String RID_FORALL { Text = "forall " ; }; > String RID_INTX { Text = "int <?> " ; }; > String RID_IINTX { Text = "iint <?> " ; }; >@@ -1410,6 +1411,12 @@ Menu RID_COMMANDMENU > }; > MenuItem > { >+ Identifier = RID_NOTEXISTS; >+ HelpId = HID_SMA_NOTEXISTS; >+ Text = "not exists"; >+ }; >+ MenuItem >+ { > Identifier = RID_FORALL; > HelpId = HID_SMA_FORALL; > Text = "forall"; >@@ -1513,49 +1520,3 @@ Menu RID_COMMANDMENU > }; > > >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >- >diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx >index c332bbe..69d1b06 100644 >--- a/starmath/source/mathtype.cxx >+++ b/starmath/source/mathtype.cxx >@@ -342,6 +342,9 @@ sal_Bool MathType::LookupChar(sal_Unicode nChar,String &rRet,sal_uInt8 nVersion, > case 0x2203: > pC = " exists "; > break; >+ case 0x2204: >+ pC = " notexists "; >+ break; > case 0x2205: > pC = " emptyset "; > break; >diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx >index 06859ce..a2f36bf 100644 >--- a/starmath/source/parse.cxx >+++ b/starmath/source/parse.cxx >@@ -163,6 +163,7 @@ static const SmTokenTableEntry aTokenTable[] = > { "emptyset" , TEMPTYSET, MS_EMPTYSET, TGSTANDALONE, 5}, > { "equiv", TEQUIV, MS_EQUIV, TGRELATION, 0}, > { "exists", TEXISTS, MS_EXISTS, TGSTANDALONE, 5}, >+ { "notexists", TNOTEXISTS, MS_NOTEXISTS, TGSTANDALONE, 5}, > { "exp", TEXP, '\0', TGFUNCTION, 5}, > { "fact", TFACT, MS_FACT, TGUNOPER, 5}, > { "fixed", TFIXED, '\0', TGFONT, 0}, >@@ -1449,6 +1450,7 @@ void SmParser::Term() > case TEMPTYSET : > case TINFINITY : > case TEXISTS : >+ case TNOTEXISTS : > case TFORALL : > case TPARTIAL : > case TNABLA : >diff --git a/starmath/source/toolbox.src b/starmath/source/toolbox.src >index 07e728f..f493e10 100644 >--- a/starmath/source/toolbox.src >+++ b/starmath/source/toolbox.src >@@ -1339,18 +1339,18 @@ FloatingWindow RID_TOOLBOXWINDOW > }; > ToolBoxItem > { >- Identifier = RID_NABLA ; >- HelpId = HID_SMA_NABLA ; >- Text [ en-US ] = "Nabla"; >- }; >- ToolBoxItem >- { > Identifier = RID_EXISTS ; > HelpId = HID_SMA_EXISTS ; > Text [ en-US ] = "There Exists"; > }; > ToolBoxItem > { >+ Identifier = RID_NOTEXISTS ; >+ HelpId = HID_SMA_NOTEXISTS ; >+ Text [ en-US ] = "There Not Exists"; >+ }; >+ ToolBoxItem >+ { > Identifier = RID_FORALL ; > HelpId = HID_SMA_FORALL ; > Text [ en-US ] = "For All"; >@@ -1419,7 +1419,9 @@ FloatingWindow RID_TOOLBOXWINDOW > }; > ToolBoxItem > { >- Type = TOOLBOXITEM_SPACE ; >+ Identifier = RID_NABLA ; >+ HelpId = HID_SMA_NABLA ; >+ Text [ en-US ] = "Nabla"; > }; > ToolBoxItem > { >@@ -1726,6 +1728,7 @@ FloatingWindow RID_TOOLBOXWINDOW > RID_PARTIAL ; \ > RID_NABLA ; \ > RID_EXISTS ; \ >+ RID_NOTEXISTS ; \ > RID_FORALL ; \ > RID_HBAR; \ > RID_LAMBDABAR ; \ >@@ -1742,7 +1745,7 @@ FloatingWindow RID_TOOLBOXWINDOW > RID_DOTSUP ; \ > RID_DOTSDOWN ; \ > }; \ >- IdCount = { 19 ; }; >+ IdCount = { 20 ; }; > > ImageList RID_IL_MISC > { >diff --git a/svtools/inc/svtools/htmlkywd.hxx b/svtools/inc/svtools/htmlkywd.hxx >index 999ee21..37de7da 100644 >--- a/svtools/inc/svtools/htmlkywd.hxx >+++ b/svtools/inc/svtools/htmlkywd.hxx >@@ -329,6 +329,7 @@ > #define OOO_STRING_SVTOOLS_HTML_S_eta "eta" > #define OOO_STRING_SVTOOLS_HTML_S_euro "euro" > #define OOO_STRING_SVTOOLS_HTML_S_exist "exist" >+#define OOO_STRING_SVTOOLS_HTML_S_notexist "not exist" > #define OOO_STRING_SVTOOLS_HTML_S_fnof "fnof" > #define OOO_STRING_SVTOOLS_HTML_S_forall "forall" > #define OOO_STRING_SVTOOLS_HTML_S_frasl "frasl" >diff --git a/testautomation/framework/optional/input/help_browser/OpenOffice.org_help_topics_en-US.txt b/testautomation/framework/optional/input/help_browser/OpenOffice.org_help_topics_en-US.txt >index d523c5e..e3d842d 100755 >--- a/testautomation/framework/optional/input/help_browser/OpenOffice.org_help_topics_en-US.txt >+++ b/testautomation/framework/optional/input/help_browser/OpenOffice.org_help_topics_en-US.txt >@@ -18987,6 +18987,7 @@ OpenOffice.org Math : Thai > OpenOffice.org Math : Thai;entering text > OpenOffice.org Math : Thai;language settings > OpenOffice.org Math : there exists symbol >+OpenOffice.org Math : there not exists symbol > OpenOffice.org Math : thesaurus > OpenOffice.org Math : thesaurus;activating for a language > OpenOffice.org Math : ticker text >diff --git a/testautomation/framework/optional/input/help_browser/Oracle_Open_Office_help_topics_en-US.txt b/testautomation/framework/optional/input/help_browser/Oracle_Open_Office_help_topics_en-US.txt >index 0db04d4..30276ce 100644 >--- a/testautomation/framework/optional/input/help_browser/Oracle_Open_Office_help_topics_en-US.txt >+++ b/testautomation/framework/optional/input/help_browser/Oracle_Open_Office_help_topics_en-US.txt >@@ -15964,6 +15964,7 @@ Oracle Open Office Math : Thai > Oracle Open Office Math : Thai;entering text > Oracle Open Office Math : Thai;language settings > Oracle Open Office Math : there exists symbol >+Oracle Open Office Math : there not exists symbol > Oracle Open Office Math : thesaurus > Oracle Open Office Math : thesaurus;activating for a language > Oracle Open Office Math : ticker text >diff --git a/testautomation/global/win/e_mathop.win b/testautomation/global/win/e_mathop.win >index 9beb74b..4fb1ed4 100644 >--- a/testautomation/global/win/e_mathop.win >+++ b/testautomation/global/win/e_mathop.win >@@ -147,6 +147,7 @@ Infinity sym:STARMATH_HID_SMA_INFINITY > Partial sym:STARMATH_HID_SMA_PARTIAL > Nabla sym:STARMATH_HID_SMA_NABLA > ThereExists sym:STARMATH_HID_SMA_EXISTS >+ThereNotExists sym:STARMATH_HID_SMA_NOTEXISTS > ForAll sym:STARMATH_HID_SMA_FORALL > HBar sym:STARMATH_HID_SMA_HBAR > LambdaBar sym:STARMATH_HID_SMA_LAMBDABAR >diff --git a/testautomation/global/win/mathop.win b/testautomation/global/win/mathop.win >index e4f7d3c..e1bdac3 100644 >--- a/testautomation/global/win/mathop.win >+++ b/testautomation/global/win/mathop.win >@@ -147,6 +147,7 @@ Unendlich sym:STARMATH_HID_SMA_INFINITY > Partial sym:STARMATH_HID_SMA_PARTIAL > Nabla sym:STARMATH_HID_SMA_NABLA > EsExistiert sym:STARMATH_HID_SMA_EXISTS >+EsNichtExistiert sym:STARMATH_HID_SMA_NOTEXISTS > FuerAlle sym:STARMATH_HID_SMA_FORALL > HQuer sym:STARMATH_HID_SMA_HBAR > LambdaQuer sym:STARMATH_HID_SMA_LAMBDABAR >diff --git a/testautomation/math/required/includes/m_010_.inc b/testautomation/math/required/includes/m_010_.inc >index 7f3cd894..71e6501 100644 >--- a/testautomation/math/required/includes/m_010_.inc >+++ b/testautomation/math/required/includes/m_010_.inc >@@ -579,6 +579,10 @@ try > inc i > Printlog " i: "+i > Call Bereinigen >+ ThereNotExists.Click >+ inc i >+ Printlog " i: "+i >+ Call Bereinigen > ForAll.Click > inc i > Printlog " i: "+i
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 37007
: 50574 |
50575