Commit graph

4519 commits

Author SHA1 Message Date
Weblate
fefc477f3b update translations
LibreOffice Online/android-lib (Bulgarian)
Currently translated at 100.0% (7 of 7 strings)

Change-Id: I00530286bf66db4b7907b6f6bf08693622a6d7fd

update translations

LibreOffice Online/android-lib (Lower Sorbian)
Currently translated at 100.0% (7 of 7 strings)

Change-Id: I57645233bd8763b1fb53b4d038a1d9cd433b52d5

update translations

LibreOffice Online/android-lib (Basque)
Currently translated at 100.0% (7 of 7 strings)

Change-Id: Idbb54d4b1759c459a69ef84a9a264e366e697520

update translations

LibreOffice Online/android-lib (Upper Sorbian)
Currently translated at 100.0% (7 of 7 strings)

Change-Id: Ie9b822558edbec57ef62f8886910f129e1fe0f65

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 71.9% (299 of 416 strings)

Change-Id: I2a807adbc4dcff0aead5014e7e4aec0f98ba3a49

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 68.5% (285 of 416 strings)

Change-Id: Iffff79ac0f5567550ec4d249ccaa4a28e679d64e

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 66.6% (277 of 416 strings)

Change-Id: Ia9515c1195813b68f834fa72f3c02c9849ba3f1e

update translations

LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 69.7% (290 of 416 strings)

Change-Id: I3ca0aeeb7bf3c55133df1f8836cce51038289a10
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88436
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-12 11:21:00 +01:00
Andras Timar
b9917890b1 loleaflet: updated pot files
Change-Id: I0c2d249677575a034552a114096665668b0c9429
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88515
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-12 11:18:58 +01:00
Dennis Francis
5460aa108c Add 'Delete' to context menu on non-text selection
The context menu items are obtained from core. Add a 'Delete'
entry to the context-menu json data just after 'Paste' only if
the selection is graphic and online is in Mobile mode.

Change-Id: Ie5810038bbca5d8ace01b236508b2dd4d31ca2a7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88510
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-12 11:18:40 +01:00
Ashod Nakashian
5720a4be80 leaflet: hide the keyboard during and after dragging the document
Change-Id: I5228358353cf04b838a90fc53f5987e9ac623f47
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88155
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-02-11 16:20:14 +01:00
Ashod Nakashian
9fcd4d3777 leaflet: second tap in cell starts editing
Single taping and double taping now enter
cell-edit mode and show the keyboard.

And improve graphic selection and adding text.

Change-Id: Ib38aac3165078cf143009d9ace530027bf630432
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88034
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-02-11 15:47:22 +01:00
Weblate
7ba3745e30 update translations
LibreOffice Online/loleaflet-help (Galician)
Currently translated at 62.0% (258 of 416 strings)

Change-Id: Ibb39da6d7cc28d2ea26163fc46068d3c28eb2917

update translations

LibreOffice Online/android-app (Hungarian)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: I8f8dc7485eb4fc2cfbf2e881a3fe61362833248a

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 59.9% (249 of 416 strings)

Change-Id: If207a96a6605d68fa5a770869e1ce534e3ba2dbd

update translations

LibreOffice Online/loleaflet-help (English (United Kingdom))
Currently translated at 49.3% (205 of 416 strings)

Change-Id: Iae659fb35a1a281f924767c0c5cefaf3d4c12d09

update translations

LibreOffice Online/android-app (Turkish)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: I01c076644a7db1003eea085892fc6f6e09dca36b

update translations

LibreOffice Online/loleaflet-help (Hungarian)
Currently translated at 53.1% (221 of 416 strings)

Change-Id: I38093b903335e0746a20da196f49a61a9150aea0

update translations

LibreOffice Online/loleaflet-help (Upper Sorbian)
Currently translated at 63.9% (266 of 416 strings)

Change-Id: I9389ce6c16a5f8b8cc39059c723ca1f079a48f82

update translations

LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 68.3% (284 of 416 strings)

Change-Id: Ic63aeec7fa9800861a4717dc22949486fb8e3931

update translations

LibreOffice Online/loleaflet-ui (Turkish)
Currently translated at 98.9% (280 of 283 strings)

Change-Id: I508b45c587d89c704970cc4921a2864448f7b7d2

update translations

LibreOffice Online/android-app (French)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: I36670af0671a156b22d94fcc329356ee19c9936e

update translations

LibreOffice Online/android-app (Dutch)
Currently translated at 99.0% (100 of 101 strings)

