Commit graph

490430 commits

Author SHA1 Message Date
Caolán McNamara
11ebdfef16 add some protocols that don't make sense as floating frame targets
Change-Id: Id900a5eef248731d1184c1df501a2cf7a2de7eb9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158910
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-11-03 20:56:33 +01:00
Patrick Luby
9c0803edd1 tdf#155266 flush when scrolling or dragging
Delaying flushing until the dispatch level returns to zero causes
scrolling via the scrollwheel or mouse drag to appear laggy and
jerky.

Change-Id: Ib70e7766435baa765dd0d1d704ba2fac87f7fccc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158853
Tested-by: Jenkins
Reviewed-by: Patrick Luby <plubius@neooffice.org>
2023-11-03 20:55:04 +01:00
Patrick Luby
e4821ce3e0 tdf#158014 make image immutable after using Skia to invert
I can't explain why inverting using Skia causes this bug on
macOS but not other platforms. My guess is that Skia on macOS
is sharing some data when different SkiaSalBitmap instances
are created from the same OutputDevice. So, mark this
SkiaSalBitmap instance's image as immutable so that successive
inversions are done with buffered bitmap data instead of Skia.

Change-Id: I8acf90561c48edba14a5f43d16f375f15f25820c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158880
Reviewed-by: Patrick Luby <plubius@neooffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2023-11-03 18:33:23 +01:00
Patrick Luby
2a5dac6d75 tdf#158047 allow the tdf#157635 fix for palettes with 64 entries
Change-Id: Ib4e4deb5f7e332a7ef3a9231e993231068c21c4f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158885
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Patrick Luby <plubius@neooffice.org>
2023-11-03 18:32:26 +01:00
Caolán McNamara
af9b546cf5 avoid the neeed to escape url passed to gstreamer
Change-Id: I13d0cee911a3c9af99b494dde16b8d51f78d954a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158889
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-11-03 18:15:51 +01:00
Stephan Bergmann
cef555e9a4 Make ExternalReferenceUriTranslator more robust against broken UTF-8
<https://lists.freedesktop.org/archives/libreoffice/2023-November/091151.html>
"CppunitTest_stoc_uriproc failed on Windows" reports that
translateToExternal("file:///abc/%feef") produces an empty string (indicating
failure) instead of "file:///abc/%FEef" (as expected in
stoc/test/uriproc/test_uriproc.cxx) when osl_getThreadTextEncoding() is Shift
JIS.

