summaryrefslogtreecommitdiff
path: root/starmath/inc
AgeCommit message (Collapse)Author
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
2013-05-24adapt code to spacing dialog .ui conversionCaolán McNamara
Change-Id: I4ec9444b3ad0d243fda0d93547f000cb7296c0bc
2013-05-22adapt code to catalog .ui conversionCaolán McNamara
Change-Id: If34cef7eef5ab26f52420685f54a85fcff2a0c12
2013-05-22adapt code to alignment dialog .ui conversionCaolán McNamara
Change-Id: I8a64ddc076e177deaa61a450716d7d3dd8043303
2013-05-20Math: Use shared_ptr in ElementsDockingWindowTomaž Vajngerl
Change-Id: Id31765f0c2f47cd2ebe830a8b42a9397d6eeffae
2013-05-20Math: new rendered Elements docking window addedTomaž Vajngerl
Added a docking window with elements that are rendered using the math renderer insted of static pictures. Currently this is an alternative to the existing elements floating window which will be removed when the new one is ready. This is an initial but fully functional version. Change-Id: I7678d09d643c532c672447026b0f12b7b70fc91d
2013-05-18Resolves: #ii120149# Flash changes on slot execution to reflect AutoUpdateAriel Constenla-Haile
(cherry picked from commit b73c741c4f792c71623127fdc711dc3f38603083) Conflicts: starmath/source/edit.cxx Change-Id: Ie073deabb1a48f3479a9c6bbf89d1e40f5cea663
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist
2013-05-10resolved fdo#35756 import more than 64k HTML table cellsEike Rathke
Enhanced EditEngine to be able to hold more than 64k paragraphs. Used also in RTF import Calc and Writer, so that could benefit as well. * changed all EditEngine,Outliner,... related paragraph index/count variables from sal_uInt16 to sal_Int32 * sal_Int32 instead of sal_uInt32 to match accessibility API * matched some Outliner methods' paragraph parameters from sal_uLong to sal_Int32 * containers capable to hold size_t nevertheless are limited to a maximum of sal_Int32 * changed definition of EE_PARA_NOT_FOUND and EE_PARA_ALL to SAL_MAX_INT32 + added EE_PARA_MAX_COUNT and EE_TEXTPOS_MAX_COUNT to initialize ESelection with what previously were hard coded 0xFFFF all over the place + for similar reason added EE_TEXTPOS_ALL corresponding to EE_PARA_ALL to initialize an ESelection spanning all available text like aSel(0,0,EE_PARA_ALL,EE_TEXTPOS_ALL) Change-Id: I62d1b9c399cd709a4f93dbac31b219a61c46ec00 Reviewed-on: https://gerrit.libreoffice.org/3838 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-25update pchThomas Arnhold
Change-Id: I67e73438312f2a672e71762ee6707ec5d425bb47
2013-04-20Remove pass-through header file sot/inc/sot/clsids.hxxMichael Dunphy
Change-Id: I122669d4ffaf72fb1d5f6fccc98e8a648f31aa23 Reviewed-on: https://gerrit.libreoffice.org/3490 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>