Commit graph

497161 commits

Author SHA1 Message Date
Mike Kaganski
eb56caec68 Fix VBA Table's *Padding properties type
In VBA, it is Single, not Double. See VBA documentation:
https://learn.microsoft.com/en-us/office/vba/api/word.table.bottompadding
https://learn.microsoft.com/en-us/office/vba/api/word.table.leftpadding
https://learn.microsoft.com/en-us/office/vba/api/word.table.rightpadding
https://learn.microsoft.com/en-us/office/vba/api/word.table.toppadding

Change-Id: I9262462424fc11b5c062a61754ab0fab9103f549
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169763
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-06-29 22:47:38 +02:00
Mike Kaganski
203bd3f674 Fix VBA get*Padding, which returns a floating-point value
Introduced in commit f3234f4f14 (VBA
Add Padding properties to XTable, 2022-08-05). The unit test is
edited to test that the value returned by the methods is equal to
the initially set value, with precision of 0.1 pt.

Change-Id: I24144cd0e3c1e72bd2664a2a052ac3c7006595ff
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169762
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-06-29 22:47:33 +02:00
Andrea Gelmini
c910d8cd67 Fix typo
Change-Id: Ic80446b21443a025a4d4877730ef097ba39ca66d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169752
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-29 20:17:22 +02:00
Mike Kaganski
63f36e4b76 Move MapToO3tlLength and FieldToO3tlLength to respective enums' headers
Decreases dependency on <tools/UnitConversion.hxx> a bit.

Change-Id: Ia469c08ca2844c522f508a724ddc879120d0b50d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169761
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-06-29 20:13:09 +02:00
Mike Kaganski
2adf50be3d Rename some ConversionHelper functions
Make their names more explicit. This avoids ambiguity; previously,
convertTwipToMM100 was very similar to tools' convertTwipToMm100,
provoking the former function's use where the latter is better.

Drop convertTwipToMM100WithoutLimit, and use the unconstrained
function from tools directly instead.

Change-Id: Icdd1a67721cdd8a578bc786fda67c341b07ec84a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169759
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-06-29 18:03:21 +02:00
Andrea Gelmini
102cbf4626 Fix "lets" -> "let's"
Change-Id: I01968fc18b093dbbc27213f01c3da38ae151c62c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169748
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Tested-by: Jenkins
2024-06-29 17:22:12 +02:00
Andrea Gelmini
36d898b3bc Fix "lets" -> "let's"
Change-Id: I3f55e97561323cff8a4148d8388ecd3a5550c704
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169753
Tested-by: Jenkins
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2024-06-29 17:12:55 +02:00
Mike Kaganski
819194eb3b Use better types here
Change-Id: Icc9c6fdea2c3d10db51728389187589a26a887c7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169758
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-06-29 15:44:39 +02:00
Heiko Tietze
dfe1f8fdde Related tdf#64028 - COPYDELETE must not update references
in order to behave like cut

Change-Id: Ia30428edee00950e2874c0f615e4033167c1031b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169754
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2024-06-29 15:33:04 +02:00
Mike Kaganski
6756a753e9 Use a matching type here
Change-Id: I23dbadd27838a3cacad51a6b67aef10faed71640
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169757
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-06-29 14:59:23 +02:00
Mike Kaganski
ccff60b4ae Decrease rounding errors a bit
Change-Id: If9f078c96d03046aba4db19125a17fcf7fd68a81
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169756
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-06-29 14:59:14 +02:00
Mike Kaganski
0748844975 Simplify some uses of convertTwipToMm100
Change-Id: I073ac7358c1bcb82992ec7746f4b3986d6d35633
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169755
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-06-29 14:37:45 +02:00
Mike Kaganski
11ad465075 Simplify a use of convertTwipToMm100 a bit
For some reason, MSVC fails to find the o3tl::convert overload for Size
defined in <tools/gen.hxx>, unless the call to convert is unqualified,
accompanied by a 'using namespace o3tl' in convertTwipToMm100.

Change-Id: I7100ef55156b6944b5adc5aefa52eee38b3fe69e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169751
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-06-29 12:51:43 +02:00
Mike Kaganski
291c380fcf warning C6011: Dereferencing NULL pointer 'pArgs'
C:\lo\core\sw\source\uibase\uiview\viewsrch.cxx(237) : warning C6011:
 Dereferencing NULL pointer 'pArgs'. : Lines: 132, 134, 135, 136, 137, 140, 141, 149, 151, 196, 198, 200, 204, 205, 219, 228, 229, 237

