Commit Graph

94 Commits (c9ef8c3015d505208ddba6be7f2b665c6c32ef9e)

Author SHA1 Message Date
Parth Raiyani c9ef8c3015 Removed Group download as option from coolwsd.xml
Signed-off-by: Parth Raiyani <pmr642001@gmail.com>
Change-Id: I47c07ed88d68de5fc65b2e5e1e0896bc2a082131
2024-03-29 15:07:07 +01:00
Szymon Kłos 361039c528 remove-w2ui: reuse MenuButton for color picker button
- reuse MenuButton as base for colorControl
- add only last color indicator and activation on left side button
- make possible to clreate split button from unotoolbutton

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I8cd20149cc5bc25bedf4e0b0c56fc93d53339f4b
2024-03-18 12:58:02 +01:00
Szymon Kłos 240c6754b4 remove-w2ui: reuse MenuButton for insert table popup
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I8dbeca30842d7bc8898f7e8146b0f279b9d0054a
2024-03-14 08:35:15 +01:00
Szymon Kłos 7ffa56d711 remove-w2ui: reuse MenuButton for insert shape popup
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ib18fad0242d55aa01ef1f2c5e49105eb6d6627f9
2024-03-14 08:35:15 +01:00
Szymon Kłos 88b0407a86 remove-w2ui: reuse JSDialog menus for grouped Export buttons
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I1080610bca521c339f4eacba40320e94dbc7b9df
2024-03-11 15:21:45 +01:00
Szymon Kłos 16b9294b6a remove-w2ui: reuse JSDialog menus for Paste
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I1e2a8772c079fea0f464a7f1cf41e9a8faf26889
2024-03-11 15:21:45 +01:00
Szymon Kłos cfae74ef97 remove-w2ui: reuse JSDialog menus for InsertGraphic
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Id3b3291b517b6fbb10464148ebac4a7e6b48717a
2024-03-11 15:21:45 +01:00
Szymon Kłos 98ac4ccd22 remove-w2ui: reuse JSDialog menus for LanugageMenu
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ica44237bb054d0e1a16eed1f9f062b948497181c
2024-03-11 15:21:45 +01:00
Szymon Kłos 9bad40a2c5 remove-w2ui: reuse JSDialog menus for LineSpacing
TODO: checked state for menu entries
TODO: accessibility, shortcuts

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I6dc96a4748fd69a75af8a64ed37e5dce24bd9830
2024-03-11 15:21:45 +01:00
codewithvk ca5f40a3ea Impress: Disable 'Present in Windows' Button on Mobile and Tablet
This commit hides the 'Present in Windows' button in Impress on mobile and tablet devices. This change is necessary because, on tablets, pressing this button currently results in the presentation being saved as an SVG file, which is not the intended behavior. The button should only be available on desktop environments.

Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Change-Id: I362183d899409f3c3075aeaaa3e50cde11e59925
2024-01-17 11:12:03 +01:00
NickWingate 3b29cddb8b Add present in window option for impress
Add new 'presentinwindow' command which opens
a new window to display the slideshow svg in.

Signed-off-by: NickWingate <nick.wingate@collabora.com>
Change-Id: Ia28fcff0fd4ad64aca60381db202d7073661dc8a
2024-01-11 20:26:55 +01:00
Michael Meeks 82bca03b2a spdx: improve machine and human readability of headers.
Change-Id: Id0127edf671a1751ba6cbda3ed36515bd09c84ac
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2024-01-05 10:01:10 +00:00
Darshan-upadhyay1110 8b28c8cc12 A small typo in Class name which is cause for `FontColor`
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: Ifa40864a332718f9c58335e6d950149673d03f10

A small typo in Class name which is cause for `FontColor` icon not working in dark mode. it is not fully related here but pushing that as a commit in this PR :)
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: I516220240d204302074f72e20d98df7591cb00cb
2023-12-06 09:26:13 +01:00
Szymon Kłos ede848b2b3 Update file headers in jsdialog related components
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I347ebde789495d852c091cefb1c84ab9f1c7ebdb
2023-10-13 10:01:31 +01:00
Darshan-upadhyay1110 2586e04148 Fix export as options on android app
Some of the options seems to not working on mobile app
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>