Change-Id: I492185682170971b1ecc33a81aa1b17a3a637f4c

update translations

LibreOffice Online/loleaflet-help (Dutch)
Currently translated at 54.1% (225 of 416 strings)

Change-Id: I32739b1a97e0c0e488b78c6bb66790e9ea4ad72c

update translations

LibreOffice Online/android-app (Czech)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: Ifb1c55a159c3181b54d50c0118b292942e023c4f

update translations

LibreOffice Online/android-app (Portuguese)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: I6a1085c256398877ff10e7763e83ace47e7ad583

update translations

LibreOffice Online/loleaflet-ui (Portuguese)
Currently translated at 100.0% (283 of 283 strings)

Change-Id: I9a527aee6f5040871d57511f33f05f1b79930a17

update translations

LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 67.1% (279 of 416 strings)

Change-Id: I934f9b03d18bb93b22c33a1a484c031bd4610dda

update translations

LibreOffice Online/android-app (Portuguese (Brazil))
Currently translated at 100.0% (101 of 101 strings)

Change-Id: I442c912c23b59c31524f8e7944b763e35f286033

update translations

LibreOffice Online/android-app (Galician)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: I4f7bbb44a8b28f043156d4e2863c2118785ce8b8

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 56.7% (236 of 416 strings)

Change-Id: I59dfd04c06b201bd56e6a20f5eec4c3e18cbffda

update translations

LibreOffice Online/loleaflet-ui (Galician)
Currently translated at 100.0% (283 of 283 strings)

Change-Id: I5bb296a2d1b00f9fa0faa07bd1d5d4f743497c4f

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 51.9% (216 of 416 strings)

Change-Id: Iec9d735c6b262fa124d2c3c373475b640211ddeb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88153
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-11 11:09:45 +01:00
Dennis Francis
002691d56c zoom-adjust header-height only when we have edit permissions
The patch :

-------------------------------------------------
commit ab64d2e0c3
Author: Dennis Francis <dennis.francis@collabora.com>
Date:   Wed Jan 29 13:38:16 2020 +0530

    Adjust column-header height with zoom-level too
--------------------------------------------------
introduced adjusting of column header height with zoom level.

But that messes up the positions of headers in the below scenario:
1. First zoom-in or out in mobile mode before enabling edit permissions
2. Then enable edit permissions, and now the header positions are all
messed up.

This happens because the formulabar ui is show only while in edit-mode
and the resize() method is not very robust(it adjusts 'top' style attribute
with height deltas) and does not consider the introduction of formula-bar
div into account when one changes the permission of the sheet from
'readonly' to 'edit' in mobile mode.

So lets not do resize() of the column-header container before entering
edit mode and avoid complications of adjusting for the introduction of
the formula-bar.

Change-Id: Ib03f89ad7a34cbd2a3cbfb65af2a9a016b47c125
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88175
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-02-11 09:45:05 +01:00
Andras Timar
36eed0c6f0 tdf#123892 deduplicate entries in Get_Export_Formats_Resp
Change-Id: I6eaa3f0c1529b968b8eaa7ea67356dd5bf54d3f1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88418
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-11 09:10:39 +01:00
Tor Lillqvist
28d8bab072 Treat tablets as "mobile" (like phones) in the apps in L.Map.focus
This makes the on-screen keyboard behaviour more consistent between
phones and tablets.

One effect is that it now requires a double-tap on a cell in a
spreadsheet document also in the iOS app on iPad to get the on-screen
keyboard.

Change-Id: I0dee87b76a1781d6acde1270322a207958cba045
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88178
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2020-02-11 07:19:31 +01:00
Michael Meeks
875b4c37d3 Framed sample - add frame_ancestors instructions.
Change-Id: I2b503be31268616c39485cb102dc90a3427a1e45
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88417
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-02-10 23:23:31 +01:00
Henry Castro
070395257a loleaflet: mobile: don't show 'Save' menu item when it is read only
Change-Id: I1b2c56c4c05c40b2e6e0cc6b4d0c420236c03fed
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88414
Tested-by: Henry Castro <hcastro@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-10 22:29:43 +01:00
Pranam Lashkari
7338e3d818 Made document scrolling Ergonomic
added momentum to scrolling making scolling feel smoother and easier

