summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2016-02-05remove commented out stuff from .SDI filesNoel Grandin
Change-Id: I1e893afcd33bf9a5cf934a021fe40548ddc33699
2016-02-05remove unused UUID and VERSION from .SDI filesNoel Grandin
Change-Id: Ieb3e47c10c497a6f642f28a6741ac0fd2ecfd419
2016-02-05remove unused Readonly from .SDI filesNoel Grandin
Change-Id: I179200ad65492c517ef5e986fd05758896d38813
2016-02-05remove unused Automation from .SDI filesNoel Grandin
Change-Id: I65e1ca6e022dc76ac96ed75da2c5e78e9356a3e9 Reviewed-on: https://gerrit.libreoffice.org/22107 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-05vcl: remove VCL_INPUT_MOUSEANDKEYBOARD, not necessaryChris Sherlock
Change-Id: Ia5b9581d06f6884d6a06abde9cb4039b64c29a05
2016-02-04Patch#1 : Dynamic column container in the pursuit of tdf#50916Dennis Francis
In this patch dynamic column structure is introduced, basically wrapping std::vector<ScColumn*>. In ScTable the column container is pre-allocated with MAXCOL + 1 columns so that the rest of the code that uses need not change for now. So for now the new column container will still behave like the static one. The plan is to *incrementally* modify all instances of iterations over columns to make use of the dynamic column container and also to address the issues mentioned in the thread : http://nabble.documentfoundation.org/tdf-50916-Calc-Dynamic-column-container-td4162663.html The final step would be to remove the pre-allocation of the container in ScTable constructor and increase of MAXCOLCOUNT Change-Id: I3ff18cdebc99d8348e06a76f287d1d30279366bd Reviewed-on: https://gerrit.libreoffice.org/21620 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Jenkins <ci@libreoffice.org>
2016-02-04show parameter tip help below instead of above, tdf#95878 follow-upEike Rathke
Showing it above obstructs the column headers when entering a formula in the first two rows and mouse selection on column headers is also not possible. Change-Id: I8261f234fe7ed8f329ea7a131eb675e86e1d7988
2016-02-04tdf#65206 Highlighted (colored) references limited to 32 references in formulaKumar Thangavel
Change-Id: I45731be3d7c3a8ebbafb11d8580294dab01784f4 Reviewed-on: https://gerrit.libreoffice.org/22094 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-02-04remove unused GET/SET/STATUSBARCONFIG in .SDI filesNoel Grandin
Change-Id: I74404d72e9146950a9881d2a59323c2bf08c9742 Reviewed-on: https://gerrit.libreoffice.org/22100 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-04remove unused HasDialog from SDI filesNoel Grandin
Change-Id: I26f2cef48fcc7a6c4a6b93668b836879254f3eb0 Reviewed-on: https://gerrit.libreoffice.org/22098 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-04remove unused Synchron from SDI filesNoel Grandin
Change-Id: I0b8c63a97bfa4a49ac87869e164ab22d2aa99de3 Reviewed-on: https://gerrit.libreoffice.org/22097 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-04remove unused Cachable keyword from SDI filesNoel Grandin
Change-Id: I60c423b799f34f79f58bc39cf7ea616ec4f5d16a Reviewed-on: https://gerrit.libreoffice.org/22096 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-04coverity#1351755 Dereference null return valueCaolán McNamara
Change-Id: I144a2c498763534b8aff604bdb3440180ac0f2ff
2016-02-04pItem isn't used here, its the same as result, so weird cast can goCaolán McNamara
Change-Id: Ib646fcffa3d2298b06565ef78b69873546d76b0a
2016-02-04vcl: take into account the font width is the average font widthChris Sherlock
I'm changing the Font class function names: - SetSize -> SetFontSize - GetSize -> GetFontSize - SetHeight -> SetFontHeight - GetHeight -> GetFontHeight - SetWidth -> SetAverageFontWidth - GetWidth -> GetAverageFontWidth That's because it really makes no sense to say that there is a single constant font width because obviously proportional fonts don't have one - the best we can do is an average font width, which is what folks like Microsoft sort of do already. On a fixed font, the average is still accurate, for obvious reasons :-) I'm also not a fan of GetSize/SetSize as I find it a might too generic. Change-Id: Ib80a604ba62d6883fd6cbc7994da763976be5c70 Reviewed-on: https://gerrit.libreoffice.org/22069 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-03sc: replace boost::bind with C++11 lambdaMichael Stahl
Change-Id: I516ffb7510f52cceff0cae6970c6ab699a7889be
2016-02-03tdf#97437: Don't crash when creating new pivot tableKatarina Behrens
regression from 0b9dd2446c33fda77 -- *sigh* most of the time is the old pivot table not there. Change-Id: I85ea03780f175aa6e4fb6859497b6dda12fa7d11 Reviewed-on: https://gerrit.libreoffice.org/22057 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-02-03tdf#90290, add custom asserter for formulaMarkus Mohrhard
Change-Id: Id584b9ba5955e56f9ee0dacb2534b7365cdce380 Reviewed-on: https://gerrit.libreoffice.org/22080 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-02-03tdf#93936:while creating formula comma appends incorrectly using Ctrl keykumar
Change-Id: I6d0e210f11e52dd16cbd61b1da22d79064796efc Reviewed-on: https://gerrit.libreoffice.org/21667 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-02-03tdf#89140:Calc row paste doesn't keep row heightArul
Change-Id: Ibf9a5674711cf496706c4d3ac9d3133016aea39d Reviewed-on: https://gerrit.libreoffice.org/21665 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-02-04tdf#94269 Replace "n" prefix for bool variables with "b"Chris Sherlock
Change-Id: I8999dc2701010424ea4d2504e99ed429030d7d4e
2016-02-03tdf#34873 : Better way to show autofilter countDennis Francis
This patch modifies the commit 3536fe8f4cdbacf5702e743407f34d918b6f4d38 by keeping the filtered row count inside ScDBData instead of ScTable as suggested by Eike Rathke. This significantly reduced the code complexity involved. Change-Id: I30ac26061d9665ce7a749e23a636f7fb3f69b176 Reviewed-on: https://gerrit.libreoffice.org/21720 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-02-03remove unused HasCoreId from SDI filesNoel Grandin
Change-Id: I4aca4b8a79ce92d64ce004ccdb7e9a0f408dc768
2016-02-03lok: Avoid the 'alien format' warning in LibreOfficeKit.Jan Holesovsky
We immediately cancel all the dialogs that potentially come up when using LibreOfficeKit; which means that when you tried to save a .docx to a remote server (which triggered the 'alien format' warning), the save operation couldn't be completed. Change-Id: I6bb5eadac994c1f515d7a49299c21960b3491bbe
2016-02-03its an xls not an xlsxCaolán McNamara
Change-Id: I0d66e2714ce96555c3ea8c2c76c7f483ea69707e
2016-02-03add EDB-39398-1 test-caseCaolán McNamara
Change-Id: I69ac97c391d1d4a1ec72751b3efdbdd68a2f6090
2016-02-03fix previous commitMarkus Mohrhard
Change-Id: I3e3b0cf703162b5f01148aced9a1d5faabb5d50d
2016-02-03remove bogus nullprt checks for pContextJochen Nitschke
reported by Cppcheck Change-Id: I737c2bd7be197ef9d0b29b922acd8021fefb7af6 Signed-off-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Reviewed-on: https://gerrit.libreoffice.org/22059 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-02-02Fix for tdf#97084 : Scroll view to the ref boundary...Dennis Francis
...but maintain the fix for tdf#96524 Change-Id: I35128843d13904e9e0cf9ded559c352acb3c7c46 Reviewed-on: https://gerrit.libreoffice.org/21559 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-02-02tdf#84843 Stop using PseudoSlots for drawing slotsMaxim Monastirsky
Instead of fighting with this obsolete thing, let's just kill it. This fixes disabling in read-only doc, as well as pressed/unpressed states. Change-Id: I4d06ba3395024ffd09d77c6d22653a2c5e227115 Reviewed-on: https://gerrit.libreoffice.org/22010 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2016-02-02boost::hash->std::hashNoel Grandin
Change-Id: If4d1e4071995f07212fad958b0226d5824d168f8 Reviewed-on: https://gerrit.libreoffice.org/21989 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-01Avoid vague and misleading terminologyTor Lillqvist
Sorry, could not resist. "debug mode" can mean a lot. We say here that we mean dbgutil, so use just that term then. And it is no special "mode", it is a dbgutil build, as we already said. Change-Id: I62f1b580298db8a479ff0852834aa7115297e838
2016-01-31OSL_THIS_FUNC is a rip-off of BOOST_CURRENT_FUNCTION so we can use thatCaolán McNamara
as a direct drop in I guess Change-Id: I3add63f1459f4e659019bd6db54da2f5431958ce Reviewed-on: https://gerrit.libreoffice.org/21941 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-01-31unnecessary use of OUString constructorNoel Grandin
Change-Id: Idd31b0a53c8318af69bbcd32f6798721ec8eb8e1 Reviewed-on: https://gerrit.libreoffice.org/21945 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-31This can be a Window and not a DockingWindow nowCaolán McNamara
Change-Id: I5b7e42c008328e30d6475283a635e4fdfa1148cb
2016-01-31implement missing FID_FUNCTION_BOX GetStateCaolán McNamara
since it was turned into a sidebar thing Change-Id: Ic7e53b9da3255bb8dfde048e0a12f1d9c89102d0
2016-01-31SfxChildWindow is always nullCaolán McNamara
Change-Id: I0a17066b8571cb40f53921000b7eeb4cdf0c9527
2016-01-31so ScFunctionChildWindow doesn't appear to be needed anymoreCaolán McNamara
Change-Id: I24f9bda13befc05de7376683a5b70d2b98ea8ecf
2016-01-31RecentFunctionsChanged doesn't do anything since...Caolán McNamara
function list was moved to sidebar Change-Id: Icf97e0ec93b2080941f6dcd4d99d30437eac28d8 Reviewed-on: https://gerrit.libreoffice.org/21954 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-01-31function list is always in the sidebar nowCaolán McNamara
so its always just left/right aligned Change-Id: I17ecfbb45891b79f20621cf195b3080496a8180b Reviewed-on: https://gerrit.libreoffice.org/21940 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2016-01-31sequence->vector in PrinterOptionsHelperNoel Grandin
Change-Id: I643519397a4e714e3407ec0c3a10d329654b9f7d Reviewed-on: https://gerrit.libreoffice.org/21887 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-31tools: rename FontUnderline to FontLineStyleChris Sherlock
Change-Id: I4750ad8569a1003b2f8c29052f3e25003ee433ca Reviewed-on: https://gerrit.libreoffice.org/21892 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-29oox: replace boost::bind with std::bindMichael Stahl
Change-Id: Ic402cfd6900cdf1741264b409f6fbe8f2db7e17a
2016-01-29vcl: add text alignment functions to ImplFont and FontAttributesChris Sherlock
ImplFont and FontAttributes now have GetAlignment and SetAlignment, and I have renamed Font::GetAlign to Font::GetAlignment, and Font::SetAlign to Font::SetAlignment. See commit description in 8bfccd3a71d911b6d ("vcl: Create accessor and mutator for font scaling in FontMetric") for reasoning behind patch. Unit test added to vcl/qa/cppunit/font.cxx to test text alignment. Change-Id: I6272c84fc9416c90616d957d1897eba9469fe7ba Reviewed-on: https://gerrit.libreoffice.org/21876 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-27add test for tdf#96912Markus Mohrhard
Change-Id: I6d3f7f86cffef8e91cf108c3aecdf5278e4b8658
2016-01-27we need the space="preserve" also for formatted strings, tdf#96912Markus Mohrhard
Change-Id: I6e245de697c1c42acd916beb75d4d157b2962a9a
2016-01-27tdf#96222: Better to avoid anything except MM_NONE, says EikeTor Lillqvist
I.e., avoid MM_REFERENCE, too. Change-Id: I8a12dfbd921861f977427bf8b284e85f367c128d
2016-01-27tdf#96222: Don't attempt to handle matrix formulas as formula groupsTor Lillqvist
(Also known as array formulas.) Change-Id: Ief61c75efb05ea7c880d05e118d9fe10177774db
2016-01-27tdf#89308: Delete old copy of pivot table on moving destinationKatarina Behrens
except for the case when origin of the new range lies within the old range (Calc doesn't update the table then, this needs to be fixed separately) Change-Id: I554a347a94df830ac1fd651c30cf8e83279cdef8 Reviewed-on: https://gerrit.libreoffice.org/21804 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-01-27add test for tdf#97308Markus Mohrhard
Change-Id: If35a3d6ef7af619f9544ba15e994f663581de374 Reviewed-on: https://gerrit.libreoffice.org/21819 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>