Change-Id: I934e446dfeeab46f26e95898522cb0b7c1cc64a2
2023-10-12 07:33:26 +02:00
Cosmin Humeniuc 4fca649079 Re-set id of 'selectbackground' to 'layout-selectbackground'
Signed-off-by: Cosmin Humeniuc <cosmin.humeniuc@1and1.ro>
Change-Id: Ifdb843b3337ddc1ad64191485335bdcf0ac79478
2023-10-11 18:30:36 +02:00
Cosmin Humeniuc 89db8cf5d4 Enable "Set Background Image" button in tabbed view
Signed-off-by: Cosmin Humeniuc <cosmin.humeniuc@1and1.ro>
Change-Id: I9e6c5f3070683e1949d66355d8e0cf832580b912
2023-10-11 18:30:36 +02:00
Pedro Pinto Silva f96622bcd4 Collapse tabs: Remove extra unused localized string
`command` has `Collapse Notebook Bar` that not only is incorrect (we do
not call tabbed view that name anymore) plus it's never used. So, no
need to give extra work to translators when this is not used in the
generated code.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ic021a7f48ef653bebd65562f6d6b546947e406d4
2023-10-09 17:02:48 +02:00
Szymon Kłos 1ac8e8f276 postmessage: fix Get_Export_Formats
This fixes regression in Get_Export_Formats where we
didin't report possible formats when in coolwsd.xml
option "group_download_as" was set to false.

Regression comes from:
commit 939a7a0301
Simplify notebookbarwriter and tab page containers.

Where JSON for File tab was incorrectly built and
some of the entries were skipped.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I10c06f28dd2b3884bdab8389ea121c94d0ba92d8
2023-09-26 16:45:16 +02:00
Gökay Şatır 0af836d4ad Add accessKey properties for save buttons of shortcuts toolbox.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I24d892e0618d7105062e794c032fb8f96f76ccf3
2023-09-08 12:17:25 +03:00
Pedro Pinto Silva 4b2d29f004 Tabbed view: Add missing CSS class for simple search button
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I78a0adbf84fbea8e2a6c08b0b4eaded7309fa79a
2023-09-05 12:37:31 +02:00
Szymon Kłos 4082e1e570 jsdialogs: custom combobox
Combobox will be real combobox (edit field + dropdown).
Adjust styling from old .select2 rules to our combobox.
Remove old code for select2 comboboxes in notebookbar.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Id3ea16bcb004675cb7d5743f394ac432e74918cf
2023-08-31 12:56:10 +02:00
Gökay Şatır c582d75f57 Add forgetten classes.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Id76723360ee1d2cd71cfa410fee9795de10e9981
2023-08-28 23:45:51 +03:00
Gökay Şatır c6fa5283e5 Add missing classes to notebookbar impress definitions.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Id52d5bafc95245bbeb3160dbdcd43034f1b5b083
2023-08-28 23:45:51 +03:00
Gökay Şatır d03b2cb0bb Update Cypress tests.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Ia0a89b93762a7cd589755408b9dd22ba6652bd73
2023-08-28 23:45:51 +03:00
Gökay Şatır 5f6960a396 Impress: Add remaining accessibility definitions.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I6efd18c834e1d3aa4d3ade7a94b84fc86c5e9e02
2023-08-28 23:45:51 +03:00
Gökay Şatır e0604e18d7 Add definitions for tabs and 2 tabs.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Id7641cccf696e81cfcd49907f4043b8887d8f115
2023-08-28 23:45:51 +03:00
Gökay Şatır 89ac822b59 Simplify definitions.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Ieb131caec471b832dae16a44487d64599c85d1d8
2023-08-28 23:45:51 +03:00
Gökay Şatır 68e283a9f4 Assign ids.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Ia3879804811ffa607571d6fd0827143a32cc72e0
2023-08-28 23:45:51 +03:00
Tomaž Vajngerl 19e0fefbe4 add Theme dialog to the Draw and Impress notebook bar and menu bar
Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
Change-Id: I261706a8703fcbee8b477c1261ef6e44de764c52
2023-08-27 18:47:18 +02:00
Pedro Pinto Silva 6d7efe9876 Add missing renamedocument button
The newly added button in 24ac74db4f was
only added to writer

