summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-09-11Consolidate GetFontCapabilities()private/khaledhosny/vcl-cleanup-fontKhaled Hosny
All implementations were basically doing the same thing. Move to PhysicalFontFace and use HarfBuzz API to get the raw OpeenType table data. Change-Id: Ia5ac0d1ba6299f86e90e1b0dac34ba7672855ec0
2019-09-11Drop SalGraphics::GetGlyphWidths()Khaled Hosny
It was used only on two places. One use is replaced with a new LogicalFontInstance::GetGlyphWidth() (backed by HarfBuzz font) and the other is replaced by getting glyph widths while subsetting the font. PDFFontCache is now unused, so dropped as well. Change-Id: I9741f17c0a5626faa952dd0d417cc786cbc877cd
2019-09-11Consolidate GetFontCharMap()Khaled Hosny
All implementations were basically doing the same thing. Move to PhysicalFontFace and use HarfBuzz API to get the raw OpeenType table data. While at make a few other places use that FontCharMap as well instead of parsing the cmap table again. Drop unused HasChar() as well. Change-Id: I06ff4feb61bcfb17291bf3c299caf11fc53afa4d
2019-09-11Move creating HarfBuzz face to PhysicalFontFaceKhaled Hosny
The two map to each other; there are many size-specific LogicalFontInstance's in each PhysicalFontFace, and the same goes for hb_face_t and hb_font_t. This will make it possible to access HarfBuzz face from PhysicalFontFace in the future. Change-Id: I029ad8c4b619b55a2c629f813b9e60bda29b1c08
2019-09-11external: update pdfium to 3896Miklos Vajna
Change-Id: I9d47d9afed47e01657b42fbfdb06e7fc91a150c8 Reviewed-on: https://gerrit.libreoffice.org/78806 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2019-09-11tdf#113014 Writer: show numbering in narrow cellsLászló Németh
Paragraph numbering was invisible in narrow cells of Writer tables, when the paragraphs have a wider indentation and an equivalent negative first line indentation, too. GetLeftMarginWithNum()==0 doesn't mean that the paragraph is not numbered with the "new" numbering style SvxNumberFormat::LABEL_ALIGNMENT. Change-Id: I99f0a84404876db6cefdf0da845cd8b425860553 Reviewed-on: https://gerrit.libreoffice.org/78802 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
2019-09-10Fix typosAndrea Gelmini
Change-Id: I22eef797ee934fa003a513a56145e1af9c5ad94e Reviewed-on: https://gerrit.libreoffice.org/78801 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-09-10Fix typosAndrea Gelmini
Change-Id: I49ac790b4f1b09f5041ec95b8cdf0d6323d036d9 Reviewed-on: https://gerrit.libreoffice.org/78796 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
2019-09-10Fix typosAndrea Gelmini
Change-Id: I86f744d5b0d5d8d56c40db2ff17fefbfa3cb4907 Reviewed-on: https://gerrit.libreoffice.org/78800 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-09-10Fix typosAndrea Gelmini
Change-Id: Id62178a1a8b2e05d13c47f1ac4798578f140dbae Reviewed-on: https://gerrit.libreoffice.org/78794 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
2019-09-10Fix typosAndrea Gelmini
Change-Id: I79f87f033eeb67d1750bb595d311d74ef3db6ce9 Reviewed-on: https://gerrit.libreoffice.org/78795 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
2019-09-10Fix typosAndrea Gelmini
Change-Id: I263a4348774051626f57547f3fdab00a18a92f75 Reviewed-on: https://gerrit.libreoffice.org/78792 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
2019-09-10Fix typosAndrea Gelmini
Change-Id: I4671d0f13e67b1272fd7c24bb6a2a7679c75f20b Reviewed-on: https://gerrit.libreoffice.org/78797 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-09-10Fix typosAndrea Gelmini
Change-Id: Ibc1b7393a8e65bf23c78fdb9da78c6b73b544cf3 Reviewed-on: https://gerrit.libreoffice.org/78793 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-09-10Revert "Related tdf#127040: fix START WITH"Julien Nabet
-1 isn't a problem. The only pb was record length This reverts commit f4f8bccbd4e2c3979a83d5b2f49e16a99a3a2016. Change-Id: I3108e451bf10b2e96dff5eeb040e77feeb67875a Reviewed-on: https://gerrit.libreoffice.org/78791 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-09-10tdf#127362 DOCX export: fix image hyperlink with space to bookmark targetTünde Tóth
Images as hyperlinks to internal bookmark targets didn't work after export, because spaces were replaced only in bookmarks with underline characters, now in hyperlinks, too. Change-Id: I281b2cde276607aa93de92745cfa1ba887ba9976 Reviewed-on: https://gerrit.libreoffice.org/78782 Reviewed-by: László Németh <nemeth@numbertext.org> Tested-by: László Németh <nemeth@numbertext.org>
2019-09-10tdf#127069 sal: preserve gid of files in the unx osl_replaceFile()Miklos Vajna
The w32 implementation preserves all attributes of the destination file, the unx one preserved none of them. Bring the unx osl_replaceFile() closer to the w32 by preserving the gid of the destination file as a start. [ No testcase, we support building on systems where the user is part of a single group only, and it's not possible to verify the effect of this change in such environments. ] Change-Id: I722d4802df34caf71a9dc0db1a3df8b76acb9de6 Reviewed-on: https://gerrit.libreoffice.org/78789 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2019-09-10elementary: Fix for tdf#127425rizmut
- Update too flat print related icons - Add large and extra large autocorrect icons - Fix some blurred icons (linetoolbox, word count,autosum) - Update add and remove icons in sidebar's track changes section - Add custom chevron (related to tdf#125296 enhancement) Change-Id: Ia7ffa514d1ef02804a82afc701f175d2e2f94249 Reviewed-on: https://gerrit.libreoffice.org/78750 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2019-09-09Related tdf#127040: fix START WITHJulien Nabet
Change-Id: I1dc5223015b787bcc122617d8ad9db6fabad20b2 Reviewed-on: https://gerrit.libreoffice.org/78787 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-09-09fix documentationCaolán McNamara
Change-Id: Ie9ca255d98202387bc7781f90570cf6220af2a50
2019-09-09enable route to get ParentWindow from an existing UUIInteractionHelperCaolán McNamara
Change-Id: I550f99fa4a5db41cdad0b4d60ca02866835d7ae2
2019-09-09no spaces between inch " and number and use double-prime for "Caolán McNamara
Change-Id: I462f532ff5a1abe08663c2ee2bc6c1329689dc5a
2019-09-09use unique_ptr in OctreeNoel Grandin
Change-Id: I18d5eb7d63371690de3fd1e8e512bfe4d603078c Reviewed-on: https://gerrit.libreoffice.org/78707 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-09-09tdf#126994 ww8 export: Don't skip TOX end nodeJustin Luth
The section end node processes the section page break, so skipping it after the Table Of Contents meant that a page break here was lost. This fix is specifically for DOCX although it could impact .doc (which already worked, and still does) and .rtf (which probably doesn't work with section end anyway). Utlimately, it just calls OutputEndNode() for an end node, so it shouldn't cause any difficulties. Change-Id: Iabc4a734365febb2b3e3bfed7d3c954b4b01da34 Reviewed-on: https://gerrit.libreoffice.org/78552 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2019-09-09sd: prefix members of SdrPowerPointImportJulien Nabet
Change-Id: Ia758c5c5bb0c448a5e051557c3ae48e8349c0c92 Reviewed-on: https://gerrit.libreoffice.org/78762 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-09-09update paths to the compilerpluginLuboš Luňák
ceb26770b3d1c5c2ffaf73f8f589c5e169e6db06 changed the location where the clang plugin is built, but the location in the usage has not been updated. Change-Id: Ie791926c324448a950df06372b7ef8c79324748e Reviewed-on: https://gerrit.libreoffice.org/78778 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2019-09-09MSForms: Add icons to MSO compatible form menu itemsAron Budea
...and correct the Text Box control icon in Elementary Change-Id: I50596983e88d709f17e8a6748af7e582a88090f5 Reviewed-on: https://gerrit.libreoffice.org/78620 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2019-09-09tdf127448 Chart: Avoid distortion of charts with multilevel axis labelsBalazs Varga
and too long tickmark lines. Note: larger chart distortion is a regression from commit: 4b3a648a2fd7d733674f95bb7f20670c57e99252 (tdf#127304 Chart: fix rotation of multilevel axis labels) Change-Id: Idbcd40d93c21a685e9ad1e49eb8c088a20ecae15 Reviewed-on: https://gerrit.libreoffice.org/78662 Reviewed-by: László Németh <nemeth@numbertext.org> Tested-by: László Németh <nemeth@numbertext.org>
2019-09-09sw: prefix members of SwUndoInsertsMiklos Vajna
See tdf#94879 for motivation. Change-Id: I2f61a2e9de678d19dd5640865a3b4d4263c90496 Reviewed-on: https://gerrit.libreoffice.org/78769 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2019-09-08tdf#127257 Place focus in table after table insertJim Raykowski
Change-Id: I85860fbdae4aa1dc1cd4ae8f8107c6adbd964474 Reviewed-on: https://gerrit.libreoffice.org/78736 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2019-09-08tdf#81436 Add default Autotext to all l10nLaurent BP
For l10n that do not have yet Autotext, add: FN: Formula Numbering LOREM: Lorem Ipsum dummy text Change-Id: Ife882cdc70758ccbbc3fa8e185eca10fab005e4a Reviewed-on: https://gerrit.libreoffice.org/78353 Tested-by: Jenkins Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-09-08tdf#127410 Reliably copy doc print settings for MMMichael Weghorn
Commit 8385e511aa400e9bd99fd0ca1c5bd5d130277b8a ("tdf#117664: mailmerge: copy printer settings to new mailmerge document") already implemented copying print settings. Move it into 'lcl_CreateWorkingDocument' so this happens whenever a working document is created from the source document. The problem previously was that a printer settings weren't previously copied to the working copy for the if( pSourceDocSh->IsModified() ) case in 'SwDBManager::Merge'. Change-Id: I0dbe830bed0a36eb25da0d1b43a7f0d7dbc18f2e Reviewed-on: https://gerrit.libreoffice.org/78714 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2019-09-08tdf#127409 Use document-specific value for "Print empty pages"Michael Weghorn
The check whether or not to print empty pages introduced by commit cc46e7b9c75ddbcaaefde5f396ba76b0b866fa58 ("tdf#116537: use page #s excluding empty pages when they are ignored") used the config option, while the option actually being used during mail merge can be overriden by the document settings, s. commit 8385e511aa400e9bd99fd0ca1c5bd5d130277b8a ("tdf#117664: mailmerge: copy printer settings to new mailmerge document"). Change-Id: I3ccc97e260e3bb9e08aa74a305bfda30656a322f Reviewed-on: https://gerrit.libreoffice.org/78713 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
2019-09-08tdf#125520 Fix OLE objects drag&drop with 'Insert as Copy'Andrés Maldonado
Change-Id: Ia4e6038c95d1388bdf7f9984b7cf4a69aead87a1 Reviewed-on: https://gerrit.libreoffice.org/73026 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2019-09-08Breeze: Fix for tdf#127415 & tdf#127326rizmut
- Add custom chevron (related to tdf#125296 enhancement) Change-Id: I6ca6282b39bfea0c74383bd1c744142544493be8 Reviewed-on: https://gerrit.libreoffice.org/78755 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2019-09-07tdf#125368, Make KJ SVG icons available in the apprizmut
Change-Id: I023cd3ce765d0e620d22c95b7091efc1ede8ce9b Reviewed-on: https://gerrit.libreoffice.org/78741 Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Tested-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2019-09-07KJ & elementary: tdf#127415, elementary: tdf#127326rizmut
- Karasa Jaga & elementary: New extended track changes command - elementary: Fix for Calc's first page icon Change-Id: I370ec353edfd26c0d0f6f98356732ee83ac0885c Reviewed-on: https://gerrit.libreoffice.org/78739 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2019-09-07tdf#39593 use isUnoTunnelId in unoxmlArkadiy Illarionov
Change-Id: I8f29df9763030ff69791bf978a359f36d553dda4 Reviewed-on: https://gerrit.libreoffice.org/78742 Tested-by: Jenkins Reviewed-by: Arkadiy Illarionov <qarkai@gmail.com>
2019-09-07remove some unnecessary castsNoel Grandin
Change-Id: I16aa2cdc3e92c3ea2661ebf0a528f72cbe193df9 Reviewed-on: https://gerrit.libreoffice.org/78716 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-09-07tdf#39593 drop comphelper::getImplementationArkadiy Illarionov
Replace with comphelper::getUnoTunnelImplementation. Change-Id: I96277aa9c17532ea6e2781dbc3305b2dbaa4e5c2 Reviewed-on: https://gerrit.libreoffice.org/78733 Tested-by: Jenkins Reviewed-by: Arkadiy Illarionov <qarkai@gmail.com>
2019-09-07Fix typosAndrea Gelmini
Change-Id: Ia6760e685e7f38458a8c78e6304d06d0e7222805 Reviewed-on: https://gerrit.libreoffice.org/78740 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-09-07kill SwXShape SwClientBjoern Michaelsen
this completely removes calbck.hxx from sw/source/core/unocore -- may it never return. Change-Id: Ie4c8b3a29fd4038a19c34116d47672b504ee9f2c Reviewed-on: https://gerrit.libreoffice.org/78735 Tested-by: Jenkins Reviewed-by: Björn Michaelsen <bjoern.michaelsen@libreoffice.org>
2019-09-07make page bookkeep the SwXShapesBjoern Michaelsen
- and remove SwClient/Modify between SwXShape and Page Change-Id: I482f5357dbd361e957fef54b5cbc594351c70b96 Reviewed-on: https://gerrit.libreoffice.org/78734 Tested-by: Jenkins Reviewed-by: Björn Michaelsen <bjoern.michaelsen@libreoffice.org>
2019-09-07lokdocview: Add missing callback casesAron Budea
To prevent gtktiledviewer from crashing. Change-Id: Ia23504c20eac185f3302e8d694672ebf6d853585 Reviewed-on: https://gerrit.libreoffice.org/78737 Tested-by: Jenkins Reviewed-by: Aron Budea <aron.budea@collabora.com>
2019-09-07tdf#39593 use isUnoTunnelId in connectivityArkadiy Illarionov
Change-Id: I458049e23e9fc1855cb4ba9519b9b940f170b024 Reviewed-on: https://gerrit.libreoffice.org/78732 Tested-by: Jenkins Reviewed-by: Arkadiy Illarionov <qarkai@gmail.com>
2019-09-06Update git submodulesAndrea Gelmini
* Update helpcontent2 from branch 'master' - Fix typo Change-Id: I1a9958dedf6b836acef6e1033a9d79f3f94202e0 Reviewed-on: https://gerrit.libreoffice.org/78730 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-09-06tdf#126184 Use max paper dimensions to calculate clip regionMichael Weghorn
Assuming at least A4 for the page size isn't enough if e.g. A2 or larger is used, so too much was clipped in that case. Therefore, use the the maximum paper width/height instead, which is 6 m by default. This is still far from the 19 km that caused tdf#63955 and I cannot reproduce tdf#63955 with that new limit. A big thanks to Regina Henschel for the great analysis in tdf#126184! (Side note: Comments 18 and 19 in tdf#63955 suggest to do the whole clipping elsewhere, so if anybody wants to take a look at this...) Change-Id: Iccacad621675df6c7b4477182d7332c4a3d67139 Reviewed-on: https://gerrit.libreoffice.org/78690 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2019-09-06use unique_ptr in OutlinerNoel Grandin
Change-Id: I022cf01f2c36f8846227a89418735271880d1f95 Reviewed-on: https://gerrit.libreoffice.org/78715 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-09-06return unique_ptr from :svt::GraphicAccess::getImageStreamNoel Grandin
Change-Id: Ie63259ce826101e553c1cb03a85e7c0ba5f0f9f5 Reviewed-on: https://gerrit.libreoffice.org/78719 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-09-06use unique_ptr in EditNodeIdxNoel Grandin
Change-Id: I59702aa3d54f60cb3e41410e82b0532bac05274f Reviewed-on: https://gerrit.libreoffice.org/78717 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>