Commit graph

463876 commits

Author SHA1 Message Date
Jean-Pierre Ledure
2a38a064df ScriptForge - Comments in code: pointers to help pages
Insert in each service module a pointer to the
help page on https://help.libreoffice.org
containing the user documentation of the given
service.

Example:
SF_Array.xba contains a pointer to next help page
https://help.libreoffice.org/latest/en-US/text/sbasic/shared/03/sf_array.html?DbPAR=BASIC

Only addition of comments lines.
No code change.

Change-Id: I83899d9fab247d23e2d5123378e2fb3fd0ade60e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117370
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-06-17 14:40:49 +02:00
Noel Grandin
0771ac00ac use string_view in the Translate API
Change-Id: I0bb0ea9d39ed623928060ffd3f2e2bc36ba33209
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117272
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-06-17 14:32:11 +02:00
Olivier Hallot
0d97abc8ef Update git submodules
* Update helpcontent2 from branch 'master'
  to 21d0197b3705212a22b9e221ac1f624049516d9a
  - tdf#114930 Clarify associativity and precedence of operators to the help
    
    Change-Id: Ib55f0901235c082e88b49d1526b1123cd036f875
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/117347
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-06-17 14:18:26 +02:00
Stephan Bergmann
21da7d80aa Adapt o3tl::temporary to C++23 P2266R1
With the recent implemenation of
<http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2266r1.html> "P2266R1:
Simpler implicit move" in Clang 13 trunk as
<bf20631782>
"[clang] Implement P2266 Simpler implicit move", a --with-latest-c++ build
started to fail with

> In file included from sal/rtl/random.cxx:25:
> include/o3tl/temporary.hxx:21:62: error: non-const lvalue reference to type 'double' cannot bind to a temporary of type 'double'
> template <typename T> constexpr T& temporary(T&& x) { return x; }
>                                                              ^
> sal/rtl/random.cxx:97:37: note: in instantiation of function template specialization 'o3tl::temporary<double>' requested here
>     return std::modf(random, &o3tl::temporary(double()));
>                                     ^

etc.  (And fixing that by adding the recommended static_cast then triggered a
false loplugin:redundantcast warning.)

Change-Id: I222429e9872afdedf77a07014c0a2e9e06c60b50
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117335
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-06-17 14:16:59 +02:00
Olivier Hallot
12ad78492e Update git submodules
* Update helpcontent2 from branch 'master'
  to ae00877c467d6ceee7b5c84ba3be99f0cb1468a4
  - Mute l10n
    
    Change-Id: Id49c3b5c606c98bbc58d9c06245e2cebf8296676
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/117300
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-06-17 14:12:41 +02:00
Caolán McNamara
013bbc1297 split NotifyingLayout out
Change-Id: Ib706331f9e6b3749559a0b78f1a07d442a674829
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117369
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-17 14:00:33 +02:00
Caolán McNamara
f252223140 gtk4: undo overflow notebook insert in dtor
Change-Id: I2a051486346d4afabbf7f0f6f3b9683c8e0c9e62
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117367
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-17 14:00:17 +02:00
Caolán McNamara
de74235388 gtk4: restore double-decker notebooks
add a 'NotifyingLayout' to find out when the size of a widget
changes now that size-allocate has been removed

Change-Id: Iae55b7fafd2fd26c62afaedd777ae40e84fbb964
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117348
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-17 13:25:19 +02:00
Tor Lillqvist
1394bfba87 Drop the "console" functionality of ProfileZone
It was not used anywhere and had not been cherry-picked to the
relevant vendor production branches so apparently it was just some
temporary experimentation? It is good to reduce complexity and
increase code similarity between branches.

Change-Id: Ib6717063f96d901d65ec36d65f3683af31065f2b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117364
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2021-06-17 12:54:51 +02:00
Tomaž Vajngerl
a572acc3dd svx: prefix member variables SdrViewEvent SdrView SdrObjGroup
Change-Id: Ic20c9dc7b8109cb095a883f2dfcec3e4f10b2428
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117352
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-06-17 10:44:05 +02:00
László Németh
12da70f885 tdf#90401 xmloff: remove personal info of comments and changes
If Options → LibreOffice → Security → Security Options
and Warnings → Options... → Security Options → Remove personal
information on saving" is enabled.

