summaryrefslogtreecommitdiff
path: root/starmath/inc
AgeCommit message (Collapse)Author
2013-12-03Revert "fdo#67862: Add greek symbols to docking window"Thomas Arnhold
This partially reverts commit e9a7ff1a5ba9d5ba34eeca9d622d8a3a9c68ade8. Leave the SAL_N_ELEMENTS changes in. I forgot about the translation of those symbol names. The en-US %alpha is %alfa in pt-br. See starmath/source/symbol.src. One list get's translated, the other not. For UI purpose GetUiSymbolName gives the tranlated one and for export GetExportSymbolName gives the untranslated english string. Feel free to implement this or maybe drop the translation of those symbols. Conflicts: starmath/inc/starmath.hrc Change-Id: I74d667a727536e1caf35f32af6a5c9cc64ca7015 Reviewed-on: https://gerrit.libreoffice.org/6884 Reviewed-by: Thorsten Behrens <thb@documentfoundation.org> Tested-by: Thorsten Behrens <thb@documentfoundation.org>
2013-11-25Fix some typos for "Right"Julien Nabet
Change-Id: I6bcdb57ab45d5571bde53a6c43fe104551197086
2013-11-14starmath: use global resource stringThomas Arnhold
In favor of many getters and setters :) Change-Id: Ibdfe6e2cb70ec2e743def2f898c1b56713af2661
2013-11-14fdo#71580: Elements dock: Alignment items are missingThomas Arnhold
Also add << and >> to the Elements dock. Change-Id: Id58d64c8ab938259e84ce1a178644c6d4a6ee95d
2013-11-14starmath: remove unused resource idsThomas Arnhold
Change-Id: I9dee3cf5591df19cd0189e32ae7be024b07020f3
2013-11-13fdo#69112 - Detaching the docking window leads to a wrong sized windowThomas Arnhold
Just fix it by setting an appropriate minimum window size. It's set to 100px because this is approx. one column/row of elements. Now, after entering the floating mode the height of the window is 100px. Maybe this needs some more adjustment, but it's not 0px anymore. Change-Id: I7b14d001bbca1d1a5297f875fdf424beefaed85a
2013-11-05fdo#67862: Add greek symbols to docking windowThomas Arnhold
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
2013-11-03fdo#65586: Add tools tips in Math Elements DockMarcos Paulo de Souza
Change-Id: I304ba9fe0a97f85424d0eb0ee87bf3b4b58179f4 Reviewed-on: https://gerrit.libreoffice.org/6540 Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
2013-11-01convert math font dialog to .uiCaolán McNamara
Change-Id: Ib7bf087664b6c8491872dfa37c750485fedabbe2
2013-10-23clean up some include guardsThomas Arnhold
Conflicts: sw/source/ui/inc/content.hxx Change-Id: I58d81881271fc6e3320bf3b5f1321594b28614a6 Reviewed-on: https://gerrit.libreoffice.org/6388 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-23starmath: fix include guardsThomas Arnhold
Change-Id: I4f4bd88e8be1f2745ec8c96793a43d93e3f733b4 Reviewed-on: https://gerrit.libreoffice.org/6389 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-03CID#735395 potential memory leakCaolán McNamara
Change-Id: Ica07e23920d751757ab5d14d5216615d5fcdbfd9
2013-09-18Math: fix name's typo of Magenta color in sidebarMarcos Paulo de Souza
Thanks a lot Gerry for noticing this! Change-Id: I24340e751b476e998ba64402719802aa244de00f Reviewed-on: https://gerrit.libreoffice.org/5986 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-09OSL_ENSURE -> SAL_WARN_IFThomas Arnhold
Change-Id: I2807797c6906ae5aaa8aabf7298df5fd8604e96a
2013-09-08Math: Further cleanup and realignmentThomas Arnhold
Change-Id: I8cf6265c02db03585aaa86e137e328317f995e4d
2013-09-08Math: Remove obsolete GetConversion()Thomas Arnhold
CONVERT_NONE is the default case, as SetConversion() gets never called. We dropped the support for legacy filetypes with 4.0 anyway. Change-Id: Ic49ae7b53497e8198c8b61eab0b0cdc120c2bdd7
2013-09-08Revert "Math: Remove not needed header file"Thomas Arnhold
This reverts commit 5ab959017665e3f74ec4be8245827f3de92dd512.
2013-09-08Math: Remove not needed header fileMarcos Paulo de Souza
This header is used in just one place, so move all used data to that file. Change-Id: Ic3927c2bd91f71c8800f5af298de3ed640d2c263 Reviewed-on: https://gerrit.libreoffice.org/5832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-09-05update pchThomas Arnhold
Change-Id: I6d5e8d3fd69189935a3338fee19b60022f70a7eb
2013-09-05String to OUStringThomas Arnhold
And removed nearly all xub_StrLen in starmath. Some sal_uInt16 which were xub_StrLen before 9a0d753b84aed53083bed3ed460308b771f432a8 are also converted to sal_Int32 where applicable. Change-Id: I31d7794f4c7aa840545edff41a102b76bb39e042 Reviewed-on: https://gerrit.libreoffice.org/5817 Reviewed-by: Andrzej J.R. Hunt <andrzej@ahunt.org> Tested-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
2013-09-04String to OUStringThomas Arnhold
Change-Id: I8c51db8fce8c5eea1ac7bd5751aa7f3212ef1166 Reviewed-on: https://gerrit.libreoffice.org/5790 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-08-20Translate some words in Math Elements DockMarcos Paulo de Souza
Change-Id: I7d5075b0c9ac481b954c6a843b35e46355b5348e Reviewed-on: https://gerrit.libreoffice.org/5519 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-08-16Math: New feature about color selectionMarcos Paulo de Souza
Now we can choose colors to equations in Elements Dock, in the Attributes section. All colors there can be choosed by clicking in the name of color. Change-Id: I5545b292955072f9f45f31262a511cee3d70c953 Reviewed-on: https://gerrit.libreoffice.org/5414 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-08-15Math: Remove not needed fileMarcos Paulo de Souza
We don't need because this file just have one called function and just in one place. So, integrate this into mathmlexport and kill this file. Also remove some useless comments. Change-Id: Ia5749418d74c89be3d70dd5997fb90e1accf7f9e Reviewed-on: https://gerrit.libreoffice.org/5431 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-25have my own stab at fixing the leaking SmDocShellCaolán McNamara
i.e. alternatives to 5dd1cd72f45df0ec13842d4ee9c849726cb74ea9 ef66cc105e0051fa1414b72c5ee2bf1b2f9331cb f9e981ba0e2da6ce122e3ef30aef057c439c8fb8 d3cf684146162a1528046ab2bcd7d9fa94443c69 Change-Id: Ib094f5ac1455a9770c99aeac5eb1af118bdab829
2013-07-25Revert "Fix memory leak in Math, by holding SmModel pointer"Fridrich Strba
Breaks unit tests of rtf import This reverts commit ef66cc105e0051fa1414b72c5ee2bf1b2f9331cb Change-Id: I95c13fc2bc3f9494a33153c62a7d52eb6f8efdd9 Reviewed-on: https://gerrit.libreoffice.org/5095 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-25Fix memory leak in Math, by holding SmModel pointerMarcos Paulo de Souza
And deleting this in destructor of SmDocShell Change-Id: Ida96648c7aae90fb5b0afac916587bbb049f90b3 Reviewed-on: https://gerrit.libreoffice.org/5088 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-22Change function to void, nobody checks the returned dataMarcos Paulo de Souza
Change-Id: I9ef7eb7a9c32153f0a886479f65678907969adc5 Reviewed-on: https://gerrit.libreoffice.org/5000 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-07-22Revert "Math: Fix memory leak with SmDocShell"Fridrich Strba
It breaks "make check" This reverts commit d3cf684146162a1528046ab2bcd7d9fa94443c69 Change-Id: Iae8ef2a49a395e885aa8ab3658244836c9ce71c5 Reviewed-on: https://gerrit.libreoffice.org/5021 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-22Math: Fix memory leak with SmDocShellMarcos Paulo de Souza
Change-Id: Ife984f60344fe41501c9e17b10dab256e14fe9e6 Reviewed-on: https://gerrit.libreoffice.org/5017 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-16String.AppendAscii() cleanup in mathRicardo Montania
Change-Id: I567e1a80ab75d6ebdaba52cb9afd47dbd52f39ce Reviewed-on: https://gerrit.libreoffice.org/4933 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-07-15callcatcher: update unused codeCaolán McNamara
All FontSizeBoxs and SmFontPickListBoxs are now .ui loaded, .res ctors unused Change-Id: I50aa8606fefacab0b15b6795a7ba90dff8109802
2013-07-08-Werror,-Wheader-guard (Clang trunk towards 3.4)Stephan Bergmann
Change-Id: I6da069a27d569e4b28c0a8fe783616c767c108d0
2013-07-05cleanup src filesThomas Arnhold
Those items are unused. Change-Id: If4fce0f91309d2ca09cbb636d4a5d9f86f38eb9a
2013-07-03don't need an explicit help handler, the default will be fineCaolán McNamara
Change-Id: I61643e507a68e66e1798c2d21a3f9372027fda1a
2013-07-03fonttypedialog.ui widgetManal Alhassoun
Change-Id: I4aac9046a004d84cd47d563aee8b7338e0d17896 Reviewed-on: https://gerrit.libreoffice.org/4697 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-02 fdo#66416 - Use appropriate unicode characters for math "Brackets"Frédéric Wang
Change-Id: I43d74c92f0de65f9456f5cd8ae150466b6a43717 Reviewed-on: https://gerrit.libreoffice.org/4661 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-02 fdo#66276 - MathML export: avoid using combining characters.Frédéric Wang
Change-Id: I68cf5aaeb5b13adda76953636b0d3225fff4030c Reviewed-on: https://gerrit.libreoffice.org/4630 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-28 fdo#66088 Export some math symbols as <mi> elements.Frédéric Wang
Change-Id: Ib08717c3d4d41abc7bce4cd6bc2e63bda7db6086 Reviewed-on: https://gerrit.libreoffice.org/4595 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-28fdo#55853 - improve parsing of concatenated numbers and identifiers.Frédéric Wang
Change-Id: Ic1cce4cec27f4ca5c3be1daf50888bef788cd6f7 Reviewed-on: https://gerrit.libreoffice.org/4494 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-28fdo#66024 - Formula Editor: make wide accents stretchy when exported to MathMLFrédéric Wang
Change-Id: Ifd0adc51d79e0673661b5646d27f657768ea5b20 Reviewed-on: https://gerrit.libreoffice.org/4450 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-27pClipEvtLstnr unused and xClipEvtLstnr always emptyCaolán McNamara
Change-Id: Ifc883acd91108981a190f35b19648ec3a747db7b
2013-06-19don't need explicit help handlers anymoreCaolán McNamara
Change-Id: I5333ff8c4e50cbc4374b937bc8d7617c3b99ee97
2013-06-19fontsizedialog.ui widgetManal Alhassoun
Change-Id: I1c91b4c621c5a2da11cebdd8e58a5e5d0d86bf6c
2013-06-18convert starmath settings option page to .ui formatFaisal M. Al-Otaibi
Change-Id: I908a29713ca1e01ec3e742193bd4b49e1fa97bc9
2013-06-17fdo#43460 startmath,codemaker: use isEmpty()Jelle van der Waa
Change-Id: I55d3f4546f40a321ebf4b08db33536592f451944 Reviewed-on: https://gerrit.libreoffice.org/4318 Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-06-13Starmath: ElementsDockingWindow vertical orientation of elementsTomaž Vajngerl
Change-Id: I4161cacc95576a5f34205c92482a38bb60ecc9f2
2013-06-13typo: s/CATERGORY/CATEGORY/Andras Timar
Change-Id: I37f2db8b073ad1257101af02118cfbc91ee60f26
2013-05-30Clean zoom redundances in Math and fix fdo#55929Rodolfo Ribeiro Gomes
Zoom can be handled by sfx2 in many ways: - 50%, 75%, 100%, 150%, 200% - Optimal view (fit in window) - Entire page - Page width The math module was doing the first two by itself. Remove it. Strange enough, state methods for zoom interface definitions on sfx2's appslots.sdi were needed. I thought 'Container' property in sfx.sdi should do the job. It seems to do nothing, though. (The zoom should be disabled only if the object is an OLE/Container). The Help-Ids from pop-up menu in Math/Formula were kept, because they doesn't exist in sfx2. Change-Id: Ie1ae413780551b34aa36b338f9a9df79a198319c Reviewed-on: https://gerrit.libreoffice.org/4076 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-05-29convert save defaults to .ui formatCaolán McNamara
Change-Id: I7843598761cf95b04d9c3741cd8b0612b9b059ce