Commit Graph

440773 Commits

Author SHA1 Message Date
Caolán McNamara
966a51dfc6 Resolves: tdf#125461 32bit XImage is not premultiplied
regressions since...

commit 86ea64f216
Date:   Fri Feb 15 13:14:32 2019 +0100

    Support for native 32bit Bitmap in VCL and SVP (cairo) backend

32bit cairo data is premultiplied with alpha but not so 32bit XImages which
don't have alpha at all, so restore the pre-change 32bit accessors, which
effectively ignore their alpha channel, beside the post-change ones and
toggle which one to use depending on the back end capability

Change-Id: Ibfec18b4ddb6e93ab19e44e7127e7a16982e2f49
Reviewed-on: https://gerrit.libreoffice.org/78665
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-09-06 10:09:01 +02:00
Caolán McNamara
00df1cd5d6 ofz#15225 Timeout cut out uninteresting slow path
Change-Id: Ia9c1187891e4bf5515417b2e5ffc093ef2335af3
Reviewed-on: https://gerrit.libreoffice.org/78674
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-09-06 10:08:45 +02:00
Andrea Gelmini
39214c54ef Typos
Mainly fixing '....' and '..'

Change-Id: Ic928701b319868671b826d757dd94c296fd5e942
Reviewed-on: https://gerrit.libreoffice.org/78668
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-09-06 09:24:07 +02:00
Andrea Gelmini
22ef2a15bb Fixing "...."
Change-Id: Id005a7531d546dd43de13b49bcb3e93081c5ad8d
Reviewed-on: https://gerrit.libreoffice.org/78679
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-09-06 09:15:58 +02:00
Andrea Gelmini
c12c84e6d8 Fixing "...."
Change-Id: I3424e17cfdfb563fdc5882942031deafae8689fe
Reviewed-on: https://gerrit.libreoffice.org/78678
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-09-06 09:13:38 +02:00
Tomaž Vajngerl
3c1c1b8885 Revert "lok: Don't send any cursor changes for table in Writer"
This reverts commit 7af38dd4fd.

Change-Id: Ic9de4c0f7a2dd71c4aeff71ca17b71bff0ffe817
Reviewed-on: https://gerrit.libreoffice.org/78682
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2019-09-06 09:08:14 +02:00
Andrea Gelmini
73e3604fc1 Fixing '....' and '..'
Change-Id: I926069d6c1f2712e5020d930f7ff6c62fd00e912
Reviewed-on: https://gerrit.libreoffice.org/78667
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-09-06 09:05:50 +02:00
Noel Grandin
396473a3d6 use unique_ptr in ImpConvertContainedTextToSdrPathObjs
Change-Id: I7995bb3e8732ec20b941bd029e5a77aa78d09592
Reviewed-on: https://gerrit.libreoffice.org/78673
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-09-06 08:50:50 +02:00
Noel Grandin
8494a95f29 return unique_ptr from ImpConvertMakeObj
Change-Id: I24b53dceb79bd43aed92c8130dc33b637410d231
Reviewed-on: https://gerrit.libreoffice.org/78672
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-09-06 08:50:35 +02:00
Zdeněk Crhonek
42eb80c12a uitest add test for Impress - Custom slide show dialog
Change-Id: Ief7fc017f69f4daa706d1a40050143f5d33b4f10
Reviewed-on: https://gerrit.libreoffice.org/78681
Tested-by: Jenkins
Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2019-09-06 08:31:34 +02:00
Tamás Zolnai
ced915bf4c tdf#127379: PPTX: Gradient background fill of a slide is lost during RT.
Change-Id: I149bf161f53d566d461347e00d04fc45394bc051
Reviewed-on: https://gerrit.libreoffice.org/78670
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-09-06 08:00:02 +02:00
Tamás Zolnai
0417fb9ccd tdf#127372: PPTX: Shape's background transparency changes during RT
Need to use a better null value for FillTransparenceGradient.
Use black-black which has equal effect than having no transparency at all.

XFillFloatTransparenceItem has also an enabled attribute, but it
can not be accessed via the UNO API. We can acces only the gradient object,
so with a better null value we can check whether the API attribute is
actually set or not.

Change-Id: I480489f588376582f80d5062145b7f398ef61ad7
Reviewed-on: https://gerrit.libreoffice.org/78657
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-09-06 07:59:38 +02:00
Stephan Bergmann
27c886f5aa Clean up {osl_,osl::}systemPathEnsureSeparator combo
Change-Id: Iafa953725c1ca8e6f3032945dc0700ae989519b9
Reviewed-on: https://gerrit.libreoffice.org/78671
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-09-05 23:31:44 +02:00
Eike Rathke
de14678468 Resolves: tdf#126577 stop filling a series when threshold is reached
... instead of filling the remainder of the selection with #NUM! errors.

