summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-06-29jsdialog: toggle toolbox buttons correctlySzymon Kłos1-2/+3
Change-Id: Ic02f9ceab29257ebc4cb6261aae10c4f1a7ef176 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135562 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit b6b7b3a5a46790baf2266aaeb10976753dfe0fce) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135539 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136605 Tested-by: Jenkins
2022-06-29lok: sidebar: notebookbar: don't change view mode for other viewsSzymon Kłos1-0/+8
We should change view mode (notebookbar/toolbars) only for current view. This prevents the closed sidebar from showing when other view joins the session. Change-Id: Iaeec1bee0afab7552e223f17dd7afac27d288db9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134690 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> (cherry picked from commit 08891ae798b1e59719684d1b0343767c9d136a11) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135001 Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136592 Tested-by: Jenkins
2022-05-31jsdialog: introduce popup managementSzymon Kłos3-2/+64
Popup windows are managed by vcl (some moving between parents happens on show/hide popup). We need to access correct popup window to correctly close popup in LOK. So remember popup instances. Change-Id: I9e1ba18ded5a1bf675f95bd7178043eebd9bbd5a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134576 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Mert Tumer <mert.tumer@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134675 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135197 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2022-02-04Use unique id for FN_UNO_TRANSFORMED_GRAPHICSzymon Kłos1-1/+1
Change-Id: I1425fbbe843534adba8b87f9c7b23461cc6049c2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129375 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129489 Tested-by: Jenkins
2020-06-09notebookbar: simplify custom widgetsSzymon Kłos2-10/+108
Change-Id: I0176a9852a0f405fba7b6308e28abf2ca0ae280e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95900 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2018-04-04Notebookbar: move toolbox dropdown arrow to the rightSzymon Kłos1-23/+9
Change-Id: Ic7b52b186b5e2bbea6c22a511a680dc0e94e9f97 Reviewed-on: https://gerrit.libreoffice.org/52232 Reviewed-by: andreas_kainz <kainz.a@gmail.com> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2017-04-12Notebookbar: remove dependency between all containers and IPrioritableSzymon Kłos6-16/+21
Change-Id: I92bff0d68470763c88172744e82d9b5915ffb6f1 Reviewed-on: https://gerrit.libreoffice.org/36387 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2017-04-09Notebookbar: warn if priority is set for unsupported itemSzymon Kłos1-2/+12
Change-Id: I9d8e5aa64f7330f55b703b9ef0aaa5fec6ad611d Reviewed-on: https://gerrit.libreoffice.org/36314 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
2017-04-09tdf#106964 Notebookbar: missing id int the .ui fileSzymon Kłos1-1/+1
Change-Id: I466d6f25e6cd68a51ce88dd60b3e9fdc51757c7b
2017-04-08Notebookbar: add new file and recent docs to the menuSzymon Kłos3-0/+6
Change-Id: Ib2d7e022c19dc363ba7e7123c4f3de9c7e8dd0f5
2017-04-08Notebookbar: vertical alignmentSzymon Kłos4-0/+24
Change-Id: Iacf2adf834d71267ba8d0a4ab69e6caec4dde1c3
2017-04-06Fix crash while running the Notebookbar modeSzymon Kłos1-17/+20
Change-Id: Ifc9b900e49968c46768af3b9ee18bbb834f60557 Reviewed-on: https://gerrit.libreoffice.org/36165 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
2017-04-05Notebookbar: correct commands for spacing controlsSzymon Kłos1-6/+29
Change-Id: I84649a50fc5e8c094514c5461105bb6777d6ffa1
2017-04-04Make HangingIndent a commandSzymon Kłos24-183/+109
New command .uno:HangingIndent. Code moved from the sidebar to slots. Change-Id: Ib389f9fb3368409a90cf90ad8b19f1be322fa120 Reviewed-on: https://gerrit.libreoffice.org/35930 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-04-04Notebookbar: Separated paragraph spacing controlsSzymon Kłos18-153/+567
One big paragraph spacing control was splitted to separated widgets. It will be possible to reuse that in the sidebar. Also layout is better because explicit size setting is no longer needed. Change-Id: Ieb200af4a9a6120ae03b22b27da56256aa816193 Reviewed-on: https://gerrit.libreoffice.org/35801 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-03-30tdf#98416 libcmis: Google Drive 2FA fixSzymon Kłos2-0/+126
Change-Id: Ice6758d8e9bc0ece57e038561376e7a6d67ab616 Reviewed-on: https://gerrit.libreoffice.org/35880 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2017-03-23Notebookbar: move shortcuts if multiple rows of tabsSzymon Kłos1-0/+14
Change-Id: I8b164a34eeff13d70712a84d5621d169b6528962 Reviewed-on: https://gerrit.libreoffice.org/35588 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
2017-03-21Notebookbar: multiple context containers supportSzymon Kłos2-4/+23
Possibility to add multiple context containers. Each container should have name "ContextContainer" or "ContextContainerX" where X >= 1 Change-Id: Ie689ebde624f766b11d96370d6b108018f9130c9 Reviewed-on: https://gerrit.libreoffice.org/35506 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
2017-03-21Notebookbar: correct initial icon sizeSzymon Kłos1-1/+4
Before this patch initial icon size in the NotebookbarToolBox was determined by Sidebar settings not Notebookbar Change-Id: I66ac709c606ef60fb3505bbbe51dfebbcc81d20c Reviewed-on: https://gerrit.libreoffice.org/35493 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
2017-03-19Notebookbar: transparent icon for breeze_darkSzymon Kłos1-0/+0
Change-Id: I01827e4064ed7b43a9d517cdd14716eeef4d054e
2017-03-17Notebookbar: transparent menu iconSzymon Kłos1-0/+0
Change-Id: I042d7c4af0a65bec9ad908de7ed330b88afedc34
2017-03-16tdf#103355 Working menu after closing slideshowSzymon Kłos2-9/+9
Change-Id: Ic6bfb6f9a86d9c475d2d3368b924b56a89c90551 Reviewed-on: https://gerrit.libreoffice.org/35251 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
2017-03-16Notebookbar: fixed crash after customizationSzymon Kłos1-11/+36
+ removed listener + prevent from using invalid pointers Change-Id: I3a846d2344148456d3edba23296a4781496eba8b Reviewed-on: https://gerrit.libreoffice.org/35248 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
2017-03-16tdf#103235 Notebookbar: use persona themeSzymon Kłos2-0/+26
Change-Id: I043f184ccd21c782c16d4ae1bc1c939b5e31acc2 Reviewed-on: https://gerrit.libreoffice.org/35234 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-03-15tdf#105040 Notebookbar: added shortcuts toolboxSzymon Kłos24-83/+431
In the tabbed notebookbar the shortcuts toolbox is introduced. It is placed before tab labels, after the menu button. Customization is possible, buttons are loaded from the newly created toolbar "Notebookbar shortcuts". NotebookbarTabControl was moved to the sfx module. Change-Id: Ifa4a1688c6e92c2f03bd386608e3e9d1c28069d4 Reviewed-on: https://gerrit.libreoffice.org/35194 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-03-08tdf#106211 Add notebookbar icon transparencySzymon Kłos2-1/+1
+ modified icon (set transparent color to black) + added transparency support for loaded icon Change-Id: I2dd8581e7d667096f08eb8c4c038e96a7f007dd3 Reviewed-on: https://gerrit.libreoffice.org/34979 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
2017-03-07Notebookbar: fix popupsSzymon Kłos1-219/+265
Change-Id: If00c3d2e64b89883dd77efb53dd16e149de03e94
2017-03-07Notebookbar: don't show unnecessary separators in the popupSzymon Kłos1-0/+34
Change-Id: I89d11e2859676696e7bc0751ae9e71e5ae939a79 Reviewed-on: https://gerrit.libreoffice.org/34945 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
2017-03-06Notebookbar: fixed vertical alignmentSzymon Kłos1-26/+18
Change-Id: I19d06f9dd2d4ec65de687b36d8a80eb7c7beba22
2017-02-27tdf#102779 Notebookbar: extra space for small tab labelsSzymon Kłos1-0/+3
Change-Id: I2cd7be7ef49552acd84aa4b5042955dcb18f328f Reviewed-on: https://gerrit.libreoffice.org/34679 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
2017-02-24Notebookbar: Better resize supportSzymon Kłos5-146/+241
Change-Id: I0bb5a5600be60a68e53132f2c3c42f79c958b2b3 Reviewed-on: https://gerrit.libreoffice.org/34491 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-02-24Make ToolbarMode's "IsExperimental" property non-nillableSzymon Kłos2-9/+5
Change-Id: Ia83776d7ee23fa56c0fc541c228c68b1832c3d11 Reviewed-on: https://gerrit.libreoffice.org/34585 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-02-22tdf#103323 Single Toolbar without experimental modeSzymon Kłos4-3/+27
Only Notebookbar mode should be marked as experimental. This patch allows to enable Single Toolbar or Sidebar mode without experimental mode activation. Change-Id: I9dcf1602b2f560aaa9ea29c07c4a7ed473be0352 Reviewed-on: https://gerrit.libreoffice.org/34431 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-02-19tdf#103355 Hide Notebookbar during slide showSzymon Kłos3-0/+25
Change-Id: Ie3e1b9f9dfc109ecb48cd384972dfa5a5118c3fa Reviewed-on: https://gerrit.libreoffice.org/34401 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
2017-02-14tdf#105682 : fixed Insert Slide buttonsSzymon Kłos1-2/+2
Change-Id: Ic75673026c0cd42f4143cd27e226f3077bd80e85
2017-02-14tdf#105962: added missing controls to avoid crash in impressSzymon Kłos2-34/+61
Change-Id: I0df6da42b02188f417964afa607ec9ea2c23f8ea
2017-01-23tdf#102142 : disable paragraph spacing icons in the print preview modeSzymon Kłos1-0/+5
Change-Id: Ia75581ae6fe2942d8c28892f38abda2dd425f33b Reviewed-on: https://gerrit.libreoffice.org/33474 Reviewed-by: Szymon Kłos <eszkadev@gmail.com> Tested-by: Szymon Kłos <eszkadev@gmail.com>
2017-01-18tdf#102142 : Disable edit paragraph style in the print preview modeSzymon Kłos1-1/+1
Before that patch clicking on the Edit button in the print preview mode was causing a crash. Change-Id: Idd6ab2f16f515caa1d5fd3ed4ccdf9ae681849b5 Reviewed-on: https://gerrit.libreoffice.org/33269 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
2017-01-18tdf#102139 : avoid switching to the empty tab after exiting the OLE ObjectSzymon Kłos1-0/+2
Change-Id: I67c395106d2a24c679cddaddd9aba138388463a5 Reviewed-on: https://gerrit.libreoffice.org/33237 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
2017-01-16tdf#102139 : prevent the notebookbar from switching to empty tabSzymon Kłos2-1/+35
Change-Id: I0b463fef98d7597c9b7f22ee84701519a0f2b575 Reviewed-on: https://gerrit.libreoffice.org/33100 Reviewed-by: Szymon Kłos <eszkadev@gmail.com> Tested-by: Szymon Kłos <eszkadev@gmail.com>
2017-01-15Removed superfluous tooltipSzymon Kłos1-1/+0
Change-Id: I3f01ec51e30939cf8fcb98f61d047347a6d6a8a0
2017-01-05tdf#102059 NotebookBar accessible using F6 keySzymon Kłos3-0/+35
Change-Id: I873c49d8c0557eb3702de921fb5d2281acfed526 Reviewed-on: https://gerrit.libreoffice.org/32459 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2016-11-04tdf#93520 : Mirrored page margin tooltipSzymon Kłos1-1/+1
Change-Id: I5cf0c7eeba204d4493ae1f4229718faf870a5528 Reviewed-on: https://gerrit.libreoffice.org/30570 Reviewed-by: Szymon Kłos <eszkadev@gmail.com> Tested-by: Szymon Kłos <eszkadev@gmail.com>
2016-11-01tdf#103481 fixed SIGABRT in embedded presentationSzymon Kłos1-1/+1
Change-Id: I51402aec953d58f92d8fe768bca0d2c2d1ce4474 Reviewed-on: https://gerrit.libreoffice.org/30368 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-10-15tdf#86946 Page Column Type popup accessible form the toolbarSzymon Kłos1-1/+1
Change-Id: I39ab090f62de1fb345a339b308454beb4bffe0cd
2016-10-07tdf#102776 : switching the menubar in all windowsSzymon Kłos1-14/+34
Change-Id: I74804605ec9dd15d1e4dbea15f09709dbf9c8770 Reviewed-on: https://gerrit.libreoffice.org/29580 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
2016-10-06tdf#102776 : fixed Notebookbar hidingSzymon Kłos1-6/+10
Change-Id: I86cdf2aa9fd5167073da215f5baf50bb4f64f4dd Reviewed-on: https://gerrit.libreoffice.org/29579 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
2016-10-05tdf#101249 Notebookbar: remember the menubar visibilitySzymon Kłos1-4/+19
Change-Id: Ia4e89bfc97d102b2c548a19e62e262accb54d17d Reviewed-on: https://gerrit.libreoffice.org/29539 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
2016-10-01Notebookbar: fixed context handlingSzymon Kłos3-15/+2
After last changes context switching was not working. Removed unnecessary Resize call to avoid flickering. Change-Id: I7931f4d442737c704c41bb7944c6d95e45b964f7 Reviewed-on: https://gerrit.libreoffice.org/29411 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
2016-09-29tdf#102776 : toolbar mode changing in multiple windowsSzymon Kłos1-145/+172
This patch provides better toolbar mode switching: - only in current module (if eg. Writer and Calc opened) - in multiple windows with the same module (two Writer docs) Change-Id: I81bfe626b677bc0168c4a7cd6ce5563ceed5c14b Reviewed-on: https://gerrit.libreoffice.org/29394 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <eszkadev@gmail.com>