Commit graph

494939 commits

Author SHA1 Message Date
Jim Raykowski
857fe51bc8 SwContentTree: remove repeated pointer assignment
The selected entry does not change within the CommandHdl function
therefore assignment of the pointer to the selected entry SwContentType
does not need to be repeated elsewhere in the function.

Change-Id: I025ecb9259e2ee46a64d55c75d0c3f3c8cc625ce
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166018
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2024-04-14 05:08:07 +02:00
Taichi Haradaguchi
8b599d60fe Update git submodules
* Update helpcontent2 from branch 'master'
  to 1f63165a8f02d96fbdb0b9b8bea287389edb1121
  - Change the strings in the help pages
    
    ...to follow changes in the UI strings.[1][2][3]
    
    [1] "Fix extended tip in mmselectpage.ui"
    <https://git.libreoffice.org/core/commit/1aeec70c2a635a69e90d2643f2e524bb342378ae>
    [2] "Fix extended tips"
    <https://git.libreoffice.org/core/commit/b5c40d4864b07861e889244834635c8cfc957d6e>
    [3] "Add the strings "dialog" after "Macro Selector" in extended tips"
    <https://git.libreoffice.org/core/commit/a8fda337a88ca4d47218efa9ee44e7bfd590d30c>
    
    Change-Id: I8b99344960d284e149b52534dfcd075e5c687816
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/165123
    Tested-by: Jenkins
    Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2024-04-14 03:45:49 +02:00
Caolán McNamara
63b237e1e8 Related: tdf#160056 don't set nVal twice
Change-Id: I0da3e0c7f18271f6104d52b50d65e96564650b8b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166054
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-04-13 21:28:44 +02:00
Caolán McNamara
1d63489ae7 Related: tdf#160056 rename/rework GetDoubleAsReference to SetDouble
Change-Id: I7e79e8d422fe7f426bb7c7360b11f836a5484574
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166053
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-04-13 21:28:16 +02:00
Caolán McNamara
91ad46fc2a ofz#68019 Null-dereference READ
Change-Id: I9ad5d907c4739877d51b74ef0f2e275d94119f09
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166052
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-04-13 21:27:12 +02:00
HakimOttey
7d38bdbf96 tdf#143148 replace includes guards in vcl textlineinfo with pragma
Change-Id: I733263074a5c4911499a6b5becfbbc87cbda968d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166044
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-04-13 20:40:02 +02:00
Aaron Bourdeaux
734a84f33d tdf#158067 Replace OUStringLiteral with _ustr
Change-Id: I3a58469c52055121e8726cee2d3e42ecd23cdf96
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165826
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-04-13 20:31:00 +02:00
Mike Kaganski
4695d84b78 Use more o3tl::convert
Change-Id: Ia525e051b53dd6082f2f11ff884677c8b8c6a20c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166051
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-04-13 18:48:38 +02:00
Mike Kaganski
64b5180534 Simplify and use more o3tl::convert
Change-Id: Ic7babea4eec3633d40d306488fea252d6f2636be
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166050
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-04-13 18:48:31 +02:00
Mike Kaganski
72a1ab78c2 Use more o3tl::convert
Change-Id: Id31185592ccbb3507c939b241d5aab82c09c96f4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166049
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-04-13 18:48:23 +02:00
Caolán McNamara
adbbe732e7 Related: tdf#160056 all maTokens are FormulaTypedDoubleToken*
Change-Id: I6eacaf58c25ef9c5cb930a79177471c79a6a26c0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166047
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-04-13 17:05:24 +02:00
Miklos Vajna
1e605412df sfx2: fix crash in InterceptLOKStateChangeEvent()
Notice how e.g. the TransformPosX case already performed the same null
pointer check.

Crashreport backtrace:

> program/libmergedlo.so
>       InterceptLOKStateChangeEvent
>               sfx2/source/control/unoctitm.cxx:1143
> program/libmergedlo.so
>       SfxStateCache::SetState_Impl(SfxItemState, SfxPoolItem const*, bool)
>               sfx2/source/control/statcach.cxx:432
> program/libmergedlo.so
>       SfxBindings::Update_Impl(SfxStateCache&)
>               /opt/rh/devtoolset-10/root/usr/include/c++/10/bits/stl_vector.h:919 (discriminator 2)
> program/libmergedlo.so
>       SfxBindings::NextJob_Impl(Timer const*)
>               /opt/rh/devtoolset-10/root/usr/include/c++/10/bits/unique_ptr.h:173

