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_UNOTEST_MACROS_TEST_HXX
11 : #define INCLUDED_UNOTEST_MACROS_TEST_HXX
12 :
13 : #include <rtl/ustring.hxx>
14 : #include <unotest/detail/unotestdllapi.hxx>
15 :
16 : #include <com/sun/star/lang/XComponent.hpp>
17 : #include <com/sun/star/frame/XDesktop2.hpp>
18 :
19 27 : struct TestMacroInfo
20 : {
21 : OUString sFileBaseName;
22 : OUString sMacroUrl;
23 : };
24 :
25 : namespace unotest {
26 :
27 3912 : class OOO_DLLPUBLIC_UNOTEST MacrosTest
28 : {
29 : public:
30 : css::uno::Reference< css::lang::XComponent > loadFromDesktop(const OUString& rURL, const OUString& rDocService = OUString(),
31 : const css::uno::Sequence<css::beans::PropertyValue>& rExtra_args = css::uno::Sequence<css::beans::PropertyValue>() );
32 :
33 : protected:
34 : css::uno::Reference< css::frame::XDesktop2> mxDesktop;
35 : };
36 :
37 : }
38 :
39 : #endif
40 :
41 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|