Commit graph

496175 commits

Author SHA1 Message Date
Michael Weghorn
248a19ad2b a11y: Rename m_aAccessibleChildren1 -> m_aAccessibleChildren
Was previously changed the other way around in

    commit 28c89e58d9
    Date:   Wed Aug 30 15:16:01 2023 +0200

        use concrete type for OAccessibleMenuBaseComponent::m_aAccessibleChildren

for no apparent reason.

Change-Id: I0d0c6627134bcef8ac9732cc8a5213ab266afbf7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168005
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-05-24 11:07:42 +02:00
Michael Weghorn
56572e8b9a a11y: Drop AccessibleChildren typedef
... which is only used in the next line anyway.

Change-Id: I3bb038cfba3b3b31df45ca316242d54442db7220
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168004
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-05-24 11:07:29 +02:00
Andrea Gelmini
2d568fe29b Update git submodules
* Update helpcontent2 from branch 'master'
  to 7fe9ae80c7df68c70dae06b9d6002fbc42d1ab7e
  - Fix typo
    
    Change-Id: Ia0a17632d7e505bff252bb788384a83869aef00b
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/168003
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-05-24 10:14:51 +02:00
Michael Weghorn
87c41bbf04 gtk3 a11y tests: Increase timeout for AT-SPI method calls
As discussed in the ESC call of 2024-05-23,
CppunitTest_vcl_gtk3_a11y fails relatively often recently:

>     38 CppunitTest_vcl_gtk3_a11y                gerrit_linux_clang_dbgutil
>    + this week: have a new problem with CppunitTest_vcl_gtk3_a11y (Cloph)
>      + failure is not new, but the frequency increased recently
>      + assume: timing issue

Jenkins logs show that failures are due to running into
timeouts, example from [1]:

    [...]
    found run attribute: CharTopBorder=<Any: (com.sun.star.table.BorderLine2) 0x6831c50>
    found run attribute: CharTopBorderComplexColor=<Any: (void)>
    found run attribute: MMToPixelRatio=<Any: (float) 1.25>
      matching atspi attribute is: mm-to-pixel-ratio=1.25
    unknown:0:Test1::TestBody
    An uncaught exception of type com.sun.star.uno.RuntimeException
    - timeout from dbind at /home/tdf/lode/jenkins/workspace/lo_gerrit/Config/linux_clang_dbgutil_64/vcl/qa/cppunit/a11y/atspi2/atspiwrapper.hxx:302

Increase the timeout for method calls from 2.5 to 10 seconds
in the hope that will help.
(Issue is not reproducible locally for me.)

[1] https://ci.libreoffice.org/job/gerrit_linux_clang_dbgutil/162811/consoleFull

Change-Id: Ib0eef753cf9f574ee5b2a013a46a0a600c91eb34
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168002
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-05-24 08:44:29 +02:00
Michael Weghorn
ee168614dd tdf#160971 gtk3 a11y: Manually unset focus for combobox popup
The gtk3 VCL plugin uses a custom implementation that
has a listbox in a popup (s. vcl/uiconfig/ui/combobox.ui).

The popup window gets shown when expanding the combobox, e.g.
using Alt+Up/Alt+Down while the edit has focus.

Once the popup is closed again, focus is given to the edit
again.

That one correctly reports focus when checked via
`gtk_widget_has_focus`, but for some unknown
reason, the listbox in the popup assumes/claims
it still has global keyboard focus as well, despite it no
longer being visible and the `gtk_widget_has_focus` doc [1]
explicitly mentioning:

> Determines if the widget has the global input focus.
> See gtk_widget_is_focus() for the difference between
having the global input focus, and only having the focus
> within a toplevel.

The tree view listbox still assuming focus leads to it
emitting invalid active-descendant-changed a11y events
when the selected entry changes, which e.g. breaks focus
tracking by the Orca screen reader.
As a consequence, current Orca git main
(as of commit d70919051ef01384c473e08321a88cec52549cd2)
doesn't doesn't announce the new value of e.g. the "Font Name"
combobox in the Writer toolbar when changing it via the
Up/Down arrow keys any more once the popup has been shown.
(It works fine before showing the popup for the first time.)

