summaryrefslogtreecommitdiff
path: root/cui
AgeCommit message (Collapse)AuthorFilesLines
2023-07-27tdf#146576 - Propose clipboard content when inserting a hyperlinkAndreas Heinisch1-4/+29
Change-Id: I30067b88b3d1e196f7ecfd150f5215cc93adf095 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154931 Tested-by: Jenkins Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2023-07-25move %PRODUCTNAME using accessible description into a .hrcCaolán McNamara3-5/+5
similar reason as commit 3cca2c605313576187878a195fb612eb25bd6150 Author: Caolán McNamara <caolanm@redhat.com> Date: Sat Jun 4 21:10:16 2022 +0100 restore %PRODUCTNAME to accessible descriptions that need them reading all a11y desc at load time in order to possibly substitute %PRODUCTNAME and re-write a11y desc at runtime explodes gtk's a11y, so we limit it to where we have to do it. Change-Id: I6e92bfa7db2ba769e2bd899b31d3ef42b4d37e8c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154896 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-07-25Convert internal vcl bitmap formats transparency->alpha (II)Noel Grandin1-13/+13
(Second attempt at landing this) Image formats and graphics APIs use alpha, not transparency, so change our internal formats and data structures to work directly with alpha, so we don't need to modify data before we push it to graphics APIs. Add a couple of new Color constants to make the intention of the vcl code clearer. Notes (*) On macOS, tweaking the logic in CreateWithSalBitmapAndMask to more accurately reflect the requirements of the CGImageCreateWithMask function seems to fix some tests. (*) The vcl code does not properly support gradients with transparency. So the previous code was wrong, and this change is going to result in slightly different wrongness. Change-Id: I9e21c2e98d88ecfdc5f75db13bd1ffff7c38db98 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114168 Tested-by: Jenkins Reviewed-by: Patrick Luby <plubius@neooffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-07-23remove some unused #definesNoel Grandin1-11/+0
Change-Id: I2c8168cd804ae8d1e4effa61be1d9dc902ecf9b8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154805 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-07-23vcl: Drop now unneeded DevicePoint typedefKhaled Hosny1-8/+21
It has been always typedef'd to basegfx::B2DPoint since: commit 5e218b5c51f7d9cd10bd9db832879efca41b9c75 Date: Wed Jan 12 21:19:32 2022 +0000 always use B2DPoint for DevicePoint Change-Id: I9f5202d5a71c77dd79f1759923917c26bf68a9af Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154632 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
2023-07-22SfxItemSetHint is deadNoel Grandin1-2/+2
since commit 519876dffdc8c93710af543cc11332dab9a50c14 Author: Mike Kaganski <mike.kaganski@collabora.com> Date: Tue Jul 18 23:45:47 2023 +0300 Cleanup SfxApplication::Get/SetOptions, and drop unused SIDs Change-Id: I8d306bf6792630cfdaa0a0ac8b77730e1e1f0070 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154724 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-07-20Revert "tdf#149401 show "Restart LibreOffice" dialog changing AutoRecovery"Justin Luth1-10/+1
This reverts 7.4 commit 18cc891483fef63ad168273658a30bff72b87a95. The bits are no longer used because all options in this dialog apply immediately, thanks to tdf#65509 and even more so tdf#156308 (which are API changes that won't be backported - so 24.2+ only). I didn't see any other option in this dialog that could have benefitted from a restart request, and the scope of this dialog is rather small, so no value in ignoring the dead code. Change-Id: I3f40421af079fd42c10d6862949279328ef5583b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154669 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
2023-07-20tdf#65509 autosave: apply UserAutoSave without restartingJustin Luth1-1/+1
Now that I know there is a config listener running in AutoRecovery, listen for the config change and apply it immediately instead of requesting the user to do a restart. Change-Id: I69912c0e95c04cc1a5e680d5e8c59b15e94efb05 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154664 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
2023-07-20tdf#156308 autosave: re-listening to config, no restart requestsJustin Luth1-1/+1
The reason the restart request was added was because of the broken config. Now that the config is correct again, the listener notices the enable change and turns AutoSave on/off immediately. So there is no need to prompt the user to restart after modifying the setting in Tools - Options. Change-Id: I0c775964ce5d9f860b0ce320db86d8db7226a489 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154663 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
2023-07-19tdf#127294 add tip about "Search Commands"Seth Chaiklin1-0/+1
also provided uri Change-Id: I7e757b41dfb8532b4b39f4d8a9bbf9b296c69b50 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154539 Tested-by: Jenkins Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2023-07-19Cleanup SfxApplication::Get/SetOptions, and drop unused SIDsMike Kaganski1-1/+0
The removed stuff was never used elsewhere; e.g. all uses of GetOptions use Which Ranges that don't include the removed identifiers. Elements removed from SetOptions weren't passed to that function from anywhere. Change-Id: Id81b57014b82f89538a46a609f3e4b328864bbcf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154604 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-07-18tdf#68565 autosave: add option to store backup in document's folderJustin Luth3-3/+48
Creating a backup copy became the default in LO 7.6. Allow the user to choose whether to store this previous version of the file beside the original file (in the same folder). The historical (and still the default) action is to store it in a special backup folder instead. The problem with the backup folder is that it overwrites files that happen to have the same name (because the originals reside in different directories), which is not uncommon. Adding this option allows the user to overcome that limitation. However, I do not want this new option to become the default, because it effectively doubles the number of documents stored in the document folder. I think that is very messy, and previous versioning is best left to dedicated backup tools - which would not appreciate doubling the number of documents they preserve. Plus I've worked with enough novice users to know that people are easily confused when multiple documents have (essentially) the same name. Change-Id: I503f656af91807019587e3d7b0d82b661f1eb437 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154489 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
2023-07-17tdf#156308: Restore use of /org.openoffice.Office.Recovery/AutoSaveMike Kaganski1-4/+4
... instead of respective values from /org.openoffice.Office.Common/Save/Document The history of the problem: d0f9685d2cfc3927add412b276c804dcc20cb6a5 (2004-11-26) made SvtSaveOptions use org.openoffice.Office.Recovery/AutoSave, *in addition* to org.openoffice.Office.Common/Save/Document/*, as "forward AutoSave/AutoSaveTime to new config location" part of i#27726; at this point, org.openoffice.Office.Recovery/AutoSave/* took precedence (they were read last). 8e6031e126782ced6d7527b19cf817395e9b63e4 (2004-11-26) implemented autorecovery.cxx, already reading org.openoffice.Office.Recovery/AutoSave/* d5b9283985633fdb423269cab961bba2acc3539e (2021-07-25) made SvxSaveTabPage and SfxApplication::SetOptions_Impl use officecfg::Office::Common::Save::Document::* instead of SvtSaveOptions. 134f40136a9bea265d8f2fedfdb41a1e65d81b49 (2021-07-25) dropped SvtSaveOptions_Impl::ImplCommit, and its saving of officecfg::Office::Recovery::AutoSave::* (which likely detached officecfg::Office::Recovery::AutoSave from officecfg::Office::Common::Save::Document, making UI edits not stored to the former). aeb8a0076cd5ec2836b3dfc1adffcced432f995f (2022-05-23) made AutoRecovery::implts_readAutoSaveConfig read officecfg::Office::Common::Save::Document::* instead of proper officecfg::Office::Recovery::AutoSave::*. This change restores the intended use, and deprecates corresponding values in /org.openoffice.Office.Common/Save/Document. Change-Id: I33d48e3945326c80d356bfc930ed8a7f042c982b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154500 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-07-13tdf#65509 - re-make visible userautosave config optionJustin Luth2-1/+2
This reverts LO 5.0 commit 4653c91a89cfe802754377bcdafc291526254a03 It was hidden because the feature didn't work well. Many of the "stumbling blocks" have been removed since version 5, and many people - especially in this age of web apps - expect a program to automatically take care of saving their documents. So make the option visible again. Change-Id: I09e73b0c96df697b4dfb8b7705ca28191ce6f8b4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154389 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
2023-07-13tdf#65509 apply new AutoRecovery timeInterval without restartingJustin Luth1-1/+1
Another option would be to listen for config changes I guess. However, this alternative method of setting the timer interval (which I assume is related to Impress slideshows, but couldn't reproduce) is basically never used. At worst (in case this alternative method sets a non-zero time) it will be the same as before where a restart is needed to gain the new time. I'm not worried about having the user wait for the current timer to run out (in 10 minutes based on the default state) before their new time kicks in. Change-Id: Iaa2b9e3e0912918ae29aaf262b5d7f51924b8147 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154365 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
2023-07-12related tdf#148121 no custom notebookbar.ui file unless modifiedJustin Luth2-5/+14
Copying the default notebookbar.ui into the user folder means that any future changes in future versions of LO will not be seen by the user until they again reset the notebookbar. Only if the user actually makes a modification should the file be created in the user's config folder. Certainly just opening tools - customize - notebookbar should not condemn the user to be stuck on some old configuration of the notebookbar. Change-Id: I888867a8df452ddce0b2b75ec28f2698ab7d443f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154220 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
2023-07-11Allow selecting a custom certificate managerTokieSan3-154/+299
Added a new option in Tools>Options>Security that allows choosing the path of a different certificate manager. Made Certificate Manager Button be disabled instead of hidden in case no certificate manager is detected. Added a box notifying that the certificate manager is opened (or not working in case it failed for some reason). Change-Id: I64a901766d4fb05c59c0f85fdf94c08a3ca4bdab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153798 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2023-07-11tdf#150408: Implement UI for "Legal" numberingMike Kaganski3-14/+62
Change-Id: I16849a2d823539040ecb91416b5214d25851950a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154287 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2023-07-11zxing-cpp: upgrade to release 2.1.0Taichi Haradaguchi1-1/+10
- remove external/zxing/invalid_argument.patch.1 and external/zxing/no_sanitize_ignored.patch.0, no longer needed in 2.1.0. - If "Utf.h" can be included, use ZXing::FromUtf8() instaed of ZXing::TextUtfEncoding::FromUtf8(). This makes external/zxing/undeprecate-warning.patch.0 unnecessary. Change-Id: I06acebb623aa8b60c5d2e5f7f265998571d75a89 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154221 Tested-by: Jenkins Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2023-07-07tdf#152484 cui,sw: if decorative is enabled, disable title/descriptionMichael Stahl1-0/+13
... in sw Frame Properties dialog and cui SvxObjectTitleDescDialog. Reportedly Word behaves weirdly if decorative is set and a description exists at the same time. Change-Id: I9fa149127bacc3567486334a14f42b05871a629f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154165 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-07-06tdf#113478 'Decimal separator key' property was renamed to 'Numpad decimal key'Adoche Onaji1-2/+2
'Decimal separator key' was renamed to 'Decimal key on the numpad' to give it more acceptance and understanding on various platforms Change-Id: I6d8411026bf7b2c9f5d85d9ee3f19f7f7f603d8b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150809 Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Tested-by: Jenkins
2023-07-05tdf#138504 svx,etc.: decorative flag on SdrObject shapesMichael Stahl4-4/+34
* SdrObject new member m_IsDecorative * new Undo SdrUndoObjDecorative * surprising amount of changes in sw including additional SwUndoFlyDecorative * svx API SvxShape property "Decorative" * UI checkbox "Decorative" * ODF import/export as loext:decorative on style:graphic-properties * PDF/UA export: ViewObjectContcat tag shapes with this flag as Artifact Change-Id: I37f7a0597eab92c6c6aff94fad6c16c59b231c80 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154063 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-07-05SvtCJKOptions::EOption is unusedNoel Grandin1-2/+2
ever since commit 5db72ef0b381671b7867bda759098a92909e06d8 Author: Noel Grandin <noel.grandin@collabora.co.uk> Date: Mon Jul 26 13:51:57 2021 +0200 drop SvtLanguageOptions class Change-Id: I2d56b0c21510239ef1ee1d0b95748641d485580c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154053 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-07-05tdf#153328 ZXing::ToSVG() Conditional usageTRaXIn1-0/+10
Change-Id: I8874f596be808d5d255139654a19b25f71299179 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147677 Tested-by: Jenkins Tested-by: Hossein <hossein@libreoffice.org> Reviewed-by: Hossein <hossein@libreoffice.org>
2023-07-04tdf#92311: increase word completion limitBaole Fang2-6/+5
Change-Id: I0198327d235bdb4048e002aab211e20d1701fa6c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153571 Tested-by: Jenkins Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-07-02pAttr is always dereferenced, use a reference instead of a pointerCaolán McNamara5-9/+8
Change-Id: I76ebce9085b9e47a6c571ddbcafa44d0d3a0f97f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153850 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-06-28tdf#148416 password dialog: suggest current loadreadonly statusJustin Luth1-0/+9
If a document is set to load readonly, and the user saves with a password, then suggest LoadReadOnly status by pre-populating and displaying the checkbox for that setting Change-Id: I3e848b6f97ed4218d066e8f1790cb8fbea8b208c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153725 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
2023-06-28tdf#107787 Sync FillGradientStepCount and StepCountRegina Henschel2-15/+29
The FillGradientStepCount property of a shape or page background and the StepCount member of the Gradient2 API struct or nStepCount member of the basegfx::BGradient class are used parallel and mixed. Therefore we need to be careful to keep the values in sync as far as possible. Change-Id: I58ab9654ba0106417794fafe68fb296e66cb3bf5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153714 Tested-by: Jenkins Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
2023-06-28Resolves: tdf#156067 merge special char dialog/popup logicCaolán McNamara1-393/+15
there was some cut and paste done to create the popup at some point, so put it back together and reuse the "delete recent" etc which is missing from the popup case Change-Id: Idc33d83ea04b46b0255e77bcecf565dc8174e426 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153647 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-06-28Simplify a bitMike Kaganski1-12/+7
Change-Id: Iad2564853a2a0d74cd526b1574e421e121fd6986 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153644 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-06-27loplugin:stringstatic look for more stringsNoel Grandin1-1/+1
that can be initialised at compile-time instead of runtime Change-Id: I08d516fdc13a3a79f93c079f89ac44cbc7a1ed71 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153620 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-06-26new loplugin:constexprliteralNoel Grandin2-4/+4
OUStringLiteral should be declared constexpr, to enforce that it is initialised at compile-time and not runtime. This seems to make a different at least on Visual Studio Change-Id: I1698f5fa22ddb480347c2f4d444530c2e0e88d92 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153499 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-06-24CID several. Use ctor 'from other' instead 'first..last'Regina Henschel2-11/+10
This covers CID#1532461, CID#1532462, CID#1532464, CID#1532467, CID#1532479. Now solutions without iterator are used. In all cases constructions like maColorStops = basegfx::BColorStops(rGradient.GetColorStops().begin(), rGradient.GetColorStops().end()); are replaced with solutions like maColorStops = rGradient.GetColorStops(); And instead of constructions like aColorStops.emplace_back(maColorStops.front().getStopOffset(), aStartBColor); aColorStops.insert(aColorStops.begin(), maColorStops.begin() + 1, maColorStops.end() - 1); aColorStops.emplace_back(maColorStops.back().getStopOffset(), aEndBColor); now it is like aColorStops = maColorStops; aColorStops.front() = basegfx::BColorStop(maColorStops.front().getStopOffset(), aStartBColor); aColorStops.back() = basegfx::BColorStop(maColorStops.back().getStopOffset(), aEndBColor); Change-Id: I66662d2286e7707b205c58977bc3f850b2a49dda Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153555 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-06-23tdf#155901 MCGR: preserve first and last gradient stop tooRegina Henschel3-24/+37
Error was, that only the in-between gradient stops were preserve. First stop was set with fixed offset 0, last stop with fixed offset 1. The offsets of first and last gradient stop of the original gradient were lost. Now in all cases (hopefully) the complete gradient stops vector is preserved and the original offset is used, if e.g. the user changes the color. For calculating transparence the indirect way over Color is removed. Instead percent is directly transformed to the 0..1 values of BColor. That avoids rounding errors. Change-Id: Icdf699a6c2e9c6289d2f77033858448e58396a60 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153395 Tested-by: Jenkins Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
2023-06-21cui: don't build SvxJavaClassPathDlg::SetClassPath() for the non-java caseMiklos Vajna2-2/+4
Since SvxJavaClassPathDlg::SetClassPath is only called from #if HAVE_FEATURE_JAVA code (in IMPL_LINK_NOARG(SvxJavaOptionsPage, ClassPathHdl_Impl, weld::Button&, void) in cui/source/options/optjava.cxx ) anyway, see <https://gerrit.libreoffice.org/c/core/+/153386/2#message-06ee95be419a14ee8f08035142b5718e0377d120>. Change-Id: I0e5a21036ce048c18d408c07cce088dbab7fc030 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153396 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2023-06-21cui: fix --without-java buildMiklos Vajna1-0/+2
This went wrong in commit 7795a2adc0a724220440dca997495043902f1384 (Allow bootstrap variables in Java user classpath settings, 2nd try, 2023-06-12), I assume that _rPath is always empty in the without-java case. Change-Id: I8749f5bd30b0853a76fb9ccf5d1e7a8e4e23f1ba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153386 Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de> Tested-by: Jenkins
2023-06-21Allow bootstrap variables in Java user classpath settings, 2nd trySamuel Mehrbrodt1-6/+13
Add a second mode: When a classpath starts with '$', bootstrap variables are recognized. The classpath must then be provided as URL, not native path. Change-Id: Idcc229a2b4e9a512b0e712ea932a6e4293907db3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152899 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2023-06-18tdf#148836: Alphabetize customize keyboard dialogBaole Fang2-11/+24
"All Commands" is kept at the top, and LibreOffice Macros, Styles and Sidebar Decks are kept at the bottom, while others are sorted alphabetally. Change-Id: I0c8287d4ffed9f9ee901d306a16670933541ba93 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152179 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-06-14Related: tdf#150494 add placeholder text to the REST protocol fieldMike Kaganski2-0/+2
Change-Id: I8aab941d9dd03e54a3a39ccb643a5a628d6c5be7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153061 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-06-09tdf#125876 "Footnotes and Endnotes" -> "Footnote/Endnote Settings"Seth Chaiklin1-2/+2
also update command name in "tip of day" and add links to the dialog for the relevant tips. Change-Id: I6dbebf3cbe405f5bd1d6d01d992cb096a5e61348 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152651 Tested-by: Jenkins Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2023-06-08Revert "Allow bootstrap variables in Java user classpath settings"Samuel Mehrbrodt1-19/+2
This breaks existing paths which contain "\" or "$". This reverts commit cfc2376f804f13eb562f39182cb24fe7dc61d6ef. Change-Id: Ia58df0a4f061f45140575e89231bd18d044a9bc1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152604 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
2023-06-07tdf#155376 partially convert SvCTLOptions to officecfgNoel Grandin6-16/+11
When accessibility is enabled, Calc will add tens of thousands of listeners. We then spend a significant chunk of time creating SvCTLOptions objects (attached to ImpEditEngine) and adding and removing those objects from the related listener lists. But the required information is already globally cached by the officecfg module, so we can avoid that overhead and just fetch it directly from officecfg. Change-Id: I7ff55fd7c4926866eb7086812275ba8bd6e84c75 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152645 Tested-by: Jenkins Reviewed-by: Patrick Luby <plubius@neooffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-06-06use more officecfg for SvtMiscOptionsNoel Grandin2-6/+6
Change-Id: I6c87025fc0997b5edbc085fc88333fe9e150eb3e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152648 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-06-06Sort languages in Edit Modules dialogMike Kaganski1-5/+5
After commit e855481ead996a3b8270fae91bd23d6c8d75ef25, these languages are already ordered according to css::lang::Locale sorting implemented there; but this ordering does not follow the UI language sorting rules. TODO: put language without country/variant before respective languages having country/variant. Change-Id: Ic98b50ef4a500c799110611f7c35c74b4a239ed4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152641 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-06-05Avoid duplicates in Edit Modules language listMike Kaganski1-42/+26
Since different services/categories may add same languages, they may become duplicated in the resulting list. Avoid that using std::set. Change-Id: I9a58341212a4f1190754683b032059408a2653cb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152611 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-06-05Use UI language for UI list sortingMike Kaganski1-1/+1
Change-Id: I1fd4babe3d577d785015f921e5c8ed95ad4e8fec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152610 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-06-04Rename function to SetMetricValueAndSaveHossein2-9/+9
Rename the function, remove prefix and suffix Change-Id: Iaca0541d15a9162f11f8461892bf4c4454c9d674 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151843 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
2023-06-04sw: border and background theme color support for multiple props.Tomaž Vajngerl3-38/+32
This adds support for theme colors for multiple properties that are stored in SvxBoxItem and SvxBrushItem / XFillColorItem. For those items the ComplexColor member variable was introduced. The UNO properties for the colors are added. The properties with the added support includes paragraph border and background + styles, page border and background, frame border and background + styles. The ThemeColorChanges has been extended to support changing the colors for those propertes. Color picker and tab pages have been fixed so they pass or set the theme color properties to the items. Change-Id: Id27272f5c4a448703a62a759d829e8a9540066e4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152397 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2023-06-02tdf#155652: use UI language for language service display namesMike Kaganski1-1/+1
Change-Id: I7a671e3f8db484b04901bd2360aaab4cde36a72c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152565 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-06-02tdf#43157: Clean up OSL_FAILBaole Fang5-8/+8
Change-Id: Id4472bd810263ca842d14af6ad4a1359c002fb6c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152344 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>