Use the same time (1970-01-01T00:00:00) for mandatory
time stamps, and replace authors and creator-initials with
"1", "2", "3" etc., also to avoid of joining adjacent
redline ranges.

Note: to see the work of the unit test in Linux command line:

(cd sw && make UITest_writer_tests7 UITEST_TEST_NAME="tdf90401.tdf90401.test_tdf90401_remove_personal_info" SAL_USE_VCLPLUGIN=gen)

Change-Id: I3b4d710dbeeee12177aff378597cd2b683ca6c25
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117319
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2021-06-17 10:43:08 +02:00
Tomaž Vajngerl
68eb62b9bf svx: pragma once for some SdrObject subclasses
Change-Id: Ibbadf5069fbf5327a8a5964a3003bf6e258fd00b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117351
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-06-17 10:42:59 +02:00
László Németh
3bae521688 tdf#115281 sc Windows: fix shortcut text Ctrl+` in View menu
In View->Show Formula, shortcut text was only "Ctrl" instead
of the complete "Ctrl+`".

Follow-up to commit 3f9fcf0e7f
"tdf#103388 Show the backtick used in shortcut in Calc View menu".

Change-Id: Icef8904bac0b663d9702e62fcdc0ab1f0f4bd1ee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117332
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2021-06-17 09:46:01 +02:00
Jean-Pierre Ledure
ed7f1a6fb4 ScriptForge - Increment version number
Increment the versioning constants from 7.2 to 7.3 in next files
	modified:   wizards/source/scriptforge/SF_Utils.xba
	modified:   wizards/source/scriptforge/po/ScriptForge.pot
	modified:   wizards/source/scriptforge/po/en.po
	modified:   wizards/source/scriptforge/python/scriptforge.py

Change-Id: Iba78215cea9c16f3e7dd9302b84c90815c7a9e68
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117258
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-06-17 09:40:03 +02:00
Tomaž Vajngerl
270c5ba6f5 basegfx: change template param to use int instead bool - Tuple2D
Change-Id: I82bf089ea95fc3b2b527aa55cc8c9f09aa684502
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117353
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-06-17 09:30:44 +02:00
Justin Luth
3f5311271e tdf#142404 DOCX c15: fix centering when TabOverSpacing
I didn't notice the need for making the same
exclusion that TabOverMargin made for centering
when 7.2 got the new TabOverSpacing compat flag.
But now I see it is still needed.

Change-Id: Ia8069b5566eaf6dcdac6ff10ee0c60b849c5fa2e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117339
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
2021-06-17 06:21:47 +02:00
Tomaž Vajngerl
c703b2d22c basegfx: generalise tuples with template class Tuple2D and Tuple3D
B2DTuple2D, B2ITuple2D and B2I64Tuple share a lot in common so
we can generalise it as a template class. The same goes for the
3D variants - B3DTuple and B3ITuple.

This is the initial attempt, but doesn't yet generalise all that
is possible.

Add some tests for the tuple variants that test the behaviour of
overloaded operators and other common methods.

Change-Id: Iee5ed15d58ea88e65ee7854bd05a87ceab22023d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117104
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-06-17 01:55:56 +02:00
Tomaž Vajngerl
e337b9d92c basegfx: change template param to use int instead bool
Change-Id: I5e0f52ba9b9a82ad702204a2d35ea49a8d74aa55
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117326
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-06-17 01:55:32 +02:00
Stephan Bergmann
433ab39b21 Adapt implicit OString return value construction to C++23 P2266R1
With the recent implementation of
<http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2266r1.html> "P2266R1:
Simpler implicit move" in Clang 13 trunk as
<bf20631782>
"[clang] Implement P2266 Simpler implicit move", a --with-latest-c++ build
started to fail with

