summaryrefslogtreecommitdiff
path: root/sd/qa
AgeCommit message (Collapse)Author
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
2014-07-17fix build failureMarkus Mohrhard
Change-Id: I95af4c2750c01e3e48f6708306b25f774c29e592
2014-07-17make the temp file names random in sd testsMarkus Mohrhard
All the temp files got the same names for the temp files which might conflict when two tests try to get teh same temp file at the same time. Additionally it makes the dbgutil check by Norbert for finding leaked temp files useless. Change-Id: I692107f7705787c360247785b8d95daf4199c2a6
2014-07-16Update test data to match my gradient handling changeTor Lillqvist
Thanks to vmiklos for pointing me to the instructions. Change-Id: Ic95ef443beceb9a30e4179cf2364bd753992c05e
2014-07-15Unit test for cell properties, where lastRow is used in table (bnc#887225)Matúš Kukan
Change-Id: Ia11dadcbedf6acc035b2d86da39a115bdb298591
2014-07-04make the validation working correctlyMarkus Mohrhard
We still have ODP validation errors of the form: Change-Id: Id60df0e07a0b6d3fd2613d5c66698a6cd9b99afd Error: attribute "draw:fit-to-size" has a bad value. Possible values are: false,true
2014-07-04remove unused header fileMarkus Mohrhard
Change-Id: I78c2462f56fb4b5792f396bb7e0dd2c0fd237420
2014-07-04enable ODP export validation in sd export testMarkus Mohrhard
Change-Id: I849d2f0d8631cfb91326d80e554c9ce55940abd8
2014-07-04split sd's import and export testsMarkus Mohrhard
Change-Id: I06d5b02ec94c7bb74b64cd210267acf2be1a4931
2014-07-04extract a bit more codeMarkus Mohrhard
Change-Id: I24da9b5e8594d34ff7d5c3f958c2fd1c5cad1908
2014-07-04extract some shared codeMarkus Mohrhard
Change-Id: Idfbbee6dc0bd5a63ae46ea8375270a475ef3521b
2014-07-04fix wrong operator<< for ColorMarkus Mohrhard
Change-Id: Iccaf173fc15466f8d0604e3d0e4cd2c790902db4
2014-06-25remove whitespacesMarkus Mohrhard
Change-Id: I9daea42a433b5032931a722878874917cf37f4d1
2014-06-24bnc#882631: Do not hide top of the first row when editing text in table cells.Matúš Kukan
This can happen when proportional line spacing is less than 100% and "FontIndependentLineSpacing" is set, so just keep the height of the very first line in case of IsFixedCellHeight() too. Change-Id: Id231fc1f2373645e5420f877e8c2568ce8a1f099
2014-06-21Revert "bnc#882631: keep line visible if proportional line spacing is < 100%."Matúš Kukan
This reverts commit 339e5d44a2afa0f5309a970f1ff11968103e336a and commit d1987a3eaccfc3add35e6b9f8307ede857c5468e "fix sd_import_tests after e42c05c1f96832572e525d85d89590f56f5a29dd". It would need more work and understanding, so just revert. Also, the problem with bnc#882631 is somewhere else, though this helped too.
2014-06-17fix sd_import_tests after e42c05c1f96832572e525d85d89590f56f5a29ddMatúš Kukan
Change-Id: Ife852a6c7c360c66a7d7d5b144f18898398505dd
2014-06-16Revert "Make glTF support an experimental feature"Zolnai Tamás
Actually make it experimental mode was unecessary on master. This reverts commit 653bac184f579524bc25a9f40281763a736ae6fd. Conflicts: sd/qa/unit/import-tests.cxx xmloff/source/draw/ximpshap.cxx Change-Id: Ie8747745a9a89ce4d6500a35d15a98e28bda840a
2014-06-16Reduce test doc size, use a simpler gltf modelZolnai Tamás
Change-Id: I5bd78343728f8a4d68610397a7be328826a0334c
2014-06-16Fix gltf export: close plugin element before export fallbackZolnai Tamás
Change-Id: I2e1f27e535ee45259f7bdf783ea5224b2ad559ef
2014-06-16glTF import/export: fallback must be the second one inside the frameZolnai Tamás
The previous solution was good because older LO versions import the fallback image without changing their code, but it came out it does not fit to ODF standard so export fallback image as the second object after the glTF model. Change-Id: Ib9b2044b1f36b32d980cb79f6dac8dcf94d6209b
2014-06-16glTF export: Use plural folder namesZolnai Tamás
Change-Id: If17628395ede512c00b666efc5511d9711edfb5a
2014-06-15Fix --disable-gltf buildZolnai Tamás
saveAndReload tests export, which is needed only when gltf support is enabled. Change-Id: I08152c12db77ad2fc623f2699784b968378686db
2014-06-12Change glTF mime type: {application -> model}/vnd.gltf+jsonZolnai Tamás
There is no an accepted mime type for glTF models yet, so follow collada's mime type: model/vnd.collada+xml. Change-Id: I1e23a95dbb0caea781dade819f8e08235cb5c1dc
2014-06-12Make glTF support an experimental featureZolnai Tamás
Change-Id: I75e69ba1acafbab8362536f02f4d39a8fc2deed1
2014-06-12Introduce HAVE_FEATURE_GLTF to enable/disable gltf related codeZolnai Tamás
When it is a release build then enable it only on Windows and Linux. Change-Id: I7c462aeb75e6ab60eeaa0fa42ca7853a6369b742
2014-06-10Related bnc#862510: extend handling of txXfrmZolnai Tamás
We don't actually need to check mbAnchorCtr to change text spacing. This txXfrm workaround works only with rectangles, because other shapes' text area can be smaller then the shape size. So add some condition to avoid using it for other shapes. Plus fix typos cause regression introduced in: 53c376d35b7223d53e8c9403390afe53d1f69089 Change-Id: I87917b8e0b2bb97ae1bba773e7dda7f81682736f
2014-06-06html export: More standard time specification in <meta/>.Jan Holesovsky
Change-Id: I1a62d12531029cc36fb8aeabecb9d92a8af837f7
2014-06-06sd html: Unit test for the metadata export.Jan Holesovsky
Change-Id: I1e38e28b57e816a0829d1a56f2ffcb32d8f93718
2014-06-06bnc#880763: PPTX import: wrong z-order becuause of wrong import orderZolnai Tamás
importExtDrawings() must be called as soon as possible, before parser starts to parse the next shape. Call it when graphicFrame tag is closed. This tag include the reference to the SmartArt. Plus fix up import tests. Change-Id: I9e8d54c2b1afeb78a1122390dc4982d580c152ae
2014-06-06c++03 vs c++11 enum namespacingCaolán McNamara
Change-Id: I91be0e7d2b013221b1d47a5cd1e4e75eb16c2b67
2014-06-062nd part of bnc#870233: import font color from color fragment for SmartArtsZolnai Tamás
SmartArt import ignores some fragments during import if drawing fragment exists, which seems to be not complete. In this case font style is blank (white) in data (and drawing) fragment and the real value is defined in the ignored color fragment. So first make color fragment parsing work, then apply font color of "node0" style on nodes of the SmartArt. Actually, it's a workaround, because "node0" style label is hardcoded, for a proper solution layout fragment should be parsed too to get the right style label, but it interferes with the drawing fragment by now. Change-Id: I7db89176a07eee928563d42d3896fbd02190dfa8
2014-06-061th part of bnc#870233: wrong list style in shapesZolnai Tamás
Text list styles were copied, without proper copy constructor and operator. It lad to mix up list styles and so text font. Change-Id: Iee7a6c0c1f74322fd7b80e41a262849f948e463a
2014-05-30bnc#870237: wrong text position in grouped listZolnai Tamás
In grouped list text area does not cover the whole shape but just a part of it at the top. To get the same visual effect modify text distance attribute. Change-Id: I32f30d0afbc1975f940c4562ec65f46596e97060
2014-05-15sd html test: move local vars on top, clean-upTomaž Vajngerl
Change-Id: Iac393561337825e316a974801a6061944b8fd72a
2014-05-14Unify utl::TempFile ctorsStephan Bergmann
Change-Id: I0a781a86804808cebf7756506d9299971c13e2ff
2014-05-09coverity#1209803 Dereference before null checkCaolán McNamara
Change-Id: Ie6435770edc709feba2ad191e00e03d637cf6154
2014-04-29tests: add XML and HTML test tools to test moduleTomaž Vajngerl
XML and HTML parsing and XPath asserts are used by many test in sw, sc and sd modules. This commit moves this functionallity to test module, where it is available to all modules. Change-Id: I53ad9c45b24f4c9bf106cb58ea619002968bfeda
2014-04-24sd: sal_Bool->boolNoel Grandin
Change-Id: I3172a42f6b6abe434ffe0475d1201ff50b6c06ea
2014-04-23fix sd layout unit testAndras Timar
Change-Id: Ica34592788005cc3c96987b1c6c9625dd6359c76
2014-04-17remove executable bitAndras Timar
Change-Id: I91f6e861f6d0dbea1b57ac73857e0c706b27f681
2014-04-16fdo#77027: ODF import: fix wrong version in check for embedded objectsMichael Stahl
SvXMLImport::LO_4x does not mean 4.0+ any more. (regression from 92cb21ebeda98c5193c50c4cf7ef3d60611c2a52) Change-Id: Ib444762c2d6e4d051e99962eaff1b1ed34af983a
2014-04-15Remove unused codeStephan Bergmann
Change-Id: Ie16056c7e6716831a0ba61c1f22ded978fb5f3c2
2014-04-13sd html: impress html export testTomaž Vajngerl
Change-Id: I710868b4cb19cec2820c3cf699dd5d855e3da7e2
2014-04-04ODP filter test: embedded media and glTF modelZolnai Tamás
Change-Id: I2340fa5a20a5774e5db78940cf7d4dc584f09b82
2014-04-04SdFiltersTest: reduce code duplicationZolnai Tamás
Change-Id: I95ddae64001015f911494e11fa15373dfaedd6ba
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-04-01prevent leaked tmp files from sd import testMarkus Mohrhard
Change-Id: I6365924420f636c8db556d0bce02b2131e540f2c
2014-03-28Add unit test for text gradfill import.Muthu Subramanian
Change-Id: I803238fd21d1c73aae8146966a5e62e62ad48c5c