Change-Id: I12f3943196878c7631f3dc6ac182631faab17323
Reviewed-on: https://gerrit.libreoffice.org/78675
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2019-09-05 23:18:29 +02:00
Stephan Bergmann
001f739f1b Clean up {osl_,osl::}systemPathMakeAbsolutePath combo
Change-Id: Iec4c2ff8c8239069f95fff195c49fac9f7c865d4
Reviewed-on: https://gerrit.libreoffice.org/78656
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-09-05 21:18:38 +02:00
Khaled Hosny
467387ed2f Merge GetFontCodeRanges() into GetFontCharMap()
Change-Id: I61d8edf0be492c1c06274c11ac5d2e65415525a9
Reviewed-on: https://gerrit.libreoffice.org/78638
Tested-by: Jenkins
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2019-09-05 19:24:10 +02:00
Khaled Hosny
fc0119d0af Remove effectively dead code
We dropped support for non-SFNT fonts for a while now.

Change-Id: Iaa2ea308effa7328bd84240cf29fc3fd117d418a
Reviewed-on: https://gerrit.libreoffice.org/78637
Tested-by: Jenkins
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2019-09-05 19:24:01 +02:00
Noel Grandin
8b7434bc04 use unique_ptr in SdrObject::getFullDragClone
Change-Id: I904f1f13bb4958e3457476e6e682ec7d7b97c670
Reviewed-on: https://gerrit.libreoffice.org/78660
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-09-05 18:59:52 +02:00
Andras Timar
4c16f79b30 tdf#121983 add whitelist for libcairo.so.2
Change-Id: If255e5af56d78047af9d38d6a7f0df070888816e
(cherry picked from commit df92637754c5e7fd59d0aec8bf646c8b42416fd5)
Reviewed-on: https://gerrit.libreoffice.org/78595
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Tested-by: Jenkins
2019-09-05 18:46:06 +02:00
Andrea Gelmini
71740e6303 Fix typos
Change-Id: Ibfff5af316a2c18b5735245caf5a27a562bc0f52
Reviewed-on: https://gerrit.libreoffice.org/78664
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-09-05 18:43:22 +02:00
Caolán McNamara
ad657dddd0 consistently use RemoveScanline
Change-Id: Iad0bbbf1e2a522778fe4a88632bd7cbce4e2008c
Reviewed-on: https://gerrit.libreoffice.org/78661
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-09-05 18:27:08 +02:00
Stephan Bergmann
8cb5c2565e Use OUString in osl_getNextDirectoryItem
Change-Id: Ifa1491a1af1d3c74d84ec4d6bec79fcf7a5d6bf4
Reviewed-on: https://gerrit.libreoffice.org/78653
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-09-05 17:16:51 +02:00
Noel Grandin
ec56174b0c loplugin:useuniqueptr in VtableFactory
Change-Id: I122b6749f148abb48f646bfcd32ef86e2f5fa553
Reviewed-on: https://gerrit.libreoffice.org/78651
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-09-05 17:00:14 +02:00
Tomaž Vajngerl
7af38dd4fd lok: Don't send any cursor changes for table in Writer
As the table column and row resize and select when using it over
LOKit, are using the markers and the mouse border changes weren't
working at all, we can safely turn the mouse cursor changes off.

Change-Id: I4c898da1db39c91a9178115dcd1e0c43eb7c36bf
Reviewed-on: https://gerrit.libreoffice.org/78644
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2019-09-05 16:56:43 +02:00
Noel Grandin
cecbf4e87f loplugin:useuniqueptr in ClassFile
Change-Id: I6ca5ae6f700747e726e531231b3a5cd1586c54d7
Reviewed-on: https://gerrit.libreoffice.org/78652
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-09-05 16:54:20 +02:00
Stephan Bergmann
4e9714d287 Fix osl_systemPathEnsureSeparator precondition
Change-Id: I0165a14f159a6c2c7bce84d1ca646435146d1da0
Reviewed-on: https://gerrit.libreoffice.org/78643
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-09-05 16:39:21 +02:00
Stephan Bergmann
078d5c629e Let osl_systemPathEnsureSeparator directly take an OUString
Change-Id: Ia9505298fe92d62d716e2c28ac0a5098c4b61121
Reviewed-on: https://gerrit.libreoffice.org/78642
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-09-05 16:39:10 +02:00
Arkadiy Illarionov
396869e0e7 Simplify Sequence iterations in accessibility
Use range-based loops, STL and comphelper functions.

