summaryrefslogtreecommitdiff
path: root/sc/inc
AgeCommit message (Collapse)AuthorFilesLines
2016-03-10Resolves: tdf#98297 exclude error values from COUNT in array/matrixEike Rathke1-1/+1
Backport of b2f5336b08b5f638f890a626eb2aeefaf499a79b Change-Id: I04ef53b8880243b3548e1b7fd926690dcb4a2137 Reviewed-on: https://gerrit.libreoffice.org/22846 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 84f8fa501ac772b40639d7b6e95ebeb752b01bf5)
2016-03-10Resolves: tdf#98389 check memory requirement of matrixEike Rathke1-0/+6
Attachment 123203 of tdf#98389 has external references of the form [1]Data!$1:$1048576 which effectively address the entire cell range of sheet Data and allocating a matrix for a billion cells attempted to allocate 8GB+xGB of memory which the system said no-no ... Some brave soul along the road once decided that a check on the number of elements wasn't needed anymore and dared to remove it during refactoring.. This change reintroduces the check and adds it also to other places that try to instanciate or resize a matrix. When allocation of a matrix for an external range reference fails it is checked whether the request is for such nasty entire rows or entire columns ranges and if so tries to shrink the range to the actual data area used, which at least in this case helps and works. Additionally it fixes a long standing bug in the cached area to array mapping which caused the cache to not be hit but instead the matrix was aquired over and over again for the same range, causing a serious performance bottle neck specifically for VLOOKUP and related functions where the same external range is used in a lot of cells. (cherry picked from commit 9e60bbdb3aa5f80ca80c9c4fdf7accd12c4a5d1c) Change in convertToTokenArray() backported to older code flow. disable means Enable(false), not true.. tdf#98389 related EnableAdjustHeight(true) lead to the side effect that when clearing the range of a pivot table during import, formulas in the same rows were recalculated with then empty data. Through xSheetOp->clearContents() in PivotTable::finalizeImport() of sc/source/filter/oox/pivottablebuffer.cxx In the case of the bugdoc attached to tdf#98389 that lead to all VLOOKUP() calls resulting in #N/A errors because an empty string was looked up. (cherry picked from commit 088ba465d6bb0931c7034d564a3077e21078cb13) e629ce871d255cc871671165c4da974f21041cec Backported to ScMatrix implementation of 5-0. setCellRangeData: check matrix size before operating, tdf#98389 follow-up Now that we can have the one element error matrix we can't blindly call ExecuteOperation() on it that would access elements out of bounds. (cherry picked from commit 9cae3a88587deaf22ee83b2e36487013a1220a3b) Backported to older code flow. b6e5525f685c9324235f128a943dd716ea7a3fca Change-Id: I35f67b48e665bf1cc8d672325c32b889f2e05c57 Reviewed-on: https://gerrit.libreoffice.org/23003 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 23510e0c61dc92eed37129070d2a2b349b43d686)
2015-11-28Resolves: tdf#95670 propagate ForceArray per parameterEike Rathke1-0/+2
Regression of b5cd11b4b02a85a83db77ba9d8d1763f0cd88cb1 It was always wrong to propagate ForceArray already if a function had a ForceArray parameter *somewhere*, we need to do this per parameter instead. (cherry picked from commit 49257e1da7e371fdea0fac080116b0511789cac7) Conflicts: formula/source/core/api/FormulaCompiler.cxx prevent ForceArray propagation on the same token, tdf#95670 follow-up This may happen if the last RPN token is put and the function has a ForceArray parameter but now again would be wrong if not all parameters are ForceArray. (cherry picked from commit b31b17e52b2b2b94999d68c4b2ed5c74ee7eed0a) 890fb6b5b88337033cfcf2e8189371ee39461205 -Werror,-Winconsistent-missing-override (cherry picked from commit 6edc492efd6fe2de15c1ae306b400ca054772ad1) Backported to SAL_OVERRIDE 3bb2764b625d44f6e0cecbdde3363440faef63b5 Change-Id: If188d45366279d9a7bf641edc7e4dd7095d6d035 Reviewed-on: https://gerrit.libreoffice.org/19993 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> (cherry picked from commit 29adff38e8a6e340302c104c4632df9c6551bc38)
2015-11-18vcl::ITiledRenderable::initializeForTiledRendering: support init. argumentsMiklos Vajna1-1/+1
(cherry picked from commit 479325dec83ea2747f3ce27ca7e817695b15e1bb) Conflicts: sc/inc/docuno.hxx sd/source/ui/inc/unomodel.hxx sw/inc/unotxdoc.hxx Change-Id: I9a6a75457078dc6383673f4c1a2012b69b5cefdd
2015-11-16LOK: setClientZoom() - sets the client zoom levelMihai Varga1-0/+3
We need to know the client's view level to correctly handle the mouse events in calc. PaintTile() set a zoom level that corresponds to the requested tiles and previously postMouseEvent would call SetZoom(1,1). Now we can make use of knowing the client's view level and call SetZoom() with the correct parameters Change-Id: I34b5afcdcc06a671a8ac92c03e87404e42adf4cd Conflicts: sc/source/ui/unoobj/docuno.cxx Conflicts: libreofficekit/source/gtk/lokdocview.cxx libreofficekit/source/gtk/tilebuffer.hxx
2015-11-11Implement LOK_CALLBACK_MOUSE_POINTERAndrzej Hunt1-0/+3
Reviewed-on: https://gerrit.libreoffice.org/19883 Reviewed-by: Andrzej Hunt <andrzej@ahunt.org> Tested-by: Andrzej Hunt <andrzej@ahunt.org> (cherry picked from commit 81b8ca683d44ba9c37f2dc8c74470a86ce70513f) Conflicts: sc/inc/docuno.hxx sd/source/ui/inc/unomodel.hxx sw/inc/unotxdoc.hxx Change-Id: I8d1f63208baf277b0a9d15908f3ea7ff3b56bf10
2015-11-06sc lok: tdf#94605 introduce uno:CellCursorAndrzej Hunt1-0/+6
This allows the client to rerequest the current cursor position, which is necessary e.g. on zoom-level changes. Conflicts: desktop/source/lib/init.cxx sc/inc/docuno.hxx (cherry picked from commit 2bcaffd12263e8f3c2a2fbf8ccc4b9bba2642146) Conflicts: sc/inc/docuno.hxx Change-Id: I10d81e220a56a36e2ec0c59005cd1d4f134857d5
2015-11-03sc lok: allow requesting row headers only for a logic areaMiklos Vajna1-1/+1
So that for large documents it's not needed to query all of them on load, but (similar to tiled rendering itself) it's possible to query the data that affects the visible area. One catch is that the row sizes are relative, so there is a placeholder row in case the visible area is not the top left corner, and constructing its size needs special care. Normally the handed out twip values have to be floored after twip->px conversion, but this one is already rounded (as the total is a sum of px values, again becase of the previous floor rule), so need to play the +0.5 trick to allow clients always just flooring the logic conversion result they get. (cherry picked from commit 75303695eb4bfe6c8fdea2cad0d3ed3f912f95c9) Conflicts: libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx sc/inc/docuno.hxx Change-Id: I64a155582acdee7b2acc741d77a2c462409b91a8
2015-11-03LOK: initial Document::getCommandValues() for RowColumnHeadersMiklos Vajna1-0/+3
Only the row info and for the entire tiled rendering area as a start. (cherry picked from commit a7ce5f83343f8f6ba8a59b05820b3a2066c0ce9a) Conflicts: sc/inc/docuno.hxx Change-Id: Idbccd805b355e8d151ab7025ac1cf0c686cb237b
2015-11-03vcl: getWindow() -> setClipboard() in ITiledRenderableMiklos Vajna1-2/+2
It's cleaner to let the apps do this themselves than exposing their underlying vcl::Window. (cherry picked from commit bfd79be417358822023691cf7b7b2946906100ca) Conflicts: sc/inc/docuno.hxx sd/source/ui/inc/unomodel.hxx sw/inc/unotxdoc.hxx Change-Id: Iff2442dd325fa65a0cf3ad4aa7f918542dab1e4c
2015-10-27sc: implement vcl::ITiledRenderable::isMimeTypeSupported()Miklos Vajna1-0/+3
(cherry picked from commit 5b4c29b1b15dcebfe4e76aaa8bdb2dd45e2b67f3) Conflicts: sc/inc/docuno.hxx Change-Id: I0b9de068ddf0f4ff92d8fbf003b7529516f1f80a
2015-10-27sc: implement vcl::ITiledRenderable::getWindow()Miklos Vajna1-0/+3
(cherry picked from commit 4c6db362dc31edaefd553860d1e0ef0be55c4862) Conflicts: sc/inc/docuno.hxx Change-Id: If50b4b5baea36e161675afd368fc54bdec01d9a5
2015-10-26Resolves: tdf#91453 use configuration of text to number conversionEike Rathke1-0/+112
... also in arithmetic matrix operations. (combination of 4 commits): move ConvertStringToValue() implementation from ScInterpreter to ScGlobal In preparation of matrix calculations to use string conversion configuration and UI markers for cells containing strings that could be numeric values. Change-Id: Ifa9e45853dded249fa741c050ae1f106365f99ea (cherry picked from commit 329496c1f75f97d2e6119ceb214a2ea1fbadb17a) add half decoupled ScInterpreter::ConvertStringToValue() ... for back calls of ScMatrix in preparation of tdf#91453 Change-Id: Ife94d1675c1bc7c5611586e3f352ff69264469d7 (cherry picked from commit 6516d5e299bdf0e7aa03d1004763f6d10db48546) Resolves: tdf#91453 use configuration of text to number conversion ... also in arithmetic matrix operations. Change-Id: Ia00054d0af383e225d9d40b59da2dc28a817b65a (cherry picked from commit 466a20ef07f36d50a73a18ab119b3cc18b4babf4) Resolves: tdf#91453 use configuration of text to number conversion ... also in arithmetic matrix operations if both operands are matrix. Change-Id: I84609656b166b4e059d9496a5ed732a96e731164 (cherry picked from commit 778d03b59c62d21fd171b81c9fab3ba8496e319d) Reviewed-on: https://gerrit.libreoffice.org/19172 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> (cherry picked from commit 0c8d1c04a30ea5df783f758cf6744b2918643c0d)
2015-10-17tdf#94173: Calc doesn't save your own created autoformat presetsJulien Nabet1-1/+5
Auformat list (maData) is defined as "MapType" which itself is defined like this: boost::ptr_map<OUString, ScAutoFormatData> so default sorting is ascii 2 consequences: 1) Default didn't appear first 2) When adding a new autoformat entry when it was new first one of the list wasn't saved because of iterator was incremented first before looping See https://bugs.documentfoundation.org/show_bug.cgi?id=94173#c5 There were some other weird behaviors too according to comments of the bugtracker Regression from http://cgit.freedesktop.org/libreoffice/core/commit/?id=72c1b6141d590fb4479925ed8bc88b79357c2bfc Solution: Add a Compare so Default entry is always first one so the first time incremented iterator is ok and new entry (even if new first one in list) is saved Thank you Markus for the idea! (I was lost in Compare syntax) Reviewed-on: https://gerrit.libreoffice.org/18598 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr> (cherry picked from commit 652158c3f2c9cd0d6f71ecd14bf5d5cc02a71b50) use collator for UI visible sorting, tdf#94173 follow-up (cherry picked from commit a71febc99d2cfc2fe51dec8c0bca5d84d8577168) b9f7ebb087c1ce5008f43b2df3f1fadc41066ed1 Change-Id: I9ba0cdc63c66b747db102bb661cd09fbfe5996ae Reviewed-on: https://gerrit.libreoffice.org/19029 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 457a9f405f3778547cc2fcafff445d89e87c7db6)
2015-10-07LOK: added the button type and key modifier to postMouseEvent()Mihai Varga1-1/+2
To get a better functionality we need to know the button type (left, right, middle). We also need the key modifier (ctrl, alt, shift) for actions such as ctrl+click (to open a link) or shift+click to select (cherry picked from commit c90c08a65c480a1012182979d5e9218f17a2ba2e) Conflicts: libreofficekit/Library_libreofficekitgtk.mk libreofficekit/source/gtk/lokdocview.cxx libreofficekit/source/gtk/tilebuffer.hxx Change-Id: Iaccb93b276f8a6870dd41cc5132dbb85d2bbf71b
2015-09-18Resolves: tdf#94249 do not remove broadcasters while iterators are in useEike Rathke1-1/+2
EndListeningContext holds BroadcasterStoreType iterators in its ColumnBlockPositionSet and collects broadcasters to purge them at the end. Removing broadcasters from ScColumn::maBroadcasters in between invalidates the iterators. Hence calling the "normal" EndListening() that removes a broadcaster when all listeners are gone while an EndListeningContext is in use is bad. Change-Id: Ibdd88469e91e6173ceff1f391c23ef7cb7c6f596 (cherry picked from commit e4a8ae0bf54476e9a0c9e1f5348c05f3cd838899) Reviewed-on: https://gerrit.libreoffice.org/18615 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-18Resolves: tdf#92995 do not delete caption objects that are held by UndoEike Rathke2-2/+3
Drag&Drop Undo is a special case of ownership.. Change-Id: I2fe7769c4d84efe09d432335d5d8e72d506bf7a1 (cherry picked from commit 44f34c1163882c2e3086282374fee9cd55ee211f) Reviewed-on: https://gerrit.libreoffice.org/18470 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-18loplugin:staticmethodsStephan Bergmann1-1/+0
Change-Id: If54b3017296f5bcea01b3b0d24d9ac821f6a24e9 (cherry picked from commit c82c94b40157c08bbbc524b2dc02714cbe82dc65)
2015-08-20tdf#92256: Improved interop of INDIRECT functionKatarina Behrens2-0/+3
This is a combination of 12 commits from master branch: tdf#92256: ODF save/load syntax for string reference Related tdf#92256: map CONV_OOO to listbox item no.1 tdf#92256: Introducing CONV_A1_XL_A1 address pseudoconvention tdf#92256: OOXML save/load syntax for string reference add unhandled case in switch that comment is not correct anymore don't generate invalid XLSX files tdf#92256: Handle case when string ref syntax is unknown tdf#92256: Make OOXML filter CONV_A1_XL_A1 aware too tdf#92256: Make sure ref syntax of Excel docs gets saved tdf#92256: Save ref syntax when different from native one tdf#92256: Don't force CalcA1 syntax on all !Microsoft xlsx docs Change-Id: I226d5644ce729f1311aefc9a8998b3a75633c334 Reviewed-on: https://gerrit.libreoffice.org/17837 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-20Resolves: tdf#58838 do not use collation for Equal/NotEqual operatorsEike Rathke1-2/+6
Unicode collation ignores control characters and other specific characters, see http://www.unicode.org/charts/collation/chart_Ignored.html and thus is not suitable to be used for Equal/NotEqual operators. Change-Id: Ib84713e1da59d92e07bc974d93b6def8217bb067 (cherry picked from commit 1e5e7b9323c3321a380edf86097ccc2e3f0a7a7a) Reviewed-on: https://gerrit.libreoffice.org/17240 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-08-20Resolves: tdf#92709 conditional formats are applied to ranges, not expressionsEike Rathke1-1/+3
Hence we need a separate string as header in the dialog. Unfortunately I did not see this when applying 0cf38e7d0c5d2b67dca828aae1797bff58b6c5fe Change-Id: Ib60cef29e663e71a25849df1d5a926f0e871bb8b (cherry picked from commit ffebdead5445dffd60fb09382e69701d8a06cfc8) Reviewed-on: https://gerrit.libreoffice.org/17239 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-08-06Resolves: tdf#88402 remember sort "has headers" at anonymous database rangesEike Rathke1-0/+5
Change-Id: I4a126f40589fd401f3a63f74be5e86e3df947ef6 (cherry picked from commit 33255f974fc712b9e9e2965a350c65a2195a7ae6) Reviewed-on: https://gerrit.libreoffice.org/17136 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-08-06execute the terrible bottle neck loop only if there are conditional formatsEike Rathke1-0/+1
Change-Id: Ic8bd65a728289c9fa1a0721b0ecbd9b4a48672ca (cherry picked from commit 2aefb89b299e7ebdca5bb35aa4e9059e59805715) Reviewed-on: https://gerrit.libreoffice.org/16902 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-08-06always justify a referenced range in order, tdf#92468Eike Rathke2-0/+15
(cherry picked from commit d24c6a0280b0287ee6c23ca89068323c6b7c3dd7) (re-)introduce ScComplexRefData::PutInOrder(), tdf#92468 (cherry picked from commit ad3d2b6c2e88d191d76f90eb5be927f7ca76c670) introduce ScTokenArray::AdjustReferenceOnCopy(), tdf#92468 (cherry picked from commit 369ee0b1faf79f1bd23c75ee04dd0dcc5bf283af) call ScTokenArray::AdjustReferenceOnCopy() in ScFormulaCell clone, tdf#92468 (cherry picked from commit 3ddaeaab37d585971e376de6ad7b0f06f55f2e1a) f551e02a77a416b95f74266de896391d1d72eb3c 0a7ac0d9d10e96223cd5f095a771aa6f9d271417 0dc0c3528b35bc6ea2525bafb94d72ee65e4791a Change-Id: Id69c58800d28f1733777f7931a20d8ee7bdf034f Reviewed-on: https://gerrit.libreoffice.org/16815 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-06use ScComplexRefData::IsEntireCol() and IsEntireRow()Eike Rathke1-0/+14
Change-Id: I4287019f5492825f6d295c4e364405f0d7329eb7 (cherry picked from commit dcbceb945b7a282c1a1309cf07e62ecc925e98f6)
2015-08-06TableRef: add ScDBData::GetColumnNameOffset()Eike Rathke1-0/+10
Change-Id: Id80b9e8d1f54a8b795d0f4209bdf2f980f9a5344 (cherry picked from commit 044f79078ae2776b786f904e5f24a745f8635a18)
2015-08-06TableRef: invalidate table column names on most sheet operationsEike Rathke1-1/+5
Kept only on insertions and deletions, but even that may not be useful as the names aren't updated at any time so even a mere cell change will bring this out of sync. But serves as a starting point for further implementation. Change-Id: Idfede4b03b9f554cd35f984502fce625c725853c (cherry picked from commit 98ba33677c288ff80c6f2812e85039175b7fcff8)
2015-08-06TableRef: add ScDBData::maTableColumnNamesEike Rathke1-0/+4
Change-Id: Ifb95f76f518646e32d1df45a77f146ad3a255087 (cherry picked from commit 6055eb2ca4c3c58f2e510b92bcf57c669bd56e3f)
2015-08-06in OOXML save references of named expressions with col,row=0,0 base positionEike Rathke2-5/+1
Saving relative references of named expressions to OOXML never worked, upon reload they pointed to a different position offset by the value of the original base position. This at least saves positive relative references correctly, while generating #REF! for negative offsets which is slightly better than having them point to a wrong location and silently calculate different values.. Also, this is a prerequisite for TableRef ThisRow references in named expressions to be saved correctly in A1 notation, which results in a relative row 0 value. Change-Id: I3734f910794ceab4b9224b214ad11c64d1d18e67 (cherry picked from commit 80aafaf79306ea82cd24f10f200908addccaf34f)
2015-08-06TableRef: inherit RelName in generated reference if named expressionEike Rathke1-0/+4
Change-Id: I67621e59c6e20e7f3b5101772b5d274d8c745ce9 (cherry picked from commit d0255f30e34442a70665a91fa7e4b6c92f3dab1b)
2015-08-06TableRef: make ThisRow work in named expressionsEike Rathke1-1/+1
... including reference update as named expressions don't hold RPN. Change-Id: Ieea19e24f1dcf71d489ff0249bc7d3644e4f0d2b (cherry picked from commit 37464e3fdaea201900408f7c2395f9bec6184f72)
2015-08-06Resolves: tdf#83365 push proper references in INDIRECTEike Rathke1-0/+5
... that take relative/absolute addressing and sheet 3D flag into account to be fed to reference extension via range operator. Change-Id: Iabe13ae384577e2d71ca87af6482ddccbf7ad0ac (cherry picked from commit fb6dd2a73074b9695bd8ddf7ba40f1819b03024e)
2015-08-06Resolves: tdf#86305 clone upper left of matrix result if double tokenEike Rathke1-0/+6
Change-Id: I541577e0b99b0144a755e5755adc890c0ca8d204 (cherry picked from commit ffc1ffed11dc63a69fc2db04f12b3ea266b580fe)
2015-08-06tdf#89972: also copy external reference statusMike Kaganski2-0/+10
fixes regression from commit 4467c67dc8bf17c67c70985c0d0ea64636884f9f, where the new optimized code path failed to properly register ScFormulaCell with ScExternalRefManager. Introduces a new public method in ScExternalRefManager: insertRefCellAsTmpl that registers a formula cell to listen to the same external references as template cell Introduces new property to ScFormulaCell: mbIsExtRef that indicates that some external references are referenced by this cell Change-Id: Iee07d7b51949fd31953b5fa662a213052eb85181 Reviewed-on: https://gerrit.libreoffice.org/16066 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com> (cherry picked from commit 17282387d650e843e0f5a28611d91597ccd09970) Reviewed-on: https://gerrit.libreoffice.org/16219 Tested-by: Jenkins <ci@libreoffice.org>
2015-08-06Resolves: tdf#89643 report builder function wizard segfaultsCaolán McNamara1-4/+6
regression from commit 3d6521280929ecacc53b7c358d29d0b5d31b3462 CommitDate: Thu Jul 31 22:14:25 2014 +0200 fix memory leak around function descriptions Found by Lsan. There are two implementations of getCategory, one (sc) returns a new one each time (hence the leak fix) and the other (reportdesign) returns a pointer to one that belongs to the manger (hence the crash). The code in formula really looks to me to expect that the getCategory return a pointer that "someone else" needs to look after, i.e. the reportdesign variant is the more correct so revert 3d6521280929ecacc53b7c358d29d0b5d31b3462 and to fix the leak make the sc own the ScFunctionCategories and just cache them like the reportdesign one does Change-Id: Ifd986301a54b4d20449e864697655cd973e0c4df (cherry picked from commit 7c3abee29c742593206b755b20a718c46f0780fa)
2015-08-06tdf#69552 [part 2] support all ODFF1.2 and Excel2013 variationsWinfried Donkers1-0/+2
of CEILING and FLOOR Change-Id: I9537d9bd8dbca2eac769e74e9d3d5b298b76f594 Reviewed-on: https://gerrit.libreoffice.org/16016 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit cb13c46da1cdd1e2b95fd473cc0ff54f776dfe9c)
2015-08-03tiledrendering: added getPartName method for calcMihai Varga1-0/+3
This method is used to get the sheet's name and to display it in the tabs (sheet selector) I've also added an unit test for it and uncommented a similar one Change-Id: Ia866815c594a873812c71a6c86e303c869e1f093 Reviewed-on: https://gerrit.libreoffice.org/17294 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2015-06-23sc: add ScModelObj::getTextSelection().Henry Castro1-0/+3
Calc copy part of copy&paste Change-Id: Id9d2d05b491849fa30b3c91c6b22abe60355e876
2015-06-22sc tiled rendering: Set some minimal size of the document.Jan Holesovsky1-0/+3
Let's default to 12x36 cells. Change-Id: Ic39739ec036a6e5867d31b7e05b6da12ce2e46d2
2015-05-27Resolves: tdf#91416 setting progress -> resize -> destroy formula contextCaolán McNamara1-0/+4
i.e. setting progress triggers ScTabView::DoResize and an InterpretVisible and InterpretDirtyCells which resets the mpFormulaGroupCxt that the current rCxt points to, which is bad, so disable progress for the duration of the GetResult loop Change-Id: I8e88cee4dd2308ef61dee934d300a38978833703 (cherry picked from commit e3c1a394a00cef416a81b89b6d5c204891abb286)
2015-05-20ScIconSetFormatData::mbCustom read uninitialized...Stephan Bergmann1-1/+2
...in ScIconSetFormat::GetIconSetInfo, e.g. during CppunitTest_sc_ucalc Change-Id: Ia4380110cafdb0f220b99a8e1aeb5c3efde60d7f (cherry picked from commit 186b1e00017c163fdef5e8ceb1221c2d416b32cf)
2015-05-19don't use default style as parent for OOXML cond format style, tdf#91335Markus Mohrhard1-0/+3
Change-Id: I1388bb5ab71f6f6d174872023f085240f3bff916
2015-05-19use XL_A1 as ref string syntax for excel produced documentsMarkus Mohrhard1-1/+1
Change-Id: Ieed3521674ef713d9c09313cd41d1edd6ba3dcc5
2015-05-18callcatcher: update unused codeCaolán McNamara1-6/+0
Change-Id: I43dd399368953c629916dad8104a296f837a6344
2015-05-16add missing OOXML icon sets, tdf#69095Markus Mohrhard1-1/+4
Change-Id: Ia4f9e62bb2b2bd143785642fcfacbc58cfaf1926
2015-05-15support custom iconSet collectionsMarkus Mohrhard1-0/+4
Change-Id: If54afe3535dd20f77cab9d15ba2d575ddeb89986
2015-05-12tdf#60573 Conditional formatting does not allow scrollingHenry Castro2-0/+4
If you need to apply conditional formatting to a cell not shown presently on your screen you cannot scroll to the position you would like to use. Change-Id: I18549316d2c725ce032a65cffb969bed21b771c3 Reviewed-on: https://gerrit.libreoffice.org/14258 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-08lopluign:staticmethods: Handle DECL_LINKStephan Bergmann2-2/+2
Change-Id: Ib27854a8470f3ff5b208cb949a7bd02f2a86c969
2015-05-07remove unused code; bMapDupToInternal in struct AddInMapWinfried Donkers1-1/+0
is not used apart from getting a value. Conflicts: sc/source/core/tool/odffmap.cxx Change-Id: I26e942f6357970c6d9de27b5d5cf00b451193732 Reviewed-on: https://gerrit.libreoffice.org/15658 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-06Resolves: tdf#91078 check also DBData modified, not only named expressionsEike Rathke1-3/+6
This adds ScDocument& to all RefUpdate...Context; another approach could had been to add an UpdatedDBData similar to UpdatedRangeNames and gather those in the ScDBData::Update...() methods, but as long as ScDBData::IsModified() works that isn't necessary. Change-Id: Iae3ec6c8b8356cbd8acb2445489e91e7d6922fb3