Mihai Varga
602e535bb2
loleaflet: fixed the slides preview
2015-10-13 13:41:08 +03:00
Mihai Varga
aeed62cd6b
loleaflet: have a 2 layer toolbar
2015-10-13 13:27:45 +03:00
Mihai Varga
51505e1934
add an ID parameter to the downloadas command
...
We need it to know wheter the user wants to download the file or just
print it, etc
2015-10-09 17:20:18 +03:00
Mihai Varga
9dee045776
loleaflet: use the window's protocl for downloading
2015-10-09 17:00:37 +03:00
Mihai Varga
cf089ccf2a
tdf#94607 downloadAs command handler
...
We use a hidden iframe to download the document. Once we have the url
for it, we set iframr.src = url
Also added map.downloadAs(name, format, options) method
2015-10-09 16:14:38 +03:00
Mihai Varga
d8fa9d708b
handle LOK_CALLBACK_SEARCH_RESULT_SELECTION callback
2015-10-06 18:05:44 +03:00
Mihai Varga
fd7d03a8c7
loleaflet: twips rectangle to pixel bounds method
2015-10-06 17:32:39 +03:00
Mihai Varga
029fab5d1c
loleaflet: some ctrl+key shortcuts #tdf94608
2015-10-05 20:02:35 +03:00
Mihai Varga
886cdc80df
search result count callback handler
2015-10-05 16:44:40 +03:00
Mihai Varga
14dca89150
We now send the mouse button that has been pressed and also they key
...
modifiers for actions such as ctrl+click or shift+click
2015-10-05 15:04:19 +03:00
Mihai Varga
a5757736e9
loleaflet: goToPage without having a LOK instance
...
Knowing the page dimension, we can scroll to the desired page
without requesting sending the 'setpage' command to the server
2015-09-30 13:43:12 +03:00
Mihai Varga
07a305df80
loleaflet: partpagerectangles command integration
...
An event is fired with the page dimensions.
Also the current page number is updated based on which page contains
the current view's center
2015-09-30 13:29:10 +03:00
Mihai Varga
1c9d9bb94d
loleaflet: twipsToPixels and back methods
2015-09-30 13:10:48 +03:00
Mihai Varga
584f6075b4
loleaflet: fit document horizontally when resizing the window
2015-09-29 17:50:08 +03:00
Mihai Varga
229740d18b
loleaflet: update unoKeyCode when we change keyCode
2015-09-29 14:44:55 +03:00
Mihai Varga
0ee3c64dd8
loleaflet: don't pan horiz/vertic when doc fits viewing area
2015-09-29 13:12:30 +03:00
Mihai Varga
8b3b16d6e1
loleaflet: fix undefined variable
2015-09-29 12:21:34 +03:00
Mihai Varga
6ead2c072f
loleaflet: handle shift + arrow keys selection
2015-09-29 10:31:24 +03:00
Mihai Varga
f32b19eb39
loleaflet: updated unit test's description
2015-09-21 23:06:59 +02:00
Mihai Varga
f9a6048b03
loleaflet: added the new methods to the html documentation
2015-09-18 17:53:08 +03:00
Mihai Varga
d8311e72b0
loleaflet: mention version in documentation
2015-09-18 11:50:41 +03:00
Mihai Varga
d8f26465e5
loleaflet: fit presentation slide to screen size
2015-09-17 19:38:12 +03:00
Mihai Varga
c31a1a1276
loleaflet: add an offset of 2 pixels to selection handles
...
Without this, grabbing a selection handle causes the selection to jump
a line below
2015-09-17 18:39:11 +03:00
Mihai Varga
5da3288a4a
loleaflet: reworked selection handles
...
Selection handles are now positioned relative to the text selection
starting and ending points. So the start handle will alwasy be the one
near the text selection start, while the end handle will be at the end,
near the cursor
2015-09-17 18:32:53 +03:00
Mihai Varga
4f3028637e
loleaflet: revert changes to Icon.js and use divIcon instead
2015-09-16 20:57:47 +03:00
Mihai Varga
eca5a95ecf
Bump 'minor' number in version
2015-09-16 18:40:37 +03:00
Mihai Varga
c164163a8c
loleaflet: load test update
2015-09-16 12:57:33 +03:00
Mihai Varga
12b1bf2b6e
loleaflet: loadtest.html fix
2015-09-16 12:51:16 +03:00
Mihai Varga
7d43fbeaa5
loleaflet: empty font size when selecting multiple font sizes
2015-09-16 12:05:25 +03:00
Mihai Varga
efaba387ad
loleaflet: handle multiple a multiple font selection
2015-09-16 11:57:11 +03:00
Mihai Varga
2e726e4a01
loleaflet: html documentation - mentioned the public events
2015-09-15 19:34:38 +03:00
Mihai Varga
fc5d617737
loleaflet: renamed remaining currentPart to selectedPart
2015-09-15 17:53:27 +03:00
Mihai Varga
cd648ed119
loleaflet: refocus document after changing styles/fonts
2015-09-15 16:33:48 +03:00
Mihai Varga
bc6bbf2c93
loleaflet: handle invalidatetiles:EMPTY
2015-09-15 15:26:21 +03:00
Mihai Varga
d511290c7c
loleaflet: default permission is 'view'
2015-09-15 15:14:52 +03:00
Mihai Varga
41a83b88cf
loleaflet: html documentation
...
This is the clean version from the leaflet repository as seen at
http://leafletjs.com/reference.html
Changes will gradually be made to this to reflect the new API and the
changes in the code.
2015-09-15 15:06:51 +03:00
Mihai Varga
aa6b70f574
loleaflet: fixed the font size select
...
Sizes were not updated correctly
2015-09-15 13:44:38 +03:00
Mihai Varga
d6652930fd
loleaflet: fixed js lint errors
2015-09-15 11:56:32 +03:00
Mihai Varga
bc72dcc329
loleaflet: renamed unoCmd to commandName
2015-09-15 11:52:55 +03:00
Mihai Varga
fc96bad0de
loleaflet: toogleCommandState with uno
2015-09-15 10:05:51 +03:00
Mihai Varga
5fa9c364c8
loleaflet: font / style feedback
2015-09-14 20:15:08 +03:00
Mihai Varga
f58eeaf319
loleaflet: numbering and bullets buttons
2015-09-14 13:06:21 +03:00
Mihai Varga
7259d00349
loleaflet: search bar ui tweak
2015-09-14 09:29:23 +03:00
Mihai Varga
e8f3ea678b
loleaflet: remove pause between tests
2015-09-14 09:07:35 +03:00
Mihai Varga
5c99a3f132
loleaflet: fixed the unit test
2015-09-11 13:21:37 +03:00
Mihai Varga
61531c88ce
loleaflet: request toolbar items in this order
...
The other way around causes LOK to crash
TODO - this needs fixing
2015-09-11 13:20:39 +03:00
Mihai Varga
41fd4783ad
loleaflet: round the scroll offset
2015-09-11 13:20:29 +03:00
Mihai Varga
612400dcf2
loleaflet: automated loading test
...
run: make load-test
It generates the necessary 500 documents under spec/data/load-test and
spawns 20 nodejs clients
2015-09-11 10:41:23 +03:00
Mihai Varga
85127f19c2
loleaflet: removed lorem.odt and added other documents
2015-09-10 15:29:05 +03:00
Mihai Varga
76b15ea303
loleaflet: increase/decrease indent buttons
2015-09-10 12:57:11 +03:00