LibreOffice Module test (master) 1
xdocumentauditing.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 <com/sun/star/awt/Point.hpp>
13#include <com/sun/star/beans/PropertyValue.hpp>
14#include <com/sun/star/drawing/XDrawPage.hpp>
15#include <com/sun/star/frame/XFrame.hpp>
16#include <com/sun/star/uno/XInterface.hpp>
17#include <com/sun/star/uno/Reference.hxx>
18#include <com/sun/star/uno/Sequence.hxx>
19
20#include <test/testdllapi.hxx>
21
22namespace apitest
23{
25{
26public:
27 virtual css::uno::Reference<css::uno::XInterface> init() = 0;
28
29 void testRefreshArrows();
30
31protected:
33
34private:
35 bool hasRightAmountOfShapes(const css::uno::Reference<css::drawing::XDrawPage>& xDrawPage,
36 sal_Int32 nElementCount, sal_Int32 nShapes);
37 static void dispatch(const css::uno::Reference<css::frame::XFrame>& xFrame,
38 const css::uno::Sequence<css::beans::PropertyValue>& rArguments);
39 css::awt::Point m_Position;
40};
41} // namespace apitest
42
43/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
virtual css::uno::Reference< css::uno::XInterface > init()=0
#define OOO_DLLPUBLIC_TEST
Definition: testdllapi.hxx:28