Branch libreoffice-5-0-4
[LibreOffice.git] / include / test / text / xtextcontent.hxx
blobf23852062548712be347105711a441b5e928e801
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 #ifndef INCLUDED_TEST_TEXT_XTEXTCONTENT_HXX
11 #define INCLUDED_TEST_TEXT_XTEXTCONTENT_HXX
13 #include <com/sun/star/uno/Reference.hxx>
14 #include <com/sun/star/text/XTextRange.hpp>
15 #include <com/sun/star/text/XTextContent.hpp>
17 #include <test/testdllapi.hxx>
19 namespace apitest {
21 class OOO_DLLPUBLIC_TEST XTextContent
23 public:
24 virtual ~XTextContent() {}
26 virtual css::uno::Reference< css::uno::XInterface > init() = 0;
27 virtual css::uno::Reference< css::text::XTextRange > getTextRange() = 0;
28 virtual css::uno::Reference< css::text::XTextContent > getTextContent() = 0;
29 virtual bool isAttachSupported() = 0;
31 void testGetAnchor();
32 void testAttach();
37 #endif // INCLUDED_TEST_TEXT_XTEXTCONTENT_HXX
39 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */