summaryrefslogtreecommitdiff
path: root/sw/qa/extras/globalfilter
AgeCommit message (Collapse)AuthorFilesLines
2016-02-05xmloff: tdf#96147: ODF export: fix duplicate fo:background-colorMichael Stahl1-0/+80
... attributes that happen if both CharHighlight and CharBackColor properties are used, because the CharBackTransparent property wasn't taken into account, and combining the CharBackColor and CharBackTransparent properties happens *after* XMLTextExportPropertySetMapper::ContextFilter() runs. Also, it looks like a transparent highlight wouldn't export properly but apparently DomainMapper::getColorFromId() won't create such. (regression from f880962f5bf26bfaef06bd3f9e67e2d901a2e74c) Change-Id: Ib628ef8bb377482f74fadb97c81afb95fbbf7184 (cherry picked from commit 8dadefc35f8b33648fb6adbdaca75ea52b2705db) Reviewed-on: https://gerrit.libreoffice.org/22042 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann1-3/+3
Change-Id: I01e11fa956a249974e77dce9deebe79311f098d0
2015-07-14tdf#92471: Improve color conversion to MSO highlightingZolnai Tamás1-12/+12
The simple color distance on RGB color space is not good enough. It leads to a better result if we use the scheme of the primary colors. This method works well with MSO highlighting color palette, but not neccessarily in general. In highlighting palette light and dark variant of the same color type (e.g. blue and light blue) has the exactly same scheme. Change-Id: Ied08b4c388b8020326709d01d2de290afdd9d77b
2015-05-29Fix Mac TBs by unhidding testSkipImages()Julien Nabet1-2/+2
Change-Id: I2624ef7824859339b1b0a669279e7c4186ebf35b
2015-05-29Revert "skip SkipImages unit test on MacOs"Julien Nabet1-1/+1
Let's reenable the test for MacOs to see. The system cache has been purged, a "make distclean" has been done (see http://nabble.documentfoundation.org/About-skip-SkipImages-unit-test-on-MacOs-td4149788.html) This reverts commit be01d68420086fc36ecf26b5f597ba7c6b29b369. Change-Id: Ib281db5e3497a3bc9b176a28ccbee25ba051910a
2015-05-28loplugin:unreffunStephan Bergmann1-1/+4
Change-Id: I89674148bd25f0ee996bf8796138bbab234d8c8f
2015-05-27skip SkipImages unit test on MacOsJulien Nabet1-1/+1
In fact concerns MacOs TB 10.10_61 If someone wants to revert it go ahead but in this case, please: either fix the problem or disable this TB for the moment Thank you Change-Id: Ie8da48a9b117d7d24cbf27b5b5e8773f79464a31
2015-05-20bin/rename-sw-abbreviations.shlibreoffice-5-0-branch-pointChristian Lohmaier1-3/+3
renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
2015-04-01Revert "Revert "skip SkipImages unit test on Windows""Michael Stahl1-0/+2
This reverts commit 7ea8046c741c8b7b608f26e312cc5f1056752c09. Unfortunately test still fails on WNT tinderbox but it works for me locally, disable it again.
2015-04-01Revert "skip SkipImages unit test on Windows"Michael Stahl1-2/+0
This reverts commit dae63f3dd8216aea7f6b594433b180d633d5551d. Crash should be fixed by fae6699c2ec8d68766bb8d5f71483d4b65792327
2015-03-31skip SkipImages unit test on WindowsLászló Németh1-0/+2
(temporarily, while fixing the segmentation fault in Tinderbox) Change-Id: Iddc1a14b0cdd8a20ac90fff175e99f60972672a1
2015-03-30cleanup for SkipImages unit testsLászló Németh1-22/+29
Change-Id: I2232fda0acdc7e677e1da278405a8a4c90e00659
2015-03-30Unit tests for SkipImagesLászló Németh3-0/+72
SkipImages filter option skips image loading during DOC and DOCX imports, but it keeps the text of textboxes and custom shapes. Change-Id: Ia0ab3b350b9da22d9375787883678cc357a704b3
2015-03-21Avoid C style cast in sw_globalfilter testZolnai Tamás1-11/+11
Change-Id: I8d05a73728875ccd51cb9e5f9c7ad9f60677bf67
2015-03-21Char highlight: convert LO character background to MSO highlightingZolnai Tamás2-0/+73
DOC export has a good approximating algorithm for that so use it everywhere. In RTF case use the default color table which is added also by MSO Word. With that highlight colors are also added to the table. Change-Id: Ie4827a933c316d4dc0c0c7a32d8cf319477d1bf9
2015-03-21Char highlight: test related to editing of MSO background attributesZolnai Tamás2-0/+117
Change-Id: I39828754284b0e3d43d043a9695f81d404b4e0aa
2015-03-21Char shading: use a marker for character background imported from MSO shadingZolnai Tamás1-4/+14
* So MSO format export filters can recognize that it should be exported as shading. * Editing in LO removes this shading marker, so from that point there will be an LO character background. Change-Id: I853b952f0395b33d36bb2934a6d910f2182cc1d9
2015-03-21Char highlight: export character background to MSO formats based on settingsZolnai Tamás1-0/+4
Change-Id: Iaaf9e7ee5e61cfabb0d675b83fa71776dece87e2
2015-03-21Char highlight: ODT filtersZolnai Tamás2-8/+25
Export merges the two background attribute. Change-Id: I882321fbd5a7d24991fb01b8dc9d2cc0bd294051
2015-03-21Char highlight: DOC filtersZolnai Tamás1-7/+9
Change-Id: Ia609425f6753796091d4dfdfae8e621c062e0c15
2015-03-21Char highlight: RTF filtersZolnai Tamás2-0/+80
Handle \highlightN and \chcbpatN separately. Change-Id: I20546bd4c26154e8b1168f87dcb4ab44a192ad83
2015-02-06shared_ptr<T>(new T(args)) -> make_shared<T>(args)Caolán McNamara1-3/+3
and boost:make_shared->std::make_shared Change-Id: Ic1e187c52c856a7b27817967b2caa8920f23a98d
2014-12-18sw: Use appropriate OUString functions on string constantsStephan Bergmann1-6/+6
Change-Id: I9c3e03324c69beb5af4c43da208086600876f875
2014-12-11coverity#1257737 Dereference null return valueCaolán McNamara1-0/+1
Change-Id: Idc4dfb74734f1203586b04ea86a05905f5dac694
2014-12-08Build fix (for gcc 4.7).Kohei Yoshida1-9/+7
Change-Id: Ib52cfc8ba45361277ef8e0b6021a03c3ff8ae668
2014-12-08Test for Writer import / export of graphic shapesZolnai Tamás2-0/+90
Graphic shapes are those images which are created not in Writer (but e.g. Impress, Calc) and moved to Writer later (e.g. copy&paste). Embedded image is ok, but MS filters broke the linked graphic shape. Change-Id: I0c86a5d09afb3e40f7d9e5986c05801457d4c13f
2014-12-08Generalize this test for other Writer filtersZolnai Tamás2-0/+84
Change-Id: I17bc641373eafc49367d5605072270db6f7fe77b
2014-12-07Test for linked graphic export / import of WriterZolnai Tamás3-0/+63
Change-Id: Ib41921e9ceed30a05e16ace298d9c5dc87cc5458
2014-12-02add mode linesTakeshi Abe1-0/+2
Change-Id: Id7825ecd076a5d8cbe926a26bc74fc7d0da1d621
2014-11-10Fix build.Jan Holesovsky1-5/+4
Change-Id: I91599766e607b26d2c71006c9543a2bd952e228a
2014-11-07Use SAL_N_ELEMENTSZolnai Tamás1-1/+1
Change-Id: I3d26823a93fd0925ef5e71affd941cd51219ab9e
2014-11-07Build fix: back to C++98Zolnai Tamás1-2/+2
Change-Id: I5aa74c17f3274a130f76a25fc7bbb184b3f5c69b
2014-11-07Make these tests weaker to fix build.Zolnai Tamás1-13/+3
Image loss indicator is the "empty" URL. Change-Id: I0f8b037dc23bae3d7342d73cfafa4ecc55090ab6
2014-11-07Make SwGrfNode swapping methods privateZolnai Tamás3-22/+42
Change the filter test accordingly. Change-Id: Ide3043f2f245c097a7b4c07ba2e0713510296b3e
2014-11-07Test for swapped out image loss during Writer exportZolnai Tamás2-0/+110
Related to the bug fdo#52226. The fix in *.rtf and *.docx export was this commit: 9dd5caac62083f7162d83319284df68ee83e3777 The problem was that the images were somehow swapped out but were not swapped in during export. Test the main Writer formats: ODT, RTF, DOC, DOCX.