Jan Holesovsky
1d99285294
loleaflet: One more place that needs options.webserver.
2016-01-07 22:56:12 +01:00
Jan Holesovsky
558e08af58
loleaflet: Introduce a 'webserver' option for the http access to loolwsd.
...
When proxying, the websocket may be hidden behind another URL, so this allows
an explicit setting.
2016-01-07 12:36:16 +01:00
Ashod Nakashian
2d385d697e
Protocol versioning added and documented
...
Change-Id: I6e1df89c7330052bd2d442a42c0b24c8ae4facf6
Reviewed-on: https://gerrit.libreoffice.org/21168
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-06 17:06:47 +00:00
Ozcan Esen
56ac4eac74
loleaflet: load tiles of the first slide before loading slide thumbnails
...
and show 180x135 white placeholder image in the thumbnail while waiting
for the actual thumbnail
Change-Id: I768815b5d54e02000718d5a443f820ac665dac60
Reviewed-on: https://gerrit.libreoffice.org/21049
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-04 21:51:04 +00:00
Ozcan Esen
13eacefe60
loleaflet: make presentation controls more portable
...
Change-Id: I3834f115a3bde8720149fdefdf132684e9a546da
Reviewed-on: https://gerrit.libreoffice.org/21000
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-04 21:50:51 +00:00
Andras Timar
9ff69b3a6a
bccu#1395 ignore Cmd (Meta) keyboard modifier
2016-01-04 22:22:18 +01:00
farukuzun
8dd56fafe7
loleaflet: Fix Ctrl+Alt+C (insert comment) on Firefox
...
On Firefox, pressing Ctrl+Alt+c (uppercase "C" is working fine)
to insert a comment causes a "c" letter in comment box,
because KeyboardEvent.char[0] deprecated. It is working
quite well in other browsers. A workaround is needed for Firefox.
[0]: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/char
Change-Id: Iaf89c8b3b758e99189dd982e2d36aef559a32f1a
Reviewed-on: https://gerrit.libreoffice.org/21086
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2016-01-04 20:26:06 +00:00
Ozcan Esen
1d83a78093
loleaflet: change slides with pgup/pgdown in presentation
...
Change-Id: I83a5a51974b6aaf986e6583318f37ecedd5ee8ff
Reviewed-on: https://gerrit.libreoffice.org/20994
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-03 15:15:05 +00:00
Ozcan Esen
7089ec49a2
loleaflet: clean up linter warnings
...
Change-Id: Ic17c4eb813d408e4f9648d40e1e944c23c9cb129
Reviewed-on: https://gerrit.libreoffice.org/20995
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2015-12-28 23:40:26 +00:00
Ozcan Esen
e78d65c199
loleaflet: add presentation controls
...
Change-Id: Ied2c8d0700d95ad628ad9634b1736839c90bd313
2015-12-22 14:58:18 +02:00
Mihai Varga
896b12d253
loleaflet: ccu#1347 - row/column headers can be < than the map
2015-12-18 18:52:23 +02:00
Mihai Varga
6ae4bdf2a1
loleaflet: allow specifying the starting zoom level
2015-12-18 14:40:46 +02:00
Mihai Varga
d7b37ea25a
loleaflet: map.fitWidthZoom(maxZoom) method
...
I've also added an initialization parameter that controls whether the
document should automatically call fitWidthZoom on resize.
2015-12-18 12:50:07 +02:00
Mihai Varga
f789928419
loleaflet: specify the toolbar container + don't add empty controls
2015-12-16 19:57:55 +02:00
Mihai Varga
84347b2b2e
loleaflet: remove edit/readOnly map init options, add permission
...
And permission can be 'view', 'edit' or 'readonly'
2015-12-16 18:47:12 +02:00
Mihai Varga
1970ab4a2e
loleaflet: scroll to [0, 0] after creating the tab control
...
Creating the tab control offset the document a bit so we need to reset
it.
2015-12-16 16:15:39 +02:00
Ozcan Esen
449022730b
change the border style of the selected preview
...
Change-Id: I0d163c0a68dbc532db08ed8735a4cdb7107ec8e5
2015-12-14 15:27:58 +02:00
Mihai Varga
a0d6f7d6d5
loleaflet: always use fillRow/fillColumn
...
This avoid the case in which the row/column headers are just resized
but they are empty or invalid
2015-12-14 14:55:28 +02:00
Mihai Varga
a3084d5235
loleaflet: fixed a typo and removed some comments
2015-12-14 14:51:35 +02:00
Mihai Varga
152ad884e2
Revert "loleaflet: Change !(... >= 0) to ... < 0 for readability."
...
This reverts commit 00d7ab3519
.
_currentPage can also be undefined so in that case
!(this._currentPage >= 0) will be evaluated to true
while
this._currentPage < 0 will be false (as it should be)
2015-12-11 14:50:51 +02:00
Mihai Varga
35a505d35e
loleaflet: allow specifing the document container as a map option
2015-12-11 14:47:46 +02:00
Mihai Varga
7f36d5be8a
loleaflet: refactor the row column header
...
Now it works as a detachable control
2015-12-11 14:47:46 +02:00
Mihai Varga
3f7de82ef9
loleaflet: don't reference our scrollbars
2015-12-11 14:47:45 +02:00
Mihai Varga
2d883a2dbe
loleaflet: fixed indentation
2015-12-11 14:47:45 +02:00
Mihai Varga
3b2ee2c0ac
don't initialize the tabs control in calc layer
2015-12-11 14:47:45 +02:00
Jan Holesovsky
00d7ab3519
loleaflet: Change !(... >= 0) to ... < 0 for readability.
2015-12-10 21:42:22 +01:00
Ashod Nakashian
50e6272440
Fixes to get a consistently working state
...
Fixed a javascript error and a more serious referencing
of the memory of a temp string, which resulted in
random behavior.
When the memory was null, it failed to load any
documents in the browser. Otherwise, accidentally,
when it wasn't, it would load the document (rarely).
2015-12-10 21:32:16 +01:00
Mihai Varga
cfda675537
loleaflet: glue the spreadsheet to the row/column headers
...
Previously when the spreadsheet was zoomed out and it was smaller than
the viewing area, the document would've been centered
2015-12-04 10:12:47 +02:00
Andras Timar
19c3187371
Revert "loleaflet: add column/row-header selection support"
...
This reverts commit db02f8795b
.
2015-12-02 16:46:17 +01:00
Andrzej Hunt
db02f8795b
loleaflet: add column/row-header selection support
...
(cherry picked from commit 264761ca18406b414080ccae31554b8ea1128dfd)
2015-12-02 16:23:10 +01:00
Mihai Varga
b78fd2c68a
loleaflet: renderfont command handler
2015-11-30 11:16:53 +02:00
Mihai Varga
4aafd56654
loleaflet: add a JSON parameter to sendUnoCommand()
2015-11-30 11:16:52 +02:00
Andras Timar
d49df74506
loleaflet: update column headers after Set Optimal Column Width command
2015-11-28 20:04:45 +01:00
Mihai Varga
8df7659ccd
loleaflet: ccu#1328 added image/shape movement preview
2015-11-20 10:46:29 +02:00
Mihai Varga
11f2c1446a
loleaflet: don't show a dialog when there is no selection content
2015-11-18 19:50:25 +02:00
Mihai Varga
e118574fa8
loleaflet: ccu#1349 handle copying cell content in Calc
2015-11-18 19:45:11 +02:00
Mihai Varga
9d911fbf22
loleaflet: fixt ctrl + C (copy) on firefox
2015-11-18 19:30:27 +02:00
Miklos Vajna
084e470257
loleaflet: send rendering options on load
2015-11-18 18:13:02 +01:00
Miklos Vajna
346b76fd93
loleaflet: move decoding comment where decoding happens
2015-11-17 21:09:29 +01:00
Mihai Varga
d18667d000
ccu#1273 support utf8 characters in the message passing server <-> client
2015-11-17 20:07:48 +02:00
Andrzej Hunt
4e2bf06674
loleaflet: update client zoom before ViewRowColumnHeaders
2015-11-16 14:43:06 +01:00
Henry Castro
0883cd6d91
loleaflet: fix row/header last item, scroll offset
2015-11-15 19:28:38 -04:00
Henry Castro
7ed35f810e
loleaflet: update row headers to modified css styles
2015-11-15 19:25:50 -04:00
Henry Castro
61648fa8af
loleaflet: update column headers to modified css styles
2015-11-15 19:21:17 -04:00
Mihai Varga
6acefcee9a
lolleaflet: notify jslint about global objects
2015-11-13 11:36:48 +02:00
Mihai Varga
d8b91fbc29
loleaflet: fixed js lint errors in src/control/*
2015-11-13 11:27:54 +02:00
Mihai Varga
f19be527f5
loleaflet: fixed js lint erros in core/*
2015-11-13 11:04:17 +02:00
Mihai Varga
1c6299357d
loleaflet: fixed js lint erros in layer/tile/CalcTileLayer.js
2015-11-13 11:01:34 +02:00
Mihai Varga
11aecae645
loleaflet: fixed js lint errors in layer/tile/TileLayer.js
2015-11-13 10:59:16 +02:00
Mihai Varga
81e773ac2a
loleaflet: fixed js lint erros in src/map/handler/*
2015-11-13 10:38:28 +02:00
Mihai Varga
dd16ab0259
loleaflet: status indicator for reconnection to the server
2015-11-12 18:11:17 +02:00
Mihai Varga
a8414750d9
loleaflet: set docType before setting the permission
2015-11-12 17:31:58 +02:00
Mihai Varga
8acc111558
loleaflet: rename the iframe used for file downloading
2015-11-12 17:19:11 +02:00
Mihai Varga
419ce63253
loleaflet: customize the scrollbars for our document container
2015-11-12 16:55:56 +02:00
Mihai Varga
c7cba091f5
loleaflet: replaced the scrollbars with with version 3.1.2
...
This solves the problem of dragging the scroll bar from outside the
iframe
2015-11-12 16:55:56 +02:00
Mihai Varga
c1efc7c012
Formula bar for calc
2015-11-12 16:55:56 +02:00
Mihai Varga
242870cb9f
use setClientZoom() before postMouse/Key event
2015-11-12 16:54:45 +02:00
Andrzej Hunt
c56cd97159
loleaflet: update styles commands format
...
This actually corresponds to what was implemented server side.
2015-11-12 15:05:43 +01:00
Andrzej Hunt
e103a0b59a
loleaflet: support commands list instead of ClearStyle
...
This allows further commands to be added purely server-side.
2015-11-12 13:55:55 +01:00
Andrzej Hunt
e97afd3877
loleaflet: row size is also sum of widths
2015-11-12 12:24:20 +01:00
Andrzej Hunt
a7d74ed5ee
loleaflet: don't delete non-existing marker
...
Previously there were spurious warnings when trying to delete
a non-existing marker.
2015-11-12 12:23:33 +01:00
Andrzej Hunt
eaf5a65e8b
loleaflet: column size is actually sum of widths
2015-11-12 11:31:49 +01:00
Andrzej Hunt
4d03af1517
loleaflet: show calc cell styles in selector too
2015-11-11 21:24:25 +01:00
Andrzej Hunt
e484716ac3
loleaflet: separate the top UI styles
...
The topStyles are equivalent to the default styles shown
in the writer styles selector. The remainder of the list
is the full list of available styles (shown under "more"
in the desktop style selector), however this probably
too overwhelming, hence instead we just show a small selection
of styles.
2015-11-11 21:24:25 +01:00
Andrzej Hunt
c560a04e06
loleaflet: add "Clear formatting" to style selector
...
This is a direct equivalent to the Clear formatting
functionality on desktop.
2015-11-11 21:24:25 +01:00
Andrzej Hunt
72c407e0ed
loleaflet: support mouse cursor calback
2015-11-11 10:38:24 +01:00
Andrzej Hunt
931d6badbe
loleaflet: no need for hungarian notation
2015-11-10 13:46:41 +01:00
Henry Castro
75ad86bee1
loleaflet: fix row/column, scroll issues
2015-11-09 22:02:51 -04:00
László Németh
8ca4260edf
loleaflet: fix Writer/Impress at zoom
2015-11-09 10:12:23 +01:00
Henry Castro
5485d63aee
loleaflet: handle zoom to update columns and rows
2015-11-08 14:34:51 -04:00
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
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
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
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
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
Mihai Varga
701f0a1ea2
loleaflet: better handle map.remove()
2015-10-20 11:54:23 +03:00
Mihai Varga
7d1918e367
loleaflet: add id paramater to downloadAs method
2015-10-20 11:54:22 +03:00
Mihai Varga
0f9263d76f
loleaflet: if window's protocol is file: add http: to download url
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
285e625acc
loleaflet: initialize the part/page rectangles arrays
2015-10-20 11:54:22 +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
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
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
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
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
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
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
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
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
fc5d617737
loleaflet: renamed remaining currentPart to selectedPart
2015-09-15 17:53:27 +03:00