Commit Graph
508705 Commits
Author SHA1 Message Date
Noel Grandin 702de5e98b clone submodules shallow by default
which makes it vastly quicker and easier to get going with
these very large repos.

Change-Id: Ib1bb8e824a6a2228be13ab4379e7f5e660371cea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189002
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2025-08-06 18:36:42 +02:00
Michael Stahl 6204dfeb53 tdf#167833 sw: if an anchored object is pasted, don't select it
Instead, leave the cursor in the text at the paste location, like
(reportedly) some version of Word does.

This can be configured with the new
Office::Writer::Cursor::Option::SelectPastedAnchoredObject

Change-Id: Id1ddeb0e17c5cd568100d5a8169d929487d16749
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189001
Reviewed-by: Michael Stahl <michael.stahl@collabora.com>
Tested-by: Jenkins
2025-08-06 16:58:39 +02:00
Andrea Gelmini b0e0ce33a0 Fix typo
Change-Id: I8fd866a1ac73cb925f95c2730051b8c493b02309
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189010
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2025-08-06 16:31:00 +02:00
Olivier Hallot 7032ec8879 Update git submodules
* Update helpcontent2 from branch 'master'
  to 792b1d038e77611ad7fcdba0c984090eb56a0288
  - Fix typo in COUNT, COUNTA examples
    
    Change-Id: I9bf1ccf635a2a56bc6468ad7be767f2f6dcf5141
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/189004
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
    Tested-by: Jenkins
2025-08-06 15:37:46 +02:00
Heiko Tietze 21faff90e7 Related tdf#167446 - UI-less tab style (reportdesign)
Change-Id: Ifa65abc73ae2acf13fc70cb97cd1dd5be6603c5a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189003
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2025-08-06 15:36:40 +02:00
Noel Grandin 88e9af00f2 BitmapEx->Bitmap in PngImageReader
now that Bitmap supports transparency

Change-Id: If8db5317d51ef22695df59aaee65a6ac4a914f81
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188992
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-08-06 15:23:30 +02:00
Noel Grandin dce9ef4e73 BitmapEx->Bitmap in SdrHdl
now that Bitmap supports transparency

Change-Id: I928e05c94da01ddae8760cd71299902d68096acc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188991
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-08-06 15:23:22 +02:00
Bartosz Kosiorek 1b68f85903 tdf#167616 EMF Add support for EMR_ANGLEARC record
Change-Id: Ic872f80b2a318ac7c0f3b0cbdb4ad285795989c8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188865
Tested-by: Jenkins
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2025-08-06 14:47:01 +02:00
Noel Grandin 14348d8d40 BitmapEx->Bitmap in OverlayAnimatedBitmapEx
normal that Bitmap can handle transparency

Change-Id: Ia42e20a0c969c34de22ab35c54496ed608593ef6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188990
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-08-06 14:43:22 +02:00
Jean-Pierre Ledure e72f7d6dd3 ScriptForge new session.GetRangeFromCalc method
The
   GetRangeFromCalc(filename: str, range: str)
method (stored in the Session service)
reads the values contained in the given
range located in the given Calc file.

The file does not need to be open. This
makes this shortcut particularly useful.

The content of the range is returned either
- as a scalar for a single cell
- as a 1D-array or a tuple when the range
  is contained in a single row or column
- as a 2D-array or a tuple of tuples for
  a rectangular range of adjacent cells.

Clean error management is included in the code.

The method is available for Basic and Python
user scripts.

The user documentation needs to be updated.

Change-Id: I39cd218f0bf3a6a21e3ada42826069eeee451c6e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189000
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
2025-08-06 14:34:55 +02:00
Sahil Gautam 4b2f775d8d don't use the SLOT_ID directly, rather get it from a static getter
+ also mention the SLOT_ID for easier grepability

Change-Id: I91a4e148bccd31529c374edd64bac43db96f21bf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188948
Tested-by: Jenkins
Reviewed-by: Sahil Gautam <sahil.gautam@collabora.com>
2025-08-06 14:16:14 +02:00
Olivier Hallot b3e402cd11 Update git submodules
* Update helpcontent2 from branch 'master'
  to 2a2fa522416e8812a85f9b5441280ffb769ad5f9
  - Fix mistake in chart border color help
    
    Change-Id: I06facdfaf5d85ac2e64cfba8aad5f9d5ae257321
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/188927
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
    Tested-by: Jenkins
