summaryrefslogtreecommitdiff
path: root/sw/CppunitTest_sw_ooxmlexport.mk
AgeCommit message (Collapse)AuthorFilesLines
2014-08-19try to fix windows buildLuboš Luňák1-1/+1
Change-Id: I7620d71fe34b5f7bbd9bf9bf63b634d85cdb4d6c
2014-08-19split CppunitTest_sw_ooxmlexport into several testsLuboš Luňák1-45/+2
In order to allow running them in parallel. There are already enough tests to make it run for a couple of minutes and it's annoying to see only once core busy with it. I intentionally left the original file at the same name, without 1 appended, in order to avoid merge problems. Change-Id: I097c45c34797cc68f5d1790cf31eefc96fbaf44e
2014-08-02fix deps for sw_ooxmlexport testDavid Tardon1-0/+7
Change-Id: I27f029ae68cad37c036fb048c7c19d39949f779e
2014-06-04DeInitVCL at end of testsStephan Bergmann1-0/+1
This required some changes to the framework: * Init-/DeInitVCL is no longer done per individual test in BootstrapFixture, but once per CppunitTest invocation in a new vclbootstrapprotector (similarly to the exisiting unobootstrapprotector). CppunitTests that need VCL now need to declare gb_CppunitTest_use_vcl. * For things to work properly, the UNO component context needs to be disposed from within DeInitVCL (cf. Desktop's Application::DeInit called from DeInitVCL). The easiest solution was to introduce an Application::setDeInitHook (where the hook is called from DeInitVCL) specifically for vclbootstrapprotector to call. * PythonTests don't (yet) call DeInitVCL; they still hook into BootstrapFixture's original test_init functionality (to call InitVCL), and do not make use of the vclbootstrapprotector. Change-Id: I4f3a3c75db30b58c1cd49d81c51db14902ed68b2
2014-05-01Simplify type detectorsMaxim Monastirsky1-0/+1
Change-Id: Ic731c1c4c76d8d6779868d7e3e4c02cb3cadc844 Reviewed-on: https://gerrit.libreoffice.org/9222 Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2014-02-26CppunitTest_sw_ooxmlexport: factor out drawing-related testcasesMiklos Vajna1-45/+4
As a start, moved 30 asserts to the new suite, still 378 is in the original one. Change-Id: I934bce63e286af3080ae014c3bd8f4f09866feb2
2014-02-21DOCX export: initial support for the DateField form controlMiklos Vajna1-0/+1
Before we started to import the date SDT as a form control, we exported what is now the HelpText property on the control. So as an initial step, export that back as plain text, without any formatting. Change-Id: I569e6690b0c580d8073611b48d610f87974145b3
2014-02-14Added unit test for fdo#73872:YogeshBharate1-0/+2
- Issue related to footer reference. - Added unit test to check footer1.xml.rels is contains in doc after roundtrip. - Also check Id = rId1 in footer1.xml.rels file. Conflicts: chart2/qa/extras/chart2export.cxx Reviewed on: https://gerrit.libreoffice.org/7851 Change-Id: I52fa8017abb7552c7752185873ff2bfb46689367
2013-12-31svx: Use constructor feature for SvXMLGraphicImportExportHelper.Matúš Kukan1-0/+1
Change-Id: Icc281ece80b81cdd95b6660c6a82077d283f5a62
2013-12-11fdo#60698: Merge fastsax and sax_shared into expwrapMarcos Paulo de Souza1-1/+0
Change-Id: I6f8c6827c00db50184a46f39968f882b944d18d4 Reviewed-on: https://gerrit.libreoffice.org/6967 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2013-10-18fdo#60698: Move fileaccess module to ucbMarcos Paulo de Souza1-1/+0
Change-Id: I4c688a4aeedcae56ed6404574bd1bb392d4190cb Reviewed-on: https://gerrit.libreoffice.org/6311 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-16oox: added methods to lock Smart-Art editionAndres Gomez1-0/+2
Added the possibility of rendering the basic shapes generated for a Smart-Art into a bitmap and replacing them with it in order to not letting to edit the Smart-Art. This possibility is controlled using a configuration parameter located at Options -> Load/Save -> MS Office -> SmartArt to LibreOffice shapes or reverse. Made the "oox" library to depend on the "drawinglayer" and "svx" libraries. Made the "ooxmlexport" C++ unit tests in the "sw" module to depend on the "drawinglayer" and "svx" components. Fixed to set to diagram type a new "oox::drawingml::Shape" representing a Smart-Art in the "getShape" method of the "oox::shape::ShapeContextHandler" class. Added the "keepDiagramCompatibilityInfo" and "renderDiagramToGraphic" protected methods to the "oox::drawingml::Shape" class. "keepDiagramCompatibilityInfo" is now called after an instance of type "FRAMETYPE_DIAGRAM" has added all its children in the "addShape" method and the proper setting is in place. "keepDiagramCompatibilityInfo" substitutes previous similar code in the "createAndInsert" method and also calls "renderDiagramToGraphic". The "renderDiagramToGraphic" renders the basic shapes in a Smart-Art into a PNG image and replaces these basic shapes with a new "GraphicObjectShape" filled with the new PNG image. It also sets the "MoveProtect" and "SizeProtect" properties of the "GraphicObjectShape". Change-Id: Ie4002238ff5fae758a5881b03735bf1f0721ed5b Reviewed-on: https://gerrit.libreoffice.org/6059 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-10-01gbuild: use .xcd configuration files from instdirMatúš Kukan1-2/+0
..instead of .xcu files in solver/*/xml/registry when running unittests and gengal. Change-Id: I390a6c531d653acca7ef3379c49fe65fcb8f3c2a Reviewed-on: https://gerrit.libreoffice.org/6057 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-08-26bnc#834035 DOCX export: fix hyperlinks of illustration indexMiklos Vajna1-0/+1
We used to export raw Writer bookmarks, but that's not valid in OOXML. Instead, it has normal bookmarks around the sequence fields, so use them if they are available. Change-Id: I0ef2ff7967c2802b53752c9505ef6db4cc2b8265
2013-05-06fdo#46808, Use service constructor for rendering::CanvasFactoryNoel Grandin1-0/+1
Change-Id: If6bebe0d2dfb30c3fffd0fb284cd766e3f315b49
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks1-23/+4
2013-03-18let toplevel 'make -sr CppunitTest_sw_ooxmlexport' (and friends) work againMiklos Vajna1-11/+11
Change-Id: I610ae1d3672f76435def025bd8819780df863dbe
2013-03-18sw: rename odf/ooxml/rtf/ww8 filter testsMiklos Vajna1-0/+107
The subsequent part of their name was misleading, as they are slowchecks, not subsequentchecks anymore. Change-Id: I2e5c1506d88b017e563adee9134905dc2b4e7d68