merge the formfield patch from ooo-build
[ooovba.git] / framework / inc / xml / toolboxconfiguration.hxx
blob0c35c46687897d5cbabe3d86d156fc150fce4d48
1 #ifndef __FRAMEWORK_XML_TOOLBOXCONFIGURATION_HXX_
2 #define __FRAMEWORK_XML_TOOLBOXCONFIGURATION_HXX_
4 #include <svtools/svarray.hxx>
5 #include <vcl/bitmap.hxx>
6 #include <tools/string.hxx>
7 #include <com/sun/star/io/XInputStream.hpp>
8 #ifndef _COM_SUN_STAR_IO_XOUPUTSTREAM_HPP_
9 #include <com/sun/star/io/XOutputStream.hpp>
10 #endif
11 #include <com/sun/star/container/XIndexContainer.hpp>
12 #include <com/sun/star/container/XIndexAccess.hpp>
14 // #110897#
15 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
17 namespace framework
20 class ToolBoxConfiguration
22 public:
23 // #110897#
24 static sal_Bool LoadToolBox(
25 const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceFactory,
26 const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& rInputStream,
27 const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexContainer >& rToolbarConfiguration );
29 // #110897#
30 static sal_Bool StoreToolBox(
31 const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceFactory,
32 const ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream >& rOutputStream,
33 const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess >& rToolbarConfiguration );
36 } // namespace framework
38 #endif // __FRAMEWORK_XML_TOOLBOXCONFIGURATION_HXX_