2025-08-06 14:00:38 +02:00
Noel Grandin e685e2eb2b BitmapEx->Bitmap in Bitmap*BlendFilter
now that Bitmap supports transparency

Change-Id: I4ceeb67a20d9c6b09d2667f680030aa49b9c4b0a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188988
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2025-08-06 13:21:13 +02:00
Heiko Tietze ca65111358 Related tdf#167446 - UI-less tab style (cui)
Change-Id: I09a69bc3b36342251c71cf1e2456f2c239bb0811
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188998
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2025-08-06 13:18:50 +02:00
Caolán McNamara a41fa46b5f cid#1659670 Variable copied when it could be moved
and

cid#1659673 Variable copied when it could be moved
cid#1659676 Variable copied when it could be moved
cid#1659677 Variable copied when it could be moved
cid#1659680 Variable copied when it could be moved
cid#1659681 Variable copied when it could be moved
cid#1659684 Variable copied when it could be moved

Change-Id: I2f56bef35f6a0a4acdfee13348f1b56c16a345f8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188997
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-08-06 12:49:19 +02:00
Caolán McNamara 7dfb235a60 cid#1659628 Data race condition
don't unlock guard on simple return case, so guard is always
still locked on leaving this method

Change-Id: I5c8aad5aad20280782e099cdb8a83bf434446249
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188996
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2025-08-06 12:49:11 +02:00
Caolán McNamara 9a2bcf52fb swap the if/else order
put the immediate return first, no logic change intended. Drop
stray ; at the of method.

Change-Id: Ifad2c2c25bfb3237710920dd945abcfeca01f655
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188995
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-08-06 12:48:49 +02:00
Caolán McNamara a2bbf65bb4 cid#1659628 can only reach this line in the case of a caught exception
so move it into that block protected by the rGuard.lock()

Change-Id: I8e0bde5a7de6ec5428b405f734d6c8e54fb1645e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188994
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2025-08-06 12:48:06 +02:00
Noel Grandin 6348ffb259 BitmapEx->Bitmap in SvxBmpMask
now that Bitmap supports transparency

Change-Id: I42961c57e37340f4a8df83316be5d24126dbb615
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188987
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2025-08-06 11:35:03 +02:00
Heiko Tietze aa4fc14b67 Related tdf#167446 - UI-less tab style (Draw/Impress format)
Change-Id: Ie079642c50142c8c8353a2fe1091aceeffdc1152
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188993
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2025-08-06 11:13:29 +02:00
Caolán McNamara fc6a456590 cid#1660229 Double lock
OInterfaceContainerHelper4<ListenerT>::disposeAndClear will leave
rGuard locked when it finishes

Change-Id: Ifd01c7ed8d70e6332c1ac4ddc9b6b0315610d996
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188976
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-08-06 09:34:06 +02:00
Caolán McNamara 368cd2678f cid#1660185 Variable copied when it could be moved
and

cid#1660184 Variable copied when it could be moved
cid#1660183 Variable copied when it could be moved
cid#1660182 Variable copied when it could be moved
cid#1660181 Variable copied when it could be moved
cid#1660177 Variable copied when it could be moved
cid#1660176 Variable copied when it could be moved

Change-Id: Id5c90c0a0d4a0a86ef0f4b513b45c2db3a97b207
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188975
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-08-06 09:33:31 +02:00
Noel Grandin 7c626d2fb3 BitmapEx->Bitmap in OverlayBitmapEx
now that Bitmap can support transparency

Change-Id: I75b2bab5c134c2ff7a29728fa0986ea5d2b7fbcc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188971
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2025-08-06 08:51:00 +02:00
Stephan Bergmann 85933f0473 Skip dubious LOKit SolarMutex acquire for Emscripten
Otherwise, running the embindtest code in a LOKit-based scenario (analogously to
how it is run under certain circumstances via

  --post-js $(SRCDIR)/unotest/source/embindtest/embindtest.js

in desktop/Executable_soffice_bin.mk) would cause a deadlock when
TestThread::execute (in unotest/source/embindtest/embindtest.cxx) calls

  SolarMutexGuard g;

