21#include <com/sun/star/beans/PropertyValue.hpp>
35 :OGenericUnoDialog( _rxContext )
41 return css::uno::Sequence<sal_Int8>();
47 return "org.openoffice.comp.form.ui.MasterDetailLinkDialog";
53 return {
"com.sun.star.form.MasterDetailLinkDialog" };
59 Reference<XPropertySetInfo> xInfo( createPropertySetInfo(
getInfoHelper() ) );
72 Sequence< Property > aProps;
73 describeProperties(aProps);
74 return new ::cppu::OPropertyArrayHelper(aProps);
86 PropertyValue aProperty;
87 if (_rValue >>= aProperty)
89 if (aProperty.Name ==
"Detail")
92 SAL_WARN(
"extensions.propctrlr",
"implInitialize: unable to get property Detail");
95 else if (aProperty.Name ==
"Master")
98 SAL_WARN(
"extensions.propctrlr",
"implInitialize: unable to get property Master");
101 else if (aProperty.Name ==
"Explanation")
104 SAL_WARN(
"extensions.propctrlr",
"implInitialize: unable to get property Explanation");
107 else if (aProperty.Name ==
"DetailLabel")
110 SAL_WARN(
"extensions.propctrlr",
"implInitialize: unable to get property DetailLabel");
113 else if (aProperty.Name ==
"MasterLabel")
116 SAL_WARN(
"extensions.propctrlr",
"implInitialize: unable to get property MasterLabel");
126extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
128 css::uno::XComponentContext* context , css::uno::Sequence<css::uno::Any>
const&)
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * extensions_propctrlr_MasterDetailLinkDialog_get_implementation(css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
static weld::Window * GetFrameWeld(const css::uno::Reference< css::awt::XWindow > &rWindow)
::cppu::IPropertyArrayHelper * getArrayHelper()
virtual std::unique_ptr< weld::DialogController > createDialog(const css::uno::Reference< css::awt::XWindow > &rParent) override
virtual ::cppu::IPropertyArrayHelper * createArrayHelper() const override
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
css::uno::Reference< css::beans::XPropertySet > m_xDetail
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
css::uno::Reference< css::beans::XPropertySet > m_xMaster
MasterDetailLinkDialog(const css::uno::Reference< css::uno::XComponentContext > &_rxContext)
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual OUString SAL_CALL getImplementationName() override
virtual void implInitialize(const css::uno::Any &_rValue) override
virtual void implInitialize(const css::uno::Any &_rValue)
css::uno::Reference< css::uno::XComponentContext > m_aContext
#define SAL_WARN(area, stream)
a property handler for any virtual string properties