2011-11-27 08:01:49 +01:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
|
|
/*
|
2013-04-19 21:10:42 +01:00
|
|
|
* This file is part of the LibreOffice project.
|
2011-11-27 08:01:49 +01:00
|
|
|
*
|
2013-04-19 21:10:42 +01:00
|
|
|
* 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/.
|
2011-11-27 08:01:49 +01:00
|
|
|
*/
|
|
|
|
|
2012-05-09 15:37:05 +02:00
|
|
|
#ifndef INCLUDED_UNOTEST_MACROS_TEST_HXX
|
|
|
|
#define INCLUDED_UNOTEST_MACROS_TEST_HXX
|
|
|
|
|
2011-11-27 08:01:49 +01:00
|
|
|
#include <rtl/ustring.hxx>
|
2013-11-09 15:34:56 -06:00
|
|
|
#include <unotest/detail/unotestdllapi.hxx>
|
2011-11-27 08:01:49 +01:00
|
|
|
|
|
|
|
#include <com/sun/star/lang/XComponent.hpp>
|
2012-12-14 12:58:00 +02:00
|
|
|
#include <com/sun/star/frame/XDesktop2.hpp>
|
2011-11-27 08:01:49 +01:00
|
|
|
|
|
|
|
struct TestMacroInfo
|
|
|
|
{
|
2013-04-07 12:06:47 +02:00
|
|
|
OUString sFileBaseName;
|
|
|
|
OUString sMacroUrl;
|
2011-11-27 08:01:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
namespace unotest {
|
|
|
|
|
|
|
|
class OOO_DLLPUBLIC_UNOTEST MacrosTest
|
|
|
|
{
|
|
|
|
public:
|
2013-12-13 17:38:43 +01:00
|
|
|
com::sun::star::uno::Reference< com::sun::star::lang::XComponent > loadFromDesktop(const OUString& rURL, const OUString& rDocService = OUString() );
|
2011-11-27 08:01:49 +01:00
|
|
|
|
|
|
|
protected:
|
2012-12-14 12:58:00 +02:00
|
|
|
com::sun::star::uno::Reference< com::sun::star::frame::XDesktop2> mxDesktop;
|
2011-11-27 08:01:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2012-05-09 15:37:05 +02:00
|
|
|
#endif
|
|
|
|
|
2011-11-27 08:01:49 +01:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|