LibreOffice Module test (master)  1
textcontent.hxx
Go to the documentation of this file.
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.
4  *
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  */
9 
10 #pragma once
11 
12 #include <test/testdllapi.hxx>
13 
14 #include <com/sun/star/text/TextContentAnchorType.hpp>
15 #include <com/sun/star/text/WrapTextMode.hpp>
16 #include <com/sun/star/uno/XInterface.hpp>
17 
18 #include <com/sun/star/uno/Reference.hxx>
19 
20 namespace apitest
21 {
23 {
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)
32  {
33  }
34 
35  virtual css::uno::Reference<css::uno::XInterface> init() = 0;
36 
37  void testTextContentProperties();
38 
39 protected:
41 
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;
47 };
48 
49 } // namespace apitest
50 
51 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
TextContent(const css::text::TextContentAnchorType aExpectedTCAT, const css::text::TextContentAnchorType aNewTCAT, const css::text::WrapTextMode aExpectedWTM, const css::text::WrapTextMode aNewWTM)
Definition: textcontent.hxx:25
css::text::TextContentAnchorType const m_aNewTCAT
Definition: textcontent.hxx:44
css::text::WrapTextMode const m_aNewWTM
Definition: textcontent.hxx:46
css::text::TextContentAnchorType const m_aExpectedTCAT
Definition: textcontent.hxx:43
FILE * init(int, char **)
css::text::WrapTextMode const m_aExpectedWTM
Definition: textcontent.hxx:45
#define OOO_DLLPUBLIC_TEST
Definition: testdllapi.hxx:28