on that additional thread, but the main thread never released the SolarMutex
because of that acquire in lo_runLoop.

The code in lo_runLoop had originally been added with
b693fb5cf1 "We apparently need to drop the Solar
Mutex when exiting lo_runLoop() on iOS" (curiously using explicit calls to
acquire and release, instead of using an additional SolarMutexGuard; the
difference being that a SolarMutexGuard would automatically be released upon an
exception, which skips the explicit call to release), originally only for iOS,
then extended to Android with 0abdf307ea "android:
Unregistering in runLoop() is important even on Android", then extended to
Emscripten with 1e421b30e2 "Attempt to add ifdefs
for WASM (Emscripten) for LOKit-based code" for no apparent reason.

I have no idea how the Android and iOS scenarios are meant to cope with
soffice_main being called with SolarMutex being acquired twice, so that no other
threads could ever acquire it (except thanks to temporary uses of
SolarMutexReleaser, which might explain things).

However, what happens in the Emscripten scenario is that executing soffice_main
leads to a call to emscripten_set_main_loop_arg in SvpSalInstance::DoExecute
(vcl/headless/svpinst.cxx), which quits by throwing an exception all the way to
the JS event loop, so that in lo_runLoop the inner SolarMutexGuard automatically
gets released, while the outer explicit call to release got skipped, leaving the
SolarMutex locked forever on the main thread.

As there is no apparent reason why the Emscripten scenario should have this
double locking here (and the call to vcl::lok::unregisterPollCallbacks at the
bottom of lo_runLoop would never be executed in the Emscripten scenario, anyway,
thanks to the exception being thrown from emscripten_set_main_loop_arg), and
1e421b30e2 "Attempt to add ifdefs for WASM
(Emscripten) for LOKit-based code" maybe just added it in a blind copy/paste,
lets just skip it.

(And add a DBG_TESTNOTSOLARMUTEX to the embindtest code, to document that code's
assumptions.)

Change-Id: Ibae0d1d8b5f29f08d30829251ed2bb58413ea4e5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188973
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
Tested-by: Jenkins
2025-08-06 07:55:38 +02:00
Heiko Tietze ea8342a9a5 Related tdf#167446 - UI-less tab style (Calc formatting)
Change-Id: I733a120a82e1090d3ec323c355e0d10d5347febb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187537
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2025-08-06 07:28:09 +02:00
Michael Weghorn cf8e8f4912 tdf#130857 qt weld: Implement QtInstanceTreeView::iter_next
This will e.g. be used by the "Tools" -> "AutoCorrect"
-> "AutoCorrect Options" dialog.

Change-Id: I22a1d2f894a4edb4d1c881ebe74c6176a581bf64
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188947
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-08-06 07:15:53 +02:00
Michael Weghorn 16f588da18 gtk: Drop always false GtkInstanceTreeView::iter_next param
`bOnlyExpanded` is always false since

    commit 87e33c3c1c
    Date:   Tue Sep 1 17:11:08 2020 +0100

        drop some unused methods

, so drop the param and merge the helper
function into the other
GtkInstanceTreeView::iter_next.

Change-Id: If0fea58eb0299f552a78d5241f647294664dbb49
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188946
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2025-08-06 07:15:46 +02:00
Michael Weghorn 670e20c592 tdf#130857 qt weld: Implement QtInstanceTreeView::all_foreach
Do it similar as the GtkInstanceTreeView implementation
does by reusing existing methods to get the first
iterator and iterate from there.

This depends on QtInstanceTreeView::iter_next to also
get implemented to actually be useful, would currently
assert there.

Change-Id: If7e20d5b1104ab66c1f3eba0574406d49a926b5e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188945
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-08-06 07:15:40 +02:00
Michael Weghorn 605da0cc74 tdf#130857 qt weld: Implement QtInstanceTreeView::bulk_insert_for_each
This will e.g. be used by the "Tools" -> "AutoCorrect"
-> "AutoCorrect Options" dialog.