Change-Id: If760761580aeea57116673b67787f9f5451ab5e2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88072
Tested-by: Henry Castro <hcastro@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-10 22:27:47 +01:00
Andras Timar
2185595629 make iframe load in http:// case, too
Change-Id: I22d8cfde29bac3db24dc3906c69fe119e5d40464
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88409
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-10 21:32:27 +01:00
Dennis Francis
a43c8c304d Use the correct align statechange messages...
from core to control the state of toolbar's align
buttons (based on the current selection type).

Change-Id: I1c4c4ce1776091c05196d7c8257ea59f8248284a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88160
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-02-10 12:07:13 +01:00
Dennis Francis
1054dce67b Adapt align commands based on selection type
Use map._clip._selectionType to decide what align command to send
when one clicks on one of the toolbar align buttons. selectionType
is either 'text' or 'complex'; 'complex' by definition is set for
non-text selections like images and charts.

What is to be done next ?

1. Need to setup statechange: messages from core.git for
.uno:ObjectAlignLeft, .uno:AlignCenter, .uno:ObjectAlignRight
from sw/ sd/ in Get*State() methods of the relevant shells. After
this we need to make online toolbar align buttons to react to the
correct statechange messages based on selectionType.

2. _selectionType is not always correct. In Impress it
is always 'text' regardless of selection type. In Writer, for
shape selection, it is set to 'text'. SelectionType comes from
XTransferable2::isComplex(). Its implementations in sw/ and sd/
in core.git need fixing.

PS: In Calc, aligning images/objects does not make sense w.r.t to the
sheet in general. The align buttons are disabled in core-desktop
when an image is selected.

Change-Id: I8223cd03f864fa92523224bf88ccb992edfc2686
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87739
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-02-10 12:00:56 +01:00
Henry Castro
88d9e8a7fb loleaflet: mobile: don't show the table selector handlers when it is read only
Change-Id: I98d58a872921f442cf3b7318798d985985191c88
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88267
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2020-02-08 23:42:21 +01:00
Henry Castro
3d3625fb9a loleaflet: mobile: don't show the cell cursor when it is read only
Change-Id: I9376de1d32071e1849d9808b864700d81cab6afb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88266
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2020-02-08 23:17:36 +01:00
Pedro Pinto Silva
02ca6142e3 Mobile: Calc: Formula bar: make text selection handles visible and hide them on desktop
Change-Id: Iaf5b207fd641ff0b2428801b0972277a382b87e7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88197
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com>
2020-02-07 19:05:56 +01:00
Marco Cecchetti
be4aad288f loleaflet: calc: text selection: show handles only on the focused object
Change-Id: I468730f9700004428121debb4edfb0517b458c95
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88232
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com>
2020-02-07 18:22:08 +01:00
Henry Castro
779833ec7c loleaflet: mobile: change position of the edit button
when document type is Impress

Change-Id: I33af9c10827f50be25a8490b7de8fe5504b06352
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88216
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-02-07 17:27:10 +01:00
Marco Cecchetti
e5d03af224 loleaflet: fixing side-panel no more responding to taps on mobile device
Change-Id: I611e8313d6a0aa22f642c482c9d054a343a3cb17
2020-02-07 16:20:38 +01:00
Muhammet Kara
8704c41a6b mobile: Add Text Box to the Insert menu
Change-Id: I28dc378b550b157da41998d906319d71db072b5f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88172
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2020-02-07 13:50:57 +01:00
Muhammet Kara
0b967ece69 mobile: do not trigger singleclick on longpress inside the selection range
Change-Id: I488758dc28d05ddaf7c59db7ef59047b0e2d9a11
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88104
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Tested-by: Muhammet Kara <muhammet.kara@collabora.com>
2020-02-07 13:32:50 +01:00
Tamás Zolnai
f53e030339 cypress: mobile: emulate tap and long press events.
To achive a better test covarage.
Now, the simple click() method is recognized
as 'tap' by hummerjs. For long press we need
to use low level events.
I expect that we can emulate other mobile events too
on a similar way.

Change-Id: I5f43afafe087133e707eed6ff8a43765324d5e24
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88161
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-07 10:09:54 +01:00
Michael Meeks
6dc92fb812 select a new color as you switch tint palette.
Change-Id: I4c17e5e88c1263217448fc9b23d223413d788512
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88135
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2020-02-06 21:25:43 +01:00
Ashod Nakashian
9b9f2d0c04 leaflet: don't show the keyboard when mobile wizard open
Change-Id: I998f4d06e95eac83b21fce60f1b18f3f563522ad
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88016
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2020-02-06 21:18:40 +01:00
Weblate
f4e88f615a update translations
LibreOffice Online/android-app (Bulgarian)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: I07f83134e9981fd069b2e25f1138a4430c881700