> comphelper/source/xml/xmltools.cxx:103:20: error: no viable conversion from returned value of type 'char [39]' to function return type 'rtl::OString'
>             return str;
>                    ^~~
[...]
> include/rtl/string.hxx:277:5: note: candidate constructor [with T = char [39]] not viable: expects an lvalue for 1st argument
>     OString( T& value, typename libreoffice_internal::NonConstCharArrayDetector< T, libreoffice_internal::Dummy >::Type = libreoffice_internal::Dummy() )
>     ^
[...]

etc.

Change-Id: If34f143a1855fdd7cd22ea3d7594f9381d50a7ec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117336
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-06-16 23:05:34 +02:00
Caolán McNamara
cb63670188 gtk4: redo theme unwanted active tab in overflow notebook into invisiblity
don't quite see why this doesn't work out of the box in gtk4, but
putting it into the application-level style provider and using it via a
style class works and probably makes more sense anyway.

Change-Id: I4de196e462d7440174a0d67be25923bddab68197
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117337
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-16 21:44:35 +02:00
Caolán McNamara
f81c1414c0 gtk4: partial restoration of double-decker notebooks
there isn't an obvious candidate as to when to do the split though

Change-Id: Iee6d74015263b180470fc0c90924617bcde14421
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117334
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-16 21:44:05 +02:00
Caolán McNamara
04895980c0 gtk4: Notebook label is now inside another widget
Change-Id: If1f37959603dbe10e01d492321e9324ab55f10d6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117333
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-16 21:43:41 +02:00
Caolán McNamara
e3a7d01525 gtk4: add some working dialogs
Change-Id: Iac09640fe05110ef01cd7e4645b5a9e0ea8eb48e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117328
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-16 21:43:09 +02:00
Caolán McNamara
0f8c44ce26 remove SpinButton input-purpose properties
Change-Id: I68629d4350c43c80fdd00f9fcb8af3733753fe43
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117327
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-16 21:42:48 +02:00
Stanislav Horacek
7c49bd291c Update git submodules
* Update dictionaries from branch 'master'
  to 8cd38fb5138f2e456506aaa889ec2b7042a7439e
  - Czech Hunspell: fix word "třídička"
    
    Change-Id: I36236d34249e9a8c5e8bfa48b30a26cf595d309b
    Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/117343
    Tested-by: Stanislav Horáček <stanislav.horacek@gmail.com>
    Reviewed-by: Stanislav Horáček <stanislav.horacek@gmail.com>
2021-06-16 19:41:00 +02:00
Stephan Bergmann
d32d2fd301 Move enable_if from dummy template parameter to return type
...and drop the no-longer necessary loplugin:implicitboolconversion exclusion
(which had been necessary to avoid

> [CXX] vcl/source/window/dockingarea.cxx
> In file included from vcl/source/window/dockingarea.cxx:26:
> In file included from vcl/inc/svdata.hxx:26:
> include/o3tl/hash_combine.hxx:14:78: error: implicit conversion (Dependent) from 'bool' to 'std::enable_if_t<(sizeof(N) == 4), bool>' (aka 'typename enable_if<(sizeof(N) == 4), bool>::type') [loplugin:implicitboolconversion]
> template <typename T, typename N, std::enable_if_t<(sizeof(N) == 4), bool> = false>
>                                                                              ^~~~~

etc.)

Change-Id: If764365213cf29f7dec6fdd6a773dc9894dd15bd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117330
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-06-16 18:37:57 +02:00
Caolán McNamara
c9ba420bfe cid#485150 silence Uncaught exception
for the record

coverity[foo] defect is marked as intentioanl
coverity[foo : FALSE] defect is marked as false positive
coverity[foo : SUPPRESS] detect is not saved at all

Change-Id: I1277c4426b5fa9efde8a9227c2813d53deb56555
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117325
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-16 17:26:55 +02:00
Caolán McNamara
899737e6e4 stray unwanted 'relief' property on random checkbox
Change-Id: Id942f88780d4f697df44433180343ca3c763ed67
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117321
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-16 17:26:34 +02:00
Justin Luth
c54de8cca1 tdf#142404 DOCX c15: line full before out-of-bounds TabOverSpacing
MS Word 2016 does something very weird. It attaches a
TabOverMargin to the previous word, and pulls it down to a new line.
Well, I don't think we want to attempt anything silly like that,
but at least we can have the tab itself start on the new line
(and thus take up the whole line).
This seems to be true only for a left-tab.
The other tabs have a different kind of strangeness
that I haven't identified yet.