Change-Id: I141d4f9ec50d0ce7a0eeaba69752c31390a1f9ba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166027
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166046
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-04-13 16:52:50 +02:00
Mike Kaganski
fd19637cfd Simplify a bit, and use more o3tl::convert
Change-Id: I30f619b81d831db9c1e212a1588d5696b9ad3dd0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166048
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-04-13 15:23:36 +02:00
Laurent Balland
2b6eb4eb93 tdf#160567 Replace duplicate style A4 with A0
Style A4 was defined twice and A0 was missing. Rename second A4 with A0
and change size to 48pt

Change-Id: I529b4fab5223269908867531873d36d3e878e7e7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166045
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2024-04-13 12:31:58 +02:00
Caolán McNamara
791a2489ee Related: tdf#160056 elide ref counting for initial tokens
The initial tokens provided to interpreting will be restored
to their original ref count when interpreting is complete. So we
could elide expensive ref counting for them for the duration
of the the threaded group calculation.

Possibly "temp" tokens that are created just during interpreting could
additionally use thread-unsafe ref counts presuming they only appear in
a thread specific context.

Change-Id: I1f5b0198e83027781be15812680079f28b6a4e27
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165259
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-04-13 11:54:50 +02:00
Gabor Kelemen
88ccd5e711 Mark obsolete Impress/Draw config keys as deprecated
Practically unused since 2007 commit
56ca5814a1

Change-Id: Idd7cf4f239efed16a151fc4c755c249947d927f8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165859
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
2024-04-13 09:41:11 +02:00
Gabor Kelemen
912aa66a06 Drop unused SdOptionsContents class
seems to be practically out of use since 2007 commit
56ca5814a1
part of patch series '#i80528# Removal of draft paint modes'

Change-Id: I770bab8b1973bec099ffdaa3243f1c0d2995ee52
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165858
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
2024-04-13 09:40:57 +02:00
Andrea Gelmini
ce03b3f087 Remove duplicated include
Change-Id: Ie70543c67549498d51eeb53d262b52f8ef1ec700
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166043
Tested-by: Jenkins
Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2024-04-13 04:31:43 +02:00
Andrea Gelmini
d76f1877f6 Fix typo
Change-Id: If0fbaae23b98d3bdd178473db8fdb8ab2263ef67
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166042
Tested-by: Jenkins
Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2024-04-13 04:31:25 +02:00
Tomaž Vajngerl
fc8dfe5c88 pivot: Export Pivot Table "formats" element(s)
This change adds the "formats" element tree export for a pivot
table. The source are the formats (sc::PivotTableFormats) added to
the pivot table - in the ScDPSaveData class. This are currently set
on import but in the future hopefully those are also set through
the UI.

Change-Id: I5ed8f7e8d7ac248b0222a884fb97555ef6bb8427
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166035
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2024-04-13 03:00:02 +02:00
Mike Kaganski
01cabd3f99 Don't use lround when assigning to a double
Change-Id: Ifdfd351cf1f2848b754ec7a4c6f6cb9a56f478d5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165939
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-04-13 01:20:18 +02:00
Mike Kaganski
4108a59dec Add VclPtr operators to natstepfilter
And fix a vector-related filter

Change-Id: Icd3f5bd5a04a1385dff3f3413792a7aad544a506
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166029
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-04-13 01:19:45 +02:00
Mike Kaganski
6e3ed71f90 Use o3tl::convert in oox
Change-Id: I1cbc299e7e64eae48f0f6c896a8160bbe6e19c97
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165938
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-04-13 01:19:00 +02:00
Caolán McNamara
d490efe410 Related: tdf#160056 call FormulaCompiler::IsOpCodeJumpCommand just once
rearrange to reuse previous calculation

Change-Id: Ibda0388e020dac995e5667af09767b0314720935
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166039
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-04-13 00:52:40 +02:00
Caolán McNamara
030b655963 Related: tdf#160056 don't call GetParamCount twice
GetParamCount: 290ms -> 175ms
Change-Id: Ic3a26b1e8035744dcab2da69a8ebd3b29dd2160a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166031
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-04-13 00:51:29 +02:00
Stephan Bergmann
6a4031ec83 At least capture (English-only) cURL error when something goes wrong
...so that svx/source/dialog/crashreportdlg.cxx can at least present that,
instead of confusingly being silent about the error