Change-Id: I600f6eeffd606859c24cdce8faeaead29abfb843
Reviewed-on: https://gerrit.libreoffice.org/78573
Tested-by: Jenkins
Reviewed-by: Arkadiy Illarionov <qarkai@gmail.com>
2019-09-05 14:53:10 +02:00
Michael Weghorn
111cf7ee0b tdf#127357 Make "Select Address List" dialog modal again
Modality got lost for non-gtk3 VCL plugins when the dialog
was welded in commit 3963bab7c1
("weld SwCreateAddressListDialog").

Change-Id: I92cb706d7ff9033d4f5b6fe91837739d548a887f
Reviewed-on: https://gerrit.libreoffice.org/78631
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2019-09-05 14:22:49 +02:00
Stephan Bergmann
265552e8ab Use compat::IgnoreImplicit
...for reliable results across Clang versions.  Also, there appears to be no
need to check for CXXTemporaryObjectExpr both before and after IgnoreImplicit.

Change-Id: Ib804591b6d50073c99680d0933e21f32bba29342
Reviewed-on: https://gerrit.libreoffice.org/78640
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-09-05 14:13:33 +02:00
Stephan Bergmann
2422dfd060 loplugin:simplifyconstruct
Change-Id: Ia512cf70a51dd8f41060d4b4b12b120826b53ee9
Reviewed-on: https://gerrit.libreoffice.org/78636
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-09-05 13:27:27 +02:00
Michael Stahl
632ee9aae6 tdf#95848 sw: DOCX export: export w:lvlOverride elements
... when necessary; factor out MSWordExportBase::NumberingLevel() so it
can be called for this purpose.

Change-Id: I958210052b162c2b23f0162ffebbf5add1ed328c
Reviewed-on: https://gerrit.libreoffice.org/78608
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2019-09-05 12:46:19 +02:00
Caolán McNamara
aae9f27650 Resolves: tdf#127033 use UI font for spell checking widget
Change-Id: I18e0459bf16ee69860b7dcc8c5ecc75a7805fe13
Reviewed-on: https://gerrit.libreoffice.org/78632
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-09-05 12:45:18 +02:00
Regina Henschel
57c9bdab37 tdf#127166, tdf#123903 improve import/export of line styles
I have added import and export of prstDash line styles, for OOXML
and for binary MS Office formats. This includes:
Corrected Dot <--> Dash confusion, corrected some wrong defaults,
added support for hairlines tdf#127267, take care of treating
length 0 as 100%.

tdf#108064 has introduced some mapping from our standard line styles
to OOXML prstDash. I have removed that and implemented to export
our styles as custDash and recover them back on import. That way the
dashing looks initially the same in MS Office. I have removed the now
wrong test.

Binary MS Office formats have no custom dash styles AFAIK, therefore
I have not changed the export of our styles there, but only added
support for prstDash styles.

