|
LibreOffice Module reportdesign (master) 1
|
#include <ReportControlModel.hxx>
Public Member Functions | |
| OReportControlModel (osl::Mutex &_rMutex, css::container::XContainer *_pOwner, css::uno::Reference< css::uno::XComponentContext > const &_xContext) | |
| void | addContainerListener (const css::uno::Reference< css::container::XContainerListener > &xListener) |
| void | removeContainerListener (const css::uno::Reference< css::container::XContainerListener > &xListener) |
| bool | hasElements () |
| void | replaceByIndex (::sal_Int32 Index, const css::uno::Any &Element) |
| void | insertByIndex (::sal_Int32 Index, const css::uno::Any &Element) |
| void | removeByIndex (::sal_Int32 Index) |
| ::sal_Int32 | getCount () |
| css::uno::Any | getByIndex (::sal_Int32 Index) |
Static Public Member Functions | |
| static bool | isInterfaceForbidden (const css::uno::Type &_rType) |
Public Attributes | |
| ::comphelper::OInterfaceContainerHelper3< css::container::XContainerListener > | aContainerListeners |
| OReportComponentProperties | aComponent |
| OFormatProperties | aFormatProperties |
| css::container::XContainer * | m_pOwner |
| ::std::vector< css::uno::Reference< css::report::XFormatCondition > > | m_aFormatConditions |
| osl::Mutex & | m_rMutex |
| OUString | aDataField |
| OUString | aConditionalPrintExpression |
| bool | bPrintWhenGroupChange |
Private Member Functions | |
| void | checkIndex (sal_Int32 _nIndex) |
| OReportControlModel (OReportControlModel const &)=delete | |
| void | operator= (OReportControlModel const &)=delete |
Definition at line 70 of file ReportControlModel.hxx.
|
privatedelete |
|
inline |
Definition at line 87 of file ReportControlModel.hxx.
References _xContext.
| void reportdesign::OReportControlModel::addContainerListener | ( | const css::uno::Reference< css::container::XContainerListener > & | xListener | ) |
| css::uno::RuntimeException |
Definition at line 30 of file ReportControlModel.cxx.
References aContainerListeners, and comphelper::OInterfaceContainerHelper3< class ListenerT >::addInterface().
|
private |
Definition at line 120 of file ReportControlModel.cxx.
References m_aFormatConditions, and o3tl::make_unsigned().
Referenced by getByIndex(), removeByIndex(), and replaceByIndex().
| uno::Any reportdesign::OReportControlModel::getByIndex | ( | ::sal_Int32 | Index | ) |
| css::lang::IndexOutOfBoundsException | |
| css::lang::WrappedTargetException | |
| css::uno::RuntimeException |
Definition at line 109 of file ReportControlModel.cxx.
References checkIndex(), m_aFormatConditions, and m_rMutex.
| sal_Int32 reportdesign::OReportControlModel::getCount | ( | ) |
| css::uno::RuntimeException |
Definition at line 103 of file ReportControlModel.cxx.
References m_aFormatConditions, and m_rMutex.
| bool reportdesign::OReportControlModel::hasElements | ( | ) |
| css::uno::RuntimeException |
Definition at line 42 of file ReportControlModel.cxx.
References m_aFormatConditions, and m_rMutex.
| void reportdesign::OReportControlModel::insertByIndex | ( | ::sal_Int32 | Index, |
| const css::uno::Any & | Element | ||
| ) |
| css::lang::IllegalArgumentException | |
| css::lang::IndexOutOfBoundsException | |
| css::lang::WrappedTargetException | |
| css::uno::RuntimeException |
Definition at line 49 of file ReportControlModel.cxx.
References aContainerListeners, aEvent, m_aFormatConditions, m_pOwner, m_rMutex, and comphelper::OInterfaceContainerHelper3< class ListenerT >::notifyEach().
|
static |
Definition at line 126 of file ReportControlModel.cxx.
|
privatedelete |
| void reportdesign::OReportControlModel::removeByIndex | ( | ::sal_Int32 | Index | ) |
| css::lang::IndexOutOfBoundsException | |
| css::lang::WrappedTargetException | |
| css::uno::RuntimeException |
Definition at line 70 of file ReportControlModel.cxx.
References aContainerListeners, aEvent, checkIndex(), m_aFormatConditions, m_pOwner, m_rMutex, and comphelper::OInterfaceContainerHelper3< class ListenerT >::notifyEach().
| void reportdesign::OReportControlModel::removeContainerListener | ( | const css::uno::Reference< css::container::XContainerListener > & | xListener | ) |
| css::uno::RuntimeException |
Definition at line 36 of file ReportControlModel.cxx.
References aContainerListeners, and comphelper::OInterfaceContainerHelper3< class ListenerT >::removeInterface().
| void reportdesign::OReportControlModel::replaceByIndex | ( | ::sal_Int32 | Index, |
| const css::uno::Any & | Element | ||
| ) |
| css::lang::IllegalArgumentException | |
| css::lang::IndexOutOfBoundsException | |
| css::lang::WrappedTargetException | |
| css::uno::RuntimeException |
Definition at line 86 of file ReportControlModel.cxx.
References aContainerListeners, aEvent, checkIndex(), m_aFormatConditions, m_pOwner, m_rMutex, and comphelper::OInterfaceContainerHelper3< class ListenerT >::notifyEach().
| OReportComponentProperties reportdesign::OReportControlModel::aComponent |
Definition at line 77 of file ReportControlModel.hxx.
| OUString reportdesign::OReportControlModel::aConditionalPrintExpression |
Definition at line 84 of file ReportControlModel.hxx.
| ::comphelper::OInterfaceContainerHelper3<css::container::XContainerListener> reportdesign::OReportControlModel::aContainerListeners |
Definition at line 76 of file ReportControlModel.hxx.
Referenced by addContainerListener(), insertByIndex(), removeByIndex(), removeContainerListener(), and replaceByIndex().
| OUString reportdesign::OReportControlModel::aDataField |
Definition at line 83 of file ReportControlModel.hxx.
| OFormatProperties reportdesign::OReportControlModel::aFormatProperties |
Definition at line 78 of file ReportControlModel.hxx.
| bool reportdesign::OReportControlModel::bPrintWhenGroupChange |
Definition at line 85 of file ReportControlModel.hxx.
| ::std::vector< css::uno::Reference< css::report::XFormatCondition> > reportdesign::OReportControlModel::m_aFormatConditions |
Definition at line 81 of file ReportControlModel.hxx.
Referenced by checkIndex(), getByIndex(), getCount(), hasElements(), insertByIndex(), removeByIndex(), and replaceByIndex().
| css::container::XContainer* reportdesign::OReportControlModel::m_pOwner |
Definition at line 79 of file ReportControlModel.hxx.
Referenced by insertByIndex(), removeByIndex(), and replaceByIndex().
| osl::Mutex& reportdesign::OReportControlModel::m_rMutex |
Definition at line 82 of file ReportControlModel.hxx.
Referenced by getByIndex(), getCount(), hasElements(), insertByIndex(), removeByIndex(), and replaceByIndex().