23#include <servicenames.hxx>
24#include <osl/mutex.hxx>
36ChartTypeUnoDlg::~ChartTypeUnoDlg()
48OUString SAL_CALL ChartTypeUnoDlg::getImplementationName()
53css::uno::Sequence<OUString> SAL_CALL ChartTypeUnoDlg::getSupportedServiceNames()
59 return css::uno::Sequence<sal_Int8>();
61void ChartTypeUnoDlg::implInitialize(
const uno::Any& _rValue)
63 beans::PropertyValue aProperty;
64 if (_rValue >>= aProperty)
66 if (aProperty.Name ==
"ChartModel")
69 aProperty.Value >>= xInt;
70 assert(
dynamic_cast<::chart::ChartModel*
>(xInt.get()));
71 m_xChartModel =
dynamic_cast<::chart::ChartModel*
>(xInt.get());
74 ChartTypeUnoDlg_BASE::implInitialize(_rValue);
77 ChartTypeUnoDlg_BASE::implInitialize(_rValue);
80std::unique_ptr<weld::DialogController> ChartTypeUnoDlg::createDialog(
const css::uno::Reference<css::awt::XWindow>& rParent)
82 ChartModel* pChartModel =
dynamic_cast<ChartModel*
>(rParent.get());
89 return createPropertySetInfo( getInfoHelper() );
94 return *getArrayHelper();
100 describeProperties(aProps);
101 return new ::cppu::OPropertyArrayHelper(aProps);
106extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface *
108 css::uno::Sequence<css::uno::Any>
const &)
Reference< XExecutableDialog > m_xDialog
static weld::Window * GetFrameWeld(const css::uno::Reference< css::awt::XWindow > &rWindow)
ChartTypeUnoDlg(const css::uno::Reference< css::uno::XComponentContext > &xContext)
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_comp_chart2_ChartTypeDialog_get_implementation(css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
::svt::OGenericUnoDialog ChartTypeUnoDlg_BASE
constexpr OUStringLiteral CHART_TYPE_DIALOG_SERVICE_IMPLEMENTATION_NAME
constexpr OUStringLiteral CHART_TYPE_DIALOG_SERVICE_NAME
Reference< XComponentContext > _xContext