Commit Graph
514410 Commits
Author SHA1 Message Date
Noel Grandin adab4f4ddc use more SfxItemIter
which is more efficient when all we want is the SET items

Change-Id: Ie2aa290a4546f408a58b74423acd54351282d179
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200009
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2026-02-23 10:14:10 +01:00
Noel Grandin 68f3831bed use more concrete UNO classes
Change-Id: I1c90b783108cd6e221de47c5af7d0a0d7f2ba415
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199991
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2026-02-23 09:50:28 +01:00
Stephan Bergmann 8f6d4fb1a4 external/harfbuzz: Fix emscripten build
...after 7f1335390e "Build harfbuzz-subset",

> wasm-ld: error: --shared-memory is disallowed by hb-subset-input.cc.o because it was not compiled with 'atomics' or 'bulk-memory' features.
> em++: error: '/home/tdf/lode/emsdk/upstream/bin/wasm-ld @/tmp/emscripten__e1rcozh.rsp.utf-8' failed (returned 1)
> make[1]: *** [/home/tdf/jenkins/workspace/lo_gerrit/tb/src_wasm/desktop/Executable_soffice_bin.mk:10: /home/tdf/lode/jenkins/workspace/lo_gerrit/tb/build_master/instdir/program/soffice.js] Error 1

(<https://ci.libreoffice.org/job/lo_daily_tb_linux_wasm/1338/>).  Probably
doesn't hurt to unconditionally add that thread_dep dependency here (which is
also unconditionally used for libharfbuzz, via harfbuzz_deps).

