Commit Graph
499239 Commits
Author SHA1 Message Date
Ilmari Lauhakangas 78a2addbfe Update git submodules
* Update helpcontent2 from branch 'master'
  to edcc3ca5f71bb680059d4713b095246f876837b4
  - tdf#149085 Protect section in Writer object properties moved to
    
    Position and Size tab.
    
    I removed the <ahelp> tags as the .ui file already has extended tips defined.
    
    Also update the label Automatic to AutoSize to match current UI.
    
    Change-Id: Iddb9dfa48e983879fba8233a37b64f954b5787fe
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/172941
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
    Tested-by: Jenkins
2024-09-06 15:58:21 +02:00
Xisco Fauli 3d99cc9083 tdf#162467: fix measurement units in impress/draw
Regression from
commit 055e7d8666
Author: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
Date:   Tue Apr 23 20:04:43 2024 +0200

    Use less SdOptionsLayout->GetMetric/SetMetric in favor of officecfg

This code was removed for no apparent reason.
Reintroduce it and adapt it

Change-Id: Iea23ba824cdc20e59edbc316fefc7325c73926a2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172940
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-09-06 15:21:34 +02:00
Ilmari Lauhakangas 3f3da299e5 Update git submodules
* Update helpcontent2 from branch 'master'
  to b4c5d498e409d98da283dcaa25a8e3d8591aac76
  - tdf#140347 Labels changed in Settings of Footnotes and Endnotes dialog
    
    Change-Id: I6c3f9c626c24bddf5cd72ce5c0a65732ad3073ad
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/172968
    Tested-by: Jenkins
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-09-06 15:07:13 +02:00
Noel Grandin ad3fa69eeb reduce time spent in RecalcPageNums when importing PDF
when we have lots of pages, we trigger a O(n^2) loop.

Do two things to reduce this
(a) be smarter about recalculating page numbers, so we only recalculate
the set of page numbers that need recalculating
(b) duplicate the last page repeatedly, instead of the first page, so we
don't recalculate all the page numbers for each page we duplicate

Change-Id: I40aca812b47a9551039c5855b1c8d26f5f171f41
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172942
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-09-06 14:48:17 +02:00
Noel Grandin 7abbdb5eb3 return SwTableLineFormat from SwTableLine::GetFrameFormat
since that is always the SwFrameFormat subclass we are attached to

Change-Id: I02645ac4ab5078e5fd201fef5fdae5232652a9f0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172939
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-09-06 14:07:22 +02:00
Noel Grandin 7b16c7db04 use less GetItemSurrogates in SwTable::UpdateFields
which speeds up loading a large document with lots
of nested tables from several minutes to under 15s

Regression from
    commit ae7807c889
    Author: Armin Le Grand (allotropia) <armin.le.grand.extern@allotropia.de>
    Date:   Wed Jan 10 20:07:47 2024 +0100
    ITEM: No longer register Items at Pool

Change-Id: If44bbc50074fc324e9458a4ac498f402500981e4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172937
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-09-06 12:55:48 +02:00
Miklos Vajna de0bc0a2c3 cool#9992 lok doc sign: make SfxMedium::SignContents_Impl() async
Currently SfxObjectShell::CheckIsReadonly() has a hack for the LOK case
to show the signatures dialog read-only, as only that is async.

The next step to get rid of this hack is to make
SfxMedium::SignContents_Impl() async, now that
SfxObjectShell::SignDocumentContent() is async.

This requires all callers of SfxMedium::SignContents_Impl() to be async,
most notably SfxObjectShell::SignScriptingContent() has to be converted
as well.

Note that no lifecycle problem is expected here for the callback, since
the object shell and its medium is typically around for as long as the
document is loaded.

Change-Id: I57f2c747f8448b9adc0398f874ede36211fed817
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172934
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2024-09-06 12:25:48 +02:00
Caolán McNamara 1da035600a drop unused eventtesting cmd line option
Change-Id: I90edb80f3b414cbe0a81ecccbf1080106708a131
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172933
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-09-06 12:25:32 +02:00
Jonathan Clark 1d3ba3ba5d tdf#152142 sw: fix RTL as-char textbox compat flag special case
Fixes an issue causing incorrect textbox positions when the containing
shape is anchored 'as character' inside RTL text, with the
DoNotMirrorRtlDrawObjs compatibility flag set.