This was due to how the call to rtl::Uri::encode in
Translator::translateToExternal (in
stoc/source/uriproc/ExternalUriReferenceTranslator.cxx) behaved:  It internally
interpreted its input "%FE" as the single-byte Shift JIS character 0xFE.  Which
gets mapped to U+2122 as an extension (see "APPLE additions over SJIS, we
convert this like Apple, because I think, this gives better result, then [sic]
we take a replacement char" in sal/textenc/tcvtjp6.tab) in readUcs4, but which
in turn doesn't get mapped back to any Shift JIS character in writeEscapeChar.

Translator::translateToExternal is the only user of
rtl_UriEncodeStrictKeepEscapes, as introduced by
6ff5d3341d "INTEGRATION: CWS c07v013_SRC680
(1.4.40); FILE MERGED: 2007/06/21 13:00:56 sb 1.4.40.1: #b6550116# Made
XExternalUriReferenceTranslator.translateToExternal more robust when the input
URL contains spurious non--UTF-8 octets like %FE (which are now copied verbatim,
instead of signalling error)."

To make the claim true that such "spurious non--UTF-8 octets like %FE" are
always "copied verbatim", regardless of text encoding being used, repurpose
rtl_UriEncodeStrictKeepEscapes to always treat any escape sequences that are
present as (potentially broken) UTF-8.

Change-Id: I0fa0b14d3e3d44e4b5514e1b73c84c407a947ce9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158888
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-11-03 17:26:58 +01:00
Caolán McNamara
1e95b89f8f escape url passed to gstreamer
Change-Id: I3c93ee34800cc8563370f75ef3ef6f8a9220e6ec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158884
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-11-03 16:51:03 +01:00
Andrea Gelmini
b73cde1acb Fix typo
Change-Id: Ida31b30c64c8ba2be61e6f4a408e1346df48d1b3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158875
Tested-by: Jenkins
Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2023-11-03 16:14:56 +01:00
Noel Grandin
afd635082e speed up hunspell inner loop
which calls into the kernel to get elapsed time, instead of using the
VDSO-based CLOCK_MONOTONIC (or at least, the C++ equivalent of that)
, which is much faster

Change-Id: I99d958b0ab64b75360db4e0c8a951c37af2505bc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158809
Tested-by: Jenkins
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-11-03 15:22:51 +01:00
Caolán McNamara
233495f76c reduce jsdialog formulabar updates from 6 to 3 per keystroke
SetTextString will emit one, so skip doing that if we are going to be
followed by another emission that will override the earlier one.

Change-Id: I82d804d57cd9647631bd338a3a0c4dd11989b9fc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158892
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-11-03 13:46:34 +01:00
Michael Stahl
822a0c4fcd tdf#157028 vcl: PDF export: inline OBJR dictionaries
There seems to be no reason why SE child OBJR dictionaries are separate
objects, they could just be inline.

Change-Id: I9e4fcdf56d9b7454325f9d3ef7ba55bdc090f948
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158838
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
2023-11-03 13:41:08 +01:00
Szymon Kłos
3d15de5255 lok: notebookbar: don't recreate toolbars too often
commit 	004512d87a
notebookbar: allow to create multiple instances for online

Changed SfxNotebookBar::StateMethod so in LOK case it always
enter to the code block which is meant to be used for
creating or reloading notebookbar. Change that so we check
if notebookbar was initialized for given view already.

Change-Id: Icfa1e572769043509479b7b98d055120ac3d1f74
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158872
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2023-11-03 12:54:48 +01:00
Venetia Furtado
4af0705351 tdf#140314:Use hub.libreoffice.org URL with params in Extensions
Change-Id: Iccf76581de8dc44fe80aa818e9fb81c2cdf0967b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155571
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2023-11-03 11:49:42 +01:00
Olivier Hallot
f813d7138d Update git submodules
* Update helpcontent2 from branch 'master'
  to bbdd4dfc5daee45a4b3d38a7acf698a73768173a
  - tdf#155876 UI cmds Calc-Format menu (19)
    
    + refactoring of Number formats
    
    Change-Id: Iaeb8114f6080652cd9f78ec8b2a1425056b5560d
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/158874
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-11-03 11:13:45 +01:00
Balazs Varga
08ac431817 tdf#158000 - UI: Part 17 - Unify lockdown behavior of Options dialog
for Chart Page.

Change-Id: I374a0dc8ff43be490e64a7173963e04005aec7e7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158852
Tested-by: Jenkins
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
2023-11-03 10:51:47 +01:00
Balazs Varga
7eb0e13c65 resave with newer glade version
Change-Id: Ib6c6b3d5619a5f1e30b7d4f59184ec232224a7d2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158851
Tested-by: Jenkins
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
2023-11-03 10:51:26 +01:00
Balazs Varga
d7d89a47e9 tdf#157862 - UI: Part 16 - Unify lockdown behavior of Options dialog
for Load/Save - HTML Page.

Change-Id: I8e9599c25eba62f7b82d8e3f56de031a1c6366fc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158849
Tested-by: Jenkins
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
2023-11-03 10:51:09 +01:00
Balazs Varga
349fa2b19d resave with newer glade version
Change-Id: I08920f6d2f19a689d71cd1045f9262bd165d4677
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158848
Tested-by: Jenkins
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
2023-11-03 10:50:52 +01:00
Balazs Varga
6f12739b62 tdf#157861 - UI: Part 15 - Unify lockdown behavior of Options dialog
for Load/Save - MS Office Page.

Change-Id: Ifd576e5030e49bef3c73f55f4d3f23eea34a45f9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158837
Tested-by: Jenkins
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
2023-11-03 10:50:28 +01:00
Balazs Varga
61351fcc5f resave with latest glade
Change-Id: I1a890cfbbd04262c1baf9d0dfc4b09a9498744d6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158836
Tested-by: Jenkins
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
2023-11-03 10:50:02 +01:00
Stephan Bergmann
d614b08b7f Suppress loplugin:redundantfcast also around C++20 CXXParenListInitExpr
...which is used by
<95a4c0c835>
"[clang] Reland parenthesized aggregate init patches" for the
__cpp_aggregate_paren_init feature implemented since Clang 16, and which had
caused bogus warnings in patch set 1 of
<https://gerrit.libreoffice.org/c/core/+/158838/1> "tdf#157028 vcl: PDF export:
inline OBJR dictionaries"

Change-Id: Id4118ce8d53902388ca3a80ad03f12b59e3a35e6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158842
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-11-03 08:11:59 +01:00
Ankit_Jaipuriar
47e06b18ed tdf#157664 Drop operator !=, where respective operator == is defined
Change-Id: I88b25dd676fc57303978e3d5e875af129240b676
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157762
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2023-11-03 07:48:19 +01:00
Michael Weghorn
a2e0b39b62 sw a11y: No longer report underline for misspelling
No longer report a red wavy underline for misspelled
words in Writer.

The underline isn't really a character/text attribute, since
it's not part of the actual formatting of the text, but is
just shown visually.

Each platform a11y API has a better way to explicitly
report misspelling.

    commit ec2e02cfa4
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Tue Oct 17 14:36:58 2023 +0200

        tdf#157696 a11y: Report spelling error via IA2 "invalid:spelling" attr

and

    commit 2bf88c172c
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Wed Oct 18 13:44:42 2023 +0200

        tdf#157696 wina11y: Switch from custom to IA2 text attributes

added the implementation for Windows and
the Qt-based VCL plugins on Linux.

On macOS (`NSAccessibilityMarkedMisspelledTextAttribute`/
`NSAccessibilityMisspelledTextAttribute`) and for gtk3/ATK,
the corresponding attributes were already used before.

Therefore, reporting an underline as a workaround is no
longer needed.

Orca on Linux, NVDA on Windows (with [1] in place)
and CrossOver on macOS all make use of the specific
character attribute to announce spelling errors, not
the underline. If any assistive technology should stop
reporting spelling errors due to this change, it should
be fixed to handle the proper text attribute as well.

After switching to text attributes according to the
IAccessible2 specification on Windows (i.e. with,
the above-mentioned commits and the NVDA commit
to switch to IAccessible2 text attributes for LO [1]),
NVDA was starting to announce not only that a word is
misspelled, but an underline in addition, which is
no more the case now that the underlining is no more
reported.

[1] de4e8814f3

Change-Id: Ifa29e0080a4a039c5a119dd0debe5e924fa546ed
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158847
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-11-03 07:31:37 +01:00
Michael Weghorn
e6d34f00a5 macOS a11y: Drop obsolete TODO to implement spelling error attr
Handling for `NSAccessibilityMisspelledTextAttribute` and the newer
`NSAccessibilityMarkedMisspelledTextAttribute` [1] has been added in

    commit db0fa92637
    Author: Boris Dušek <me@dusek.me>
    Date:   Sun Aug 11 16:37:48 2013 +0200

        fdo#67980 - VoiceOver does not inform about misspelled text

and VoiceOver announces misspelled Writer text as such, so drop the
obsolete TODO.

[1] https://developer.apple.com/documentation/appkit/nsaccessibilitymarkedmisspelledtextattribute

Change-Id: Id8ae1ee660e87c06ac7f559b5cdf1b31e22aef90
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158840
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-11-03 07:30:39 +01:00
Tobias Kokolakis
fa7ae46384 tdf#156478 Remove unused default values for MediaBox and UserUnit
Change-Id: Ica75be2fa238fdf2a40e274f1175710923b281e5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156468
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-11-03 06:08:23 +01:00
Mike Kaganski
8aec57f54b gbuildtojson: announce every target
vs-ide-integration takes tens of minutes on my system; and most
of the time, it didn't output anything to the terminal. Every
target handled by gbuildtojson takes ~2 s; with more than 870
targets, it makes sense to show the progress to avoid making an
impression of a hang.

The "GBJ" abbreviation (for "gbuildtojson") was not used in the
output before.

Change-Id: I71ab3ae59d1034f47140aad0dab6ed170140acb3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158846
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-11-03 06:03:16 +01:00
Justin Luth
a09b59cdbd NFC related tdf#158031 editeng: flatten and simplify the code
No Functional Change intended.
Just some slight optimizing that leads to some nice flattening.

Change-Id: I46d20a56821f218973c728f51575b104e6020500
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158854
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2023-11-03 03:19:06 +01:00
Jim Raykowski
167fb166e4 tdf#157801 Fix direct formatting is applied after pressing OK in the
Character properties dialog when the Highlighting tab Color page is
open and the color has not been changed

This is noticeable when character highlighting direct formatting is
already at paragraph level.

The expected result of opening the properties dialog, and immediately
pressing OK without changing anything (or alternatively, after
changing something there and then pressing Reset then OK), is no
changes in applied properties at all.

Inspiration for rework of the background tab page. With this patch
XATTR_FILL items need not be included in the InAttrs set, for
example, as part of this patch, the XATTR_FILLSTYLE, XATTR_FILLCOLOR
range is removed from the sw_CharDialog core set.

Change-Id: Ic2de53a29579c33820fc381d354a4afebe048a5b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158100
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2023-11-03 03:18:38 +01:00
László Németh
3e266d5902 tdf#158039 sw track changes: fix cycle case of selected sentences
Previous tracked changes of cycle case weren't removed, if
the selection doesn't end in a tracked change, i.e. sentences
with punctuation, or selections end in a capitalized word etc.

Fix also lost selection of multiple selected nodes.

Follow up to commit 4cf8de89ba
"tdf#157667 sw track changes: fix cycle case on multiple words",
commit dc748d7dbd
"tdf#141198 sw: fix cycle case with change tracking" and
commit 79435eb55e
"tdf#157988 sw track changes: fix cycle case on a selected word".

Change-Id: I24476c359200a25ca9bcd467c33b0ebeb1afb037
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158804
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2023-11-03 00:53:49 +01:00
Jim Raykowski
d2676b3e4b SwNavigator: Improve field content sorting
Shave some time off sorting field content entries for documents with
large number of fields by eliminating a second sort and the loop used
to determine if a second sort is done because a field is found in a
frame. Also corrects ordering of fields in nested frames which prior
to this patch are placed at the beginning of the field content
entries.

Change-Id: I5fbd67b6fb0ac1ef49a5df7721bb209d4cba4013
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158606
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2023-11-03 00:15:23 +01:00
Caolán McNamara
2f2803a77a Related: tdf#157939 put CppunitTest_svgio under non_application_font_use:abort
Change-Id: Ib48e8045ad739b6f6fe98ab00cd609b54d4c3113
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158843
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-11-02 21:01:26 +01:00
Caolán McNamara
6fbd5a72c8 tdf#157939 drop duplicates from the FontConfig Set
when we drop them from our own font list, that way we don't get
suggestions for glyph fallback which we can't satisfy

Also prefer our application fonts to system fonts when they
share the same version number where they should be the same, but
more than once we have a system-side font with oddities.

Change-Id: I90bd3311e0f37bacd60d20e1c1a6769b551b8b76
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158841
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-11-02 20:06:33 +01:00
Caolán McNamara
142e7d985f this should never be null, so we can use a reference
Change-Id: I682e30cfb4fd63a4f906bfb875cafdf77ae9cfe3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158805
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-11-02 16:29:34 +01:00
Caolán McNamara
b50681f8da crash seen in EditView::GetTransferable in calc
if (pColor->getComplexColor().getType() == model::ColorType::Unused)

(gdb) print pColor
$10 = <optimized out>

but:

(gdb) print *pSet
$12 = {_vptr.SfxItemSet = 0x7f7cd56f3198 <vtable for SfxItemSet+16>, m_pPool = 0x31e7d880, m_pParent = 0x0, m_ppItems = 0x33ecece0, m_pWhichRanges = {
    m_pairs = 0x7f7cd47b2480 <svl::Items_t<(unsigned short)4008, (unsigned short)4064>::value>, m_size = 1, m_bOwnRanges = false}, m_nCount = 1, m_bItemsFixed = false}

(gdb) print *(pSet->m_ppItems)
$11 = (const SfxPoolItem *) 0x0

so, apparent null deref of pColor

 #0  SvxUnoTextRangeBase::_getOnePropertyStates (pSet=0x7ffe47b3ded0, pMap=0x7f7cd5a50600 <ImplGetSvxTextPortionPropertyMap()::aSvxTextPortionPropertyMap+384>,
     rState=@0x38ae2d4c: com::sun:🫘:PropertyState::PropertyState_DIRECT_VALUE)
     at editeng/source/uno/unotext.cxx:1179
 #1  0x00007f7cd1e6f5be in SvxUnoTextRangeBase::_getPropertyStates (this=0x3543bc00, PropertyName=..., nPara=nPara@entry=-1)
     at editeng/source/uno/unotext.cxx:1057
 #2  0x00007f7cd1e6fa12 in SvxUnoTextRangeBase::getPropertyStates (this=<optimized out>, aPropertyName=...)
     at editeng/source/uno/unotext.cxx:1031
 #3  0x00007f7cd41e723b in (anonymous namespace)::FilterPropertiesInfo_Impl::FillPropertyStateArray (this=this@entry=0x32e94820,
     rPropStates=std::vector of length 0, capacity 0, rPropSet=..., rPropMapper=..., bDefault=bDefault@entry=false, pOnlyTheseProps=pOnlyTheseProps@entry=0x0)
     at xmloff/source/style/xmlexppr.cxx:327
 #4  0x00007f7cd41e9230 in SvXMLExportPropertyMapper::Filter_ (this=this@entry=0x34dc72a0, rExport=..., xPropSet=..., bDefault=bDefault@entry=false,
     bEnableFoFontFamily=bEnableFoFontFamily@entry=false, pOnlyTheseProps=0x0)
     at xmloff/source/style/xmlexppr.cxx:651
 #5  0x00007f7cd41ea026 in SvXMLExportPropertyMapper::Filter (this=this@entry=0x34dc72a0, rExport=..., rPropSet=..., bEnableFoFontFamily=bEnableFoFontFamily@entry=false,
     pOnlyTheseProps=pOnlyTheseProps@entry=0x0) at xmloff/source/style/xmlexppr.cxx:526
 #6  0x00007f7cd42dbbcd in XMLTextParagraphExport::Add (this=this@entry=0x37110830, nFamily=nFamily@entry=XmlStyleFamily::TEXT_TEXT, rPropSet=..., aAddStates=...,
     bDontSeek=bDontSeek@entry=false) at xmloff/source/text/txtparae.cxx:685
 #7  0x00007f7cd42dd09f in XMLTextParagraphExport::exportTextRange (this=this@entry=0x37110830, rTextRange=..., bAutoStyles=bAutoStyles@entry=true,
     rPrevCharIsSpace=@0x7ffe47b3eef0: true, openFieldMark=@0x7ffe47b3ec34: XMLTextParagraphExport::NONE)
     at xmloff/source/text/txtparae.cxx:3731
 #8  0x00007f7cd42e57df in XMLTextParagraphExport::exportTextRangeEnumeration (this=this@entry=0x37110830, rTextEnum=..., bAutoStyles=bAutoStyles@entry=true,
     bIsProgress=bIsProgress@entry=false, rPrevCharIsSpace=@0x7ffe47b3eef0: true)
     at xmloff/source/text/txtparae.cxx:2438
 #9  0x00007f7cd42ea746 in XMLTextParagraphExport::exportParagraph (this=this@entry=0x37110830, rTextContent=..., bAutoStyles=bAutoStyles@entry=true,
     bIsProgress=bIsProgress@entry=false, bExportParagraph=bExportParagraph@entry=true, rPropSetHelper=..., eExtensionNS=<optimized out>)
     at xmloff/source/text/txtparae.cxx:2378
 #10 0x00007f7cd42e0634 in XMLTextParagraphExport::exportTextContentEnumeration (this=this@entry=0x37110830, rContEnum=..., bAutoStyles=bAutoStyles@entry=true,
     rBaseSection=..., bIsProgress=bIsProgress@entry=false, bExportParagraph=bExportParagraph@entry=true, pRangePropSet=<optimized out>, eExtensionNS=<optimized out>)
     at xmloff/source/text/txtparae.cxx:2008
 #11 0x00007f7cd42e113a in XMLTextParagraphExport::exportText (this=this@entry=0x37110830, rText=..., bAutoStyles=bAutoStyles@entry=true,
     bIsProgress=bIsProgress@entry=false, bExportParagraph=bExportParagraph@entry=true, eExtensionNS=eExtensionNS@entry=TextPNS::ODF)
     at xmloff/source/text/txtparae.cxx:1762
 #12 0x00007f7cd1e78669 in XMLTextParagraphExport::collectTextAutoStyles (bExportParagraph=true, bIsProgress=false, rText=..., this=<optimized out>)
     at include/xmloff/txtparae.hxx:459
 #13 (anonymous namespace)::SvxXMLTextExportComponent::ExportAutoStyles_ (this=0x7f7cb4522930)
     at editeng/source/xml/xmltxtexp.cxx:341
 #14 0x00007f7cd406121c in SvXMLExport::ImplExportAutoStyles (this=this@entry=0x7f7cb4522930)
     at xmloff/source/core/xmlexp.cxx:1127
 #15 0x00007f7cd40645f5 in SvXMLExport::exportDoc (this=0x7f7cb4522930, eClass=<optimized out>)
     at xmloff/source/core/xmlexp.cxx:1380
 #16 0x00007f7cd1e78d64 in SvxWriteXML (rEditEngine=..., rStream=..., rSel=...)
     at editeng/source/xml/xmltxtexp.cxx:321
 #17 0x00007f7cd1da1d0c in ImpEditEngine::WriteXML (this=this@entry=0x34f87990, rOutput=..., rSel=...)
     at editeng/source/editeng/impedit4.cxx:270
 #18 0x00007f7cd1d88881 in ImpEditEngine::CreateTransferable (this=0x34f87990, rSelection=...)
     at editeng/source/editeng/impedit2.cxx:3843
 #19 0x00007f7cd1d4c091 in EditEngine::CreateTransferable (this=<optimized out>, rSelection=...)
     at editeng/source/editeng/editeng.cxx:816
 #20 0x00007f7cd1d5c91a in EditView::GetTransferable (this=0x33eb8190)
     at editeng/source/editeng/editview.cxx:662
 #21 0x00007f7cc2c03eac in ScModelObj::getSelection (this=<optimized out>)
    at sc/source/ui/unoobj/docuno.cxx:904

