Commit Graph
509554 Commits
Author SHA1 Message Date
László Németh 3c53797210 tdf#167648 sw letter spacing: implement minimum letter spacing
Implement new paragraph justification option "Minimum letter spacing"
allowing to shrink text lines more, choosing better paragraph layout
instead of hyphenation or rivers of space.

* Implement visual layout of minimum letter spacing.

* Enable Minimum letter spacing spin box on Alignment pane of the
  paragraph formatting dialog window

* Remove also desired letter spacing spin box from the alignment pane.
  It will be better to visualize CharKerning with percentage value
  instead of adding a new user interface to the same setting.

* Set minimum and maximum spin box ranges to [-100, 0] and [0, 500],
  and remove unnecessary handlers.

* offapi: extend API description with ranges of letter spacing
  [-100, 500] and word spacing ([0, 1000]).

* Add ODF unit test.

Note: hyphenated lines, lines with multiple portions haven't
been using custom letter spacing, yet.

Note: resolution of the custom letter spacing is only 1/20 point
(1 twip) yet.

Note: adjust testTdf163149 failing on a test machine, maybe
because the DOCX test document contains the not supported Arial
font, resulting small differences based on the font replacement.

Follow-up to commit f83a04c510
"tdf#167648 cui offapi xmloff sw: add DTP-feature maximum letter
spacing".

Change-Id: I0d686ccbdaa5324eaf6c4c7f6da0f37e76f60611
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190533
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2025-09-03 15:21:58 +02:00
Heiko Tietze 6afd17ac39 Resolves tdf#168259 - Add "Show Again" checkbox to SaveAs query
Change-Id: I60b034d43bfe7069319b6dc70b0b9e00cc5e1e45
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190553
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2025-09-03 13:16:32 +02:00
Noel Grandin 2c179e7225 BitmapEx->Bitmap in some of the OutputDevice::Draw methods
now that most of the client code is using Bitmap

Change-Id: I9370f388afba5d3ad1628d42309fa70ab44f7812
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190499
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-09-03 12:36:43 +02:00
Noel Grandin 219a6b0355 more asserts in pngWrite
just to catch anything I might have missed

Change-Id: I53aa4a6b6bb70d1f7443673ed5cdc477549da329
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190549
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2025-09-03 11:32:56 +02:00
Michael Stahl fc53ab8e76 sw: floating table split
The problem is that the Table Split feature on a floating table results
in 2 tables inside 1 frame, which then cannot be exported to DOCX as a
floating table.

Split the fly frame in this case, and add an anchor node because every
floating table needs its own anchor node.

Change-Id: I7444a75a953fcea60ffc92c2fa7eaca1b044f54b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190009
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
(cherry picked from commit 6f55b9a74f8fdd8609e1aa72388a5f8b97dfcea0)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190075
Tested-by: Jenkins
2025-09-03 11:22:11 +02:00
Noel Grandin 0f393e0c1d Simplify SalBitmap::Create
We don't need the
    Create(const SalGraphics& src,  vcl::PixelFormat)
variant, because all of the call sites just want a copy
of src with the same format as src, and we already have
a Create() variant for that.

Change-Id: Idb452da2de6baf072be82274435cf765e38c518b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190541
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2025-09-03 11:10:10 +02:00
Miklos Vajna bbebb3908f tdf#167761 sw format redline, char style+direct: add ODT import
Open the bugdoc, it contains a format redline that changes the character
style from Strong to Quote and the font size from 24 to 36. Revert the
redline, the char style goes back to Strong, but the font size is 12,
not 24.

The problem is that only the char style was imported in
XMLRedlineImportHelper::InsertIntoDocument(), because direct formatting
is only handled when we have no char style.

Fix the problem by creating an empty item set earlier, similar to how
lcl_SetRedline() does it in the UI code, then both the char style and
direct format can go into that item set.

The format redline's ODT/DOCX filter is now in a reasonable shape with
this.

Change-Id: I28e2a43e218a319045649612e7492821e72649b5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190551
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2025-09-03 10:56:57 +02:00
Noel Grandin 31c520c9e7 fix bug in pngWrite
bug was introduced in
    commit 62f62a3b12
    Author: Noel Grandin <noel.grandin@collabora.co.uk>
    Date:   Thu Aug 7 15:26:56 2025 +0200
    BitmapEx->Bitmap in PngImageWriter

but only started showing up after
    commit 18b488deed (HEAD)
    Author: Noel Grandin <noel.grandin@collabora.co.uk>
    Date:   Tue Aug 26 21:26:33 2025 +0200
    Make Bitmap::HasAlpha() more reliable