update translations

LibreOffice Online/android-app (English (United Kingdom))
Currently translated at 100.0% (101 of 101 strings)

Change-Id: Ic507a92420b65405a9958388ffbddcc4e60fbc8d

update translations

LibreOffice Online/android-app (English (United Kingdom))
Currently translated at 30.7% (31 of 101 strings)

Change-Id: Idac18ee56e924e93d5ce53ab27d4aadbe4d25272

update translations

LibreOffice Online/android-app (English (United Kingdom))
Currently translated at 4.0% (4 of 101 strings)

Change-Id: Ib95fcd774d982b764b1f63337c401638507413d0

update translations

LibreOffice Online/android-lib (English (United Kingdom))
Currently translated at 100.0% (6 of 6 strings)

Change-Id: If29f6ef730b8d00490fe0b290cdba0cf613a688d

update translations

LibreOffice Online/android-app (Esperanto)
Currently translated at 15.8% (16 of 101 strings)

Change-Id: I882ee9cd517bb6519e5154eb4f67f9fccbaea601

update translations

LibreOffice Online/ios (Esperanto)
Currently translated at 100.0% (4 of 4 strings)

Change-Id: I90e48d21cab6ae6c0ea46359586a27331d238977

update translations

LibreOffice Online/loleaflet-ui (Icelandic)
Currently translated at 100.0% (283 of 283 strings)

Change-Id: Id4f884816178f04af3b5eafbf3420a9063e11fc6

update translations

LibreOffice Online/loleaflet-ui (Esperanto)
Currently translated at 65.7% (186 of 283 strings)

Change-Id: I7580408131e91db107264f6f7915bd18dbf75ed8

update translations

LibreOffice Online/loleaflet-ui (Lower Sorbian)
Currently translated at 100.0% (283 of 283 strings)

Change-Id: Id388779917735f36afaa08274e52221370fa0d4d

update translations

LibreOffice Online/android-app (Icelandic)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: I28df151afb4a16e7f94eaabfed45d049dbeadf05

update translations

LibreOffice Online/loleaflet-help (Icelandic)
Currently translated at 59.1% (246 of 416 strings)

Change-Id: I522d8ce13b2db7e0f7d936c94c086f5874bb213e

update translations

LibreOffice Online/android-app (Icelandic)
Currently translated at 76.2% (77 of 101 strings)

Change-Id: I72eab3f23e209e1e736d0ad7e4f99f742983d57e

update translations

LibreOffice Online/loleaflet-help (Icelandic)
Currently translated at 49.5% (206 of 416 strings)

Change-Id: I6c44c508990d3f2f4c75d52c8629bb753c970bbf

update translations

LibreOffice Online/loleaflet-ui (Icelandic)
Currently translated at 100.0% (283 of 283 strings)

Change-Id: I9f9a5c29e50a5b8fa3d6b1f5ae3201b1f948390a

update translations

LibreOffice Online/android-app (Japanese)
Currently translated at 5.9% (6 of 101 strings)

Change-Id: I324cd4d35966299fe332687c02df7b3059cfe499

update translations

LibreOffice Online/android-lib (Japanese)
Currently translated at 33.3% (2 of 6 strings)

Change-Id: I6298a12f85684ba1357774010731ecc9e15d3826

update translations

LibreOffice Online/ios (Japanese)
Currently translated at 75.0% (3 of 4 strings)

Change-Id: I416087312dbfd71290ea62cb97818f3d91fb7b27

update translations

LibreOffice Online/android-app (Lower Sorbian)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: If9ddd00f8883cbf26a782f6e63de883bd4fc1eda

update translations

LibreOffice Online/android-app (Upper Sorbian)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: I1d844722ff8b95bc07f1491c8657cbb06be5d57a

update translations

LibreOffice Online/android-app (Welsh)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: I484bab276926034bad343a01510c351c565e957d

update translations

LibreOffice Online/android-app (Basque)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: Iace66ab2c3838114eabb38b142ce808aac8ed412

update translations

LibreOffice Online/android-app (Catalan)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: Ib96b4175b2c20736a1b6f0dba454806f62c9b2bf

update translations

LibreOffice Online/android-app (Spanish)
Currently translated at 100.0% (101 of 101 strings)

Change-Id: I09d24de30d22812a4f893f4b17b053454f0ea3cf

update translations

LibreOffice Online/loleaflet-ui (Malayalam)
Currently translated at 0.4% (1 of 283 strings)

