summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-04-07loplugin:staticmethodsNoel Grandin
Change-Id: Id3d6b50e07ea0850af18ab9bdadfffe0e4602aab
2015-04-07loplugin:staticmethodsNoel Grandin
Change-Id: Ibaad2adabecb878411fdd66383bca91f034477af
2015-04-07Coverity#1292911: Capture by referenceStephan Bergmann
Change-Id: Icbb6dc389fc67e8cd212d420d8b1d0557a905f72
2015-04-07lokdocview: gtk_show_uri() requires Gtk 2.14Miklos Vajna
Change-Id: I54454fec250b74238a1c064cc2136889e1a28972
2015-04-07implement strike out and .uno:SaveSiqi Liu
.uno:Save works out of box for when tested against documents (impress, calc) loaded directly from dropbox for example. However, it doesn't work with impress/calc documents loaded from local files. Writer documents won't save, either locally or from network resources. More research needed. Change-Id: Ibdcc209a71f14ec91ba9c1152b305e0278787713
2015-04-07add saving action placeholderSiqi Liu
Change-Id: Ibb4595e297a4328f2bb108e1b9e71bb50843e3b9
2015-04-07add italic/underline button with icons for different screen resSiqi Liu
Change-Id: Ib158f32af7ef8d65d4ddd822839b260161a74343
2015-04-07sc tiled editing: Don't crash on desktop.Jan Holesovsky
Change-Id: I4cb63550b3913d097db63b374f0acbea591682e4
2015-04-07sc tiled editing: Fix the conversion so that it works with zoom too.Jan Holesovsky
Change-Id: I80d9ed6abe6b3ddb2bb1e0d6b7c74ce50d0df55a
2015-04-07Revert "sc tiled editing: This got fixed by the recent changes."Jan Holesovsky
Needed again. This reverts commit b11c58889cde10f43a9f239a959eb2c252dc4db7.
2015-04-07sc tiled editing: For now, revert to using the entire doc size.Jan Holesovsky
There are still too many problems with the interaction with the editeng, unfortunately. Change-Id: I5cdbc80dbe1dc3996ecd89f0bca5399cbfb9c9b0
2015-04-07sc tiled editing: Correct position of the selection in far positions.Jan Holesovsky
Before this commit, the selections outside of the aScrSize rectangle did not work - they always degraded to a single cell selection. Change-Id: Ie51da710424bff3691302f5923b141a2f2bea676
2015-04-07sc tiled editing: Changed behaviour double click to click.Henry Castro
In the tiled rendering case, it points the cell cursor, and immediately start the editing. When it is double click, it will only trigger the selection of the cell. Change-Id: Iafcabba408533e8162bd45d780f5e8926c6970bb
2015-04-07android: update startup details of READMEMiklos Vajna
Change-Id: I88a0483e96f2de38ae3c1bc6f707e3b5b504bbac
2015-04-07android: remove dead GSoC-2012-eclipse-workspaceMiklos Vajna
Change-Id: I62e551b99904036e8c0e67f0684dc16e5ade2b90
2015-04-07sc tiled editing: This correction is not needed, pass the exact values.Jan Holesovsky
Change-Id: Ie73569bf3faefdc9aa6a309423d8048a49dda272
2015-04-07sc tiled editing: Don't show cell selection when dragging shapes.Jan Holesovsky
Change-Id: I367c53e245df8aa720463319a61835c65ff93875
2015-04-07More additions about SdrView / SdrModel.Jan Holesovsky
Change-Id: I2178d61af1f49c971ccec817852260020ec8f0aa
2015-04-07Added some ascii art for the SdrObject and SdrView.Jan Holesovsky
Change-Id: If7e1e25315e282432a344b60b4602b1a51971399
2015-04-07Add SdXImpressDocument::setTextSelection() testcase.Miklos Vajna
Also, avoid early dispose in testRegisterCallback(), that was just a hack as I did not find SdrBeginTextEdit(). Change-Id: Ic0576306297b4081979c2409c376867c7f530e2c
2015-04-07android: Insure -> EnsureMiklos Vajna
Change-Id: I33d8282210329d8bb3a471a7c717fcf653930e95
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-04-07android: remove unneeded layerView stuffTomaž Vajngerl
Change-Id: Ide81f4b5dd7f71a3dda21ff51d02a12d7fe9a315
2015-04-07android: don't modify if the value is same - all in TextCursorViewTomaž Vajngerl
Change-Id: Ia90458ca037959c07244673fc5521fb940737390
2015-04-07android: don't update position, if it is the sameTomaž Vajngerl
Change-Id: I8f0759db2c9cc6577ce25bfacb8272f3a5f6db92
2015-04-07android: don't reset position at showCursorTomaž Vajngerl
Change-Id: I9a8eb1df0821e357ed268ad7730be98b69b5f249
2015-04-07android: remove selection handles from xml definitionTomaž Vajngerl
Change-Id: I41d1d121f9d2d805624c4c8380a7c67bcd12f856
2015-04-07lokdocview: move callback handling to LOKDocView_ImplMiklos Vajna
These were the last free functions that passed around a LOKDocView_Impl* manually just because it was not possible to have them in a C++ class when lokdocview was C code. Change-Id: I6229a853336db0e47f7d1ba4687d198e076934a3
2015-04-07sc tiled editing: Changed function to PixelToLogic.Henry Castro
The default DPI is 72 using static function OutputDevice::LogicToLogic. Change-Id: I8aba7e74f745092a34e8b50c4e52f84c1de77695
2015-04-07lokdocview: move CallbackData to LOKDocView_ImplMiklos Vajna
Change-Id: If2aff61df7efd5c291e4cc7c7196e7f6f3937b32
2015-04-07vcl tiled rendering: don't do anything with disabled mapmode and mm100 mapunitMiklos Vajna
Turns out Impress wants an mm100 -> twips conversion in this case, while Calc wants a pixel -> twips one, so there isn't anything here that can be abstracted in VCL. Change-Id: Ieb961afa97affbf682e13c0a56585396ae09f552
2015-04-07sd::ViewShell::SetGraphicMm100Position: can avoid FuPoor::DRGLOG hereMiklos Vajna
Change-Id: I6d006b21091cce8576693f4ee974906fecfe3d38
2015-04-07sc tiled editing: Set the 100% zoom in the selection-related methods too.Jan Holesovsky
Change-Id: I3d32edfb62cbe7eaceed823742ecd729dbe2f627
2015-04-07sc: Don't limit the zoom to some funny numbers.Jan Holesovsky
Instead just assert if we get something really really wrong there - and let's fix the root cause. The limits come already from the initial check-in of the OOo code, so maybe the reason why it was there in the first place is long gone anyway. Change-Id: I6e98a6a52eee81bd32d10269aeac76198d30b7c2
2015-04-07Update comment.Jan Holesovsky
Change-Id: I110c0ff8c14d552ecc24dda7b02e4188a7c39d70
2015-04-07sc tiled editing: Use the LogicMapMode even for mouse positions.Jan Holesovsky
Instead of using whatever MapMode value that was used the last time for rendering the tile, set it to something predictable when counting the mouse clicks (100% zoom), and use the value consistently in Calc via GetDrawMapMode(). This fixes clicking the shapes in various zoom levels. Change-Id: Idf83b560f57baab4dc79c45b2ff7c3d75653e102
2015-04-07SwSelPaintRects: avoid rendering the overlay on AndroidMiklos Vajna
It's enough to emit the LOK callbacks, no need to waste resources with the drawinglayer overlay that would not be shown anyway. As a side-effect, this also fixes a crash on long push on empty table cells. Change-Id: I28e670d91bafcbfac93655a7d161f03670a54cfc
2015-04-07android: update READMETomaž Vajngerl
Change-Id: I8e3d0e5b8032ee5e8cc65b943855b365e7db3864
2015-04-07sc tiled editing: Moving handles in text in drawing shapes in Calc.Jan Holesovsky
Now it is possible to move the cursor or adjust the selection in text in drawing shapes in Calc too. Change-Id: I9ed5b2efa426dda669ec32a2b6aa05d95481ef3d
2015-04-07Anz -> Count, and some reformatting.Jan Holesovsky
Change-Id: I6d1b34f12e505a6119394a60f6ce6352c35a7fa0
2015-04-07vcl tiled rendering: fix Writer/Impress invalidation rectangleMiklos Vajna
Both Writer and Impress disable map mode during tiled rendering, i.e. IsMapModeEnabled() always returns false. Nevertheless, using GetMapMode(), it's possible to query what was the map unit before disabling the map mode, which is twips for Writer and mm100 for Impress. If Calc needs anything special here, that's better to be done in ScGridWindow::LogicInvalidate(). Change-Id: I2c10df47d32b80d2cef2b6e6587872fe4126a3f5
2015-04-07sc tiled editing: Invalidate graphic selection.Henry Castro
When dragging shapes the MapMode is disabled, so the coordinates are wrong values converted to twip unit. Change-Id: Idf1e40963cf124fd20dbdf8633487bc71786c6cf
2015-04-07sc tiled editing: Make the editing of text in shapes in Calc work.Jan Holesovsky
I suspect the change in svdedxv.cxx is a hack and that the root cause is that we should initialize the pDrawView somehow more / better wrt. the output device that we are passing to BeginDrawLayers. [Probably the AddPaintWindowToPageView() called in ScGridWindow::PaintTile() is not enough.] But otherwise this makes the situation much better, and also makes the code even more on par with the non-tiled-rendering case, so let's live with that for now. Change-Id: I347b0af9e21acacc9aff4ebb7155246abd3beb43
2015-04-07Kill some whitespace found during debugging.Jan Holesovsky
Change-Id: I456aff9ab6d7469c88f21b0b2f6b922feddc9f50
2015-04-07sc tiled editing: This got fixed by the recent changes.Jan Holesovsky
Change-Id: I6a87657749f3dfa494985893fd8c97ffda13581b
2015-04-07sc tiled editing: Don't show the cell selection when editing text in shape.Jan Holesovsky
Change-Id: I1ddaa02e64a912c880faec9f907e9526432f6bcd
2015-04-07sc tiled editing: Don't resize the gridwin to the entire document.Jan Holesovsky
Instead: * resize it only to the tile size * adjust the view area (to the entire document) * never set the "top left cell of the view" Change-Id: I5d9c784315549025cd77042c4763a53e020bcf03
2015-04-07sc tiled editing: Show the cell cursor as a rect, not as a frame.Jan Holesovsky
Change-Id: I323f38fffb354b8f5701780b9078aefbfe3e8040
2015-04-07Add SdXImpressDocument::postMouseEvent() testcase.Miklos Vajna
Change-Id: I1bb371a897e71044d4acd05d7482b6a1c4bdcb4b
2015-04-07android: extract BitmapHandle from SelectionHandleTomaž Vajngerl
Change-Id: I16ef07414eb7ab9b4a9b8169c8f1d8bfe9bd628e