summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-11-23loplugin:fieldcast in BindingNoel Grandin
Change-Id: Ia4bb341dba0c853b53c42a36fcb472e5948f1708 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159839 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-11-22tdf#125580: sc_subsequent_filters_test4: Add unittestXisco Fauli
Change-Id: Ia7be1c4dd1f4d748bb70fdc43c52825b4dade1b3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159836 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2023-11-22tdf#154088 Merge code snippets for character retrieval and string constructionAmosAidoo
The DrawChars_Impl method has been unified since the duplicates were identical and only differed in how they retrieved characters from a separate source. Each class now has its own implentation of GetCharFromIndex as a solution. Change-Id: Ic2d10a46a91ea8dee2c94b620e6745bf77ae9eab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159773 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
2023-11-22tdf#158126 UI: Scalable buttons for Impress navigation barIrgaliev Amin
On some panels, small icons of navigation bar are not convenient to use. Currently there are 4 sizes available for other icons: automatic, small, large and extra large. It is useful to implement support for scalable buttons in the Impress navigation bar. This setting can be located in Slide show -> Slide Show Settings (Display section) Change-Id: Ief8cc0cbf4eac98ee90bf3e993e4fc44cea0165e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159294 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
2023-11-22Fix typo in codeAndrea Gelmini
Change-Id: I2e9ba39aeb838b019464363612505edb5a7c6353 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159832 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-11-22Fix typoAndrea Gelmini
Change-Id: I66cb84da082a7498b1c6a79e989dd94d9f7b1b56 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159828 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-11-22Fix typoAndrea Gelmini
Change-Id: I786d7873f1aa4921bae81cbbecca01959db3866b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159824 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-11-22Fix typoAndrea Gelmini
Change-Id: Ic297e251d58cc29c00c6dcc1add85b52bafa190c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159831 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-11-22Fix typoAndrea Gelmini
Change-Id: I6e6955b18078685ebbe215e496a0b459afb33f27 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159833 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-11-22Fix typoAndrea Gelmini
Change-Id: I034c3b76a8f35700d528b06d7816c0062fe16b86 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159822 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-11-22Fix typoAndrea Gelmini
Change-Id: Id95dc2bc578d98894ab73b1a9b9f7b0e69de3d7d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159830 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-11-22Fix typoAndrea Gelmini
Change-Id: I3201adc92bec156014b8044371a79a8255c58aa0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159827 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-11-22Fix typoAndrea Gelmini
Change-Id: Id19012a207b6df24188e424414e103c7c3dc3d5c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159825 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-11-22Fix typoAndrea Gelmini
Change-Id: Id83a613432117cbf7f20eb9dd0cfa8eaf60b103d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159834 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-11-22Fix typoAndrea Gelmini
Change-Id: Id451921ddcefb71f9c46a11e5150fa1b864d4281 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159829 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-11-22Fix typoAndrea Gelmini
Change-Id: I15170c332c7b9943433fc7113c3b3e8c44c765cd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159826 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-11-22Fix typoAndrea Gelmini
Change-Id: I76ea5af4ec21ca55a2b88f48e6d476feec065349 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159823 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-11-22tdf#158147 - UI: Part 38 - Unify lockdown behavior of Options dialogBalazs Varga
for Math - Settings Page. Change-Id: I05170a6c7edb6160e0e7804fa04325d329499854 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159819 Tested-by: Jenkins Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
2023-11-22loplugin:fieldcast in SwTransferableNoel Grandin
Change-Id: I8e9f157a399f1b305d2e6b6e63da837f0090fd8b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159814 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-11-22optimise framelinkarray lookupNoel Grandin
We can use hashing to do an O(1) lookup instead of O(n) linear scanning, this class is sometimes a bottleneck in laying out large spreadsheets. Change-Id: I4d27e8f339a8732535d832442a9d4a649da19e88 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159801 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-11-22tdf#127498: sc_datetime_functions: Add unittestXisco Fauli
it fails with Sheet2.A9 '=TIMEVALUE(K9)' result: 0.354166666664241, expected: 0.354166666666667 without the fix in place Change-Id: I4e6faff1b7eb1913ca668ef11b489076e793adc6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159820 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2023-11-22lok: disconnect clipboard leftovers in Writer to avoid crashSzymon Kłos
When we closed one view which previously copied some larger selection in the Writer and other session after that modified content of that selection we got a crash. It was caused by old clipboard data still beeing used. On copy there is created SwTransferDdeLink which creates "Server" - SvLinkSource which is notified in SwTransferDdeLink::DataChanged when someone is editing previously copied selection. Let's disconnect that server on view close as it is no longer needed. some characteristic trace pieces for crash: libsofficeapp.so!LOKClipboard::setContents(LOKClipboard * this, const com::sun::star::uno::Reference<com::sun::star::datatransfer::XTransferable> & xTrans, const com::sun::star::uno::Reference<com::sun::star::datatransfer::clipboard::XClipboardOwner> & xClipboardOwner) ... libswlo.so!SwTransferable::RemoveDDELinkFormat(SwTransferable * this, vcl::Window & rWin) ... libsfxlo.so!sfx2::SvLinkSource::NotifyDataChanged(sfx2::SvLinkSource * this) ... libswlo.so!SwDataChanged::~SwDataChanged(SwDataChanged * this) Change-Id: I2ebab3db8bc42e20781874802563352ef263fdaa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159563 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159755 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2023-11-22android: Set autofill hints in Calc toolbarMichael Weghorn
Set autofill hints for the address and formula text edits in the Android Viewer Calc toolbar as described at [1] to address warnings that Android Studio shows about these not being specified. [1] https://developer.android.com/reference/androidx/autofill/HintConstants Change-Id: I1ac7a5babddf3c328145b9f2194d10bb701aa4f1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159810 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-11-22tdf#158307 android a11y: Auto-detect toolbar heightMichael Weghorn
Instead of hard-coding a toolbar height for the cell address and formula bar in Calc, use `android:layout_height="wrap_content"`, so the height is determined based on the font size. This avoids the text getting cut off when a large font size has been selected in Android's accessibility settings. Change-Id: I9bfbe2b7a1db39ac11d9ed0ab15290f974782489 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159809 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-11-22Online: Fix Wizard Help buttonGülşah Köse
Wizard dialog help button's response is not initialized if we don't run any other dialogs. It should be initialized in RoadmapWizard itself. response_help function can not detect wizard dialog's Help button. So we should handle this case in function too. Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com> Change-Id: If80a2e54dcbf5eaa3d0e07347d12296ace5c9569 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159282 Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Tested-by: Jenkins
2023-11-22tdf#148000 impress: improve fontwork text placement.Attila Szűcs
Improved the calculation of positions of text characters for multi-line texts. The previous version only fitted the text to the basic outline (curve), and then scale them to the appropriate text line. This means that the text will be wider or shorter, depending on the shape of the curve, and which line it is on Now it calculates a curve for each paragraph and fits text on it. Text will be approximately the same width on each line. Except if the text is wider as the curve. Because then it shrinks the text to fit on the curve. (this can only happens on inner curves) Reused the same compat flag that was used in bug148000, now it serves as a Powerpoint compatible mode for FontWork, so no need to create new compat flag every time FontWork has improve. That means that the Fontwork in old documents has remains the same Refactored horizontal/vertical alignment, but had to keep the old hacks as well. Note: if there are too many lines of text, and the vertical alignment causes internal curves, then curves can shrink to 0 length (center point of a circle) or even to negative length, These cases are impossible to display normally, so it will be glitchy similar to how it was before this patch. MS PowerPoint avoid these cases by not allowing vertical alignments that would result internal (smaller) curves. Added unittest to check legacy-odb / new-odp / pptx file. It change the display of fontwork, so in some cases it may feel like a regression. Change-Id: Iac2d9bc751bbc2b6f747c33958f969cb3543fae5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159776 Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-11-22sw floattable: fix crash by trying harder to split tablesMiklos Vajna
Regression from commit 60e2fdf1d7e8346e5a3835369c47e582c737ce20 (sw floattable: maintain the invariant that fly height is at least MINFLY, 2023-09-28), the bugdoc crashed on load in SwTabFrame::MakeAll(), because the tab frame's HasFollowFlowLine() was true, but GetFollow()->GetFirstNonHeadlineRow() was nullptr and the invarint is that these are always in sync. Digging deeper, what happens is that the master table has a split row at the end, so the follow table has a "follow flow line". We remove that when we try to split the master table (split either moves rows to the follow or creates a new follow), so the follow table only has a "headline row" remaining. Then Split() is called with bTryToSplit set to true, this fails (because only a single line would fit the master, but orphan/widow control rejects that) and then we join the follow table (because it only has headline rows), so a split with bTryToSplit set to false (don't split the row itself) never happens. This at the end leads to a strange table frame with only headline rows and gets deleted, which is odd to happen during the initial layout. Fix the problem by remembering if we just removed the follow flow line, and in case we tried to split the rows itself and table split failed, then don't join the follow table, so a next split can be invoked with bTryToSplit set to false, which leads to the correct layout. This means not only the crash is fixed, but also no layout loop happens and result matches Word. Limit this to tables in split flys, at least for this bugdoc the inline table case would not have this problem as widow/orphan control is disabled inside inline tables. Change-Id: I172e38be11baf6f73df722a4c6c035a6a283d727 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159802 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2023-11-22Drop a redundant CR cleanupMike Kaganski
Commit 77779166569da389de44075b3d03413b353046a4 (Remove stray CR from input, 2017-03-09) had introducing the removal of CR from CRLF generated by MSVC's cl.exe -showIncludes. Then, commit e9b9a456221b4b0660f90efa1ee092ea00c2c728 (gbuild: strip away unexpected CR char at the end of Windows filenames, 2017-07-26) added a replacement doing the same, but using a literal CR instead of "\r". It had in its commit message: > seen with 2013 on libreoffice-5-2, but there is no > indication that 2015 on master would be different libreoffice-5-3-branch-point was tagged on 2016-11-23 (commit 4136757b4e51c4e6f7cb4132c95538a7f831ef2c), so the 5-2 branch did not contain the former change, and so the premise that "master would be no different" was likely incorrect. Change-Id: If992eb826c5d6c2868c9bd706ae51847fe69eda7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159754 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-11-22CppunitTest_sw_mailmerge2: remove not needed preTest() callMiklos Vajna
1) preTest() retuns a unique_ptr which has to be hold till the test runs, which didn't happen here. 2) This was just copy&paste probably, since preTest() is not overwritten in this suite. Change-Id: Idd8688a82db01d41ac9d0535a907dccc6064c6cc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159796 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2023-11-22Work with what we have in ArrayImpl: pointersArmin Le Grand (allotropia)
That allows to not create a local copy on the heap before being able to check if a change is really necessary Also added mfOrientation to Cell::operator==, it was missing. Maybe with C++20 we should more use the default generated op== (or op<=>) that may turn out to be more safe. For class Cell at least all members (and sub-members of Style) are simple and simple comparable. Change-Id: Idea2ef2abe68c4bb14aa776a8393ba5da92abd5c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159798 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-11-22Update git submodulesStanislav Horacek
* Update helpcontent2 from branch 'master' to 65a60febbc9f5a4e293977d357228f5504847b7f - remove note about PDF Import extension this extension has been merged into LibreOffice and it is not available anymore Change-Id: I37b7bd44628623fe98cf00a839845a8fea1da613 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/159799 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2023-11-21tdf#158145 - UI: Part 37 - Unify lockdown behavior of Options dialogBalazs Varga
for Writer/Web - Table Page. Change-Id: I3a8333684d1c4bfeea869581b33354385838111f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159795 Tested-by: Jenkins Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
2023-11-21tdf#158144 - UI: Part 36 - Unify lockdown behavior of Options dialogBalazs Varga
for Writer/Web - Print Page. Change-Id: I1fb2f52966843297fcb415c02946d7ce38097332 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159788 Tested-by: Jenkins Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
2023-11-21tdf#158143 - UI: Part 35 - Unify lockdown behavior of Options dialogBalazs Varga
for Writer/Web - Grid Page. Change-Id: I8b3cc4f75e613691840edc6456fb8ea2c4314282 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159784 Tested-by: Jenkins Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
2023-11-21tdf#158141 - UI: Part 34 - Unify lockdown behavior of Options dialogBalazs Varga
for Writer/Web - Formatting Aids Page. Change-Id: I8e67ac65add2aab50fe1db2d071ce731be80f946 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159783 Tested-by: Jenkins Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
2023-11-21tdf#158140 - UI: Part 33 - Unify lockdown behavior of Options dialogBalazs Varga
for Writer/Web - View Page. Change-Id: Idcd271493461bbd7a945e0ad5484715279a19c98 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159780 Tested-by: Jenkins Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
2023-11-21Update git submodulesAndrea Gelmini
* Update helpcontent2 from branch 'master' to 60315fa219686298a01ff1f829245320c914f090 - Fix typo Change-Id: Ida5d2330088746867b45dc008697716d97207848 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/159782 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-11-21tdf#158204 Midnightblue template correct colorLaurent Balland
Color of the upper and lower strip of the first master slide was declared in "Accent 1" style. This style is overwritten when applying the master page from the side panel. Color is now defined as overloading of standard style All inheritances from Accent 1 and Accent 2 were removed for master page Midnightblue Other updates: - page number position, size and font was corrected - Liberation font declaration was missing - remove German name of a style - replace html code &apos; by ' Change-Id: I2e0ef69d7117719a9829535db24c94048603d9b1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159519 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Stéphane Guillou <stephane.guillou@libreoffice.org>
2023-11-21asan: fix read of uninitialised valueNoel Grandin
ever since commit a91892ec4942fc875820ea02dfbe74e986548142 Author: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> Date: Thu Nov 16 13:56:06 2023 +0100 Use existing types, instead of strings Change-Id: Ifb7af17d21a32fdf411854b6820b32d1767660e1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159779 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-11-21tdf#115871 - Reset outline and list options to parent settingsAndreas Heinisch
Added the various items of the controls in the outline and list options tab to the range container. Otherwise, the main dialog does not have any knowledge about the options to reset to the parent settings. Change-Id: Icc9f862e741eb0457cfb1c74e64324809c143ab3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159787 Tested-by: Jenkins Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2023-11-21Cleanup some ScPatternAttr specific stuffArmin Le Grand (allotropia)
Removed some special stuff in the ItemSet/Item tooling regarding ScPatternAttr. There are still quite a view (grep for isExceptionalSCItem), but all these are identified and isolated. Only for that Item (of over 500) are these exceptions, so that raelly does not fit into the Item schemata in any way. Not even the pool default of ScPatternAttr is without trouble. It is the only and last Item that needs to be 'pooled' in the sense to avoid copies on any price. That is OK, but should not be done in the ItemSet schemata. In short: It should not be an Item at all. It should be changed and renamed to something describing it's role (CellAttributes..?) and get helped/assisted by something called CellAttributeHelper at SC's model or Pool. It should not even be derived from SetItem, it could just contain an shared_ptr of SfxItemSet (allows more and better optimizations - think about Clone() and op==). In parallel, all these hacks in the ItemSet/Item stuff could be removed, making that faster and easier. Also quite some usages of DirectPutItemInPool could be cleaned-up, this only exists since there *is* no defined place to hold that data (coud be CellAttributeHelper in the future). Putting Items directly to the pool (and in most cases never remove them again) is just nonsense and another hint that all this does not fit to the Item/ItemSet schema at all. This is now - after hard isolation of problems and have all working - doable. It may be one of the next things to do, but there are other candidates, too. Doing this would mostly only help SC... Found another hack that uses DirectPutItemInPool and *never* removes any Item again, see comments framelinkarray.cxx And another one: PoolItemTest::testPool() explicitely tests DirectPutItemInPool stuff - which makes no sense long-term, but for now keep it and make it work by marking the slots used as _bNeedsPoolRegistration == true Have now overhauled the framelinkarray stuff to work without DirectPutItemInPool and Cell not being a SfxPoolItem. That will be much less complex and use much less calls/checks. Since this is the data structure created for every calc repaint that should get faster, too. Also for now and memory loss security I added code to DirectPutItemInPool to behave the same as with the unchanged implCreateItemEntry: register Items so that the garbage collection still is used. This will/can be removed when all usages of DirectPutItemInPool is cleaned up. Directly registering in DirectPutItemInPoolImpl is more tricky than thought, but a good thing to do. Looking at that I saw that tryRegisterSfxPoolItem is not used anymore, so rearranged some stuff. Change-Id: If07762b0a25e2739027f81872441772dc82a25d9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159685 Tested-by: Jenkins Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
2023-11-21chart2: Match chart background color with DOCCOLOR in Calcofftkp
Chart background color would be hardcoded to white which meant newly inserted charts would have a different background color in Calc (in other components, the background color is later set to transparent) Change-Id: I6ea55389f195155a96c4c8dcc94a902b2a862178 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159751 Tested-by: Jenkins Reviewed-by: Paris Oplopoios <parisoplop@gmail.com>
2023-11-21Cleanup make files for Java/C++ SDK examplesHossein
This fixes some minor issues with the make files for Java/C++ SDK examples in DevelopersGuide/FirstSteps. For Java examples, an exatra "-f Example_Java.mk" was a leftover from a previous change. For C++ examples, 'make clean' was not working correctly, because of a leftover from a previous change. Both should be fixed now. Change-Id: Id936824675a9bfd43674ca526bc97a998ed9daf8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159777 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
2023-11-21Update git submodulesXisco Fauli
* Update translations from branch 'master' to d0fb14adc60976ff54a9561254d070717a76004c - update translations for master and force-fix errors using pocheck Change-Id: I38c7510b87b7a3c20132436d66132832d214b4b2
2023-11-21tdf#158137 - UI: Part 32 - Unify lockdown behavior of Options dialogBalazs Varga
for Writer - Mail Merge, Email Page. Change-Id: Ibd484a4ae815ad94dd6c418fbe66901a9b84c7fa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159741 Tested-by: Jenkins Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
2023-11-21sw: document SwFormatFrameSizeMiklos Vajna
Where this can appear, size type, percent relations. Change-Id: I7afddd033e8a8842c99dcb3d9604a2cb75ad6d92 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159743 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2023-11-21tdf#157558 invert and remove blended white colorPatrick Luby
Before commit 81994cb2b8b32453a92bcb011830fcb884f22ff3, RemoveBlendedStartColor(COL_BLACK, aAlpha) would darken the bitmap when running a slideshow, printing, or exporting to PDF. To get the same effect, the alpha mask must be inverted, RemoveBlendedStartColor(COL_WHITE, aAlpha) called, and the alpha mask uninverted. Change-Id: I8e81b11aab05954c821f833f4a2fc77eec7b7701 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159742 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-11-21tdf#117651 Add AutoCorrect support for italic and strikethroughMatt K
The AutoCorrect "Apply" command calls SwAutoFormat::AutoCorrect in sw/source/core/edit/autofmt.cxx, as mentioned in the bug comments. This change just adds new cases for "/" (italic) and "-" (strikethrough), so that when "Tools" -> "AutoCorrect" -> "Apply" is invoked it changes any text between 2 "/"s or 2 "-"s (assuming your AutoCorrect options enable the setting for this). The new code is just mostly copied from the case statement above it (for bold and underline), and the only additional changes that were needed were to add the comment strings for the 2 new cases. Change-Id: I02238690a40fd0113e3e9acbecf93ef5c34e0785 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154207 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-11-21Update git submodulesOlivier Hallot
* Update helpcontent2 from branch 'master' to ed8997d667fff2ab03bd2e7f1cc3d1f92f526e97 - tdf#155876 UI cmds Calc-Format menu (21) + merge cells, print ranges menus + refactoring Change-Id: Idcdd2fb8b986700f624941662a8250bbe6aac753 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/159746 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-11-21Update git submodulesOlivier Hallot
* Update helpcontent2 from branch 'master' to d5b140914661fa472e089daeade8ec269f16e314 - tdf#155876 UI cmds Calc-Format menu (20) + Row/columns menus + refactoring Change-Id: I434ee9975dd3029809a0ae01b15511e77fb70698 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/159745 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>