Change-Id: I58cade8b91925dda188a1ef8fd078ccfdc3fea56
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172938
Tested-by: Jenkins
Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
2024-09-06 11:54:02 +02:00
Noel Grandin edc20f4d34 return SwTableBoxFormat from SwTableBox::GetFrameFormat
since that is always the SwFrameFormat subclass we are attached to

Change-Id: Iaac0503818c7c9c8e2563ad0dd7d689bdddb8438
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172922
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-09-06 10:41:45 +02:00
Kira Tubo 60934c3a6a tdf#149085: Move "Protect" section to "Position and Size" tab
- Within properties dialog of Image, Frame, Object, move "Protect" section
(including checkboxes Contents, Position, Size), from "Options" tab to
"Position and Size" tab.
- Rearrange positioning of UI elements.

Change-Id: Ie55832404f47505e31202a12484cd8dedcda6bcf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172728
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2024-09-06 10:12:49 +02:00
Adam Seskunas 2bacf24d46 tdf#54862 Add Unit test
Change-Id: I321b8fc30cb814c17b397eb5353fb05fc2b2410c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172878
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-09-06 10:07:51 +02:00
Michael Stahl c647937e60 sw: fix problem with 0-height tables after unhiding section
Mysteriously this works the first time the section is made visible, but
then hide it again and unhide it and a table has height 0 because only
the table itself is invalidated and none of the text frames inside it.

SwTabFrame::MakeAll() does Prepare(PrepareHint::FramePositionChanged) on
all contained text frames, but that may actually do nothing in common
cases.

So just recursively invalidate everything in the section, that should
fix things.

(regression from commit ff7f1b59e22092d8548459e75fe912db852f056f)

Change-Id: I26e72193947685fde52fb8da78e95592a3866c12
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172920
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
2024-09-06 09:53:51 +02:00
Xisco Fauli 8ffcd108d6 tdf#161724: svx_unit: Add unittest
Change-Id: Ie7d2707faa1aaec8e946efe1e8e4a826bf3ea091
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172928
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-09-06 09:44:38 +02:00
Miklos Vajna 0f8329d834 sw doc model xml dump: show start node of headers
Without this, it's hard to see which header node section belongs to the
header of which page desc.

Change-Id: I9994b511c8df7b992350a13ac1cf4fcf875c49ba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172930
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2024-09-06 09:44:00 +02:00
Mike Kaganski 2c7358f5d2 Deduplicate some code
Change-Id: Ic095e3665c98752493d1b47aa6962e87a3d1e319
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172903
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-09-06 09:36:43 +02:00
Caolán McNamara 73ef706f3f Update git submodules
* Update helpcontent2 from branch 'master'
  to 35f143f5b52cf1b8203562e4016b75ba7e568c53
  - drop removed 'eventtesting' cmd line option
    
    Change-Id: I8f22828134b0b5354621a1e2bf18adf8af1203a4
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/172932
    Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
    Tested-by: Jenkins
    Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-09-06 09:24:42 +02:00
Justin Luth 09df48f87f tdf#161741 undo nits: NeedsClearRedo is private + prioritize TopLevel
moNeedsClearRedo is an implementation detail,
so there should not be public functions for it.

Plus, NeedsClearRedo can be called either against
the CurrentLevel stack or the TopLevel stack
(whatever that implies - there is no documentation...)
and since it is a delayed call that means that
multiple NeedsClearRedo attempts could be made,
theoretically against both stacks.

My initial implementation was "last one wins",
(which may very well prove to be the best one)
but whatever happens, it should be clearly intentional.
Based on my limited skill at code reading,
it sounds like CurrentLevel might be more of an implemention detail
or a temporary expansion of a ListUndoAction,
so I am guessing that any request for TopLevel clearing
should be given priority.

For Writer, it is always clearing the TopLevel stack
  sw/source/core/undo/docundo.cxx: ClearRedo()
    return SdrUndoManager::ImplClearRedo_NoLock(TopLevel);

