1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
12 #include <test/testdllapi.hxx>
14 #include <com/sun/star/text/TextContentAnchorType.hpp>
15 #include <com/sun/star/text/WrapTextMode.hpp>
16 #include <com/sun/star/uno/XInterface.hpp>
18 #include <com/sun/star/uno/Reference.hxx>
22 class OOO_DLLPUBLIC_TEST TextContent
25 TextContent(const css::text::TextContentAnchorType aExpectedTCAT
,
26 const css::text::TextContentAnchorType aNewTCAT
,
27 const css::text::WrapTextMode aExpectedWTM
, const css::text::WrapTextMode aNewWTM
)
28 : m_aExpectedTCAT(aExpectedTCAT
)
29 , m_aNewTCAT(aNewTCAT
)
30 , m_aExpectedWTM(aExpectedWTM
)
35 virtual css::uno::Reference
<css::uno::XInterface
> init() = 0;
37 void testTextContentProperties();
43 css::text::TextContentAnchorType
const m_aExpectedTCAT
;
44 css::text::TextContentAnchorType
const m_aNewTCAT
;
45 css::text::WrapTextMode
const m_aExpectedWTM
;
46 css::text::WrapTextMode
const m_aNewWTM
;
49 } // namespace apitest
51 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */