summaryrefslogtreecommitdiff
path: root/filter
AgeCommit message (Collapse)Author
2017-03-29vcl PDF export, norefxobj: add UI for thisMiklos Vajna
Disable the "use reference XObjects" (old behavior) by default, but keep it as an option in case someone wants it. Summary till the help is updated: the old way is simpler code, so it's always correct, but really only Acrobat supports that markup. The new way is supported by all readers, but more complex, so it's more likely it goes wrong. Change-Id: I4769474f29d98412be496a0aa4e8254ae4f0919e Reviewed-on: https://gerrit.libreoffice.org/35826 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-03-29expand vis to visible; fix typosdennisroczek
* translate German source code comments * remove bogus surce code comments * remove ascii art * removed old StarOffice/Sun internal bug tracker references * remove left over from commit dcd5dee88e3c1185638b190553bef65c2ef6566f Change-Id: I3c5cce621c43e4a03afb76f4cc5a12065914e5ad Reviewed-on: https://gerrit.libreoffice.org/35404 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-03-28valgrind: use of uninitialized valuesCaolán McNamara
Change-Id: I5b8c6d4d4576fd88dbffdfc710cbd9b2e9429942
2017-03-27tdf#105641: no javascript in svg export for selection of objectsChr. Rossmanith
Change-Id: I9150449770b7cef0c424277f87a21e00e123b9ea Reviewed-on: https://gerrit.libreoffice.org/34432 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-03-27ofz#668: more complete fixCaolán McNamara
This reverts commit f01a975cb22d33a386bfd8db4ea6b4b77aceca1b. Change-Id: I18d11dcc137c20d54076e3c4117c10f2dd80efda Reviewed-on: https://gerrit.libreoffice.org/34738 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-03-27Resolves: ofz#668 check for massive row lengths before trying to allocate themCaolán McNamara
Change-Id: I7b3f1abf5dcf457e8ff7d04a7cf48ffee70817a2 Reviewed-on: https://gerrit.libreoffice.org/34571 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-03-25ofz#942 fix leakCaolán McNamara
Change-Id: I52f69e9dc4c47764c1b3773b1c41b2f04807703e
2017-03-25loplugin:redundantcastStephan Bergmann
Change-Id: I7f20df3b568f9c33a66726202952dbf4232132c6 Reviewed-on: https://gerrit.libreoffice.org/35677 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-03-25Fix typosAndrea Gelmini
Change-Id: Ifb779b6c96a009e6c770a8017bb2e2031a288f5f Reviewed-on: https://gerrit.libreoffice.org/35630 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-23Change SvxMSDffManager::ImportOLE nOLEId parameter from long to sal_uInt32Stephan Bergmann
The only place this function is called (SvxMSDffManager::ImportGraphic, filter/source/msfilter/msdffimp.cxx) it is passed the sal_uInt32 return value from a call to DffPropSet::GetPropertyValue, so that seems a better type. (SvxMSDffManager::ImportOLE used long at least since d2000efb31f864e912c6cf52760eea0e602b6893 "#i106421#: move msfilter to filter"; DffPropSet::GetPropertyValue used UINT32 back then, changed to sal_uInt32 with e8c2c1daae9008d383288f94600b1d34d2059fb1 "removetooltypes01: #i112600# remove tooltypes from filter". Unclear if those had ever had more compatible types in the distant past.) Change-Id: Ia486d169cd2cc0e73042e72fd4476cc2ae0e8cc5
2017-03-23Remove unused #include <ctype.h>Stephan Bergmann
Change-Id: I8bf3e30687e20151a9e1936e69362abfe9b3a99d
2017-03-23loplugins:redundantcast teach it about c-style typedef castsNoel Grandin
Change-Id: I1ac11a2481c0f4d8be1e1fd7c7637ac0ece3d65c Reviewed-on: https://gerrit.libreoffice.org/35558 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-22Use rtl::isAscii* instead of ctype.h is*Stephan Bergmann
Change-Id: I3fc3db1cc2de49ebe5492fc7dae26b71aece3c6b
2017-03-22tdf#106693 vcl PDF export: initial UseReferenceXObject optionMiklos Vajna
It's still on, but in experimental mode start work towards the ability to not use that markup. Change-Id: Idf11c0e0a3c61ad93af331346ec7107304f6dc0f Reviewed-on: https://gerrit.libreoffice.org/35538 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-03-21ofz#923 don't crash on missing shell storageCaolán McNamara
Change-Id: I689fcf6b82d5df8121c1bb4ca1a92bf0f145d7f5
2017-03-21ofz#922 support avoiding configCaolán McNamara
Change-Id: I133b3881ea0b21fdb972342e8107e28bbf1727dd
2017-03-21Fix ooo::vba::parseKeyEventStephan Bergmann
Use rtl::isAscii* functions (correctly operating on OUString elements) instead of truncating OUString elements to char and then using <ctype.h> is* functions (which, in addition, for one can cause UB for char arguments when char is singed, and for another can be locale-dependent). (Found when auditing uses of <ctype.h> is* functions.) Change-Id: I826aec92b18bd5dba72ceb69ff88c477d6ebd44c
2017-03-20ofz#912 support avoiding configCaolán McNamara
Change-Id: I10bef028badc1a3d1d96adaa1757fa7d9c6d2dc8
2017-03-20remove unused defines from HRC files in misc(2)Noel Grandin
Change-Id: I6d27c03925e7756022c3e343c0873c4dd1dd90dc Reviewed-on: https://gerrit.libreoffice.org/35324 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-19TyposJulien Nabet
Change-Id: I13020539fe121151e884a90d72d47788fb3ae65c Reviewed-on: https://gerrit.libreoffice.org/35436 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-19ofz#907 divide by zeroCaolán McNamara
Change-Id: I663761239efe195b2051cf4410eca2a3362e5de8
2017-03-19Fix typos + some German translationsAndrea Gelmini
Change-Id: I1c5bb725ffdf72363279436ad9bbb88064228253 Reviewed-on: https://gerrit.libreoffice.org/35406 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-18fix typo: amd --> anddennisroczek
Change-Id: I2905e8bbc659ab8a6344b172980d20455a67e87e Reviewed-on: https://gerrit.libreoffice.org/35319 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-17utl::TempFile can give a stream directly without bringing ucb into itCaolán McNamara
Change-Id: I6ecfdaafc22f8fad68115465e18b1b1b7366fff6 Reviewed-on: https://gerrit.libreoffice.org/35380 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-03-17cleanup double includes and declarationsJochen Nitschke
Change-Id: I770e09f48b1a3e8299f59a8e475ba3c18d436d7b Reviewed-on: https://gerrit.libreoffice.org/35312 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-03-16ofz#875 limit depth to max legal depthCaolán McNamara
Change-Id: Icbe9339148dc4aeb31c160e976385e3bcaef75b6
2017-03-16ofz#876 avoid accessing empty rowsCaolán McNamara
Change-Id: Iba539fb03611bbe5627cc7976c1146d08a2ab5fd
2017-03-16return earlyCaolán McNamara
no logic change intended Change-Id: I936413d3bcd0853db88fd800394aca95d94108f3
2017-03-16fix typo: chenged --> changeddennisroczek
Change-Id: I64e33601615f13d2227c24ba1d732817f42d412d Reviewed-on: https://gerrit.libreoffice.org/35235 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-15ofz: truncate polygon on failureCaolán McNamara
Change-Id: I7831fe2265f783d018699739b350b0c833a58e74
2017-03-15Fixed my mistake: fix flipOnYAxis for SVGPathElementRohan Kumar
Fix flipOnYAxis() method which was the cause of some SnakeWipePath transition subtypes not working. Change-Id: I1bea5bdddf6c6312384f59d8614a0a2bc1a6e3ba Reviewed-on: https://gerrit.libreoffice.org/35191 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-03-15convert SvxFrameDirection to scoped enumNoel Grandin
Based on the casts in chart2/source/view/main/ChartView.cxx and the similarity of naming of values, I conclude that this enum was intended to abstract over css::text::WritingMode2. Added a comment to that effect. Change-Id: I3af8bbe8b6ac8c4a9375f6ccde145b98b9c69a57 Reviewed-on: https://gerrit.libreoffice.org/35164 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-13ofz#837 divide by zero in metCaolán McNamara
Change-Id: I7acdea720ba29eb9b9fb3ef8e8cbc76a673d17c2
2017-03-13this is a swapCaolán McNamara
Change-Id: Iaf6310055b60da772187fdbeaca74d6eb296cfca
2017-03-13improve scopingCaolán McNamara
Change-Id: Ibb1625ff974cc1a35e5547b6ce88bf13d186d4bb
2017-03-13convert GraphicDrawMode to scoped enumNoel Grandin
Change-Id: I18eec89c4e1ebb86d64297e7cef4b36bf12df59f Reviewed-on: https://gerrit.libreoffice.org/35004 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-12ofz: pct oom, avoid allocation bitmap until after size checks are doneCaolán McNamara
Change-Id: I12817adc50d45e2f08b3b5d4cb43daa527d274e9
2017-03-11Fix typosAndrea Gelmini
Change-Id: I19d30a1ef4236dbe0a0053dad67a5ba7b1586fc8 Reviewed-on: https://gerrit.libreoffice.org/35054 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Johnny_M <klasse@partyheld.de> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-09Resolves: ofz#488 check remaining size while parsingCaolán McNamara
Change-Id: Ibb2b6c59a159f9fafa6a065be438b59a6d2d3f21
2017-03-08convert SvxCaseMap to scoped enumNoel Grandin
Change-Id: Iea77ddc21e9b2d5a021c08e323da9ccabf9d46bd Reviewed-on: https://gerrit.libreoffice.org/34963 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-08convert SvxAdjust to scoped enumNoel Grandin
Change-Id: I0df7a5313d6d62d0c657e62ef6014a3ddbab4639 Reviewed-on: https://gerrit.libreoffice.org/34941 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-07loplugin:loopvartoosmallStephan Bergmann
Change-Id: I72cdd1d386db62feff9a42651fc7f0954e76afdf
2017-03-07ofz: fix ppt import leakCaolán McNamara
Change-Id: I48b855f96464c74b76b473d5674fcdcc8388bf1b
2017-03-07improve scoping and zero some thingsCaolán McNamara
Change-Id: I04402009ffd91e35a72026ca357e1e158a258035
2017-03-07tdf#51358 Support for BarnDoorWipe transition animation in SVG supportRohan Kumar
ported the class BarnDoorWipe Change-Id: I10c98cf575c76bb0c96a9622721d1ab368941dca Reviewed-on: https://gerrit.libreoffice.org/33323 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-03-07tdf#95416 Removed ../ in filter/source/svg/test filesJeevan
Change-Id: I9f281c48ddd78f2a897e26b9af57fef2e89604d3 Reviewed-on: https://gerrit.libreoffice.org/34890 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-03-06Fix flip issue in Snake animation subtypeRohan Kumar
Fix flipOnYAxis function, alongwith minor tweaks. Change-Id: If8958de9eb651a15f86963f2e40eb364011ce41f Reviewed-on: https://gerrit.libreoffice.org/33918 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-03-06tdf#51358 Importing ClockWipe in SVG engineRohan Kumar
Most of the constants and transition info table were already written, i just added the perform method. Change-Id: Ib8e2d8e7ca7e26dc54a1e309a2b6271ee7603f34 Reviewed-on: https://gerrit.libreoffice.org/33847 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-03-06tdf#51358 Support for VeeWipe transition in SVG SupportRohan Kumar
Ported the class Veewipe Change-Id: I13b9d7235967e3dd1b1b1638c27e76d11708d1e0 Reviewed-on: https://gerrit.libreoffice.org/33764 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-03-06reserve the known amount we'll appendCaolán McNamara
Change-Id: Ib476453eb3c527cc8c3be679ebc6267a0b53d10e