summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-10-18tdf#124176: Use pragma once instead of include guardsmariamfahmy
Change-Id: Ib9fd7e3ffbe8760edf4a108342aa5ed03c453b01 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104487 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2020-10-18put clang-format commits to .git-blame-ignore-revsMuhammet Kara
Change-Id: Icaddc983c153e021fa9bdd4e4b7c974648e346dc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104509 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2020-10-18use SetControlFont instead of SetPointFont to get the right sizeCaolán McNamara
Change-Id: I3c3d2c11d7a1faba792162fa1a61c247949b6cc3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104508 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-10-18pdfium: simplify point unit conversion to HMM for annotationsTomaž Vajngerl
Change-Id: Ied3721d58d49736c78a4fa5181b92beb1dff7728 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104378 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-10-18sd: support line PDF annot. as custom markerTomaž Vajngerl
This renderes the line marker, but line start and end symbol is for now not supported. Change-Id: Ibf099f54b4bc047b22dae32c705982c8cb24388b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104377 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-10-18pdfium: add reading of line points to the wrapperTomaž Vajngerl
Change-Id: I3e596254b2e4ecc9f56ff09eeb63b66195ea6a2e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104376 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-10-18sd: protect size, position when opening with PDFium import filterTomaž Vajngerl
This is to prevent that the PDF graphics can be moved and/or resized. Change-Id: Ica4276e93e268bb2ec4a0aae0e50620a09c538f6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104370 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-10-18sd: support text annotation PDF annot. as custom markerTomaž Vajngerl
This one is special as it annotates text. Normally the annotation would be present behind the text, but this is not possible in this case, so the best alternative is to use a transparent rectangle over the text. Change-Id: Ib115efa4a5994e17dcf9d7b02591ccae26800928 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104369 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-10-18sd: fix transparency when drawing OverlayPolyPolygonTomaž Vajngerl
should be sal_uInt8 not sal_Int8, which means that the we could have a negative transpareny in some cases. Change-Id: I53c414878f0d88e58a6a9670f3f49ea23f8990a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104368 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-10-18sd: support ink PDF annot. as custom markerTomaž Vajngerl
Ink PDF annotation is similar to a set of polylines (or freehand drawing), so we can again just reuse the polygon code paths. The difference to the polygon is that the polygon is closed. Change-Id: I99641dccc0b2f9f2d3ebf2c71d3e20f8b1d0a485 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104367 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-10-18sd: support square and circle PDF annot. as custom markerTomaž Vajngerl
Use the existing polygon code paths, but convert a ellipse or the rectangle to the polygon, and add that as a custom marker for the annotation. Change-Id: I8f8657b868f2c410a3f604dcc1e609f4c6a12638 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104366 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-10-18sd: custom annotation marker and draw polygon annotation from PDFTomaž Vajngerl
This implements custom annotation marker, which overrides the default marker drawing of comments in Draw/Impress. The polygon is transported from the import of PDF to SdPdfFilter, then the sd::Annotation is set-up, by settuing up the new class CustomAnnotationMarker. CustomAnnotationMarker also supports setting of the line color, line width and fill color. The OverlayPolyPolygon is the new class that is responsible for the marker overlay, mainly to create the Primitive2D of the marker, that will be shown on the screen. This only implements Polygon PDF annotation sub-type. Change-Id: Ic663c31c5b3db5c13179dde63c1a0b81159f4b80 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104365 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-10-18pdfium: extend tests checking color and presence of interior colorTomaž Vajngerl
Change-Id: I348aad7e93378777ce924af5813a08b846d7caf8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104364 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-10-18clang-format customize/SvxToolbarConfigPageMuhammet Kara
Change-Id: If9b3fcbaa8e900d73c8dd0e727b4059c3b30ac01 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104485 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2020-10-18clang-format customize/SvxMenuConfigPageMuhammet Kara
Change-Id: I9ad8012d31c8e727fa4c8c840f15a93ca47541cc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104483 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2020-10-18we can use Desktop::queryDispatch and avoid using getActiveFrameCaolán McNamara
Change-Id: I5582b4d588e1e1b47cd8aef78e6e73b2dece9d82 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104471 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-10-18ofz#26357 Timeout in lwpfuzzer, 12s -> 1.3sCaolán McNamara
Change-Id: I1f1e2f1727b698d761adaf0d388d731fc80e280f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104467 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-10-18clang-format customize/SvxConfigPageHelperMuhammet Kara
Change-Id: Ia802bfc4a6cd8d970fbb3c37a55959729ea19257 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104481 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2020-10-18Colibre: update many iconsRizal Muttaqin
Change-Id: I2b713b53e904ec4b64a47db862dae273bab35c34 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104451 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-10-18-Werror,-Wunused-parameterStephan Bergmann
...since 2cd47f53b4c7bd300c210eaa466e13adc832c9b5 "tdf#137468: Add debug output function for CGColorSpaceRef" Change-Id: If392589071ddbc787e54863bafd65734aafe8c67 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104480 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-10-18clang-format CommandCategoryListBoxMuhammet Kara
Change-Id: If7ae64a0b9be01b3fa73310a4d9834ae3c151c10 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104479 Reviewed-by: Yusuf Keten <ketenyusuf@gmail.com> Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com> Tested-by: Jenkins
2020-10-18tdf#130711: [tr] Extend Autocorrect list for Turkish language (Start with R-Z)Ayhan Yalçınsoy
Change-Id: I9ab53483cda2dee63311040727182fa97fd17835 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101332 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2020-10-18tdf#137468: Add debug output function for CGColorSpaceRefTor Lillqvist
Change-Id: I6fdb00652bf3dd892b531b80c2bb621ff22e8717 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104475 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-10-18tdf#137573: The fps_aqua component was missing for macOSTor Lillqvist
Change-Id: I4669f229643596496fa1e94d6a631be4e54e69f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104474 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2020-10-18loplugin:indentationStephan Bergmann
Change-Id: I360bf008579629aabd45d4ed827c9c8c9117c332 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104470 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-10-18tdf#124176: Using pragma oncemariamfahmy
Change-Id: I634d2eebfa71ebdbe6dc334f3bc29e70a06a94ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104461 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-10-18Limit nDecPlaces to a sensible value [-20, 20]Eike Rathke
Protect against callers using for example rtl_math_StringFormat_F with rtl_math_DecimalPlaces_Max in worst case.. Change-Id: I9f143df6ae67b22e7732547c0f7a53b498caf2b8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104472 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2020-10-18tdf#137460: Additions: Fix crash on error 404Muhammet Kara
Change-Id: Id1eb6d43add5d5d9c9f6c09a1e5a4137462f596e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104473 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2020-10-17SwAutoCompleteClient: Modify no more ...Bjoern Michaelsen
Change-Id: Iec2a869de825b81c8e7b81dec746fa68e11ef864 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104045 Tested-by: Jenkins Reviewed-by: Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org>
2020-10-17Resolves: tdf#137201 don't update IM if focus is in another widgetCaolán McNamara
Change-Id: Ib5dd5a7d8b1e74655891c3ffa03f1ba77102f294 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104469 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-10-17consistently use gnFineness scaling factorCaolán McNamara
Change-Id: I34b32987cc16200a163088779df41a65320deb1f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104468 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-10-17Resolves: tdf#134939 don't update IM position if focus is in another widgetCaolán McNamara
Change-Id: Ia078ed9c1896d4a3541525ea2907760ce235dfd8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104466 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-10-17OOo2Oasis: use the fastparser API when possibleNoel Grandin
part of the process of making SvXMLImport fastparser-only Change-Id: Ib8b4a02fff94653adf9d48ac07404d392572b1f3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104464 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-10-17TransformerBase: use the fastparser API when possibleNoel Grandin
part of the process of making SvXMLImport fastparser-only Change-Id: Ie93e846e745b4388b891a68740c17742bbd62e82 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104465 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-10-17tdf#137393: Add "Noto {Sans, Serif} {SC,TC,HK,JP}" to the default font listKevin Suo
As per discussion in the bug report, in some systems these fonts are named as "Noto {Sans, Serif} {SC,TC,HK,KR,JP}", instead of ""Noto {Sans, Serif} CJK {SC,TC,HK,KR,JP}". It is noted that the KR section has already been updated. Also removed the non-mono fonts from zh_CN section. Change-Id: I0e67b895649502780b8e5cdff2b7d6dade3ff6b7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104222 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-10-17tdf#135733: sw_uiwriter: Add unittestXisco Fauli
Change-Id: I58d81fd247b09dca902e2f32f6406912069ab2fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104462 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-10-17Fix typoAndrea Gelmini
Change-Id: Ib2f34d65f77073f1cc9494a1d9ed263b089bff6c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104458 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-10-17starmath: use the fastparser API when possibleNoel Grandin
part of the process of making SvXMLImport fastparser-only Change-Id: Ie523a378f7079140dea0dfcad62863e85365a061 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104460 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-10-17tdf#133771: remove encryption data during SaveAsVasily Melenchuk
If document was password protected but during SaveAs it wasn't selected to use a password we should remove EcnryptionData. But we should not do this unconditionally: in general case we should try to keep all encryption metadata. Change-Id: Id91a88790deccd7377fb5d394b36395d13748c31 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104454 Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-10-17Removed duplicated includeAndrea Gelmini
Change-Id: I907e35a8d3fa676d88e03a3269af5d77e9fce14e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104459 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-10-17fix build with box2d 2.4.0Rene Engelhard
Change-Id: I60f25f04e2bfcdabf832f42b44ba3d945f4ec169 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104456 Tested-by: Jenkins Tested-by: René Engelhard <rene@debian.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-10-17Extend the conditional to *BSD systems to fix linking issue.Gleb Popov
While there, use DLOPEN_LIBS variable instead of "-ldl" constant. Change-Id: I5fb42b216afb6ea2a7b40fb1479c474c89e0706e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104432 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-10-17tdf#133377 OOXML Fix storage of date in Custom PropertiesBartosz Kosiorek
During exporting documents into OOXML formats (docx, xlsx, pptx), if custom properties have Date format, the day and year were switched. This commit fixes that. Change-Id: Id497602eb3354de78bfd52bf5ef61d32aafd957d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104450 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-10-17fix --enable-mergelibs link failureCaolán McNamara
Change-Id: I094d7cf7d0549344ba132ac07dec42a7e945b041 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104445 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-10-17fix fastparser namespace handling when...Noel Grandin
dealing with unknown attributes, in SvXMLLegacyToFastDocHandler::startElement SvXMLImportPropertyMapper::importXML which show up with some work I'm doing to make SvXMLImport fastparser-only. Change-Id: I71197c1659a5f072c2b186892be1f88ca6b2a764 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104140 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-10-17xmloff: use the fastparser API when possibleNoel Grandin
part of the process of making SvXMLImport fastparser-only Change-Id: If80ba22f370d5da6f268d6456ab0c974e6ff4209 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104455 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-10-17tdf#124176: Use pragma once instead of include guardsmariamfahmy
Change-Id: I9d5fe8d61286c2fe167d4733c36e1fc3976d0b43 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104446 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2020-10-17sfx2: use the fastparser API when possibleNoel Grandin
part of the process of making SvXMLImport fastparser-only Change-Id: Ib5acae303483eb86338cb39dd97a357ff90b1870 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104453 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-10-17sd: use the fastparser API when possibleNoel Grandin
part of the process of making SvXMLImport fastparser-only Change-Id: I34b9781ff905094b2231940bb69eb68b18faeb22 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104452 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-10-17Angle of the watermark: step by 45°Andras Timar
Change-Id: Ia4ab9a56f346625cf191c1f5a648e1744dad29d6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102728 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>