and even then, only on my local macOS build.

Change-Id: Ia0d4f7fdbca6cf93f9f7da13eb5e882d088f3e48
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190548
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-09-03 10:06:11 +02:00
Andrea Gelmini 3cc8e28a9b Fix typo
Change-Id: I7b390e9a1a102f0f37eab2459ea8f229bfb58198
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190363
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2025-09-03 08:39:13 +02:00
Andrea Gelmini 17f718923c Fix typo
Change-Id: If520ec4a88d129c5fb9ba9d73e82e9665d77f30d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190137
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Simon Chenery <simon_chenery@yahoo.com>
2025-09-03 08:38:49 +02:00
Stephan Bergmann 1e2977894f Adapt compilerplugins to recent LLVM 22 trunk change
...<https://github.com/llvm/llvm-project/commit/88438ba1f37fa4e0c2db203cd5556e52c9c34c08>
"[clang] AST: fix getAs canonicalization of leaf types (#155028)", which started
to cause

> [CPT] compilerplugins/clang/test/redundantfcast.cxx
> error: 'expected-error' diagnostics expected but not seen:
>   File compilerplugins/clang/test/redundantfcast.cxx Line 77 (directive at compilerplugins/clang/test/redundantfcast.cxx:78): redundant functional cast from 'const tools::Polygon' to 'tools::Polygon' in construct expression [loplugin:redundantfcast]
> error: 'expected-error' diagnostics seen but not expected:
>   File compilerplugins/clang/test/redundantfcast.cxx Line 77: redundant functional cast from 'const tools::Polygon' to 'tools::Polygon' [loplugin:redundantfcast]
>   File compilerplugins/clang/test/redundantfcast.cxx Line 221: redundant functional cast from 'const Primitive2DContainer' to 'Primitive2DContainer' [loplugin:redundantfcast]
> error: 'expected-note' diagnostics expected but not seen:
>   File compilerplugins/clang/test/redundantfcast.cxx Line 20: in call to method here [loplugin:redundantfcast]
>   File compilerplugins/clang/test/redundantfcast.cxx Line 27: in call to method here [loplugin:redundantfcast]
>   File compilerplugins/clang/test/redundantfcast.cxx Line 38: in call to method here [loplugin:redundantfcast]
> 6 errors generated.
> make[1]: *** [solenv/gbuild/LinkTarget.mk:338: workdir/CxxObject/compilerplugins/clang/test/redundantfcast.o] Error 1

Change-Id: I2538d419b7921d5617b03de646c83973184ee1ff
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190527
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
2025-09-03 08:21:08 +02:00
Regina Henschel da42aee859 tdf161948 read & write ODF 'embedded-number-behavior'
ODF has the attribute table:embedded-number-behavior to specify a
natural sort (19.628 part3 ODF 1.4). Its values are 'alpha-numeric',
'double' and 'integer'. LO has the attribute bool bNaturalSort in struct
ScSortParam. The ODF method 'integer' is not implemented in LO.

The patch maps the internal bNaturalSort=true attribute to ODF value
'double'. Until value 'integer' is implemented, it is mapped to value
bNaturalSort=true on import, as that makes at least a natural sort.

This is next step after commit 47eb7f4e4d

Change-Id: Ie8c66e6b2eb2bdf035f0b02ada6ef91b1d921fe7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190437
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Tested-by: Jenkins
2025-09-02 23:32:06 +02:00
Miklos Vajna f073d73356 tdf#167564 sw markdown export: handle tables
Export the bugdoc to markdown, the content of the table is lost.

Common mark has no table support, but there is a spec at
<https://github.github.com/gfm/#tables-extension->, which seems to be
what md4c imports, so export that.

To make sure we export the table content exactly once, don't touch
m_pCurrentPam in OutMarkdown_SwTableNode(), just record the info we need
about the table, then let the iteration loop in SwMDWriter::Out_SwDoc()
process the table content.

This is just minimal support to make sure the table content is in the
output, table alignment is not implemented yet.

Change-Id: I9902fafc1ab5b8b7bc2472b026ab6df490f6407f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190514
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2025-09-02 21:38:29 +02:00
Noel Grandin 32080b4cd7 pass SalGraphics by ref to SalBimap::Create
since it is never nullptr, which flushes out some unused code

