nss: upgrade to release 3.73
[LibreOffice.git] / include / test / sheet / xnamedranges.hxx
blob8d02773f8eafb76b14c85128793d602600501b5d
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 #ifndef INCLUDED_TEST_SHEET_XNAMEDRANGES_HXX
11 #define INCLUDED_TEST_SHEET_XNAMEDRANGES_HXX
13 #include <com/sun/star/sheet/XSpreadsheet.hpp>
15 #include <com/sun/star/uno/Reference.hxx>
17 #include <rtl/ustring.hxx>
18 #include <sal/types.h>
19 #include <test/testdllapi.hxx>
21 namespace apitest
23 class OOO_DLLPUBLIC_TEST XNamedRanges
25 public:
26 // remove default entry
27 XNamedRanges()
28 : maNameToRemove("initial1")
32 // removes given entry
33 XNamedRanges(const OUString& rNameToRemove)
34 : maNameToRemove(rNameToRemove)
38 virtual css::uno::Reference<css::uno::XInterface> init() = 0;
39 virtual css::uno::Reference<css::uno::XInterface> getXNamedRanges(sal_Int32 nSheet = 0) = 0;
41 // XNamedRanges
42 void testAddNewByName();
43 void testAddNewFromTitles();
44 void testRemoveByName();
45 void testOutputList();
47 protected:
48 ~XNamedRanges(){};
49 css::uno::Reference<css::sheet::XSpreadsheet> xSheet;
51 private:
52 OUString maNameToRemove;
55 } // namespace apitest
57 #endif // INCLUDED_TEST_SHEET_XNAMEDRANGES_HXX
59 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */