summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-04-06vcl: quartz - use ScanlineTransformer instead of local converterTomaž Vajngerl1-230/+11
ScanlineTransformer was created because there are multiple impl. of the same tool (ImplPixelFormat), but it never replaced those duplications. This change removes one of the duplications - the one in Quartz backend. Change-Id: I637433ae59e7577022b86e582eb4a8a64f3055f0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113610 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-04-06vcl: use PixelFormat enum in SalBitmap interface and backendsTomaž Vajngerl21-135/+147
This changes all backends to use PixelFormat as the input to the SalBitmap::Create method (and all the backends). This is the first part as we need to make sure to also limit the use of GetBitCount method and also use of it in SalGraphics. Change-Id: I8d2b6adfcb8fe3dd78010538411f338c9a1c3996 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113603 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-04-06vcl: remove 4-bit bitmap support from qt5 backendTomaž Vajngerl3-143/+18
We removed 4-bit support for bitmaps, but the qt5 backend still has (special) support this bitmap format, which now can safely be removed and make the backend a lot simpler. Change-Id: I12309909a9ee3079cef7c4e59154ac48151e18d5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113619 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-04-05tdf#141499 trigger container_focus_changed for toplevel window focus eventsCaolán McNamara1-0/+31
retaining the single callback of commit 9ffd28c32a301141a26e41ddd0cf485a562c83bb Date: Fri Mar 5 16:13:19 2021 +0000 use container_focus_changed instead of toplevel_focus_changed for focus events affecting the container where for gen its all the same thing, but restore the gtk code for toplevel window gaining/losing focus which set-focus-child doesn't fire on Change-Id: Ia254a447283d0b3dd1a76072820d85ff379865f6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113616 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-04-05Related: tdf#141499 don't grab focus during teardown of dialogCaolán McNamara1-0/+2
Change-Id: Ib55825294b4276cf36d7ce13562dc52b71f2a5bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113615 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-04-05tdf#136740: Do not initialize document settings when pastingMike Kaganski2-1/+8
When pasting from clipboard, the document already has the defaults set, and pasted text must not change those defaults. When pasting RTF, RTFDocumentImpl::outputSettingsTable does the document settings initialization, and is called from RTFDocumentImpl::checkFirstRun when m_bFirstRun is true. Other defaults are set in the latter function, too. This makes m_bFirstRun false when RTFDocumentImpl is created in the context of a paste operation. Alternatively, checking the context could be made when deciding if to apply specific settings. Change-Id: Ide1eabbef1d04a4fa2f1ca14846b8e404f2a0cb1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113613 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-04-05ofz: skip slow path when fuzzingCaolán McNamara1-0/+7
Change-Id: I21d600f58174319ce6386de88ab9ac0ad371688b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113612 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-04-05SAL_WMF_COMPLEXCLIP_VIA_REGION is gone nowCaolán McNamara2-2/+0
since... commit aa17ea3d36b8f1ea8cd3d2fb215e80051547439d Date: Fri Apr 2 16:06:11 2021 +0200 tdf#37281 tdf#45820 tdf#48916 tdf#55058 EMF Implement complex clipping Change-Id: I88c4739a079e36a95ba8eb2a19faedbb96dddd24 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113611 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-04-05tdf#141201 - Round MOD literals to Integer valuesAndreas Heinisch2-4/+34
(regression from commit I8dbfdf4bb2eceac0b5afbddd3f35e1dcde2db68b "tdf#84435: Mod operator does not deal with decimals as described in help"). Change-Id: I74b231d3814148579a3be0a92b7602fa4387281f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113571 Tested-by: Jenkins Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2021-04-05Update git submodulesRafael Lima1-0/+0
* Update helpcontent2 from branch 'master' to ef7a4ac4e88c6142ed29acc15a6d28ec85e8b9ce - tdf#106944 Fix Basic examples using the Open statement This patch also fixes some legacy issues: - Use of <embed> tags instead of text "Example", "Sintax", etc... - Create <variable> tags for functions - Add relevant Related Topics section Change-Id: I85c5508c9940a1b72c82c99c39387b95a3c6edea Reviewed-on: https://gerrit.libreoffice.org/c/help/+/113352 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-04-05Update git submodulesRafael Lima1-0/+0
* Update helpcontent2 from branch 'master' to 215eec55562243262f2549e2071d8298a659057d - tdf#141200 Improve Basic MOD operator help page The help page needs to clarify that non-integer operands are rounded to integers before the MOD operation. Change-Id: I96a13cd9381dea3f79606f4f8bf26af54763e76d Reviewed-on: https://gerrit.libreoffice.org/c/help/+/113475 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-04-05cid#1474256 silence Untrusted loop boundCaolán McNamara1-6/+8
Change-Id: Ibcd59331f16f348209e9b043694cd721a94210c4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113575 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-04-05Use std algorithms hereMike Kaganski3-83/+11
Change-Id: Ib7bb92cca1f52067f9030b6c6fdc088409ca10ef Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113601 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-04-05Use std::gcd instead of boost versionMike Kaganski1-13/+3
Change-Id: Iba3bd7cbab01a99f46e7b2f5632fd3b11e70458d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113598 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-04-05Fix variable nameAndrea Gelmini1-1/+1
Change-Id: Ida5172f860303fa9493dd3477a970d29f87444de Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113596 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Jean-Pierre Ledure <jp@ledure.be> Tested-by: Jean-Pierre Ledure <jp@ledure.be> Tested-by: Jenkins
2021-04-05crashtesting: assert in fdo6872-1.docx in CopyImplImpl after SAXError exceptionCaolán McNamara2-19/+35
sw/source/core/doc/DocumentContentOperationsManager.cxx:5040 assert(pStt->nNode != pEnd->nNode); presumably due to the error the positions are wrong when CopyImplImpl is called in popping the context where the exception occured, so skip the asserting operation if the document failed to load and will be thrown away fixes fdo68738-1.docx, fdo46060-6.docx, fdo55725-1.docx, fdo68721-1.docx but similar ooo127821-1.docx remains Change-Id: I09aca7a6884f7806c74797466522bb489260da51 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113572 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-04-05ofz#32885 regard as invalid fractions that will FPE boost::integer::gcdCaolán McNamara2-0/+6
Change-Id: I59befe0cd21be54d1c94bb28e3d9c01f1483c104 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113574 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-04-05tdf#140839 all ToTD images use 150x150px sizeRizal Muttaqin10-5/+5
Change-Id: Ieaf2e95414e283a0fc86b827f8ddb6588c809f3b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113594 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2021-04-05vcl: move GenPspGraphics into a subclass of SalGraphicsImplTomaž Vajngerl5-287/+654
This is an effort to make SalGraphicsImpl mandatory for all backends. So we can rearange the interfaces of backends to a more logical structure, where we can have multiple graphic rendering backends for an VCL (windowing) backend (like we already do for Windows with GDI and skia backends). In this case we changed GenPspGraphics, introduced a new GFX backend "GenPspGfxBackend" - a subclass of SalGraphicsImpl, and moved the graphic functions into it. Change-Id: I148b460ff71c3e6b7548e9e2b933390151b6d82f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113593 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-04-05vcl: ColorSpace "enum" to "enum class" used in PrinterColor classTomaž Vajngerl1-6/+6
Change-Id: I0faba3ed5ba34e4efb5d9d971197c0f4ab6e3fa0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113592 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-04-05VCL drop Scheduler::ProcessTaskSchedulingJan-Marek Glogowski7-64/+15
Just process tasks (and system events) via DoYield and actually wake up the system timer on OSX. This drops the testFocus unit test. There is some comment about it in README.lifecycle, but the test's CPPUNIT_ASSERT was already commented and mmeeks suggested to simply drop it. Even worse: just replacing - Scheduler::ProcessTaskScheduling(); + Scheduler::ProcessEventsToIdle(); results in a SIGSEGV in my local Linux build, which is a totally unrelated crash. Change-Id: Ie3e2a8668b8501f081706dde0ba3684801c30cc2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112761 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-04-04ScriptForge (scriptforge.py) UI, Document & Calc classesJean-Pierre Ledure7-48/+479
Changes in the Basic-Python engine: - arguments of methods may be 2D arrays - 1st argument of method may be a Basic object - properties starting with 'X' may contain UNO objects - GetProperty may contain 1 argument Calc class is a subclass of the Document class in Python (in Basic it is simulated) A CalcReference class is also created to contain Range and Sheet objects Many comments have been reviewed for consistency in SF_Calc, SF_Form and SF_FormControl.xba Conversion to DataArrays is improved to process input arrays of arrays. Date conversions are supported. Change-Id: Id6254d668ec981b00555e7e277c4d31982c00092 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113568 Tested-by: Jean-Pierre Ledure <jp@ledure.be> Tested-by: Jenkins Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-04-04pass ImplReadRegion the remaining len of record available for consumptionCaolán McNamara1-45/+65
not the total which includes consumed part Change-Id: I63b01013a31e6a3f1dcfe895c02a4fa049bb8fe6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113560 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-04-04Update git submodulesIlmari Lauhakangas1-0/+0
* Update helpcontent2 from branch 'master' to 261cea76744f8d238dc7276b3aab1ea60cd9ef6e - Unsplit paragraph contents to make it better for translating Change-Id: I1a698b9d21ecbcf415b3a5ef337f4ef48500e7dc Reviewed-on: https://gerrit.libreoffice.org/c/help/+/113565 Tested-by: Jenkins Reviewed-by: Ming Hua <plateauwolf@qq.com> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-04-03Add initial support for sccache builds on WNTThorsten Behrens4-12/+41
- gets auto-detected if an sccache binary is in the path - currently external projects using gcc-wrapper are _not_ cached - this needs fixing in the gcc-wrapper - current sccache versions won't work with -Fp (precompiled headers), so while sccache gets called, nothing really is cached. Best build with --enable-pch=no therefore. Change-Id: I78dd7e08ea20ae888236c8c8e8e7a25a405f23b5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113530 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2021-04-03Revert "tdf#141127 Use ODF default values for draw:extrusion-skew"Regina Henschel3-27/+0
This reverts commit 2bf8c1e0e211601a70b6b28fdb92f636c7969513. Reason for revert: tdf#141268 LibreOffice uses -135deg skew angle as internal default. If a user does not touch the direction, the value is not written to file, although that would be necessary because it is not ODF default. With the patch applied the missing value will be interpreted as 45deg on opening. So the first step is, to write -135deg to file. And then after some time, when wrong files are unlikely, the patch can be applied. A suggestion for writing -135deg is from Julien Nabet in https://gerrit.libreoffice.org/c/core/+/113257. From code it looks good to me, but I have not tested it yet. I would only add some comments to explain the situation. Change-Id: I71673ad2e5376c2a78fa74900e95117b8543e268 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113538 Tested-by: Jenkins Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
2021-04-03tdf#37281 tdf#45820 tdf#48916 tdf#55058 EMF Implement complex clippingBartosz Kosiorek5-25/+50
As the visual glitches were resolved with: https://gerrit.libreoffice.org/c/core/+/113423 It is time for enabling complex clipping. Change-Id: I12edc88fc9a55c8deedf3d87faeb50cfe0067a01 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113520 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2021-04-03ofz#32843 Invalid-bool-valueCaolán McNamara1-2/+2
Change-Id: I709890b7ad441f11c23389bc6c03f0cc975677ae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113553 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-04-03Use 64-KiB buffer instead of 256-KiBMike Kaganski1-3/+3
We only use red channel anyway, so no need to also waste space for G, B and A. Change-Id: I2bacef36d1e9845287a205a5f6473952ef59083e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113552 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-04-02tdf#55058 EMF: Implement PAINTRGN recordBartosz Kosiorek1-1/+12
The EMR_PAINTRGN record paints the specified region by using the brush currently selected into the playback device context. After implement support for PAINTRGN record, the reference image is displayed correctly: https://sourceforge.net/projects/libuemf/ Change-Id: I761779713d1200e6079ff798e9c3c9aaba57ad4f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113461 Tested-by: Jenkins Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2021-04-02weld SubToolBarControllerSzymon Kłos3-13/+122
- promote SubToolBarController to svt::PopupWindowController - create welded popup - use weld::Toolbar as a target for ToolBarManager Change-Id: Iacd6467632ea5860fadbbcd96fbe88bb2f316da9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112276 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-02tdf#140229 neon: update to release 0.31.2Jan-Marek Glogowski5-12/+19
I didn't check all commits, but the most likely fix was "Fix hang on SSL connection close with IIS (issue #11)". The server from this bug report is a "Microsoft-IIS/10.0", according to the output from "curl --dump-header". Not sure this bug is critical enough to bump the neon dependency in configure. Change-Id: I3e20bad1aa732641e6f8a83316e58fc7513186c6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113495 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-04-02Update git submodulesJohnny_M1-0/+0
* Update helpcontent2 from branch 'master' to 0e9713375f42fe2323f54294086999dc58659a8d - tdf#132643 Translate German section IDs Change-Id: I44b5ef582d4471b4cbf6ba2d16adfdcf28b667c8 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/113512 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-04-02Update git submodulesJohnny_M1-0/+0
* Update helpcontent2 from branch 'master' to a30c5ceb57cc32d01b46897a0cd4e24df2d869ec - tdf#132643 Translate German section IDs Change-Id: I5379d0fba8c21c37a29093f2e5a6ebd53b0ae58e Reviewed-on: https://gerrit.libreoffice.org/c/help/+/113511 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-04-02Update git submodulesJohnny_M1-0/+0
* Update helpcontent2 from branch 'master' to 4de112ee5dc856cd3ddd9ccdafaa611f9b9c8951 - tdf#132643 Translate German section IDs Change-Id: I9f5d3ce49b7f1a4ca751d5ae0d265817033f931c Reviewed-on: https://gerrit.libreoffice.org/c/help/+/113510 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-04-02Update git submodulesJohnny_M1-0/+0
* Update helpcontent2 from branch 'master' to 036bafec0b9053d93d55c4f94f03123b557efd21 - tdf#132643 Translate German section IDs Change-Id: I423489d94ab1ad5cc165bea27279518b607c41a2 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/113509 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-04-02Update git submodulesJohnny_M1-0/+0
* Update helpcontent2 from branch 'master' to f8bcea937921b3bece4ffd2a17fd265689f69e09 - tdf#132643 Translate German section IDs Change-Id: Ib65a0470b7665531095f81c653d53967f95d9210 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/113508 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-04-02Update git submodulesJohnny_M1-0/+0
* Update helpcontent2 from branch 'master' to cf74fe9c3acb09978ed9866bd0e3e9aa34fd4de0 - tdf#132643 Translate German section IDs Change-Id: I99a82ee5573e78edb5fc6c1b9de0ac82bf5f7893 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/113507 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-04-02Update git submodulesJohnny_M1-0/+0
* Update helpcontent2 from branch 'master' to 46dc7f4b3c7f347ec78763a29a2ac0b9ecf7b0db - tdf#132643 Translate German section IDs Change-Id: I52d757023cdd3dded1d96fbd22d920e83c9c562f Reviewed-on: https://gerrit.libreoffice.org/c/help/+/113506 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-04-02Update git submodulesJohnny_M1-0/+0
* Update helpcontent2 from branch 'master' to dd47b9adb92fa879a6daf3a9db2d350e906e226c - tdf#132643 Translate German section IDs Change-Id: I4124731008630c4b9e7e08bc6799e5152fba0548 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/113505 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-04-02Update git submodulesJohnny_M1-0/+0
* Update helpcontent2 from branch 'master' to 69e8a855c7a8006cfce05aa7cfda30a0cd6ffec3 - tdf#132643 Translate German section IDs Change-Id: I66bce331cf630b9330823cad2e150c0986a6f033 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/113504 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-04-02Update git submodulesJohnny_M1-0/+0
* Update helpcontent2 from branch 'master' to 7ea20bbe0dfb5167588afc792d0bfca3e8d1a803 - tdf#132643 Translate German section IDs Change-Id: I78372df94a5ebfc3b3b38700fb9778648040d169 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/113503 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-04-02tdf#141318 Dialog::GetOptimalSize not including border if called before ShowCaolán McNamara1-1/+4
Change-Id: I96ed67d84660106af2ef5de488da8abc7d556d1b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113519 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-04-02ofz: Segv on unknown addressCaolán McNamara1-1/+8
Change-Id: I6c69375a89781fc0b87230203335c861efb562f9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113518 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-04-02tdf#139786 partial revert tdf#106181 XLSX export: output form controlsJustin Luth4-16/+16
Not every export is going to be to OOXML format, so don't just set ooxmlexport to true and remove the "if" clause (especially when leaving the comment that this is for DOCX only). This is a partial revert to 7.1 (and backported to 6.4.5) commit 577dd32b1c4eb0a4cff574fbabca987cb52b831b. Change-Id: If7ea32a236715ec779cac302773c4c9da19865a0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113399 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org>
2021-04-02Simplify some static variable initializationsMike Kaganski9-85/+51
Change-Id: I6cdd44aa66b9597ccc51fc3fd69b57485ccb3230 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113515 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-04-02vcl: move Fraction reading/writing to GenericTypeSerializerTomaž Vajngerl6-42/+85
Change-Id: Iccacaa7fd9cffe1d99f76def854c2150bb4d94f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113499 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-04-02tdf#139906 Prevent to use the Mail Merge wizard without data source.Gülşah Köse4-3/+41
When the file has a data source but that data source is not available in LibreOffice we shouldn't let user continue mail merging. Change-Id: Ic28101a12b2e33e78fd9b478fc41707786344e52 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113432 Tested-by: Jenkins Reviewed-by: Gülşah Köse <gulsah.kose@collabora.com>
2021-04-02tdf#139906 Show warning message when data source is not avaible.Gülşah Köse3-1/+73
CurrentDatabaseDataSource config item holds a database name for a specific file. When document has CurrentDatabaseDataSource config item but LibreOffice doesn't have in registered databases we should notify the user at load time and put a button to fix the problem. Change-Id: Ia0a6fd53985fc2fb82ce37d3962b3f479c20a647 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113296 Tested-by: Jenkins Reviewed-by: Gülşah Köse <gulsah.kose@collabora.com>
2021-04-02vcl: move MapMode reading and writing to TypeSerializerTomaž Vajngerl8-46/+91
remove usage of ReadMapMode and WriteMapMode and add tests Change-Id: I40e1da8aea5c2171d9dbb6343fbf61912e5b3367 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113498 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>