Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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_SHEET_XDATAPILOTDESCRIPTOR_HXX
11 : #define INCLUDED_TEST_SHEET_XDATAPILOTDESCRIPTOR_HXX
12 :
13 : #include <com/sun/star/uno/XInterface.hpp>
14 : #include <com/sun/star/uno/Reference.hxx>
15 : #include <com/sun/star/sheet/XDataPilotDescriptor.hpp>
16 :
17 : #include <test/testdllapi.hxx>
18 :
19 : #include <vector>
20 :
21 : namespace apitest {
22 :
23 16 : class OOO_DLLPUBLIC_TEST XDataPilotDescriptor
24 : {
25 : public:
26 : void testSourceRange();
27 : void testTag();
28 : void testGetFilterDescriptor();
29 : void testGetDataPilotFields();
30 : void testGetColumnFields();
31 : void testGetRowFields();
32 : void testGetPageFields();
33 : void testGetDataFields();
34 : void testGetHiddenFields();
35 :
36 : virtual css::uno::Reference< css::uno::XInterface > init() = 0;
37 :
38 : protected:
39 16 : ~XDataPilotDescriptor() {}
40 :
41 : private:
42 : static void testGetDataPilotFields_Impl( css::uno::Reference< css::sheet::XDataPilotDescriptor > xDescr );
43 :
44 : static void checkName( css::uno::Reference< css::container::XIndexAccess > xIndex, sal_Int32 nIndex );
45 : static std::vector<OUString> maFieldNames;
46 : };
47 :
48 : }
49 :
50 : #endif // INCLUDED_TEST_SHEET_XDATAPILOTDESCRIPTOR_HXX
51 :
52 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|