summaryrefslogtreecommitdiff
path: root/sc/source
AgeCommit message (Collapse)AuthorFilesLines
2013-08-12Collect all boundaries at which to split the formula group.Kohei Yoshida4-6/+152
Change-Id: Ic78d7a06991b983e625b161f11fbbabce02334f3
2013-08-12If the formula cell is grouped, update reference only on the top cell.Kohei Yoshida1-0/+4
Change-Id: I5e2e9db621a61deba39a46962e0ca877235d7c90
2013-08-12Export shared formulas to xls, from the new shared formula in the core.Kohei Yoshida4-36/+21
Turns out we don't export shared formulas to xlsx, so no work is needed there. Change-Id: I85604f3b80c95c5b6179bbdac41e758c5de7854a
2013-08-12Fix the (Windows) build. No idea how this was buildable on Linux.Kohei Yoshida1-2/+2
Change-Id: I9c0701b1b8f30c36f45bbee0d95e92a59f9891fe
2013-08-12Detect self-referencing groups, and disable group-calculation.Kohei Yoshida2-6/+96
And re-enable group-calculation on named ranges. Change-Id: I4957ff05bac23bd266bbc96fe5619ad5f0a65688
2013-08-12Fix import of negative relative row reference from xls.Kohei Yoshida1-1/+1
Change-Id: Ibaa325396a8a06c45cf59af9809ed5cbff6d10d0
2013-08-12Disable vectorization on named ranges for now.Kohei Yoshida2-26/+3
Change-Id: Ibc10d5eb9afff6062106c952aa2e7d3f9cb58100
2013-08-12Uncomment this.Kohei Yoshida1-1/+1
Change-Id: I628c826905d0c1074fbc5c12e821c0efd6489bbf
2013-08-12No more RT_SHARED and RT_SHAREDMOD named range types.Kohei Yoshida7-36/+16
Change-Id: Ic8d98b62747ae29cc968ce926e2ae42537023840
2013-08-12Rework shared formula import in orcus handler.Kohei Yoshida5-92/+212
Change-Id: I3a6ed347565fff7cc984960929c66997e3a18f1e
2013-08-12This code is no longer needed.Kohei Yoshida3-49/+1
Change-Id: I319aae9d58fe1798e6add168f5a3613bceef7c26
2013-08-12Map shared formulas to Calc's formula groups on xlsx import.Kohei Yoshida8-80/+237
Change-Id: If8d11c5ee55afd8529070a699ca50284880ceb45
2013-08-12Const correctness at ScFormulaCell side.Kohei Yoshida5-10/+31
Though I had to use const_cast in some places... Change-Id: I22830bf291179efafc1b400f33a520072b7fab0f
2013-08-12Some cosmetic "fix"Kohei Yoshida2-40/+39
Change-Id: I80baff3b1794619659e505622164e2582e762248
2013-08-12Handle shared token array correctly when adjusting formula grouping.Kohei Yoshida4-17/+47
Change-Id: Ib4b141f415b36565106e946ccbc47f2b9f80d89c
2013-08-12Map shared formula from xls to formula groups, and share the tokens as well.Kohei Yoshida9-115/+135
No more mapping to range names. Change-Id: Ic43b6ef35a91fe4d6fff748ebc22969ba4e036db
2013-08-12Rename this to SharedFormulaBuffer, which is readable.Kohei Yoshida4-14/+14
ShrfmlaBuffer is not readable. Change-Id: Ic91f7c2fcc15d4210af4f97341199ce03593d223
2013-08-12Prepare for importing shared formulas as formula groups from xls.Kohei Yoshida4-93/+138
Still the first step. Change-Id: I1897c9c2cd3a5b5245febbfba76e1b088054f578
2013-08-12removed misleading comment about now obsolete CELLTYPE_NOTEEike Rathke1-1/+0
Change-Id: I382eddbe25f8bccf82a4afbbcd25f27393207744
2013-08-12fdo#37341 fix unending loop in calc with Goal SeekWinfried4-241/+179
This is an improved patch of commit G12a712245bdcca40bb87e2bd118eec9635848 which was reverted with commit bcbdf6763944dcc53c2667bf829a005ff0b9223a The original patch still contained a piece of test code that does not belong in the patch. The goal seek tests from Junittest_sc_unoapi now all give the expected results (tested manually). Change-Id: I8009a0dd3601a1d7d54899e781e30363cf0c36ea Reviewed-on: https://gerrit.libreoffice.org/5359 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-08-12doh unitialised variableNoel Power1-1/+1
Change-Id: Ief70ed0e8f06715b1909e769b031db0dcaf0095d
2013-08-12listen for formula related configuration changesNoel Power1-3/+26
Change-Id: Ia95dea3fab6bffeb1967096888a07e610b9bd858
2013-08-12convert vcl/i18nhelp.hxx from String to OUStringNoel Grandin1-9/+9
Change-Id: I804a5713a1d793e4828c78f777418c914a6feb71
2013-08-11String->OUStringIvan Timofeev3-4/+4
Change-Id: I49e0e589c4bad3706882c9e30fe4f6bf8bdd7f1d
2013-08-10sal_Bool to boolEike Rathke2-3/+3
Change-Id: If15bc8ae32674a7282861663ab4f91a958320a3c
2013-08-09change documentation of ScDocShellModificator to something comprehensibleEike Rathke1-7/+15
Original meaning got lost during translation. Change-Id: I23c6ab093bf6ddf45b55f35a0d15fe7a1d927723
2013-08-09convert SfxStyleDialogs to .uiCaolán McNamara5-248/+80
Change-Id: I32aa538026669e22e0756cd062b72e67f8d179e5
2013-08-09resolved fdo#66205 call PostPaintCell() in Set...Cell() data entryEike Rathke1-0/+4
Cell modifications need to chain repaint positions. Regression introduced with bcf5b54b47eda4e39b4f5f4813cb43e1f52f0201 and related. Change-Id: I4df633304443ea761ae743ee1271f5777e0da5b2
2013-08-09Resolves: fdo#67947 charsets not sorted in csv dialogCaolán McNamara1-0/+2
regression since 538ba011d7b598737c898cfcce1e0d7b00b40c84 Change-Id: I260819681dfd47435d8edf5fd97c873238c5d808
2013-08-09Revert "fdo#37341 dix unending loop in calc with Goal Seek"Stephan Bergmann4-179/+241
This reverts commit 07112a712245bdcca40bb87e2bd118eec9635848, which breaks JunitTest_sc_unoapi: > checking: [sc.ScModelObj::com::sun::star::sheet::XGoalSeek] is iface: [com.sun.star.sheet.XGoalSeek] testcode: [ifc.sheet._XGoalSeek] > LOG> Execute: seekGoal() > LOG> Goal Result: 16.0 Divergence: 0.0 > LOG> Goal Result: 9.0 Divergence: 1.7976931348623157E308 > LOG> Goal Result: 0.8 Divergence: 1.7976931348623157E308 > Method seekGoal() finished with state FAILED > LOG> seekGoal(): PASSED.FAILED
2013-08-08vcl, sw: fix the inheritance of SwComboBox from ComboBox a bitMichael Stahl1-1/+1
Remove the silly overloading, and introduce virtual methods. Change-Id: If54a6a3fb7464283f80d3387ae23db234690f8a3
2013-08-08Make selection corner marks slightly transparent.Tomaž Vajngerl1-5/+12
Change-Id: Ibf363d741ca346adefd30f5b68d9a47db73db8df
2013-08-08fdo#67592 Resize selection box from all 4 cornersTomaž Vajngerl3-33/+121
Change-Id: I40c857eb1ed5c784a3911667f685c6450bf7a7c4
2013-08-08Fix some memory leaksJulien Nabet1-1/+14
Change-Id: If8c1b341b8493b8902f060d8d13bbb7d08991cd9 Reviewed-on: https://gerrit.libreoffice.org/5309 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-08-08import performance : do not use EditEngine anymoreLaurent Godard2-6/+25
Change-Id: I5849add3444cff15a201a276c8917fabc4b33262 Reviewed-on: https://gerrit.libreoffice.org/5317 Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de> Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
2013-08-08fdo#37341 dix unending loop in calc with Goal SeekWinfried4-241/+179
The combination of a solve process happening in two functions (ScDocument::Solver() and ScInterpreter::BackSolver) with iterations and recursive as well as iterative interpreting (ScInterpreter:Interpret() and ScInterpreter::InterpretTail()) led to improper handling of the stack, with an unending loop as a result. Integrating the two solver functions, and so simplifying the code, results in correct behaviour in all documents attached to the bug report. I tested with values for MAXRECURSION of 5 and 400 (standard value) to have really different combinations of recursion and iteration. Change-Id: If4cb8926c5e192cd6c764dcdd45a92e285e983bb Reviewed-on: https://gerrit.libreoffice.org/5292 Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de> Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
2013-08-07cppcheck: fix memory leakJulien Nabet1-0/+1
Change-Id: Ic52ef3bcbca4c512fcb6e422a9b4e983cccbe41a
2013-08-07Translate German commentsPhilipp Weissenbacher1-24/+22
Change-Id: Ie5b0fd4e73a62b28891f2f07c9fabe468ef9906c Reviewed-on: https://gerrit.libreoffice.org/5304 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-08-07More OUString Conversion in sc/source/ui/dbgui/validate.cxxJoren De Cuyper2-12/+12
Thought there were some String-conversions missing to fix fdo#67480 . Bug is still reproducible, so doesn't fix it. Change-Id: Ifd36cb2042b99565b210796edc77120697672278 Reviewed-on: https://gerrit.libreoffice.org/5290 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-08-05Implement MINVERSE using OpenCL.Haidong Lian4-108/+411
Change-Id: I2524db7dbf07d8899bea6f90d1dcb7cd81acf8d9
2013-08-05fdo#67099: Call Clear() before setting SetText() for the first time.Kohei Yoshida1-0/+3
SetText itself internally clears the content, except that it doesn't clear text attributes for some reason. Since Clear() is quite expensive even when called with empty content, we need to call it only when necessary. Change-Id: I25ca36c1c2f690b160511180892595daf43681b3
2013-08-05munge filename prop back into frame titleCaolán McNamara2-5/+4
Change-Id: I7f541dca151b3e755f1e21de05ee29abd15daebb
2013-08-05fix build with debug STLDavid Tardon1-7/+17
Failed with: /usr/include/c++/4.8.1/debug/safe_iterator.h:510:error: attempt to compare iterators from different sequences. Objects involved in the operation: ... The problem is that miPos in _copied_ object points ot maAttrs in the original object, not in the copy (and std::for_each takes a copy of the functor). This could be solved by defining copy constructor and operator=, but given the limited usage of the class, it is simpler to let copies share the state. Change-Id: Icf3f02ecd2fe4ce6dd77f3cde226d32beb4d4b3f
2013-08-05Convert statistics tab page for calc to .uiabdulmajeed ahmed4-125/+14
Change-Id: I950cf893875ec75668e17bd20bbe19369c132184
2013-08-03modern .ui widgetlayout for validateCsikós Tamás4-81/+19
widget found at: spreadsheet/data/validate Change-Id: Ib4eed0e25f851f90e5dad0dee74a0729da10aa5e Reviewed-on: https://gerrit.libreoffice.org/5254 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-08-02Fix subtotal functions in the status bar.Kohei Yoshida1-1/+1
That is clearly a mistake. Change-Id: I8f631f2ff63449a260091d7990f24ebaeea9c5f2
2013-08-02fdo#67684: Store imported text style entries, else they won't get exported.Kohei Yoshida1-0/+5
Change-Id: Id784772e677e176622e75ff5ae33ab3eb78b1d9a
2013-08-02fdo#67099: Don't use edit engine for a single unformatted paragraph.Kohei Yoshida2-8/+35
which is most common, and using edit engine for it would decrease loading performance. Change-Id: I65c20eef96c88edd8eb07c73c27716c4f03c4cda
2013-08-02fdo#67099: Remove overheads on inserting cells during ods import.Kohei Yoshida7-206/+386
We will switch to using ScDocumentImport to populate the document from import filters, instead of using ScDocument directly. Change-Id: Ie59d6877d1ac4fc04751a84b663772a9dc9a3efc
2013-08-02remove last uses of XubString in scCaolán McNamara4-23/+23
Change-Id: I44c42f0268b0d7c2e77ab7e807610d39b7b7ea56