Commit Graph

486458 Commits

Author SHA1 Message Date
Noel Grandin
4fac9a1109 tdf#155410 speedup shutdown when document has lots of images
prevent unnecessary broadcasting during teardown of draw model

regression from
    commit 8611f6e259
    ref-count SdrObject

The above patch seems to have changed the destruction ordering and now
we do lots of unnecessary broadcasting.

Change-Id: I90f4e560bc82834246a323275d13ef8ee8abeae0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152140
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-05-23 14:33:49 +02:00
Noel Grandin
1167bfefe5 avoid some ref-counting traffic in SvxShape::Notify
which is quite a hot method

Change-Id: I7fe6557d48cff8c9312b4dbcd24c215f16b9fcfc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152139
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-05-23 13:49:35 +02:00
Olivier Hallot
42d4143974 Update git submodules
* Update helpcontent2 from branch 'master'
  to b79b0b978cd10d8bd2ef7ecf15972bfd1d778f3f
  - Add missing file
    
    this must fix https://gerrit.libreoffice.org/c/help/+/152130
    
    Change-Id: Ic7c418c5993429cc622aa9a61023be3a58bb6f3e
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/152159
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-05-23 13:33:45 +02:00
Xisco Fauli
0916808ed8 sw: fix crash in DocumentLayoutManager::CopyLayoutFormat
See https://crashreport.libreoffice.org/stats/signature/sw::DocumentLayoutManager::CopyLayoutFormat(SwFrameFormat%20const%20&,SwFormatAnchor%20const%20&,bool,bool)

Change-Id: I1680bb79be4c1eb2ff18ed46dfa286da5e729e63
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152015
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
2023-05-23 12:45:45 +02:00
Czeber László Ádám
639519dc2b tdf#100034: Fix to persistently remove print-range
Don't save print range if the builtin index is unknow
and sheet index is vaild (this is a deleted range).

Change-Id: I10dfa98ad4f24d0f5958053974bd75cb19c85147
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152081
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2023-05-23 12:15:56 +02:00
Jussi Pakkanen
0f6bf89b1f Add configure switch to enable building the installer with WiX.
Change-Id: I5b1cf7a4a90c65b27fd3a9e2f33c9ffe044704e4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151738
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2023-05-23 11:47:19 +02:00
Caolán McNamara
d2ab9d3ff3 ofz#59210 Abrt
Change-Id: I464f508324e66125a1578f162b5be31b00397075
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152082
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-05-23 11:04:07 +02:00
László Németh
8b85bf77f4 Update git submodules
* Update dictionaries from branch 'master'
  to e868c6a2b11784ff728588ef15f310737dce2747
  - Update Hungarian dictionary
    
    Change-Id: I6627735ffefd6547deec31ece44faa57d3f4b3c4
    Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/152089
    Tested-by: László Németh <nemeth@numbertext.org>
    Reviewed-by: László Németh <nemeth@numbertext.org>
2023-05-23 10:39:43 +02:00
Armin Le Grand (allotropia)
e6ad415037 MCGR: Check correctly for used FillTransparenceGradient
To correctly check using UNO API if a FillTransparence-
Gradient is used it is necessary to check if a Name for
it is set. This corresponds to the IsEnabled() state
of the XFillFloatTransparenceItem in the core.

This was not consequently done that way and e.g. was
done by checking if the FTG was 'default' in the sense
that the StartColor was COL_BLACK. This was never
sufficient and is not with MCGRs, too.

Important in this case is the UnitTest checking for
file fdo66688.docx - the re-export/roundtrip goes
wrong when not doing this correctly.

Change-Id: Iaf14c1e4481188124f044b4b3c8bcd6689c65aad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152087
Tested-by: Jenkins
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
2023-05-23 10:11:48 +02:00
Heiko Tietze
258686a58f Resolves tdf#145080 - Use accent color for focused cell
Accent color added but effectively working only on macOS
See inline comments for gtk, qt, and win

Change-Id: I1e4a729331735683921f94b27bb2bb02555c0165
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151887
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2023-05-23 09:44:21 +02:00
Miklos Vajna
dc11f5b151 tdf#143445 DOC import: limit the usage of the CONTINUOUS_ENDNOTES compat flag
The bugdoc has 72 endnotes and not all of them were listed at the end
of the document, since commit 4814e8caa5
(tdf#124601 sw: add ContinuousEndnotes layout compat option,
2019-09-30).