Change-Id: Idb8cbbebe02188678f9c1b17e80cf89feffa9de8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158803
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-11-02 16:29:28 +01:00
Caolán McNamara
d392b24623 add a fast path for the 1999-12-31 date in calendar conversion
seen in:

https: //user-images.githubusercontent.com/833656/279971758-ef3d86b1-23ea-4e57-ad15-1f9b12df6bdd.svg
Change-Id: I76f5e83860ea49e52099ece670e7c259fd89e666
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158830
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-11-02 16:29:09 +01:00
Samuel Mehrbrodt
86ab194c62 Clarify when the logo will be shown
Change-Id: Ie6ac8530b3351a2c9899c33932ba6ab70b246cd3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158797
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
2023-11-02 16:22:26 +01:00
Samuel Mehrbrodt
15bac35f44 Save with latest glade
Change-Id: Ibaa2851fede2ecd78b86388e151b4484e1ff60db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158796
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
2023-11-02 16:22:10 +01:00
Michael Weghorn
97c9b0cced tdf#112661 tdf#112662 a11y: Fix toggling button via a11y action
`PushButton::Click does not` toggle a `PushButton`
that is a toggle button. Therefore, call
`PushButton::Check` and `PushButton::Toggle` instead
when the acessible "press" action is performed on
a toggle button, which makes this work as expected.