Change-Id: I5e8af5f8df4cbcad84f8b60c2de4c55621b28890
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166037
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-04-12 23:36:48 +02:00
Caolán McNamara
54d577ed22 ofz#68004 Unknown Read
Change-Id: Id3e50e3a8522523d2b665e394d8f4a65b7f4df5d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166034
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-04-12 21:40:09 +02:00
Stephan Bergmann
3454a73a11 Embind: support .implement()-based JS UNO objects
Change-Id: I3a8bf5986b91b886547cfe57e49275f7c79ddc11
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166020
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-04-12 20:52:54 +02:00
Ashwani5009
ea462462db tdf#147021 Replace SAL_N_ELEMENTS with std::size
As part of the efforts in #145538 to replace the SAL_N_ELEMENTS()
macro with std::size() and std::ssize(), this commit performs the
necessary changes for a few files in the i18npool module.

Change-Id: Ic64be31b74cd74faf17497a47d6a15158b85184c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166013
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-04-12 19:54:13 +02:00
Miklos Vajna
f017fe99f7 sc: fix -Werror,-Wunused-but-set-variable
Pointed out by clang-15:

sc/source/core/data/PivotTableFormatOutput.cxx:256:12: error: variable 'nEntryIndex' set but not used [-Werror,-Wunused-but-set-variable]
    size_t nEntryIndex = 0;
           ^

Change-Id: I3abf7fe6d4ed330cd713472ce4102eeef6aea4dc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166022
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-04-12 18:05:48 +02:00
RMZeroFour
804caab067 tdf#146266 Move WeakBag test to gbuild system
As part of the efforts in tdf#146266 to move parts of the codebase from
the older makefile.mk build system to the newer gbuild system, this
commit migrates the WeakBag test, and cleans it up a little.

The test can now be invoked using this command:

$ make CppunitTest_comphelper_weakbag

Change-Id: I4ac3771fa23e28abd38a2dab84cacd1ae57fb70f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165591
Tested-by: Hossein <hossein@libreoffice.org>
Reviewed-by: Hossein <hossein@libreoffice.org>
2024-04-12 16:50:31 +02:00
Taichi Haradaguchi
a8fda337a8 Add the strings "dialog" after "Macro Selector" in extended tips
because the Macro Selector is the dialog name.

Change-Id: I3e766016279f85c47eca8a6abf8b5dde4cc6a538
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165487
Tested-by: Jenkins
Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2024-04-12 15:34:49 +02:00
Caolán McNamara
ec91e33eaa fold OnDemandNativeNumberWrapper ctor and init together
Change-Id: I79e2cb4c81a2bbac4da16ece778e4ad3acc59eb7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166025
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-04-12 15:14:21 +02:00
Caolán McNamara
d4a9dae1eb crashtesting: assert seen on importing forum-mso-en4-62805.xlsx
Change-Id: I1d1ab4539775c8c2fce591ca32fc15c3c0dd6060
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166024
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-04-12 15:14:15 +02:00
Caolán McNamara
73ba7a4738 crashtesting: assert on exporting fdo48097-1.doc to docx
noticeable since:

commit ad4b72a0ea
Date:   Thu Mar 21 12:10:40 2024 +0100

    tdf#160301 import DOCVARIABLE fields as user fields

but not really caused by it

Change-Id: I44910756df3938829589f230716363beaf0f4f91
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166023
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-04-12 15:14:03 +02:00
Sujatro Bhadra
1dd7cc9446 tdf#116091: Replaced 'AutoFormat' Button in Convert Text to Table dialog
Change-Id: If8eee099e79e65d5a6ca1b06d1cfb2a71bbe52f1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165099
Tested-by: Jenkins
Reviewed-by: Sujatro Bhadra <sujatrobhadra@gmail.com>
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2024-04-12 12:40:37 +02:00
Andrea Gelmini
34c698fe1b Remove duplicated include
Change-Id: I423fed50156a225d14c0afeebd7b72936c052b97
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166008
Tested-by: Jenkins
Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2024-04-12 12:24:33 +02:00
Eike Rathke
d4375cf6e6 Resolves: tdf#160256 Add "[Multiple]" and "[Undetermined]" to language list
Such that they are added to the top of the list after "[None]" and
only if "[None]" was requested.

