Commit graph

582 commits

Author SHA1 Message Date
Henry Castro
e967b0f388 loleaflet: add map fire scroll
Calc Tile Layer capture scroll offset
in order to scroll Columns and Rows
2015-11-08 14:05:08 -04:00
Henry Castro
13b93b6ee0 loleaflet: request and process command values "ViewRowColumnHeaders" 2015-11-08 13:38:05 -04:00
Henry Castro
a01d56ed11 loleaflet: move control tabs creation
Create control tabs if and only if spreadsheet document.
2015-11-08 13:22:58 -04:00
Henry Castro
fd45050790 loleaflet: add controls to calc tile layer 2015-11-08 13:11:45 -04:00
Henry Castro
fd6d0c2b53 loleaflet: add ColumnHeader and RowHeader controls
Column and Row headers for spreadsheet documents, based
on html table tag
2015-11-08 12:29:58 -04:00
László Németh
81b2e040f4 fix Writer/Impress work 2015-11-06 13:14:36 +01:00
László Németh
26fa6adff7 loleaflet: revert the removed Ctrl-5 for Calc strikethrough text 2015-11-05 19:02:13 +01:00
László Németh
fd610ff6a6 loleaflet: handle Ctrl/Alt keys in the core 2015-11-05 16:54:26 +01:00
Andrzej Hunt
96965bec95 loleaflet: update .uno:CellCursor parameter format
This mirrors the parameter format for .uno:ViewRowColumnHeaders
2015-11-05 12:52:06 +01:00
Andrzej Hunt
d9d0d47514 loleaflet: tdf#94605 Show cell cursor 2015-11-05 12:52:06 +01:00
László Németh
6fd7821779 standard toolbar: fix alignation in spreadsheets 2015-11-04 14:09:47 +01:00
Jan Holesovsky
b068d9622c loleaflet: Add 'commandresult' event.
It's the loleaflet equivalent of the LOK_CALLBACK_UNO_COMMAND_RESULT callback.
2015-11-04 13:27:23 +01:00
László Németh
9ab64a1446 tdf#94608 Calc Ctrl shortcuts
Basic Calc navigation and selection shortcuts