The same is already done in the UITest code, see
`ButtonUIObject::execute`.

The originally rerported issue in tdf#112661 and
tdf#112662 was that there was no action available
for the "Templates" and "Recent Documents" toggle
buttons in the start center via the NSAccessibility
API on macOS at all. By now, the "press" action was
available, but performing the action (e.g. using
the Ctrl+CapsLock+Space keyboard shortcut for
VoiceOver) didn't have any effect.
The same was true when performing the action via
Accerciser using the AT-SPI Action interface when
using the qt6 VCL plugin on Linux.

With this change in place, toggling between
showing the templates and the recently used
documents in the start center works using that
action, just as it does when clicking on one
of the toggle buttons in the UI using the mouse.

For gtk3, which is using native GtkToggleButtons,
this was already working without this change in place.

Change-Id: Ie3f02ec914239e0718ca1bfb4ba701f0831bb16a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158807
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-11-02 15:54:24 +01:00
Christian Lohmaier
96ed0b0c15 Update git submodules
* Update translations from branch 'master'
  to 846a915406627d0663080fd22b26aa6a2f12c48e
  - update translations for master
    
    and force-fix errors using pocheck
    
    Change-Id: I1ac45a9287f6a2b5f00788a065fd85e3da4548f4
2023-11-02 15:49:53 +01:00
Caolán McNamara
6b708e3c56 Related: ofz#63786 make it clearer what m_aShortSprm is used for
its not used as a SVBT32, only as a little buffer

