Commit graph

436 commits

Author SHA1 Message Date
Miklos Vajna
a514abff88 document signing: fix disabled case for Calc/Impress
If the document-container has an explicit style attribute, then this
breaks Calc (only Writer was tested before). This restores the correct
Writer/Calc/Impress behavior when the setting is false and keeps correct
behavior with Writer when the setting is true.

Change-Id: I310660e88af4407e521529ec41b5dcb604108bd9
2018-11-12 11:53:42 +01:00
Miklos Vajna
c74c9e39c8 Disable document signing via config setting
It's not too easy to customize CSS, so move the top position of the
document container to loleaflet.html, where it's convenient to handle
this.

JS can dynamically query if the menu item should be there, similar to
the about dialog.

Change-Id: I4b2799a41f8ad31e3a9b4983fd1947d2e0363a2b
2018-11-09 13:56:02 +01:00
Tomaž Vajngerl
1a954fa44d add sign infobar below the toolbar
Change-Id: I7def928b0cacf54f008c9402a9df229423042f48
Reviewed-on: https://gerrit.libreoffice.org/63153
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2018-11-09 09:06:23 +01:00
Aron Budea
c77fa94634 Force width for font size dropdown 2nd attempt.
Change-Id: I89b84970841eaab656df40219f35b9541e9caa95
Reviewed-on: https://gerrit.libreoffice.org/62704
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-11-01 05:56:23 +01:00
Aron Budea
db60111676 Force width for font size dropdown.
Change-Id: Ied2392c814dcda75cfcc0aa27c588e9255d3f960
Reviewed-on: https://gerrit.libreoffice.org/62702
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-10-31 18:12:07 +01: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
Victor Walker
082ea34913 Made grab handles larger and circles.
Change-Id: I50decb47495aa62407d19509aec8053def970311
Reviewed-on: https://gerrit.libreoffice.org/59333
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2018-10-27 14:51:35 +02:00
Henry Castro
c0643e1421 loleaflet: mobile: move button (hamburger/x icon)
Change-Id: If552c5f77cb56818f6762b77f34498eabc267d1a
2018-10-21 12:53:16 -04:00
Henry Castro
4a4a888798 loleaflet: mobile: ensure to hide the document name
Change-Id: I5285409f69f8e6568436fcc25a58eca4a24a0886
2018-10-16 21:07:08 -04:00
Henry Castro
32c98a4c88 loleaflet: mobile: fix scrolling the dialogs
Change-Id: I5279cffca4b4d66fbc35a4a8ae4b3ffdfe70a215
2018-10-16 20:08:17 -04:00
Henry Castro
f94c5e25f6 loleaflet: mobile: fix scrolling the menu bar
Change-Id: Ic0bdbfb825507ab3b09f56627e0218a40fd95172
2018-10-15 12:20:36 -04:00
Henry Castro
25e4bb1c51 loleaflet: mobile: use max-device-height media query
max-height it is used for window size, max-device-height
it is the device screen dimensions, so when a tablet
rotate to landscape we keep the mobile layout

Change-Id: I921007014a63374114ec7563144f3532a53fd021
Reviewed-on: https://gerrit.libreoffice.org/61339
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-10-09 15:54:50 -04:00
Henry Castro
fcc34e6fb9 loleafet: mobile: fix max-height screen size tablet
Change-Id: I1c869089aee6991de34e06daf0a38d8b07f82a22
Reviewed-on: https://gerrit.libreoffice.org/61280
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-10-09 15:54:05 -04:00
Henry Castro
0610196d4f loleaflet: mobile: fix max-width screen size tablet
Change-Id: I3337e669521f0f0f1dd749884f38dd35663491d3
Reviewed-on: https://gerrit.libreoffice.org/60977
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-10-09 15:51:56 -04:00
Henry Castro
2adfcb0995 loleaflet: mobile: hide the ruler
Change-Id: I87335f3a1116553f1ea548ee759680ffa6533aca
2018-09-27 09:50:04 -04:00
Henry Castro
5e65d5f491 loleaflet: hide the mobile input cursor
Change-Id: I978e388eb1066374bd0174e35211bd3bd5a6743b
2018-09-27 09:47:22 -04: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
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
Tor Lillqvist
26b5a3745e Better and more dynamic way to show ruler conditionally
Use conditional CSS, setting the ruler height to zero if it would be
too high. Now the ruler even shows up and disappears dynamically as
the window height changes, for instance when turning a mobile device
between landscape and portrait orientation. No JS conditional needed
after all.

Change-Id: Iebfbd182d1675f4d6abd2f252389fdcdf46ed4d3
2018-07-04 16:44:46 +03:00
Tor Lillqvist
1800a8ee17 Decide whether to display a ruler based on ruler percentage of window height
If the ruler would be over 5% of the window height, don't display it.

Change-Id: Ieed55318fc76dfe0f9248985b816e306b6654dee
2018-07-04 16:00:58 +03:00
Jan Holesovsky
46b4c62139 Cell borders: Implement the 'More...' button.
Change-Id: I3551cec69cf1e4dca02c0fcdbee23a4e06b1e36a
2018-06-28 21:39:46 +02:00
Jan Holesovsky
8309734edd borders: Improve the look.
Change-Id: Ib7ca90285bb012a09f5fd2d867a3d588e831ec3a
Reviewed-on: https://gerrit.libreoffice.org/56092
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2018-06-20 13:31:04 +02:00
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
Jan Holesovsky
814d266eca Make sure we have enough space for the insert table grid.
Change-Id: I9c6cf2b038663bc68098b6abf4c7c69599ebe070
2018-06-07 22:10:11 +02:00
Jan Holesovsky
daf2915ab5 Align the first toolbar item with the text of the File menu.
Change-Id: I5abe99f2394f95c60274e274c5470899b0d77172
Reviewed-on: https://gerrit.libreoffice.org/55292
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2018-06-04 20:11:26 +02: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
aa29a46270 loleaflet: Fix incorrect icon name
Change-Id: Ibd9817ca3cbf56621b5156323a6b946c67e566dd
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
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
Pranav Kant
32eff8dd6b lokdialog: Don't show the title bar when no title was provided.
Change-Id: If08dc81e88d35a924d10695a38b138f6403e58bd
Reviewed-on: https://gerrit.libreoffice.org/51955
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-05-21 13:27:34 +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