Commit graph

130 commits

Author SHA1 Message Date
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
87fae7f854 loleaflet: fonts control 2015-09-10 11:26:47 +03:00
Mihai Varga
baa0806b7c loleaflet: moved the style formating methods in Toolbar.js 2015-09-09 18:59:53 +03:00
Mihai Varga
95463adc44 loleaflet: created a general toolbar methods handler 2015-09-09 18:47:14 +03:00
Mihai Varga
bbc65ebeb0 loleaflet: fixed typo 2015-09-02 14:27:29 +03:00
Mihai Varga
ad756ec257 loleaflet: first splitting of TileLayer into 3 components 2015-09-02 10:56:24 +03:00
Mihai Varga
bb3f3c758a loleaflet: moved the socket init/communication to core/Socket.js
The socket is now available through the L.Socket object which now also
handles the initial connection and reconnection to the server.
The document (tile layer) is now added automatically in the map
initialization.
2015-09-01 17:53:44 +03:00
Mihai Varga
e46766de19 loleaflet: styles control 2015-08-19 11:48:49 +03:00
Mihai Varga
438e400859 loleaflet: document style setter and getter 2015-08-19 11:48:49 +03:00
Mihai Varga
dc56c97c9e loleaflet: separate parts preview and tabs from the next/prev buttons 2015-08-17 10:41:01 +03:00
Mihai Varga
1379326bcf loleaflet: on error fire 'error' events
Those events are now handled by a removable control
2015-08-06 17:41:56 +03:00
Mihai Varga
eca15f7c17 loleaflet: scroll API and event description in README 2015-07-24 16:04:38 +03:00
Mihai Varga
d33f71d32d loleaflet: renamed Map.ScrollWheelZoom to Map.Scroll 2015-07-24 16:04:38 +03:00
Mihai Varga
9b097f376d loleaflet: add the scrollbars as a control to be easily removed 2015-07-24 16:04:38 +03:00
Mihai Varga
e8eedf3f25 loleaflet: moved mouse handler from TileLayer.js -> Map.Mouse.js 2015-07-16 16:15:30 +03:00
Mihai Varga
51592a4c53 loleaflet: log utility
It's used to log communication between the server and the client
It can print or download a csv formated file
2015-07-16 13:55:53 +03:00
Mihai Varga
0d41a804eb loleaflet: enabled mouse selection in viewing mode
Mouse selection is enabled by by calling
map.enableSelection() which disables dragging and selection
can be disabled to re-enable dragging by calling
map.disableSelection()
The above only work for 'view' and 'readonly' mode
2015-07-13 15:53:02 +03:00
Mihai Varga
cd9433e192 loleaflet: setPart API for switching parts
Also added the 'updateparts' event which has the members:
currentPart and parts, indicating the current visible part
and the number of parts
2015-07-10 16:32:19 +03:00
Mihai Varga
761a1b320d loleaflet: toggleState API for bold, italic, etc
Also added the event 'statechanged' with members
unoCmd and state
2015-07-10 15:27:30 +03:00
Mihai Varga
9eea9a63c7 loleaflet: exposed the setPermission API: map.setPermission(perm)
Where perm can be: edit, view or readonly
This also replaces the editMode and readOnly flags
2015-07-10 12:28:56 +03:00
Mihai Varga
146afb7921 loleaflet: exposed the 'search' API: map.search() 2015-07-10 11:00:53 +03:00
Mihai Varga
f374079d1a loleaflet: toolbar control integration 2015-07-08 09:22:27 +03:00
Henry Castro
78764623d8 Added blinking cursor 2015-06-02 23:38:00 -04:00
Mihai Varga
2fa440c18f Status indicator control 2015-05-28 18:43:29 +03:00
Mihai Varga
7b79f0edd5 Control for switching between viewing and editing mode 2015-05-26 20:56:27 +03:00
Mihai Varga
4c6d87231c Parts control for switching between parts 2015-05-11 17:05:03 +03:00
Mihai Varga
13582c7f04 Fixed typo 2015-05-11 17:05:03 +03:00
Mihai Varga
15a889db91 Search bar implemented as a leaflet Control
It is not ready yet, buttons' functionality and the search
functionality is to be added
2015-05-06 12:39:03 +03:00
Mihai Varga
87dc6f5b8f Set LF line terminator 2015-03-09 15:58:37 +02:00
Mihai Varga
bb6fd2206a Unmodified Leaflet
Checkout date: 09/03/2015
HEAD: a92c8a3c21f8d580de2dfd1e937ea90db76787b6
2015-03-09 12:16:17 +02:00