To avoid that problem, manually unset the focus
using `gtk_widget_send_focus_change`.
Its doc [2] mentions

> This function is not meant to be used by applications.

, but since the focus is apparently not unset
automatically, still use it as a workaround for now.

[1] https://docs.gtk.org/gtk3/method.Widget.has_focus.html
[2] https://docs.gtk.org/gtk3/method.Widget.send_focus_change.html

Change-Id: Ifd32c2a66b4a7b9e827f5c8dc2927c7e359a42aa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167994
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-05-24 06:25:54 +02:00
Weblate
7ae9dc0420 android-viewer translated using Weblate
Japanese currently translated at 68.1% (79 of 116 strings)

Change-Id: I1c42877ea415bdf3830bbee64c97589eafa7fa1c

android-viewer translated using Weblate

Change-Id: I9efdbae451a5313cb5b8ef4a169696969696969b
Co-authored-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
Co-authored-by: Weblate <noreply@documentfoundation.org>
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ja/
Translation: android-viewer/android-strings
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167986
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-05-24 06:02:41 +02:00
Bogdan B
322b158c5c Update git submodules
* Update helpcontent2 from branch 'master'
  to 25f4e3d465bed888952ef7cafa2e47736bb0214d
  - tdf#148903 Improve Help about positioning
    
    Change-Id: I695530a298d61ec7e7c83603addccf40741fad6c
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/149886
    Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
    Tested-by: Jenkins
2024-05-23 23:17:33 +02:00
Dione Maddern
d4243c3646 Update git submodules
* Update helpcontent2 from branch 'master'
  to c9ef3ec7d50ab940d9f9d2a4c255c2cd16a47048
  - tdf#130838 tdf#154996 Add warning about copying/moving in record mode
    
    In text/scalc/01/02180000.xhp
    - Add statement that sheets can't be moved or copied in Record Changes mode.
    
    In text/shared/00/edit_menu.xhp
    - Updated howtoget instructions for "Track Changes" and "Record Changes", including adding Tabbed UI instructions for "Record Changes" and hiding instructions for the Track Changes toolbar behind an application switch, because Calc does not have a Track Changes toolbar.
    
    In text/shared/01/02230000.xhp
    - Added variable tags to H1 so that the page can be more easily linked from other pages
    
    In text/shared/01/02230100.xhp
    - Moved howtoget function to text/shared/00/edit_menu.xhp
    - Updated embed link for howtoget section
    
    Change-Id: I4776c0d45cd5d58a822cf00ede81ae3769ef8218
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/167943
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-05-23 23:10:39 +02:00
Dione Maddern
93510ceb3d Update git submodules
* Update helpcontent2 from branch 'master'
  to 35c331d42654a28c9852187474b102db1c987e53
  - tdf#105988  tdf#130024 Update Edit Points Bar help page
    
    Created new file text/shared/02/eliminate_points.xhp so that more detailed information on "Eliminate Points" mode is on its own page.
    - Updated the description of the "Eliminate Points" feature to more accurately describe how the feature works.
    
    In AllLangHelp_shared.mk
    - Added new page text/shared/02/eliminate_points.xhp
    
    In source/text/shared/01/05270000.xhp
    - Added section and variable tags to allow content to be easily embedded in other pages.
    
    In source/text/shared/main0227.xhp
    - Added section and variable tags to allow content to be easily embedded in other pages.
    - Moved the link to "Converting 2D Objects to Curves, Polygons, and 3D Objects" to a new Related Topics section
    - Replaced "Edit Points" section with an embedded link to the description in text/shared/01/05270000 (Edit Points mode) to avoid repetition
    - Replaced "Edit Points" section with an embedded link to the description in text/shared/02/eliminate_points.xhp to avoid repetition.
    - Created a Related Topics section
    
    In text/simpress/02/10080000.xhp
    - Added variable tags to allow the page to be easily linked from other pages
    - Changed the Title and Heading 1 from "Curve" to "Curves and Polygons" to reflect current menu options.
    
    Change-Id: Ib9038f35b97b4177e11171bfdedd10c0a4149dd2
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/167939
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
    Tested-by: Jenkins
