Commit graph

161 commits

Author SHA1 Message Date
Marco Cecchetti
bf9035ffc7 loleaflet: impress: add icon for inserting header and footer
Change-Id: I72c7f0742b9ae1211a2232f195eec9f7e1903b58
2019-10-08 18:48:48 +02:00
Marco Cecchetti
acd95732b6 loleaflet: calc: more icons for mobile wizard
Change-Id: If5112719a055ba059d95cff3b1d96df5fb9f39ae
2019-10-08 17:01:51 +02:00
Marco Cecchetti
40d2e7ab48 loleaflet: more icons for mobile wizard
Change-Id: If5112719a055ba059d95cff3b1d96df5fb9f39ae
2019-10-08 16:29:57 +02:00
Pedro
359750358c Align text: add missing icons and style its elements and alignment
Change-Id: I9ff97c571080af1c51c47275f659adb141e9410f
Reviewed-on: https://gerrit.libreoffice.org/80447
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-08 15:16:09 +02:00
Marco Cecchetti
172c9ca384 loleaflet: adding icons to insert menu entries
Change-Id: I24664aa41f208ccd70331f37a8e1d031eefc43fd
2019-10-08 12:43:32 +02:00
Pedro
25572e7e25 Decrease toolbar-up icon spacing, update contacts svg color, fix icon alignment, tweak hamburger
Change-Id: I9a4d24ad2335e9936df372a5168993215d68c366
Reviewed-on: https://gerrit.libreoffice.org/80430
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-08 10:55:53 +02:00
Pedro
a818388dad Styling WrapPropertyPanel: checkbox and radioboxes plus layout
Change-Id: Ic0bfbc16726d0d1a402f35a3c205c6c15c8dbbb1
Reviewed-on: https://gerrit.libreoffice.org/80396
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 19:40:08 +02:00
Pedro
53555525fa Add icon for insert comment toolbar button
Change-Id: I2268752e4a8cf68d1a71b5c64f8fcf1d90f30d01
2019-10-07 16:27:10 +02:00
Pedro
3f15225af9 Adjust color so all the main icons share the same tint
Change-Id: I6f26e6bd266c6e36894a9a3d685551c0a98205f8
Reviewed-on: https://gerrit.libreoffice.org/80133
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 09:59:40 +02:00
Pedro
f164ac194f Mobile wizard: add icon for insertion toolbar button.
Change-Id: Iaaaa437fc7bf304f7bf473bb6d77c3f969a31f85
2019-10-05 17:39:59 +02:00
Pedro
1d21bb4ac2 mobile-wizard: Add icons and increase size between rows
Change-Id: I3d7d3db50fa1697f5225262929182290044fe8c3
Reviewed-on: https://gerrit.libreoffice.org/80235
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-04 17:16:51 +02:00
Tamás Zolnai
54997803bd mobile: Add a menu item to trigger the bottom toolbar palett
The menu item is disabled by default and enabled by stepping into
edit mode. The menu item triggers the mobile wizard which is displayed
on the bottom of the screen. The menu item is checked when the
mobile wizard is visible.

Icon created by: Pedro <pedro.silva@collabora.com>

Change-Id: I9ec90a38305f9cb288f61d38ca29273e074025af
2019-10-03 15:40:21 +02:00
Tomaž Vajngerl
d1eaa895aa tdf#125565 Added table move marker
Change-Id: Iffa1b969986c9f9b405d5713b56a192a1069645f
Reviewed-on: https://gerrit.libreoffice.org/79821
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2019-09-30 00:39:11 +02:00
Szymon Kłos
9276ac2da1 Added formula dialog to the toolbar
Change-Id: Ic7b6da86660824acefa02e203601d912aba7ba2e
2019-09-28 16:40:15 +02:00
Ashod Nakashian
7edfa725c1 leaflet: Add sidebar commands in toolbar and menu
Reviewed-on: https://gerrit.libreoffice.org/71840
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit 212290a35dc4e87439e5d4d41b16224281c8d27d)

Change-Id: Icac459849196a70b62ac0e2a558882d8cc199e6c
2019-09-03 01:53:12 -04:00
Andras Timar
8a3a17316e remove unused cursor-handler.png, handle_end.png, handle_start.png
Change-Id: I8a98d6b4770288af21bcf449966036c7f23a563a
2019-08-30 10:09:13 +02:00
Pedro Pinto da Silva
47bb8288e0 redesigned platform agnostic text handles
Change-Id: Ic72653f209863442eb4aa80e3a7c47f2795fa221
2019-08-30 10:08:48 +02:00
Tomaž Vajngerl
7467710dab table handles: drag only in x/y axis, marker on hover, cursor
This adds:
- support to freeze movement to x or y axis when dragging the
marker (depends on the marker type - column or row marker)

