Commit graph

451204 commits

Author SHA1 Message Date
Olivier Hallot
f4c172bd68 Update git submodules
* Update helpcontent2 from branch 'master'
  to a03c8e79a278e9e17967b4978ac6667abc6d6dbc
  - Fix Help on borders after translator review
    
    Many thanks to Mihkel Tonnov
    
    Change-Id: Id2c97cabe779f87b6ab8ddded32e20ef276537d6
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97412
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-29 15:19:22 +02:00
Olivier Hallot
83ea63f040 Update git submodules
* Update helpcontent2 from branch 'master'
  to 59200481f126b3cd56ccd1eb231b8c1ee3a61a61
  - Add  empty colspan/rowspan cleaning
    
    Change-Id: Ibb73313768ad2252e27d6b85757338fabf0ea1d7
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97414
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-29 15:18:59 +02:00
Szymon Kłos
ed06c5f411 jsdialog: weld drawing area
Change-Id: I7bc75e3de99de84c59b798e4c4dad18550157e43
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96851
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97396
Tested-by: Jenkins
2020-06-29 15:15:25 +02:00
Szymon Kłos
a40cb25a21 jsdialog: click action for drawing area
Change-Id: I2434bec675559a97e5d251c6d6a958464b6db034
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96853
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97395
Tested-by: Jenkins
2020-06-29 15:15:08 +02:00
Tomaž Vajngerl
4e9b03d04f pdf: add text page object attribs, refactor ImpSdrPdfImport, tests
This refactors ImpSdrPdfImport to push more functions into the
PDFium wrapper. The focus is on text page object attributes.

Change-Id: Ie1faf5e3743eec7c77050835651533f9e227c2a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97366
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-29 14:36:16 +02:00
Tomaž Vajngerl
b5b8da8043 pdf: support PDF Form object and getMatrix
Change-Id: I61f2004df7f9c9ac37959e0b50ea1ff83387c77a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97365
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-29 14:35:56 +02:00
Tomaž Vajngerl
440cb3fb80 pdf: add PDFiumTextPage and PDFiumPageObject + test
Also use it in ImpSdrPdfImport.

Change-Id: I6d353ef60d036c3516448e64a50b25a9befd5db8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97364
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-29 14:35:37 +02:00
Tomaž Vajngerl
34745b022d use PDFium wrapper in ImpSdrPdfImport (partially)
Change-Id: If13bcaa6a256354aceb2e1998521644041c03b7b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97363
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-29 14:35:20 +02:00
Tor Lillqvist
a73a3fcee6 We don't need merge modules if we aren't building an MSI
Change-Id: Ifc14280049bdf850f43fc20554bc703961d50f86
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97392
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-06-29 14:30:11 +02:00
Tünde Tóth
17f131fcb3 tdf#134235 Chart OOXML import: fix long chart title
Workaround to handle long (sub)titles which resulted
broken charts.