2024-05-23 22:54:02 +02:00
Miklos Vajna
f1d0b4e34a tdf#160984 sw continuous endnotes: fix the endnote separator position
See <https://bugs.documentfoundation.org/attachment.cgi?id=194306>, the
total height of the endnote separator is now correct, but the
distribution of upper space, line width, lower space is still bad, when
compared to Word.

Our model is 2 spacings and a line width, while Word seems to simply
split the amount of available space: 60% goes above the separator and
the rest goes below.

Fix the problem by breaking up the monster expression for the separator
rectangle in SwFootnoteContFrame::PaintLine(), and then the compat +
horizontal case can do the 60% spacing in the Word compat mode.

The width of the separator is still not correct.

Change-Id: Ic065c138041892225b3c1b7d4bd64d4f1c625611
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167990
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2024-05-23 21:01:31 +02:00
Xisco Fauli
b46b0e92e5 use SAL_RET_MAYBENULL in GetViewBindings(), GetBestViewShell()...
... GetViewData() and GetShellByNum()

Change-Id: I9a53e2d4cf1241195985cf095d274f596abd6427
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167993
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-05-23 20:28:22 +02:00
Xisco Fauli
4ebf7f55ce sc/qa: warning C6011: Dereferencing NULL pointer
Change-Id: I6556217bd132c0cd80ffa40fef397b9f86cae09d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167996
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-05-23 20:27:59 +02:00
Xisco Fauli
64b14cc6ab sc: warning C6011: Dereferencing NULL pointer
Change-Id: Ib6535d167ec741ea0641208d01f01bee334c0e79
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167992
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-05-23 20:27:24 +02:00
Noel Grandin
f91a411340 reduce cost of calc column height calculation
avoid calling GetTextWidth unless we really need to

Change-Id: Ibb0f378e632fa3fce68b4819028630759baf4eb5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167988
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2024-05-23 19:46:32 +02:00
U-AMANDAQUARESMA\quare
fc3e2c8bba tdf#145538 Use range based for loops
Change-Id: Ib672cd1968de7bb99cd5f8737a09ce02b0490bf8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167995
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-05-23 19:25:13 +02:00
Michael Weghorn
6bab548591 android: Use "compact_fonts" LibreOfficeKit option
For Android Viewer, set the "compact_fonts" LibreOfficeKit
option via environment variable `SAL_LOK_OPTIONS` introduced in

    Change-Id: I3dc9f5de876def6e4afc09a43105b1740f7c621f
    Author: Michael Meeks <michael.meeks@collabora.com>
    Date:   Fri May 17 21:25:29 2024 +0100

        lok: stop amazing waste of repeated font sizes in each font element.

and adjust the handling in `FontController` to process
the flat lists for font names and sizes that is reported
with that options set, rather than processing
font sizes for each individual font.

(See also discussion in original Gerrit change
for the distro/collabora/co-24.04 branch: [1].).

[1] https://gerrit.libreoffice.org/c/core/+/167799

Change-Id: I85734c1876d152f4f95f9182629affd6b250fdbc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167963
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-05-23 15:53:26 +02:00
Xisco Fauli
693b219545 use SAL_RET_MAYBENULL in GetActiveWrtShell(), GetActiveView()...
... GetFirstView() and GetNextView()

after 25b38765d6
"check GetActiveWrtShell() and CheckAndGetWrtShell()"
and 74f398bb58
"sw: check GetActiveView()"

