Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / include / test / sheet / xdocumentauditing.hxx
blob7d443bf820060fcf37b2d4589abebe20cb3648ac
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.
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 #pragma once
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>
20 #include <test/testdllapi.hxx>
22 namespace apitest
24 class OOO_DLLPUBLIC_TEST XDocumentAuditing
26 public:
27 virtual css::uno::Reference<css::uno::XInterface> init() = 0;
29 void testRefreshArrows();
31 protected:
32 ~XDocumentAuditing() {}
34 private:
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;
41 } // namespace apitest
43 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */