22#include <com/sun/star/embed/XInsertObjectDialog.hpp>
23#include <com/sun/star/embed/XEmbedObjectClipboardCreator.hpp>
24#include <com/sun/star/lang/XServiceInfo.hpp>
25#include <com/sun/star/uno/XComponentContext.hpp>
28#include <osl/diagnose.h>
32 css::embed::XInsertObjectDialog,
33 css::embed::XEmbedObjectClipboardCreator,
34 css::lang::XServiceInfo >
36 css::uno::Reference< css::uno::XComponentContext >
m_xContext;
40 const css::uno::Reference< css::uno::XComponentContext >& xContext )
43 OSL_ENSURE( xContext.is(),
"No service manager is provided!" );
47 virtual css::embed::InsertedObjectInfo SAL_CALL
createInstanceByDialog(
const css::uno::Reference< css::embed::XStorage >& xStorage,
const OUString& sEntName,
const css::uno::Sequence< css::beans::PropertyValue >& lObjArgs )
override;
50 virtual css::embed::InsertedObjectInfo SAL_CALL
createInstanceInitFromClipboard(
const css::uno::Reference< css::embed::XStorage >& xStorage,
const OUString& sEntryName,
const css::uno::Sequence< css::beans::PropertyValue >& aObjectArgs )
override;
css::uno::Reference< css::uno::XComponentContext > m_xContext
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
MSOLEDialogObjectCreator(const css::uno::Reference< css::uno::XComponentContext > &xContext)
virtual css::embed::InsertedObjectInfo SAL_CALL createInstanceInitFromClipboard(const css::uno::Reference< css::embed::XStorage > &xStorage, const OUString &sEntryName, const css::uno::Sequence< css::beans::PropertyValue > &aObjectArgs) override
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual css::embed::InsertedObjectInfo SAL_CALL createInstanceByDialog(const css::uno::Reference< css::embed::XStorage > &xStorage, const OUString &sEntName, const css::uno::Sequence< css::beans::PropertyValue > &lObjArgs) override