+ fix Ctrl+- (soft hyphen) in Firefox
+ fix Ctrl-L/R/E/J alignations in Calc
+ other shortcuts
2015-11-03 18:04:53 +01:00
Mihai Varga
0bdc175725 loleaflet: handle spreadsheet tabs and slide previews with css 2015-11-02 15:13:09 +02:00
Mihai Varga
3b308aef83 loleaflet: allow the scrollbar to be dragged from outside the iframe 2015-11-02 14:41:47 +02:00
Andras Timar
c488bf95ff loleaflet: bump version after tarball 2015-10-30 23:26:58 +01:00
Andras Timar
36d8ad6aa1 loleaflet: bump version before tarball 2015-10-30 23:25:17 +01:00
Andrzej Hunt
3c792c655f loleaflet: tdf#94599 Disable irrelevant context menu 2015-10-30 20:03:18 +01:00
Andrzej Hunt
a815a96ab2 loleaflet: fix autoscroll on chrome
DomRect doesn't officially contain x and y, instead we should
use left and top (Firefox's DomRect however does contain these).
2015-10-30 13:56:19 +01:00
Andras Timar
ad4e561947 loleaflet: bump version after tarball 2015-10-30 13:23:31 +01:00
Andras Timar
60ee1a58ac loleaflet: bump version before tarball 2015-10-30 13:22:59 +01:00
Mihai Varga
9369b59e25 loleaflet: use the parent window for printing in chrome
We need this because the otherwise created object is not available in
the parent window where the pdf is rendered in the print dialog
2015-10-30 13:09:37 +02:00
Andrzej Hunt
b394f337c7 loleaflet: tdf#94609 Support triple and quadruple click selection
Currently probably only supported on desktop (clicking) browsers.
2015-10-29 16:43:38 +01:00
Andrzej Hunt
2879547c67 loleaflet: Implement DomEvent trplclick and qdrplclick support
Browsers only support single and double click, so we need
to do our own trplclick and qdrplclick synthesis.
2015-10-29 16:43:38 +01:00
Andrzej Hunt
a7269e40c3 loleaflet: Cleanup dblclick handling
We only seem to need to send the dblclick event (nCount = 2)
and not an enclosing single click (nCount = 1) too - the single
click is effectively overridden by the double click.

The buttonup calls also had an erronous additional parameter, which
seems to have been added accidentally in:
14dca89150
2015-10-29 16:43:38 +01:00
László Németh
97ac6736f8 tdf#94608 PgUp/PgDown support and some new shortcuts
Ctrl-Home  Jump to the start of the document
Ctrl-End   Jump to the end of the document
Ctrl-Shift-Home  Select from the start of document
Ctrl-Shift-End   Select to end of document
Ctrl-Up arrow    Jump to the previous paragraph
Ctrl-Down arrow  Jump to the next paragraph
Ctrl-Alt-D Insert Endnote
2015-10-29 16:38:44 +01:00
Andras Timar
cd787d50f8 loleaflet: bump version after tarball 2015-10-29 15:50:15 +01:00
Andras Timar
4f750e8b29 loleaflet: bump version before tarball 2015-10-29 15:49:44 +01:00
László Németh
2eaf45351c tdf#94608 Ctrl-Shift-Up/Down for paragraph start/end selections 2015-10-29 10:03:40 +01:00
László Németh
15812c889c tdf#94608 add Ctrl-Shift-Left/Right shortcuts for word selection 2015-10-28 23:53:54 +01:00
László Németh
519084aa37 tdf#94608 add more keyboard shortcuts
Ctrl-0  Text Body
Ctrl-1  Heading 1
Ctrl-2  Heading 2
Ctrl-3  Heading 3
Ctrl-4  Heading 4
Ctrl-5  Heading 5
Ctrl-, or Ctrl-Shift-b Subscript
Ctrl-. or Ctrl-Shift-p Superscript
Ctrl-Space or Ctrl-m   Clear direct formatting
Ctrl-Alt-F  Insert footnote
Ctrl-Alt-m or Ctrl-Alt-c  Insert comment
2015-10-28 19:33:10 +01:00
Andrzej Hunt
acb39fc057 fdo#94610 autoscroll document for selection
This works for both the selection "handles"/cursors, and also
for normal (desktop-like?) click+drag selection.
2015-10-28 11:27:02 +01:00
Andrzej Hunt
c249317743 Implement scrollvelocity
This is needed for e.g. fdo#94610
2015-10-28 11:27:02 +01:00
Andrzej Hunt
c10713fac2 Make currently dragged cursor follow map scroll
Previously the cursor would become offset from the mouse position
if the window was scrolled during dragging.

Related: fdo#94610
2015-10-28 11:27:02 +01:00
László Németh
b7b9f76007 tdf#94245 fix refused resizing of pictures anchored as characters 2015-10-28 10:12:11 +01:00
Miklos Vajna
094f07af7f loleaflet: add undo/redo buttons to the toolbar 2015-10-27 15:41:15 +01:00
Miklos Vajna
e0409ad20f loleaflet: document the source of icons 2015-10-27 15:10:21 +01:00
Miklos Vajna
8dffdaf949 loleaflet: fix pasting in firefox, too 2015-10-27 14:42:26 +01:00
Mihai Varga
6cd136d526 loleaflet: fixed copying in firefox 2015-10-27 15:38:28 +02:00
Miklos Vajna
3588a2c260 loleaflet: map JS paste to loolwsd paste message 2015-10-27 12:16:33 +01:00
Andrzej Hunt
8ab0b88550 loleaflet: onScrollBy: add support for horizontal scrolling too 2015-10-26 10:36:51 +01:00
Mihai Varga
f03459611a loleaflet: file insert control 2015-10-22 18:40:43 +03:00
Mihai Varga
6e8bd4fdf0 loleaflet: file insert handler
It sends a file to the server to the /insertfile endpoint,
once the file has been saved in the loolwsd choot, loolwsd is then
notified to insert it in the document

TODO: avoid the last roundtrip
2015-10-22 18:38:35 +03:00
Mihai Varga
e5d1d856aa loleaflet: getchildid msg handler 2015-10-22 18:36:38 +03:00
Mihai Varga
e6ce519f1c loleaflet: added a map.print() method
Also renamed the print handler so that it does not interfere with the
new method
2015-10-21 18:49:45 +03:00
Mihai Varga
0fa8f60094 loleaflet: stick the parts preview to the left 2015-10-21 18:49:45 +03:00
Miklos Vajna
011b9092bb loleaflet: fix copying non-ASCII content 2015-10-21 14:51:16 +02:00
Miklos Vajna
71ce604adb loolwsd: add initial reference.txt to document HTTP POST API 2015-10-20 18:10:40 +02:00
Mihai Varga
7785694d64 loleaflet: downloadAs unit test 2015-10-20 11:54:23 +03:00
Mihai Varga
4ebcc3d2d2 loleaflet: remove event listeners after each test 2015-10-20 11:54:23 +03:00