Change-Id: I6dd56a3ce61c855a734db1660d0b3280cbfdaf42
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199996
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
2026-02-22 22:57:52 +01:00
Stephan Bergmann 7bac6ec0a2 Adapt to change in emsdk 5.0.1 version.h
(<https://github.com/emscripten-core/emscripten/commit/4cce5e9a4a245713df7fc5bf4ad1e6d7463cbf4b>
"Use uppercase for version macros (#26180)"Adapt to change in emsdk 5.0.1
version.h

(<https://github.com/emscripten-core/emscripten/commit/4cce5e9a4a245713df7fc5bf4ad1e6d7463cbf4b>
"Use uppercase for version macros (#26180)")

Change-Id: I4cdf2447213ae82763f1cb1a19e84600c6267908
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199995
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
2026-02-22 22:57:31 +01:00
Gabor Kelemen 765b62d331 Remove obsolete IWYU exclusions related to include/cppcanvas
Found with bin/find-unneeded-includes --headersfwd --recursive include/cppcanvas

Change-Id: I292d25511db4805920cb7420faec5bd2558e6d09
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199385
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
2026-02-22 20:59:16 +01:00
Stephan Bergmann 160aaa3e9c Even more CppunitTests need the ASan hack now
...from e854abe076 "Avoid external processes
picking up instdir/program/libnspr4.so"

Change-Id: Ia4e3f310981b5e0e6a7540bb999ddbd3892201f7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199973
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
Tested-by: Jenkins
2026-02-22 20:42:32 +01:00
Caolán McNamara 3dfbc9df7d ofz: Use-of-uninitialized-value
there's a switch off this value before the mpInputStream->good() guard

Change-Id: I8ac7ce45336d9edbfae2308af39632c9322b2526
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199992
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2026-02-22 20:42:22 +01:00
Caolán McNamara c963b8a017 Resolves: tdf#130586 reset mbPageEventOccurred in observation start
mbPageEventOccurred was never reset between observations, so after a
undo/redo involving page insertion/deletion, another undo/redo operation
(e.g. layout changes) would assume it needed to do a fresh page
selection.

seen as a regression at:

commit 13dfaa3c37
Date:   Fri Dec 13 12:47:54 2019 +0000

    Resolves: tdf#129346 if nothing currently selected, select something

    in the slidesorter

but really a problem since:

commit a05fe3a8cf
Date:   Tue Nov 21 12:38:21 2017 +0000

    Resolves: tdf#100950 only update page selection if pages changed

Change-Id: I86169faa9f0b2b2972dfe7065b29f94f6c6bcb85
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199990
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2026-02-22 20:42:15 +01:00
Caolán McNamara a69332c528 these can be ListStores instead of TreeStores
Change-Id: I94f44313f85ffd03995cafd90e28770f87381098
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199988
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2026-02-22 20:41:33 +01:00
Caolán McNamara 034bfb9957 GLib-GObject-CRITICAL invalid cast from 'GtkImage' to 'GtkLabel'
Change-Id: I1cb15c904a5ea69ba97301b87ab2bd345a934ea9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199986
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2026-02-22 20:41:25 +01:00
Mike Kaganski dde027cbe6 Improve SwIoSystem::GetTextEncoding
Use correct type (IsDetectableText takes reference to sal_uLong).
Initialize eCharSet (IsDetectableText may return without setting
out charset variable).

Change-Id: I6f1dd2e8c9e58b8f1074267a2f69320a07b3052d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199993
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2026-02-22 20:39:27 +01:00
Caolán McNamara e8c17d8aec these can be ListStores instead of TreeStores
Change-Id: I241ee98ff43e3fe64606823e084fc2f34a90c821
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199985
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2026-02-22 18:18:21 +01:00
Caolán McNamara f8a7413cb7 these can be ListStores instead of TreeStores
Change-Id: I1e5fc9fb35782d401b8878700b7aa5a34d1802c6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199984
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2026-02-22 18:18:14 +01:00
Caolán McNamara 7448079186 cid#1681468 Improper use of negative value
my facepalm there

Change-Id: I3abb101f458d2ac49e89352afe046b20664607a1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199962
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2026-02-22 18:17:54 +01:00
Aya Jamal 4d9efac96b tdf#48140 Remove uno calls from WorksheetGlobals::getCell
Change-Id: Id4fab8c16daaa5247a8d02afc24f11824bb8793e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199674
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2026-02-22 15:54:45 +01:00
Gabor Kelemen eb087d25b3 tdf#146619 Use more forward declarations in include/drawinglayer
Change-Id: I5911dfb1cfc2bfd291758334b69123cfbce559a5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199387
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
Tested-by: Jenkins
2026-02-22 12:08:33 +01:00
Vaasu K a6d43ed34c tdf#124176: Replace include guard with pragma once in dselect.hxx
Replace with #pragma once in file

Signed-off-by: vaastavikumar43@gmail.com>
Change-Id: If32c7ecb3d37f56897a49ff3ab26c649103f3533
Signed-off-by: Vaasu K <vaastavikumar30@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199958
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2026-02-22 11:08:19 +01:00
Gabor Kelemen 0a42ddbdf1 tdf#146619 Use more forward declarations in include/xmloff
Change-Id: I49e39d669ba77a99b77322275d2e54e211da5b11
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199386
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
2026-02-22 10:42:36 +01:00
Caolán McNamara 4bb2448d9c If the treeview has a header or multiple columns it has to be a [tree]grid
tree/listbox don't have headers, so reshuffle to only allow those for
the single column and headerless case.

Change-Id: I49cac527f22617847a7227979158384f3b7b4247
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199748
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
(cherry picked from commit fd27f399b41bd5a2017026ce582eae75f7678522)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199953
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2026-02-21 20:12:33 +01:00
Caolán McNamara dae57af4a7 Resolves: tdf#166902 ensure right clicked entry is selected
Change-Id: Icee19b56e750ce525674a44a109f0fd52dab509a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199951
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2026-02-21 20:12:17 +01:00
Caolán McNamara 16be1e7558 remove SvNumberformat::GetCurrentLanguageData
Change-Id: I797384d2dc91379a56ac21de20ac19dc54d807e7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199839
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2026-02-21 20:03:07 +01:00
Caolán McNamara 8f9bfea59d pass an explicit SvNFLanguageData to this GetOutputString
Change-Id: I6502cff8dd07fac081012c5c486bcb7ab5cc5805
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199838
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2026-02-21 20:02:59 +01:00
Caolán McNamara 3e96c2865b interim change, call GetCurrentLanguageData just once here
Change-Id: Idc21e3346bae4947efa76d212a6a419d8b571104
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199837
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2026-02-21 20:02:51 +01:00
Mike Kaganski 99c2cc0673 fix assorted VirtualDevice GDI handle leaks
Similar to commit e9392c0c86fcf373e00ede92f8ceeee2c7efd233 (fix
VirtualDevice GDI handle leaks across IconView callers, 2026-02-21).

Change-Id: I5d0566a2d6c7285c6efde5560f13c1efd22cdc55
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199942
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199950
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2026-02-21 19:58:29 +01:00
Mike Kaganski 566ae8a3b9 fix VirtualDevice GDI handle leaks in SmSymDefineDialog
Similar to commit e9392c0c86fcf373e00ede92f8ceeee2c7efd233 (fix
VirtualDevice GDI handle leaks across IconView callers, 2026-02-21).

Change-Id: Ie4f2ea0ca58a435300c2611f14474f9670945489
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199937
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit 2087252b45eefd4bfe81fd71ec59f106a26d48a6)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199947
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2026-02-21 19:58:18 +01:00
Mike Kaganski d8bf4ddc6d fix assorted VirtualDevice GDI handle leaks
Similar to commit e9392c0c86fcf373e00ede92f8ceeee2c7efd233 (fix
VirtualDevice GDI handle leaks across IconView callers, 2026-02-21).