The problem is that for simple documents the strategy to just place the
endnotes (in the form of footnotes) on the last page works, but this
approach breaks when the document is growing, since nobody moves the
endnotes from the former last page to the new last page. Additionally,
it's not trivial to know what the effective last page is, once you have
enough endnotes that the end of the body text is not on the last page.

Fix the problem by restricting when the DOC import sets this compat
flag. The limit is picked to be 2 endnotes, just because that keeps the
use-cases for continuous endnotes working.

A future solution would be to create a layout-level section at the end
of the document for such endnotes: that would allow them to be inline,
and we know how to keep endnotes inside a section & know how to keep a
section at the end of the document. But that would be a bit of a feature
work, let's keep this regression fix simple.

Change-Id: Ideea1c52f4e31ded3e28e9441aace2bc3857079e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152127
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2023-05-23 08:11:45 +02:00
Seth Chaiklin
e3ac3b79cd Update git submodules
* Update helpcontent2 from branch 'master'
  to 017955e2322d86929802db5ebcbce65889345528
  - remove xml-lang, formatting clean-up, no i10n consequences
    
    Change-Id: I7ce3f3722c6a3f52f89623f39683d0a23daa8f36
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/152101
    Tested-by: Jenkins
    Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2023-05-23 00:50:14 +02:00
Seth Chaiklin
13c4a7e170 Update git submodules
* Update helpcontent2 from branch 'master'
  to 26a379d7f2c21de638bbeb1e7d4032896ac326d4
  - tdf#153561 embed sections: <hyperlink>,<tab_options>,<headinginfo>,<eval>,<tab_relative>
    
        remove <xml-lang>
    
    Change-Id: Ia8aa894ffc112d7ec16991cbcc44ab963903fc52
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/152099
    Tested-by: Jenkins
    Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2023-05-23 00:49:55 +02:00
Maxim Monastirsky
0a74b5fcfb sc drawstyles: Enable the clear DF command
.uno:StandardTextAttributes works for shape formatting already
(despite its name), but it's a different command than Format >
Clear DF. So let's connect the regular Clear DF command to the
same code.

Also includes a workaround for comments to maintain their size.
Changing the size (because of the "Fit height to text" setting)
is probably confusing for other shapes as well, but for comments
this requires an extra step to undo, as comments can't be resized
unless they're shown permanently. And manually resizing each
comment back will also result with inconsistency in their size.

Change-Id: I7c158523ecc4be18d17479632eaf9fd2a51dca12
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151161
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2023-05-23 00:43:06 +02:00
Seth Chaiklin
1497d5c8dd Update git submodules
* Update helpcontent2 from branch 'master'
  to 6d37d30f9474ae437544ce04cfdcbc4ba4119303
  - tdf#153561 add <note> for heading info section
    
       remove <xml-lang> from bookmarks
    
    Change-Id: I75d1e5b2882816a66fc9859a881ae34381c969dd
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/152100
    Tested-by: Jenkins
    Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2023-05-23 00:24:52 +02:00
Seth Chaiklin
6df5db55a7 Update git submodules
* Update helpcontent2 from branch 'master'
  to ed9181c7a7b65f1de07c809b5ac515e4dfc73b7b
  - tdf#153561 add <section> to hyperlink, update hyperlink description
    
      remove <xml-lang> from bookmarks
    
    Change-Id: Ia29f026c9e40a58633c4428066ba9c8269cfe88c
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/152098
    Tested-by: Jenkins
    Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2023-05-22 23:48:48 +02:00
Seth Chaiklin
343fbe76d5 tdf#155065 change label for "Page Number" -> "Page Number Field"
Change-Id: I80b646857311e9fa910f3384e49ea965a1a7fb7d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151284
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2023-05-22 22:54:47 +02:00
Seth Chaiklin
23a41c9196 tdf#155065 hide .uno:PageOffsetDialog from Customize dialog
Change-Id: Iad95d757ed09921403f41ed3c757b34149ec8c47
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151285
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2023-05-22 22:53:01 +02:00
Seth Chaiklin
098e9426ad tdf#154186 change "OK" to "Apply" and rearrange button position
Some buttons are sorted automatically. As a result, the "close"
  button appears in the desired position, after the label change.

