summaryrefslogtreecommitdiff
path: root/sd/qa
AgeCommit message (Collapse)Author
2014-12-22This test fails for Windows, so skip it for now.Zolnai Tamás
Change-Id: I33e480e756cd5cc88e119b47022646a4db3f4f96
2014-12-22More typosZolnai Tamás
Change-Id: Iffaca1b822d24247825250044fba3bdc07a051fc
2014-12-22Fix typoZolnai Tamás
Change-Id: I6b4b16a8ab4a446826e4b6d2670b1484cb87379a
2014-12-22bnc#862510: PPTX import: Wrong text vertical adjustment inside shape.Zolnai Tamás
When alignment is not specified, it should be set to the default "left" value just on time, when properties are pushed to the property set, otherwise uninitialized value is better. Change-Id: Ic294c5d7cc477f7515aea1c071ad9b67275c012d
2014-12-22bnc#862510: PPTX import: Wrong text color inside shapeZolnai Tamás
When theme index is 0, it means it's unset so we should not apply that. Change-Id: I62a9cd2a9b4c19f5acffc334d5e8263fe24fc8fd
2014-12-22bnc#822341: PPTX export of embedded text documentsZolnai Tamás
-Make embedded text documents exported by analogy with spreadsheet embedded documents. -Convert MS ole objects to LO sepcific objecst to allow exporting those ole objects too. Plus use gb_CppunitTest_use_rdb instead of wasting time on finding out which missing components cause test failing. Especcially when we have platform dependent components (e.g. related to embedded object) Change-Id: Ic76d659b51274777a1669c215344a1169ebcba81
2014-12-18sd: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: Ic402f5b5be1f657d9045091056bcb731b3407a9d
2014-12-15sd: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: I853f0c45e606297c966cd50d7086646c867596ec
2014-12-08Test also Impress export / import of images with special IDZolnai Tamás
Change-Id: If040bb32bb5289a282f315cd6ca90cbed76f9b8f
2014-12-07Test for linked graphic export / import of ImpressZolnai Tamás
To avoid regression fixed by: 02b17c1bbdd19a978b9de646c0dacdad179c60de It seems PPTX import is broken now. Change-Id: I17228f4d8511b43d028b9ed8a6e77505e6143860
2014-11-30PPTX import: fix import of shape line properties defined by themeZolnai Tamás
See also: 81cd386facedfbb15be6dffc10351262abf733f3 Change-Id: Ibb21d3e5b52a4d4996202acd4a989910fa223632
2014-11-30bnc#904423: Text(box) is rendered white on white when it is notZolnai Tamás
The problem was that the background color defined by theme was not imported correctly, because the different fill style comes from different sources (master slide, theme, direct formatting) were applied on the shape in wrong order. To solve this we need to store master slide defined fill style in a different variable so theme style can be applied after master slide defined style but before direct formatting. Change-Id: I99ea981858b9fa391915570187c8ddfdf2be1f7a
2014-11-28fdo#84043: add a test for the bugMichael Stahl
Change-Id: Ic9ad86bfc2d4d6b02afe99a34ded27fe94f54fab
2014-11-13add CVE-2014-6352 testcaseCaolán McNamara
Change-Id: I4f1ad13f73737a2c88d5b911f9df858a3427eac2
2014-11-13loplugin: cstylecastNoel Grandin
Change-Id: I071962c646199c30e842b9ec7673473de237ee45
2014-11-07Use SAL_N_ELEMENTSZolnai Tamás
Change-Id: I3d26823a93fd0925ef5e71affd941cd51219ab9e
2014-11-07Build fix againZolnai Tamás
Change-Id: Ia3ddea84b022a34709b6be14afb105bedeef0553
2014-11-07Build fix: back to C++98Zolnai Tamás
Change-Id: I5aa74c17f3274a130f76a25fc7bbb184b3f5c69b
2014-11-07Make these tests weaker to fix build.Zolnai Tamás
Image loss indicator is the "empty" URL. Change-Id: I0f8b037dc23bae3d7342d73cfafa4ecc55090ab6
2014-11-07Make SdrGrafObj swapping methods private.Zolnai Tamás
Plus remove some useless call of them. Change the tests accordingly. Change-Id: I47a50b5734d799ac02ee7221c95f82415afb9497
2014-11-07Test for swapped out image loss during Impress exportZolnai Tamás
Related to the bug fdo#52226. The problem was that the images were somehow swapped out but were not swapped in during export. Test the main Impress formats: ODP, PPT, PPTX Change-Id: I97ba98d0eb05ef2c1de3fbeaa527bc9f6f54d742
2014-11-07Do not check a referenceZolnai Tamás
Change-Id: I5baac12f97ea7fa36293844331ca548b7bc2cdfd
2014-11-05fdo#85813 drawingML export: fix handling of impress tablesMiklos Vajna
Change-Id: Ia17b14c4b27e808ceab388aa33602875e67433a5
2014-10-29remove unnecessary 'using namespace rtl' declarationsNoel Grandin
It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-21add CVE-2014-4114 testCaolán McNamara
Change-Id: I4d195f5ff7f9dc12747a8748915e82ab06d770fa
2014-10-14Resolves: fdo#84887 TabBar::ImplShowPage crashCaolán McNamara
Change-Id: I84250c6a40baeabd0d12958dfe0aea346d2b4fc8
2014-10-14add cgm loading testCaolán McNamara
Change-Id: Icb1732d867d86e2a1b180ce58cec4c91fc630881
2014-10-13oox: refactor embedded media importMichael Stahl
Currently the oox import creates a temp file and leaks it, and there is no way to clean it up afterwards. Unfortunately it turns out that SdrModel has no way to access the imported OOXML storage, so add a really ugly hack to get the embedded media into the SdrMediaObj by setting both MediaURL and PrivateStream properties (currently oox really wants to set the properties in alphabetical order too...) Change-Id: I5a235fbeb08e7bc17faf066de52b94867e9a79a2
2014-10-11sd: another temp-file leakMichael Stahl
Change-Id: Idcd31ea07c460aaecff3ea56072cf65e26040bda
2014-10-11sd: rename test classes to be uniqueMichael Stahl
Change-Id: I18d4f6af97fcfb9341711751a8d550e421f7a381
2014-09-30bnc#584721: invisible text because of wrong color (white)Zolnai Tamás
Color::getColor() method uses some caching mechanism which works wrong when the result depend on one of the input parameters. So avoid caching in these cases. Change-Id: Ifa9221e21e685715454de86d5cec09ff6c266307
2014-09-26bnc#897769: OOXML import: Import border lines using reference too.Matúš Kukan
Do not ignore 'lnRef' element. Also fix typo to apply 'seCell' properties to the right cell (southeast). Change-Id: Ia45f7016f358b70e6db06a232c569335ce9d7051
2014-09-25Fix validation problems pointed out by CppunitTest_sd_export_testsMiklos Vajna
Regression from e8bdd38882522591723097c028ca7a6927ee70c4 (fdo#83751-FILESAVE:Custom Properties dropped while exporting to .pptx, 2014-09-11), there were two problems here: 1) Using the wrong filter when the output is expected to be suitable for validation. 2) Writing empty custom property values, which is not valid. Change-Id: Ic18c789c53bd40cc8aa07385cb5fd0d5c7ada6ab
2014-09-25fdo#83751- Add test case for custom properties in pptxHeena Gupta
Change-Id: I83fb0462c662e0da1f1c5c6dfec4bd8d94d97b87 Reviewed-on: https://gerrit.libreoffice.org/11420 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-09-17bnc#591147: unit test for media files importMatúš Kukan
Change-Id: Ie45818c54d756628e9cbc2619e5ad43cedcac92c
2014-09-17bnc#584721: Import subtitle block to master slidesZolnai Tamás
For some reason subtitle block was skipped for layouts. It seems we can enable it for layout too, it appears well on master slides. Change-Id: I23ec7d4fcce045099bfca9e94a8c9335beaf7468
2014-09-17bnc#584721: Do not add extra title and outliner blocks to master slideZolnai Tamás
There are master slides / layouts imported from PPTX in which there is no title or body layout block, but so far Impress added these by default to the master slides if they were missing. Now they are skipped by the importer code. Change-Id: I256a4e78639ea39d0f87a94e6676422c7dbcde4a
2014-09-17bnc#584721: Right text inside the title area on master pageZolnai Tamás
With setting bClearText to true the default text used inside LO will be removed. Before that change the imported text was appended to the end of the LO default text. Now it contains only the imported text. Change-Id: I9f5eb0e20468a35c64130a433367cd3845ac7e3c
2014-09-12Keep files of failing tests aroundStephan Bergmann
(Arguably, such files should be stored in a workdir/CppunitTest/... directory removed and freshly created before every test run, instead of in TMPDIR.) Change-Id: I12e5073f4e8098cfd99456101fbc2d6ab919f093
2014-09-09bnc#480256: OOXML import: unit test for table background propertyMatúš Kukan
Change-Id: I97bf0bd1ea8cf8ece30a2fa328c5c7a8b0549a4a
2014-09-05CppunitTest_sd_import_tests: missing DoClose() callMiklos Vajna
This leaked two files in /tmp during every run. Change-Id: I8dc0574c210925fa5d6704ffad9c106186a50151
2014-08-29n#708518: sd: check that master page matches when setting parent styleMichael Stahl
In ODF import it happened that the parent style of "outline2" etc. was always set to the "outline1" style of the first master page in the document, but it should be the "outline1" style of the same master page as the "outline2". (regression from e955433c3574cb602dedba96bc645898f97858bf) Change-Id: Ie563d5ee5c2040aeb6ca5c8bb25b195e15ea964e
2014-08-28bnc#822347: Test for bullet character defined as '' - empty char.Tomaž Vajngerl
Change-Id: Ie771a5e53f04c0cd307d24a8bfc3ab7bc9a3094a
2014-08-28parseXml should return xmlDocPtr instead of htmlDocPtrTomaž Vajngerl
Change-Id: Ia9fb79ea40ca840d7328a078e747ad64a63d18f1
2014-08-28PPTX import: fix missing document metadataMiklos Vajna
Without this, the creation / modification date is lost on import. Change-Id: I0b74ac91aee7b8b3e0bc763247086a3a39816bc1
2014-08-17remove executable bitsThomas Arnhold
Change-Id: Iec785ae538de81325812b1e6fe33115789b39770
2014-08-16Consistently use size_t and SAL_MAX_SIZEMatteo Casalin
Change-Id: Ibab89984ec94556ec368653b6db50c6c2e380dec
2014-08-06Consistency around SdrOnOffItem in svx/sdasitm.hxxStephan Bergmann
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: Icdeff7f37901f99158bb00de5e912c181bf3e688
2014-08-04Consistency around SdrMetricItem in svx/sdtditm.hxxStephan Bergmann
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: Ib0234883d441be668700df5ccd0e855973dc5426
2014-07-19XFillStyle -> css::drawing::FillStyleMiklos Vajna
Change-Id: I6b2fabd72fd34f4ac1b3a18f386c90794bc39ce4