summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/gridwin.hxx
AgeCommit message (Collapse)Author
2015-04-14sc tiled editing: Implement long-touch to select word in overflowing text.Jan Holesovsky
Normally, the text overflowing from other cells is completely ignored by Calc, and the user always works with the underlying cells. On Android / mobile, it is though more natural to be able to select the text directly; so implement a compromise: * tap places the text cursor, so that the user can write into the cells hidden by the text too * long-tap selects the word in the text, even if the text 'just' overflows from another cell Change-Id: Ibe8666301ff1df0414c0206c1f3336842485433b
2015-04-07LOK: reimplement lok::Document::postKeyEvent()Miklos Vajna
Instead of posting an event to the main loop of the soffice thread, do what every other methods do: take the solar mutex and execute the task on the thread. This fixes random lost/delayed key events on Android. Change-Id: Ibe819282b5f3bb64e44d4b6f0a92611fe651bb39
2015-03-30sc: No need for a special LogicMouseButtonUp/Down.Jan Holesovsky
They were not in logic units but in pixels anyway. Change-Id: I5b6cea13b84659c3404b38b9a19c091b41ccd3c4
2015-03-30Make SetCellSelection work in pixels, and change the name accordingly.Jan Holesovsky
Change-Id: Ic08f436b8196f29bb958845505a517cebba09f4b
2015-03-30sc tiled editing: Allow resizing the cell selection using the handles.Jan Holesovsky
Change-Id: I53e5a43ba4f0ba4783a524751985adb3f4610d84
2015-03-23OutputDevice::LogicInvalidate: take a RectangleMiklos Vajna
At the end this gets exported in the LOK API as a rectangle anyway, so better to convert the vcl::Regions into a Rectangle, and not the other way around. Change-Id: I81fede6e30af112d17bb74328801915d90474863
2015-03-10GridWindow: change pNoteMarker to unique_ptrTomaž Vajngerl
Change-Id: I1e141632172f53ddbd2f5f434206646c9a1e9cf0
2015-03-10GridWindow: unique_ptr for overlaysTomaž Vajngerl
Change-Id: I84d997997100af4e21eafc5b458ff98d99c7dbbd
2015-03-10ScGridWindow: scoped_ptr -> unique_ptrTomaž Vajngerl
Change-Id: I6a888b58668ccb64c5a9c3270d06c3b9bcf8ce64
2015-03-10GridWindow: use unique_ptr for filter box and floatTomaž Vajngerl
Change-Id: Iaf203682e6d3b18d8b25c6ee2755710615fe5f08
2015-03-09sc tiled mouse events: Proof-of-concept.Jan Holesovsky
One has to click & press enter to be able to type into the cell. The typing is visible only in the top left tile, but even in the other tiles, the text gets there - when you manage to invalidate everything, the text appears. Change-Id: I7c9c0a52949a514eb3de7a7fe64f11597377d39f
2015-03-09sc tiled rendering: Make the drawings and charts work.Jan Holesovsky
Change-Id: Ibd7e9e398fe24ec2b3553c8488b46b65de316da6
2015-03-09sc tiled rendering: Split ScGridWindow::Draw() to setup and drawing.Jan Holesovsky
The drawing part is planned to be shared with the tiled rendering, while the setup part has to be different. Change-Id: I9101111d44f4602cdb92916ff3889b52bf10a8bf
2015-03-02sc: Initial support for tiled editing in Calc.Jan Holesovsky
Change-Id: Ifa5f84934a68fec86d4f30ee998bf75edfe331c5
2015-01-29callcatcher: large newly detected unused methods post de-virtualizationCaolán McNamara
i.e lots now able to be detected after... commit b44cbb26efe1d0b0950b1e1613e131b506dc3876 Author: Noel Grandin <noel@peralex.com> Date: Tue Jan 20 12:38:10 2015 +0200 new loplugin: change virtual methods to non-virtual Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d
2015-01-26followup code removal after changing virtual methods to non-virtualNoel Grandin
This cleanups up indentation and removes dead classes. This is a followup patch to commit 272b1dd55797aacf511fb4342b0054e3697243f6 "new loplugin: change virtual methods to non-virtual" Change-Id: I1c2139589cf8cb23bb9808defe22c51039d38de1
2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
2015-01-03boost::unordered_map->std::unordered_mapCaolán McNamara
Change-Id: I2c65709cda6f10810452dfb8aa1a247cb3a5564f
2014-09-23fdo#82577: Handle WindowNoel Grandin
Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-10callcatcher: update unused codeCaolán McNamara
Change-Id: Ie31c16318b09699e080484292d489a378e3a6dce
2014-07-30fix wrong calculation for text size, fdo#81499Markus Mohrhard
Change-Id: Ifd9e09dd9e1d843728e1874c48efdd127bffe11e
2014-07-29Revert "it makes no sense to use the second column as well, fdo#81499"Kohei Yoshida
This reverts commit 14277af57b397b03b753a61c22cc5211e43a5f82. There is a reason why we do this, to allow misspelled word outside the cell area to be right-clickable.
2014-07-23Revert "opengl charts: Move the init from sc to chart2 ...Markus Mohrhard
This reverts commit 46cea34638b371570073c0e86f79969753c543ed. Conflicts: chart2/source/view/charttypes/GL3DBarChart.cxx Change-Id: Ia29ea6a95b8b9eb870d14538d0cadaa40472582f
2014-07-22callcatcher: update unused codeCaolán McNamara
Change-Id: I1dd1b40d807c7c9d9b145aca9f69a67d786ec5ff
2014-07-20it makes no sense to use the second column as well, fdo#81499Markus Mohrhard
Change-Id: If5990d41f444a2d051c9b9029d61ffd8b8cf377e
2014-06-25Add tiled rendering outline to Calc.Andrzej Hunt
(No real implementation yet.) Change-Id: I67b84b554dbb29db449d8c190ef816645a8bff07
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-05-08fix another crash on exitMarkus Mohrhard
Change-Id: I580d17b16760516b73ac9f882fd8f9707ce6337b
2014-05-07fix crash on exitMarkus Mohrhard
Change-Id: I31374684a09f1b056154efcaa5c7dfe73bcc1a61
2014-04-19fixincludeguards.sh: scThomas Arnhold
sorry, huge one...
2014-04-11fdo#74087: Inspect if a mis-spelled word is at cursor position...Kohei Yoshida
then decide whether to launch a spell candidate menu or a regular context menu. Change-Id: Ib121e9c6729e068c70ff216391f863639aa01951
2014-04-06whitespace cleanup in scMarkus Mohrhard
Change-Id: Id1dcadcac179c52977e48a6912ce4d5fd542f60c
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-03Remove visual noise from scAlexander Wilms
Conflicts: sc/source/ui/inc/docfunc.hxx Change-Id: I9314437ed3dd60e84d28c08ac0a2d1ed7bd1daf8 Reviewed-on: https://gerrit.libreoffice.org/8301 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-27remove unused code ScGridWindow::HasScenarioRangeNoel Grandin
Change-Id: Ifd89a7bb3846ae3979ef378853aa9cb0b6585833
2014-02-19sal_Bool->boolNoel Grandin
Change-Id: I0ae11b619d63ebb929ebef985d2824b9d64349f3
2014-02-13Drop unnecessary #includeTakeshi Abe
Change-Id: I9bc9c21811100d6cc1ee7e381a3735567e3bda34
2014-01-18Window::PreNotify should return boolStephan Bergmann
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
2013-12-12CheckInverted() is not used anywhere.Matúš Kukan
Change-Id: I5d22948314a16370d7ac75bfd25151cfa04a2491
2013-12-12datastreams: Wait with import if we need to repaint.Matúš Kukan
Change-Id: I31e8371999afafeeaad201496becf1f2f9d8d276
2013-12-02Integrate branch of IAccessible2Steve Yin
Conflicts: everything Change-Id: I3d8cf956f511a0d953a1cefe83b6ef987806da25
2013-10-20drop unnecessary tools/string includesCaolán McNamara
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
2013-10-11GetEditUrlOrError() is no more. Just use GetEditUrl().Kohei Yoshida
Since it no longer checks for cells with misspelled words.... Change-Id: I372c283e0567c2e0e40d26eeb19dcf6e5d3f9e0f
2013-10-11Fix context menu launch on mis-spelled word in a cell.Kohei Yoshida
This was broken when the spell check handler was re-implemented after the cell storage rework. Change-Id: I4e7e718ffba45b2163bea4dd382f2a49f75fd5f9
2013-10-04convert sc/source/ui/inc/gridwin.hxx from String to OUStringNoel Grandin
Change-Id: Ib2b5185dfb803a8b8321f6025ab7b91d2d5af65a
2013-09-01Separate misspelled ranges when entering a new cell value.Kohei Yoshida
And store them at appropriate locations. Change-Id: Iaf38c0cd01e9b3dc9dc98f7ccc1951d572a422e9
2013-09-01Reset autospell data when inserting/deleting cells.Kohei Yoshida
Change-Id: I4ec48afe4a1aebe96dfb0fe5d507c786bdecae66
2013-09-01Handle enabling / disabling of auto spell check.Kohei Yoshida
Change-Id: I8f3fe06a41b825f233f4116ae8ba3b30cb4f1adc
2013-09-01First step toward showing mis-spelled words without modifying cells.Kohei Yoshida
There are still tons of problems to fix. Change-Id: Icae6e3d2c9b8b2266724d8d068abbab8acae96da