Change-Id: I67ce06825a642fa34086f97a99cde8ac2acb1ff6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151195
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2023-05-22 22:52:06 +02:00
Olivier Hallot
c244e0a301 Update git submodules
* Update helpcontent2 from branch 'master'
  to 033dc1a727a6cb48419a08990a2b737058afd99f
  - Calc Sheet Tab Navigator help page
    
    Change-Id: Ie79a7e1b6e3383d52660e48d145bec5ca7ca89af
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/152130
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-05-22 21:28:30 +02:00
Olivier Hallot
46a238dcf2 Update git submodules
* Update helpcontent2 from branch 'master'
  to f412e2dadeeba74aa71293d010d9a6d092d38e64
  - tdf#140091 Precisions for the (+) button in sheet tabs bar.
    
    Change-Id: I6c125b5fa230690f598399b68e1f310f4cbc25d5
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/152129
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-05-22 21:26:08 +02:00
Andrea Gelmini
60489faa6c Fix typo
Change-Id: Ic3f79113f09be10f6ff33183b09f80e269f77f93
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152122
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2023-05-22 20:45:22 +02:00
Andrea Gelmini
fba847a7fc Fix typo
Change-Id: I6fab6b5c40eb9668df72ea01a2d158eabdc99f86
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152121
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-05-22 20:44:05 +02:00
Regina Henschel
1d2830b936 tdf#155271 add drawooo:display to libreoffice-schema
Commit 33ef17ed had introduced attribute drawooo:display at 2010-03-02.
The entry in libreoffice-schema.rng was missing and therefore
validation in unit tests fails, when this attribute occures.

The attribute is written in case an object in Calc is hidden by hiding
the cell to which it is anchored, for example. The attribute belongs to
properties 'Visibile' and 'Printable' in 'Shape Service' in API.

Change-Id: Id3d2e7984aed146fca9e2819eb183d7d7bfaf701
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152119
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
2023-05-22 19:40:45 +02:00
Miklos Vajna
b47401e12d sw floattable: fix assert fail when object formatter gets the wrong anchor
A subset of the tdf#155002 bugdoc hit an assertion failure in
SwObjectFormatterTextFrame::DoFormatObj() for multi-page floating
tables.

What happens is that a section frame wants to format its content, calls
CalcContent(), which assumes that the text frame's all draw objects are
also on the same page, as long as they are at-para anchored. This is
true for at-para anchored images, but not for split flys.

Fix the problem by using FindAnchorCharFrame() to know if the anchored
object should be inside the master anchor or a follow anchor: that
allows invoking SwObjectFormatter::FormatObj() with the correct anchor
and page frames, so we don't hit the assertion failure.

The hang with the original tdf#155002 bugdoc needs more work, still.

Change-Id: I2b4d88ccb2ff251c0b0811c31d2aa85053143443
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152116
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2023-05-22 17:11:35 +02:00
Xisco Fauli
e34bb6e67a tdf#155368: sc_subsequent_export: Add unittest
Change-Id: Ie177342720df50d160600cf133b87bdf3411203d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152114
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2023-05-22 15:48:28 +02:00
Samuel Mehrbrodt
e7e9991fd0 tdf#146547 Mark read-only docs as modified
when an editable section is changed.