Change-Id: Id06d08b310dffa15823b1d40996467888ff4ea7f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169750
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-06-29 12:51:28 +02:00
Mike Kaganski
4982e260bb Simplify WrapPolygon
Use doubles instead of fractions.
Simplify correctWordWrapPolygon, which used redundant arithmetics
(it scaled by a fraction with nWrap100Percent in multiplier, then
by another fraction with nWrap100Percent in divisor).

Change-Id: I69a38ac7e3afda33a1e7725cab711d50dc80eed7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169746
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-06-29 10:17:40 +02:00
László Németh
39dfb6393a tdf#96787 AutoCorrect: find item with ".*" and between :colons:
It was very hard to disable autocorrection of (c)->© and other
AutoCorrect items, because the searched Replace string "(c)"
etc. didn't jump the list cursor to the corresponding ".*(c)"
item.

Now skip ".*" pattern matching marks, also colon (emoji
replacement) characters, so the list cursor jumps to the
line ".*(c)"->© typing only "(c" etc., allowing users to press
Delete to disable its autocorrection without knowing about
the special AutoCorrect patterns.

Follow-up to commit 50be3fa1f0
"tdf#141773 AutoCorrect: fix broken [All] dictionaries".

Change-Id: I72be1ecb2fdc5ae67c72727ce7fbd70b28a4125b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169714
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2024-06-29 09:31:03 +02:00
László Németh
50be3fa1f0 tdf#141773 AutoCorrect: fix broken [All] dictionaries
This reverts commit ae56dc05b2
"tdf#96787: AutoCorrect: after deleting a replacement entry, it's still used".

Change-Id: Ifb4cf1b359b852c7610337d4bd389a8ca5dce610
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169713
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2024-06-29 09:25:26 +02:00
Jim Raykowski
3621ddfb9a Resolves tdf#115665 Format in the CTRL+H search affects
the CTRL+F search

Change-Id: I51ccd2186c47a91958c262efac9a1514b9c3b138
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169606
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Tested-by: Jenkins
2024-06-28 23:42:41 +02:00
Mike Kaganski
2cb5e2256c Simplify solar.h a bit
Use std::copy / std::reverse_copy for double serialization. Also
remove __cplusplus conditions, because the header is not included
in any C files. And simplify the functions uses, where casts were
unneeded.

Change-Id: I1d8375e601851231fdffcf52e3f3e3bdcbcbde7f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169706
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-06-28 22:53:27 +02:00
Andrea Gelmini
aa80eaeeab Fix "lets see" -> "let's see"
Change-Id: I7aa939681720bc0dc81c8f114a3608a8cdfb4f60
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169722
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-28 22:24:50 +02:00
Andrea Gelmini
16d58ad8d3 Fix "lets" -> "let's"
Change-Id: Ibe6cbbd618aab5c145913235dc90fec3c98cd504
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169723
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-28 22:23:17 +02:00
Xisco Fauli
93987194f5 tdf#92029: sw_autocorrect: Add unittest
Change-Id: I7ac855ac826353869c3a905ea70448d0c8dc1b76
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169711
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-06-28 21:24:13 +02:00
Xisco Fauli
6c94932865 tdf#158051: fix *σ’ -> σ’
While writting a test for 7f593484a1
"tdf#158051 AutoCorrect: don't apply final sigma before apostrophe"
I realized the added rules where *σ’ -> ς’ ( which was the old behavior
)
instead of *σ’ -> σ’

Change-Id: Ibff92e74da3d353ba715025b244b614b7fb8f9fc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169717
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: Jenkins
2024-06-28 21:22:23 +02:00
Miklos Vajna
94094d8688 oox, drawingml: use more bLineShape in Shape::createAndInsert()
As suggested at
<https://gerrit.libreoffice.org/c/core/+/169615/1#message-39aa9a1b288ff3a7459fc68c09d10c312efbaa33>.