Change-Id: Idae4f9e5fba0d5c46d32e35da5f84716616f59ba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199936
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199948
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2026-02-21 18:51:04 +01:00
Mike Kaganski fa57da9274 fix VirtualDevice GDI handle leaks in SvxNumValueSet
Similar to commit e9392c0c86fcf373e00ede92f8ceeee2c7efd233 (fix
VirtualDevice GDI handle leaks across IconView callers, 2026-02-21).

Change-Id: I521f8cd5679172c5e98172939dd7065cfc8afd86
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199940
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199949
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2026-02-21 18:37:53 +01:00
Jan Luethi 012a1cf4de tdf#145538 Use range based for loop in svdobj.cxx
Change-Id: I725074414072983c4db0c6a78c3b4d68d55e5380
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199943
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Jenkins
2026-02-21 17:29:58 +01:00
Caolán McNamara 3ddada1c3e bubble explicit SvNFLanguageData through calendar switching, etc
Change-Id: Ia43293806e43803301086d00ce3fee4a000ebf94
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199836
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2026-02-21 17:22:43 +01:00
Mike Kaganski 6c2a89a6e2 fix VirtualDevice GDI handle leaks in IconView's set_image callers
Similar to commit e9392c0c86fcf373e00ede92f8ceeee2c7efd233 (fix
VirtualDevice GDI handle leaks across IconView callers, 2026-02-21).

Change-Id: I170e0429f4393f819742824bc49a22674d31b257
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199926
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2026-02-21 17:13:41 +01:00
Stephan Bergmann 15995c4d46 Fix heap-use-after-free
...as seen during CppunitTest_sd_tiledrendering2,

> ==1656617==ERROR: AddressSanitizer: heap-use-after-free on address 0x531000155fe7 at pc 0x55e2bd9ad71d bp 0x7ffde61a2210 sp 0x7ffde61a19d0
> READ of size 177 at 0x531000155fe7 thread T0
>     #0 0x55e2bd9ad71c in __asan_memcpy /home/tdf/lode/packages/llvm-llvmorg-18.1.8.src/compiler-rt/lib/asan/asan_interceptors_memintrinsics.cpp:63:3
>     #1 0x7f9c90d91bb2 in SvMemoryStream::PutData(void const*, unsigned long) /tools/source/stream/stream.cxx:1578:5
>     #2 0x7f9c90d6e77f in SvStream::WriteBytes(void const*, unsigned long) /tools/source/stream/stream.cxx:1195:26
>     #3 0x7f9c83b80030 in vcl::filter::PDFDocument::WriteCatalogObject(int, vcl::filter::PDFReferenceElement*&) /vcl/source/filter/ipdf/pdfdocument.cxx:577:27
>
> 0x531000155fe7 is located 6119 bytes inside of 65180-byte region [0x531000154800,0x53100016469c)
> freed by thread T0 here:
>     #0 0x55e2bd9faf30 in operator delete[](void*) /home/tdf/lode/packages/llvm-llvmorg-18.1.8.src/compiler-rt/lib/asan/asan_new_delete.cpp:146:3
>     #1 0x7f9c90d8f873 in SvMemoryStream::FreeMemory() /tools/source/stream/stream.cxx:1694:9
>     #2 0x7f9c90d92f0f in SvMemoryStream::ReAllocateMemory(long) /tools/source/stream/stream.cxx:1671:9
>     #3 0x7f9c90d91703 in SvMemoryStream::PutData(void const*, unsigned long) /tools/source/stream/stream.cxx:1569:22
>     #4 0x7f9c90d6e77f in SvStream::WriteBytes(void const*, unsigned long) /tools/source/stream/stream.cxx:1195:26
>     #5 0x7f9c83b80030 in vcl::filter::PDFDocument::WriteCatalogObject(int, vcl::filter::PDFReferenceElement*&) /vcl/source/filter/ipdf/pdfdocument.cxx:577:27