Change-Id: I0840309a28e2fb54a5abd386ceeddb21006d9368
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167866
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-05-23 15:53:15 +02:00
Xisco Fauli
b9f9493b43 sw: warning C6011: Dereferencing NULL pointer
Change-Id: I612ec139354345f48fb5d3b41bdb10c37ad85ff7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167983
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-05-23 15:52:52 +02:00
Christian Lohmaier
bd4b345ac6 Update git submodules
* Update translations from branch 'master'
  to b46612b5cf30742f137cc685ff3bb75b42a75619
  - update translations for master
    
    and force-fix errors using pocheck
    
    Change-Id: I062d883de199aa7dd9015d72f519e190614c6d86
2024-05-23 13:30:24 +02:00
Tibor Nagy
1396347c8e tdf#159899 sw: show hyperlink name as tooltip
Change-Id: I48f841d1c42f9541e03632a88e1a4f65975a5335
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167971
Tested-by: Jenkins
Reviewed-by: Nagy Tibor <tibor.nagy.extern@allotropia.de>
2024-05-23 13:04:06 +02:00
Rizal Muttaqin
9990ac8143 tdf#161092 KJ: Graphics for bar-of-pie and pie-of-pie chart type
Change-Id: If677a878ef80994b5b05e628064fb1ab49298e4e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167982
Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
Tested-by: Jenkins
2024-05-23 13:03:16 +02:00
Michael Meeks
aaf4613a0a lok: stop amazing waste of repeated font sizes in each font element.
These days all sensible fonts are scalable, so anything else is madness.