Change-Id: I2760ed684f37a176328b56ffa335135020057b6c

update translations

LibreOffice Online/loleaflet-ui (Hebrew)
Currently translated at 86.2% (244 of 283 strings)

Change-Id: I49fab0e15b9b14e2bfad8b8421884ebb73151e48

update translations

LibreOffice Online/loleaflet-ui (German)
Currently translated at 86.2% (244 of 283 strings)

Change-Id: Icc941bb943890adbb3ae842e6111454d3d4b20e9

update translations

LibreOffice Online/loleaflet-ui (Assamese)
Currently translated at 0.4% (1 of 283 strings)

Change-Id: I8059a47c68c5c391135a52d18d264dfc4b2a3a40

update translations

LibreOffice Online/loleaflet-ui (Amharic)
Currently translated at 74.9% (212 of 283 strings)

Change-Id: I9bf84580f7a88d64246829ca37fd5509b3b132d9

update translations

LibreOffice Online/loleaflet-ui (Afrikaans)
Currently translated at 8.5% (24 of 283 strings)

Change-Id: Ice3857b065103e39d5ab0cdb214ea2840c968524

update translations

LibreOffice Online/loleaflet-help (English (United Kingdom))
Currently translated at 48.1% (200 of 416 strings)

Change-Id: I8fda8781ff990c446a6eef28f1fec13d39df1468

update translations

LibreOffice Online/loleaflet-ui (English (United Kingdom))
Currently translated at 100.0% (283 of 283 strings)

Change-Id: I8a4765eb499b6faa6d03fccc18c223dfb6c601b5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87853
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2020-02-06 21:17:40 +01:00
Marco Cecchetti
a46fa588b1 calc: formula input bar: adding support for text selection handles
Change-Id: I6bc276945a7fd33f1358a3aa82ce0e7f45237771
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88090
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com>
2020-02-06 15:58:36 +01:00
Henry Castro
2a66a65c75 loleaflet: mobile: add event listener 'resize'
Since no longer it is used 'iframe' element ensure
to add event listener 'resize' of the window object

Change-Id: I89d301ddaf9e5f26c9cbf0c87c8ee157fe77247b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88099
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-02-06 15:00:39 +01:00
Marco Cecchetti
ec2ec241d2 loleaflet: calc: input bar text selection layer
Change-Id: Id143c3c0b5f0bb6a99bd9e8ce7f953f95e3a65bd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86791
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com>
2020-02-06 14:48:00 +01:00
Henry Castro
d36989114b loleaflet: mobile: add permission precondition to row/column headers
Change-Id: Ic26f3a4e129fac02932dd0ba54e81a20b68d1ca8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88040
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-02-05 16:59:23 +01:00
Dennis Francis
ab64d2e0c3 Adjust column-header height with zoom-level too
Introduce a new method 'getHeaderZoomScale' to L.Control.Header
that returns current zoom-scale w.r.t to 100% zoom. It also lets
you limit the zoomScale between a upper and lower bound. Use this
method to scale column header height. Reuse this method to
scale font-size too.

Change-Id: I841ef2d73752cdc2206549d540633e179f19677f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87671
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-02-05 14:02:17 +01:00
Miklos Vajna
4a1c877127 loleaflet: remove leftover console.log()
Change-Id: I1ce6939ea46a0f810020ada88be8e496a6eec47a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87978
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Miklos Vajna <vmiklos@collabora.com>
2020-02-05 09:04:45 +01:00
Henry Castro
38324b3e29 loleaflet: mobile: avoid creating an "iframe" element resize detector
Creating an "iframe" element inside a container the browser usually creates
another sandbox window object. This is not required in mobile browser also
 we can reduce complexity operations.

Change-Id: I75c57479af1cbf51beb1eaa812293432aeaf221c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87974
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-02-04 22:44:51 +01:00
Tamás Zolnai
f7404745fb mobile: Don't refresh the sidebar state, when a different wizard is opened.
Caught by a cypress test. Hamburger menu was opened, by it got
the sidebar content instead.

Change-Id: I3130e7e1d44f76c8ba656121d96704fb4d5b8932
2020-02-04 15:33:49 +01:00
Tor Lillqvist
15bad57fc9 tdf#128468: Do actually pass the Amount parameter of MoveTabstop in twips
Also some (commented-out) logging improvement.