- change marker on hover, which uses a different image, which is
solved in css

- change cursor to col-resize / row-resize when howering over the
marker

Change-Id: I63bf5e82860ef75f2dfde31ee2ab7ede6f61ce70
Reviewed-on: https://gerrit.libreoffice.org/77652
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2019-08-19 01:03:20 +02:00
Tomaž Vajngerl
cc70602939 tdf#122529 Support for table overlay - column/row change markers
This adds table markers for resizing rows and columns if the user
has the table selected or the cursor is in the table. The code
reacts to the callback "tableselected:", where the markers are
created for each column and row, if the payload (json) of course
has any data. When the marker is dragged, a uno command to resize
the table column or row border is send to the core.

Change-Id: I9b21d09639c1b2be70a1a897f9e3340b453d847e
Reviewed-on: https://gerrit.libreoffice.org/77360
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2019-08-15 05:16:04 +02:00
Tomaž Vajngerl
42c4c864fe tdf#125425 add cell selection markers and cell auto fill marker
This replaces the standard text selection marker with a cell
selection markers to resize the cell selection. This looks and
behaves better for cells in Calc and it is also easier to deal
with.

Additionally add auto fill marker to perform the auto fill action
on the cells. This was not possible to do previously unless you
hit an invisible part of the cell selection, which is not
convenient when using touch.

Change-Id: Ia02d03b7b8e8d98412ea98eb92fb47d1505ef979
Reviewed-on: https://gerrit.libreoffice.org/76494
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2019-07-29 08:51:55 +02:00
Samuel Mehrbrodt
c52a951cd9 Remove remnants of insert footnote toolbar entry
The removal was snuggled in with

commit 63ecdd5d40
Author: Henry Castro <hcastro@collabora.com>
Date:   Thu Aug 30 15:59:29 2018 -0400

    loleaflet: update toolbar with new images
    
    ...and entries


Change-Id: Iaec8812f2944217ef996af25fa4f0ebec5874b2f
Reviewed-on: https://gerrit.libreoffice.org/73827
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2019-06-12 14:20:24 +02:00
Jan Holesovsky
fd18e490c5 Add textbox creation to the Impress toolbar.
Uses the newly added parameter to insert it directly, instead of using
the mouse to define the bounds first.

Change-Id: I3c10f379151b6789908585af02a8a18f3103e001
2019-05-24 17:43:54 +02:00
Samuel Mehrbrodt
6167dc9c44 Disambiguate Highlight color vs background color
Highlighting is character level while background color is paragraph/cell level.
Use different uno commands/icons/texts for the two.

Change-Id: I79264fcdcd968734b68278f69450a377d6607323
Reviewed-on: https://gerrit.libreoffice.org/72786
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-05-23 14:33:52 +02:00
Jan Holesovsky
3071f774e6 colibre: Update to the latest versions from master.
Change-Id: I4358a89b48bd4165bdc059a09e7e794599a9d842
2019-03-13 12:00:11 +01:00
Eduard Ardeleanu
3301f01c0c fix: remove old svg for currency format button
Change-Id: I2224ed4c6d99b11ce8ab833f21223de82401ae75
Reviewed-on: https://gerrit.libreoffice.org/68840
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-03-07 10:13:30 +01:00
Eduard Ardeleanu
1073127103 loleaflet: new icon for currency format button
Contains an icon proposal for format currency button from spreadsheet files.
Current icon contains a dollar sign, which can be misleading, especially when the UI is rendered in other languages than english.

