summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)AuthorFilesLines
2018-06-08Fix typosAndrea Gelmini2-3/+3
Change-Id: Iaadbdee429dcb1d15824858e422eacfaedf9a4f4 Reviewed-on: https://gerrit.libreoffice.org/55442 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins <ci@libreoffice.org>
2018-06-08look for unnecessary calls to Reference::is() after an UNO_QUERY_THROWNoel Grandin5-22/+10
Since the previous call would throw if there was nothing to be assigned to the value. Idea from tml. Used the following script to find places: git grep -A3 -n UNO_QUERY_THROW | grep -B3 -F 'is()' Change-Id: I36ba7b00bcd014bdf16c0455ab91056f82194969 Reviewed-on: https://gerrit.libreoffice.org/55417 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-06-07svx: fix loplugin errorsAshod Nakashian1-7/+6
Change-Id: Ic13bc488f2c8137eae3687d72732533ba5542998
2018-06-07svx: don't re-declare pdfium structsAshod Nakashian3-18/+26
They aren't needed when fpdfview.h is included and clang reservedid plugin complains of the double-underscores. Also, wrap the PDFium importer class in HAVE_FEATURE_PDFIUM to avoid build failure when PDFium is missing. Change-Id: Ibc285aea575acf72541866c534ef943e0bb89466
2018-06-07vcl: svx: misc improvements to pdfium importingAshod Nakashian3-7/+7
Change-Id: I58f2fd973a731b148f40b37139cd74bac097a7d2
2018-06-07svx: set the font name of imported PDF textAshod Nakashian1-1/+16
Change-Id: I79dde3c8983a70311de2d2a46093fac2722fb372
2018-06-07svx: update PDFium patch and codeAshod Nakashian2-4/+5
Change-Id: I07c6a7c65d5631b70da64927a35d7a3b371eff25
2018-06-07svx: cleanup pdfium importerAshod Nakashian2-299/+25
Change-Id: Id925ba7734a2c73270e40f19d3fc50552441c34e
2018-06-07svx: transform PDF text rectangles while importingAshod Nakashian2-11/+69
Change-Id: I7675a183bfb691a8783950f33dc34826f91cb768
2018-06-07svx: support no fill and no stroke paths in PDF importAshod Nakashian1-12/+25
Change-Id: Ida5daa71d469805fd52e08e804fb9fa182d7d008
2018-06-07svx: support sub-paths in PDF importAshod Nakashian1-10/+25
Change-Id: Ibcfd30383db6846e791aea7609ab196c4f3f2da4
2018-06-07svx: import processed PDF textAshod Nakashian2-17/+24
Some PDFs don't include spaces in the text. Instead, they rely on the explicit positioning of each character to render visually separated words. Latex seems to be prone to this approach, though not exclusively. Luckily, PDFium does process text and inserts "generated" spaces where necessary, which is what we retrieve and use as the text string while importing. Change-Id: Ic21fe6c8416ecaba66f06b6260f1d6b040ff12af
2018-06-07svx: correctly possition form objects from PDFAshod Nakashian2-13/+92
Change-Id: I7d216ca61b8a10219628877db7dd593a4987ef60 (cherry picked from commit 81f16107c1b0b5315537f38a9830cf967e4abb68)
2018-06-07svx: support importing forms from PDFsAshod Nakashian2-29/+48
Still missing the context matrix transformations. Change-Id: Id9457c6475463127d3bc444f36fa373a6ec8fcb6 (cherry picked from commit 08e2c68e99151c70d06581261bbc137f80967d9e)
2018-06-07sd: support breaking any PDF pageAshod Nakashian2-8/+9
Change-Id: Ifa5f58163bef209a988fc0f88e2b609b1973e0d4
2018-06-07svx: path line width is given as full thickness in PDFAshod Nakashian1-0/+1
Change-Id: I728d962ea65ad1671e3b4c76034d396bee84228e
2018-06-07svx: support color text for imported PDFsAshod Nakashian1-17/+25
Change-Id: I01cba9456b37bd7a63c823bbe332d686f7ede389 (cherry picked from commit 26e37f98b08ce59a0feb93a8d2a8fbc982cfc103)
2018-06-07svx: more accurate PDF imported text sizeAshod Nakashian2-5/+12
Change-Id: I22880afdd9d36d9096003d86bba15098b465e0b3
2018-06-07svx: correct the positioning of PDF Paths and the stroke widthAshod Nakashian1-3/+9
Change-Id: I5b150721cc1b61b028f282062c1466ef6a67fcae (cherry picked from commit 37a40d8025ac70f84937de2b1d0f596d08088cbd)
2018-06-07svx: improved text importing from PDFAshod Nakashian1-39/+45
Change-Id: I9a2fc2c8511655c1aa362c1a03a5e82ae3ba697e (cherry picked from commit d057cf3d9184cc5d96af9c957411911f5e788f4d)
2018-06-07svx: improve path importing from PDFAshod Nakashian1-11/+28
Change-Id: I8e63b2a35d841e065ef32fea95c0a5f22ca6f049 (cherry picked from commit 819d11b7ae198a6a8e864852a3654ddbed389ecb)
2018-06-07svx: support Paths in PDFs while importingAshod Nakashian2-1/+92
Change-Id: Idba294cf5a3a8dd00988f94786715b110039e000 (cherry picked from commit b1083c119832c32d722a4e81415ef7a02c23d4aa)
2018-06-07svx: support PDF text colorAshod Nakashian1-2/+5
Change-Id: I7fa675c6560504e4fc7917e19cac3cceb2700d8e (cherry picked from commit 3c02b52fdad9c5a34d4bfb7623e04c4e85875a89)
2018-06-07svx: more informative loggingAshod Nakashian2-15/+14
Change-Id: Ia9f2fa1fbb24ad3466bd082b778244f451c90745
2018-06-07svx: import PDF images as BGRAAshod Nakashian1-2/+2
This makes it trivial to support all sort of odd bit-format and 8-bit paletted images. Change-Id: I4555794eccd0ee2906f9a39bd93957ad3775432c
2018-06-07svx: refactor PDF text importingAshod Nakashian2-61/+60
Change-Id: Ibe8d794c1d457936c9272bb664a5478d78654dd4
2018-06-07svx: share PDF stream when saving imported PDF as imagesAshod Nakashian1-0/+11
Still needs work, incomplete. Change-Id: Ide0c3f0792e816d64a81922a653a8afd77c7511a
2018-06-07svx: more accurate PDF text importingAshod Nakashian1-1/+62
Change-Id: If37119510cbc091dc86cb5f699984186167745c7 (cherry picked from commit 7dc905d1e9b561bb71f58881190bb6f590d09d80)
2018-06-07svx: import PDF text using PDFiumAshod Nakashian2-52/+89
Change-Id: I7c75477f5257931f5182b8d65e898857526bf555
2018-06-07svx: import PDF images at correct possition and scaleAshod Nakashian2-37/+101
Change-Id: Idb447b99143ad326294f2748f4d5154432fc328a
2018-06-07svx: import images from PDFAshod Nakashian2-78/+125
Change-Id: If0765aac9f47df73f1021664e13afa15ebf0f9ee
2018-06-07svx: support importing PDF imagesAshod Nakashian1-2/+81
Change-Id: Id4524a30b8f9fa4228c4acb4bf8714700da3017c
2018-06-07svx: support breaking PDFs imported as imagesAshod Nakashian5-12/+1174
Change-Id: I990c2b3c3055fbffddedc407c34beb5824277b38
2018-06-07vcl: svx: preserve the imported PDF page number in GraphicAshod Nakashian1-0/+15
Change-Id: I1bb3fa7d44d5f92df2bb8c4ed4b85ccd984c2617
2018-06-07svx: sd: cosmeticsAshod Nakashian2-36/+34
Change-Id: Ic82e0b20b6e0f0ecdd308969c85c887ef84d2340
2018-06-07sd: import PDFs as images using Pdfium new SdPdfFilterAshod Nakashian1-0/+1
LOK now opens PDFs as images using Pdfium, which has a superior accuracy and support to poppler, the default pdf reader. Change-Id: Ifbbecf7f048f001836fb98886705cba47e6bed4e
2018-06-07pdf: share pdf data in GraphicAshod Nakashian3-7/+7
Change-Id: I8146aa4e206788afff71142e1877fd7a885f4652
2018-06-06weld SwSectionIndentTabPageCaolán McNamara1-1/+189
Change-Id: I961686c1257f0d85686df06aa7c73c324d0f70b8 Reviewed-on: https://gerrit.libreoffice.org/55387 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-06Translate German comments and debug stringsJohnny_M3-7/+7
And correct a few comments (translation and grammar) Change-Id: Ifafa521c683e9ca65aeba8031cd4cbfc1fadc137 Reviewed-on: https://gerrit.libreoffice.org/54888 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2018-06-05Resolves: tdf#116876 don't reselect index on resize if it wouldn't changeCaolán McNamara1-1/+2
selecting the index sets it as active and updates the previews, so if its an inactive index and resize happens, leave it as inactive but selected Change-Id: If823f6b3e8f2ee4e77ba5e5d0202d72893ed614c Reviewed-on: https://gerrit.libreoffice.org/55344 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-05tdf#42949 remove unused compheler includes ..Jochen Nitschke41-40/+7
and fix the fallout Change-Id: I15bc5d626f4d157cbc69a87392078b41e621d14e Reviewed-on: https://gerrit.libreoffice.org/54882 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-06-04loplugin:useuniqueptr in Svx3DPreviewControlNoel Grandin1-4/+4
Change-Id: I088a8521231283e4c9d4c8ee08677496bd244141 Reviewed-on: https://gerrit.libreoffice.org/55229 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-06-04tdf#117969: Translate Light/Dark MagentaGabor Kelemen2-12/+12
Also remove Light/Dark Violet variants Place Magenta into the Standard colors list and Violet into the Tonal colors list Change-Id: Id27bb5fe62b7c69af39158680ae07d4f1f2efc95 Reviewed-on: https://gerrit.libreoffice.org/55257 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com>
2018-06-04loplugin:useuniqueptr in SvxRectCtlNoel Grandin1-5/+4
Change-Id: I99b95cec1985ea5b89d705df1a22a95b2b072008 Reviewed-on: https://gerrit.libreoffice.org/55228 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-06-04loplugin:useuniqueptr in LineWidthPopup and LineWidthValueSetNoel Grandin3-31/+23
Change-Id: Ia60c396fd4f9fda7c5a2fc6bef4a2a2be01d8bcf Reviewed-on: https://gerrit.libreoffice.org/55233 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-06-04loplugin:useuniqueptr in SvxSearchDialogNoel Grandin1-26/+23
Change-Id: I9f3dbe393844e4fca5637f23d3da5ddf591e487c Reviewed-on: https://gerrit.libreoffice.org/55235 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-06-04loplugin:useuniqueptr in SvxIMapDlgNoel Grandin1-2/+2
Change-Id: I6cbfd9c78b5bb5626a3db9ca0b6e3b51a91859a7 Reviewed-on: https://gerrit.libreoffice.org/55234 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-06-04loplugin:useuniqueptr in IMapWindowNoel Grandin2-7/+4
Change-Id: Ibc8d2b6c9b6b463245363cc3e59e79f57a2ce360 Reviewed-on: https://gerrit.libreoffice.org/55232 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-06-04loplugin:useuniqueptr in SvxPreviewBaseNoel Grandin1-1/+1
Change-Id: I777da1279f1a8c6d6f5ac80e4d72a733d55794ef Reviewed-on: https://gerrit.libreoffice.org/55231 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-06-04loplugin:useuniqueptr in RectCtlNoel Grandin1-6/+4
Change-Id: I8d0e4decdd607479e9cc9491d6dae769622a6c26 Reviewed-on: https://gerrit.libreoffice.org/55230 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>