See commit 96a29c12a9
(tdf#101322 Chart OOXML Export: fix missing subtitle).

Change-Id: I22bb4699bdda8dea5f31c715cc1f439085a0718f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97092
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2020-06-29 12:52:44 +02:00
Miklos Vajna
51a4c85bf9 tools: fix 32bit Android build
tools/source/misc/json_writer.cxx:289:34: error: format specifies type 'long' but the argument has type 'sal_Int64' (aka 'long long') [-Werror,-Wformat]
    mPos += sprintf(mPos, "%ld", nPropVal);
                           ~~~   ^~~~~~~~
                           %lld
1 error generated.

Change-Id: Ieacf2f521f77292d61fa714bf584c9e2045c2e1b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97367
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2020-06-29 12:31:52 +02:00
Noel Grandin
db3b0ddbe0 loplugin:unusedfields
Change-Id: Ia0f517fba3a0660b64c97f426cc2cdfbbcd0ebad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97391
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-06-29 12:23:50 +02:00
Tünde Tóth
b3057b7944 tdf#134247 Chart OOXML import: fix order of legend entries
The order of legend entries was reversed in stacked column,
line and area charts.

Change-Id: Ia4a439aa6cee0619ad323c3fb728ff358cf28537
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96941
Tested-by: Jenkins
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2020-06-29 12:04:52 +02:00
Noel Grandin
9294b76982 loplugin:unusedmethods
Change-Id: I4cccac5b6bba55d87361b07b05220ce890e75412
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97390
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-06-29 12:04:22 +02:00
Noel Grandin
589134377d loplugin:constantparam
Change-Id: I54f0e2864cb4ef00fea8f9e4369a1f76721e7503
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97369
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-06-29 11:57:20 +02:00
Alain Romedenne
c3b1033db7 Update git submodules
* Update helpcontent2 from branch 'master'
  to 5ea3a748d1a9d9126da15332df1899e6d17e4f8b
  - typo
    
    Change-Id: I1bcca86f97f87ae5a5240adbea7055bf669afbf6
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97145
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-29 11:26:40 +02:00
Alain Romedenne
561d821c93 Update git submodules
* Update helpcontent2 from branch 'master'
  to 75ae27d3ecbfec73b3c2c6f41a1dbaee247caf4d
  - Basic script improvement
    
    Change-Id: I3aa3468971d1a2c6c1e93c94254ba44b69b6238c
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97371
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-29 11:26:03 +02:00
Stephan Bergmann
4f915b6dc8 Sort solenv/clang-format/blacklist
(lexicographically, by Unicode code point values; to make it easier to make
further modifications)

Change-Id: I867889b37d7395c510dc8cd1310454a4f4ac9982
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97362
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-06-29 11:00:21 +02:00
Tünde Tóth
8c73d6b637 tdf#122225 Chart OOXML import: fix missing legend text
resulted by inaccurate calculation of nMaxTextWidth.

Change-Id: Ie41bbc30074c6bbccacbc58adda5d9f2cfdfeba8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96926
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2020-06-29 10:48:48 +02:00
Miklos Vajna
225222c8ec sw: prefix members of CompareNodeContent, SwDDEFieldType, ...
... SwDropDownField and SwRangeRedline

See tdf#94879 for motivation.

Change-Id: Ic38825413d5725a143a2a7f81f0d464984e231e6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97360
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2020-06-29 09:59:11 +02:00
Julien Nabet
a8ee7bc96f tdf#134320: fix XInfobarProvider appendInfoBar for showCloseButton
There was a mix of arguments which caused misinterpretation.

Like this since initial commit:
9e3ba7c303
author	Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>	2019-11-18 09:08:03 +0100
committer	Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>	2019-11-19 08:51:43 +0100
commit	9e3ba7c303 (patch)
tree	c648a26f24
parent	b234743dd2 (diff)
tdf#97926 Add UNO API for Infobar
This allows creating, updating and removing infobars from macros/extensions.

It also extends the infobar with a primary and a secondary text, so there can
be a bold summary at the beginning at the infobar with a longer text following
in normal letters.
...

Change-Id: Ic3e0b6a9da4da574eb7ca440a881fdcee1dd1132
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97349
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-06-29 08:51:13 +02:00
Tor Lillqvist
802161a505 More WIP work for macOS on Apple Silicon
If cross-compiling to a DESKTOP platform, just use
RepositoryModule_host.mk on the build platform, too.

Change-Id: Icd3f3081e5af0c7cda95e9bce7572d37567d4f6e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97356
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-06-29 08:49:11 +02:00
Tor Lillqvist
baab4f890c Initial WIP steps for building for macOS on Apple Silicon
Don't use $host_os="darwin" for both macOS and iOS depending on
$host_cpu. Soon macOS will run on either x86_64 or arm64. Instead, use "darwin"
(or "macos") for macOS and "ios" for iOS.
Some other early changes for arm64-apple-macos, too.

Change-Id: Id89987d854ceba2cd87c6222db2081ccdec0c73e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96976
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-06-29 08:48:28 +02:00
Andras Timar
c098b50953 LOKit: do not show 'Add to Dictionary' button for Online
Because user profiles (user dictionaries) are not persistent.

Change-Id: I78261cccc068cfc1cc9fb2ddecd085ac58ff31c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97308
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-29 08:31:41 +02:00
Rizal Muttaqin
eb467d7330 Colibre: tdf#128689, add more Korean UI
- Update Color related icons

Change-Id: Ie0a8e3a9723a1aa129bde4ea7f686a528d7e5b3d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97357
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-06-29 07:59:37 +02:00
Caolán McNamara
8fe03ea932 decouple IEditImplementation from Edit more
Change-Id: Ie01373ca40d519c179485bd1a4b6616d5929fa5d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97328
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-28 21:38:55 +02:00
Xisco Fauli
f07a564988 tdf#44076: sc: Add unittest
Change-Id: I9469b90e10fa51006a5dfb267c4129cf2b5e40dd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97348
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-06-28 21:31:03 +02:00
Xisco Fauli
263dedd5f6 tdf#98844: sc: Add unittest
Change-Id: I31fc5ca3778048010e34dafd289e0cadf7ee4169
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97347
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-06-28 20:32:04 +02:00
Tor Lillqvist
9eb3aabbf4 No need for the AdditionsDialog if --disable-extensions
Change-Id: If1ed6c860256e656846a1516e8170fb0dbd20499
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97346
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-06-28 20:18:36 +02:00
Rene Engelhard
6966e751f5 bin/lo-xlate-lang: norwegian -> norwegian_bokmal for nb
Change-Id: Id01ae546e3ff00c2236aaf1102b21ba361d7a766
2020-06-28 16:03:02 +02:00
Jan-Marek Glogowski
a3634fe80f Qt5 refactor mouse event fill code
Adds Qt5Widget::fillSalAbstractMouseEvent to set the common
Sal*MouseEvent members. While the member functions of QMouseEvent
and QWheelEvent have the same name, they aren't shared via
QInputEvent, so this uses a small FILL_SAME macro for less code,

Change-Id: I3e5aa52b1bf2774251d97534ce0106a27ef5899b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97343
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2020-06-28 12:52:30 +02:00
Jan-Marek Glogowski
c97fea5481 VCL refactor Sal*MouseEvent structures
Moves the common members of SalWheelMouseEvent and SalMouseEvent
into a new SalAbstractMouseEvent.

Change-Id: I68019a33be47b983976a38a1a5b8d15d12b4c504
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97342
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2020-06-28 12:51:08 +02:00
Tomaž Vajngerl
09c01a8d6f pdf: fix text annotation (note) modification date
The modification date wasn't encolsed in brackets, which is
required for the modification date.

Change-Id: Icf91516436b095a8577d3ab10b2a708d10d58cb5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97330
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-28 08:52:14 +02:00
Tomaž Vajngerl
f008bd0277 sd: send annotation position for LOKit, fix multiple annotations
This adds support to send annotation position in the document when
sending the available annotations using LOKit.

It also fixes an issue with the json structure for the annotations,
which sends multiple annotation objects with the same (empty) key,
that after parsing reduces to only one (so only one of the many
annotations is present). This fix changes that so annotation
objects have each its own unique key.

Change-Id: I9d994383d6ee322f27f1426be5bd96ac81e8e609
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97329
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-28 08:51:59 +02:00
Srijan Bhatia
d53a4f126e tdf#128964 fix shifting of icons when the pause/resume button changes
Added a property that specifies width of the button in the presenter toolbar.

Change-Id: I556ec0363064b36ef9fe80f2d947849cee356a1f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97151
Tested-by: Jenkins
Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2020-06-28 08:20:48 +02:00
Rizal Muttaqin
ab7fa40797 Colibre: Fix inverted Promote and Demote icons in links.txt
Change-Id: I806fb983b3b8249ebe7dc3daddef3062afcf9c84
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97337
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-06-28 07:53:59 +02:00
Jan-Marek Glogowski
b9c90430e2 Qt5 document some VCL (env) variables
Change-Id: I86260975c8a68318d984b768dfc8d1323fc5a06c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97339
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2020-06-28 03:22:17 +02:00
Rizal Muttaqin
ee383f47c6 Sifr: tdf#133538 add Show White Space icons
- Add Calc's Fill icons

Change-Id: I0587e45970ea6c3381297d133114aab632d6e84e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97340
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-06-28 03:17:35 +02:00
Rizal Muttaqin
23d5e9f1d4 Karasa Jaga: tdf#133538: icon for Show White Space
- Update Shape color to gray instead of blue
- Add Calc's Fill icons

Change-Id: I5e175466815fbce6d28d61cf5b863ff34f304d17
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97272
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-06-28 03:16:02 +02:00
Jan-Marek Glogowski
9eda78fd53 tdf#131991 Qt5 RTL mirror mouse wheel X position
Just like all the other events, the mouse wheels X position must
be mirrord in LO RTL mode.

Change-Id: I28e8da0455d941f42f869b08edcdbe570de366c0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97338
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2020-06-28 03:10:32 +02:00
Rizal Muttaqin
8ed11b7289 Sukapura: tdf#133538 add Show White Space icons
- update Hide White Space icons

Change-Id: I0de99d35ab8e9a164944c45c4e7f2c11ee7d4870
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97336
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-06-28 01:32:01 +02:00
Tomaž Vajngerl
47f4ec5166 drawinglayer: remove textprimitive2d.hxx from clang-format blacklist
Change-Id: I6fa692bb3e4a16400ee2ae847a1f97201493f53a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97287
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-28 00:34:56 +02:00
Tomaž Vajngerl
a9ace8428b organise includes in textprimitive2d.hxx
Change-Id: I6f822707520688cb3b5b501094e238f02e90ce56
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97286
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-27 22:42:54 +02:00
Tomaž Vajngerl
065798497d drawinglayer: remove fontattribute.hxx from clang-format blacklist
Change-Id: I58ef867586bdd2c8c9f4eb249f10610860c9568a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97285
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-27 22:42:38 +02:00
Caolán McNamara
4c26e797aa tdf#134326 allow 2 decimal places for asian grid point sizes
possibly a regression since...

commit 1f622157d1
Date:   Sun Apr 7 18:04:11 2013 -0300

    Convert Writer asian text grid page to Widget UI

and use the same step increments found before that conversion

Change-Id: Ifbbc847a487e0b7d33704e6cac74a6c1c6012ed4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97327
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-27 21:47:49 +02:00
Caolán McNamara
d1069a583d cid#1401342 Uncaught exception
Change-Id: Ia22ed8541f1148355d71cd5b90ad13e64c1b50c2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97289
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-27 21:47:11 +02:00
Rizal Muttaqin
22bacc8205 elementary: tdf#133538 add White Space icons
- Add Calc's Fill icons

Change-Id: I4b099359f2dfd1a90be77b5eb03e4f3a932d99a1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97316
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-06-27 21:45:46 +02:00
Caolán McNamara
ae1b0875b2 cid#1464973 & cid#1464975 Resource leak
Change-Id: I4df8fefa7f875e0a25585c4fef22f077dcd0b83d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97318
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-27 20:25:10 +02:00
Caolán McNamara
acb71f8382 cid#1464972 Unchecked dynamic_cast
Change-Id: If40ee310e0a16af7ce93a5f93e2b436069aa153a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97317
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-27 20:24:05 +02:00
Caolán McNamara
877ca303e6 cid#1464971 Dereference null return value
Change-Id: Id0f6aec4552e551d3ba697bb4a3c9b0e498fdf24
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97315
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-27 20:23:32 +02:00