tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / include / test / text / textcontent.hxx
blobe6333d60e4782df41a817a413a9d960bc1616dfe
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
2 /*
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/.
8 */
10 #pragma once
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>
20 namespace apitest
22 class OOO_DLLPUBLIC_TEST TextContent
24 public:
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)
31 , m_aNewWTM(aNewWTM)
35 virtual css::uno::Reference<css::uno::XInterface> init() = 0;
37 void testTextContentProperties();
39 protected:
40 ~TextContent() {}
42 private:
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: */