Change-Id: Ie767caf11b6ca1644bd8ec31f16344fb281f606b
Reviewed-on: https://gerrit.libreoffice.org/68755
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-03-06 17:55:06 +01:00
Henry Castro
82d544b8b1 loleaflet: update shape signature icon
Change-Id: I1553bd792630a5c6040fa259cb47c04f0c2654a9
2019-02-08 09:58:35 -04:00
Henry Castro
f695e36aa9 loleaflet: update basic shape cube icon
Change-Id: I5b3edd8245ef24039857f9a5a988003c15f50c49
2019-02-08 08:37:40 -04:00
Henry Castro
cc6e5c844e loleaflet: mobile: add a cursor handler
Change-Id: Ie569ad2ddba85cb4a3559ae12c8451190460f7a9
2019-01-22 14:52:40 +01:00
Tomaž Vajngerl
f8b09e0f42 signing toolbar - current logged in identity improvements
Change-Id: I2d03111a932b2a95a6c4518bb096b94418cb48ba
2019-01-03 09:35:49 +01:00
Tomaž Vajngerl
dc282c15bd improve signing toolbar, add vereign image
Change-Id: Ia18355e4afa1c07083298888528efda75a5aee5f
Reviewed-on: https://gerrit.libreoffice.org/65793
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2019-01-01 23:40:49 +01:00
Jan Holesovsky
a710a8fafd mobile view mode: Add the floating action button.
The icon comes from the Material Design pages: https://material.io

Change-Id: I59acf7bfb6c65030721605ead057c8854f529a3b
2018-12-07 12:39:28 +01:00
Szymon Kłos
d2a4e1677f Introduced tablet mode
* by reducing small device screen size limit to 767px
  tablets like iPad are not switched to the simple ui

* tablet is a mobile device without simple ui

* created global methods to detect ui mode
  window.mode.isTablet() / isMobile() / isDesktop()

* menubar / toolbar items can have 'tablet' property

* modification indicator is hidden in the tablet mode
  to allow layout menubar correctly in the vertical mode

* tablet mode has the menubar folded by default and
  hamburger menu icon to unfold it

* menubar hidden by default needed fix for calc due to
  additional row with formulas

Change-Id: I0d89427f6bfde015c645c597cb741c69b9031178
2018-12-07 12:39:28 +01:00
Jan Holesovsky
a84e7f8b22 menu: Use the Material design pencil svg in the document name edit box.
Also avoid jumping of the frame width when changing between the editable
version and the hover version.

Change-Id: I9a26b99f8ee442536b9dbc4423202d51a152cc22
2018-12-07 12:39:28 +01:00
Szymon Kłos
cf0fb38da1 Toggle fold/unfold button icon
Change-Id: I88ef3258d0366c5e4e1a0146d4c06e763f0716e1
2018-12-07 12:39:27 +01:00
Szymon Kłos
247e5950d2 Make close button grey & smaller
Change-Id: I23f53b065e0a77e9a59369be4fd42fa6a2e28c49
2018-12-07 12:39:27 +01:00
Henry Castro
21fafe1e58 loleaflet: add a document type logo
Change-Id: Id02191e5070c10affb9157fdafa1a6fe8905517c
2018-12-07 12:39:27 +01:00
Henry Castro
63ecdd5d40 loleaflet: update toolbar with new images
...and entries

Change-Id: Ia57f832642db9bd4036f401be3ed736704ce5d6b
2018-12-07 12:39:27 +01:00
Tomaž Vajngerl
7a8c5c072f Add "close" function to the document signing info bar
Change-Id: I24e967de5c2a975ec2f1321c02712761c6d48de3
Reviewed-on: https://gerrit.libreoffice.org/64299
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2018-11-29 22:46:14 +01:00
Jan Holesovsky
58fd6beac8 mobile: Get rid of the callout icon.
Change-Id: I6a040269a2a0d45e7b2db00c4c221ff6c86fdf1e
2018-11-19 13:40:28 +02:00
Marco Cecchetti
6be30dac7f loleaflet: mobile ui: polish up-toolbar
Removed statistic data
Added a button for toggle full screen mode
Added a button for going bacj to the file browser view
Undo/Redo buttons are now working

Change-Id: Ib623fe1332a11e0f0ab1abf7f869b0763854090b
2018-11-19 13:38:59 +02:00
Henry Castro
511c59108a loleaflet: mobile: add context toolbar
Change-Id: I8cf5d0043022efebc022da70e3a99edcc2f96cb7
2018-11-19 13:37:27 +02:00
Henry Castro
723fd25db5 loleaflet: mobile: create toolbar
Change-Id: If9a9063f511ea1b15e843554b619af8d530693e4
2018-11-19 11:39:02 +02:00
Jan Holesovsky
aa20e6c956 Conditional formatting: Add toolbar button for the icon sets.
Change-Id: Ifa07f357d490de8b92e50d34d4124f90b1d9e304
Reviewed-on: https://gerrit.libreoffice.org/56505
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-10-31 18:12:07 +01:00
Henry Castro
c3db4078cb loleaflet: mobile: add control to handle events cut/copy/paste
Change-Id: I8f500b17d9479a846afd59c42775e11d3f298248
2018-08-26 14:30:31 -04:00
Pranav Kant
5521af3826 loleaflet: use larger savemodified icon
otherwise it doesn't match exactly, in size, with save icon resulting in
ugly transition.

