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 
22 namespace apitest
23 {
25 {
26 public:
27  virtual css::uno::Reference<css::uno::XInterface> init() = 0;
28  virtual css::uno::Reference<css::uno::XInterface> getXMSF() = 0;
29 
30  void testRefreshArrows();
31 
32 protected:
34 
35 private:
36  bool hasRightAmountOfShapes(const css::uno::Reference<css::drawing::XDrawPage>& xDrawPage,
37  sal_Int32 nElementCount, sal_Int32 nShapes);
38  static void dispatch(const css::uno::Reference<css::frame::XFrame>& xFrame,
39  const css::uno::Sequence<css::beans::PropertyValue>& rArguments);
40  css::awt::Point m_Position;
41 };
42 } // namespace apitest
43 
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
FILE * init(int, char **)
#define OOO_DLLPUBLIC_TEST
Definition: testdllapi.hxx:28