summaryrefslogtreecommitdiff
path: root/sd/qa
AgeCommit message (Collapse)Author
2016-01-15ugh, forgot to git add the test documentMichael Stahl
Change-Id: Ia10730e07de3bd86f54c7fc0ba5ae55f350ce149
2016-01-15oox: export Math objects to PPTX filesMichael Stahl
These hit the assert in lcl_StoreOwnAsOOXML now so better implement some export. Change-Id: I10c005a547e8a85f2a82198a49f9a03fc46a61d7
2016-01-14editeng: handle SdrModel::isTiledSearching()Miklos Vajna
Given that the edit/outliner views can come and go, avoid the lifecycle problems with just passing a pointer to the sdr model to editeng, and then it'll always have the up to date "are we searching" information. editeng can't depend on svx, so provide an interface class SdrModel can implement. Change-Id: I3b98011593b00ac0fab05b6b9c591dd20d94c579
2016-01-14sd: clean up remaining non-static isTiledRendering() usageMiklos Vajna
Change-Id: I36b0edc55b9c275bef5cf82af2bdf0ccb3ebe621
2016-01-11lool - search all - unit test failure - solvedMarco Cecchetti
Change-Id: I5a74dd60f61fc0fdb88f08383d579b14222aa55d Reviewed-on: https://gerrit.libreoffice.org/21365 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
2016-01-11sd: with any luck the OLE test should run on WNT now tooMichael Stahl
... with the new implementation in oox. Change-Id: I65aca6e4151ad7383d45c60430132a45ae3a001e
2016-01-11sd: enhance the OLE object test to also test the exported XMLMichael Stahl
Needs adding various helpers to be able to use XPath. Change-Id: Ifa7b1e5434fb253430da2bfcc5d38ea347d437af
2016-01-10Fix typosAndrea Gelmini
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-07svx: fix windows build, rename SvxEscapementItem::GetProp()Michael Stahl
90e07dd6f5d64a0d0041361c1592a6cd93ff2ac0 introduced a new unit test which calls SvxEscapementItem::GetProp(), and apparently the unit test also #includes windows.h somehow, so GetProp macro is defined to GetPropA and that fails to link since SvxEscapementItem doesn't have this member function. Thank you, C preprocessor, you barbarous relic. Change-Id: I6fd8e9d832ed5e1ce1a4fa7f1516c55d51a3283b
2016-01-07Avoid loplugin:unreffunStephan Bergmann
...with be343661b076f3f57e7eb9ca1a5a4d3529752b58 "Disabled the test for a moment." Change-Id: Ic1b60f5590431f2edea4a65c62fdeb8eda256987
2016-01-07Disabled the test for a moment.Jan Holesovsky
Change-Id: I251d079d6362cf09d014623663cf9355a9c79a2e
2016-01-05tdf#96708: don't modify document while copying to clipboardMike Kaganski
I.e., don't try to create auto-layout for clipboard pages which don't contain one; don't resize objects to text. Also, don't invalidate items that are equal to defaults, because explicitly set items are not the same as absent items: pasting an object without an item makes the property to inherit new target's default, while when the item is present, the default doesn't apply. Also, don't consider selected state of the page while stringifying - this makes selected page string to differ from not-selected clipboard page. Change-Id: I172e03e1a8c428e5fcae3a116cc9ad8de79f1a87 Reviewed-on: https://gerrit.libreoffice.org/20871 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-12-22tdf#96051: FILESAVE: Roundtrip any PPTX file with Shapes creates invalid OOXMLZolnai Tamás
Revert "bnc#584721: Import subtitle block to master slides" This reverts commit b3d50feaa87b670baf68288974005ac26ad31736. It seems the imported subtitle block makes export corrupt the output. Better to have a valid output. Change-Id: I1a3d4f03e4fa0c4431a5394495682a1b9d7677bc
2015-12-19svg export: transition not displayed when switching from last to first slideMarco Cecchetti
Some transition, such as those involving clipping, is not displayed when switching from last to first slide. That is due to the fact that the leaving slide (the last one) is over the entering slide (the first one). The issue has been solved by hiding the last slide and placing a view to it (svg:use) behind the first slide. The text decoration unit test has been modified. Change-Id: Iac1d23a1b9834c301b8ae511ea3f81397e5a4229 Reviewed-on: https://gerrit.libreoffice.org/20705 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
2015-12-18editeng: clean up no longer necessary isTiledRendering() member functionsMiklos Vajna
Change-Id: I4bf3e9bd9cbf2b32d79cebd5ba0a818b1f4970c2
2015-12-14tdf#96206: Avoid scaling objects while copying to clipboardMike Kaganski
... to prevent duplicating masters on slide copy-paste. Also fixed a 10-year copy-paste error (pRefPage wasn't replaced with pNPage). Fixed argument evaluation order issue (aStream.GetEndOfData() depends on Flush() but doesn't call it, so will return incorrect result if called before aStream.GetBuffer()). Replaced compare of hashes with results of stringify(), because it removes useless overhead (hashes are calculated from stringify() anyway, and are not cached anywhere). Removed Flush() called from SvMemoryStream::GetBuffer(), because it calls GetData(), which calls Flush() itself. Thanks to Andras Timar for unit test framework. Change-Id: Ia46d4e9a017fc628d424949a9d229045a249a4ca Reviewed-on: https://gerrit.libreoffice.org/20367 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-12-10svg export: transition on first slide are not run - fixedMarco Cecchetti
A dummy slide has been added to be used as leaving slide for transition on first slide. SVGExportTextDecorations unit test - fixed wrong XPath. The new dummy slide group element caused the xpath to the slide group to be wrong. Change-Id: I6c1a0a80f71a79668c309bc0bcb3d5e588ef3a39 Reviewed-on: https://gerrit.libreoffice.org/20560 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-12-09svg export: no more an experimental featureMarco Cecchetti
Removed experimental feature check. Single slide exporting works as for multi slides exporting. SVGExportTextDecorations unit test - fixed wrong XPath The new way single slide are exported caused the xpath to the slide group to be wrong, Change-Id: I4db4dc77de4f0d1208418455e1fca3b5732c8477 Reviewed-on: https://gerrit.libreoffice.org/20459 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-12-07Let LIBO_INTERNAL_ONLY imply LOK_USE_UNSTABLE_APIMiklos Vajna
Change-Id: Ifbed5e534ba79d32b7188bb7fb7108338b6e124d
2015-11-28tdf#95356: unit test about text decorations for svg exportMarco Cecchetti
1) Fixed the trailing space issue in text decoration attribute value. 2) Changed the SVG export suite in order to make it more reusable for other tests. 3) Added a unit test for testing that text decorations are exported correctly. Change-Id: I2bd71974242a0007726fbdd5ef5637a9ec62fd47 Reviewed-on: https://gerrit.libreoffice.org/19870 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-11-21tdf#92527 unit testAndras Timar
Change-Id: I05eb8e99d919eea267df174e948cec29bdf04e75 Reviewed-on: https://gerrit.libreoffice.org/20100 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-11-18pptx: import/export of honeycomb slide transitionTomaž Vajngerl
Change-Id: I3edb77d5b046691e64d600d61dcd44e892c31301
2015-11-18vcl::ITiledRenderable::initializeForTiledRendering: support init. argumentsMiklos Vajna
Change-Id: I9a6a75457078dc6383673f4c1a2012b69b5cefdd
2015-11-17loplugin:nullptrStephan Bergmann
Change-Id: Iaf31a731c9151972ba2fe2ed50074ea59c147550
2015-11-17WaE: loplugin:stringconstantTor Lillqvist
Change-Id: I8765ae89bcab8dc3c7360dace57a57094e5c5cc4
2015-11-17tdf#94272: Reduce copy'n'pasta code in sd unit testsKatarina Behrens
Change-Id: Id1a1180e00a1c1ce7020df52f246b0c135ba03f2 Reviewed-on: https://gerrit.libreoffice.org/19912 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-11-13slideshow: add "glitter" slide transitionTomaž Vajngerl
Change-Id: Ie89b64c4399cd0092eee579660c9fe85f8ca8e73
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: If1b80da64ba575f07b31dce9bc0e34b7eb9f11a4
2015-11-09pptx: "fall" transition, which needed p15 namespaceTomaž Vajngerl
Added p15 namespace which is present in MSO 2013+ documents. It adds a "prstTrans" element with a string "prst" attribute which is a name of the transition to be performed. This was added to support "fall" transition which translates to "fallOver" preset transition. Change-Id: I429bb106a12c1b99cce756502508e917720daef3
2015-11-09pptx: import "Vortex" and "Ripple" transition + testTomaž Vajngerl
Change-Id: I29d71e9c07c4964275c13772cdb6042624550acb
2015-11-08loplugin:defaultparamsStephan Bergmann
Change-Id: Ia4f51a3599afa6ffe7b689a8703a9634b4fb082d
2015-11-08pptx: inside/outside turning cube transition testTomaž Vajngerl
Change-Id: Ida476a8e5a761c7721949b259b95184a88cc4e41
2015-11-08pptx: import/export of "cut through black" transitionTomaž Vajngerl
"Cut through black" is not supported in ppt so we detectit only in pptx specific export code. This needed some changes in the pptx code for exporting transitions. Change-Id: Ibc7361311017b3ffadd289db4e8ae233e1101ea8
2015-11-08pptx export: properly assert transitionsTomaž Vajngerl
Change-Id: Ia793d51c7df6987763fc37c8d73a98ae94a4822a
2015-11-08pptx: add a testcase for wipe transitions import/exportTomaž Vajngerl
Change-Id: Ic82b95fc676957f26ce5e09b2343ba71b775c1b0
2015-11-08pptx: export/import newsflash and comb slide transitions + testTomaž Vajngerl
Change-Id: I8ec2e1bc6d6f46f741252085f68edc6c284124b6
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann
Change-Id: I60f792a9047d8d9ad9cfc2a442c4dd179efec53a
2015-11-05sd: add support for svg export unit testsMarco Cecchetti
Change-Id: Iafeaecad612b724c4eeb85e0c01c942afb6445d8
2015-11-04yyyyyNoel Grandin
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
2015-10-29com::sun::star->css in sdNoel Grandin
Change-Id: Ic0cbc857a3a9c66241b94c30bf8c859435f5a4b4
2015-10-16sd tiled rendering: emit CALLBACK_TEXT_SELECTION on multiple search resultsMiklos Vajna
Change-Id: Ib6be973bf7c911907c793571b84021dc317dcc80
2015-10-15sd tiled rendering: implement CALLBACK_SET_PART for find-allMiklos Vajna
Change-Id: I607b3719e0f508f9ae24db7482323847aa8e2491
2015-10-15sd tiled rendering: let find-all at least select the first match physicallyMiklos Vajna
The LOK API can describe a multi-selection, so find-all can signal all matches, editeng can have a single selection only. Instead of having no selections after a find-all, select the first match, so e.g. copy works. Change-Id: I0eab2565916f0c3cce5d77279c0d927ad4b7054c
2015-10-14LOK: include part numbers in CALLBACK_SEARCH_RESULT_SELECTION payloadMiklos Vajna
Without that, the result in Calc/Impress is ambiguous. Change-Id: I8dfd8dafc996102ed583688fddd721c7600dc48c
2015-10-13CppunitTest_sd_tiledrendering: CALLBACK_SEARCH_RESULT_SELECTION testcaseMiklos Vajna
Change-Id: I8a2fcaad5806ef204cdac0f6eaac615d50d6d9e8
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Related: tdf#74132 CppunitTest_sd_export_tests: clean up testSearch()Miklos Vajna
Not needed anymore since the dialog is gone. Change-Id: Icd3747683d2656a9404b405fc29aae6183dcfe15
2015-10-09xmloff: fix ODF import of gradient draw:angle attribute a bitMichael Stahl
ODF 1.2 part 3, 18.3.1 angle, says "An angle, as defined in §4.1 of [SVG]" and "If no unit identifier is specified, the value is assumed to be in degrees." Unfortunately OOo could only read and write 10th of degree here. See also https://issues.oasis-open.org/browse/OFFICE-3774 As the first step towards fixing that, implement the import for draw:angle values with an angle unit identifier, but leave the import as-is if the angle identifier is missing. Change-Id: Ib88d417c03998ebcfc569b01492f0e1f851bbc85
2015-09-18check stream status and string lengthsCaolán McNamara
Change-Id: I99f3d4a2ec760228f485d01fce856deb9c068431
2015-09-14tdf#91293: Preserve hyperlink on URL field OOXML exportKatarina Behrens
The fix is twofold: 1.Get URL property from the underlying text field, not from the text run -- put text field properties into rXPropSet (that's what GETA macro later queries), not into rRun 6a043e9c0acff20e1618ca8ec15c21d5d0fd0d37 does s/rXPropSet/rRun/ afaics for no good reason 2. Retrieve string content from URL field early, so that the test for empty text content doesn't fire Change-Id: I4317e4a2f6f2e6f15c30932adc80f1227e010af0 Reviewed-on: https://gerrit.libreoffice.org/18031 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>