Change-Id: Ia8cc8f90df6fdbe42adfc0236cc52becc670b333
Reviewed-on: https://gerrit.libreoffice.org/78372
Tested-by: Jenkins
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
2019-09-05 12:36:56 +02:00
Mike Kaganski
8590de9d8c Reduce some repeated code
Change-Id: I617f606b64706e8bc32e827644e5f1d1ef27702a
Reviewed-on: https://gerrit.libreoffice.org/78624
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Tested-by: Jenkins
2019-09-05 11:38:26 +02:00
Stephan Bergmann
411e4d15ff Fix conversion of U+0000 in ImplUnicodeToDBCS
...which appears to have been broken when
1382473505 "#81346# - Fix for unconverted
characters for DBCS encodings" moved that "if" out of surrounding "if" block.
(And, for consistency, write the "if" check in the same way as the preceding one
is written since 739cb04c36 "#97705# Fixed mapping
of Big5 EUDC points.")

Change-Id: I4324197c4eba671ab6313fb89f988da102b8ffa5
Reviewed-on: https://gerrit.libreoffice.org/78627
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-09-05 11:11:29 +02:00
Heiko Tietze
e8acfdb442 Resolves tdf#125296 - Replace hard-coded chevron by themable icon
Chevron now taken from sfx2/res/chevron.png
Vertical toolbars don't have a rotated icon anymore

Change-Id: Idf6c11ba818b8ca1860da61cb51d3003aff01e56
Reviewed-on: https://gerrit.libreoffice.org/78604
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2019-09-05 11:05:39 +02:00
Heiko Tietze
9d52758d7d Resolves tdf#126431 - Placement of buttons in AutoRedact dialog
Buttons moved to the side
Sizegroups deleted, some some between buttons added

Change-Id: Ie0809c7a26792d2aef9a8ad60c5ad909558d00af
Reviewed-on: https://gerrit.libreoffice.org/78586
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2019-09-05 11:05:13 +02:00
Caolán McNamara
644211dbba cid#1453561 Null pointer dereferences
Change-Id: If85383ac4c4e24eb10fed0c78fe879355bbc4fb6
Reviewed-on: https://gerrit.libreoffice.org/78626
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-09-05 11:04:06 +02:00
Michael Stahl
bb9c07b82f tdf#121983 cairo: fix RPATH to contain $ORIGIN, not libtool's nonsense
Also transmit $(verbose) to the build so it's debuggable.

Change-Id: I8620fdcae2fcd34807b6b83b7c38aa5ca1ba2caa
Reviewed-on: https://gerrit.libreoffice.org/78596
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2019-09-05 10:27:55 +02:00
Michael Stahl
1f6b7030cb tdf#95848 sw: DOCX export: crude implementation of abstractNum mapping
The abstractNum needs to correspond to a SwList, not to a SwNumRule as
it is currently implemented.

Add a mapping to MSWordExportBase for "overriding" numbering
definitions; these are added to m_pUsedNumTable, which appears to be
necessary to interact with DuplicateNumRule(), but here we just add
nullpointers, because we don't need to modify the SwNumrule, and neither
do we want the vector to double-delete it.

The mapping is created while iterating over the document, in
AttributeOutputBase::ParaNumRule().

It turns out that this approach would work for WW8 too as
DuplicateNumRule() was originally added for that format but it won't
work easily for RTF; in the DOCX case the WriteNumbering() is called
after the main text and footnotes/endnotes, but with RTF it's the
other way around :(

Change-Id: Ia0409f5ad0b2e089005024ef7f61850a06d4dcbe
Reviewed-on: https://gerrit.libreoffice.org/78607
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2019-09-05 10:18:12 +02:00
Michael Stahl
276156a882 sw: rename one MSWordExportBase::GetId() overload
Change-Id: I9d87b5e987dc60431d8de5f5dde0cf7cc436bf97
Reviewed-on: https://gerrit.libreoffice.org/78606
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2019-09-05 10:18:04 +02:00
Caolán McNamara
98ce2ed834 ctrl+shift+e emoji ibus engine problems converting UCS-4 positions to UTF-16
e.g. ctrl+shift+e type rabbit then space in writer and the len of underline
is 2 which should encompass the displayed e + 2 UTF-16 units

Change-Id: I424db7dd6cbcc5845922ac17208fed643e672dbd
Reviewed-on: https://gerrit.libreoffice.org/78615
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-09-05 09:57:00 +02:00
Samuel Mehrbrodt
2c0d3ce529 tdf#64222 Consistently apply direct formatting to numbering
Change-Id: I54d672409c969389f33dd07021f10e1203bb64c6
Reviewed-on: https://gerrit.libreoffice.org/78299
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-09-05 08:51:39 +02:00
Noel Grandin
9dac199094 loplugin:noexceptmove improve feedback
Change-Id: I16612abd535812bdb9d46aa9886b1e02747aab6f
Reviewed-on: https://gerrit.libreoffice.org/78614
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-09-05 08:27:43 +02:00
Noel Grandin
6c9917c7a7 loplugin:constmethod in dbaccess
Change-Id: I3bb4784e1a2d828eca30f255a9c9bb4248309b81
Reviewed-on: https://gerrit.libreoffice.org/78603
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-09-05 08:27:23 +02:00
Noel Grandin
51fa45c8b8 loplugin:constmethod in cui
Change-Id: I06ffacbb02f3e9088e9c1a51e0e3e0d65d356f62
Reviewed-on: https://gerrit.libreoffice.org/78602
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-09-05 08:27:12 +02:00
Noel Grandin
f8f606297d loplugin:constmethod in chart2
Change-Id: Ib97571b3750bd832d0d69a1530e6c8589134c633
Reviewed-on: https://gerrit.libreoffice.org/78601
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-09-05 08:26:56 +02:00
Aron Budea
0f3fb26e76 MSForms: Reorder categories in menu
so it matches MSO's order: content controls,
 legacy form controls, ActiveX controls

Change-Id: I348e49fe9118c397c18812a79c23aa89ab635a70
Reviewed-on: https://gerrit.libreoffice.org/78619
Tested-by: Jenkins
Reviewed-by: Aron Budea <aron.budea@collabora.com>
2019-09-05 05:31:03 +02:00
Thorsten Wagner
e757a88f51 tdf#127066 Font size of Calc input bar aligned to UI font size
Change-Id: I1f1aa4195c4b4be8987b0686d3f157ecea3fecce
Reviewed-on: https://gerrit.libreoffice.org/78140
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2019-09-05 05:14:26 +02:00