summaryrefslogtreecommitdiffstats
path: root/sd/qa
Commit message (Collapse)AuthorAgeFilesLines
* tdf#92001 'Handles' contains array of PropertyValuesAndras Timar2015-06-123-0/+45
| | | | | | | Change-Id: I17ea45f2b1dd46a7f1c0f3ce8c680bef9ec533fa Reviewed-on: https://gerrit.libreoffice.org/16249 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
* indentation fixesMiklos Vajna2015-05-281-1/+1
| | | | Change-Id: I267bb8b66c6c568718cec3f292f0b63737693b37
* Coding style: removing the scope resolution operator in xDocShRef declarationsRobert Antoni Buj Gelonch2015-05-271-33/+33
| | | | | Change-Id: Ie88d2f3d6af3553976ebe0d299c4e9f31443cda6 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* CppunitTest_sd_tiledrendering: add search-not-found testcaseMiklos Vajna2015-05-271-1/+14
| | | | | | | Fails without commit c0cc9a8622a2cd0e3ba07e15a79dd65ca910b233 (sd LOKit callback for search not found, 2015-05-27). Change-Id: I26ce4eab3d0bf3abc4a59d0dd21d5f2f5de78017
* CppunitTest_sd_tiledrendering: add part switching testcaseMiklos Vajna2015-05-272-6/+30
| | | | | | | | Fails with the last hunk of commit 67a37be9969d8b5a0bc8ae081bc1aba697ea6ba5 (sd: fix LOK search result highlight when result is not on the current slide, 2015-05-26) reverted. Change-Id: I5f8b57784ad1de1434113af7f94c9fde8672b4d5
* tdf#90338 tdf#84254 DrawingML export fixAndras Timar2015-05-273-0/+562
| | | | | | | Change-Id: I610d8099f057a2a34a1f9573d8ac16b5b8da9fc7 Reviewed-on: https://gerrit.libreoffice.org/15918 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
* tdf#90607-Test Case for the patchCharu Tyagi2015-05-142-0/+26
| | | | | | | | Change-Id: Ifcd75cc47baf9da7b3480a4a1e51853aa66c3f1c Reviewed-on: https://gerrit.libreoffice.org/15458 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* tdf#80340: Table changes format in PPTX formatyogesh.bharate0012015-05-122-0/+25
| | | | | | | | | | | | | | | | | Problem: - If the PPTX contains embedded table i.e copied from excel, when we open it in impress it row height increase due to this table format changes. - Table contents empty row i.e without text, then row height increase because text height is added also added for empty row. Solution: - Added check whether row contents text or not. Change-Id: I9f8a99aa407384505f0075168cf64fd51b8b4c7b Reviewed-on: https://gerrit.libreoffice.org/14925 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* tdf#90246 PPTX paragraph and bullet leftMargin and Indentation is not exportedPriyankaGaikwad2015-05-123-0/+68
| | | | | | | | | | | | | | | | | Problem Description : XML Difference Original : <a:pPr marL="360000" indent="-456840"> After RT : <a:pPr> Solution : added support for marL and indent for paragraph and bullet. Change-Id: I1132d7b90ac1d7fc924f9a048f189e07e255e33b Reviewed-on: https://gerrit.libreoffice.org/15016 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* tdf#90174 FILESAVE: export of bullet color for pptxPriyankaGaikwad2015-05-112-0/+29
| | | | | | | | | | Added pptx export support for bullet color. Change-Id: I0c7713a6d2161e1ecbe0d7f5778e78791e9759cd Reviewed-on: https://gerrit.libreoffice.org/15169 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* tdf#90672: PPTX table cell border color is not exported.yogesh.bharate0012015-05-092-1/+6
| | | | | | | | | | | | | | | | | | Problem Description : XML Difference : Original : <a:solidFill> <a:srgbClr val="00B0F0"/> </a:solidFill> After Roundtrip : tag is missing Solution : Added support for table cell border color. Change-Id: I2baf969d7a8e46a0c5825d9f57bf135ec479c9eb Reviewed-on: https://gerrit.libreoffice.org/15364 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* tdf#90190 PPTX table cell border width is not exported.yogesh.bharate0012015-05-092-2/+59
| | | | | | | | | | | | | | | | | | | | Problem: - Table cell border width is not exported. i.e lnL, lnR, lnT, LnB are not exported inside the tcPr. XML Difference: Original : <a:lnT w = "76200"> After RT : tag is missing. Solution : Added solution for Table cell border width. Change-Id: I19185f2ad176325bf7990c9da6becc66557c717b Reviewed-on: https://gerrit.libreoffice.org/15350 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* tdf#90673:FILESAVE:PPTX Paragraph text direction right-to-left is not exportedPriyankaGaikwad2015-04-302-0/+37
| | | | | | | | | | | | | | | | | Problem Description: After RT 'rtl' tag of <a:pPr> are not exported XML Diff: Original : <a:pPr marL="457200" indent="-457200" algn="r" rtl="1"> RT : <a:pPr algn="r"> Change-Id: I307bc748c73127c311cabd127bb98e43bd298271 Reviewed-on: https://gerrit.libreoffice.org/15428 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Fix --disable-pdfimport buildTor Lillqvist2015-04-281-0/+10
| | | | Change-Id: I932f584ef3c054abe738d59e9957c3a40be1d2c9
* CppunitTest_sd_tiledrendering: add search testcaseMiklos Vajna2015-04-241-6/+68
| | | | | | | | This fails without ef9722558a33a6e88ed5ab76198f2698ddd1e003 (ImpEditView::SetEditSelection: fix missing tiled rendering selection callbacks, 2015-04-23). Change-Id: I5bf6bf6373e43e8551dd61d72d1f0012f92d2619
* tdf#90223:PPTX table cell left and right margin is not exported.yogesh.bharate0012015-04-212-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | Problem Description : - After roundtripping, when we open .pptx in MSO2010 or LibreOffice, tcPr marL & marR values doesnot exported. - Due to this cell text formatting changes. XML difference: Original : <a:tcPr marL="45720" marR="45720"> After RT : <a:tcPr/> Solution : Added support for table cell left and right margin. Conflicts: sd/qa/unit/export-tests.cxx Change-Id: I45f7b796155fd4445acbf19133954aadaf70890d Reviewed-on: https://gerrit.libreoffice.org/15015 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* tdf#90605 : FILESAVE:PPTX Line shape style was not exportedPriyankaGaikwad2015-04-212-0/+22
| | | | | | | | | | | | | | Problem description: <p:style> tag of line shape are not exported. It will export the line shape with no style. Fixed for export of line shape style Change-Id: I1ad8d8c3795f180964b551d7501465170e495c61 Reviewed-on: https://gerrit.libreoffice.org/15297 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Add SdXImpressDocument::resetSelection() testcase.Miklos Vajna2015-04-141-0/+26
| | | | Change-Id: I5bd6965bde1a5dcbe26abc197a67e09c06a2bb21
* Add SdXImpressDocument::setGraphicSelection() testcase.Miklos Vajna2015-04-142-0/+24
| | | | Change-Id: Ifdf3ef84cd886b338536629fb36ebba694916d6a
* tdf#90255 FILESAVE:PPTX 'startAt' tag for bullet numbering is not exportedPriyankaGaikwad2015-04-132-0/+26
| | | | | | | | | | | | | | | | | | | Problem Description : XML Difference Original : <a:buAutoNum type="arabicPeriod" startAt="3"/> Roundtrip : <a:buAutoNum type="arabicPeriod"/> Solution : Added export support for 'startAt' tag of <a:buAutoNum> for pptx. Change-Id: If86bce98e222795d851d4a5b3cbb65da5cee85fc Reviewed-on: https://gerrit.libreoffice.org/15028 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* loplugin:staticmethodsNoel Grandin2015-04-131-1/+1
| | | | Change-Id: I33a8ca28b0c3bf1c31758d93238e74927bebde9c
* Add SdXImpressDocument::postKeyEvent() testcase.Miklos Vajna2015-04-131-0/+28
| | | | Change-Id: I87edb9c4693b1634942d8dbda4050920f439cbbf
* loplugin:unreffunStephan Bergmann2015-04-071-0/+10
| | | | Change-Id: Id6370750cb42fdfb7b5b920e1a84317d0a2a4acb
* Add SdXImpressDocument::setTextSelection() testcase.Miklos Vajna2015-04-071-6/+36
| | | | | | | Also, avoid early dispose in testRegisterCallback(), that was just a hack as I did not find SdrBeginTextEdit(). Change-Id: Ic0576306297b4081979c2409c376867c7f530e2c
* Add SdXImpressDocument::postMouseEvent() testcase.Miklos Vajna2015-04-071-0/+35
| | | | Change-Id: I1bb371a897e71044d4acd05d7482b6a1c4bdcb4b
* Add testcase for sd::Window::LogicInvalidate().Miklos Vajna2015-04-072-0/+125
| | | | Change-Id: I1d2e6ed9691ca43abb18bdf04fcf5a6c73a66f18
* tdf#90403 PPTX import: use real table sizeAndras Timar2015-04-033-0/+5
| | | | | | | | | | | | | | PowerPoint ignores a:ext cx and cy value of p:xfrm, and uses real table width and height. PowerPoint 2010 saves files where cx and cy contains good values, but I found files in the wild whose cx and cy values did not match to actual table width and height, and there was a visible difference between rendering of Impress and PowerPoint. Change-Id: I3f80c0cea4cac46763d449f918bb78dca1a6562d Reviewed-on: https://gerrit.libreoffice.org/15123 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
* bnc#910045 wrong cell fill color defined by table styleZolnai Tamás2015-03-312-0/+23
| | | | | | | | | | Problems were with those table styles which used color themes to define cell fill color. Change-Id: Ibde90df81ff253ba65618dde4038093d1caabfe8 Reviewed-on: https://gerrit.libreoffice.org/15089 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
* bnc#902652 OOXML: fix import of insets when shape and/or shape text is rotatedAndras Timar2015-03-303-0/+310
| | | | | | | | | | | | 5ac575ee3e109 did not get it right, the vert attribute (i.e. the rotation of text) is relevant, not the rotation of the shape. In that case both text and shape rotation were 270 degrees. I checked that the bugdoc of bnc#773048 looked good after this. Change-Id: I6e0401cd138a82040df82d7da1a47311db7771e4 Reviewed-on: https://gerrit.libreoffice.org/15076 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
* Revert "tdf#90174 FILESAVE: export of bullet color for pptx"Stephan Bergmann2015-03-252-28/+0
| | | | | | | | This reverts commit 8707670cb39f5777cd54f8b180ec342416ef259f (plus follow-up 53e89ab25c0cd7df1b900a2e1048cfa402ea4353 "WaE: uninitialized nBulletColor") as it broke CppunitTest_sd_export_tests. Change-Id: Ib7433ba6e43b2f90767b0333dceb0f732d6659df
* tdf#90174 FILESAVE: export of bullet color for pptxPriyankaGaikwad2015-03-242-0/+28
| | | | | | | | | Added pptx export support for bullet color. Change-Id: I69306c8b3ace359f8dc243b83f89cfb570b9b73b Reviewed-on: https://gerrit.libreoffice.org/14966 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
* coverity#1291170 unchecked dynamic_castCaolán McNamara2015-03-211-0/+1
| | | | Change-Id: I6d141fcaff4877cfee6400f104d3c41fd967d6f3
* tdf#83889:FILEOPEN:PPTX bullet point is followed by spurious symbolPriyankaGaikwad2015-03-202-0/+25
| | | | | | | | | | | | | If we have first numeric bullet and then insert any symbol bullet on same level then suffix of numeric bullet continues with symbol bullet as well. Solution : Reset suffix to none if it is symbol bullet. Change-Id: I06dddec55c6f3d8cc1545d30f7228ca08cb81396 Reviewed-on: https://gerrit.libreoffice.org/14890 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
* tdf#89806 : Fixed background fill export for table cell.Sushil Shinde2015-03-202-0/+55
| | | | | | | | | | | | | | | 1. Table cell properties were exproted empty if file saved as .pptx file. 2. Now added code to export table cell fill properties in 'tcPr'(Table cell properties xml tag) 3. Added unit test to check exported table cell fill properties. Change-Id: Ica6005a65c7eefb8629c808f2a54764f98badb11 Reviewed-on: https://gerrit.libreoffice.org/14734 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* convert SFX_FILTER_ constants to enum classNoel Grandin2015-03-192-13/+13
| | | | Change-Id: I7e53cfc90cefd9da7d6ecd795b09214bd44b1613
* create new 'enum class' SotClipboardFormatId to unify typesNoel Grandin2015-03-182-8/+8
| | | | | | | | | | | | of which there are several. There are some issues here I am unsure of - the SW and SC and CHART2 modules essentially ignore the enum values and assign their own ids Perhaps I should change them to use the common values and create new enum values where necessary? - the sc/qa/ and sq/qa/ and starmath/qa/ code was doing some dodgy stuff. I translated the code to pass down the stuff numeric values to the underlying code, but perhaps further fixing is necessary? Change-Id: Ic06d723e404481e3f1bca67c43b70321b764d923
* Actually execute testPDFImportSkipImagesStephan Bergmann2015-03-051-0/+1
| | | | Change-Id: Ie3dda6d7ea24031eadf86801867a94f95c11310e
* Unit tests for PDF importMihai Varga2015-03-053-3/+52
| | | | | | | | | | | The PDF file consists of a text section followed by an image. So in the first test there should be 2 shapes (text and image) while in the second test which has the SkipImages filter option, there should be a single shape. Change-Id: I30ba0a832b665aa2fd5182b18778b485c62d7590 Reviewed-on: https://gerrit.libreoffice.org/14552 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* tdf#88836: UI: in-form navigation bar icons goneZolnai Tamás2015-02-074-7/+7
| | | | | | | | | Regression from: 6419c745e5e9802da264250d5e131fb9a3b6e4de Revert it and use IsEmpty() instead of operator!(). Change-Id: Icc4f5dbba848a1d4ef807e598f0aa3b940459c82
* shared_ptr<T>(new T(args)) -> make_shared<T>(args)Caolán McNamara2015-02-061-2/+2
| | | | | | and boost:make_shared->std::make_shared Change-Id: Ic1e187c52c856a7b27817967b2caa8920f23a98d
* font cache gets broken on adding an embedded fontCaolán McNamara2015-01-201-0/+0
| | | | Change-Id: I665cde5d4c89443238efb283c86277dedf621197
* This test fails for Windows, so skip it for now.Zolnai Tamás2014-12-221-0/+8
| | | | Change-Id: I33e480e756cd5cc88e119b47022646a4db3f4f96
* More typosZolnai Tamás2014-12-221-2/+2
| | | | Change-Id: Iffaca1b822d24247825250044fba3bdc07a051fc
* Fix typoZolnai Tamás2014-12-221-1/+1
| | | | Change-Id: I6b4b16a8ab4a446826e4b6d2670b1484cb87379a
* bnc#862510: PPTX import: Wrong text vertical adjustment inside shape.Zolnai Tamás2014-12-222-0/+35
| | | | | | | | | 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
* bnc#862510: PPTX import: Wrong text color inside shapeZolnai Tamás2014-12-222-0/+40
| | | | | | | When theme index is 0, it means it's unset so we should not apply that. Change-Id: I62a9cd2a9b4c19f5acffc334d5e8263fe24fc8fd
* bnc#822341: PPTX export of embedded text documentsZolnai Tamás2014-12-222-0/+37
| | | | | | | | | | | | | | -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
* sd: Use appropriate OUString functions on string constantsStephan Bergmann2014-12-183-7/+7
| | | | Change-Id: Ic402f5b5be1f657d9045091056bcb731b3407a9d
* sd: Use appropriate OUString functions on string constantsStephan Bergmann2014-12-151-1/+1
| | | | Change-Id: I853f0c45e606297c966cd50d7086646c867596ec
* Test also Impress export / import of images with special IDZolnai Tamás2014-12-082-0/+82
| | | | Change-Id: If040bb32bb5289a282f315cd6ca90cbed76f9b8f