summaryrefslogtreecommitdiffstats
path: root/starmath
Commit message (Collapse)AuthorAgeFilesLines
* Mark as constTakeshi Abe2013-08-221-9/+9
| | | | Change-Id: I65a05b59da6dbc2d37a55129c54ca0f322702364
* sal_Bool to boolTakeshi Abe2013-08-221-14/+14
| | | | Change-Id: I4ab448a461a9fe37ba18838357d371f71b0a496c
* Drop useless #undefTakeshi Abe2013-08-222-4/+0
| | | | | | WANTEXCEPT disappeared with fc9fb12f58866c04636f61e073d39ba29806cbb5 Change-Id: I6ac9aeba0258797e18f5381a3876401e4dee4c89
* finish deprecation of O(U)String::valueOf()Luboš Luňák2013-08-212-6/+6
| | | | | | | Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
* Translate some words in Math Elements DockMarcos Paulo de Souza2013-08-204-10/+128
| | | | | | | 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>
* Fix deprecated: use rtl::isAsciiDigit/isAsciiAlpha instead (part3)Julien Nabet2013-08-191-2/+2
| | | | Change-Id: I0972f1f46ca46c6c482e016e6e0a280c205cc121
* Math: New feature about color selectionMarcos Paulo de Souza2013-08-163-5/+32
| | | | | | | | | | | 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>
* Math: Remove not needed fileMarcos Paulo de Souza2013-08-154-66/+10
| | | | | | | | | | | | 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>
* fdo#43090: Improve auto close bracketsMarcos Paulo de Souza2013-08-141-0/+28
| | | | | | | | | | | | | | | Now it works this way: * Auto close in end of current line of formula * Auto close when we have "<?>" selected * Auto close when we're in the beginning of current line. We're adding a space between the brakets, like this: "[ ]" and putting the cursor in the center of these brackets. Change-Id: I8d77bfd7c33f875e7f4070343e634c2b6c45d33c Reviewed-on: https://gerrit.libreoffice.org/5388 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
* convert vcl/font.hxx from String to OUStringNoel Grandin2013-08-121-1/+1
| | | | Change-Id: I3df88f26516296ca8f4e81576e86372c8b499a84
* String->OUStringIvan Timofeev2013-08-111-1/+1
| | | | Change-Id: I49e0e589c4bad3706882c9e30fe4f6bf8bdd7f1d
* Extension to fix all cases of fdo#32059: Commands merge with variablesMichael Duelli2013-08-081-6/+29
| | | | | | | | | | | | | Change 467d5e0a2e074ff2afb4d1b1a37cff2094b0895b fixed insertions of space in front of commands for Elements dialog only. This change also fixes insertion via Elements dock. Change-Id: I37f8510bc4a6dc0145026ca04fbb0443e1e31cd0 Reviewed-on: https://gerrit.libreoffice.org/5225 Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
* fdo#67470 Element Dock: Subset icon missing in Set Operation sectionJoren De Cuyper2013-08-021-1/+1
| | | | | | | RID_XSUPSETY wasn't just listed, RID_XSUPSETEQY (notice the Q) was. Adding it adds it to the dock. Change-Id: I4c621aab74b424aacd5421ed90f35b42ae6e0a14
* Fix i#84002 by putting braces when neededMarcos Paulo de Souza2013-07-291-0/+7
| | | | | | | | | | In the case of sqrt with more than 2 operands, like over, we need to put braces in the beginning and in the end of the element. Change-Id: I391db14cd2ddc37695fe0b1f590a89b9dd4369ef Reviewed-on: https://gerrit.libreoffice.org/5153 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
* convert GetSelectEntry family to OUStringCaolán McNamara2013-07-261-1/+1
| | | | Change-Id: Id3282e2efd6573bed7fd172021dae9aee9342fae
* minor updatesCsikós Tamás2013-07-251-1/+0
| | | | | | | | | | | alignmentdialog.ui - The default button's text was aligned to the right mvtabdlg.cc - the warning text doesn't occupy the space, when there is no warning movecopysheet.ui - top alignment set to 6, radiobuttons aligned horizontally Change-Id: I5c3fbc512292917a2f4297e164fce73c56a124f3 Reviewed-on: https://gerrit.libreoffice.org/5110 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* have my own stab at fixing the leaking SmDocShellCaolán McNamara2013-07-252-0/+6
| | | | | | | | | | i.e. alternatives to 5dd1cd72f45df0ec13842d4ee9c849726cb74ea9 ef66cc105e0051fa1414b72c5ee2bf1b2f9331cb f9e981ba0e2da6ce122e3ef30aef057c439c8fb8 d3cf684146162a1528046ab2bcd7d9fa94443c69 Change-Id: Ib094f5ac1455a9770c99aeac5eb1af118bdab829
* Revert "Fix memory leak in Math, by holding SmModel pointer"Fridrich Strba2013-07-252-5/+4
| | | | | | | | | | | 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>
* Fix memory leak in Math, by holding SmModel pointerMarcos Paulo de Souza2013-07-252-4/+5
| | | | | | | | | 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>
* fdo#43090: Improvement: Just auto close when found placeholderMarcos Paulo de Souza2013-07-241-4/+11
| | | | | | | | | Another verification needs to be done, auto close when it's in the end of line. Change-Id: I675ac6b6a0477fc9b5747860df8dff2866189433 Reviewed-on: https://gerrit.libreoffice.org/5008 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* Change function to void, nobody checks the returned dataMarcos Paulo de Souza2013-07-222-9/+4
| | | | | | | 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>
* Revert "Math: Fix memory leak with SmDocShell"Fridrich Strba2013-07-222-6/+0
| | | | | | | | | | | 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>
* Math: Fix memory leak with SmDocShellMarcos Paulo de Souza2013-07-222-0/+6
| | | | | | | Change-Id: Ife984f60344fe41501c9e17b10dab256e14fe9e6 Reviewed-on: https://gerrit.libreoffice.org/5017 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* fix problem caused by confusing immutability OUString semantics againLuboš Luňák2013-07-161-1/+1
| | | | Change-Id: I9207ec3309b9970afd5c56718829836eead4592b
* String.AppendAscii() cleanup in mathRicardo Montania2013-07-169-240/+235
| | | | | | | Change-Id: I567e1a80ab75d6ebdaba52cb9afd47dbd52f39ce Reviewed-on: https://gerrit.libreoffice.org/4933 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
* callcatcher: update unused codeCaolán McNamara2013-07-152-11/+1
| | | | | | All FontSizeBoxs and SmFontPickListBoxs are now .ui loaded, .res ctors unused Change-Id: I50aa8606fefacab0b15b6795a7ba90dff8109802
* use static LanguageTag::convertTo...() for standalone conversionsEike Rathke2013-07-131-1/+1
| | | | | | | | If no LanguageTag instance is at hand use the static methods to convert between BCP 47 string, Locale and MS-LangID instead of creating temporary instances. Change-Id: I9597f768078eb81c840e84a5db5617f26bb7dc09
* Resolves: fdo#66675 set alerts to non resizableCaolán McNamara2013-07-121-0/+1
| | | | | | | GNOME HIG states that "Alert windows are not resizable" so consistent with that. Change-Id: I44240f2202fafca2e6a0502e09f22683bbea4c50
* ditch last XubString in starmathCaolán McNamara2013-07-091-4/+1
| | | | Change-Id: I5092bad1d56ecb302fff611546196a8ab439b52b
* fdo#66277 - fix alignment for binom and stack too.Frédéric Wang2013-07-091-11/+23
| | | | | | | Change-Id: Id4c104bb22cb7fc3c4811b3ea417229af01de02b Reviewed-on: https://gerrit.libreoffice.org/4752 Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> Tested-by: Khaled Hosny <khaledhosny@eglug.org>
* Tests for fdo#55853, i#11752, fdo#66081Frédéric Wang2013-07-091-0/+42
| | | | | | | Change-Id: Ifb1fc23c416f47c6618e7ef22a53b1744ff0e2bc Reviewed-on: https://gerrit.libreoffice.org/4748 Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> Tested-by: Khaled Hosny <khaledhosny@eglug.org>
* -Werror,-Wheader-guard (Clang trunk towards 3.4)Stephan Bergmann2013-07-081-2/+2
| | | | Change-Id: I6da069a27d569e4b28c0a8fe783616c767c108d0
* Robustify MathType::HandleRecords.Mark Wielaard2013-07-081-0/+1
| | | | | | | | | | | Initialize nTag to zero before reading from the stream. In case the stream is faulty. That will make nRecord equal to END so we drop out of the do while loop and don't use unitialized variables. Change-Id: Iad135e8d7f53c41cf8a764e5c7ab0f0cc5ffc6f0 Reviewed-on: https://gerrit.libreoffice.org/4759 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* module svl: all String and some bool and related clean-upNorbert Thiebaud2013-07-071-1/+1
| | | | | | | Change-Id: I36eb559fa58dbe75384b7119c788af0048813aed Reviewed-on: https://gerrit.libreoffice.org/4733 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* Solve one more issue of fdo#59642Marcos Paulo de Souza2013-07-051-18/+24
| | | | | | | | | | | | | The old MathML XML style could begin just with <math. So this commit fixes that. This commits also fixes some documents that have the BOM marker at begin of file. Thanks a lot to Bjoern, Caolan and Eike! Change-Id: Ia2c3b51556e615c1e68e5e8aab4f883124c6adca Reviewed-on: https://gerrit.libreoffice.org/4742 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
* cleanup src filesThomas Arnhold2013-07-052-43/+0
| | | | | | Those items are unused. Change-Id: If4fce0f91309d2ca09cbb636d4a5d9f86f38eb9a
* fdo#66575 - MathML export: fix errors with newline, binom and stack.Frédéric Wang2013-07-042-3/+7
| | | | Change-Id: I6833140aaf3fcfc47b81f7d324af88843de00834
* fdo#66575 - MathML export: fix errors with newline, binom and stack.Frédéric Wang2013-07-042-3/+8
| | | | | | | Change-Id: I6c66864381a6a5b7415e9fae682e50865b3f76db Reviewed-on: https://gerrit.libreoffice.org/4712 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Bail early the same way as in 709f6ba6aFridrich Štrba2013-07-031-0/+7
| | | | Change-Id: I8447d776ba315db5ef961818bc577d13e4f35a20
* don't need an explicit help handler, the default will be fineCaolán McNamara2013-07-034-30/+12
| | | | Change-Id: I61643e507a68e66e1798c2d21a3f9372027fda1a
* fonttypedialog.ui widgetManal Alhassoun2013-07-038-259/+586
| | | | | | | 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>
* fdo#66281 - followup: fix a comment for overbrace.Frédéric Wang2013-07-031-3/+11
| | | | | | | Change-Id: Ia88a1585a6ade94b1ecc95bf4b3d0a38881b71dd Reviewed-on: https://gerrit.libreoffice.org/4699 Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> Tested-by: Khaled Hosny <khaledhosny@eglug.org>
* fdo#66282 - MathML export: improve ExportBraceFrédéric Wang2013-07-031-27/+29
| | | | | | | Change-Id: If15038f8942c649703659e05868162c31785c762 Reviewed-on: https://gerrit.libreoffice.org/4632 Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> Tested-by: Khaled Hosny <khaledhosny@eglug.org>
* fdo#66283 - MathML export: remove useless mrow/mstyle with font commandsFrédéric Wang2013-07-022-15/+14
| | | | | | | Change-Id: I57870a22ef915950fe177dcb75ab31a25f2520c8 Reviewed-on: https://gerrit.libreoffice.org/4634 Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> Tested-by: Khaled Hosny <khaledhosny@eglug.org>
* fdo#66088 - follow-up: handle NGLYPHSPECIAL and NSPECIAL too.Frédéric Wang2013-07-021-3/+3
| | | | | | | Change-Id: Ifc078732e28e9bdaa796c5be3c08c20f9512926e Reviewed-on: https://gerrit.libreoffice.org/4631 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
* fdo#66281 - make underbrace/overbrace stretchy in MathML exportFrédéric Wang2013-07-021-4/+4
| | | | | | | Change-Id: I63608cc4b56f6baa4101020c12c1384a828ce0d2 Reviewed-on: https://gerrit.libreoffice.org/4629 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
* fdo#66416 - Use appropriate unicode characters for math "Brackets"Frédéric Wang2013-07-026-23/+31
| | | | | | | Change-Id: I43d74c92f0de65f9456f5cd8ae150466b6a43717 Reviewed-on: https://gerrit.libreoffice.org/4661 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* fdo#66276 - MathML export: avoid using combining characters.Frédéric Wang2013-07-023-13/+32
| | | | | | | Change-Id: I68cf5aaeb5b13adda76953636b0d3225fff4030c Reviewed-on: https://gerrit.libreoffice.org/4630 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* #fdo66277 - Add support for alignment in MathML export.Frédéric Wang2013-07-011-2/+40
| | | | | | | Change-Id: I78352ff93da5b4e912040c4019fcea924f7b0c20 Reviewed-on: https://gerrit.libreoffice.org/4625 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
* fdo#66278 - MathML export: distinguish inline/display equations.Frédéric Wang2013-07-011-8/+16
| | | | | | | Change-Id: Ia764c2fd64ab772342ce86f67ee290ab38dc4a83 Reviewed-on: https://gerrit.libreoffice.org/4607 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>