(<https://ci.libreoffice.org//job/lo_ubsan/3829/>)

Change-Id: I38abb9870ffcce3aaf198543e130898817d8fe3e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199944
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
2026-02-21 17:10:55 +01:00
Gabor Kelemen 1d9b441da8 tdf#146619 Use more forward declarations in include/framework
Change-Id: I7a41c72fbd16fcde45c59ec19814be7962ded194
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199384
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
2026-02-21 14:59:51 +01:00
Noel Grandin 2e063bf91b speed up SfxItemIter
take some branches out of the hot path, which means
converting some places to for loops.

Change-Id: Idcac06f27761994e2554f723662f242a38d3778c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199853
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2026-02-21 12:38:26 +01:00
RHUSHYA.K.C 1913ce6b17 tdf#97361 Use pythonic subscript access in check_styles.py
Replace getByName() calls with [] subscript access on XNameAccess
containers (StyleFamilies, TableStyles, CellStyles) in
sw/qa/python/check_styles.py. Calls inside assertRaises blocks are
kept as-is since they test UNO exception behavior.

Change-Id: I4e9e8d67fb8107304d33231bf842feedb487ff99
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198938
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Jenkins
2026-02-21 12:35:43 +01:00
László Németh c29c1fd9c2 tdf#163894 sw DOCX: fix char style-ref at multi-page paragraphs
Fix page -> previous pages -> next pages search order for
pages with paragraphs which overlaps adjacent pages.

Follow-up to commit da88bd54eb
"tdf#163894 sw DOCX: (p)refer char style-ref on the actual page",
commit fce6492756
"tdf#163894 sw DOCX: add character styles to style-ref window",
commit 955f0f9b5e
"tdf#163894 sw DOCX: fix style-ref with character style",
commit d4fdafa103 "tdf#160402
writerfilter,sw: STYLEREF field can refer to character style"
and commit 32c588dd11
"tdf#86790: Add support for a word-style styleref".

Change-Id: I8faf292a699c58e0c38b4e59c021e36c795b5f07
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199911
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2026-02-21 10:43:47 +01:00
Bartosz Kosiorek b6857c1f16 tdf#138087 tdf#142548 EMF Fix font scaling and orientation in GM_COMPATIBLE
When importing EMF files, certain records (like EXTTEXTOUTW) in
GM_COMPATIBLE mode were not respecting non-proportional scaling
or single-axis mirroring. This resulted in text that was too wide/narrow
or rotated in the wrong direction.

Key changes:
- Added font width scaling based on the ratio between fXScale and fYScale.
- Handled 180-degree rotation when both axes are negative.
- Corrected font orientation for single-axis mirroring by inverting the
  angle (3600 - orientation) to compensate for the reversed chirality
  of the coordinate system.

Change-Id: Ib1126c192a80b973f343f25bf20ec119d94d71a8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199770
Tested-by: Jenkins
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2026-02-21 08:30:48 +01:00
RHUSHYA.K.C 56ebc8519b tdf#132293 Remove unused imports from tdf99619_create_join_undo_redo.py
Removed unused 'time' and 'DEFAULT_SLEEP' imports from
dbaccess/qa/uitest/query/tdf99619_create_join_undo_redo.py
to improve code quality.

Change-Id: If3f0f227e16463cba8b1491846c3822e10705dfd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198935
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Jenkins
2026-02-21 08:07:33 +01:00
Khaled Hosny 079d72659a Add tests for generating PostScript names of variable fonts
Change-Id: I936ebe92bbbce17ce053baf8e1ba33a4866eda72
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199865
Tested-by: Jenkins
Reviewed-by: Khaled Hosny <khaled@libreoffice.org>
2026-02-21 07:43:18 +01:00
Khaled Hosny 46a382e244 Generate PostScript name for variable font arbitrary instances
Implements Adobe Technical Note #5902: “Generating PostScript Names for Fonts
Using OpenType Font Variations”
https://adobe-type-tools.github.io/font-tech-notes/pdfs/5902.AdobePSNameGeneration.pdf

Change-Id: I0f83bd9565c3bafa5e82265535dbbed4c95fc571
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199864
Reviewed-by: Khaled Hosny <khaled@libreoffice.org>
Tested-by: Jenkins
2026-02-21 07:43:02 +01:00
Khaled Hosny 23dd80ffe5 Generate PostScript name for variable font named instances
Named instances can have a PostScript name which we should use instead
of the font’s PostScript name which would be the same for all instances.

Change-Id: I9343fcb0cefabcfd26ceaefca5059db73da7d18c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199634
Reviewed-by: Khaled Hosny <khaled@libreoffice.org>
Tested-by: Jenkins
2026-02-21 07:42:49 +01:00
Xisco Fauli b800fe7802 tdf#157517: vcl_pdfexport2: Add test
Change-Id: I9084c5b57e1d59064f026b3f391444ce60fad552
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199899
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2026-02-21 07:31:04 +01:00
Caolán McNamara 96c65c2491 bubble the provided SvNFLanguageData through more helpers
Change-Id: I88d10099f68f063eb26c8754eecee9072beece11
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199835
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2026-02-21 03:35:12 +01:00
Michael Weghorn 2754303929 tdf#130857 qt weld: Support "Save merged document" dialog
This means that native Qt widgets are used for that dialog
now when using the qt5 or qt6 VCL plugin and starting LO with
environment variable SAL_VCL_QT_USE_WELDED_WIDGETS=1 set.

The dialog can be triggered like this:

* start Writer
* run the "Tools" -> "Mail Merge" wizard to the end
  (with setting database,...) and close with "Finish"
* press the "Save Merged Documents" button in the toolbar

Change-Id: Ib271f7896aafdddd263e9dd2be0ed02bc91507da
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199881
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-02-21 02:34:03 +01:00
Michael Weghorn d2f6a810fd tdf#130857 qt weld: Support "Print merged document" dialog
This means that native Qt widgets are used for that dialog
now when using the qt5 or qt6 VCL plugin and starting LO with
environment variable SAL_VCL_QT_USE_WELDED_WIDGETS=1 set.

The dialog can be triggered like this:

* start Writer
* run the "Tools" -> "Mail Merge" wizard to the end
  (with setting database,...) and close with "Finish"
* press the "Print Merged Documents" button in the toolbar

Change-Id: I9e1df61722d5f5fa0718ddabcada31f188c89e4e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199875
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-02-21 02:33:57 +01:00
Michael Weghorn 6a0f194cb9 sw: Resave mmresultprintdialog.ui with glade 3.40
The dialog can be triggered like this:

* start Writer
* run the "Tools" -> "Mail Merge" wizard to the end
  (with setting database,...) and close with "Finish"
* press the "Print Merged Documents" button in the toolbar

Change-Id: Ia366f2778f3a11c4bcb19760d84da5f14991a91e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199874
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-02-21 02:33:50 +01:00
Michael Weghorn e4d080b775 tdf#130857 qt weld: Support mailmerge "Creating ..." dialog
This means that native Qt widgets are used for that dialog
now when using the qt5 or qt6 VCL plugin and starting LO with
environment variable SAL_VCL_QT_USE_WELDED_WIDGETS=1 set.

The dialog can be triggered like this:

* start Writer
* run the "Tools" -> "Mail Merge" wizard to the end
  (with setting database,...) and close with "Finish"
* press the "Send Email Messages" button in the toolbar
* press the "Send Documents" button

Change-Id: I780cff238b93845526ed90ab6b5d17a5238a07a4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199872
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-02-21 02:33:44 +01:00
Michael Weghorn 73cf1a9ef3 sw: Resave mmcreatingdialog.ui with glade 3.40
The dialog can be triggered like this:

* start Writer
* run the "Tools" -> "Mail Merge" wizard to the end
  (with setting database,...) and close with "Finish"
* press the "Send Email Messages" button in the toolbar
* press the "Send Documents" button

Change-Id: Ie9fdfd1a95ef4944b50af2d8fbed8c5cda6c5d6e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199871
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-02-21 02:33:38 +01:00
Michael Weghorn 114c01ee31 tdf#130857 qt weld: Support sw "Copy To" dialog
This means that native Qt widgets are used for that dialog
now when using the qt5 or qt6 VCL plugin and starting LO with
environment variable SAL_VCL_QT_USE_WELDED_WIDGETS=1 set.

The dialog can be triggered like this:

* start Writer
* run the "Tools" -> "Mail Merge" wizard to the end
  (with setting database,...) and close with "Finish"
* press the "Send Email Messages" button in the toolbar
* in the "Email merged document" dialog, press the "Copy to..."
  button

Change-Id: I8639ef676f1d83c11b1394f441473fb067ea0ea5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199870
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-02-21 02:33:31 +01:00
Michael Weghorn 8b3603e1b2 sw: Resave ccdialog.ui with glade 3.40
The dialog can be triggered like this:

* start Writer
* run the "Tools" -> "Mail Merge" wizard to the end
  (with setting database,...) and close with "Finish"
* press the "Send Email Messages" button in the toolbar
* in the "Email merged document" dialog, press the "Copy to..."
  button

Change-Id: I7891befcc7e792b01be7a3758bb3d1f813fae357
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199869
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-02-21 02:33:25 +01:00
Michael Weghorn b63cec2b7c dbaccess: Make MessageType an enum class
Change-Id: I8fdf5d7a82b863f7533cb426e4679ac7fab3f91b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199868
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-02-21 02:33:19 +01:00