In order to do that, when we request a tabstop position,
we must query a tabstop beyond the end margin.
So modify the GetTabStop function to allow for
not checking against an nRight position (when passed a zero).

This is complicated by the function's ability to ALWAYS
return the first tabstop - even if it is past the given
right-most edge. So I made nRight modifiable,
so that in this case, it isn't considered to be past
the right edge. That is fine for both cases where
this function is used.

It is a bit ugly, but I don't see how to make it cleaner,
when these inherent complications are already built-in.

This also has an impact on older DOCX, but the impact
is still valid. (In those, the entire paragraph
extends past the end in Word. With this patch, at
least the first line becomes more than just an
auto-tabstop.)

Change-Id: I42791a959aea2932b5776789ba45307fbca41a5f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116878
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2021-06-16 16:53:47 +02:00
Caolán McNamara
18f1199f4b xalign of 0.5 is already the default
so no need to make it explicit

Change-Id: I933fd914a3a7c408b836a85fee7acb39e731990f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117320
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-16 16:44:38 +02:00
Caolán McNamara
2305f8fcf6 Resolves: tdf#142874 missing translation property
since...

commit 15664117ef
Date:   Thu Jul 25 21:40:48 2019 +0300

    tdf#125923 Fix reset button.

Change-Id: Ib589aa32221eaa33a13a17a00c2edb51866a5daa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117315
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-16 16:44:15 +02:00
Caolán McNamara
ce0aebb7bd resave with latest glade
Change-Id: I1fac93fc43c80fb986e5b09b497c644be6852b52
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117314
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-16 16:43:49 +02:00
Noel Grandin
e52bbca626 tdf#135316 docx open performance
avoid unnecessary SwNumFormat creation

Change-Id: I62a16fdeb1225606a54f384e5196e5137e8d2139
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117271
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-06-16 15:15:32 +02:00
Georgy Litvinov
736a2db98b tdf#38187 Create back link from footnote text to anchor in text
Change-Id: I1ddf447975872a45447bfa86d050c886f4191962
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117205
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2021-06-16 15:07:08 +02:00
Sarper Akdemir
f283ec0bf6 tdf#59323: pptx export: slide footers roundtrip unit test
Roundtrip test that checks the slide footers, and their placeholder indexes.

Change-Id: I9c4b819092ac6699617d71538c35b066d6e6f974
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117013
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2021-06-16 15:06:12 +02:00
Sarper Akdemir
25ae0de974 tdf#59323: pptx export: add support for slide footers
Adds support for exporting slide footers to PPTX.

Slide footers are exported as shapes that use placeholder indexes to refer to
the shapes on master.

To make the references work they are exported to layout slides too.

Change-Id: I8bfde520b0aec66405523c719844e69c6fc15b79
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117012
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2021-06-16 15:04:50 +02:00
Caolán McNamara
fc3c92c821 both children are at position 0
instead of one at 0 and the other at 1

Change-Id: I1943d2e68f39fb463d76237d6eb0bffe800a6b6c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117313
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-16 15:02:03 +02:00
Caolán McNamara
6c4e61fcc7 gtk4: reenable some more working dialogs
Change-Id: Iaa8d77b231f8366ff4c33221691e9a3cadb73fa4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117312
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-16 15:01:40 +02:00
Sarper Akdemir
0f9dc676ee tdf#59323: pptx export: add initial support for lstStyles in textboxes
Adds initial support for writing lstStyles that are specific to a shape.

Current implementation only writes first paragraph and first textruns properties
in it.

Made WriteParagraphProperties return a bool that determines whether or not it
wrote a pPr tag. Needed this since lvl1pPr tag should be started even if there
was no paragraph properties since run properties also written inside it.