Change-Id: I588b09f160974d3a3833bfa011fd07f2ee496616
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151535
Tested-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
2023-05-22 14:30:10 +02:00
Noel Grandin
c4c220b56c improve logging when we get an exception in copyProperties
Change-Id: Id37ad92df93667536efaac86db3765da98847184
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152086
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-05-22 14:16:08 +02:00
Jean-Pierre Ledure
0a1022b04c ScriptForge (SFDialogs: create dialogs on-the-fly
A dialog service is returned by next statement

  dialog = CreateScriptService("newdialog", dialogname, place)

All properties and methods applicable to predefined
dialogs are available for such new dialogs.
In particular the series of CreateXXX() methods for the addition
of ne dialog controls.

The functionality is available from Basic and Python user
scripts.

An update of the SFDialogs.SF_Dialog help page is required.

A display rendering unstability (flickerings, delays, ..) has
been observed when (all conditions must be met)
- the user script is run from Python
- from inside the LibreOffice process
- the dialog is non-modal

Change-Id: Id3f311cd04497fd79712ce712bdb2724b5caa861
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152071
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2023-05-22 14:08:20 +02:00
Tibor Nagy
8af6c46a9c tdf#155319 sc: fix conditional format data bar after copying
This is a follow up to commit I064fb3fe0443705553c6bbfcc34f2d717e0f6bd6
(tdf#154906 tdf#129813 tdf#129814 sc: fix conditional format color
 scale)

Change-Id: Iacc1f5af762e1f6a40ecd13c33384e4a3340822a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151860
Tested-by: Jenkins
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2023-05-22 13:32:56 +02:00
Christian Lohmaier
4a162c4cdc Update git submodules
* Update translations from branch 'master'
  to b2e864f9b44f85777d7679cb3696a5a801b8ee97
  - update translations for master/7.6
    
    and force-fix errors using pocheck
    
    Change-Id: Iec9043ba6ba5c1520fd5906a7ebfc8c7ae94a2c5
2023-05-22 12:37:25 +02:00
Miklos Vajna
a97374fca8 sw: prefix members of XMLGradientStyleExport, XMLGradientStyleImport, ...
... XMLHatchStyleExport and XMLHatchStyleImport

See tdf#94879 for motivation.

Change-Id: I2dd4c97c6e234447190e46bd6f6a6354e16911bf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152077
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2023-05-22 10:34:57 +02:00
Noel Grandin
8cc51cf988 tdf#155368 Can't toggle Wrap Text on all cells if cell already has
The problem is not so much that we cannot toggle, it is that we
cannot unset a toggle property.
And the reason for that, is that the state of the toggle never
goes off because the view state as computed by
ScViewFunc::GetSelectionPattern is different
from the state that is seen in ScViewFunc::ApplySelectionPattern
where we apply the pattern.

So make the same shrink-data-area adjustment in GetSelectionPattern.

Change-Id: Ic56145ee98ead931278767851f74e0ce7422a150
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152074
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-05-22 08:04:44 +02:00
Caolán McNamara
f4c24da1e7 Revert "tdf#63130 when getting the size, do not do a full paint"
because it is triggering many CppunitTest_toolkit_a11y failures

This reverts commit 67c3b3beca.

ImplCallResize is not called on the same Window after that
commit than it was originally called on.

Change-Id: I0c3721d2674067ac7f0bf765e0fe1097b1d67dbf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152026
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-05-21 19:50:59 +02:00
Caolán McNamara
bfc8221c9e tdf#155349 add a test case to catch if full invalidation ever returns
Change-Id: Ifea1102fd27643ba950b4c9e8d42dd06c1ce71e7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152001
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-05-21 16:06:02 +02:00
Regina Henschel
58926cc60c tdf#155412 ooxml export typeface attribute is mandatory
The attribute 'typeface' is required for <a:ea>, <a:cs> and <a:latin>
elements, see CT_TextFont in ISO/IEC 29500-1:2016. Its value may be
the empty string.

Change-Id: I7c9316fa40ad6d1aabccb4191fee11be553c453b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152024
Tested-by: Jenkins
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
2023-05-21 13:48:47 +02:00
Tomaž Vajngerl
f0dbebc76b oox: convert odp documents to fodp so it is easiert to change
Mainly to change the non yet fixed theme ODF format.

Change-Id: Iad51de7b4f9a721e566fe12266e633534c15bb54
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152052
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2023-05-21 13:00:39 +02:00
Tomaž Vajngerl
f8cd1d5f0a xmloff: rename XMLThemeColorHandler to XMLComplexColorHandler
Change-Id: Ib24c4b819c31cdc6a9626b09a5b2acd10389ad7a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152051
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2023-05-21 13:00:11 +02:00
Tomaž Vajngerl
66fff7efab xmloff: rename XMLThemeColorExport to XMLComplexColorExport
Change-Id: I3d943f20e76b8f3e0409d307d11e3bf16489bf02
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152050
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2023-05-21 12:59:53 +02:00
Tomaž Vajngerl
e1cc0f3e7a xmloff: rename XMLThemeColorContext to XMLComplexColorContext
Change-Id: I039aea6656cc8dedd74782f4fda8b0e1c25d3910
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152029
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2023-05-21 12:59:35 +02:00
Mike Kaganski
8843e4c441 Simplify a bit
Change-Id: I4be66ff1ea2a15d3345134f4131bd0fabb5de9ec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152028
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-05-21 12:12:24 +02:00
Caolán McNamara
1fec168aff ofz#59028 avoid config
make this actually do nothing to test a point

Change-Id: I353dc2bbbcd9229518f6527fe1589a901a9adfd1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151833
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-05-20 22:22:37 +02:00
Justin Luth
02c56a8d3e tdf#90408 Revert #i79169# save/apply attributes of macrobutton text
This reverts ancient commit a79a0101f1.

I'm not sure what problem it was trying to solve,
but it doesn't seem necessary now.
At least, I took my unit test and set some different
font sizes to them, and they correctly got those attributes.

This was the original file that needed to be fixed:
make CppunitTest_sw_ww8export4 CPPUNIT_TEST_NAME=testTdf90408

This is for the current bug report:
make CppunitTest_sw_ww8export4 CPPUNIT_TEST_NAME=testTdf90408B

Change-Id: I09fb3bd12d645318f1024ac78a9b3154a1fcd078
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152025
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2023-05-20 21:34:24 +02:00
Justin Luth
fc15f48398 tdf#139512: partial revert default row height on new sd tables
Back in 5.0, a regression caused the cell height to ignore
the font height for any empty rows. Well, of course all rows
are empty for a new table, so the table was created with only
a super tiny row height.

That 5.0 regression was properly fixed in 7.4.2 with tdf#144092,
so the height of new rows should automatically be appropriate
for the current font size.
(It was already somewhat fixed in 5.1.1 - enough for this bug.)

Thus, we can revert back to the original default size (200),
since there were complaints that my default size (2000)
was too big.

In practice, each row height will be approximately 750,
since Draw/Impress always create tables with 18pt font size.
200 is appropriate for 4pt font.

Change-Id: Ic03d94ea3557581fd96613a408ab233b2c2c6a7c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152021
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2023-05-20 20:08:52 +02:00
Dennis Francis
4536694edb tdf#155369 ScIndirect: handle names that resolve to...
table structured references.

Conflicts:
	sc/qa/unit/subsequent_filters_test2.cxx

Change-Id: I897feeeb49e63c1758cf64450799acb192e2d593
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151888
Tested-by: Jenkins
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2023-05-20 17:07:21 +02:00
Olivier Hallot
01efc93822 Update git submodules
* Update helpcontent2 from branch 'master'
  to 8322f7d3b512cbd1a548a1b37d07d5614e3bb3c6
  - Comesmetic change for better user experience
    
    Change-Id: Ib7e442356c4e8f0deb796a009994da9785cc65e2
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/152032
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-05-20 15:06:21 +02:00
Mike Kaganski
075ecc1c31 tdf#155407: fix the second replacement in FnChgToEnEmDash
It was broken from the beginning. The second replacement could
look into a wrong string when checking if the characters around
the "--" are eligible; it could use obsolete indices in the
document, ignoring the previous replacement that changed the
lendth of the text.

This also replaces a use of char* to hold Unicode codepoints to
pass to lcl_IsInAsciiArr, with an array of sal_Unicode (because
all the checked values fit into it).

Change-Id: I949630abc564fc0875be0b92228846497bb1a022
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152002
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-05-20 13:31:21 +02:00
Jean-Pierre Ledure
f692b5c5e4 ScriptForge New method dialog.CreateHyperlink()
Method (Dialog service)
  CreateHyperlink(controlname, place, border, multiline,
                  align, verticalalign)

completes the set of available methods for
dynamic DialogControl creation.

Cfr. https://gerrit.libreoffice.org/c/core/+/151896

Change-Id: I162075ea39efdd2e1189fe8b16ac05316e6a13ff
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151954
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2023-05-20 12:56:41 +02:00
Julien Nabet
82816547cc idl: they're not params but attributes
Fix these warnings:
/home/tdf/jenkins/workspace/gerrit_windows@2/offapi/com/sun/star/ui/dialogs/DialogClosedEvent.idl:33:
warning: com::sun::ui::dialogs::DialogClosedEvent::DialogResult has @param documentation sections but no arguments

/home/tdf/jenkins/workspace/gerrit_windows@2/offapi/com/sun/star/ui/dialogs/FilePickerEvent.idl:29:
warning: com::sun::ui::dialogs::FilePickerEvent::ElementId has @param documentation sections but no arguments

Change-Id: Ic2ae5f70f3f6aa744bd61044f80e9ab525407ecc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152020
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-05-20 12:56:37 +02:00
Noel Grandin
8270eb5d56 loplugin:unusedmethods
Change-Id: Ief95f111350808f010539bb733a553007d30a9df
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152006
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-05-20 12:55:07 +02:00