Commit graph

6592 commits

Author SHA1 Message Date
Szymon Kłos
e3a0c8b972 Add ids for shortcutsbar in draw
needed for show/hide functionality using postmessage

Change-Id: I9dc486c886ae7537963b339c7a4f08104a337e85
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-01 13:28:06 +01:00
mert
5df4eb2d02 Fix exception when there is no handles on shape selection
Change-Id: I0725a239177413b3415ec329186c4ee33cf37519
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
e84e5addec Draw: Hide items that does not have functionality from notebookbar
Change-Id: I1914136d9a0f442463d1ab94eb2b2e32b1685c07
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
fe7252d108 Added ConnectorToolBox to Notebookbar
Change-Id: If00563eef7a5277b2ac82f61b402074c390b7186
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
Szymon Kłos
d92d69335d Update unocommands.js
Change-Id: I2bceaafd2eb65dd6280f5e0e2390e4c697715b28
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-01 13:58:14 +03:00
Szymon Kłos
bf62ad5acb notebookbar: added for draw
Change-Id: I9caf00f1b02ebbf0820051d8e44721a8eb4549fd
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-01 13:58:14 +03:00
mert
63839fec60 Show rectangle bounds while moving the shape
Change-Id: Ic9a305267ab64e87d503db688555feb01647114d
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
84ad87284a Fix handle positions are wrong in Calc
Change-Id: I7f520b02787aabef3e8c5ccbc275aa2bdcc6359c
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
71ba3d9cb6 Include map zoom to twiptolatlng function
Change-Id: Ia95726a77494e53b2e027b694252a2bda4c9cec2
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
8594118f4d Fix rotation handle position
Change-Id: I75b3c2ff343828d00d263edb236e0d90f3d51f7f
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
244aa7eacc Share scale/scaleend functions with Connectors
This will avoid code duplications.
Middle handle and flat line handles will use the same function

Change-Id: I6fc3509147e3908a39692488305f89c6f8527a1f
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
158907dd00 Implemented Line drag animations
Change-Id: Id677bb43547d6cb9da4870117272eabea67828a2
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
80ca12aeaf Implemented PolyHandle type
Change-Id: If4b50919bcaa8cce597dbaa2e80830b6601d92d0
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
6ad4e97aba Pass mousedown callback function to createHandler
This will make the function resuable.