Change-Id: I195aefb696599f018712135a2e015549d534791f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171984
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Reviewed-by: Justin Luth <jluth@mail.com>
2024-09-06 08:42:31 +02:00
Tibor Nagy 1e905680c8 tdf#162359 sw: fix the export of comments as PDF annotations
Change-Id: If4a8a1a73c382f496b2c6dd4d52271dc6bc87dda
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172877
Tested-by: Jenkins
Reviewed-by: Nagy Tibor <tibor.nagy.extern@allotropia.de>
2024-09-05 22:58:30 +02:00
Sahil Gautam 9dd26d7a2c Libreoffice Theme Part 0: Read correct colors from qt based VCL_PLUGINS
See `QtFrame::UpdateSettings()`, where `StyleSettings::WindowColor` is
set to aBase (QPalette::Base) and `StyleSettings::DialogColor` is set to
WindowColor in a call to `StyleSettings::BatchSetBackgrounds`.

The issue is that without this patch in place, "GetWindowColor()" doesn't
return the color of the window, instead it returns the "base color" from
QPalette.

It had some unintendedd consequences like the "Animation Panel" in the
Impress's Animations sidebar not being painted with the correct color,
as it was expecting the old WindowColor. This patch also fixes that by
changing WindowColor to FieldColor in `SalInstanceWidget::set_stack_background()`

https://gerrit.libreoffice.org/c/core/+/168901/comment/0e5201bd_2cae07b9/

Change-Id: I36f8c5efd8c3e87ded19a1efc00ed9c69a7fccf1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171916
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-09-05 21:33:35 +02:00
Andrea Gelmini c4d2570b4f Update git submodules
* Update helpcontent2 from branch 'master'
  to 6cf58ad72402089f3bface5930dad6ab7ecdd0c3
  - Fix typo
    
    Change-Id: I02a273ae82c96388efeee5ea2d88b7162d8d2022
    Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/172921
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-09-05 20:22:24 +02:00
Xisco Fauli 6605f58aed cui: fix another plausible crash
Similar to 6633afe0ff
"fix crash in Hyperlink dialog"

Change-Id: Ia53ffeffaca775c66fb269e109d5fdb8c32d0066
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172917
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-09-05 20:06:47 +02:00
Xisco Fauli 629a9d68ee drawinglayer: getHeight() -> getWidth()
Since 01ded1e6d3
"WMF tdf#55058 tdf#142722 Add implementation of BitBlt and StretchBlt"

Change-Id: Ib99e940c954fe44f2dbee2b14dfa9d2c79468500
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172919
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-09-05 20:06:21 +02:00
DaeHyun Sung e830f2a041 tdf#157029 changed Korean Font priority for LibreOffice UI
changed Korean Font priority for LibreOffice UI

 * Change list order, "맑은 고딕;Malgun Gothic;애플 SD 산돌고딕 Neo;Apple SD Gothic Neo"
 after Noto Sans CJK & Nanum Gothic.
 * Change list order, Make Noto Serif CJK KR font read first for  Korean-Serif Familys

Because, Noto Sans CJK KR, Nanum Gothic are mostly used on Windows, Linux, and Mac.
"맑은 고딕;Malgun Gothic;" is used on Windows,
"애플 SD 산돌고딕 Neo;Apple SD Gothic Neo" is used on Mac.

 * Modified dotum's Korean name.  `돋음` to `돋움`
 * default TEXT font use Sans instead of Serif.