Change-Id: I0ce25253b1436d6e4343c61e83a8a06941964eba
2018-07-16 15:55:37 +05:30
Pranav Kant
a5c58228c6 loleaflet: switch all icons to colibre
Change-Id: Id13c9a8c726c8b99849b6be201dcc2a1e7ea36ef
2018-07-16 15:55:37 +05:30
Pranav Kant
4691eb32d7 loleaflet: rename image file names as they are in core.git
use the original file name from the links.txt file for currencyfield.svg

Change-Id: Ib28b4aa82705b83145dd4e2cc2c6ec6ad9fa8a9f
2018-07-16 15:55:37 +05:30
Pranav Kant
a2de2713b8 loleaflet: switch to colibre svgs for shapes
Change-Id: Iba42bcea55b3b172d21139352347c0bfbb59e7e6
2018-07-16 15:55:37 +05:30
Henry Castro
77e913e46a loleaflet: add cell borders in Calc
Change-Id: I0105ee6c98b0eb043b60b56ea80007bae967df90
Reviewed-on: https://gerrit.libreoffice.org/56091
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-06-20 13:31:04 +02:00
Henry Castro
d3a3dc7d13 loleaflet: move some images from draw plugin
Change-Id: If53aea32c745e62493d87ae129a7da2bdc242deb
2018-05-26 10:55:45 -04:00
Pranav Kant
12eaff0f79 loleaflet: Add flowchart shapes
Couldn't find svg images for 8 flowchart shapes. The command works for
them but no icon is currently shown in the toolbar.

Change-Id: I0a992d51f01064f04b26b90adcdfd29515a77f6a
2018-05-25 16:31:52 +05:30
Pranav Kant
9b69fcbd82 loleaflet: Add callout shapes
Change-Id: Idc280cf22e1e3459e35de30355b6bffed5fae6b0
2018-05-25 16:31:52 +05:30
Pranav Kant
d7f9cad3bc loleaflet: Add star shapes
Change-Id: Ic68f422a18bffff9dfee86d83b9d463091423385
2018-05-25 16:31:52 +05:30
Pranav Kant
620a882672 loleaflet: Use breeze icons
But the problem is that not all the icons in basic shapes are available
in breeze theme. Some icons like circle, ellipse doesn't have any svg in
breeze.

Change-Id: I5d672e9f996607eabfd620f0d37ae7205f560bbc
2018-05-25 16:31:52 +05:30
Pranav Kant
880cd304b6 loleaflet: Add arrow shapes
Change-Id: Ia3eca34969a22110037e08c39e8f68771882c89f
2018-05-25 16:31:52 +05:30
Pranav Kant
91bced53a9 loleaflet: Separate section for more shapes; add symbol shapes
Change-Id: I4f683b50fb7debf195ead56c48ef64d7ce609b73
2018-05-25 16:31:52 +05:30
Henry Castro
50dd72d34f loleaflet: move cursors to images directory
Change-Id: Iea2f5753da022fec70d17fd325764cc46b371483
2018-05-24 14:45:59 -04:00
Jan Holesovsky
ee7453271e Don't show red on the save icon, we autosave regularly.
No need to catch the user's attention too much.

Change-Id: Ic81a02a4e4fea19aab4e5dc432d65700e0bdd6bf
2018-05-24 13:08:32 +02:00
Pranav Kant
348fbe840b loleaflet: New shape toolbar popup
Change-Id: Idc61230d26b2933f9ba1b9ec78bada55a0ef2698
Reviewed-on: https://gerrit.libreoffice.org/54659
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2018-05-22 10:42:17 +02:00
Henry Castro
8618885b31 use Makefile to build loleaflet
Concatenate and minify all javascript files in the release build but not
in the debug build. Also, it is enabled to use a build directory

Change-Id: Ia120447a827cfe236241ddf188bf43a088f877a7
Reviewed-on: https://gerrit.libreoffice.org/52802
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2018-05-10 20:30:16 +02:00