{mul} and {und} ISO codes.

Change-Id: I024311fe7d638124932a1d38759305e8efec5962
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166012
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2024-04-12 12:06:28 +02:00
Michael Stahl
44ff9907eb sw: workaround crash in IsAllHiddenRow()
Not sure why but somehow still crashes in the code added in commit
ab7893544d

https://crashreport.libreoffice.org/stats/crash_details/912e7417-5e04-4279-bbaf-380234f4cd33

Change-Id: I23b7ecdd83009cfe6584866ed72102d8f2179f86
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166010
Tested-by: Michael Stahl <michael.stahl@allotropia.de>
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2024-04-12 11:10:54 +02:00
Xisco Fauli
732ca4879b tdf#159660: Add support for screen mode in feBlend
Change-Id: Iefe655a370cca930319290baa2a25d791371f55c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165958
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-04-12 10:47:56 +02:00
Balazs Varga
51abf44808 Related: tdf#127293 Fix regex search mode in XLOOKUP wildcards mode
If relevant Option in Calc was set for regex, xlookup still used the
wildcard search mode.

Change-Id: I318c3f368b6f59644c43ec518542910be72a5e0c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166015
Tested-by: Jenkins
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
2024-04-12 10:22:59 +02:00
Andrea Gelmini
83d04e5a59 Fix typo
Change-Id: I6e5c31a0d3577c40acd62b4c9dd6d4c084865c0b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166016
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-04-12 09:23:07 +02:00
Tomaž Vajngerl
c379168711 pivot: PivotTableFormatOutput to resolve and set PT cell format
This adds the PivotTableFormatOutput, which main responsibility
is to resolve the reference for which the pivot table format is
set to. It first prepares the format data into such a structure
that it is easier to match with the pivot table fields and data.
Then the pivot table data is filled during the output, where we
remember the cell positions of the pivot table output. The last
step is to resolve the pivot table format references with the
filled data, where the cell formats are applied to the output.

PivotTableFormatsImportExport was added to test the correctnes of
the functionality.

Change-Id: Ie67ea15b3aa74739f15937800d03d256b8f68277
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165992
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2024-04-12 08:21:19 +02:00
Jim Raykowski
1dbe90cb07 Resolves tdf#157403 sidebar SdNavigator does not show new slide/page
after file reload

Change-Id: I8ba7ffac3c098cf388a67e3454c5986b5a8b1f3f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165767
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2024-04-12 06:13:22 +02:00
Marco Cecchetti
e20cbd4bd7 lok: calc: not possible to select the cell adjacent to the edited one
In the LOK case using the paper size for the printer case (wysiwyg)
can make the cell background and visible area larger than needed which
makes selecting the adjacent right cell impossible in some cases.

Change-Id: I20edd62645692f30e432b1064bb9c85b3396dc32
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164702
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
(cherry picked from commit a6bc027260)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164999
Tested-by: Jenkins
2024-04-12 05:25:55 +02:00
Tomaž Vajngerl
a9504d5578 pivot: remove duplication in ScDPSaveDimension::GetMemberByName
Change-Id: I036e83307615a8c1f875ffc66a54027e1ec31a92
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165991
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2024-04-12 02:28:12 +02:00
Tomaž Vajngerl
f61ffdfa1a pivot: ScDPSource prefix members
Change-Id: I7551078b798e910c0255a9211c7b22aca624b62b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165990
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2024-04-12 00:59:37 +02:00
Tomaž Vajngerl
a1a497ce11 pivot: use ScPatternAttr not styles for pivot table cell format
Get the ItemSet from the Dxf instead of creating a style from it,
then create a new ScPatterAttr, which is then transported to the
pivot table and used there.

Change-Id: I2ed886d0dd986b587e37330a39d6cd465b3bcf12
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165686
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2024-04-12 00:59:30 +02:00
Tomaž Vajngerl
6d95493690 pivot: also set format on a data field within row/column output
Change-Id: I83cd4edd8fd64698170e1e8ac83f5017af80042f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165685
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2024-04-12 00:59:23 +02:00
Tomaž Vajngerl
81a24b62c7 pivot: split ScDPOutput::Output to multiple methods
Change-Id: Idad1c4652a9d506d0584570e55855b0a9406959a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165684
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2024-04-12 00:59:11 +02:00