Change-Id: I70c7cbc7c3f79e42448fb986c74ef099fdc5d02b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190509
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2025-09-02 20:15:28 +02:00
Mike Kaganski 3bf75e92e9 tdf#108791: Ignore deleted comments in redlines of non-native documents
ODF (and its native applications) can properly handle redline data of
deleted comments. Other formats (or rather, respective applications
like MS Word) don't understand the "comment anchor deletion" markup,
and show the deleted comment as normal.

Commit 419b70b5d4 (tdf#105485 DOCX: import
deleted comments as deleted, 2019-08-26) had implemented correct round-
trip of the redline through DOCX. However, since Word doesn't support
that, it created a situation when users can't correctly collaborate on
documents.

This change introduces a special handling of all non-native file formats
in Writer, where deletion of a comment is handled just as in Word: it is
deleted immediately, instead of marking as deleted. This doesn't affect
deleting ranges of text, which contain comments: they are handled by
both Writer and Word correctly.

The solution works without any compatibility flags. This allows to have
consistent behavior (same types of files will work the same way on all
systems), zero configuration, and maximum functionality using native
formats, unaffected by any settings.

Change-Id: I2f8d3caaecd78af38e11a1ab6900d0afd73ed614
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190376
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-09-02 19:53:45 +02:00
Caolán McNamara 9c73fcad37 cid#1660010 silence Overflowed constant
Change-Id: I8b02798e933404737711bbf776917a9d406d42a6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190519
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-09-02 16:22:37 +02:00
Caolán McNamara 4d3ca43ac7 cid#1659708 Data race condition
Change-Id: I599782383b48417841854fbf0cea213b3316e18d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190518
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-09-02 16:16:22 +02:00
Caolán McNamara 87a553be37 cid#1665198 'Constant' variable guards dead code
dead code now since:

commit e7b460f919
Date:   Sat Aug 30 15:23:11 2025 +0200

    BitmapEx->Bitmap in canvas

    now that Bitmap supports transparency

Change-Id: Ibc296ea82953e571390eea01628adfa71a4f6ab9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190517
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-09-02 16:15:37 +02:00
Caolán McNamara 325cf2232d cid#1665199 Variable copied when it could be moved
Change-Id: Ibcda574263358ab31cb80d304aa505033ffc8c51
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190516
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2025-09-02 16:15:23 +02:00
Noel Grandin 423f95aa13 tdf#168191 Incorrect labels of X-Axis in chart
revert
    commit eeb8ca44ac
    Author: Noel Grandin <noel.grandin@collabora.co.uk>
    Date:   Fri Apr 4 10:02:06 2025 +0200
    tdf#147874 slow sheet switching with large chart2 (2)

Change-Id: I67dcea417be01982b769dd2bea387b4d29f0e732
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190520
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2025-09-02 15:46:41 +02:00
Noel Grandin 4834c56853 tdf#168159 CRASH: deleting columns and undoing
revert
   commit 68db5b64b8
   Author: Noel Grandin <noel.grandin@collabora.co.uk>
   Date:   Sat Jun 28 16:13:53 2025 +0200
   crashtesting ooo120243-1.ods
and
   commit c8742f36fa
   Author: Noel Grandin <noel.grandin@collabora.co.uk>
   Date:   Thu May 22 10:18:48 2025 +0200
   tdf#166684 reduce cost of CellAttributeHelper::registerAndCheck

Change-Id: I4d4442c6927121e7f18e3e08eb1736fa94a896bc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190521
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-09-02 15:46:28 +02:00
Noel Grandin 0b32055f17 add some assert to MetaBmp*
just in case my BitmapEx->Bitmap work ends up sending a Bitmap with alpha to the wrong place

Change-Id: I08bd8a78c88b59b7b5728e0a411b6135b681ea00
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190524
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2025-09-02 15:46:12 +02:00
Heiko Tietze a36c258298 Resolves tdf#168204 - GtkFrame for columns tab page
Ensure visual consistency

Change-Id: Ic9ab1aeb8b238f6e9b2dfea5e15d6bee4dd6739e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190489
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2025-09-02 15:06:23 +02:00
Jim Chen 541c72dbad tdf#147132 - Flatten 'Basic' function implementations
Flattens function implementations by returning early when an argument
check fails rather than using if/else blocks.

Change-Id: I5adad466e41ac95ad5bde43d758babf5932ec304
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187606
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2025-09-02 13:17:01 +02:00
Xisco Fauli b4e581f3e3 poppler: upgrade to 25.09.0
Downloaded from https://poppler.freedesktop.org/poppler-25.09.0.tar.xz

