summaryrefslogtreecommitdiff
path: root/sc/source
AgeCommit message (Collapse)Author
2016-03-02loplugin:unuseddefaultparams in sc (part1)Noel Grandin
Change-Id: Ie7c23bfee7cb6c73e455a47801f7eb1b481a8cf0
2016-03-02loplugin:unuseddefaultparam in sfx2Noel Grandin
Change-Id: I37afde801a6468c79259fe51acbdea0614c2c8c5
2016-03-01coverity#1352213 Unchecked return valueCaolán McNamara
Change-Id: Iae1c0a09eae410136569ed1480dbcdfff589f20e
2016-03-01ccu#1573 sc lok: fix reporting of hidden row heightMiklos Vajna
For columns we use ScDocument::GetColWidth(), which returns 0 for hidden columsn. Do the same for rows: so instead of using GetOriginalHeight(), use GetRowHeight(), and then 0 size will be reported for hidden rows as well. Change-Id: Ic23b6af744bbc8e194e1906614adebe5ba0c7ced
2016-03-01tdf#97369/#97587 - Further fix SUMming in the software interpreterMarco Cecchetti
When SUMming in the software interpreter involved trailing empty cells, code tried to read beyond numeric array limit. Change-Id: I50c1148e7e79d02bedb02a771df172035112915c Reviewed-on: https://gerrit.libreoffice.org/22791 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-02-29fix error in new cell dump property codeMarkus Mohrhard
It is also ALT+CTRL+SHIFT+F9 for now. Change-Id: Ic632ae070118e5c4083f47302b8b0086ccebdcd2
2016-02-29fix the "group not recalculated after delete" second part of tdf#97897Eike Rathke
If a formula cell group was split during deletion and the group also listened into the range where a cell was deleted, the group wasn't notified of the deletion. Change-Id: I858f5d4c0b647636611133fc32f3df7fbdaf7288
2016-02-29loplugin:nullptrNoel Grandin
Change-Id: I318a669d8b6b26c179111f887e13da784385a4ac
2016-02-29Related: tdf#89646 sc: Fix some issues with the new toolsMaxim Monastirsky
- Fix default object creation (by holding CTRL). - Fix Polygon (45°) tools (inverted SHIFT effect via doConstructOrthogonal). - Toolbar layout similar to Impress/Draw. Change-Id: Ib4e4aec1560599201c00e0726c29021763d773ad
2016-02-28tdf#89646 Implement "uno:LineToolbox" command into calc.Gulsah Kose
Freeline filled, Polygon filled, Bezier Filled, Polygon 45, Polygon 45 filled buttons are added into writer's LineToolbox. Change-Id: I181d3cbc64a70ef1ef363b1ef76641b6b8ec2c79 Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/22748 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2016-02-28move the cell property dump code into dbgutil buildsMarkus Mohrhard
We now allow with a CTRL+SHIFT+F9 to dump the cell properties as a xml file. Change-Id: I730e7009bbe95d3105541a9afbd2c8a19c992600
2016-02-28tdf#97667 Added a dump method for SfxItemSet in gridwin.cxxJaskaran
This is the first part of solving the task at tdf#97667. The goal is to dump SfxItemSet where our cell properties are stored.Improved it after inputs from moggi.Also I've commented out a few lines in gridwin_dbgutils.cxx That were causing build to fail on jenkins.Once the dump function is moved to the DBG_UTIL Change-Id: I502eaa985b3bf8d296e301d96e42f13d6fd53da5
2016-02-28tdf#97963: Impose size limit on all 3 edit windowsKatarina Behrens
Doing it for 1 window (tdf#90257) isn't enough, the dialog will grow outta screen with large fonts not immediately, but on the next opening Change-Id: I890ecd91a00efc4c7596b30a237f5abb4f87215a Reviewed-on: https://gerrit.libreoffice.org/22739 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-02-27tdf#97906 : Toggle reference and show data sources shortcutsDennis Francis
In Default mode : F4 = Toggle reference Shift F4 = Toggle reference Ctrl+Shift+F4 = Show data sources (both Mac and non Mac) In Legacy mode : F4 = Show data sources Shift F4 = Toggle reference Change-Id: Ifb53bfa671f212d73ebb8c3f80ed5c498d517d4d Reviewed-on: https://gerrit.libreoffice.org/22728 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-02-26tdf#97654 - replaced CellAddress types with ScAddress.Mohammed Abdul Azeem
Differences in default constructors is compensated and other changes have been made as suggested. Change-Id: I15bdf5043816502ace797c352242a4a59f1cd64e Reviewed-on: https://gerrit.libreoffice.org/22579 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-02-26handle SearchWildcard API optionEike Rathke
Change-Id: I5350167638a5831e1f125728397fecfc637ee004
2016-02-25loplugin:unuseddefaultparams in xmloff/Noel Grandin
Change-Id: Ia504a4e96a4ebc8404fe6881e0f77fba29cd00ae
2016-02-24let SvxSearchItem use SearchOptions2Eike Rathke
And all those places that interface to SvxSearchItem. Change-Id: I08915824a596cd0f247a89f44e4684cd22b98082
2016-02-24convert DocPasswordRequestType to scoped enumNoel Grandin
Change-Id: I25d217ca2cf3e8cc4dfaccc6dc7d5453ffdc6cb6
2016-02-24convert DocPasswordVerifierResult to scoped enumNoel Grandin
Change-Id: Ib5a595819dec8511d284ed1022d8f7c624f8d8f9
2016-02-23SearchFlags::WILD_MATCH_SELECTION, SearchOptions2::WildcardEscapeCharacterEike Rathke
At least '\' (search in Word) and '~' (search in Excel) should be supported as escape character. Being able to restrict a match to entire selection instead of substring speeds up the Calc match whole cell scenario. Change-Id: Ice242b9cd59009f172b724e03c2cc08feda4cd3c
2016-02-22enable wildcards when importing .xlsx|.xlsb, tdf#72196Eike Rathke
Change-Id: I6fbc8926d10d9028287c154a2e933d2de847cc12
2016-02-22enable wildcards when importing .xls, tdf#72196Eike Rathke
Change-Id: Ice014ef31c9962a2d77496236712b59cd147b6e8
2016-02-22add wildcards to Tools->Options->Calc->Calculate dialog, tdf#72196Eike Rathke
Maybe this should be a radio button instead (wildcards/regex/literal), on the other hand it reflects the two API bool values. Also only two checkbox lines are needed instead of three radio button lines. Change-Id: I3fa74e19c838e10dc0cffd6c0ad6329017e10e56
2016-02-22change to DetectSearchType(), tdf#72196Eike Rathke
Change-Id: I34cc3faa325f754e4f1dc5236a65f16e035d6c27
2016-02-22confusing block indentationEike Rathke
Change-Id: I42dc30742a65062374e700a70796f129e61b13c1
2016-02-22adapt places that call GetSearchTextPtr(), tdf#72196Eike Rathke
... to do that not only for regexp. Change-Id: I0a6d878c7b30b1668dda902f0e50ae3c3cc3b486
2016-02-22ScQueryEntry::GetSearchTextPtr() with SearchType, tdf#72196Eike Rathke
Change-Id: I1c9c5c6271927bb2d2ac9309e9a6ca36016237f4
2016-02-22include '~' escape character in MaybeWildcard(), tdf#72196Eike Rathke
Change-Id: I09ff6b07f63b9b9199b73d27d8118c18d233f2b2
2016-02-22Pick a single place to declare SfxObjectShellRef typedefStephan Bergmann
Change-Id: Ie949f4d9002beefb810c87cdd44bf59f575da101
2016-02-22loplugin:commaoperator in sc/Noel Grandin
Change-Id: Id3f21f80c1ce83293d10c29c8035a0e74e076f80
2016-02-22Missing dispose of dialogStephan Bergmann
...causing crash later at > SfxItemPool::GetFrozenIdRanges() const > SfxItemSet::~SfxItemSet() > SfxTabDialog::dispose() > ScRefHdlrImpl<ScValidationDlg, SfxTabDialog, false>::dispose() > ScValidationDlg::dispose() > OutputDevice::disposeOnce() > VclPtr<vcl::Window>::disposeAndClear() > vcl::LazyDeletor::~LazyDeletor() > vcl::LazyDelete::flush() > ImplYield(bool, bool, unsigned long) > Application::Yield() Change-Id: Ia4ae95cbbf4b5660ed08058b67ab674029c0b437
2016-02-22loplugin:write only fieldsNoel Grandin
Change-Id: I45895e9845a9037da207f001fece427452ed499f
2016-02-21tdf#93837 Convert RID_FM_TEXTATTRIBUTE_MENU to xmlMaxim Monastirsky
Change-Id: Ic37bfb9e25eba9b03b2c896c904823aec478355e
2016-02-20implement wildcards precedence at ScDocOptions, tdf#72196Eike Rathke
Change-Id: I3a8f880479ee2d0621e10b3c9d405948cadabeaf
2016-02-20use O(n) algorithm to change all autofilter entriesMarkus Mohrhard
Change-Id: Iae80c0c23b15a9c2ba0cd4913d6e22dc4c3a1816 Reviewed-on: https://gerrit.libreoffice.org/22516 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-02-20use calc brace styleMarkus Mohrhard
Change-Id: I96d05359308f38d6952137bc0b326505bba47c89 Reviewed-on: https://gerrit.libreoffice.org/22515 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-02-20add missing IsFormulaWildcardsEnabled() calls, tdf#72196Eike Rathke
Change-Id: Ia684cfe93c6a0e71a0fbbe22974501bf610e9190
2016-02-20read ODF table:use-wildcards, tdf#72196Eike Rathke
Change-Id: I37dc8d6c75378fabda88930f6cc3f0508587207c
2016-02-20write ODF table:use-wildcards to calculation settings, tdf#72196Eike Rathke
Change-Id: I36d23c891b9ba85f0b0352d2314f092d7e9113eb
2016-02-20import Wildcards at ScXMLCalculationSettingsContext, tdf#72196Eike Rathke
Change-Id: Ic0031052a488581ad8627375993c275bc635ed8a
2016-02-20add Wildcards UNO API implementation, tdf#72196Eike Rathke
Change-Id: I3dbca9661b55596484ac77f92243fd463fa01ec9
2016-02-20add FormulaWildcardsEnabled to ScDocOptions, tdf#72196Eike Rathke
Currently as raw bool values matching the configuration values. Will need a precedence handling. Change-Id: I1a65b4dc0af54bd39474a2ca329bee1ea0337a9f
2016-02-19new loplugin: find write-only fieldsNoel Grandin
Change-Id: I0f83939babacf92485420ee63f290a297d7cb717 Reviewed-on: https://gerrit.libreoffice.org/22498 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-19editeng: remove never read mpLibreOfficeKitCallbackMiklos Vajna
As all callback invocations happen with SdrModel's callback pointer. Change-Id: I0111040c501b7927332f88cc4797b8ebab2bc57a
2016-02-19change all bool bRegExp to utl::SearchParam::SearchType enum, tdf#72196Eike Rathke
Later inspect all places that use utl::SearchParam::SRCH_REGEXP if and how to use utl::SearchParam::SRCH_WILDCARD as well. Change-Id: I6ad4e5dea3cd656fd670f2281aaceec817953211
2016-02-19prepare a SearchType detection fragment, tdf#72196Eike Rathke
to be elaborated Change-Id: Ie8c059b5b92c5d1454ce73870582815b20567c08
2016-02-18don't fill the matrix cell by cell, tdf#67071Markus Mohrhard
We are now at a place where filling one cell takes about a second with the big document. We could in theory for the special case of this document add some caching but that would fail in other cases. This document is already quite large with an external reference to 70k cells for each formula cell. I consider it already quite nice and useable again. Change-Id: I804094838471507e6bb7b0e0e3387e0c7fe53e4b Reviewed-on: https://gerrit.libreoffice.org/22388 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-02-17gtk3: use native GtkPopover for calc formula prompt, etcCaolán McNamara
Change-Id: I9aa7e977228780b6273daa03be5e872342414437
2016-02-17use consistent #define checks for the Windows platformNoel Grandin
stage 2 of replacing usage of various checks for the windows platform with the compiler-defined '_WIN32' macro In this stage we focus on replacing usage of the WIN macro Change-Id: Ie8a4a63198a6de96bd158ecd707dadafb9c8ea84 Reviewed-on: https://gerrit.libreoffice.org/22393 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>