summaryrefslogtreecommitdiffstats
path: root/filter
Commit message (Collapse)AuthorAgeFilesLines
* ofz#20366 OOMCaolán McNamara2021-04-091-1/+9
| | | | | | | | Change-Id: If658720502739e6ad88c3cf73ac6674e0313a48b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87648 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 090cf1e3bbe0ffaf56f22b152b73578483be2f42)
* spreadsheetml2ooo.xsl was not well formed xmlCaolán McNamara2020-03-301-1/+1
| | | | | | | | | | | | | | broken by... commit 6909838e2966b3fd3c2de6b6db70d952cd8b3114 Date: Thu Apr 25 18:08:33 2019 +0200 Fix typo Change-Id: I40ee245faa75c885d76299ddee79fdaca9d0d715 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91184 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* tdf#130262 ignore negative wrap distance values in doc prop importPatrick Jaap2020-02-111-0/+11
| | | | | | | | | | Change-Id: I2c06b12c958dfde09adcc2ae4c59532ffde6b6fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88127 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com> (cherry picked from commit 8cbd7f59bb99282c4bcb60639da1263c8eb3a5e3) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88399 Reviewed-by: Patrick Jaap <patrick.jaap@tu-dresden.de>
* ofz#20051 if duplicate exists then m_ObjToRecMap points to deleted elementCaolán McNamara2020-01-131-2/+7
| | | | | | | Change-Id: I854410ba1d5c0a622b5ba9c6816a24a3477e5089 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86686 Reviewed-by: Michael Stahl <michael.stahl@cib.de> Tested-by: Jenkins
* ofz#19803 check for negative valuesCaolán McNamara2020-01-081-1/+1
| | | | | | | | | | | Change-Id: I30036a16cf1651a7e27c7aefa086b3725d58933a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86250 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 0ab8ae4d98122f7de50365a062675d001ef0ca6a) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86341 Reviewed-by: Michael Stahl <michael.stahl@cib.de>
* tdf#127493 store ExportFormFields checkbox valueJan-Marek Glogowski2019-12-121-0/+2
| | | | | | | | | | | | | | | | | | ... and also correctly set the initial frames sensitivity. The commit removed the no longer needed UserSelection variant of mbExportFormFields but forgit to actually set it now. Regression from my commit 76fcd878da1624e73f1eb9d9405485d4faf66edf. Change-Id: Ia5fcc1c37e2e4b4a330b59a492f817d2db8d7347 Reviewed-on: https://gerrit.libreoffice.org/84975 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> (cherry picked from commit b06cba8f13e0b71346cb884cf827751f2086fd8e) Reviewed-on: https://gerrit.libreoffice.org/85037 Tested-by: Xisco Faulí <xiscofauli@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
* tdf#127939: Make slideshow touch input work properly again on iOS 13Tor Lillqvist2019-12-051-24/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For some reason, navigator.userAgent in WebKit on iOS 13 claims it to be a Macintosh, so our old code to recognise iOS did not work any longer. Also the Hammer.js included in this file looked at navigator.userAgent and its decision what to do based on that did not work properly either. Simplify our code by handling swipe gestures all the time, even when such won't be generated (on mouse-only devices). Also, Hammer.JS was too eager to think it detected a pointer-only device based on the presense of window.PointerEvent. That sems to be present now in iOS 13. Let's not blindly think that means it is a pointer-only device. If the device supports touch events, don't bother with PointerEvents. Change-Id: I57d972415798967e871c6e262f16043561ed6af5 Reviewed-on: https://gerrit.libreoffice.org/81404 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com> (cherry picked from commit 8f78d6a0d1b4d8d2e21aad9e90510fe6be4df5bb) Reviewed-on: https://gerrit.libreoffice.org/83731 Reviewed-on: https://gerrit.libreoffice.org/83883 Tested-by: Jenkins (cherry picked from commit 8012a200d1a7c5cd1b64a147ca6899fb8863ce8b) Reviewed-on: https://gerrit.libreoffice.org/84537
* ofz#19207 check max strlen possibleCaolán McNamara2019-12-031-2/+4
| | | | | | | Change-Id: I5fe9fde240ef375d9de097dda47953320ecc758d Reviewed-on: https://gerrit.libreoffice.org/84255 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
* new[]/delete mismatchCaolán McNamara2019-12-021-1/+1
| | | | | | | Change-Id: Ife47f111b3910c2eca322678f3f7a67b5cc2cd24 Reviewed-on: https://gerrit.libreoffice.org/84221 Reviewed-by: Michael Stahl <michael.stahl@cib.de> Tested-by: Jenkins
* ofz#18683 NotifyFreeObj override is not helpfulCaolán McNamara2019-11-121-5/+0
| | | | | | | | | | | the base one works fine, the override on the SvxMSDffClientData is sufficient to do what we want here if the base method check of groupobj children was in use Change-Id: I8ee65532d95c167ee83d6c2918dd0b8508d98b48 Reviewed-on: https://gerrit.libreoffice.org/81970 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
* ofz#18646 ensure we are inside valid rangeCaolán McNamara2019-11-051-2/+2
| | | | | | | Change-Id: Ide4d4bfad5b365a42790454cca709d175054c933 Reviewed-on: https://gerrit.libreoffice.org/81909 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* ofz#18467 check against end of bufferCaolán McNamara2019-10-232-7/+53
| | | | | | | Change-Id: Ibeed87e2e3af90219e7bbbd773d369c90f78a364 Reviewed-on: https://gerrit.libreoffice.org/81373 Reviewed-by: Michael Stahl <michael.stahl@cib.de> Tested-by: Jenkins
* filter: XHTML: make "calc-heading-digit" a little fasterMichael Stahl2019-09-301-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Exporting OpenDocument-v1.3-csd01-part3-schema.odt to XHTML fails with: runtime error: file share/xslt/export/xhtml/body.xsl line 1404 element variable xsltApplySequenceConstructor: A potential infinite template recursion was detected. You can adjust xsltMaxDepth (--maxdepth) in order to raise the maximum number of nested template calls and variables/params (currently set to 3000). Unfortunately the document contains this many headings, and the calc-heading-digit computes the value by recursively looking at every preceding heading in the document, without TCO apparently... Try to improve this by using XPath to filter early the headings that are effectively ignored in the 3rd xsl:when case anyway: the ones with a level lower than the one for which the number is requested; this limits the recursive calls to the number of headings on the same level. Change-Id: Iddf5a91664402a57a0138731ddc9cebb06b0a126 Reviewed-on: https://gerrit.libreoffice.org/79720 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de> (cherry picked from commit 86cca6b40ced4031dec4b708ac67b5cbe70cddf9) Reviewed-on: https://gerrit.libreoffice.org/79744 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* tdf#124377: enable anti-aliasing metafile during redactionAron Budea2019-09-301-1/+2
| | | | | | | | | | Change-Id: I6c8a0f6ceaad5d9ec47cce1b00b8ccdd77530aaf Reviewed-on: https://gerrit.libreoffice.org/79266 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com> (cherry picked from commit cd6780aae1392d4c1af0b15b311a4966834a9602) Reviewed-on: https://gerrit.libreoffice.org/79478 Reviewed-by: Andras Timar <andras.timar@collabora.com>
* Related: tdf#126693 cannot put focus into combobox entryCaolán McNamara2019-08-242-2/+2
| | | | | | | | | | set can-focus=True in internal GtkComboBoxText GtkEntry where the GtkEntry is editable=True Change-Id: I32cc7686c3a3cb9827f05f192227c0ad39669aa5 Reviewed-on: https://gerrit.libreoffice.org/78041 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* tdf#126642 always allow PDF/A form exportJan-Marek Glogowski2019-08-073-76/+56
| | | | | | | | | | | | | | | | | | | | | | | | This generally enables form export for PDF/A. A major problem was the saved user setting for UseTaggedPDF, which was overridden by the PDF/A export and used to be stored in the user config. At this point it was impossible to actually restore the user config for the next export, because it contained the overwritten PDF/A value. So this now guarantees that the user selection is stored, which means the underlying filter reading the config has to ignore the users UseTaggedPDF setting for PDF/A, which is happening in any way. That way it is possible to correctly restore the previous user selection after unchecking the PDF/A option. And the "Create form" frame is kept sensitive, just based on the "Create form" checkbox. Change-Id: I29162b423b2d8de77f549fdaabf0aefebcefa124 Reviewed-on: https://gerrit.libreoffice.org/76765 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> (cherry picked from commit c864d894a90141f6d73ed80c1035909986b17074) Reviewed-on: https://gerrit.libreoffice.org/77092
* tdf#54908 Make selection active if there's a selection (Writer)Daniel Silva2019-08-031-3/+9
| | | | | | | | | | | | | If the user make a selection in Writer and then opens print dialog or PDF export dialog, Print Selection is the default option. Change-Id: I46ba90cfeabafef1c05dd3e5008ecf55f177a146 Reviewed-on: https://gerrit.libreoffice.org/64804 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Tested-by: Jenkins (cherry picked from commit f50363c7008c239d302944144beb256de6a55f38) Reviewed-on: https://gerrit.libreoffice.org/76879 Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
* Resolves: tdf#126460 implement reading grayscale+alpha tiff formatCaolán McNamara2019-07-231-13/+40
| | | | | | | Change-Id: I3300ae21c74f5a25c767ce643e93d2232f3b9381 Reviewed-on: https://gerrit.libreoffice.org/76124 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
* Resolves: tdf#126147 relax sanity check and allow truncated tiffsCaolán McNamara2019-07-181-5/+6
| | | | | | | | | | now the start of the row of data must still exist, but the full length of the row doesn't have to exist Change-Id: I5ed8ffef2cab19f040ba789a5d82560ca6847f26 Reviewed-on: https://gerrit.libreoffice.org/75794 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
* tdf#62728 Provide both A/1 and A/2 in PDF export dialogThorsten Behrens2019-07-013-34/+110
| | | | | | | | | | | Followup commit to ed4a0eed82e2f, adding back the A/1 option. Change-Id: I9f509cb77f045de260bc22fc494fe4ecaac29bbc Reviewed-on: https://gerrit.libreoffice.org/74941 Tested-by: Jenkins Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> (cherry picked from commit 49cfcf777d03abf59557cad021b4e5c4445de3c0) Reviewed-on: https://gerrit.libreoffice.org/74960
* tdf#125591 DOC import: lazy-load metafiles with explicit sizeMiklos Vajna2019-06-121-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regression from commit 69b62cfcbd364d7f62142149c2f690104b217ca1 (tdf#125281 DOC import: fix size of lazy-loaded metafiles, 2019-05-27), the problem is that setting the preferred size of a Graphic swaps it in. Avoid this by extending ImportUnloadedGraphic(): if a size hint is provided, then that will be used instead of info from the graphic descriptor (which is usually only meaningful for bitmaps). This way we maintain the correct size and we're back to lazy-loading metafiles from binary MSO files as well. (cherry picked from commit acb803b730f2c6bd82e39beab58949ec14f85eb0) and: CppunitTest_sw_ww8import: disable failing assert on Windows It fails only sometimes, it's yet clear why. (cherry picked from commit b5d624c4af1085d4670149e9c1d280da7bc9add0) Change-Id: Ide12d12166110e98ea47b5347dd24fb203b22da3 Reviewed-on: https://gerrit.libreoffice.org/73818 Tested-by: Xisco Faulí <xiscofauli@libreoffice.org> Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
* Switch Office filters to mention “perpetual” Office 365 instead of ↵Adolfo Jayme Barrientos2019-05-3120-20/+20
| | | | | | one-off 2019 Change-Id: I5fdb85679d869e75fc4bf583f53f15fb933c289d
* Use hasElements to check Sequence emptiness in [e-i]*Arkadiy Illarionov2019-05-316-12/+11
| | | | | | | | | Similar to clang-tidy readability-container-size-empty Change-Id: I79e31919db8f4132216f09a7868d18835eeb154b Reviewed-on: https://gerrit.libreoffice.org/71795 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Fix typoAndrea Gelmini2019-05-311-8/+8
| | | | | | | Change-Id: Idc95790ec29502c65db8b2f4cf1eda24a167a924 Reviewed-on: https://gerrit.libreoffice.org/73236 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typoAndrea Gelmini2019-05-311-3/+3
| | | | | | | Change-Id: I117ada6da2e61bea269e513d3f46c63a88316ad7 Reviewed-on: https://gerrit.libreoffice.org/73234 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typoAndrea Gelmini2019-05-311-2/+2
| | | | | | | Change-Id: I5f7e6e52bb0826fc46ca842417e946633359dff8 Reviewed-on: https://gerrit.libreoffice.org/73237 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typoAndrea Gelmini2019-05-311-1/+1
| | | | | | | Change-Id: Ie3774885344241983e3b6fd952b59cb01fe18ad3 Reviewed-on: https://gerrit.libreoffice.org/73230 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typoAndrea Gelmini2019-05-311-1/+1
| | | | | | | Change-Id: Iac448f27693b428011074c83af7c2164bc0d1a31 Reviewed-on: https://gerrit.libreoffice.org/73233 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typoAndrea Gelmini2019-05-311-3/+3
| | | | | | | Change-Id: Ie0dfc53d2de8e4eb48eb55b5b32d8c2eb55df0d3 Reviewed-on: https://gerrit.libreoffice.org/73229 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typoAndrea Gelmini2019-05-311-1/+1
| | | | | | | Change-Id: I8f4b9cbeee814b4b464f72e11ca5bf5ada78c344 Reviewed-on: https://gerrit.libreoffice.org/73235 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typoAndrea Gelmini2019-05-311-2/+2
| | | | | | | Change-Id: Ic53f1f1aacff2b91c987c18258d904ea24114216 Reviewed-on: https://gerrit.libreoffice.org/73232 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typoAndrea Gelmini2019-05-311-7/+7
| | | | | | | Change-Id: I562f3e1d952e1b882643535b4ebb6b0067df5fc1 Reviewed-on: https://gerrit.libreoffice.org/73224 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typoAndrea Gelmini2019-05-311-1/+1
| | | | | | | Change-Id: I27d457eb2af8ff8ef297dd97923acf4978eac2d7 Reviewed-on: https://gerrit.libreoffice.org/73228 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typoAndrea Gelmini2019-05-291-1/+1
| | | | | | | Change-Id: Ib504a5243edd5df96a0f4ff8f7f846e83d384a7b Reviewed-on: https://gerrit.libreoffice.org/73130 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typoAndrea Gelmini2019-05-291-2/+2
| | | | | | | Change-Id: Ic94aaada392b197e3fa955ec5b51ca8106347a38 Reviewed-on: https://gerrit.libreoffice.org/73133 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typoAndrea Gelmini2019-05-291-1/+1
| | | | | | | Change-Id: Ibfaba910db1ef59af68f57e52a683b5ef147e5a6 Reviewed-on: https://gerrit.libreoffice.org/73132 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
* Fix typoAndrea Gelmini2019-05-291-1/+1
| | | | | | | Change-Id: I217ece9296e5e5d8db264a3590e5af1f8ab0cfcb Reviewed-on: https://gerrit.libreoffice.org/73134 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
* Fix typoAndrea Gelmini2019-05-291-1/+1
| | | | | | | Change-Id: I3414f8badfbab89d0cab72e51fb4dcafc85b35e4 Reviewed-on: https://gerrit.libreoffice.org/73136 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
* Fix typoAndrea Gelmini2019-05-291-1/+1
| | | | | | | Change-Id: I5ce7f422fc6d26eb451ba43fe7bc6f8a540e7d8a Reviewed-on: https://gerrit.libreoffice.org/73131 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
* Fix typoAndrea Gelmini2019-05-291-1/+1
| | | | | | | Change-Id: Ib1af986d52bbc4ea7e2ee7dc5964da81e6508265 Reviewed-on: https://gerrit.libreoffice.org/73137 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
* Fix typos (including sequenze->sequence)Andrea Gelmini2019-05-281-4/+4
| | | | | | | Change-Id: Icfd6c5cbc405bad51a0d7f10cdb55c70a1fe5b00 Reviewed-on: https://gerrit.libreoffice.org/73078 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
* tdf#125281 DOC import: fix size of lazy-loaded metafilesMiklos Vajna2019-05-281-0/+5
| | | | | | | | | | | Metafiles may have an external header, so once graphic data is read, we need to set the size explicitly. Otherwise the width of the EMF image in the bugdoc will be too small. Change-Id: I2441eda61278b0f4973db5d9aa14618ccd17c397 Reviewed-on: https://gerrit.libreoffice.org/73064 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
* Fix typoAndrea Gelmini2019-05-271-3/+3
| | | | | | | Change-Id: I15300dc1055ccea72766a71cfa2397f0332e2806 Reviewed-on: https://gerrit.libreoffice.org/73007 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typoAndrea Gelmini2019-05-271-2/+2
| | | | | | | Change-Id: I88051ff8a09f1f8a52ad095a10bed7cc40b2fcdb Reviewed-on: https://gerrit.libreoffice.org/73011 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typoAndrea Gelmini2019-05-271-2/+2
| | | | | | | Change-Id: I64cdf8361860f92300ede43ad13769267df8bd98 Reviewed-on: https://gerrit.libreoffice.org/73012 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typoAndrea Gelmini2019-05-271-1/+1
| | | | | | | Change-Id: I74f4fbaf39d8afc36a93097afbbcf3763877d8e9 Reviewed-on: https://gerrit.libreoffice.org/73010 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typoAndrea Gelmini2019-05-271-2/+2
| | | | | | | Change-Id: I8a1b232eb3cc955aa99c64cc58bc6fd166d11e18 Reviewed-on: https://gerrit.libreoffice.org/73008 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typoAndrea Gelmini2019-05-271-2/+2
| | | | | | | Change-Id: I80005d34f00bcf15817bb3fd9705e0f7cf23dfab Reviewed-on: https://gerrit.libreoffice.org/73016 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typoAndrea Gelmini2019-05-271-1/+1
| | | | | | | Change-Id: Ia58c7a3b17d384d2405ba3b905e9bf940f800a65 Reviewed-on: https://gerrit.libreoffice.org/73009 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typoAndrea Gelmini2019-05-271-1/+1
| | | | | | | Change-Id: I2bfe254520a8dd72ac5e09af9962b5af434a63c1 Reviewed-on: https://gerrit.libreoffice.org/73015 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>