summaryrefslogtreecommitdiff
path: root/filter
AgeCommit message (Collapse)AuthorFilesLines
2015-06-25avoid problems detecting HTML files with .xls ext.David Tardon3-4/+38
Change-Id: I9955223aac20f3f640fde51bb7231666c269ca70 (cherry picked from commit 86c6f18c2766aad43d6e3bfcf3530e40440ebca7)
2015-05-21tdf#90999: Import spreadsheetML cells with inline formatting tagsRobert Antoni Buj Gelonch1-7/+6
Change-Id: I5a723d5ecc4a075be64ba9766e574d9a9df50eb1 Reviewed-on: https://gerrit.libreoffice.org/15821 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-04-16Related: tdf#74018 fix int wraparound + crash on exportCaolán McNamara1-18/+19
of fdo74018-2.docx to doc nPoints is 16bit and accumulated value wraps around, so use a 32bit nTotalPoints instead and move 16bit declarations to use points to confirm no other wraparounds (cherry picked from commit ce705ac56a8709970356d634abb964adef105594) Change-Id: If97ccb46ed8eb7f4305cdfe328ae83bc2b0c778c Reviewed-on: https://gerrit.libreoffice.org/15281 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-03-16disable PDF timestamping UI on WindowsAndras Timar1-0/+6
Change-Id: Ied4520670478d04fce3620c4f3375b1a435f98af
2015-03-11gcc 4.4.7 (Cent OS 5) does not know auto iteratorsAndras Timar1-2/+2
Change-Id: I03ab90c90448e456fc497fb082ad230a434f9f3a
2015-03-05tdf#88428: Add GUI to select one of user-configured Time Stamp AuthoritiesTor Lillqvist4-0/+62
Work in progress. The selection not used for anything yet. (cherry picked from commit b8b9d51b8cf1cafe1a94e1baf957f3f282abb32f) Conflicts: filter/source/pdf/impdialog.cxx include/sal/log-areas.dox Change-Id: Ia86fa0f59dcfee8e9d332a028a3fad37f4019fe0
2015-03-05tdf#88431: Pass the selected Time Stamp Authority, if any, along to vclTor Lillqvist4-2/+14
Work in progress. If a TSA is selected, pass it along to the signature generation in vcl. Change-Id: Ibe105b6d02ab9241b93dd66ab3cb1fa8c6d10093 (cherry picked from commit d83e6e9cdb727b3ca2938048e115ba38886d4c70)
2015-02-06bnc#637947 improve DrawingML export of custom shapesAndras Timar1-0/+1
Reviewed-on: https://gerrit.libreoffice.org/14346 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk> (cherry picked from commit b1751e6ed0fd6d6d26141e4405df92520e3c04cd) Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport4.cxx Change-Id: Iaa880528cf3c899ce66e4349c6d989dfbe5cbeb6
2015-01-24fdo#84336 Fix swf renderingMatthew Francis1-1/+1
Commit d83dfeb5e59c8f3de12d673b001a44001f644e7d accidentally inverted a test, causing at least the presentation linked on the above bug to render all black Change-Id: I2267ef43023b735587d6921f17aa7207f70dbd7b Reviewed-on: https://gerrit.libreoffice.org/14084 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit eb4c29f4d10ae4be0e6be15a4c7c8c5bfb1edcc3) Reviewed-on: https://gerrit.libreoffice.org/14087
2015-01-24fdo#86772 show localized filter names in Save dialogDavid Tardon2-106/+117
(cherry picked from commit a0a0317722c7cba51ab662ac662a5756e69f422a) Also contains: more traditional use of $(eval) (cherry picked from commit 32fe73958055a51741ef68e643705ad0664824ef) Conflicts: filter/Configuration_filter.mk add tranling empty line to ensure correct expansion (cherry picked from commit 29dbc26b7eabddba374ff632f273ef4575d3055b) Change-Id: I048454646e12af18917d90bb8077ec4b387cf589 Reviewed-on: https://gerrit.libreoffice.org/13909 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2015-01-24Resolves: fdo#87015 image missing from docCaolán McNamara1-1/+1
regression from commit e0cce521f1ad0cc384d30ce2f1077ea229fffe62 Author: Armin Le Grand <alg@apache.org> AuthorDate: Thu Jan 10 16:28:40 2013 +0000 Commit: Caolán McNamara <caolanm@redhat.com> CommitDate: Thu Jun 13 14:50:46 2013 +0100 Resolves: #i121504# Support for alpha channel in clipboard for all systems (cherry picked from commit ef3931ff410117e1237b3bef7bc090e8b83b9519) which blindly just bulldozed out the bMSOFormat branch Change-Id: Iec354f1fb585f0803b9df472bc9ec9e103aa5847 (cherry picked from commit 470fcca594ba4f6bf473d4d44b415c2ba151b0d9) Reviewed-on: https://gerrit.libreoffice.org/13875 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-01-08asan wrt mandriva57054-1.tiffCaolán McNamara1-6/+5
Change-Id: Ibb7ecfa637ff96fbda3a8ed5d67943ece28927e5 (cherry picked from commit f901624b5e13e300f8e2facd2a824202c21d9729) Reviewed-on: https://gerrit.libreoffice.org/13739 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> (cherry picked from commit f28a5e89eb668b702e90beb58276cef5d74a6d18)
2014-12-13Resolves: rhbz#1164614 xslt dialog crashes if there are no entriesCaolán McNamara2-0/+16
Change-Id: Id7d967389cbc9f8ae120749bbe1c79bbbe46b212 Reviewed-on: https://gerrit.libreoffice.org/13370 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-12-13fdo#84686 prevent std::bad_alloc exception by stricter input checkAndras Timar1-4/+4
The bugdoc has invalid length (rh.recLen) in header of blipStore's OfficeArtFBSE record. Therefore LibreOffice read junk for the next BLIP, and tried to seek to an invalid stream position, which caused bad allocation exception on 32-bit systems. Change-Id: I72fae4c2b00216b57736f4409a32c62a40f25785 (cherry picked from commit 6945971c79d70d77c5c8bb6593b3f25ef46b0887) Reviewed-on: https://gerrit.libreoffice.org/13158 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-12-12PDF signing feature backported from 4.4Tor Lillqvist4-11/+23
Cherry picked from: 840f75065918c4584fa9159fdc90242b5374ab37 1fe9ee73a758603ee0e1465931352c41ef8bd999 d8a8ff8177df628636d80c4dc1d8f597f6677dfc bfa01d8a8248f7e44675de5ed1f85a1d17105022 bbb18f679f5a50e9c709520d6c3260d3d9db5aa9 c4cc31b5b55019aabad4045c8174b45e1b27073a 7e3c931786c3cbe83ee170b8b0746d141b520ce6 070c93af73df9aa4eb333265c81060d123b530b9 6e91763769a562b88882a4c2a94b1367c6ed4866 Change-Id: Ie8ac5e1e067f8e3b15e2f11389bd0517d348f1e3
2014-11-23afl: divide-by-zeroCaolán McNamara1-12/+17
(cherry picked from commit eb6d27321d2d5f9d069c4a3cbcc9bc6e5b4c98ab) Change-Id: Ided311873f654c0f40dae57c8876a6412ee97d3e Reviewed-on: https://gerrit.libreoffice.org/12515 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-11-23Resolves: fdo#62682 crash on second export of svgCaolán McNamara2-2/+17
because the first export has left "dangling" CalcFieldValueHdl Links in Outliners that got created based on the Drawing Outliner while it had a temporary CalcFieldValueHdl installed, and didn't get the old CalcFieldValueHdl installed when the old Drawing Outliner one was re-installed. (cherry picked from commit 5bdfa8c12472eb9ff6ca054c2ada7150b1869fff) Change-Id: I064a154ece488c9a4c3467b753451df7e73ae883 Reviewed-on: https://gerrit.libreoffice.org/12009 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-11-23various untrusted loop boundsCaolán McNamara4-32/+85
coverity#1242704 Untrusted loop bound Change-Id: Ib2e00c0cd269dc7ae55b206713fe07e5326072f2 (cherry picked from commit d615d83381a0830a815fe2879ce761f1b00b04e9) coverity#1242606 Untrusted loop bound Change-Id: Iafa03d4dd65eb343a80996880bc1ed846d1b7491 (cherry picked from commit 1361dfc0aa835dcb134d5de4bac594519aa16efe) coverity#1242582 Untrusted loop bound Change-Id: I72d2c4979b62a025d212ce5ee3b7141c40376fa7 (cherry picked from commit 6118c11a0c5122169979547e8c27136cf58a54a7) coverity#1242778 Untrusted value as argument Change-Id: I34d5a5e7c5f0eef51d941c65ab73d5421d5a36cb (cherry picked from commit be31503ef86d2ad3291ced8fddb9c4da4d324c46) coverity#1242724 Untrusted value as argument Change-Id: I6041d09ef0a4ed4af5f1bf93f31a1eac60be1af7 (cherry picked from commit bbe264a19fb82f50d859fc72a47312db0527640f) coverity#1242717 Untrusted loop bound Change-Id: I983bba075ab9626c90555fa41f9d473ae60fafea (cherry picked from commit cf63ebe0f005513c1e989682459bcd0688eb190b) coverity#1242624 Untrusted loop bound Change-Id: If2ae1982eec100f5602a13d648beec247ced6aa2 (cherry picked from commit 711e74544d70b108e9bc70772b31f386dbf1c2a4) coverity#1222238 Untrusted loop bound Change-Id: I1a4dec8727d0a27f7fd0396fd22d955f61daaee4 (cherry picked from commit 5a89092d5fe43638832ea8f86df34f81869337d9) coverity#1242573 Untrusted loop bound Change-Id: Id2847c55ccab7272919e76542bc0e0570bc9af12 (cherry picked from commit 5e2d089f763963e6ce7d3d183bd1bf7932aeaaaf) coverity#1242573 Untrusted loop bound (cherry picked from commit 11a514e06bf38c70f2364c8535782aa3f33d6206) Conflicts: vcl/source/filter/wmf/winwmf.cxx Change-Id: Ic84e57fbfa2b532409865c4364b91be594d252cf pass sfntLen to DumpSfnts etc so sfntP reads can be checked Change-Id: I5d8092eceb31ba251e75fe2c51b87890b8adcbf2 (cherry picked from commit b4a0104849eeecb7779fda41116c92c362759882) coverity#1242908 Untrusted value as argument Change-Id: If9dd92c361d406c435329d29870dc8bb07a8ba7b (cherry picked from commit d0be09322d127e7d517851db38c764d57fbab2dc) Reviewed-on: https://gerrit.libreoffice.org/12067 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-11-23valgrind: multiple problems in cgm filterCaolán McNamara5-98/+60
valgrind: Mismatched free() / delete / delete [] (cherry picked from commit 4d82ccb1edcc700f1ff8387ec51ac8114d5d77e3) valgrind: Mismatched free() / delete / delete [] (cherry picked from commit 61550120b45640898677c7f765a491737445954f) valgrind: Source and destination overlap in memcpy (cherry picked from commit b2b5bc10b6574e4717f651602c970bdb20abd1a7) sal_True->true (cherry picked from commit aeea1cab4300371797fc1283c1e8623fa8238908) check for short reads (cherry picked from commit 2e234939874575a41673b3ceb4a759afa3b333aa) valgrind: multiple errors (cherry picked from commit b251762c6549639975a7e9962c9fb5b365ef2063) stray ;s all other the place (cherry picked from commit 740617901dc2e7a1effd211c755ea9d00b32094b) valgrind: init GroupLevels (cherry picked from commit b13591d48f58b45f4465ce03bd1248ec1e95584f) Change-Id: Idccebc826ade29a507e115108d20fd461b7bb4ec Reviewed-on: https://gerrit.libreoffice.org/11977 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-10-14fdo#63483: support for modify passwd in Impress and DrawKatarina Behrens5-5/+5
iow, allow opening Impress and Draw ODF documents read-only Change-Id: I379b9f92b9bfb20e99998177d9a5fae80069d98f Reviewed-on: https://gerrit.libreoffice.org/11758 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-09-23fdo#81592 Use 24-bit color depth, not 256 colors when converting an EPS-file.Björgvin Ragnarsson1-1/+1
This regression was introduced in f5c3f5601a3739dead635f9abc446951b385018f. Change-Id: Ica48732398cd5d225b433b177ff6e6fff649e732 (cherry picked from commit 0791335cf007e04de25e03c0a6e0aa53fa66016a) Reviewed-on: https://gerrit.libreoffice.org/11465 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-08-21Fix showing calc/draw types in some file pickersMaxim Monastirsky12-12/+12
Having the same UIName for several filters, causes some file pickers (gtk & generic) to drop the whole group. Change-Id: I6d18a751cb77a6a83e8e2a46338e41b7c72180ff Reviewed-on: https://gerrit.libreoffice.org/10730 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2014-08-20guard against division by 0Caolán McNamara1-12/+17
valgrind + bff Change-Id: I5fa40f7a9759c98bb70ee6eb854dd9b376401f89 (cherry picked from commit 1ab0e8717bee9fee6c42015647bccfbf1683b8fc) Reviewed-on: https://gerrit.libreoffice.org/11036 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-08-20valgrind + bff: Integer divide by zeroCaolán McNamara1-9/+22
Change-Id: I4c47d17a421f1c6d2d6cc29c7b92ec930bdf901f (cherry picked from commit a1fab361cb3325b2d012942e43660f2c0a2a4b96) Reviewed-on: https://gerrit.libreoffice.org/11021 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-08-06fdo#45418 xslt: Make sure we're reading from the beginningMaxim Monastirsky1-0/+5
Change-Id: Id5beb6af8c32ab45d7e31120d38966f8fe4d5418 (cherry picked from commit b7325b907edf0cd8e2ca577e9796c1cf7d56bd70) Reviewed-on: https://gerrit.libreoffice.org/10786 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-08-04Fix calc_MS_Works_Document extensionsMaxim Monastirsky1-1/+1
Change-Id: Icbf087464997561b09c7b43c2269eea2c8c603bb (cherry picked from commit e5ac048af125e82829d353ec031c99e96572e2c0) Reviewed-on: https://gerrit.libreoffice.org/10728 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-06-26fixes for up-casting to Reference<XInterface>Noel Grandin2-8/+8
Fix regressions introduced with 6a043e9c0acff20e1618ca8ec15c21d5d0fd0d37 "Use the new type-checking Reference constructor to reduce code noise" Change-Id: I85662856f21c810a7db497fe3b0e116f075b1687 Signed-off-by: Stephan Bergmann <sbergman@redhat.com> (cherry picked from commit 533c6cb6bad6ef0432e8eebbfd4daf90ef71f3b4) Reviewed-on: https://gerrit.libreoffice.org/9919 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-12pct import: Reset clip region before closing the metafile.Jan Holesovsky1-0/+1
Otherwise parts of the image are missing. Change-Id: If9018c32807359862a9be825b0ebdaacce2d3490
2014-06-09move UOF and Office 2003 filters to xsltfilter moduleDavid Tardon1-6/+9
Change-Id: I6e5ac310567bb7bd12fbba444e4e1deb9fea30d5 (cherry picked from commit be4b837ed225af13d6f964eca7e3f95e44c8e45a)
2014-06-09rebuild filter config. after makefile changeDavid Tardon1-1/+2
Change-Id: Ibc788e248ea0c63e05c55d78ec059c48cff5dd72 (cherry picked from commit 9266664937251b802e1b48c83f5a76c6767c390f)
2014-06-09rhbz#1105376 move FlatODF filter config to right placeDavid Tardon1-8/+8
This has been broken since 3.3(!), when the old XSLT based import/export was replaced by a library. Change-Id: Id335f296c5a0e2c15d1748f8a14ac8d4001e1d15 (cherry picked from commit 6e299a555dc03982f6e03434f2726ca440fcee53)
2014-05-30add dummy extensionDavid Tardon1-1/+1
Change-Id: Ic76efa716237f197c1c73a9752f6680be49570f6 (cherry picked from commit 2b6f2beec6ceffbde287ebef295eb27bb7f35d00)
2014-05-30fix filter namesDavid Tardon2-2/+2
Change-Id: I691d8d43ef12f5863627d1d4bef64dbd9d633e86 (cherry picked from commit 2999a87db65767b26a161b60a2e80f5afd76ef52)
2014-05-30fix copypastaDavid Tardon3-6/+6
Change-Id: I397426edff584b29210b4df925677893cda35cc7 (cherry picked from commit 8dd624128bf12e013c17b3b24c0b24135296bb8e)
2014-05-29Add new libmwaw's database/spreadsheet formats...osnola13-0/+364
Change-Id: If07a9e548e1db15b403126263f63d9d09575eb95 (cherry picked from commit 696c8edf7a7731ea4e0f3e4ec4dfeadac2f8ffad)
2014-05-29Make the wdb/wks and GreatWorks(draw) workosnola2-3/+3
Change-Id: I1a736a511e6007a4ed6413eb8d9b8e364d73f765 (cherry picked from commit eccfc72781dfa485c94b251e81718bdddd544606)
2014-05-29Try to add support for WKS/WDB files...osnola3-0/+61
Change-Id: I0ff1cd35be0e1546a156bc673770a920ad2ca444 (cherry picked from commit e1fa08fe92d7d3f89f5f75cb67f17bb491c42361)
2014-05-29add new libmwaw drawing formats (forgotten files)osnola1-2/+15
Change-Id: Ib9ecd643a552063e2a09874776b3ea0f30e8440a (cherry picked from commit ba0b63869ace532720bd7c13099e62c478d8cc31)
2014-05-29Add new libmwaw drawing format...osnola12-0/+352
Change-Id: I7fa7a46143126bdf27cf7cb30245dbcb244645ef (cherry picked from commit 0e17d7bb8acdbc0c36406a352c37f5cb0a987ced)
2014-05-28Fix memory leak (as observed with CppunitTest_filter_pcx_test)Stephan Bergmann1-8/+6
Change-Id: Ic00653cad7f15f60a8f2613938def25820d7e9ae (cherry picked from commit c77c39056847d23a109172ff53bfac0ba4c21b39)
2014-05-28Fix memory leak (as observed with CppunitTest_filter_ras_test)Stephan Bergmann1-18/+13
(cherry picked from commit ba00f596cfbb78046e705f1d45264951bf03a9a1) Change-Id: Id3fa526f01ab7dae72beb311fe0774ba1f77d8a0
2014-05-23fdo#79078 restore transparency in SVG exportLászló Németh1-2/+2
Change-Id: I5bdf6c3b313a73126cb692e5101836f424a2fc08
2014-05-21Remove unnecessary GZCodec derivationStephan Bergmann2-4/+4
Change-Id: Id710a1fe4a3c1593add69bb2a7014d26f9499e87
2014-05-19hrc and src files: squeeze multiple newlinesThomas Arnhold3-3/+0
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
2014-05-17Correct common misspellings, and remove some ASCII art along the way.Chris Laplante1-52/+4
Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c Reviewed-on: https://gerrit.libreoffice.org/9356 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2014-05-14Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part12Julien Nabet1-5/+3
Change-Id: I7c514b7a1d86f52d77672b826b1f08b825fd7aa7
2014-05-14remove external header guardsThomas Arnhold1-1/+1
that's the problem with those: none of them was actually defined... Change-Id: I496140e43cf8ff8a5712394023d98516aaf21adc
2014-05-14filter: remove SAL_INFO's that only mark function entryNoel Grandin1-4/+0
Change-Id: I2771d9af09b8dec3f9a8b30b47a779816e4739cb
2014-05-14Related: fdo#64161 ask pstoedit to mark out the bounding boxCaolán McNamara1-12/+31
and tell pstoedit to use the original ps bounding box not its own calculation of it Change-Id: I06f3440a0def45ec8c3a4247c046ec499ed1012e
2014-05-14Unify utl::TempFile ctorsStephan Bergmann1-2/+2
Change-Id: I0a781a86804808cebf7756506d9299971c13e2ff