- 02 Mar, 2015 40 kayıt (commit)
-
-
Miklos Vajna yazdı
The implementation still sends them to the currently active VCL frame, not to the given document, though. Change-Id: I6fa2decdea3f949c55287e802cb3373c85664207
-
Miklos Vajna yazdı
Change-Id: I644535d94894e51bc134ba8394238d3044eab488
-
Miklos Vajna yazdı
Previously we always assumed non-table selections in SwSelPaintRects, but that is not always true, resulting in incorrect handles for table selections. Add a FillStartEnd() interface to fill the passed SwRects with the rectangle of the start and end handle, and implement it in both SwShellCrsr and SwShellTableCrsr. This makes adjusting the end of table selections using the end selection handle work (be it shrinking or extending). Change-Id: Iba8657466b102ec60c41829f00660dfe295643ab
-
Miklos Vajna yazdı
With this, if you have a 2x2 empty table and you are on A1, pressing shift-right results in a proper table selection of A1:B1. Still need to fix selection handles, though. Change-Id: Ifb4598f715991cc7b88828d505c3af008c744676
-
Miklos Vajna yazdı
Change-Id: I15a6b265c6fa0d0c62277814fa119d20b311625b
-
Miklos Vajna yazdı
Change-Id: Id7e995ef3b6eb117dc74a0a0258417d9dc1291e6
-
Miklos Vajna yazdı
Change-Id: I2a3c729d06d73ff7a7b7cedff27d9fb4a3a88d73
-
Tomaž Vajngerl yazdı
Change-Id: I49997520057763299add18fb7c1bc662ef0c76b3
-
Tomaž Vajngerl yazdı
Change-Id: I8ae76ee4898087998b88ac2e1d73b3843fc00559
-
Tomaž Vajngerl yazdı
Change-Id: I9a42913069dcaa2bab1e3db51cebe3a0cdcf5746
-
Tomaž Vajngerl yazdı
Change-Id: I24d0b4f58e2227b289eb55cb881664e2cb5a51e9
-
Tomaž Vajngerl yazdı
Change-Id: I8b1f6057b08752171710e1e5d4d0ab4664a63369
-
Tomaž Vajngerl yazdı
Change-Id: Ie2fb81cc9c2096df4d9361887ed5bab8a0b841d3
-
Tomaž Vajngerl yazdı
Change-Id: Iac570c890717d8e2dcfde7f29da996c809df81dc
-
Tomaž Vajngerl yazdı
Change-Id: Ic0b499fcafb56fd5cff6559b66a1698992c1c6ed
-
Tomaž Vajngerl yazdı
Change-Id: If983699dacbd6c992ffff886215e8f686e0f5a2d
-
Tomaž Vajngerl yazdı
With LOEvent CHANGE_HANDLE_POSITION we can report handle (start and end selelection change and cursor change) to the LOKitThread. Change-Id: Ia247acc147e54a1f05999a5e55786367c4377091
-
Tomaž Vajngerl yazdı
Change-Id: I9173f50fb60680de1bb9744d3f351c44f8175d0c
-
Tomaž Vajngerl yazdı
Change-Id: I241a1cbfb98b9e9bb8f769980547c395427bc0b5
-
Tomaž Vajngerl yazdı
Change-Id: I30d909ce04baaab8bed1e8bd03b4926b95ed95ee
-
Tomaž Vajngerl yazdı
Overlay can either be in state NONE - no overlay elements should be shown (this is the deocument reader state), CURSOR - cursor and the cursor handle are shown, SELECTION - selection and selection handles are shown. The states can change either by an invalidation or touch input. Change-Id: Ia15eb58193675b3799c0014a91f4429a729e30d4
-
Tomaž Vajngerl yazdı
Change-Id: Iebc21915b92c82b0def3f4f61fb2128c2942d122
-
Tomaž Vajngerl yazdı
Add support to parse selection rectangles (series of rectangles separated by ";"). Additionally restructure and clean up the code in InvalidationHandler to be better readable - better comments, better variable and method names. Change-Id: I64d1dc4a806831bd47ca9f14478bec8192035461
-
Tomaž Vajngerl yazdı
Change-Id: I79bb20ca5a16a2ebdc6ed3f1c97a483173b0762b
-
Tomaž Vajngerl yazdı
TextCursorView is a overlay view on top of document view which is used to draw the cursor (and blink it too). This also adds selection rectangles drawing to the same view so both can be drawn at the same time. Change-Id: I3ce034d90597bac4569f04ac903a5443c28cb38e
-
Tomaž Vajngerl yazdı
Previously TextCursorView was subclassing ImageView and a drawable to draw the cursor by scaling the drawable, which is not an ideal solution. This is now changed so that the TextCursorView is a proper subclass of View and draws the cursor using canvas. Change-Id: I27b1ea73911afbfe9eee6bf382db5368ae449308
-
Miklos Vajna yazdı
Change-Id: Ic834d61cccdd422af96bd1b5933eb1a77e8efc16
-
Miklos Vajna yazdı
In the desktop case we still have to Paint() directly. This fixes the small rendering delay in the desktop case introduced by the previous commit. Change-Id: If07e2d47f62cbe17816439d18c45f129be6ce210
-
Jan Holesovsky yazdı
TODO FIXME proof-of-concept cut'n'paste This entire ScGridWindow::PaintTile() must share code with ScGridWindow::Draw(), that's the only way how to get also the shapes, charts and everything. Change-Id: I72d7363edc0c46a9920c3ca0d5d51c982e748a77
-
Jan Holesovsky yazdı
Change-Id: Ifa5f84934a68fec86d4f30ee998bf75edfe331c5
-
Miklos Vajna yazdı
This fixes the "click into one shape, type something, click into an other shape" scenario that was already working in gtktiledviewer. Change-Id: I79c7174274115b2ab61ea4d0f1de4306f5172a64
-
Miklos Vajna yazdı
The method assumed that the map mode of the output device is twips, but that's not true for Impress. If paintTile() does the twips -> mm100 conversion, then LogicInvalidate() has to do the reverse of that. This fixes typing into the main placeholder shape of an empty Impress document: with our 256x256px tiles only the 3rd and 4th row was repainted previously, while the interesting content is in the 2nd row. Change-Id: I8bda113e73335e465c1c4626a58b6be2b232a190
-
Miklos Vajna yazdı
So that the size / position is more clear in other apps as well. Change-Id: If1fd9ac8e6ddc83b41c06e3b88ae34765a5c7c75
-
Miklos Vajna yazdı
SetPointerPosPixel() was the method I modified locally before implementing the dedicated SetLastMousePos(), just forgot to adapt sd code to call the new one. Change-Id: Ic4958459c42d5b2cced01b686fa192f43fc3c965
-
Miklos Vajna yazdı
It's far from perfect, but the following use-case works: - open an empty document with a singe slide (only two placeholder shapes) - type a few characters (into the title shape), Esc to finish editing - click into the non-title placeholder - type + Esc -> characters appear in the non-title shape Change-Id: Idc97c1fbeda0fb3ac53769e78b7cd665d8aee67b
-
Miklos Vajna yazdı
This is needed, as e.g. sd::FuText::DoExecute() queries the mouse position from VCL, which won't be correct in case the mouse event is generated by a LOK client, not by VCL. So add a method that makes it possible to set the position before MouseButton*() starts. Change-Id: I1e24ffb2a4a866c9cac89367907ffaec336ad1f6
-
Miklos Vajna yazdı
Change-Id: Icfd38ea4bc4fb470e3eb3eb1a3d48c6607d6a999
-
Miklos Vajna yazdı
Change-Id: I1428c0bf5c4df8d5d0ede026d0f2e31ac48ce226
-
Tomaž Vajngerl yazdı
Change-Id: Ie40b711377d46a37ae7cdae1496919049b5b7736
-
Tomaž Vajngerl yazdı
Change-Id: I094c345524059030a157a940702ad47fad358176
-