22#include <com/sun/star/embed/XEmbeddedObjectCreator.hpp>
23#include <com/sun/star/lang/XServiceInfo.hpp>
25#include <osl/diagnose.h>
30 css::embed::XEmbeddedObjectCreator,
31 css::lang::XServiceInfo >
33 css::uno::Reference< css::uno::XComponentContext >
m_xContext;
38 const css::uno::Reference< css::uno::XComponentContext >& rxContext )
42 OSL_ENSURE( rxContext.is(),
"No service manager is provided!" );
46 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
createInstanceInitNew(
const css::uno::Sequence< sal_Int8 >& aClassID,
const OUString& aClassName,
const css::uno::Reference< css::embed::XStorage >& xStorage,
const OUString& sEntName,
const css::uno::Sequence< css::beans::PropertyValue >& lObjArgs )
override;
47 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
createInstanceInitFromEntry(
const css::uno::Reference< css::embed::XStorage >& xStorage,
const OUString& sEntName,
const css::uno::Sequence< css::beans::PropertyValue >& aMedDescr,
const css::uno::Sequence< css::beans::PropertyValue >& lObjArgs )
override;
48 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
createInstanceInitFromMediaDescriptor(
const css::uno::Reference< css::embed::XStorage >& xStorage,
const OUString& sEntName,
const css::uno::Sequence< css::beans::PropertyValue >& aMediaDescr,
const css::uno::Sequence< css::beans::PropertyValue >& lObjArgs )
override;
51 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
createInstanceUserInit(
const css::uno::Sequence< sal_Int8 >& aClassID,
const OUString& sClassName,
const css::uno::Reference< css::embed::XStorage >& xStorage,
const OUString& sEntName, sal_Int32 nEntryConnectionMode,
const css::uno::Sequence< css::beans::PropertyValue >& aArgs,
const css::uno::Sequence< css::beans::PropertyValue >& aObjectArgs )
override;
54 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
createInstanceLink(
const css::uno::Reference< css::embed::XStorage >& xStorage,
const OUString& sEntName,
const css::uno::Sequence< css::beans::PropertyValue >& aMediaDescr,
const css::uno::Sequence< css::beans::PropertyValue >& lObjArgs )
override;
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceInitFromMediaDescriptor(const css::uno::Reference< css::embed::XStorage > &xStorage, const OUString &sEntName, const css::uno::Sequence< css::beans::PropertyValue > &aMediaDescr, const css::uno::Sequence< css::beans::PropertyValue > &lObjArgs) override
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceLink(const css::uno::Reference< css::embed::XStorage > &xStorage, const OUString &sEntName, const css::uno::Sequence< css::beans::PropertyValue > &aMediaDescr, const css::uno::Sequence< css::beans::PropertyValue > &lObjArgs) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceUserInit(const css::uno::Sequence< sal_Int8 > &aClassID, const OUString &sClassName, const css::uno::Reference< css::embed::XStorage > &xStorage, const OUString &sEntName, sal_Int32 nEntryConnectionMode, const css::uno::Sequence< css::beans::PropertyValue > &aArgs, const css::uno::Sequence< css::beans::PropertyValue > &aObjectArgs) override
css::uno::Reference< css::uno::XComponentContext > m_xContext
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceInitFromEntry(const css::uno::Reference< css::embed::XStorage > &xStorage, const OUString &sEntName, const css::uno::Sequence< css::beans::PropertyValue > &aMedDescr, const css::uno::Sequence< css::beans::PropertyValue > &lObjArgs) override
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceInitNew(const css::uno::Sequence< sal_Int8 > &aClassID, const OUString &aClassName, const css::uno::Reference< css::embed::XStorage > &xStorage, const OUString &sEntName, const css::uno::Sequence< css::beans::PropertyValue > &lObjArgs) override
UNOEmbeddedObjectCreator(const css::uno::Reference< css::uno::XComponentContext > &rxContext)
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
::comphelper::MimeConfigurationHelper m_aConfigHelper