summaryrefslogtreecommitdiff
path: root/officecfg
AgeCommit message (Collapse)Author
2022-10-15tdf#150682 Change shortcut of inserting Math objects to Alt+Shift+EAron Budea
Ctrl+Alt combinations don't work on Windows if they're also doubling as AltGr modifiers, eg. in French keyboard layout, Ctrl+Alt+'=' (which is the same as AltGr+'=' ) is '}'. Avoid this by switching to different modifiers. In addition '=' can require a modifier to enter, eg. in German layout (Shift+0), so use an ASCII character, 'E' instead. Ctrl+Shift+E is listed as a problematic combination in Accelerators.xcu, settled on Alt+Shift+E in the end. Also partially revert d156e891db34e88991a6c18fd3cff6feddfc61c8, which did not work. Change-Id: Ie3625f2c55171187fbbe2c4f79821eba8c25f40a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141227 Tested-by: Jenkins Reviewed-by: Aron Budea <aron.budea@collabora.com> (cherry picked from commit 77fb3ffdb6a8077cd3931985de923fbd1396d424) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141362 Reviewed-by: Andras Timar <andras.timar@collabora.com>
2022-07-27disable Skia as default on Mac for 7.4Luboš Luňák
There are some problems like tdf#145843 and tdf#145988 that I cannot reproduce, yet a number of users apparently can. I can't fix those for 7.3, so default to the previous VCL backend again. Change-Id: I8c3e9713913a453c2b55a0ad9b1c8f82af8f7917 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129290 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> (cherry picked from commit 290957ad1383565c97201360defdeae9ae5ef502) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135708 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-07-25Resolves: tdf#150011 Add HRK Croatian Kuna conversion to EUR EuroEike Rathke
TODO: switch defaults before 2023-01-01 in i18npool/source/localedata/data/hr_HR.xml Change-Id: Ifc62aefbc8c9fe8bbf044f61ae4fd6eeff692185 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137371 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins (cherry picked from commit 3bb4d315c1b4a2edf8ddb26142364d3178d42338) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137330 Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-07-16macOS sandbox: disable donation info bar & help entriesChristian Lohmaier
even when you are a verified non-profit, you still cannot just point to a donation site/you still would have to offer apple-pay... the helpmenu one is ugly since it changes the endresult compared to what is assembled in instdir, but is the least intrusive way for now... Change-Id: Id348d69371048bdd04d2961cad564fc73f11fd45 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137050 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> (cherry picked from commit 8eb09d4062c34bd4735d1988feda4564d0fa4c7d) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137062 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-07-05Resolves tdf#133023 - Autocorrect "Automatic *bold*..." off by defaultHeiko Tietze
Change-Id: Iddf3770f69d326e0e04551a93e8dd0695b1e92c8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136727 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> (cherry picked from commit de6f30bc459ba600193c0998b285afcfe0936c3e) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136762 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-07-02tdf#98404 New shortcuts for Move slide commandsGabor Kelemen
Use Shift+Alt+PgUp/PgDn/End/Home since these are free, easy to remember and close to each other on a desktop keyboard Ctrl-Alt-Arrows as suggested in comment 21 is not so good since up/down clash with Gnome Shells switch workspace commands so they would not "work" in Impress, but switch to the upper/lower workspace Change-Id: I05955c59409aa000f54d0d878a86206f009617aa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136585 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de> (cherry picked from commit 51bfd4a3105e4a406dc8f220102520202a72150a) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136644 Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
2022-06-25tdf#148138 change Text Boundaries color to Gray for Dark modeRoman Kuznetsov
Change-Id: I276896d0ea94e741be8c0ae49f79f95769e0c2a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136234 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> (cherry picked from commit 4412044340ea8447058bb99f529310c2be56a5a9) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136414 Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-06-16tdf#149351 Add a 'Turn off mouse as pen' shortcutGabor Kelemen
for UX compatibility with PP: Ctrl-A turns off 'mouse as pen' mode Change-Id: I0379580f4034f07f044dc1079c14898f3014face Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135579 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com> (cherry picked from commit 76f7f0c167a5148c01cdb1e0d8ea56b905f5a875) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135849 Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2022-06-10LanguageTool Grammar Checker implementationMert Tumer
Signed-off-by: Mert Tumer <mert.tumer@collabora.com> Change-Id: I275cbea668afc5beb5147370119631df8b6a2d46 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135178 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-06-09tdf#149414 change Format Object label for Calc and ImpressSeth Chaiklin
The label for Calc was Format > OLE Object (using .uno:ObjectMenu), while the label for Impress was Format > "Object and Shape" (using .uno:FormatObjectMenu). This patch (a) changes the label of .uno:FormatObjectMenu from "Object and Shape" to "Text Box and Shape" (to bring it in line with Writer). This change appears immediately in Impress, and (b) changes the .uno:ObjectMenu in Calc to .uno:FormatObjectMenu, which also gives the "Text Box and Shape" label, which is also more appropriate for its submenu. Kept the same keyboard accelerator "o", which was used both in Impress and Calc. Change-Id: Ifcf7b953b6bed262d630f7a07bf1f5000ee33aa4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135162 Tested-by: Jenkins Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2022-06-08fix typosSeth Chaiklin
Change-Id: I47acb63703d007da7493d9baaa5569bc375e4f56 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135386 Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2022-06-07tdf#129674 Add GoTo Sheet commandLaurent BP
Insert command in menu Sheet > Navigate (alongs with To Previous/Next Sheet) Use .uno:JumpToTable command from Navigator Use its own Go To Sheet dialog Add a Search entry to type partial name of sheet Menu translation missing? Change-Id: I16b8b56a688c8396159617f04a2a7e034721ce31 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134714 Tested-by: Jenkins Reviewed-by: Laurent Balland-Poirier <laurent.balland@mailo.fr>
2022-06-03tdf#149437 "Equally" -> "Evenly" for Table Row DistributionSeth Chaiklin
Change-Id: I4b7f8fa02d0e788ea62b07734c2fbcf3cc0a8ec3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135267 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-06-01tdf#121367 (related: tdf#120550) consistent labeling between modulesSeth Chaiklin
There is a slight difference in the label used by Writer and the label used by Draw/Impress to refer to: .uno:SetMinimalRowHeight and uno:SetMinimalColumnWidth. This patch changes the label in Writer so that it uses the same label as Draw/Impress. Change-Id: I0469b32350bf9a57903b03929675d3b7e8abe287 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135005 Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk> Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Tested-by: Jenkins
2022-05-31sw content controls, date: add insert UIMiklos Vajna
- handle the date case in SwWrtShell::InsertContentControl() - expose this as a new .uno:InsertDateContentControl command - add the new uno command to the default & MS-compatible menus - hide the old .uno:DatePickerFormField from the menus that has the problems described in the sw::mark::DateFieldmark documentation. Change-Id: If3c1050d6a8302be0da4a11067a67805396dec48 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135153 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2022-05-31tdf#149253 improve tooltip for Anchor iconSeth Chaiklin
* Tooltip explains the purpose of the command icon * Change "Label" to give better indication of the command function in Customize menu o no changes to label in menu and context menu Change-Id: Ibffb673d5c37ebf7b38a1eea61affc22bdd3bf91 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134791 Tested-by: Jenkins Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2022-05-25tdf#65911 add accelerators for style editingSeth Chaiklin
Alt+C - character style Alt+P - paragraph style Shift+Alt+P - page style Change-Id: I8d9f48ae87daf9c2ad5db2445fd5a74e821dc076 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132705 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2022-05-20sw content controls, picture: add insert UIMiklos Vajna
- handle the picture case in SwWrtShell::InsertContentControl(): insert a placeholder bitmap & create content control around the as-char image - expose this as a new .uno:InsertPictureContentControl command - add the new uno command to the default & MS-compatible menus - rename the SwWrtShell::Insert() overload taking a Graphic to make this a bit more readable Change-Id: I289d6b6a9cd622c585b6cf0ec0c91d6b51ad81ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134681 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2022-05-19tdf#148737 improve tooltip for Arrow Styles iconSeth Chaiklin
Have used "arrowhead" in tooltip in anticipation of the intention to move away from using "Arrow Styles" in the Line dialog (and possibly to use "arrowhead"). Also, the dropdown box for this icon uses "Arrowheads", so the choice would be consistent and understandable in its context, and may make it unnecessary to change the tooltip with any future reworking of the Line dialog. Change-Id: Id15bcc35db194e3da0488078ae89cfda57c73f4f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133286 Tested-by: Jenkins Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2022-05-19tdf#149018 "Object" -> "OLE Object" in Menu and Dialog labelsSeth Chaiklin
As a step toward internal UI labeling consistency, this patch focused on dialogs, menus, toolbars that involve OLE Objects, which can be defined as embedded objects that use the Properties dialog in sw/uiconfig/swriter/ui/objectdialog.ui. One reason for the change is to distinguish these objects from the generic term "object", which is also used for Shapes and Textboxes. The label "Object" is changed to "OLE Object", where appropriate, which will align the menu and dialog labels with the one that appears in Navigator and Toolbar. Also changed "Objects" to "OLE objects" for the Statistics field. Changed "OLE-object" to "OLE Object" - again for consistency. Changed "Type" tab label to "Position and Size" in Object Dialog, to keep consistency with tdf#138844 Change-Id: Iba54c30fd83489631a9be546d6efc9365bdbefd3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134186 Tested-by: Jenkins Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2022-05-19tdf#149047,tdf#149018 improve label and tooltip of .uno:ObjectMenueSeth Chaiklin
This patch is part of clarifying the meaning of some .unos in the Customize dialog (tdf#149047) and also part of using "OLE Object" instead of "Object" (when appropriate) in the UI (tdf#149018). Can give a longer tooltip because this .uno is not used in toolbars. Change-Id: I7596442f3842cd83fff8da9a6c3a191e7ffcb486 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134444 Tested-by: Jenkins Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2022-05-19tdf#149047 add tooltip to uno:InsertObjCtrl and improve labelSeth Chaiklin
This .uno provides a dropdown menu, if insertobjectbar.xml exists. It is barely used, so have only changed the appearance in the toolbar and the Customize menu. Have not added a ContextLabel, but might be necessary if used in a menu. The change is made as part of identifying "Objects" in the UI as "OLE Objects" (when appropriate, see tdf#149018 Change-Id: Ia6c796e9f88e1731e155390b267aaa30336655e6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134443 Tested-by: Jenkins Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2022-05-17tdf#65067 Remove excessive spacing from Formula objectsRafael Lima
As described in bugs tdf#65067, tdf#103816, tdf#149052 and a few other duplicates, Formula objects in Writer receive 2 unnecessary spacings: 1) From the "Formula" frame style, which has a Left/Right internal spacing of 0.2cm 2) From the Math formula editor itself, that adds an additional 1pt of internal spacing (left/right) In MS Word the default behavior is setting all of these spaces to zero, which makes the formula flow better alongside text in paragraphs. Therefore, this patch set both of these spaces to Zero so that Formula objects in Writer behave similarly as Formulas in MS Word. Change-Id: Iedcef7124afed6b799f85bcefe37016c8fd972e2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134185 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-05-17tdf#149047 improve labelling of .uno:InsertObjCtrl and .uno:InsertObjectSeth Chaiklin
.uno:InsertObject opens a dialog to insert an OLE object. .uno:InsertObjCtrl appears to provide a control for a dropdown menu. It appears in one toolbar, but it is unclear if it is actually used. Meanwhile, it appears in the Customize menu, but when added to a toolbar, it does not have any obvious functionality. The purpose of this patch is to change the labelling on these two commands, and add a tooltip to .uno:InsertObject so that it will be easier in the Customize dialog to understand what .uno:InsertObject does, and to get an impression of a possible function of .uno:InsertObjCtrl. Change-Id: I7cb01763c4a84511e7b7c45d8d00dc6873a3748f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134434 Tested-by: Jenkins Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2022-05-16tdf#149050 fix .uno:Gallery not opening Gallery deckJim Raykowski
Change-Id: I3e43d61e9a37f0815dafc2cf400bcb658e6c6948 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134297 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2022-05-13officecfg,stoc: allow running JVM UNO components out-of-processMichael Stahl
The problem is that 32-bit Win32 applications have very little VM, and soffice.bin can run out, so try to move the JVM to a separate process (uno.bin) and connect to it via pipe. Add a new config to enable this: "org.openoffice.Office.Java/VirtualMachine/RunUnoComponentsOutOfProcess" If enabled, ServiceManager instantiates *all* JVM components out-of-process, by instantiating "com.sun.star.java.theJavaVirtualMachine" out-of-process. To ensure that the remote connection is disconnected at shutdown (and thereby prevent crashes with remote calls during late shutdown), JavaComponentLoader is now a "single-instance" service; this change should be harmless for the default in-process configuration case. Tested with these extensions: Wiki Publisher smoketest TestExtension.oxt odk CalcAddins.oxt Inspector.oxt ToDo.oxt Also passed "make check" on Linux when enabled, if the variable URE_BIN_DIR is set properly for CppunitTest_services. Change-Id: I76bf17a9512414b67dbd20daee25a6d29c05f9d9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133218 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2022-05-13sw content controls, dropdown: add an initial properties dialogMiklos Vajna
- read the doc model: show if a content control is a placeholder or not - work with a shared pointer in the dialog, which avoids lifetime issues in case the content control we edit in one view gets deleted in an other view - write the doc model: set the placeholder mode of the content control based on the checkbox state and mark the doc as modified if any widget is touched when pressing OK - handle command state: allow this dialog only inside content controls Change-Id: Ie0b9075ccd3450dd403cc7f8bbf93fc04de3b234 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134278 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2022-05-12sw content controls, dropdown: add insert UIMiklos Vajna
- introduce a SwContentControlListItem::ToString() that tries to use the display text of the list item, otherwise falls back to its value and use it while building the dropdown widget and when inserting selected list item - handle the dropdown case in SwWrtShell::InsertContentControl() - expose this as a new .uno:InsertDropdownContentControl command - mention the new and all previous content control commands in the MS-compatible forms menu as well Change-Id: I075f77933c1466b5258357d5a661e173c34de34f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134215 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2022-05-12tdf#148941 consistency between popup box and option dialog for objectsSeth Chaiklin
cui/uiconfig/ui/objecttitledescdialog.ui * change "Title" to "Text Alternative" to use the terminology from Web Content Accessibility Guidelines (WCAG) 2.1 https://www.w3.org/TR/WCAG21/#dfn-text-alternative which is also consistent with the purpose of this option in LO + add tooltips to "Text Alternative" and "Description" in Description popup box. The idea is that the tooltips will help to understand the purpose of dialog. sw/uiconfig/swriter/ui/frmaddpage.ui * _Alternative (Text only) -> "Text _Alternative" [This change matches the change in the popup box] + add missing : to "vertical alignment", according to HIG officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu + add tooltips for the "Name" and "Description" .unos, primarily for the customize dialog, and icons in notebookbars. Change-Id: I1943b49e13763371823bfcf2cfc8652c907de110 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134066 Tested-by: Jenkins Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2022-05-07tdf#121740 increase DrawingEngine::OLE_Objects cache limitNoel Grandin
shaves 5% off the load time for me Change-Id: Ia0ed8caa9300bfe5bcf71cfe844b8c4fdaf0fef6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133962 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-05-03Drop unused .uno:EditChartMike Kaganski
This reverts commit fb5e0581f922dba93f3689786201ee067cb01a73 Author Muhammet Kara <muhammet.kara@collabora.com> Date Fri Nov 22 13:16:25 2019 +0300 Add command .uno:EditChart Obviously this command has never been used. It was named "EditChart", but in fact it executes the default verb for any selected object, so could be named like "edit object". Since it's unused, let's just drop it instead of renaming. Change-Id: I20aa8a17c54a0bf0030c3187340690846bfbc729 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133473 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-05-02better cache size limit for vcl::text::TextLayoutCacheLuboš Luňák
This is not as important as SalLayoutGlyphsCache, as these should be smaller and less needed, but still, make sure to limit the memory the cache may use. Change-Id: I4051331f8c5254cb5723772bac4dd1bceb9a2a41 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133674 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-05-02better cache size limit for SalLayoutGlyphsCacheLuboš Luňák
With just limit on the number of cached SalLayoutGlyphs instances the actual memory used could vary wildly depending on how long the text is. Change-Id: Ibcf6918e562e81276d21876c532838996e275bd6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133673 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-05-02sw content controls, checkbox: add insert UIMiklos Vajna
- extend SwWrtShell::InsertContentControl() to be able to create multiple content control types - a new checkbox content control's content is always a non-checked checkbox - expose this as a new .uno:InsertCheckboxContentControl uno command - add this new command to the bottom of the form menu -- now that we have two types of content controls, have that in a sub-menu Change-Id: I058659600b3face69b89262feb0979fff32521c4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133685 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2022-04-28tdf#144788 Split up footnotes and endnotes in NavigatorDhiraj Holden
This patch splits the footnotes and endnotes section in Navigator. Before, there was one section for both footnotes and endnotes and now there are two sections, one for footnotes and one for endnotes. Change-Id: Ic0f3af92efa1c0487ee3c407a819bf34138ef4ab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132796 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com> Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2022-04-27tdf#125931: add Properties panel to Math's Properties deckMike Kaganski
For now, it only contains buttons opening the dialogs accessible from Format menu. This is enough for the initial implementation, and should later be changed to individual controls allowing to set the formula properties directly. Change-Id: Ia0e52915198ddb2648d13d577d55b367f178b1ad Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133508 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-04-26tdf#148732 Change label, add tooltip for .uno:DefaultCharStyleSeth Chaiklin
tdf#140818 changed the label "Default Character Style" to "No Character Style". The changed label appeared in the Styles sidebar, but the menu command that appears in the Styles menu for Writer was not changed. The present patch rectifies that oversight by changing the menu/toolbar label and adds a tooltip for this command. Change-Id: I4a82dc0626702c7282d3022d2f4e45eb6b33b373 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133401 Tested-by: Jenkins Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2022-04-26tdf#125931: Add Elements deck and Elements panel to Math's sidebarMike Kaganski
Change-Id: Ie04a5dc48de38f318f0ddb42efc42cea022dc62c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133393 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-04-26tdf#125931: Enable sidebar in MathMike Kaganski
No panels yet, only one default deck (PropertyDeck). It is needed to have the uniform default deck like in all other modules (see commit c09f59eb6173a4a53a2d40ed80aebed18e3882ac); the panels for formula properties might appear later. Change-Id: If1785dc780111fe496638418f43e7b90a250ffce Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133334 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-04-26Translatable string improvements I push so they don’t rot in my local cloneAdolfo Jayme Barrientos
Change-Id: Ic057769718790ced80daf24510d27aad49e3341b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132975 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-04-26tdf#148751 Enable Text toolbar by default in DrawRafael Lima
The "Text" toolbar is not visible in the View - Toolbars menu, however it is accessible via Tools - Customize - Toolbars. As per user request in the bug report, I am setting this toolbar as visible in the default configuration. Change-Id: I1d2249925f24158758bd9f439634191d67ad38e4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133395 Tested-by: Jenkins Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-04-26sw: show Manage Changes dialog for read-only documents too...Michael Stahl
... and also the panel in the in sidebar, to allow navigating the tracked changes. Disable all the Accept/Reject buttons if document is read-only. This appears to work, even when switching between 2 documents, one editable and the other read-only, with the dialog open. Change-Id: I51cce414326d50e86ba2da35c31b87d4b6daf53b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133414 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2022-04-26officecfg,unotools,framework,sfx2: store ReadOnly for recent docsMichael Stahl
Add Office::Histories::HistoryItem::ReadOnly flag to configuration so that a document that was opened read-only isn't opened as editable from recent documents. Change-Id: I6985da287d3337a53a7e41e8e500421038eedb91 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133385 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2022-04-26officecfg: deprecate Office::Histories::HistoryItem::PasswordMichael Stahl
Appears not to be set anywhere in the code, which is probably for the best; let's deprecate it. Change-Id: I2cb1d4095773819dfa602b0e2f71e83f1329011d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133386 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2022-04-22Update context names to match EnumContext::ProvideContextContainersMike Kaganski
Change-Id: Id9bb806ba526a7557cda91ebdeb649578e64517c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133281 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-04-21Drop special-casing for Chart's sidebar property deckMike Kaganski
Introduced in commit b33b2afe6a8b4224450da7c686beb81dbf5cd24a Author Markus Mohrhard <markus.mohrhard@googlemail.com> Date Thu Jul 09 20:39:06 2015 +0200 big step towards real chart sidebar later in commit da57c32c5cb27eee38e32d10232b31d459c399df Author Tor Lillqvist <tml@collabora.com> Date Fri Feb 28 17:02:30 2020 +0200 tdf#130348: Add special case for ChartDeck, too and then in commit ff23d87cb00388095a94b90e061564fc179e1823 Author Mert Tumer <mert.tumer@collabora.com> Date Fri May 08 17:23:12 2020 +0300 mobile: fix calc chart wizard properties is not shown The normal PropertyDeck can host all the chart-specific panels, and the other decks that had "all" application context, but are not needed for charts, have their context fixed. This cleanup is needed for a following introduction of sidebar in Math. Change-Id: I5bb24d52b8dec2133213d7dddfeb91359ed4cb4b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133262 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-04-21sw content controls: add insert UIMiklos Vajna
- add an SwWrtShell::InsertContentControl() to put the current selection into a content control - if there is no selection, add a non-empty placeholder - expose this as a new .uno:InsertContentControl uno command - add this new command to the bottom of the form menu -- probably we can have a sub-menu there once there will be more types Change-Id: Icb32aee777ab08d09401bf468788692b933a90ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133241 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2022-04-19tdf#144493 adjust changes to GenericCommands.xcuSeth Chaiklin
There are no chapters in Draw or Impress, so the label changes by 008cfd5980f31c9e01b5cdbede33631d66f2fb56 in officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu to uno:OutlineUp and uno:OutlineDown were inappropriate. Remove "Chapter" from ContextLabel, and just make it "Label" so that Customize matches command name in menus, and add TooltipLabel for toolbars that gives a more informative tooltip. No text changes for uno:OutlineLeft and uno:OutlineRight, but same label changes to make command name in Customize correspond to name in menus, and add TooltipLabel that gives a more informative tooltip. Change-Id: I03a43089654721b9023912c29835e9f56ffc5b26 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133049 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-04-15sc: introduce SparklineShell and Sparkline contextTomaž Vajngerl
Having a separate sparkline context is very useful, so we can add a custom UI when the user has the cursor over a sparkline. This will allow a "Sparkline" tab for NotebookBar and its own deck in Sidebar, activated only when the sparkline is present. Also the pop-up menu can be customized specifically for the sparkline, but this may be less useful. For the sparkline context we need a custom shell - SparklineShell where now all the UNO commands can be implemented (not done in this commit). Change-Id: Idca2ad946af3afdd1b494744b80c9c093eec602c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133022 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2022-04-14tdf#147107 "chapter" -> "item" in B&N toolbar and menuSeth Chaiklin
Changes to: Move Chapter Up, Move Chapter Down, Move Chapter Up with Subpoints, Move Chapter Down with Subpoints Also capitalization correction ("With"->"with") for Demote Outline Level with Subpoints in Bullets & Numbering toolbar and menu. Change-Id: Iacb0e798c54bf4101f7048454007bf58ec4081c4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132869 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>