Change-Id: Ie0cfc9b9f221093db3a1111ca29140a6dfb5e8ad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117011
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2021-06-16 15:01:19 +02:00
Caolán McNamara
560eea7be7 set default width/height of minimum for dialog
Change-Id: I25ea3a44f7bda7916bb129e7642150c80b9dab11
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117291
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-16 15:01:02 +02:00
Caolán McNamara
e7185e1994 resave with latest glade
Change-Id: I736005e7a6d669dea75347bddcd8114ceea4fe33
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117290
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-16 15:00:43 +02:00
Caolán McNamara
3b8fb0ba18 gtk 4.3.2 will have a fix for this
Change-Id: Idae818c0d7220d0fbe08462eff1654c22d24310c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117284
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-06-16 15:00:16 +02:00
Sarper Akdemir
1178d2978d tdf#59323: pptx export: add placeholder index to master footer placeholders
OOXML uses placeholder index to determine from which layout placeholder it
should be inheriting styles, position etc.

Added maPlaceholderShapeToIndexMap that stores corresponding Placeholder index
for a Placeholder XShape on the master slide.

Right now only used for placeholder types Footer, DateAndTime and SlideNumber.

Change-Id: If788f235d00b6d1cde7194d9e4a0789e019432c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117010
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2021-06-16 14:56:21 +02:00
Gopi Krishna Menon
4b92578176 Add Active App Name Field To Crash Report
Adds a Active-App field in Crash
Report to assist in investigating
the crashes

Change-Id: I30e5f307045b8e5def9986447551f39e70b94edc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116786
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2021-06-16 14:45:35 +02:00
Gabor Kelemen
3f9fcf0e7f tdf#103388 Show the backtick used in shortcut in Calc View menu
as Ctrl+` instead of "Ctrl+grave" (see at View->Show Formula).

This affected only gen backend on Linux (SAL_USE_VCLPLUGIN=gen),
gtk3 and qt5 are handling this correctly.

Change-Id: I2bebcf68118642e6c12cf2c5d4392f2ca423665b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116742
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2021-06-16 14:41:34 +02:00
Sarper Akdemir
ba66d49db8 tdf#59323: pptx export: add datetime field type helpers
Creates helper functions to convert from LO time and date formats to datetime
fields on OOXML

Change-Id: Ibbfefa18d0422eddb6c37539294ed23e77fe5f22
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117009
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2021-06-16 14:34:14 +02:00
Sarper Akdemir
166671f4aa tdf#59323: pptx import: import footer fields as properties
Makes footer, slidenum and datetime placeholders that are inserted to
the slides themselves on pptx files imported as slide properties if it
is possible to do so without losing information (style, position etc.)

If that is not the case and the footers have some special style applied
to them that isn't inherited from master slides, fallbacks to the current
implementation importing them as shapes.

Also since the default way of displaying slide footers in LO use the
respective text fields on master slides, information in master/layout
slide datetime and footer placeholders respectively get replaced with
<date/time> text fields and <footer> text fields.

Change-Id: Ib2f7d18103b62c0c9a8453e01cfd2fd1aa1d39af
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117008
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2021-06-16 14:32:41 +02:00
Miklos Vajna
3c46fd3d72 sw HTML export: allow larger bitmaps for shapes than the vcl default
VCL default would be 500k pixels, i.e. a 2" x 1" shape at 600 dpi would
be already truncated from 1200 pixels width to 1000 pixels. That's a bit
too extreme, use a larger limit in the sw HTML export.

Change-Id: I52b85d77cd27410d53c700a89190c99348de5e19
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117287
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2021-06-16 12:21:46 +02:00
Tomaž Vajngerl
e838c1b9e9 basegfx: use namespace for "ftools", make sure input is FP number
Don't use empty class with static methods for ftools, but just
use namespace instead. Also make sure it works with any floating
point numbers (float and double) and don't allow input if it is
anything else than a floating point number

Change-Id: I94b964291b3999d38ae13afe6ddfdbe6d891d410
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117154
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-06-16 10:47:27 +02:00
Gabriel Masei
bf6dabe0eb vcl: check mpWindowImpl for nullptr
Change-Id: I492c7d5c1846df7507b1f043b80de4e61ff8ca86
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117282
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2021-06-16 10:16:50 +02:00