In Korean environment, MS products were adopted Sans-family's Malgun Gothic font as a default font since Vista
Also, HWP(South Korea's a proprietary word processing application) is adopted Sans-Family's HCRDotum(함초롱돋움) since HWP 2010.
As a result, I changed Sans-family font as a default Text font instead of Serif-family font on LibreOffice UI.

Change-Id: I3c7803b63a52d5569ca36d788d944a038e6fd8bb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157494
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Jenkins
2024-09-05 19:38:52 +02:00
Justin Luth 47bb0e2b7d Revert "tdf#162612 mso import NOT-layoutInCell: effectively are wrap-through"
This reverts my 25.2 commit c8e272734a.

Reason for revert: I found an example where wrapping does apply.
In addition, wrap-through images are not restricted to the paper area, but in this case the shape should still be restricted.
Needs more testing..., so just completely revert for now.

Change-Id: I559942fee98f5693c90f7e16f65fefb7ecb9ab48
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172899
Reviewed-by: Justin Luth <jluth@mail.com>
Tested-by: Jenkins
2024-09-05 19:34:09 +02:00
Rico Tzschichholz ac1600f9d1 sw: Add missing #include <cstring>
/<<PKGBUILDDIR>>/sw/source/uibase/config/usrpref.cxx: In member function ‘com::sun::star::uno::Sequence<rtl::OUString> SwContentViewConfig::GetPropertyNames() const’:
/<<PKGBUILDDIR>>/sw/source/uibase/config/usrpref.cxx:120:24: error: ‘strcmp’ is not a member of ‘std’; did you mean ‘strcmp’?
  120 |     static_assert(std::strcmp("Update/Link", aPropNames[g_UpdateLinkIndex]) == 0);
      |                        ^~~~~~
In file included from /<<PKGBUILDDIR>>/include/rtl/string.hxx:36,
                 from /<<PKGBUILDDIR>>/include/rtl/ustring.hxx:45,
                 from /<<PKGBUILDDIR>>/include/com/sun/star/uno/Any.h:30,
                 from /<<PKGBUILDDIR>>/include/com/sun/star/uno/Any.hxx:35,
                 from /<<PKGBUILDDIR>>/include/o3tl/any.hxx:21,
                 from /<<PKGBUILDDIR>>/sw/source/uibase/config/usrpref.cxx:23:
/usr/include/string.h:156:12: note: ‘strcmp’ declared here
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |            ^~~~~~
/<<PKGBUILDDIR>>/sw/source/uibase/config/usrpref.cxx:121:24: error: ‘strcmp’ is not a member of ‘std’; did you mean ‘strcmp’?
  121 |     static_assert(std::strcmp("Display/DefaultAnchor", aPropNames[g_DefaultAnchor]) == 0);
      |                        ^~~~~~
/usr/include/string.h:156:12: note: ‘strcmp’ declared here
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |            ^~~~~~
make[2]: *** [/<<PKGBUILDDIR>>/solenv/gbuild/LinkTarget.mk:338: /<<PKGBUILDDIR>>/workdir/CxxObject/sw/source/uibase/config/usrpref.o] Error 1

Change-Id: Ie6c89500c554e0027d9b14c082baca519a454c10
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172860
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
(cherry picked from commit f20592f7baf1b07f1b60c1625e69cee6e2e9be88)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172891
2024-09-05 18:39:41 +02:00
Michael Stahl e2f3ba12c2 sw: fix hiding of flys in hidden sections, part 2
Didn't notice that this depends on a global variable "bObjsDirect" so it
only works for some documents; move the HideAndShowObjects() call to the
end so it works in all cases.

(follow-up to commit 8a13277f79)

Change-Id: I26a7cecdb660179f3ac1c3ea1e5d19067806b741
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172915
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
2024-09-05 17:24:23 +02:00
Xisco Fauli 295e103964 tdf#161724: Revert "tdf#153008 svx: impl crop for stretched bitmap fill"
This reverts commit c30c1d12f2.

it even broke the original sample file reported in tdf#153008
See https://bug-attachments.documentfoundation.org/attachment.cgi?id=196248
The original issue was reported in tdf#95165 but it doesn't work
in all cases, making it much worse in some cases where images
become very stretched
Reverting for now, specially towards libreoffice-24-8 and
libreoffice-24-8-1

Change-Id: Ib94d2784d701d37853ce9b17135b36f26a5c084b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172913
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-09-05 16:17:57 +02:00
Miklos Vajna 0255283974 cool#9992 lok doc sign: add SfxObjectShell::AfterSignContent()
Currently SfxObjectShell::CheckIsReadonly() has a hack for the LOK case
to show the signatures dialog read-only, as only that is async.

The first problem for the read-write signatures dialog is that
SfxObjectShell::ExecFile_Impl() has code after invoking
SfxObjectShell::SignDocumentContent(), which will be executed too early
if the dialog is executed async.

Fix the problem by moving the code in question into a new
SfxObjectShell::AfterSignContent(), and only invoke that as a callback
after the async run finished.

The message dialog in the moved code is still non-async, but we can deal
with that later.

Change-Id: I32f0895118ac0da72105ec3a24c0294e18c05545
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172914
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2024-09-05 16:14:25 +02:00
Michael Stahl 8087f479b3 sw: fix empty pages after hiding section due to SwTabFrame
The problem with a full customer doc is that a table doesn't MoveBwd
because ShouldBwdMoved finds that the rows don't fit as the rows still
have non-0 heights, and the result is an empty page at the end; also the
table later splits.

Turns out that setting bDontSplit prevents both problems; the inner
frames are all set to 0 height by lcl_RecalcTable().

(regression from commit ff7f1b59e22092d8548459e75fe912db852f056f)

Change-Id: I5012142a0019ee2e978d5b8a9eb445ff0949e569
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172910
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
2024-09-05 15:45:01 +02:00
Dione Maddern 4fdeff11d8 Update git submodules
* Update helpcontent2 from branch 'master'
  to 0e9d2c728aa5f30b4fa97922a85e5f56912869d9
  - tdf#162504 tdf#152161 Create help pages for Properties sidebar panels
    
    Created a new page text/shared/01/sidebar_properties.xhp
    This page is a WIP but it proved to be easier to created pages for the
    individual panels one at a time. I've included it in the patch because
    some of the other pages have embedded content from the howtoget section.
    
    Created a new page text/shared/01/sidebar_character_panel.xhp
    - to document the Character options in the Properties sidebar
    
    Created a new page text/shared/01/sidebar_paragraph_panel.xhp
    - to document the Paragraph options in the Properties sidebar
    
    Created a new page text/shared/01/table_design.xhp
    - to document the Table Design options in the Properties sidebar in Draw
    and Impress
    
    Created a new page text/swriter/01/paragraph_hyphenation.xhp
    - to document the Hyphenation options in the Paragraph panel of the
    Properties sidebar in Writer
    
    In text/shared/00/00040502.xhp
    - Removed outdated How to get information for the Double Underline
    option
    - Added section tags so that content can be easily embedded in other
    pages
    
    In text/simpress/main0203.xhp
    - Added Help instructions for the Character Highlight widget.
    - Added icons for the "Increase Font Size" and "Decrease Font Size"
    widgets.
    
    In text/shared/01/05020500.xhp
    - Added Icon for "Spacing"
    
    In text/swriter/guide/using_hyphen.xhp
    - Changed title from "Hyphenation" to "Using Hyphenation" to match H1
    and avoid confusion with the two other pages titled "Hyphenation".
    
    Added section and variable tags to allow content to be easily embedded
    in other pages in:
    source/text/shared/00/00040500.xhp
    source/text/shared/01/05010000.xhp
    source/text/shared/01/05020100.xhp
    source/text/shared/01/05020200.xhp
    source/text/shared/01/05020500.xhp
    text/shared/01/05030100.xhp
    source/text/shared/01/05030700.xhp
    source/text/shared/01/05070410.xhp
    source/text/shared/01/05070510.xhp
    source/text/shared/01/05070610.xhp
    source/text/shared/01/05110100.xhp
    source/text/shared/01/05110200.xhp
    source/text/shared/01/05110300.xhp
    source/text/shared/01/05110400.xhp
    source/text/shared/01/06050300.xhp
    source/text/shared/01/06050500.xhp
    source/text/shared/01/StyleNewByExample.xhp
    source/text/shared/01/StyleUpdateByExample.xhp
    source/text/shared/01/formatting_mark.xhp
    source/text/shared/02/02010000.xhp
    source/text/shared/02/02020000.xhp
    source/text/shared/02/02130000.xhp
    source/text/shared/02/02140000.xhp
    source/text/shared/02/02160000.xhp
    source/text/shared/02/03110000.xhp
    source/text/shared/02/03120000.xhp
    source/text/shared/02/paintbrush.xhp
    source/text/swriter/01/05030200.xhp
    source/text/swriter/guide/using_hyphen.xhp
    
    Change-Id: If8071612709aeae514dbd591eba4c1d0d0928a64
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/172844
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-09-05 15:26:11 +02:00
Jean-Pierre Ledure d2d14c36d1 ScriptForge (Database) DMin, DMax return strings or dates
Python only:

Reset a flag in SF_Database.DMin and DMax methods
to allow dates to be returned.

Review typing hints to accept strings and dates

Integration of remarks from Microsoft/VSCode
about minor syntax issues in scriptforge.pyi
(syntax was accepted by PyCharm).
Now, syntax commonly accepted by both IDE's.

Change-Id: I752d9f1d7a5293222d81748f8fb2e8f46f4317de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172912
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
2024-09-05 15:21:53 +02:00
Noel Grandin f8deb64c3c throw more useful exception from OPropertySetHelper::getPropertyValue
Change-Id: I90e7ab5763bf368cec795a8c39ece17579dd851d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172905
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-09-05 13:51:34 +02:00
Noel Grandin 6d6422b3ff tdf#162772 Crash in "Target in Document" in Hyperlink dialog
regression from
    commit a6ad198d09
    Author: Noel Grandin <noel.grandin@collabora.co.uk>
    Date:   Sat Aug 17 13:19:54 2024 +0200
    tdf#158556 use more comphelper::ByteReader

Change-Id: I7343159d5e3ec7619ba95a98417fd3b4e25dbf6c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172906
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-09-05 13:51:25 +02:00
Noel Grandin 70b6d04570 tdf#162728 Crash on saving in Math Formula editor
regression from
    commit ece0729e18
    Author: Noel Grandin <noel.grandin@collabora.co.uk>
    Date:   Tue Aug 13 13:43:25 2024 +0200
    use less exception throwing for flow control

Change-Id: I52dcb717e309c70d10a0609b04b2c9c659c423cf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172908
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-09-05 13:51:15 +02:00
Noel Grandin 6633afe0ff fix crash in Hyperlink dialog
which I managed to trigger by hitting escape repeatedly while it was
trying to load the targets window

Change-Id: I4c7cb3a30104c58bfc6652923a0aa2169c1bf3bf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172907
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-09-05 13:51:07 +02:00
Heiko Tietze 5c64b81b4d Resolves tdf#160937 - Minimize document properties dialog size
* Scrolled view behind Description items
* Width for preferred image resolution set to 5 chars

Change-Id: Id29c0109a3dd2998bc5d09cfbed4a848cf2d3f19
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172881
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2024-09-05 12:22:47 +02:00
Noel Grandin d50f3fa9f5 tsan: data race
Read of size 1 at 0x7250000be3fd by thread T19:
 0 dbaccess::ODatabaseDocument::queryInterface(com::sun::star::uno::Type const&)
 1 non-virtual thunk to dbaccess::ODatabaseDocument::queryInterface(com::sun::star::uno::Type const&)
 2 com::sun::star::uno::BaseReference::iquery(com::sun::star::uno::XInterface*, com::sun::star::uno::Type const&)
 3 com::sun::star::uno::Reference<com::sun::star::frame::XFrame>::iquery(com::sun::star::uno::XInterface*)

Previous write of size 1 at 0x7250000be3fd by thread T8 (mutexes: write M0):
 0 dbaccess::ODatabaseDocument::storeAsURL(rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&)
 1 non-virtual thunk to dbaccess::ODatabaseDocument::storeAsURL(rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&)
 2 gcc3::callVirtualMethod(void*, unsigned int, void*, _typelib_TypeDescriptionReference*, bool, unsigned long*, unsigned int, unsigned long*, double*)

Change-Id: I40ce0b5995f94455b5d9ca1d652a58df96b5f553
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172873
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-09-05 11:29:59 +02:00
Oliver Specht 497d328042 tdf#159027 test added
Test added as follow-up to f60126a6bf
checking table calculation on page break

Change-Id: Icb4e8b8509db18d82647c66a6abdb87648ad4cb2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171592
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2024-09-05 11:29:56 +02:00
Michael Stahl 8a13277f79 sw: fix hiding of flys in hidden sections
There are 2 different ways to hide flys, either destroy the SwFlyFrames
(as is done for delete redlines or fieldmarks) or move them to an
invisible layer (as is done for field-hidden paragraphs).

Previously for hidden sections the FlyFrames would be destroyed, but
it's easier now to move them to invisible layer.

HideAndShowObjects() needs to be recursive so it can hide flys that are
anchored in a table.

(regression from commit ff7f1b59e22092d8548459e75fe912db852f056f)

Change-Id: Ideab0343315e575c066eb9e2e901d2ee0acabe3a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172865
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
2024-09-05 11:19:36 +02:00
Pierre F d8217dd8f8 Update git submodules
* Update helpcontent2 from branch 'master'
  to 06c4d05a7e39feb276bbd70ed3639a8c10157d54
  - tdf#161401. explicit "Delete comment" for Calc Navigator
    
    Change-Id: Id44e12ddde6bcdab5d4628634fd90bb6543e6a38
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/172820
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
    Tested-by: Jenkins
2024-09-05 10:57:36 +02:00
Rico Tzschichholz 937ec1d808 kf6: Use the intended qt6 includes
Change-Id: Ieaed72cbb0f915be4676d0df9bffe20e9fbfd0da
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172616
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2024-09-05 10:48:50 +02:00
Olivier Hallot 090b60167a Update git submodules
* Update helpcontent2 from branch 'master'
  to d984c2e53073403920ff738525fa7b34910bdc7d
  - tdf#162791 Update BASIC now() help page.
    
    BASIC Now() function changed internal calculation to match Calc's =NOW() function.
    
    Change-Id: I10653e8120c34d57db9f06ad70768174a47cba59
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/172876
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-09-05 10:36:16 +02:00
Noel Grandin 898ff23a66 no need to use dynamic_cast here
Change-Id: Icc5ad5972afdad128db19c6b2d6d0aa55da47f0a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172880
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-09-05 10:30:15 +02:00
Noel Grandin 6ebe316635 tsan: data race
Atomic write of size 4 at 0x7254000f5f08 by thread T38 (mutexes: write M0, write M1, write M2):
0 configmgr::Access::acquireCounting()
1 configmgr::Components::initGlobalBroadcaster(configmgr::Modifications const&, rtl::Reference<configmgr::RootAccess> const&, configmgr::Broadcaster*)
2 configmgr::RootAccess::commitChanges()
3 non-virtual thunk to configmgr::RootAccess::commitChanges()
4 utl::OConfigurationTreeRoot::commit()
5 dbaccess::(anonymous namespace)::DatabaseRegistrations::registerDatabaseLocation(rtl::OUString const&, rtl::OUString const&)
6 non-virtual thunk to dbaccess::(anonymous namespace)::DatabaseRegistrations::registerDatabaseLocation(rtl::OUString const&, rtl::OUString const&)
7 dbaccess::ODatabaseContext::registerDatabaseLocation(rtl::OUString const&, rtl::OUString const&)
8 dbaccess::ODatabaseContext::registerObject(rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)
9 non-virtual thunk to dbaccess::ODatabaseContext::registerObject(rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)
10 gcc3::callVirtualMethod(void*, unsigned int, void*, _typelib_TypeDescriptionReference*, bool, unsigned long*, unsigned int, unsigned long*, double*)

Previous read of size 4 at 0x7254000f5f08 by main thread (mutexes: write M3, write M4):
0 cppu::OWeakObject::disposeWeakConnectionPoint()
1 cppu::OWeakObject::release()
2 configmgr::RootAccess::release()
3 non-virtual thunk to configmgr::RootAccess::release()
4 com::sun::star::uno::Reference<com::sun::star::util::XChangesBatch>::~Reference()
5 SvtLinguConfig::~SvtLinguConfig()
6 SwDoc::GetGCIterator()
7 SwDoc::StartGrammarChecking(bool)
8 sw::DocumentTimerManager::GetNextIdleJob()
9 sw::DocumentTimerManager::IsDocIdle()
10 sw::SwDocIdle::UpdateMinPeriod(unsigned long) const
11 Scheduler::CallbackTaskScheduling()

Change-Id: Idaf2707e5902338a873a325228e9c97e646ea768
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172874
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-09-05 09:58:55 +02:00
Andrea Gelmini 1799fb8a5a Fix typo
Change-Id: I799609afc33913fc09f7020a5bc53c83de36bff0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172879
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2024-09-05 09:10:00 +02:00
Noel Grandin ac9eaf5d11 use less dynamic_cast when broadcasting SfxHint
Change-Id: If4d33cbbf36a9ad495b80a7347b39d0f4bc0405e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172857
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-09-05 08:10:26 +02:00
Heiko Tietze 0266763e05 Resolves tdf#140298 - Improve UX for SQL dialog
* dialog made resizable
* user input remembered across session
* number of results shown (inkluding plural form)

Change-Id: I5b08064ed68a02a2c20fa658dbc6ed5cde656417
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172803
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2024-09-05 07:38:22 +02:00
Heiko Tietze 3631c6ffcb Resolves tdf#162738 - Revert tdf#160937
This reverts commit 2164406a97.

Reason for revert: Going to implement a scrolled window

Change-Id: Icc7dc71860bfcafaea1323a3d0c6f7e1f7dd380f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172758
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2024-09-05 07:37:32 +02:00
Mike Kaganski 1b61a0737e tdf#143603: disable undo in DrawDocShell::ImportFrom
Change-Id: I6fbc317d9f72f1bec70ff97e915487ac2b5a2f53
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172872
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-09-04 21:59:00 +02:00