Change-Id: I7a6d364c68ae31520cbb7432da832d108a9daeff
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158787
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-11-02 15:46:47 +01:00
Noel Grandin
00e1ac51e6 'new Character' is deprecated in Java
replace with Character.valueOf

Change-Id: I9938db0fce6490eba6f4900efc3c139a1b71d120
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158786
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-11-02 14:47:25 +01:00
Balazs Varga
30877bdc01 tdf#157860 - UI: Part 14 - Unify lockdown behavior of Options dialog
for Load/Save VBA Properties Page.

Change-Id: I9526c2a5aa25fbdea1edbc0051d9b6a29c643d8d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158781
Tested-by: Jenkins
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
2023-11-02 13:50:51 +01:00
Balazs Varga
71ebaf56d8 resave with latest glade
Change-Id: Id4482f53a84e93f44c1a0cda2d20bf3ece48d44a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158762
Tested-by: Jenkins
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
2023-11-02 13:50:34 +01:00
Mike Kaganski
54b5040e08 VS IDE integration: enable Python pretty printers when debugging a WSL build
See https://learn.microsoft.com/en-us/cpp/linux/deploy-run-and-debug-your-linux-project#debug-with-attach-to-process

Change-Id: I16d50ebe5f087518de1953ea1f9aad4180714cc7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158789
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-11-02 13:43:51 +01:00
Noel Grandin
41d9584179 'new Double' is deprecated in Java
replace with Double.valueOf

