27#include <com/sun/star/beans/XPropertySet.hpp>
28#include <com/sun/star/beans/PropertyValue.hpp>
41 explicit OUnoAutoPilot(
const css::uno::Reference< css::uno::XComponentContext >& _rxORB,
42 OUString aImplementationName,
43 const css::uno::Sequence<OUString>& aSupportedServices)
54 return css::uno::Sequence<sal_Int8>();
69 virtual css::uno::Reference< css::beans::XPropertySetInfo> SAL_CALL
getPropertySetInfo()
override
71 css::uno::Reference< css::beans::XPropertySetInfo > xInfo( createPropertySetInfo(
getInfoHelper() ) );
83 css::uno::Sequence< css::beans::Property > aProps;
84 describeProperties(aProps);
85 return new ::cppu::OPropertyArrayHelper(aProps);
90 virtual std::unique_ptr<weld::DialogController>
createDialog(
const css::uno::Reference<css::awt::XWindow>& rParent)
override
97 css::beans::PropertyValue aArgument;
98 if (_rValue >>= aArgument)
99 if (aArgument.Name ==
"ObjectModel")
static weld::Window * GetFrameWeld(const css::uno::Reference< css::awt::XWindow > &rWindow)
::cppu::IPropertyArrayHelper * getArrayHelper()
OUnoAutoPilot(const css::uno::Reference< css::uno::XComponentContext > &_rxORB, OUString aImplementationName, const css::uno::Sequence< OUString > &aSupportedServices)
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual ::cppu::IPropertyArrayHelper * createArrayHelper() const override
css::uno::Sequence< OUString > m_SupportedServices
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
virtual void implInitialize(const css::uno::Any &_rValue) override
virtual std::unique_ptr< weld::DialogController > createDialog(const css::uno::Reference< css::awt::XWindow > &rParent) override
virtual OUString SAL_CALL getImplementationName() override
OUString m_ImplementationName
css::uno::Reference< css::beans::XPropertySet > m_xObjectModel
virtual void implInitialize(const css::uno::Any &_rValue)
css::uno::Reference< css::uno::XComponentContext > m_aContext
OUString aImplementationName
::svt::OGenericUnoDialog OUnoAutoPilot_Base