Also add css class

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I630640d94884cb5e50559fbbd8298554deb0a651
2023-08-23 16:18:04 +02:00
Pedro Pinto Silva e7a314caa1 Notebookbar: introduce simple search button
This way we increase status bar discoverability ( fixes #7098 ) and
group both search functionality in one place in the home tab

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ia1fa8fe58903088aad37a560edd033a184d35e0e
2023-08-22 21:23:07 +02:00
Gökay Şatır 2cc714705a Remove access key assignments from jsdialogs.
Tabs' access keys are defined by notebookbar accessibility definitions class.

Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Ie04782aa5b747ea9f3b7bd3f84a33bf0554648dd
2023-08-14 14:24:46 +03:00
Gökay Şatır f8e53bd851 Assign tab ids while defining tabs.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I51dbadb5d168f7b7f762a20a445773c6d53a511e
2023-08-14 14:24:46 +03:00
Maks Wolkowinski 1f5919140d Collapse notebook bar from view tab
Signed-off-by: Maks Wolkowinski <m.wolkowinski@beebuzziness.com>
Change-Id: Ic15fb1723bff6861b1fc115ef161cf6caa1b70af
2023-08-02 18:25:37 +02:00
luigiiucci 5626268f9b Add new "download as" PDF option - part 2
refs commit 2572f011da
Added functionality:
 - for draw, calc and impress with "download
   group" toolbar buttom
 - for all the applications with single
   download toolbar buttons
 - for all the applications in compact
   mode (menu)

This is a port from 22.05 + with conflicts solved and the removal of
legacy hasSigning and related

Change-Id: Ibab9d831f1da07cbf38db29a26eeb5b712c4842c
Signed-off-by: luigiiucci <luigi.iucci@collabora.com>
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
2023-07-05 10:28:43 +02:00
Pranam Lashkari 1eb8b9c63f impress: arrange slide/hide show menu entries better
added slide hide/show option in presentation bar
rearranged icons to align them with core UI

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: Ic4b121ab5d9ab21d8f48e68bb07e51a31442586e
2023-06-16 10:48:54 +02:00
Pranam Lashkari 17b50868ea impress: introduce slide hiding/showing in presentation
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: If91726a1a66e1679b58603e496a5b90cde5f0b5b
2023-06-13 18:29:28 +07:00
Aron Budea c6c24e3d8a browser: Improve menu & tabbed view items in Impress
- rename Master Slide to Master View so it matches sidebar text
- rearrange sidebar menu items
- rearrange sidebar tabbed view items

Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: I333c5aba8c75d1c2814ed1902ae1754f032d8752
2023-05-29 14:21:17 +02:00
Szymon Kłos 8fe7cf5fec navigator: fix switching in compact mode
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ia5582f36df528235e6ca3f8df583412becd47203
2023-05-25 13:16:29 +02:00
Szymon Kłos 3e7bdafdbe navigator: add to view tab
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: If1944865072c091e4ece5fb772c26eb69a371a63
2023-05-15 11:12:16 +02:00
Gülşah Köse da19d1b39f Impress Draw: Fix insert field buttons
Draw: We should use uno:InsertPage* commands instead of uno:InsertSlide same
like compact view. We should use "Page Count, Page Number" instead of
Slide count Slide Number as button text. "Slide" word should be used for
only impress.

Impress: We should use InsertPage* commands instead of InsertSlide* same
like compact view.

Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: I91989d4d61b65bd3b719753300a14a5177ca9e95
2023-05-14 14:22:56 +02:00
Attila Szűcs 612fa34b54 navigator: added Navigator button
For core, use this:
https://gerrit.libreoffice.org/c/core/+/151307

Signed-off-by: Attila Szűcs <attila.szucs@collabora.com>
Change-Id: Icbe59959d5f25b001577512b4538c50086538890
2023-05-05 14:38:05 +02:00
Pedro Pinto Silva f78de939d5 Rename Link Picker to Smart Picker
So it's consistent with the latest NC strings

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ic1d49c6d871aee86f80aeb5c4e6936b33f3fc93c
2023-04-13 10:25:34 +02:00
Gökay Şatır 2c0df92a2b Update shortcuts for accessibility.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I26cfae75d65fc2588225b22b752a34571d5abc34
2023-04-11 16:43:35 +02:00
Szymon Kłos 7eda463577 notebookbar: simplify toggle dark mode
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I858e13461a8083baca5851fac24d7cac155badb5
2023-04-04 10:25:58 +02:00
Patrick Luby 940d5f2ac3 Fix issues #6103 and #6104 by setting the command to "downloadas-" on iOS
On iOS, the "export*" commands cause a file to be saved to the Online
server, not locally. So, to save locally on iOS, set the commmand to
"downloadas-*".

Signed-off-by: Patrick Luby <patrick.luby@collabora.com>
Change-Id: I4da2614d20af7ae6977dd94713ba16e6eebe1b9e
2023-04-03 09:43:07 +02:00
Szymon Kłos 6e0b1debbb Hide download in tabbed view when HideExportOption is true
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: If4bb4c16855ee4a8f2cb3e0c2f7b7516b4275c42
2023-03-29 10:40:20 +02:00
Christopher Gladman 11bb035634 Add a dark mode toggle
This adds a dark mode toggle to both user interface views (compact and tabbed view).
In addition, this code fixes the problem that the initial theme did not load properly
based on settings. Equally, the Toggle in Notebookbar will now appear
"selected" when pressed.

Signed-off-by: ChrisGlad <chris.gladman2004@gmail.com>
Change-Id: I0e0c282cec24d9bb7fbfc4131ba3875976cea5fd
2023-03-17 17:34:05 +00:00
Szymon Kłos 07cf933a8c Add Pick Link button
Button is shown when CheckFileInfo contains 'EnableRemoteLinkPicker'.
After press UI_PickLink is send via postMessage.
Action should be finished with sending Action_InsertLink to editor.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I53c61a25d1fab655771742ec6d97dc056192642a
2023-03-02 12:27:45 +01:00