Change-Id: If5be8e500e31ebf9d5fb20ea7dd474677d7c74ff
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158785
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-11-02 12:00:34 +01:00
Noel Grandin
cb982f1479 'new Float' is deprecated in Java
replace with Float.valueOf

Change-Id: Ib6408b24dac2953789d0ec67e73b8be8aefca252
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158784
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-11-02 12:00:24 +01:00
Michael Stahl
a71da3b7a8 tdf#156565 sw: PDF/UA export: split Link SE at line break
There must be one Link SE per Link Annotation, so ensure that a new one
is created for a new line.

(regression from commit 4c5283a3a1)

Change-Id: I2585d9e22a435d7716f48fec89a78149c129f71d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158775
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-11-02 11:53:42 +01:00
Joan Montané
44ca7832de Localize <FollowPage> to Catalan
Change-Id: I088047a94f2bd7a7405cf42e9c0eca73cdb11c6b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155776
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
2023-11-02 11:43:36 +01:00
Michael Stahl
755210c38d sw: PDF/UA export: produce Link SEs for RTL text
This is a SwBidiPortion containing a nested SwLineLayout containing
SwLinePortions for the link or text, and only the SwBidiPortion had a
tag helper, so add one for the inner portion too. (Apparently this
never worked before.)

Change-Id: I803191dafe101a42e4dbe1c0167411c2f1f76a2f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158773
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-11-02 10:48:01 +01:00
Michael Stahl
a1b0fc647d sw: SwLinePortion::Move() should be const
Change-Id: I79938773034fbe708ba867960c9effecb2e24a59
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158766
Tested-by: Michael Stahl <michael.stahl@allotropia.de>
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-11-02 10:47:44 +01:00