Change-Id: I8bcd8c584558900a99579af16572da714bcbdd61
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188940
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2025-08-06 07:15:33 +02:00
Michael Weghorn 94442bd94e tdf#163802 a11y: Fully initialize SpellDialog before showing
SpellDialog can't do all of its initialization in the
ctor because it needs to call virtual methods on the
SpellDialogChildWindow* that gets passed as a param,
but that one calls the SpellDialog from its ctor, i.e.
it hasn't been fully initialized yet.

For that reason, the part of the initialization done in
InitHdl was delayed by using a user event (posted via
Application::PostUserEvent).
This also includes setting the dialog title based on
the selected text language.

As a consequence of this, the title, and therefore the
accessible name of the dialog would change after it was
shown, which would result in Orca speech output for the
dialog getting interrupted (see tdf#163802).

Avoid the problem by not depending on the next user
event getting processed, but calling the method
that does the rest of the initialization manually
after the SpellDialogChildWindow constructor has
finished.

In order to do that, add a virtual SfxChildWindow::Initialize
(that does nothing) and override it in the
SpellDialogChildWindow subclass.

Since SpellDialog::Initialize (renamed from SpellDialog::InitHdl)
is now guaranteed to be called before the dialog shows
and that one always sets a title (by calling
UpdateBoxes_Impl), drop the no longer needed

    // fdo#68794 set initial title for cases where no text has been processed
    // yet to show its language attributes
    OUString sTitle = rParent.HasGrammarChecking() ? m_sTitleSpellingGrammar : m_sTitleSpelling;
    m_xDialog->set_title(m_xDialog->strip_mnemonic(sTitle.replaceFirst("$LANGUAGE ($LOCATION)", "")));

from the ctor.

Additional fix for GTK 3 to avoid incorrect
object:property-change:accessible-name events from
getting sent when the title didn't actually change [1]:

    commit 0cc9e603f4635c31d2a8a5f602869474d329e728
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Mon Aug 4 15:31:06 2025 +0200

        a11y: Only notify when window title changed

        In gtk_window_set_title_internal, return early
        when called with the same title as is already set.

        This also ensures that notifying of a change
        of PROP_TITLE only happens when the property
        actually changed, which also prevents invalid
        object:property-change:accessible-name AT-SPI
        events from getting emitted on the accessibility
        layer when the title hasn't actually changed.

        Fixes: #7690
        Part-of: <https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/8814>

Output of the pyatspi listener script from tdf#163802,
attachment 197494 for gtk3 before this LO commit (note the
object:property-change:accessible-name event after
the object:state-changed:showing event):

    event type: object:property-change:accessible-name, event source: Spelling: , states: ['ENABLED', 'SENSITIVE', 'SHOWING', 'VISIBLE']
    object:property-change:accessible-name(0, 0, Spelling: )
            source: [dialog | Spelling: ]
            host_application: [application | soffice]
            sender: [application | soffice]

    event type: object:state-changed:showing, event source: Spelling: , states: ['ENABLED', 'SENSITIVE', 'SHOWING', 'VISIBLE']
    object:state-changed:showing(1, 0, 0)
            source: [dialog | Spelling: ]
            host_application: [application | soffice]
            sender: [application | soffice]

    event type: object:property-change:accessible-name, event source: Spelling: English (UK), states: ['ENABLED', 'SENSITIVE', 'SHOWING', 'VISIBLE']
    object:property-change:accessible-name(0, 0, Spelling: English (UK))
            source: [dialog | Spelling: English (UK)]
            host_application: [application | soffice]
            sender: [application | soffice]

Output with this change in place:

    event type: object:property-change:accessible-name, event source: Spelling: English (UK), states: ['ENABLED', 'SENSITIVE', 'SHOWING', 'VISIBLE']
    object:property-change:accessible-name(0, 0, Spelling: English (UK))
            source: [dialog | Spelling: English (UK)]
            host_application: [application | soffice]
            sender: [application | soffice]

    event type: object:state-changed:showing, event source: Spelling: English (UK), states: ['ENABLED', 'SENSITIVE', 'SHOWING', 'VISIBLE']
    object:state-changed:showing(1, 0, 0)
            source: [dialog | Spelling: English (UK)]
            host_application: [application | soffice]
            sender: [application | soffice]

[1] https://gitlab.gnome.org/GNOME/gtk/-/commit/0cc9e603f4635c31d2a8a5f602869474d329e728

Change-Id: I6cdfe8443ae435e1e644b78942cf63e9df1d400f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188937
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-08-05 23:47:16 +02:00
Michael Weghorn 82422565eb tdf#163802 Merge SpellDialog::Init_Impl into ctor
This is also to make a bit more obvious what part of the
initialization happens in the ctor and what only
happens later:
The (similarly named) SpellDialog::InitHdl
only gets called later. (And the logic for the latter
will change and it will be renamed to
SpellDialog::Initialize in an upcoming commit.)

Change-Id: Ia2647eddb15163f92c10b0ae9396b54895a38192
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188936
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2025-08-05 23:47:09 +02:00
Michael Weghorn 44a6a4380e tdf#130857 Define widgets in spelling dialog in order
Switch the order in which the widgets in the .ui file
are defined so that the order matches the visual appearance
and logical order, which makes sure that tab focus order with the
Qt-based VCL plugins is correct as well when using native Qt
widgets (SAL_VCL_QT_USE_WELDED_WIDGETS=1), where
focus order is (by default) based on widget creation order.

See

    commit 02692566ad
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Thu Oct 24 17:43:35 2024 +0200

        tdf#130857 optnewdictionarydialog.ui: Define focusable widgets in order

for more background.

The dialog can be triggered as follows:

* start Writer
* type some random text
* "Tools" -> "Spelling"

The dialog is not yet declared as supported for use with
native Qt widgets, but in a WIP branch it makes moving
focus with the Tab key work as expected.

Change-Id: I3a8d750a543deeab45ee0085088f4f90f32307a9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188938
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-08-05 23:46:52 +02:00
Noel Grandin 2ff6d0a32b BitmapEx->Bitmap in VCLXBitmap
now that Bitmap can handle transparency

Change-Id: Ib210be6432741b20659aba63d081715cb9110924
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188970
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2025-08-05 22:23:31 +02:00
Caolán McNamara d356341535 cid#1660220 Variable copied when it could be moved
and

cid#1660211 Variable copied when it could be moved
cid#1660204 Variable copied when it could be moved
cid#1660195 Variable copied when it could be moved
cid#1660194 Variable copied when it could be moved
cid#1660193 Variable copied when it could be moved
cid#1660191 Variable copied when it could be moved
cid#1660188 Variable copied when it could be moved
cid#1660187 Variable copied when it could be moved

Change-Id: Ifcb179f73723e2d43144e242fa9c1b5ac332cd4f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188965
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-08-05 22:12:32 +02:00
Caolán McNamara 2dd4057499 cid#1662007 Variable copied when it could be moved
and

cid#1660297 Variable copied when it could be moved
cid#1660225 Variable copied when it could be moved
cid#1660221 Variable copied when it could be moved

Change-Id: I3b0d8a60b216339b0220ff80255e5d24882d8f1b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188964
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-08-05 22:12:24 +02:00
Bayram Çiçek f84f8f2ea4 tdf#167689: Calc: Support xmlMaps.xml
- add Relationship::XMLMAPS in relationship.inc

- save xl/xmlMaps.xml reference into [Content_Types].xml
  - <Override PartName="/xl/xmlMaps.xml" ContentType="application/xml"/>

- save xl/xmlMaps.xml relationship into xl/_rels/workbook.xml.rels
  - <Relationship Id="." Type=".../relationships/xmlMaps" Target="/xl/xmlMaps.xml"/>

- import & export xl/xmlMaps.xml

- import & export <xmlColumnPr> of <tableColumn> (in xl/tables/table[n].xml)

Signed-off-by: Bayram Çiçek <bayram.cicek@collabora.com>
Change-Id: I9666fc921afb7332305bc1d9ce3f2a092e376002
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188451
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2025-08-05 22:11:51 +02:00
Noel Grandin b3de253481 BitmapEx->Bitmap in CGMBitmapDescriptor
now that Bitmap can handle transparency

Change-Id: I7e495152c15b7616d6b5ab19714a29300197eb48
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188969
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-08-05 21:55:51 +02:00
Andrea Gelmini b886a80896 Fix typo
Change-Id: I90fd98abfe40564410b528804df3fe17982bce91
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188966
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2025-08-05 21:37:58 +02:00
Noel Grandin 0a4405f9aa BitmapEx->Bitmap in VCLUnoHelper::CreateBitmap
now that Bitmap can handle transparency

Change-Id: I1de94ef39e00d16b052573ee323886953b574570
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188968
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-08-05 21:07:56 +02:00
Noel Grandin 282c6ade09 BitmapEx->Bitmap in convertMetafileToBitmap
now that Bitmap can handle transparency

Change-Id: Iba7fc9164e7dfc0c84a5c13f8336cba0820a3ce7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188967
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-08-05 21:07:44 +02:00
Armin Le Grand (collabora) 0dd4b24405 StripPortions: Further simplify EditEngine II
Have now found a way to also change ImpEditEngine::
DrawText_ToEditView to work without StartPosition.
Thus adapted StripAllPortions accordingly, plus
logical follow-up changes where StartPosition/
Origin is not needed/Point(0, 0) used.

Change-Id: I1513778943705967752dddf8923012b66561e10a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188958
Tested-by: Jenkins
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
2025-08-05 20:11:39 +02:00
Noel Grandin 3ecd1f75d4 remove unused suppressions
Change-Id: Ifcc0de5aeb263ff3f7809ddccdce21cd2798a791
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188960
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-08-05 18:50:24 +02:00
Noel Grandin 70f851bab5 BitmapEx->Bitmap in vcl::Vectorizer
now that Bitmap can handle transparency

Change-Id: Iecfb2f5905f7eeef8411cca974a17973e0e8dbda
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188961
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2025-08-05 18:41:10 +02:00
Noel Grandin 9791aaaa31 tdf#167643 Selection is black
regression from
    commit 088a7c7c45
    Author: Noel Grandin <noelgrandin@gmail.com>
    Date:   Tue Sep 24 16:18:11 2024 +0200
    remove alpha device from OutputDevice

I am a little confused here. I would have thought kSrcOver would
be the right blend mode, but instead it is kSrcATop
which produces the "right" answer.

Change-Id: If5bfb0ab139cbed5acaba2cc66c5036ca091818c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188957
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-08-05 15:53:14 +02:00
Christopher Sherlock 47a8ba44e6 vcl: rename parameters of lcl_BlendBitmapWithAlpha()
Change-Id: I2daff5bf4ab3c07b8f8b656999ba1afe0f9c6f4e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188798
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-08-05 15:52:06 +02:00
Noel Grandin 6e001cf2a1 BitmapEx->Bitmap in ThumbnailViewItem
now that Bitmap can handle transparency

Change-Id: Ibe7f96247253a3fe9ca38fd09224ce85d0802d84
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188955
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2025-08-05 15:51:01 +02:00
Noel Grandin 00f16b7c79 BitmapEx->Bitmap in canvas
now that Bitmap can handle transparency

Change-Id: I8e8e48cd5e81b1506871aebf1f70a754c4772c49
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188944
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-08-05 15:50:51 +02:00
Noel Grandin ab83cea313 BitmapEx->Bitmap in CanvasTransformBitmap
now that Bitmap can handle transparency

Change-Id: I09c2f4a5a22c6e8162c325bd7f364dfcd808e3e1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188943
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-08-05 15:50:42 +02:00
Noel Grandin cae3854f05 BitmapEx->Bitmap in SfxApplication
now that Bitmap can handle transparency

Change-Id: I0a85aa6dc031a7b3fc142f4360e92d3190f0c05c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188942
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2025-08-05 14:20:33 +02:00
Noel Grandin 848e60d4f3 BitmapEx->Bitmap in convertPrimitive2DSequenceToBitmapEx
now that Bitmap can handle transparency

Change-Id: Ie2b8e7d830a6e11794bb9fd11b1c0ab391653f6d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188941
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-08-05 14:20:24 +02:00