diff options
author | Jens Carl <j.carl43@gmx.de> | 2017-10-15 03:10:47 +0000 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-10-29 22:10:18 +0100 |
commit | d56be38352031695951558bf1dffd0a48c84eaca (patch) | |
tree | 1d95105e82bc6841b46fbe8e84c2c6792bdc6e48 /include/test/sheet | |
parent | 410515366c466c1f8b0a81d47f8263d278af3a18 (diff) |
tdf#45904: Move Java _XSheetPageBreak tests to C++
Change-Id: I29111c3495fc9767d1b2c7bab38af5f89b7840f9
Reviewed-on: https://gerrit.libreoffice.org/43399
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'include/test/sheet')
-rw-r--r-- | include/test/sheet/xsheetpagebreak.hxx | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/include/test/sheet/xsheetpagebreak.hxx b/include/test/sheet/xsheetpagebreak.hxx new file mode 100644 index 000000000000..3ae64b650a4f --- /dev/null +++ b/include/test/sheet/xsheetpagebreak.hxx @@ -0,0 +1,36 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#ifndef INCLUDED_TEST_SHEET_XSHEETPAGEBREAK_HXX +#define INCLUDED_TEST_SHEET_XSHEETPAGEBREAK_HXX + +#include <rtl/ustring.hxx> +#include <com/sun/star/sheet/XSheetPageBreak.hpp> +#include <test/testdllapi.hxx> + +namespace apitest { + +class OOO_DLLPUBLIC_TEST XSheetPageBreak +{ +public: + virtual css::uno::Reference< css::uno::XInterface > init() = 0; + + void testGetColumnPageBreaks(); + void testGetRowPageBreaks(); + void testRemoveAllManualPageBreaks(); + +protected: + ~XSheetPageBreak() {} +}; + +} + +#endif // INCLUDED_TEST_SHEET_XSHEETPAGEBREAK_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |