From 826d133ccfdf20bb9e317715c726c4a562674b0b Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 9 Dec 2013 13:54:37 +0100 Subject: drawingml import: handle w:b (found in docx groupshape textboxes) Change-Id: I105d068a6b8d454fac963cd30f6f812cf2b96170 --- sw/qa/extras/ooxmlimport/ooxmlimport.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sw') diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx index cc93d5b4aa05..5da974f35081 100644 --- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx +++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx @@ -11,6 +11,7 @@ #if !defined(WNT) #include +#include #include #include #include @@ -1614,6 +1615,7 @@ DECLARE_OOXMLIMPORT_TEST(testMceNested, "mce-nested.docx") uno::Reference xParagraph = getParagraphOfText(1, xText, "[Year]"); CPPUNIT_ASSERT_EQUAL(48.f, getProperty(getRun(xParagraph, 1), "CharHeight")); CPPUNIT_ASSERT_EQUAL(sal_Int32(0xffffff), getProperty(getRun(xParagraph, 1), "CharColor")); + CPPUNIT_ASSERT_EQUAL(awt::FontWeight::BOLD, getProperty(getRun(xParagraph, 1), "CharWeight")); CPPUNIT_ASSERT_EQUAL(drawing::TextVerticalAdjust_BOTTOM, getProperty(xGroup->getByIndex(1), "TextVerticalAdjust")); } -- cgit