Change-Id: Ic7f3abd64d129543dcdc370816a0d69e5a59be90
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190513
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2025-09-02 12:35:00 +02:00
Noel Grandin c483838add BitmapEx->Bitmap in SoftEdgePrimitive2D
now that Bitmap supports transparency

Change-Id: Ib8f9adb2910ca104bb4abb82f699dcc78cfd6abf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190510
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-09-02 12:13:41 +02:00
Theppitak Karoonboonyanan 31dbac4517 Update git submodules
* Update dictionaries from branch 'master'
  to f092998f6ea6a39f6b785e96516e21e62b716a00
  - tdf#164715 Thai Spell: Address key-based typos and Sara Am encoding
    
    * th_TH/th_TH.aff:
      - Add MAP entries to address non-standard Sara Am encoding.
      - Add KEY entry to guide suggestions based on keyboard layout.
    * th_TH/typos-sara-am.txt, th_TH/typos-key.txt:
      - Add test cases for Sara Am and key-based typos.
    
    Miscellaneous improvements:
    * th_TH/th_TH.dic:
      - Remove "จุงเบย", a slang based on keyboard typo.
      - Add words: ขะแมร์, ขะแมร์กอฮอม, โพ้ง.
      - Add ph: field to "จริง".
    * th_TH/typos-common.txt:
      - Updated to cover the changes.
    
    Change-Id: I71a5f40313a706c83d48f2457a5f6e14f9db28f4
    Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/187095
    Tested-by: Hossein   <hossein@libreoffice.org>
    Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
2025-09-02 11:27:08 +02:00
Pranam Lashkari 2bca699285 uno: handle parameters to LineStyle in writer(SID_FRAME_LINESTYLE)
new parameters introduced in 0357d749487ad540a3779d2c3af23357c942620b

Change-Id: I7b20090901a88110710937f6aae249c23f48f9a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190472
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
(cherry picked from commit f65cceb2c43ffe9bed845a31aaf3ceb6f80e342d)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190501
Tested-by: Jenkins
Reviewed-by: Pranam Lashkari <lpranam@collabora.com>
2025-09-02 11:25:05 +02:00
Pranam Lashkari e32f6f7e4f sw: handle uno:Orientation for writer
Change-Id: I771a6db9cda410912b323918d04f561ab2b3ac7b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189926
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
(cherry picked from commit 1b235ee7d1190b5cb020fd40aae9ec5c8d2b383d)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190504
Reviewed-by: Pranam Lashkari <lpranam@collabora.com>
Tested-by: Jenkins
2025-09-02 11:24:52 +02:00
Pranam Lashkari 65639e909f svx: added parameter for writer page size uno command
parameter for SID_ATTR_PAGE_SIZE

Change-Id: I3f44dc8bc9397893f9214ee8915eb592d32c6894
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189890
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
(cherry picked from commit fb4f5e6a68fb74b37356bb9ca11f89df1c106184)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190503
Reviewed-by: Pranam Lashkari <lpranam@collabora.com>
Tested-by: Jenkins
2025-09-02 11:24:40 +02:00
Noel Grandin 49e84a4f35 simplify drawAlphaBitmap paths
they either return true, or they fail in ways that cannot usefully be recovered from.

So just remove the bool return value, and drop the fallback code.

Change-Id: I8a6ac9925defd0a304281f223f11393106b63e28
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190497
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-09-02 07:53:56 +02:00
Noel Grandin e1cd4c02ae BitmapEx->Bitmap in AnimatedGraphicPrimitive2D
now that Bitmap supports transparency

Change-Id: Ifb268c51fce35881d3f4219670c925716c42a054
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190486
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2025-09-02 07:53:39 +02:00
Christopher Sherlock 168b24b76a vcl: flatten AnimationRenderer::draw()
Change-Id: I05b717cefe1686b65bf26d17adbc45e2a4bee8e8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182060
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2025-09-02 07:48:19 +02:00
Christopher Sherlock 33f050624e vcl: flatten AnimationRenderer::draw()
Change-Id: Ie5b3c969e6fa13eda526ee3123f7160e844711c2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182059
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2025-09-02 07:47:14 +02:00
Christopher Sherlock 6ef6e31e32 vcl: flatten OutputDevice::DrawGradient()
Change-Id: I1042b3750025277b4c24d57fdd7751685e69dfce
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189703
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-09-02 07:44:35 +02:00
Michael Weghorn 4bbb8919f4 tdf#130857 qt weld: Support sc "Delete Contents" 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 via "Sheet" -> "Clear Cells"
in Calc.