With the compact_fonts option we go from:

    INCOMING: commandvalues: {"commandName":".uno:CharFontName","commandValues":
    {"Albany AMT":["6","7","8","9","10","10.5","11","12","13","14","15","16",
    "18","20","21","22","24","26","28","32","36","40","42","44","48","54",
    "60","66","72","80","88","96"],"Amiri":["6","7"

            <truncated 58,418 chars>

    INCOMING: commandvalues: { "commandName": ".uno:CharFontName", "FontNames":
    [ "Albany AMT", "Amiri", "Amiri Quran", "Amiri Quran Colored", "Andale Mono",
    "Andale Sans", "Andy MT", "AR PL UMing CN", "AR PL UMing HK", "AR PL UMing TW",
    "AR PL UMing TW MBE", "Arial",

           <truncated 6,948 chars>

An 8x size win.

Change-Id: I3dc9f5de876def6e4afc09a43105b1740f7c621f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167799
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
(cherry picked from commit 628f56a180)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167962
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2024-05-23 12:31:46 +02:00
Xisco Fauli
c7a09ea9d5 use SAL_RET_MAYBENULL in GetUserCall
after 495b5db74f
"sw: check GetUserCall"

Change-Id: I14b69c1d95ddea2c4c92e6c682930cd501ea7612
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167787
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-05-23 11:47:47 +02:00
Rizal Muttaqin
08241a5079 Sukapura: Delete underlying bitmap in chart type vector files
Change-Id: I299a283a1729f3ab0595218b7b29ca36a1c257f7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167975
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2024-05-23 11:14:16 +02:00
Xisco Fauli
0a175b29c7 sw: Use SAL_RET_MAYBENULL in GetEditShell()
after 2488913577
"check GetEditShell()"

Change-Id: I5650e23e0c2a1c3eb81cfa71c57b809d8abc4b40
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167906
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-05-23 10:59:25 +02:00
Xisco Fauli
be9c71df22 sw: warning C6011: Dereferencing NULL pointer
Change-Id: Ia4b7f98525e07c5a58b752d7e68d89705f87ac9c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167969
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-05-23 10:59:20 +02:00
Michael Meeks
9d1956031e lok: stop amazing waste of pretty-printed JSON sent over the API.
before:

INCOMING: commandvalues: {
    "commandName": ".uno:CharFontName",
    "commandValues": {
        "Albany AMT": [
            "6",
            "7",
            "8",
            "9",
            "10",
            "10.5",
            "11",
            "12",

        <truncated 199,811 chars>

after:

INCOMING: commandvalues: {"commandName":".uno:CharFontName","commandValues":
{"Albany AMT":["6","7","8","9","10","10.5","11","12","13","14","15","16",
"18","20","21","22","24","26","28","32","36","40","42","44","48","54",
"60","66","72","80","88","96"],"Amiri":["6","7"

	<truncated 58,418 chars>

A 3x size saving.

Change-Id: I574b8bdf790078c61b7605137a47a531dee16f1e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167685
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Jenkins
2024-05-23 10:29:28 +02:00
Miklos Vajna
a4ec8307e3 CppunitTest_sw_rtfexport8: avoid DECLARE_RTFEXPORT_TEST
No need to go via Writer-specific macros here.

Change-Id: I10256d2cd8d214489b52600ccbb45b0ba1526950
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167979
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2024-05-23 09:46:38 +02:00
Xisco Fauli
6715899547 sfx2: use SAL_RET_MAYBENULL in GetBindings() and GetShell()
after 9eb083ab73
"check GetShell"

Change-Id: I0dcef57019fde7639ddbb981cbd41c13f857b4af
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167905
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-05-23 09:36:42 +02:00
Xisco Fauli
50fa7d2581 sfx2: warning C6011: Dereferencing NULL pointer
Change-Id: Ie65284c3ded0c5789f0be5bbd770d190a92fecec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167922
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-05-23 09:36:33 +02:00
Xisco Fauli
16a56dfccb sw/qa: warning C6011: Dereferencing NULL pointer
Change-Id: I2e84af9463b82600079660a1b136bc9a85d8eb0d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167925
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-05-23 09:35:31 +02:00
Noel Grandin
dddba389b7 loplugin:ostr in sw/../vba
Change-Id: I73491b481fb82785a21f7239fff62f812dd7440c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167953
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-05-23 08:37:41 +02:00
Rizal Muttaqin
b1f4a39a32 tdf#161092 Sifr: Graphics for bar-of-pie and pie-of-pie chart type
Change-Id: I10dafbcee04f51babb965ba8d7ddf1d1894dee8e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167977
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2024-05-23 08:15:10 +02:00
Rizal Muttaqin
87734c11fd tdf#161092 elementary: Graphics for bar-of-pie and pie-of-pie chart type
Change-Id: I70cef278536b3a64551d0b0e4548f666bbdac373
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167978
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2024-05-23 08:14:52 +02:00
Rizal Muttaqin
f45270827c tdf#161092 Breeze: Graphics for bar-of-pie and pie-of-pie chart type
Change-Id: I6f0f794abe567020f4e7e0d758ac9132b57611fd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167976
Tested-by: Rizal Muttaqin <rizmut@libreoffice.org>
Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
Tested-by: Jenkins
2024-05-23 08:14:30 +02:00
Weblate
15e60dfeac Added translation for android-viewer using Weblate (Georgian)
Change-Id: I4058a4698582256a31ebb21379c0a66b22e2a1cc

android-viewer translated using Weblate

Japanese currently translated at 65.5% (76 of 116 strings)

Change-Id: I74e48d5d605e25ebf39e2a8bd73495274ee94855

Added translation for android-viewer using Weblate (Hebrew)

Change-Id: I491b69291975d22c0552cc20e93f2042cc70e4b0

Update translation files for android-viewer

Updated by "Cleanup translation files" hook in Weblate.

Change-Id: Iea28e4d8bf859accdb1c16bb4c6836237a4d2b26

android-viewer translated using Weblate

Japanese currently translated at 61.0% (72 of 118 strings)

Change-Id: I741c23b1048d4857605d73aad34668c29234dd6f

android-viewer translated using Weblate

Catalan currently translated at 100.0% (118 of 118 strings)

Change-Id: I9cbcf579a5c634adf0686e43aa4dca069c2dd577

Added translation for android-viewer using Weblate (Esperanto)

Change-Id: Ibcf6e82a860c5e789d6ee89dace30d1457a60c22

android-viewer translated using Weblate

Japanese currently translated at 39.8% (47 of 118 strings)

Change-Id: I9efdbae451a5313cb5b8ef4a1abca6969696969b
Co-authored-by: Adolfo Jayme Barrientos <fito@libreoffice.org>
Co-authored-by: Ekaterine Papava <papava.e@gtu.ge>
Co-authored-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
Co-authored-by: Weblate <noreply@documentfoundation.org>
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ca/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ja/
Translation: android-viewer/android-strings
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167895
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-05-23 08:07:50 +02:00
Rizal Muttaqin
a46736cfe6 tdf#161092 Sukapura: Graphics for bar-of-pie and pie-of-pie chart type
Change-Id: Ib28fb1e40c76c951cb7bec4a98b2aecefb3c83ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167974
Tested-by: Rizal Muttaqin <rizmut@libreoffice.org>
Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
Tested-by: Jenkins
2024-05-23 05:08:09 +02:00
Rizal Muttaqin
eb3ae3234e tdf#161092 Colibre: Graphics for bar-of-pie and pie-of-pie chart type
Change-Id: I6af94e0792b17c58dc673732a0c96a844143315b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167972
Tested-by: Jenkins
Tested-by: Rizal Muttaqin <rizmut@libreoffice.org>
Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2024-05-23 03:14:11 +02:00
Justin Luth
cdbd413979 Revert "tdf#126095 sd notebookbar: don't force table/media toolbar"
This reverts my 24.2 commit e58e251756.

Unintended side affect in Draw (not Writer) sidebar.

Change-Id: I948263c1e8be1202e0504f109d84ce4469ddf45d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167970
Reviewed-by: Justin Luth <jluth@mail.com>
Tested-by: Jenkins
2024-05-23 02:26:26 +02:00
Justin Luth
fe5b4257d8 NFC IsInline includes GetAnchorId() == RndStdIds::FLY_AS_CHAR
m_bIsInline is either forced true,
or is set by GetAnchorId() == RndStdIds::FLY_AS_CHAR.
Nothing sets it to false, but it can become true with
ForceTreatAsInline.

So, no need to check for FLY_AS_CHAR if we also allow IsInline.

Change-Id: I5f7a158962dcde1fd2d642ffd54e0995a69ad841
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167966
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2024-05-22 23:22:17 +02:00
Caolán McNamara
80f7f3e809 split a piece of code out as a standalone GetOrCreateAnnotationWindow
Change-Id: I674d96976f265eeac719ed06a657af07aaae2325
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167931
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-05-22 22:24:41 +02:00
Heiko Tietze
1bd9747a12 tdf#161209 - Reverts WhatsNew/Welcome dialog
dd889b2903

Change-Id: Idf0594c546e4d9ca263272ed1534b27948e8e930
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167956
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2024-05-22 21:19:46 +02:00
Mike Kaganski
08da27fc37 Handle empty range correctly
Otherwise, the translation gets MAX_DBL value, and scaling becomes 0.
After commit 690526f95e (Generalize basegfx::fround
for templated return type, 2024-04-15) this made some documents (e.g., bugdoc
in tdf#85132) fail an assertion in debug builds, which allowed to find and fix
this problem.

Change-Id: I14cb0afd0c8d884f505efb921907cc8e86418da2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167965
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-05-22 20:53:05 +02:00
Olivier Hallot
d44b869643 Update git submodules
* Update helpcontent2 from branch 'master'
  to 1686a72bcddf4f28d0510e02a1596baf5e6ebdc6
  - Reinstate screenshot for presentationdialog
    
    + Screenshot updated recently.
    + refactor
    
    Change-Id: I840eabe97d90c7725b44c63746a3f7bd8cad800b
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/167912
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-05-22 19:29:55 +02:00
Jonathan Clark
ab0a4543ca tdf#124116 Correct Writer text shaping across formatting changes
Previously, Writer performed shaping for each span of text separately.
In certain situations, this caused incorrect glyph use, or incorrect
glyph positioning. This change updates Writer so it will also consider
neighboring text while performing shaping.

This change resolves the outstanding duplicates filed against tdf#61444.
As a side effect, this change also fixes tdf#134226.

In addition to the shaping fix, this change implements rendering for
individually-styled glyphs, which is required to fix tdf#71956. However,
this change does not implement diacritic selection, which is also
required for that issue.

Change-Id: Iab4774ffaab5ad6113778c54d02cb260a70c1010
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167699
Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
Tested-by: Jenkins
2024-05-22 19:20:38 +02:00
Miklos Vajna
d1ddd136a1 tdf#160984 sw continuous endnotes: fix the endnote container's top margin
Comparing the Word vs Writer output for the bugdoc, the vertical
position of the endnote text is not correct: the y pos should be larger
than it is, see the red reference at e.g.
<https://bug-attachments.documentfoundation.org/attachment.cgi?id=194265>.

Seems this is caused by the different height of the rectangle around the
endnote separator: the top margin is 124 twips in Writer, which is a
hardcoded default from the SwPageFootnoteInfo ctor, while Word has this
separator as a special character, inside a paragraph, which inherits the
height of the default paragraph style.

Fix the problem by extending sw::FootnoteSeparatorHeight() to also work
from RES_POOLCOLL_STANDARD in the Word compat case. Note that it's not
enough to take the font size (11pt in this case) from the paragraph
style, we want to work with the real font, which knows the spacing
between lines (15% in this case). SwFont::GetHeight() has this logic,
it's also what e.g. SwTextFrame::FormatEmpty() uses.

Note that footnotes have the same problem, but given that they grow from
the bottom of the page, the text position was correct, even if the
separator height is incorrect. Also, the separator line itself is not
changed in this commit, we just make sure that the height is OK, so text
below the line has the correct position.

Change-Id: If1f4757908355abc81ee711de5ab9db4c751354c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167959
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2024-05-22 17:50:10 +02:00
Dione Maddern
7ba662caf1 Update git submodules
* Update helpcontent2 from branch 'master'
  to 74121a4068a305b871e5aa5d0aada26012bced22
  - tdf#148587 Update How to get section for Summary slide and Expand slide
    
    In text/simpress/00/00000404.xhp:
    - Remove sections on Summary Slide and Expand slide because those options no longer appear in the "Insert" menu
    
    In text/simpress/00/slide_menu.xhp
    - Add updated howtoget information for Summary Slide and Expand Slide, including information for TabUI
    
    In text/simpress/01/03090000.xhp
    - Add variable tags to h1 so that the page can easily be linked from other help pages
    
    In text/simpress/01/04130000.xhp
    - Add variable tags to h1 so that the page can easily be linked from other help pages
    - Update embed link in howtoget section to link to updated instructions in source/text/simpress/main_slide.xhp
    - Add a related topics section
    
    In text/simpress/01/04140000.xhp:
    - Add variable tags to h1 so that the page can easily be linked from other help pages
    - Update embed link in howtoget section to link to updated instructions in source/text/simpress/main_slide.xhp
    - Add a Related Topics section
    
    In text/simpress/main_slide.xhp
    - Add variable tags to h1 so that the page can easily be linked from other help pages
    
    Change-Id: Icc67e3b4745aa1f70fab898436c4b28e64fec578
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/167932
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
    Tested-by: Jenkins
2024-05-22 17:24:39 +02:00
Andrea Gelmini
ea31765aed Update git submodules
* Update helpcontent2 from branch 'master'
  to 861553cf61b80a1fd90546561862ca3e4703603a
  - Remove exec bits on PNG files
    
    Change-Id: Ic902d3788d15cc5a3156a00e5836c1e114f37a4d
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/167960
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-05-22 17:17:54 +02:00
Gabor Kelemen
46b497f546 Drop unused ATTR_OPTIONS_SNAP
after commit 563573068f

Change-Id: Iafa5ec21cd833ed9b8ebbdaea03086f4fa1784c2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167884
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
Tested-by: Jenkins
2024-05-22 16:26:58 +02:00
Noel Grandin
ebb1444a17 loplugin:ostr in sw/../dbui
Change-Id: I0ccf6f61781d9104c82ec0acf7f10b5be47d6dc9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167920
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-05-22 16:07:27 +02:00