diff options
author | Aron Budea <aron.budea@collabora.com> | 2017-06-06 23:10:02 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-06-08 09:22:59 +0200 |
commit | 4df450c276a7895c24ed022a23d236cd88dbad1c (patch) | |
tree | 20bba03a3171c9c5875ed4fa59de620fe2123487 /sw/qa/extras/ooxmlimport | |
parent | f6f52c526cda640dd7595abd45727cb615c2b167 (diff) |
tdf#99074: export Web view to DOCX
...so document saved in Web view shows in Web Layout in Word.
Change-Id: If39d566be02966fe5d22f74aee46e6d5452a9451
Reviewed-on: https://gerrit.libreoffice.org/38469
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw/qa/extras/ooxmlimport')
-rw-r--r-- | sw/qa/extras/ooxmlimport/data/tdf99074.docx | bin | 12608 -> 0 bytes | |||
-rw-r--r-- | sw/qa/extras/ooxmlimport/ooxmlimport.cxx | 12 |
2 files changed, 0 insertions, 12 deletions
diff --git a/sw/qa/extras/ooxmlimport/data/tdf99074.docx b/sw/qa/extras/ooxmlimport/data/tdf99074.docx Binary files differdeleted file mode 100644 index d7be418fb153..000000000000 --- a/sw/qa/extras/ooxmlimport/data/tdf99074.docx +++ /dev/null diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx index 08d292b05196..9c61378ae245 100644 --- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx +++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx @@ -46,7 +46,6 @@ #include <com/sun/star/style/ParagraphAdjust.hpp> #include <com/sun/star/text/SizeType.hpp> #include <com/sun/star/util/DateTime.hpp> -#include <com/sun/star/view/XViewSettingsSupplier.hpp> #include <com/sun/star/document/XFilter.hpp> #include <com/sun/star/document/XImporter.hpp> #include <vcl/bitmapaccess.hxx> @@ -1137,17 +1136,6 @@ DECLARE_OOXMLIMPORT_TEST(testTdf98882, "tdf98882.docx") CPPUNIT_ASSERT_EQUAL(nFlyHeight, nContentHeight); } -DECLARE_OOXMLIMPORT_TEST(testTdf99074, "tdf99074.docx") -{ - uno::Reference<frame::XModel> xModel(mxComponent, uno::UNO_QUERY); - uno::Reference<view::XViewSettingsSupplier> const xController( - xModel->getCurrentController(), uno::UNO_QUERY); - uno::Reference<beans::XPropertySet> const xViewSettings( - xController->getViewSettings()); - // This was false, Web Layout was ignored on import. - CPPUNIT_ASSERT(getProperty<bool>(xViewSettings, "ShowOnlineLayout")); -} - DECLARE_OOXMLIMPORT_TEST(testTdf100830, "tdf100830.docx") { // FillTransparence wasn't imported, this was 0. |