Mihai Varga
9b06a0df77
loleaflet: removed the old unit test
2015-10-20 11:54:22 +03:00
Mihai Varga
03ffa4e740
loleaflet: search unit tests
2015-10-20 11:54:22 +03:00
Mihai Varga
7143b86849
loleaflet: parse the integer in the search result message
2015-10-20 11:54:22 +03:00
Mihai Varga
38718c1915
loleaflet: parts and pages unit tests
2015-10-20 11:54:22 +03:00
Mihai Varga
285e625acc
loleaflet: initialize the part/page rectangles arrays
2015-10-20 11:54:22 +03:00
Mihai Varga
e5ba1f3860
loleaflet: permissions unit tests
2015-10-20 11:54:22 +03:00
Miklos Vajna
cc18cc702f
loolwsd: extraft filename from convert-to parameters
2015-10-19 16:03:55 +02:00
Miklos Vajna
f0ba09f3dd
LOOLSession: check for 0 _ws
2015-10-19 16:03:55 +02:00
Mihai Varga
62184cffb4
loleaflet: documented the print event
2015-10-19 11:31:20 +03:00
Mihai Varga
05e81a0edb
loleaflet: allow the disabling of the print handler
2015-10-19 11:24:30 +03:00
Mihai Varga
ed35ac63f6
loleaflet: searchAll method
2015-10-19 10:44:54 +03:00
Mihai Varga
a666eb248f
loleaflet: [more] rectangles to pixel bounds method
2015-10-19 10:29:53 +03:00
Mihai Varga
0ea00afb99
loolwsd: allow the specification of the mime type
2015-10-16 19:45:57 +03:00
Mihai Varga
9deebf4f87
loleaflet: directly load the presentation in an iframe
...
We now export the presentation document to a single svg document which
can be loaded in an iframe and displayed in fullscreen
2015-10-16 19:35:31 +03:00
Mihai Varga
d7ceedac54
drop 'part' from downloadas protocol as it is no longer needed
2015-10-16 19:35:31 +03:00
Miklos Vajna
fed0cbc77c
loolwsd: -Werror=unused-parameter
2015-10-16 17:45:03 +02:00
Miklos Vajna
9212c1c321
loolwsd: convert-to handler skeleton
2015-10-16 17:38:24 +02:00
Miklos Vajna
63bf9a1329
loolwsd: invert this condition, so it's possible to add other cases
2015-10-16 15:47:39 +02:00
Miklos Vajna
700b7d08b7
loolwsd: allow frame size of 200K
...
I got:
WebSocketException: Insufficient buffer for payload size 113579
So double the allocated size: that seems to help.
2015-10-16 15:24:19 +02:00
Mihai Varga
84b7b128a0
loleaflet: fullscreen slideshow
...
We request svg exports for each slide which we then display in fulscreen
2015-10-16 14:07:45 +03:00
Mihai Varga
b518046a59
loleaflet: don't scroll based on the selection, but based on the cursor
2015-10-16 14:07:45 +03:00
Tor Lillqvist
c639e76ac2
bugs.ccu#1248: Copy also locale data into systemplate
...
Let's hope the files I list is enough to cover both openSUSE 13.2 and
Debian 8.
2015-10-16 12:55:47 +03:00
Mihai Varga
1588dd5f5d
loleaflet: map.getPageSizes - returns the size of each page
...
In twips and pixels
2015-10-15 19:33:37 +03:00
Mihai Varga
3ba0bd6aeb
loleaflet: mention reference.html in README
2015-10-15 19:33:37 +03:00
Mihai Varga
4d8169fa3b
loleaflet: mention that some parameters are in twips
2015-10-15 19:33:37 +03:00
Mihai Varga
113a312023
loleaflet: we now have getPreview and getCustomPreview methods
...
getPreview can be used to request a preview of a page or a part while
getCustomPreview can be used to get a preview of a user defined section
of the document
2015-10-15 19:33:37 +03:00
Mihai Varga
21028a7500
loleaflet: updated and reorganized the html documentation
2015-10-15 19:33:37 +03:00
Miklos Vajna
2cf417f863
loolwsd: update the bundled headers
2015-10-14 16:13:30 +02:00
Mihai Varga
0708e4440f
added a part parameter to the 'downloadas' command
...
We need it to export a specific slide to svg
2015-10-13 20:58:45 +03:00
Mihai Varga
5f655a7555
loleaflet: print handler tdf#94607
...
In a browser != Firefox we use a hidden iframe to load the exported pdf
document and call print on that iframe.
For Firefox where the PDFjs script has some permission problems, we
can't do that so we just notify the user that they can download a pdf
version of the document
2015-10-13 20:58:45 +03:00
Mihai Varga
ee3687d738
loleaflet: presentation button
2015-10-13 20:58:45 +03:00
Tor Lillqvist
7e78f3f0c6
bugs.ccu#1248: If locale is C, set it to en_US.utf8
2015-10-13 20:05:42 +03:00
Miklos Vajna
677de915ff
loolwsd: remove redundant LOK_CALLBACK_SEARCH_RESULT_COUNT handling
2015-10-13 14:54:59 +02:00
Miklos Vajna
d19f483085
loolwsd: update the bundled headers
2015-10-13 14:53:30 +02:00
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
c4825f5492
loolwsd: allow cross origin requests
2015-10-12 20:33:29 +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
676c6d60d1
tdf#94607 downloadAs command that generates an URL for the doc
...
When requested, the document is exported under
/jail_path/CHILD_ID/user/thedocument/RANDOMDIR/filename
and CHILD_ID, RANDOMDIR and the filename are communicated to the client.
When the client requests
http://server:port/CHILD_ID/RANDOMDIR/filename , the exported document
is served and then RANDOMDIR is removed
2015-10-09 16:11:38 +03:00
Mihai Varga
a4003470e3
loolwsd: update the bundled headers
2015-10-08 16:49:46 +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
a0e74cb5c4
loolwsd: update page sizes when the doc size changes
2015-09-30 17:22:00 +03:00
Mihai Varga
34401c94f6
loolwsd: switch to editing dir when invalidating the cursor
2015-09-30 17:17:03 +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