1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
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/.
10 #ifndef INCLUDED_TEST_TABLE_XTABLECOLUMNS_HXX
11 #define INCLUDED_TEST_TABLE_XTABLECOLUMNS_HXX
13 #include <com/sun/star/sheet/XSpreadsheet.hpp>
14 #include <com/sun/star/table/XCell.hpp>
15 #include <com/sun/star/uno/XInterface.hpp>
17 #include <com/sun/star/uno/Reference.hxx>
19 #include <test/testdllapi.hxx>
23 class OOO_DLLPUBLIC_TEST XTableColumns
26 virtual css::uno::Reference
<css::uno::XInterface
> init() = 0;
28 void setXSpreadsheet(const css::uno::Reference
<css::sheet::XSpreadsheet
>& r_xSheet
)
33 void testInsertByIndex();
34 void testInsertByIndexWithNegativeIndex();
35 // only use with ScTableColumnsObj
36 void testInsertByIndexWithNoColumn();
37 void testInsertByIndexWithOutOfBoundIndex();
38 void testRemoveByIndex();
39 void testRemoveByIndexWithNegativeIndex();
40 // only use with ScTableColumnsObj
41 void testRemoveByIndexWithNoColumn();
42 void testRemoveByIndexWithOutOfBoundIndex();
48 css::uno::Reference
<css::sheet::XSpreadsheet
> m_xSheet
;
50 static OUString
getCellText(const css::uno::Reference
<css::table::XCell
>& r_xCell
);
53 } // namespace apitest
55 #endif // INCLUDED_TEST_TABLE_XTABLECOLUMNS_HXX
57 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */