2010-04-17 20:34:49 +02:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
|
|
|
*
|
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
|
|
|
*
|
|
|
|
* This file is part of OpenOffice.org.
|
|
|
|
*
|
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
|
|
|
*
|
|
|
|
************************************************************************/
|
2004-02-25 16:41:06 +00:00
|
|
|
#ifndef __FRAMEWORK_XML_TOOLBOXCONFIGURATION_HXX_
|
|
|
|
#define __FRAMEWORK_XML_TOOLBOXCONFIGURATION_HXX_
|
|
|
|
|
2010-04-16 23:01:28 +02:00
|
|
|
#include <fwedllapi.h>
|
2009-10-16 00:05:16 +02:00
|
|
|
#include <svl/svarray.hxx>
|
2004-02-25 16:41:06 +00:00
|
|
|
#include <vcl/bitmap.hxx>
|
|
|
|
#include <tools/string.hxx>
|
2004-07-06 15:55:06 +00:00
|
|
|
#include <com/sun/star/io/XInputStream.hpp>
|
|
|
|
#ifndef _COM_SUN_STAR_IO_XOUPUTSTREAM_HPP_
|
|
|
|
#include <com/sun/star/io/XOutputStream.hpp>
|
2004-02-25 16:41:06 +00:00
|
|
|
#endif
|
2004-07-06 15:55:06 +00:00
|
|
|
#include <com/sun/star/container/XIndexContainer.hpp>
|
|
|
|
#include <com/sun/star/container/XIndexAccess.hpp>
|
2004-02-25 16:41:06 +00:00
|
|
|
|
2004-05-03 12:19:32 +00:00
|
|
|
// #110897#
|
|
|
|
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
|
2004-02-25 16:41:06 +00:00
|
|
|
|
|
|
|
namespace framework
|
|
|
|
{
|
|
|
|
|
2010-04-16 23:01:28 +02:00
|
|
|
class FWE_DLLPUBLIC ToolBoxConfiguration
|
2004-02-25 16:41:06 +00:00
|
|
|
{
|
|
|
|
public:
|
2004-05-03 12:19:32 +00:00
|
|
|
// #110897#
|
|
|
|
static sal_Bool LoadToolBox(
|
|
|
|
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceFactory,
|
2004-07-06 15:55:06 +00:00
|
|
|
const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& rInputStream,
|
|
|
|
const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexContainer >& rToolbarConfiguration );
|
2004-05-03 12:19:32 +00:00
|
|
|
|
|
|
|
// #110897#
|
|
|
|
static sal_Bool StoreToolBox(
|
|
|
|
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceFactory,
|
2004-07-06 15:55:06 +00:00
|
|
|
const ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream >& rOutputStream,
|
|
|
|
const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess >& rToolbarConfiguration );
|
2004-02-25 16:41:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace framework
|
|
|
|
|
|
|
|
#endif // __FRAMEWORK_XML_TOOLBOXCONFIGURATION_HXX_
|