Change-Id: I72f9cc905f18a48dcae2cf4b96d4560ad0a6080b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169701
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2024-06-28 18:12:10 +02:00
Noel Grandin
b17171b949 improve lifecycle of SdrItemPool
I ran into a problem where this global object would be destroyed and
then resurrected during shutdown.
Rather than make the existing code more complex, extend the existing
vcl::DeleteOnDeinit code and re-use that here.

Change-Id: Ib63739f57f489b1131111e9bab1db5fba7fd17bd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169697
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-06-28 17:38:31 +02:00
Michael Weghorn
802a106541 tdf#157009 android: Add missing subdir for Triple-T/F-Droid icon
Even with

    commit 69189de8fa
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Thu May 16 09:26:44 2024 +0200

        tdf#157009 android: Add icon symlink for F-Droid

(and its 24-2 backport) in place, the icon is not shown
for LibreOffice Viewer in the F-Droid app and on the repo
website [1].

Revisiting the related specs [2] [3], it turns out
that the icon needs to be in an "icon" subdir in the
"graphics" directory, so add that missing "icon" subdir
and move the symlink there.

From [2]:

> └── listings
>     ├── en-US                           (en-US is the default locale in F-Droid)
>     │   ├── title.txt                   (app name)
>     │   ├── short-description.txt       (short description, max 80 chars, mandatory)
>     │   ├── full-description.txt        (full app description, mandatory)
>     │   ├── video-url.txt               (URL to a video introducing the app)
>     │   ├── whatsnew                    (alternative changelog location; single file, no .txt)
>     │   └── graphics
>     │       ├── icon                    (app icon; mandatory if your app doesn't include any png icon)
>     │       │   └── *.(png|jpg)         1 image, usually 512x512

[1] https://f-droid.org/en/packages/org.documentfoundation.libreoffice/
[2] https://f-droid.org/en/docs/All_About_Descriptions_Graphics_and_Screenshots/#triple-t-structure
[3] https://github.com/Triple-T/gradle-play-publisher?tab=readme-ov-file#uploading-graphic-based-listings

Change-Id: I43c23040bf63a34f8f9648b45fab6c47a8816b8d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169700
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-06-28 16:36:48 +02:00
Olivier Hallot
f60e65e196 Update git submodules
* Update helpcontent2 from branch 'master'
  to 8351b40030008eec294de3712fc1b67d99d00931
  - Organizer -> General in Help pages
    
    Change-Id: Ibe5a9e819138b964a5f7336f9d4a71c5d43dc1bb
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/169683
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-06-28 15:42:49 +02:00
Stephan Bergmann
80715756c6 Adapt flatpak build to upstream changes
<09d348eefc>
"krb5: Update krb5-1.21.2.tar.gz to 1.21.3 (#294)"

Change-Id: If99afd812eca43258398d79c1a7c009988d374e8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169695
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-06-28 15:16:05 +02:00
Noel Grandin
86f296e82b use more ASSERT_CHANGE_REFCOUNTED_ITEM
which did I not see when I did
    commit cb3c65fb70
    Author: Noel Grandin <noel.grandin@collabora.co.uk>
    Date:   Thu Jun 27 19:24:28 2024 +0200
    assert when SfxObjectItems are modified while in a pool

Change-Id: I16e2ee72eda4b3ca69f83eb70ad4f4b0a14748a2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169696
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-06-28 14:58:33 +02:00
Noel Grandin
d900a952eb reduce number of SvxUnoShape listeners on SdrModel
when we have a lot of shapes, the number of listeners attached to
SdrModel becomes a serious bottleneck because of the number of
broadcast/notify function calls.

So
(1) make SvxUnoShape listen to the SdrObject
which achieves the same end, and reduces the bottleneck on the SdrModel.
(2) repurpose the maAllIncarnatedObjects set, which tracks all
objects linked to the SdrModel, so we can shut down the associated
UNO shapes during ClearModel. There is no other good way of doing
this, and if we don't do it, we get various use-after-free
issues during shutdown.

This takes the load time of a large DOCX with lots of shapes,
from 35s to 17s on my machine.

Change-Id: I34a6ac35c90de8b7103a7373aafe6e9607cc01c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169612
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-06-28 14:55:54 +02:00
Samuel Mehrbrodt
c519de2296 Fix autotext shortcut generation
The first character was replaced with a number.

Fallout from 1f93816dd5

Change-Id: I3b9a39336d5f6f3c10c85231f86fd196a29e3644
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169621
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Tested-by: Jenkins
2024-06-28 14:35:28 +02:00
Taichi Haradaguchi
9fdb507637 licence: Fix div tag and move License Statements
Change-Id: I9547679d0749e1bf539867cb1038c78ef8dcae12
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169586
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Michael Stahl <michael.stahl@allotropia.de>
2024-06-28 14:30:29 +02:00
Sarper Akdemir
5e14349232 tdf#33603: fix notespane (side/tool)bar interactions
Introduces OverridingShells that when set, makes the view
act like the MainViewShell.

The main use case is having more then one ViewShell in a
single window, where context (toolbars, sidebars etc.) can
jump in between different ViewShells.

Uses OverridingShells to enable NotesPane to react
ToolBarShells. Accessing the functionality of ToolBarShells
without the previous hacks with slot forwarding.

Change-Id: Icc9721d7f54097025bc9dc7ef7069aed856e6d96
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169658
Tested-by: Jenkins
Reviewed-by: Sarper Akdemir <sarper.akdemir@allotropia.de>
2024-06-28 14:25:36 +02:00
Sarper Akdemir
a7d1a6f313 languagetool show cURL errors with the interaction handler
Only shows the error once for a given checkerURL.

Change-Id: I1873dc09584df33162c93d9d133b12eb8dfede04
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169518
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
Reviewed-by: Sarper Akdemir <sarper.akdemir@allotropia.de>
2024-06-28 14:24:22 +02:00
Patrick Luby
2e87c64424 tdf#159680 fix memory leak of CTFontRef
The CTFontRef in CoreTextFontFace::GetVariations() was never
released and a new CTFontRef was allocated in every call to
CoreTextFontFace::GetVariations(). So release the CTFontRef
and only allocate it once when mxVariations is populated.

Change-Id: I08999956501d5860fff67e48001ef85a62ca8079
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169690
Tested-by: Jenkins
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
2024-06-28 13:23:36 +02:00
Christian Lohmaier
2fd72ed9cb makefile simplification: cleanup template packaging mess
the tmplate packaging code was full of copy'n'paste code with little
understanding on how the rules actually work/what the statements
actually do. (e.g. using separate calls to addprefix can be a matter
of taste, but adding the call to get the extra files each time is
pointless and just adds the same set of files multiple times).

Unifying the fixed list of files and standardizing the base path for the
relative filenames further allows to streamline the recipes

Change-Id: I814fdb6f6534a9d5046281c45b6da87110f2093e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169342
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-06-28 12:56:49 +02:00
Sarper Akdemir
2ad7d5cfb0 make additionsdialog show connection errors
use non-scoped interaction handler instead of the scoped
SimpleFileAccessInteraction so that errors will be handled
with correct pop-up dialogs.

Also throw the correct type of DAVException for
USC_CONNECT_FAILED in Content::Open

Change-Id: If2031dfa2796f91fad6866bc9608194c92658b96
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169519
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2024-06-28 12:06:25 +02:00
Christian Lohmaier
93dbba5361 Update git submodules
* Update translations from branch 'master'
  to b87971d7ac97460271cb13bd0e4cb2e554654a45
  - update translations for 24.8/master
    
    and force-fix errors using pocheck
    
    Change-Id: I512d2cb5e312ef9dcec6426c13ad33d10441b017
2024-06-28 11:51:29 +02:00
Olivier Hallot
50b982570e Update git submodules
* Update helpcontent2 from branch 'master'
  to 7c187e488710f930d4d0ec5291308af2e3776a46
  - Fix broken links on Insert Table Help pages
    
    + refactor of the files
    
    Change-Id: I60dbaf848250abefc80272b5885ad01536cc218f
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/169652
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-06-28 11:07:37 +02:00
Miklos Vajna
b3e01bd3bd Related: tdf#161708 sw content controls: fix custom default of dropdown to PDF
Export the bugdoc to PDF without noticing that there is a content
control around some of the content and notice how the PDF export lacks
some words from the body text.

What happens is that content controls are exported to PDF as PDF forms
by default, and the selected option of a dropdown has to be an index, so
in case the text of the dropdown content control is not one of the
options, then the PDF will miss those words.

Fix the problem by inserting the text of the dropdown at the start if
there would be no valid index for it.

Also add a bit of padding around the rectangle of the content controls,
it turns out there is a default 1pt border in PDF, and this would lead
to a cut-off text at the end if we don't compensate for that border.

Change-Id: I99447894b320b42ad9ffe0d54d0190000621616b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169694
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2024-06-28 09:40:34 +02:00
Noel Grandin
912c55537b item-specific instance managers for SwFormatFrameSize and SwFormatVertOrient
and add some asserts to catch if we modify these things when they inside
a pool, which now that they are in hash-based container, will cause
trouble.

Change-Id: I2779f25cbcf056fbf71e417731d9b1f09ae33dd6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169629
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-06-28 09:18:04 +02:00
Noel Grandin
cb3c65fb70 assert when SfxObjectItems are modified while in a pool
which has always been a problem, but becomes a more obvious problem when
I implement some upcoming optimisations

Change-Id: I8b0368b0b8e9a726c71d241841afeed3876281d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169657
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-06-28 09:17:52 +02:00
Andrea Gelmini
5b33bc4438 Fix typo
Change-Id: I8a970902688bdece46774e73b76ee2bdeea3de57
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169608
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-28 09:11:07 +02:00
Andrea Gelmini
0381750784 Fix typos
Change-Id: I0418baac572db21f3b87af6281572e61b983e11d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169689
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-28 09:10:52 +02:00
Bogdan Buzea
390bfad2bb Resave with newer Glade version
Change-Id: If3fb270c17a32410fdd23ac37e46389c9cfdf56e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169604
Tested-by: Jenkins
Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2024-06-28 05:17:20 +02:00
Bogdan Buzea
97833217eb Resave with newer Glade version
Change-Id: Iaa30a56068f7db4a735793d99e04f31054f8e17c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169426
Tested-by: Jenkins
Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2024-06-28 01:48:29 +02:00
Bogdan Buzea
2668a9bb59 Resave with newer Glade version
Change-Id: I7524659a266204a470f2fd407112a2d8fc47c99d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169422
Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
Tested-by: Jenkins
2024-06-28 01:47:12 +02:00
Bogdan Buzea
e9dd8d2311 Resave with newer Glade version
Change-Id: Ic951f42f5a6dd7ab2d972a5ccc2d6e7fd3b5fa91
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169596
Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
Tested-by: Jenkins
2024-06-28 01:45:51 +02:00
Justin Luth
5c6c6a73e9 tdf#43767 mso-format layout: no smallcaps applied to numbering
If the paragraph marker is formatted as Uppercase,
then Uppercase is applied to that line's numbering as well.
However, if the marker is formatted as SmallCaps,
it MUST NOT be applied for MSO formats.

Apparently MSO only supports Uppercase and SmallCaps,
not Lowercase or Titlease.

I don't like these adhoc exceptions, so I didn't
attempt to apply them to ODF formats.
Let's keep it simple for ODF - any char format that applies
to the entire paragraph should apply to numbering as well
(except for the existing underline/overline exceptions).
- if you don't like that char attributes apply at all, blame MSO.
- if you don't like that DOCX is missing your goofy formatting,
  blame MSO for being inconsistent.

ooxmlexport12's tdf143384_tableInFoot_negativeMargins.docx
is almost interesting because it applies superscript
and small caps. However, the list is already uppercase,
so it can't be used for the test.

make CppunitTest_sw_ooxmlexport21 \
    CPPUNIT_TEST_NAME=testTdf43767_caseMapNumbering

Change-Id: I273baebc996adfd001e1c591dbb9aef9272a42f0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169476
Reviewed-by: Justin Luth <jluth@mail.com>
Tested-by: Jenkins
2024-06-28 01:24:36 +02:00
László Németh
8fc2fd284b tdf#92029 AutoCorrect: correct 's and 't in Dutch to apostrophe
“In Dutch (in Belgium as in the Netherlands), when you type "'s"
or "'t" in sentences like: "Ik ben 's morgens opgestaan", the
apostrophe is changed into an opening quote by the autocorrect
feature, which is incorrect and requires a manual correction.”

The bug reported with the suggested AutoCorrect extension
by Pierre François. The difference here is always to use the
de facto standard typographic apostrophe in the replacement.

Change-Id: I2ede612f72145abcca2bc1477ffae3cabc9e5641
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169645
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2024-06-27 23:07:29 +02:00