Change-Id: Icd529721e15c0690b53d9eee7d680ab257ca8e12
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190493
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2025-09-02 07:31:49 +02:00
Michael Weghorn 5620da919e sc: Resave deletecontents.ui with glade 3.40
This dialog can be triggered in Calc using
"Sheet" -> "Clear Cells".

Change-Id: Ie0ae34a87e1b4933dfb26eecbdf4c1e627873d77
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190492
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2025-09-02 07:31:43 +02:00
Michael Weghorn 92dbb34778 tdf#130857 qt weld: Support sc "Delete Cells" 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 via "Sheet" -> "Delete Cells"
in Calc.

Change-Id: Iabb35d9e9b53a0c5a79080e30b66b57e4740641f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190491
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-09-02 07:31:38 +02:00
Michael Weghorn 1bf14bd272 sc: Resave deletecells.ui with glade 3.40
This is used for the Calc "Sheet" -> "Delete Cells"
dialog.

Change-Id: I2928180f306c86999acf8c2c8aa1d31b2ccc603f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190490
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-09-02 07:31:32 +02:00
Justin Luth e16da933cd tdf#165852 Revert "simplify bookmark name calculation"
This reverts 25.2 commit 0c6599ca14,
and commit bcf4b99874.

because rSh.SetCursorInHdFt can move to a different page/footer
and thus rSh.GetVirtPageNum() will change value
on even and odd footers.

Change-Id: I2d29e5c9f7538c47c6e11c8e7432f5f8d880bf72
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190507
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2025-09-02 03:34:12 +02:00
Patrick Luby 25ffb53675 Revert: draw alpha bitmaps directly to print graphics on macOS
This partially reverts commit fa3dd1c3a1.
Apparently, the special handling of alpha bitmaps when printing on macOS
is no longer needed and the alpha blending code used on other platforms
now works as expected on macOS.

Change-Id: Ib72e57ec679971c8db06160ae0354c8ba45be91e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190496
Tested-by: Jenkins
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
2025-09-01 23:15:26 +02:00
Thorsten Behrens 8e770e6f89 sc: un-raggify printfun comments
Change-Id: Ibfb14cde66a7136615a2f9dc7dad0815e536083f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190435
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@collabora.com>
2025-09-01 22:28:29 +02:00
Noel Grandin 50fafaeeda BitmapEx->Bitmap in Primitive2dXmlDump
now that Bitmap supports transparency

Change-Id: I3d755c87107dbf644b53b4dbbcbeb12248b171b3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190482
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-09-01 22:27:38 +02:00
Noel Grandin ebe44a65a0 BitmapEx->Bitmap in ShadowPrimitive2D
now that Bitmap supports transparency

Change-Id: I33ffb206088e1516121f9dca5b53bb55bc90bec6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190500
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-09-01 22:27:27 +02:00
Noel Grandin c87d976672 BitmapEx->Bitmap in GlowPrimitive2D
now that Bitmap supports transparency

Change-Id: Id5d99268b832d832572153fb82991511be431531
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190485
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-09-01 22:26:58 +02:00
Noel Grandin 7c0163e0cb BitmapEx->Bitmap in some comments
leftover from earlier conversion

Change-Id: I8d2f5a79709ef0975c444697f67e762a4cc9b28d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190484
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-09-01 22:26:49 +02:00
Noel Grandin 11f8c3a848 tdf#168120 line thickness menu is transparent
regression from
    commit 088a7c7c45
    Author: Noel Grandin <noelgrandin@gmail.com>
    Date:   Tue Sep 24 16:18:11 2024 +0200
    remove alpha device from OutputDevice

Change-Id: I898218fe7ba9f5fc9dce74fcc3655fdc8d7172d3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190483
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-09-01 21:25:26 +02:00
Ilmari Lauhakangas 0e087513de tdf#151710 Don't activate Enclose with characters by default
It is disruptive for non-power users, who then have trouble
finding how to turn it off.

Change-Id: Ib0d849d93794f797aca03d68ead4ef605667aa9e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190431
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-09-01 19:58:49 +02:00
Noel Grandin 62846d27a2 start converting the SalGraphics backend from BitmapEx->Bitmap (2)
pass a single SalBitmap to drawAlphaBitmap

Change-Id: I7e3a732055d4b5de1cd77541593d0bad6d96156e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190436
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2025-09-01 18:24:06 +02:00
Noel Grandin 89e1a9c95d BitmapEx->Bitmap in implInterpretMetafile
now that Bitmap supports transparency

Change-Id: Ic11bea05f76566aa96b722c13581f9d4ef0225fa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190481
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-09-01 18:22:54 +02:00