LibreOffice Module test (master) 1
xformlayeraccess.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#ifndef INCLUDED_TEST_VIEW_XFORMLAYERACCESS_HXX
11#define INCLUDED_TEST_VIEW_XFORMLAYERACCESS_HXX
12
13#include <com/sun/star/form/XForm.hpp>
14#include <com/sun/star/uno/XInterface.hpp>
15
16#include <com/sun/star/uno/Reference.hxx>
17
18#include <test/testdllapi.hxx>
19
20namespace apitest
21{
23{
24public:
25 virtual css::uno::Reference<css::uno::XInterface> init() = 0;
26 void setForm(const css::uno::Reference<css::form::XForm>& r_xForm) { m_xForm = r_xForm; }
27
28 void testGetFormController();
29 void testIsFormDesignMode();
30 void testSetFormDesignMode();
31
32protected:
34
35private:
36 css::uno::Reference<css::form::XForm> m_xForm;
37};
38
39} // namespace apitest
40
41#endif // INCLUDED_TEST_VIEW_XFORMLAYERACCESS_HXX
42
43/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
void setForm(const css::uno::Reference< css::form::XForm > &r_xForm)
css::uno::Reference< css::form::XForm > m_xForm
virtual css::uno::Reference< css::uno::XInterface > init()=0
#define OOO_DLLPUBLIC_TEST
Definition: testdllapi.hxx:28