summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)AuthorFilesLines
2016-03-03sc: add classification toolbarMiklos Vajna4-0/+27
Again this is just UI to call into sfx2, where the functionality is shared with Writer and Impress. Change-Id: I73ce6fb54d50c23df19ed2c610766b7c515e94d6
2016-03-03unit test for tdf#98297, exclude/include error values with COUNT/COUNTAEike Rathke1-0/+12
Change-Id: I2cc7d6ebdcb9411060462d7afa704f9e100c6c5e
2016-03-03loplugin:unuseddefaultparams in formulaNoel Grandin4-6/+6
Change-Id: I7f0baa2709db24e8299f0e1c19c0703aee1cbf4f
2016-03-03remove double definesJochen Nitschke7-60/+12
search ABS_* defines and replace with equal SC*_* defines from address.hxx then removed double defines Change-Id: I1a5385daf6e1fb6f959f142c04f2515e7b85a80e Signed-off-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Reviewed-on: https://gerrit.libreoffice.org/22826 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-03tdf#57950 Replace chained O(U)StringBuffer::append() with operator+Steven Guo1-8/+3
Replace chained O(U)StringBuffer::append() in PivotLayoutTreeListData.cxx Change-Id: Ia1cc2f32e038bca2421cc5e9aca3b4f15d7c8432 Reviewed-on: https://gerrit.libreoffice.org/22828 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-03loplugin:unuseddefaultparams in sc (part2)Noel Grandin48-219/+159
Change-Id: I356a86bfca20cbf2c52185697042dce5237e847d
2016-03-02Resolves: tdf#98297 exclude error values from COUNT in array/matrixEike Rathke3-13/+29
Change-Id: I202dcc2a2b90ee8ed27815b97a2aad6e4df2f1b9
2016-03-02coverity#703997 silence Unchecked return valueCaolán McNamara1-1/+1
Change-Id: I6801d8ff6d0646e14e359ab55bf523790abf7e41
2016-03-02shift "Decimal places" down by 2 to align with "Limit decimals" againEike Rathke1-1/+1
Change-Id: I4e22e02b54cc7528da002dd9b6426cc6637fecac
2016-03-02add tooltips about Excel interoperabilityEike Rathke1-0/+3
Change-Id: I8b08893ca40f242f63e04c037500c6864c6c238a
2016-03-02replace wildcard/regex checkboxes with radio button group, tdf#72196Eike Rathke3-20/+34
Change-Id: I505a0de789190dc7345a703ac50008276d0ed195
2016-03-02loplugin:unuseddefaultparams in sc (part1)Noel Grandin75-465/+336
Change-Id: Ie7c23bfee7cb6c73e455a47801f7eb1b481a8cf0
2016-03-02loplugin:unuseddefaultparam in sfx2Noel Grandin4-5/+5
Change-Id: I37afde801a6468c79259fe51acbdea0614c2c8c5
2016-03-01coverity#1352213 Unchecked return valueCaolán McNamara1-2/+2
Change-Id: Iae1c0a09eae410136569ed1480dbcdfff589f20e
2016-03-01ccu#1573 sc lok: fix reporting of hidden row heightMiklos Vajna1-1/+2
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 Cecchetti3-6/+9
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 Mohrhard1-1/+1
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 Rathke1-0/+18
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 Grandin1-1/+1
Change-Id: I318a669d8b6b26c179111f887e13da784385a4ac
2016-02-29Related: tdf#89646 sc: Fix some issues with the new toolsMaxim Monastirsky3-9/+18
- 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 Kose5-3/+48
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 Mohrhard4-42/+20
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.cxxJaskaran3-2/+57
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 Behrens1-4/+8
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 Francis1-1/+23
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-27sc - unit tests for tdf#97369 and tdf#97587Marco Cecchetti2-0/+181
Change-Id: If2f7fec727a7a7f607e576fea756810e0d4ff7da Reviewed-on: https://gerrit.libreoffice.org/22701 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 Azeem22-149/+258
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 Rathke2-0/+5
Change-Id: I5350167638a5831e1f125728397fecfc637ee004
2016-02-25loplugin:unuseddefaultparams in xmloff/Noel Grandin1-8/+8
Change-Id: Ia504a4e96a4ebc8404fe6881e0f77fba29cd00ae
2016-02-24let SvxSearchItem use SearchOptions2Eike Rathke1-4/+2
And all those places that interface to SvxSearchItem. Change-Id: I08915824a596cd0f247a89f44e4684cd22b98082
2016-02-24chmod -xTor Lillqvist1-0/+0
Change-Id: I9366a8691a69b55d486b863d0149e22a848aa9ac
2016-02-24convert DocPasswordRequestType to scoped enumNoel Grandin1-1/+1
Change-Id: I25d217ca2cf3e8cc4dfaccc6dc7d5453ffdc6cb6
2016-02-24convert DocPasswordVerifierResult to scoped enumNoel Grandin2-4/+4
Change-Id: Ib5a595819dec8511d284ed1022d8f7c624f8d8f9
2016-02-23SearchFlags::WILD_MATCH_SELECTION, SearchOptions2::WildcardEscapeCharacterEike Rathke6-10/+11
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-23methods in .SDI files don't use attributesNoel Grandin3-15/+7
so simplify the parser and drop the square brackets Change-Id: I3bab5f5b14e57d0cd1ed1a383fe21968f97b243a
2016-02-22enable wildcards when importing .xlsx|.xlsb, tdf#72196Eike Rathke1-0/+1
Change-Id: I6fbc8926d10d9028287c154a2e933d2de847cc12
2016-02-22enable wildcards when importing .xls, tdf#72196Eike Rathke1-0/+1
Change-Id: Ice014ef31c9962a2d77496236712b59cd147b6e8
2016-02-22add wildcards to Tools->Options->Calc->Calculate dialog, tdf#72196Eike Rathke3-5/+42
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 Rathke1-3/+1
Change-Id: I34cc3faa325f754e4f1dc5236a65f16e035d6c27
2016-02-22confusing block indentationEike Rathke1-25/+27
Change-Id: I42dc30742a65062374e700a70796f129e61b13c1
2016-02-22adapt places that call GetSearchTextPtr(), tdf#72196Eike Rathke3-15/+15
... to do that not only for regexp. Change-Id: I0a6d878c7b30b1668dda902f0e50ae3c3cc3b486
2016-02-22ScQueryEntry::GetSearchTextPtr() with SearchType, tdf#72196Eike Rathke6-18/+14
Change-Id: I1c9c5c6271927bb2d2ac9309e9a6ca36016237f4
2016-02-22include '~' escape character in MaybeWildcard(), tdf#72196Eike Rathke1-3/+4
Change-Id: I09ff6b07f63b9b9199b73d27d8118c18d233f2b2
2016-02-22Pick a single place to declare SfxObjectShellRef typedefStephan Bergmann1-0/+1
Change-Id: Ie949f4d9002beefb810c87cdd44bf59f575da101
2016-02-22tdf#98023: Adapt ScRefButtonEx UI object classStephan Bergmann1-1/+1
...after 60db0ded330f800306b9a829922bf389e1c0aa07 "Move sc/source/ui/dbgui/validate.cxx from scui to sc" Change-Id: I161e3dec3cf0dc90340fd18f90256794ab0ac0c3
2016-02-22loplugin:commaoperator in sc/Noel Grandin21-51/+166
Change-Id: Id3f21f80c1ce83293d10c29c8035a0e74e076f80
2016-02-22tdf#91013 Create freeze cells submenu in the view menuYousuf Philips1-3/+7
Change-Id: Icf1f61dda25d48f0b8e1b74492be21cbea8ed7b5 Reviewed-on: https://gerrit.libreoffice.org/22580 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2016-02-22Missing dispose of dialogStephan Bergmann1-1/+1
...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 Grandin1-4/+4
Change-Id: I45895e9845a9037da207f001fece427452ed499f
2016-02-21tdf#93837 Convert RID_FM_TEXTATTRIBUTE_MENU to xmlMaxim Monastirsky4-6/+52
Change-Id: Ic37bfb9e25eba9b03b2c896c904823aec478355e