Change-Id: Ic59f023fc87c6e962e1c52cb1e9eeff846bb89bd
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
8034f8e724 Implemented new CustomShapeHandle marker
Change-Id: I46f974bc234b053af8904ac5e07cbb7d72ef01fe
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
d3eeaac275 Adjust getPoints to new handle callback
Change-Id: Ifc65cfe01f88209ca9f0e50583c652744112fee7
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
7d66977d9f Hide rectangle borders to match with core
Change-Id: Ic594dcb8eaf656ecc8f559966de06c1fe8cadfaa
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
fa488e6e5e New MoveShapeHandle uuno command
Change-Id: I4b28616dd2e931cd1882d035e5846ab4a19c6cf6
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
Szymon Kłos
520fc2b9ee Fix loop index
Change-Id: Id3848a9a3be4a4617a11d778b87c115abd3504bc
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-01 10:41:52 +01:00
Szymon Kłos
1964776ec8 notebookbar: Show/Hide/Remove _button support
Change-Id: I81f369c6aaf98af64912923196d3d681e424a7f5
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-01 09:13:42 +01:00
Szymon Kłos
3bf19f0479 Move show button to UIManager
Change-Id: I1c8c45dabf4cf8611ee8a3e9c7f36611775891aa
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-01 09:13:42 +01:00
Szymon Kłos
f671ed12bb notebookbar: Insert_Button support
Change-Id: I7323e3fd740680338c76d0b62a1f20fe752fa3b6
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-01 09:13:42 +01:00
Szymon Kłos
5f69d463ea Move insert button to UIManager
Change-Id: I9873e59256f6a8986216c43f850fcdabf5a02c5d
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-01 09:13:42 +01:00
Andras Timar
44ac9ef965 document Action_ChangeUIMode
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id245350d17ff436ad231012065776a6bdddfa56a
2021-03-01 08:48:52 +01:00
Andras Timar
e2ed44b8ab Add Action_ChangeUIMode to PostMessage test harness
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I06c5e7fab8fff763e59f2a4fdf85c7f47dec51bb
2021-03-01 08:48:52 +01:00
Dennis Francis
09e956ef3a add CBounds.fromCompat() tests
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ibca9d4c3e18a027f0b3842c434143076daba436f
2021-02-26 21:48:15 +05:30
Dennis Francis
9ab15688ec make zoom-animation with overlays work correctly for freeze-panes
The implicit transformations done in tile drawing(from offscreen canvas)
must match the canvas transformation done for drawing the overlays.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: If434eb87be99754a2def290b19631a1970e83488
2021-02-26 21:48:15 +05:30
Dennis Francis
28f97d76e0 draw overlay on top during zoom-animation
at the frame zoom level on the main canvas after tilesection is drawn
using off-screen canvas.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I45adafae4dc4eaaca27fb9b2d858186b04fb898e
2021-02-26 21:48:15 +05:30
Dennis Francis
f10bea6829 cancel animation frame after end frame step
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ibeac532f2d5e2d673f6a5f5f69adebdb506a5ef2
2021-02-26 21:48:15 +05:30
Dennis Francis
ec0433d372 Stop ignoring pan after dragend of cell-resize marker
Note that 'up' does not get fired after 'dragend', so the since
969f9f9860 window.IgnorePanning continues
to be true even after 'dragend' which disables panning for document
lifetime.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I76b03a0cd77cfdd36a932c2986d51e56007386ad
2021-02-26 21:48:15 +05:30
Rash419
846376c1e6 loleaflet: fix column resizing when not selected
Signed-off-by: Rash419 <rasheshpadia419@gmail.com>
Change-Id: I6074009679f279815b5fc00e38f4e8316493ce65
2021-02-26 16:20:07 +05:30
Gökay Şatır
83e94a4a92 Calc: Grid drawing is fixed.
It was broken because of one of the previous changes.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Ibcc1955d35227d2ac1b429245a97f20df669bfb0
2021-02-26 11:05:50 +03:00
Gökay Şatır
590cfacc7a Calc: Fix header rendering.
When window is resized, sometimes header drawings aren't updated. This
patch solves that bug.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I1920435a49662c283e9b691bc02d32865ca401e8
2021-02-26 10:34:48 +03:00
sebastiaanveld
7623a4b7a8 Translated using Weblate (Dutch)
Currently translated at 62.6% (263 of 420 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: sebastiaanveld <sebastiaan.veld@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/nl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/nl/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ibcf2003599138a93e31569122d91d5501a9a3457
2021-02-25 15:28:12 +01:00
Milo Ivir
0337990f6c Translated using Weblate (Croatian)
Currently translated at 100.0% (370 of 370 strings)

Translated using Weblate (Croatian)

Currently translated at 70.0% (294 of 420 strings)

Translated using Weblate (Croatian)

Currently translated at 99.7% (369 of 370 strings)

Co-authored-by: Milo Ivir <mail@milotype.de>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hr/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I6cdad8accc1578505c9d54d2fc62f97ef80654b8
2021-02-25 15:28:12 +01:00
Yaron Shahrabani
b62e66799c Translated using Weblate (Hebrew)
Currently translated at 54.0% (227 of 420 strings)

Translated using Weblate (Hebrew)

Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/he/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/he/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I39a741ba53c8791b0197e9751650456092ab9e37
2021-02-25 15:28:11 +01:00
Rob Pearson
95877cc0f2 Translated using Weblate (English (New Zealand))
Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (English (New Zealand))

Currently translated at 100.0% (370 of 370 strings)

Translated using Weblate (English (South Africa))

Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (English (South Africa))

Currently translated at 100.0% (370 of 370 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (370 of 370 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: Rob Pearson <rob.dunedin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_AU/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_GB/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_NZ/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_ZA/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_AU/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_GB/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_NZ/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_ZA/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic84cedf0dcc5767bec83738af9fc6d949ad4509c
2021-02-25 15:28:11 +01:00
Ihor Hordiichuk
0ffb3842a5 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (Ukrainian)

Currently translated at 92.6% (389 of 420 strings)

Translated using Weblate (Ukrainian)

Currently translated at 86.6% (364 of 420 strings)

Translated using Weblate (Ukrainian)

Currently translated at 76.4% (321 of 420 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/uk/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/uk/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I27556c55ad2c9e0cce5836f8dfa18cdc1ec41e11
2021-02-25 15:28:11 +01:00
Oğuz Ersen
3cab6f5341 Translated using Weblate (Turkish)
Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/tr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/tr/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id1dd05d5a7713d67afd10acbd22ac88e3e8e9bd1
2021-02-25 15:28:11 +01:00
Martin Srebotnjak
e96784fe50 Translated using Weblate (Slovenian)
Currently translated at 100.0% (370 of 370 strings)

Translated using Weblate (Slovenian)

Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (Slovenian)

Currently translated at 99.7% (369 of 370 strings)

Co-authored-by: Martin Srebotnjak <miles@filmsi.net>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/sl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sl/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I1fac7b84b2c95d1851be3aaf3e8db7678977ebd3
2021-02-25 15:28:11 +01:00
Matthaiks
af4916a4de Translated using Weblate (Polish)
Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/pl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pl/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I3bf96644c1bc00dd304745e730e65ed2e654dbe0
2021-02-25 15:28:11 +01:00
Allan Nordhøy
b125d39d87 Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.6% (365 of 370 strings)

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/nb_NO/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2ddf287f4c03baf482e611adc79f302b9ea67692
2021-02-25 15:28:11 +01:00
日陰のコスモス
45f5e9d5c2 Translated using Weblate (Japanese)
Currently translated at 53.2% (57 of 107 strings)

Translated using Weblate (Japanese)

Currently translated at 52.3% (220 of 420 strings)

Translated using Weblate (Japanese)

Currently translated at 64.8% (240 of 370 strings)

Co-authored-by: 日陰のコスモス <baffclan@yahoo.co.jp>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/ja/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ja/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ja/
Translation: Collabora Online/Android app
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I8de8352bc14dbefbf67b918f7606524eac876f01
2021-02-25 15:28:11 +01:00
Andras Timar
42c1f456e0 Translated using Weblate (Hungarian)
Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hu/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I13c6c6f5b97fa83f5736f0cc1ffc3520b55d3526
2021-02-25 15:28:11 +01:00
Adolfo Jayme Barrientos
7c9a56e84d Translated using Weblate (Catalan)
Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/es/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/es/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ifa28cb2d56cbea0ec5068c5f331e514dbdeccb9e
2021-02-25 15:28:11 +01:00
Joan Montané
6e76285fdc Translated using Weblate (Catalan)
Currently translated at 99.0% (416 of 420 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: Joan Montané <joan@montane.cat>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5feebf884d7b777893a2fdf0fa16b92c54f9c084
2021-02-25 15:28:11 +01:00
Bayram Çiçek
422723cbdf removed a duplicate of if statement in TileLayer.js
Signed-off-by: Bayram Çiçek <mail@bayramcicek.com.tr>
Change-Id: I6c49ff442b1ed11f10802a54c675eca1cbd8a1f7
2021-02-22 14:37:11 +03:00
Pedro Pinto Silva
b879f6986f loleaflet: Postmessage-api: Fix missing tr tag in documentation
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I2798b137df43cc322879012a774248fa8185cdec
2021-02-19 17:49:05 +01:00
Gökay Şatır
7947759f6d CanvasSectionContainer: Event propagation.
Now, bound sections propagate events to the sections those are beneath
them. StopPropagation feature is also implemented.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I54c886fea0e254d4b97c4d06585db8ed28d40ab9
2021-02-19 12:07:10 +03:00
Pedro Pinto Silva
762a353509 Vex and jsdialog btns use the same btn font
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Idf286a6f3356b1827421540167b23931731519fd
2021-02-18 10:28:53 +01:00