Version 4.3.0.0.beta1, tag libreoffice-4.3.0.0.beta1
[LibreOffice.git] / include / test / sheet / xnamedranges.hxx
blobf5e7ec934ed05804c6ce599d9af8b3eea9445c74
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 #include <com/sun/star/uno/Reference.hxx>
11 #include <com/sun/star/sheet/XSpreadsheet.hpp>
12 #include <test/testdllapi.hxx>
14 namespace apitest {
16 class OOO_DLLPUBLIC_TEST XNamedRanges
18 public:
19 // remove default entry
20 XNamedRanges();
21 // removes given entry
22 XNamedRanges(const OUString& rNameToRemove);
24 virtual ~XNamedRanges();
26 virtual css::uno::Reference< css::uno::XInterface > init(sal_Int32 nSheets = 0) = 0;
28 // XNamedRanges
29 void testAddNewByName();
30 void testAddNewFromTitles();
31 void testRemoveByName();
32 void testOutputList();
34 protected:
35 css::uno::Reference< css::sheet::XSpreadsheet > xSheet;
37 private:
38 OUString maNameToRemove;
43 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */