summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-08-27bump product version to 7.0.1.2.0+libreoffice-7-0-1Christian Lohmaier
Change-Id: I66fefce5a2c8683ed372cb200ddc51254f8db225
2020-08-27Update git submodulesChristian Lohmaier
* Update translations from branch 'libreoffice-7-0-1' to 8786a7cc6bdc89e0f4e951849fdada4b7ae7e3d0 - update translations for 7.0.1 rc2 and force-fix errors using pocheck Change-Id: I9e227a0844ed7ece4966a4d3839b93db4c0f6d77 (cherry picked from commit b68c6e941c1a9dadab2c8425ecc67b033aeeec83)
2020-08-27Resolves: tdf#109409 TEXTJOIN() CONCAT() handle array/matrix row-wiseEike Rathke
... like references, instead of column-wise. Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101034 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins (cherry picked from commit ff3955db7161b8644699d7a0128ec4a6e7e525ec) merge conflicts: sc/source/core/tool/interpr8.cxx Change-Id: If3ada9b197dd15c95b0da50464c70844fb7685ee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101058 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2020-08-27tdf#132892 Revert "sw: paragraph-sign: erase metafields ... correctly"Caolán McNamara
This reverts commit b402d0112a0bb53221b847fa372bfa3f6390a0e2. Change-Id: I210d2fded01fb952d7384b78240e32d868b08575 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100795 Reviewed-by: Michael Stahl <michael.stahl@cib.de> Tested-by: Jenkins (cherry picked from commit 13c3e22bcea72aa1b41e5891ff65647f7eeb02d9) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101152 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2020-08-27tdf#135779 move focus back to usual parent before grabbing pointerCaolán McNamara
Change-Id: Ia4f1f2f1672a76515ab586d679a05467515868d6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101157 Reviewed-by: Michael Stahl <michael.stahl@cib.de> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2020-08-27ofz#25169 insertion into set might find a duplicateCaolán McNamara
in which case pImpRec is deleted and pImpRecTmp is invalid Change-Id: I2a273a436ebd88cb53e329bbcb4f171dda6ed840 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101156 Reviewed-by: Michael Stahl <michael.stahl@cib.de> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2020-08-27update creditsChristian Lohmaier
Change-Id: I09404b311a121d0316f30991f82fc21e596f080a (cherry picked from commit 9f77b5b694ec3708c8ae5feb01dc7d34f1c29d82) (cherry picked from commit a1c384e4b89690050b18e9afbe34b6dd3a852ce0)
2020-08-22tdf#135144 xmloff textbox: fix export style name to be consitent with importMiklos Vajna
Regression from commit 28d67b792724a23015dec32fb0278b729f676736 (tdf#107776 sw ODF shape import: make is-textbox check more strict, 2019-08-26), the problem was that in case the import side in SdXMLCustomShapeContext expects a fixed "Frame" parent style name, then the export side should go with that name as well. Fix the problem by simplifying XMLShapeExport::collectShapeAutoStyles(), which initially assumed that the string may be localized, so try to look it up: instead just use the fixed string that the import side will look for. This solves all problem which may stem from a parent style name which is non-empty, but other than Frame. (cherry picked from commit 347d05edd8910907ae185c61c1e56eee139b3c09) Change-Id: I8146440c591d3dd5a904d243d85741d704711e9c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100595 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> (cherry picked from commit 9902f6f7e567e6a1585833c751f5c19bf559705c) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100701 Reviewed-by: Michael Stahl <michael.stahl@cib.de> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2020-08-22Remove BuildVersion from installation set version ini filesStephan Bergmann
...after 5fdf2009d21fa220dfee70ea755bd698c16257a7 "tdf#134522 remove --with-build-version ./configure flag" had already removed it from the instdir/ version ini file (but apparently forgot to also remove it from installation set version ini files) and 00fa759dc9f13eb4618a7762be9ca6eaf3fd37f7 "tdf#135133: Don't try to read BuildVersion" removed its last consumer now Change-Id: I98fd71e218fc0ede74ebc1b2e649011616d559ad Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100997 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> (cherry picked from commit 6ee46adb446f5350df2b1efc7fc3ffe2506dfaa0) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101057 Reviewed-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit a72fd22c10f9f545b20b301d688560acb6bb1fef) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101150 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2020-08-22solenv/flatpak-manifest.in: Merge "Clean krb5 module"Stephan Bergmann
<https://github.com/flathub/org.libreoffice.LibreOffice/commit/0b374f83d160f64b47a802dde2b8aa2201671cd8> Change-Id: Ib7aa25f6296a49d3ffaa7055d4d5c055ce6dacbc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100849 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> (cherry picked from commit 931e923cdcf5eeac3ad2880c01d25456d9549dc8) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100797 Reviewed-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 9e5510c24044b0e47027b2ee1134db22faaa01e3) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100799 Reviewed-by: Michael Stahl <michael.stahl@cib.de> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2020-08-20tdf#135133: Don't try to read BuildVersionMike Kaganski
The option to set it was removed in 5fdf2009d21fa220dfee70ea755bd698c16257a7, and now the check is redundant - and even harmful until the remnants of the setting is dropped from bootstrap.ini. Currently the dummy value found there makes the About dialog miss the build id, and copying info to clipboard gives <buildversion> instead of proper build id. Previously the string was always empty in most builds (including TDF), which made the code proceed to buildid. Bootstrap::getBuildVersion got unused now, and is removed. Change-Id: If59e456655da29bb9421edc0e15d421829d0a02b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100957 Tested-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100975 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 0a796797ddfe2d1913ac91908074c397cf7c9c82) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101056 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2020-08-20Always display highlighted JRE's locationStephan Bergmann
...when opening the Advanced options page and after adding a new JRE via the "Add..." button, not only after highlighting another JRE line. (I suspect this broke with 1aa246a8e8c7d974ab0f7bdfa16cda36cb700e03 "weld SvxJavaOptionsPage" towards LO 6.4.) Change-Id: I5f9b63e2d33a351eeef09712969b703f1e99ef7e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100860 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> (cherry picked from commit f7fe1e93da753d74485a13d46fe15fb198411932) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100798 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> (cherry picked from commit 5fb474293af0b2ed2a68be6141941736a27bf34b) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100800 Reviewed-by: Michael Stahl <michael.stahl@cib.de> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2020-08-20tdf#134968: don't forget to draw on mpAlphaVDev in fallback caseMike Kaganski
Change-Id: I6ab8cc8907943c3bb7fd717624ea4ac7c9d4fd5e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100711 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> (cherry picked from commit 18fd4437077f1e51ae54cfd1a160866cca015c2d) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100692 Reviewed-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 76b93688505c0ab2b0e1876d5461a36d8ea22414) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100699 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2020-08-17tdf#135526 ranges overflowing to become negativeCaolán McNamara
the properties panel uses huge min/maxes which can overflow when the number of digits changes Change-Id: Idbb998a065ce8f2b918fceea2076b794cbde3368 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100697 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-by: Michael Stahl <michael.stahl@cib.de> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2020-08-17Update git submodulesChristian Lohmaier
* Update translations from branch 'libreoffice-7-0-1' to e49449c1728bee75e7c01ef50a60fd8f2088fc1b - update translations for 7.0 and force-fix errors using pocheck Change-Id: I2e3e92eb1347697070e8e1d6114350de1515d613 (cherry picked from commit 308f24bebb06e30657b965538393203c2afc8889)
2020-08-12bump product version to 7.0.1.1.0+Xisco Fauli
Change-Id: I7db012f5c380e28422f8c5930e06c8b5824f56c2
2020-08-12Branch libreoffice-7-0-1Xisco Fauli
This is 'libreoffice-7-0-1' - the stable branch for the 7.0.1 release. Only very safe changes, reviewed by three people are allowed. If you want to commit more complicated fix for the next 7.0.x release, please use the 'libreoffice-7-0' branch. If you want to build something cool, unstable, and risky, use master.
2020-08-12unset CustomCellRenderer instances in dtorCaolán McNamara
Change-Id: I60a5f91df65d1d511ba863ba9a0286c1483314d2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100513 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-08-12nss: upgrade to release 3.55.0Michael Stahl
Fixes CVE-2020-6829, CVE-2020-12400 CVE-2020-12401 CVE-2020-12403. (also CVE-2020-12402 CVE-2020-12399 in older releases since 3.47) * external/nss/nss.nspr-parallel-win-debug_build.patch: remove, merged upstream Change-Id: I8b48e25ce68a2327cde1420abdaea8f9e51a7888 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100345 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de> (cherry picked from commit 495a5944a3d442cfe748a3bb0dcef76f6a961d30) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100420 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-08-12NSS: enable parallel buildJan-Marek Glogowski
Since NSS 3.53, the Makefile based build should be fixed (upstream bug 290526). The only missing patch is a minimal NSPR fix for the "NSPR, configure + make, parallel, Windows, MS VS, debug" build. That patch isn't incuded in the NSPR 4.25 release (but it's already in the mercurial repo for NSPR 4.26). Change-Id: I8eaa3792a12bdff734e56ac3f552991478957e23 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95218 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de> (cherry picked from commit b56e8d6def26a0430853835e997f1be841840a61) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100419 Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-08-12tdf#135567 for async case need an alternative check for dialog in executionCaolán McNamara
Change-Id: I326b891b61f8a9848b56b2f26a80af80ab045dec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100511 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-08-12tdf#135639: check the return value of GetDim32Mike Kaganski
... to avoid crash accessing non-existing element of pChildItem->vIndices Change-Id: I248a9301abd69883f940051d9d9671298dcc8453 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100540 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100565 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-08-12Sukapura is MPL, says icon-themes/sukapura/LICENSETor Lillqvist
Change-Id: Ib4e6c5aa423f531c3826c66fb68dbe8149dce0c1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100578 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-08-12tdf#135442 min supported version of gtk3 is 3.18 not 3.20Caolán McNamara
Change-Id: Iaa2eefbe08fad3a7dd6eff98bf5fb513053a263d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100533 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-08-11tdf#128198 sw: text formatting: only consider upper margin for first lineMichael Stahl
The non-first lines start below the first one so the margin is already included in the previous line's Y position. Also move the testTdf116486 to layout.cxx. (regression from d07fc485d46f431405a3f6a002f951a08c559677) Change-Id: I574516ea5f9600e2d861e43162b1a69488c68819 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100440 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de> (cherry picked from commit 99ef50f97b6d8461b8953c2555298c7bbeb3405b) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100369 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-08-11tdf#131047: expand search results frameXisco Fauli
Change-Id: I883c86658f3aa4ee18d03d8c3aa277000f278abe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100362 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2020-08-11tdf#135495 builder file format has annoyingly escaped into user configCaolán McNamara
Change-Id: I38882e2c6e1815ac5fd747642c8934e3e4ca3ffb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100361 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-08-11tdf#134887 NewToolbarController: Use different icons for extra largeMaxim Monastirsky
Changes from master: - Resolved merge conflicts caused by the fact we're not backporting the other commit of tdf#134887. - Added a simple workaround for tdf#135369. Conflicts: framework/source/uielement/popuptoolbarcontroller.cxx Change-Id: I30621ab2e98c2387f3de67b2871516e5e25da761 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99565 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id> (cherry picked from commit 789f67940af461c18b0a2ffbc6313b91fb08f26a) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100224
2020-08-10tdf#135568 an unexpected model for a GtkComboBoxCaolán McNamara
Change-Id: I5d4ec47fe6dcce4c4f0891fae22ed4b44796a270 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100360 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-08-10oox: VML export: convert ESCHER_Prop_AnchorText to v-text-anchorMichael Stahl
Change-Id: I903cac8d7b02138680613b5a1b6dab4b1c448158 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100333 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de> (cherry picked from commit 8d83c29905ca6c4067ae0330d3544ddb983cafbc) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100343 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-08-10oox: VML export: produce bottom-to-top in a better wayMichael Stahl
Replace code added in 090c61eb93db4302d4565d5f11f7673190835fdb with something that uses the already generated ESCHER property; this lets a warning about the unhandled property disappear too. Change-Id: Ieed83dd8e17e92eea9901124fce5e6da2a17196a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100332 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de> (cherry picked from commit 2af2b9be05a4733c691db7201e76b4058516c47b) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100354 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-08-10filter: MSO export: convert TextWrap property to Escher_Wrap*Michael Stahl
There's a paucity of working wrapping modes in Escher unfortunately. Change-Id: Ibaf99c3249a6492dc129f9c9b5707778038f9a4c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100331 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de> (cherry picked from commit 2cb90a5c87fe46737c8d840967d8836284f92ffd) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100353 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-08-10explicit text column to avoid dummy nodes for non-toggle caseCaolán McNamara
Change-Id: If216705929454146d39b291b9a6483c68c3eac89 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100061 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-08-10tdf#135438 Paragraph styles preview in sidebar are clippedCaolán McNamara
since... commit fe9a13dc0e6d1384416c2a2343223b33925fc925 Author: Caolán McNamara <caolanm@redhat.com> Date: Sun Apr 26 15:43:25 2020 +0100 weld SfxTemplatePanelControl getRenderSize used to be called after recalculate and before render to change maSizePixel Change-Id: Ifc1b6b0b3399c7de61d5f4d46f8346d13e72a4d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100069 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-08-10tdf#135098 update SwTableCursor m_SelectedBoxes before mergeCaolán McNamara
so it does not contain the soon to-be-deleted SwTableBox so if the rPam is queried via a11y it doesn't claim the deleted cell still exists. tdf#122844 may be the same issue Change-Id: I1ac3752676162ba5a29c0916039b2b467e2ac41a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100213 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-08-10tdf#135488 ensure something is selected in experimental theme colorsetCaolán McNamara
so double click without something selected can't normally happen, and bail out and do nothing if it does happen Change-Id: Ic9ed756d4b2b51b87f09786ab7b8506b2d720d84 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100217 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-08-10tdf#134847 fix nullptr use crashJim Raykowski
Grabbing focus back to the document when OLE object last had focus sets focus to the frame containing the OLE object. sd::ViewShell is no good in this case and crashes when undo manager tries to pass ViewShellId to EnterListAction. Other areas in the code set ViewShellId(-1) and then check if ViewShell is good before getting ViewShellId. This patch follows these practices. Change-Id: I89093686c4d98148ac032832711f80479366741d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99759 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com> (cherry picked from commit f52f86a3905fc099832187ad20fd29f0ab73b43f) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100226 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-08-10tdf#135470: Fix checksMike Kaganski
The check should prevent error in case when the variable has wrong type. IsObject returns false e.g. for arrays, which are valid iterables. So proper check is using GetFullType, which will give SbxOBJECT for any variable for which GetObject does not set error. "Next" should also generate an error for uninitialized loops. Regression after 5760c94b8847164f9a7a181f031c7c86643944af Change-Id: Ib58e1cc76ef63aa1ff8a86c9d5dc956e4780fb49 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100258 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> (cherry picked from commit e67ffd5a62c8c27697da594a0fea2362317f221f) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100225 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-08-10tdf#134183 PPTX: improve import of transparency in multi-step gradientsMiklos Vajna
Impress core only support a single step, improve the conversion from multi-step to single step to take transparency into account explicitly. Once we select the widest segment, look backwards and forward if there are other next segments which have the same RGB color, just different transparency and include them. This helps in general, because in case a 0% or 100% transparency is mishandled, that's very visible. (cherry picked from commit 73993fdb5d4b507694cd0edf80887d19f7e2bf9a) Change-Id: I11d593c01a6a4b16149ce74c1408c2a39895e941 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100283 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-08-10tdf#134572 DOCX: Incorrect default value in dropdown text fieldsSerge Krot
Change-Id: I3169e817c2f033d1525adc3b02ac3680ad220d70 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99074 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> (cherry picked from commit 89b6b2dbb728abea2186ff1ae158c0adb67d05be) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100216 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-08-08bump libnumbertext requirement to >= 1.0.6Rene Engelhard
because otherwise Test name: SwUiWriterTest::testTdf133589 equality assertion failed - Expected: 𐳥𐳋𐳓𐳉𐳗 - Actual : székely 0 Failures !!! Run: 305 Failure total: 1 Failures: 1 Errors: 0 happens with (system-)libnumbertext 1.0.5 Change-Id: Ibbb33f41840b239c58e80c2a1a2c8ff5d41df58a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100351 Tested-by: Jenkins Reviewed-by: René Engelhard <rene@debian.org>
2020-08-07tdf#128345 pptx export: add transparence gradient in solid fillRegina Henschel
In case of solid color fill a transparence gradient was not saved. OOXML has no separate element for gradient transparency but has transparency in color gradient stop elements. The patch detects a transparence gradient, combines it with the fill color and exports it as gradFill element. The import was already correct, besides a wrong start or end value in case of a symmetric gradient, which becomes AXIAL in LibreOffice. (cherry picked from commit d187f22b7ff73954e1da39fb954c64bc315298cb) Conflicts: sd/qa/unit/export-tests-ooxml1.cxx Change-Id: I4243656821629f90125d0408a38165a8a29e6e24 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100282 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-08-07oox: VML export: for rotated text shape, produce bottom-to-topMichael Stahl
This is for shapes that fail the lcl_isTextBox() check in VMLExport::StartShape(), they can be rotated too but with a different property than the "TextPreRotateAngle" that is used in VMLExport::EndShape(). Change-Id: I530aae8b7138f47bae8434e205632f5f4adbb231 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100249 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de> (cherry picked from commit 090c61eb93db4302d4565d5f11f7673190835fdb) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100259 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-08-07tdf#135464 sw: ODT->DOCX: fix positioning of at-page shapes and framesMichael Stahl
Exporting at-page anchored flys to DOCX can result in wrong positions, because DocxSdrExport::startDMLAnchorInline() converts text::RelOrientation::FRAME to relativeFrom="column", i.e. the margin, but sw displays it as relative to the page. In fact at-page and FRAME is an invalid combination according to the table in ODF 1.3, 20.298 style:horizontal-pos, the paragraph and character relations are not valid for page-anchored flys. Since there are lots of ODT files with this invalid combination, try to fix it on import, in SwXFrame and SwXShape. Funnily, SwXShape is attached before the properties are set, while SwXFrame is attached after the properties are set. The anchor frame for at-page is always a SwPageFrame. Unfortunately there is a case where PRINT_AREA and PAGE_PRINT_AREA differ, namely the CalcClipRect() only handles PRINT_AREA so it will crop to the right margin with that but not with PAGE_PRINT_AREA, so don't map this value. Change-Id: I4d5f7f87d045ac4539b9170e55c34d4afe801f4d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100130 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de> (cherry picked from commit 12645900dece0a9aa0661fee796c27f672217977) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100237 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-08-07tdf#135464 sw: avoid invalid combinations of HoriOrientRelation and FLY_AT_PAGEMichael Stahl
... when using Anchor->To Page context menu. For shapes, in SwDoc::ChgAnchor() and for sw flys in SwDoc::SetFlyFrameAnchor(). Change-Id: I7d747b2558ef69df99636ea0fb0409deb461a79a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100131 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de> (cherry picked from commit 1de2b0d3234462b488db54d36ebc17e2b579b0f0) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100215 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-08-07tdf#124470: Split export of table autostyles out from collection phaseMike Kaganski
This allows to call collectAutoStyles where required (e.g. when enumerating used fonts), without side effect of writing table styles XML inside the call, out of place. Change-Id: Ida05e373eb8502590c43e2b0e85c3b0c1107c551 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100153 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> (cherry picked from commit 35021cd56b3b4e38035804087f215c80085564be) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100221 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-08-06update creditsChristian Lohmaier
Change-Id: I2a9253f3c9699a235cdb1f051e728708a5da15b1 (cherry picked from commit ad99b6cb2de7eb91554c224540daef03027beaa9)
2020-08-06Resolves: tdf#135249 Duration input 0:123 or 0:0:123 or 0:123:59 is validEike Rathke
Change-Id: Ie624b324822495192edc65d046945eb92356550b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100192 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins (cherry picked from commit 1616b53292cdc22c04d07bb21e71bf43dcd22299) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100211 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2020-08-06Revert "tdf#130863: autoredact, disable useless checkboxes for regex"Julien Nabet
This reverts commit b53fbe19dfd39d27868d616afb4f743b1237229b. See details here: https://bugs.documentfoundation.org/show_bug.cgi?id=130863#c26 Change-Id: I431094784106c9aad2a11b37b5ea849ba924b60f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100191 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr> (cherry picked from commit f615a3366e502884a15bbbf07c2fb1e70eb9dbfa) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100210 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2020-08-05tdf#134043 DOCX import: new unit tests: ComboBox to DropDownThorsten Behrens
Change-Id: I034b0cd9c6f66c531460d1bb69d9ede5ff46f7d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97531 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99994