INTEGRATION: CWS mav09 (1.6.2); FILE MERGED
2004/06/24 17:13:43 mav 1.6.2.2: #i27773# reactivate linking support for OOo documents 2004/06/10 16:19:51 mav 1.6.2.1: #i27773# use configuration for conversion purposes
This commit is contained in:
@@ -2,9 +2,9 @@
|
|||||||
*
|
*
|
||||||
* $RCSfile: xcreator.hxx,v $
|
* $RCSfile: xcreator.hxx,v $
|
||||||
*
|
*
|
||||||
* $Revision: 1.6 $
|
* $Revision: 1.7 $
|
||||||
*
|
*
|
||||||
* last change: $Author: hr $ $Date: 2004-05-10 17:53:16 $
|
* last change: $Author: kz $ $Date: 2004-10-04 19:54:21 $
|
||||||
*
|
*
|
||||||
* The Contents of this file are made available subject to the terms of
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
@@ -71,29 +71,36 @@
|
|||||||
#ifndef _COM_SUN_STAR_EMBED_XLINKCREATOR_HPP_
|
#ifndef _COM_SUN_STAR_EMBED_XLINKCREATOR_HPP_
|
||||||
#include <com/sun/star/embed/XLinkCreator.hpp>
|
#include <com/sun/star/embed/XLinkCreator.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef _COM_SUN_STAR_EMBED_XLINKFACTORY_HPP_
|
||||||
|
#include <com/sun/star/embed/XLinkFactory.hpp>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _COM_SUN_STAR_LANG_XSERVICEINFO_HPP_
|
#ifndef _COM_SUN_STAR_LANG_XSERVICEINFO_HPP_
|
||||||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifndef _CPPUHELPER_IMPLBASE4_HXX_
|
#ifndef _CPPUHELPER_IMPLBASE5_HXX_
|
||||||
#include <cppuhelper/implbase4.hxx>
|
#include <cppuhelper/implbase5.hxx>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "confighelper.hxx"
|
||||||
|
|
||||||
class UNOEmbeddedObjectCreator : public ::cppu::WeakImplHelper4<
|
class UNOEmbeddedObjectCreator : public ::cppu::WeakImplHelper5<
|
||||||
::com::sun::star::embed::XEmbedObjectCreator,
|
::com::sun::star::embed::XEmbedObjectCreator,
|
||||||
::com::sun::star::embed::XEmbedObjectFactory,
|
::com::sun::star::embed::XEmbedObjectFactory,
|
||||||
::com::sun::star::embed::XLinkCreator,
|
::com::sun::star::embed::XLinkCreator,
|
||||||
|
::com::sun::star::embed::XLinkFactory,
|
||||||
::com::sun::star::lang::XServiceInfo >
|
::com::sun::star::lang::XServiceInfo >
|
||||||
{
|
{
|
||||||
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xFactory;
|
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xFactory;
|
||||||
|
|
||||||
|
ConfigurationHelper m_aConfigHelper;
|
||||||
public:
|
public:
|
||||||
UNOEmbeddedObjectCreator(
|
UNOEmbeddedObjectCreator(
|
||||||
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xFactory )
|
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xFactory )
|
||||||
: m_xFactory( xFactory )
|
: m_xFactory( xFactory )
|
||||||
|
, m_aConfigHelper( xFactory )
|
||||||
{
|
{
|
||||||
OSL_ENSURE( xFactory.is(), "No service manager is provided!\n" );
|
OSL_ENSURE( xFactory.is(), "No service manager is provided!\n" );
|
||||||
}
|
}
|
||||||
@@ -118,6 +125,9 @@ public:
|
|||||||
// XLinkCreator
|
// XLinkCreator
|
||||||
virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createInstanceLink( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage, const ::rtl::OUString& sEntName, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aMediaDescr, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& lObjArgs ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::io::IOException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
|
virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createInstanceLink( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage, const ::rtl::OUString& sEntName, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aMediaDescr, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& lObjArgs ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::io::IOException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
|
||||||
|
|
||||||
|
// XLinkFactory
|
||||||
|
virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createInstanceLinkUserInit( const ::com::sun::star::uno::Sequence< ::sal_Int8 >& aClassID, const ::rtl::OUString& sClassName, const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage, const ::rtl::OUString& sEntryName, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aObjectArgs ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::io::IOException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
|
||||||
|
|
||||||
// XServiceInfo
|
// XServiceInfo
|
||||||
virtual ::rtl::OUString SAL_CALL getImplementationName() throw (::com::sun::star::uno::RuntimeException);
|
virtual ::rtl::OUString SAL_CALL getImplementationName() throw (::com::sun::star::uno::RuntimeException);
|
||||||
virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) throw (::com::sun::star::uno::RuntimeException);
|
virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) throw (::com::sun::star::uno::RuntimeException);
|
||||||
|
Reference in New Issue
Block a user