Change-Id: I1d667f30c780d06e1bf4e7ad8ea6cda6ecbb2adf
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87973
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2020-02-04 15:01:53 +01:00
Tamás Zolnai
8c9ef8db4c mobile: Hide new style button on mobile wizard.
It opens a tunneled dialog, what we try to avoid on mobile.
Also after the recent focus related changes this dialog
can't get the focus, so can't add the name of the new style.
Even if I workround this focus issue and I manage to add a new
style, then that style won't be part of the style list displayed
on the mobile wizard.
All in all adding new style does not work now, so better to hide
this item.

Change-Id: I35c3686129621656f3f63914c9590248f320c15d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87965
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-04 13:15:12 +01:00
Jan Holesovsky
265ff8907f mobile: Loading... as the splash instead of Connecting...
Change-Id: I9e813cf257f0cf9c5b50b183fa1d3b265ba3903f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87922
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2020-02-04 11:40:41 +01:00
Tamás Zolnai
7dda26507a mobile: Merge these two lists of removable items.
Change-Id: If302035e017663d82f4154078c7d516b63410842
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87773
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-04 11:14:12 +01:00
Tamás Zolnai
c3c12e6fdf mobile: Remove linespacing item from mobile wizard.
In a desktop LO, this item opens a drop down list,
which seems to be not implemented in online yet.

Change-Id: Ia9d82cf9a058a43077043dc128dbbc16f18da83a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87772
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-04 11:14:03 +01:00
Tamás Zolnai
3a1cbc8027 mobile: Remove character spacing item from mobile wizard.
This item triggers the character dialog, which we should
avoid on mobile. In a desktop LO, this item opens a drop
down list, which seems to be not implemented in online yet.

Change-Id: I56a584e6665184c4242cddc4e78ba849a150c711
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87771
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-04 11:13:44 +01:00
Michael Meeks
d7eaf756e8 add class to unotoolbar buttons from parent id.
Necessary to add 'parent' member to parsed JSON structures to
allow walking up the hierarchy easily while building.

Change-Id: I52da1ba415e07bb7fef60a1c667e8c46cb0d640a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87902
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-02-03 22:57:14 +01:00
Tor Lillqvist
d532705a85 tdf#128468: Make dragging the tab stops send a UNO command
Still work in progress. The new UNO command is "MoveTabstop" with two
arguments: Tabstop (the index of the tabsetop) and Amount (in twips,
left (negative) or right).

The intent is that moving a tabstop in core will cause a callback that
will redraw the ruler, like moving a paragraph margin does.

Change-Id: Ic6b8b11811d2a7f6510c505fff421e1796300c70
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87868
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-02-03 14:38:02 +01:00
Jan Holesovsky
60ee81afc2 android: Close the app when we fail to load the document.
After user has chosen to close it, of course.

Change-Id: I82fcabdae5b0f0c96b4a1101a5f55856c8dd2c60
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87800
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-02-03 12:24:50 +01:00
Tamás Zolnai
9b64bd3819 Fix font / highlight color dropdown doesn't work
Regression from:
298f4297c2

Change-Id: Ic0001157b3866cbf3293812573c33d6b4a18a9d6
2020-02-03 03:37:39 +01:00
Pranam Lashkari
7519d0cf54 Fix: mobile wizard malfunctioning
The mobile wizard would not perform any actions
if opened when the mobile keyboard is visible

Change-Id: Id8722b551ea6c13f3fe22b78c996e2bb4b2db2f8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87712
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-31 00:02:29 +01:00
Henry Castro
40e92f10dd loleaflet: simplify 'contextmenu' prevent default
The document object has already prevented default actions

Change-Id: I4d60ec0c6915ca266f3e2c24f0958127186ca970
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87752
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-30 22:01:44 +01:00
Henry Castro
d8245a5a99 loleaflet: mobile: remove unused 'long tap' and 'double tap' files
They are no longer used instead of the Hammer recognizer library

Change-Id: Ied076c5731dcaeca37e1a15b6b637cbb62250b20
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87751
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-01-30 22:01:28 +01:00
Henry Castro
ad2391ae46 loleaflet: mobile: use Hammer recognizer events instead of 'contextmenu'
Unfortunately the emulate 'context menu' conflict with the default
horizontal scroll behavior

Change-Id: I3cd45520a6f1e00460031b78e4963db59bc9ae59
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87750
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-30 22:01:08 +01:00
Pedro Pinto Silva
96cef62d43 Mobile: MobileWizard: modify bottom button on mobile wizard, set special layout for insert table panel and add icons
Change-Id: If137e015930f3918d230a86b6e2940747389ec5d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87746
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-30 16:49:45 +01:00