LibreOffice Module forms (master) 1
|
#include <GroupManager.hxx>
Public Member Functions | |
OGroupManager (const css::uno::Reference< css::container::XContainer > &_rxContainer) | |
virtual | ~OGroupManager () override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &_rSource) override |
virtual void SAL_CALL | propertyChange (const css::beans::PropertyChangeEvent &evt) override |
virtual void SAL_CALL | elementInserted (const css::container::ContainerEvent &_rEvent) override |
virtual void SAL_CALL | elementRemoved (const css::container::ContainerEvent &_rEvent) override |
virtual void SAL_CALL | elementReplaced (const css::container::ContainerEvent &_rEvent) override |
sal_Int32 | getGroupCount () const |
void | getGroup (sal_Int32 nGroup, css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > > &_rGroup, OUString &Name) |
void | getGroupByName (const OUString &Name, css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > > &_rGroup) |
css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > > | getControlModels () const |
Static Public Member Functions | |
static OUString | GetGroupName (const css::uno::Reference< css::beans::XPropertySet > &xComponent) |
Private Member Functions | |
void | InsertElement (const css::uno::Reference< css::beans::XPropertySet > &rxElement) |
void | RemoveElement (const css::uno::Reference< css::beans::XPropertySet > &rxElement) |
void | removeFromGroupMap (const OUString &_sGroupName, const css::uno::Reference< css::beans::XPropertySet > &_xSet) |
Private Attributes | |
std::unique_ptr< OGroup > | m_pCompGroup |
OGroupArr | m_aGroupArr |
OActiveGroups | m_aActiveGroupMap |
css::uno::Reference< css::container::XContainer > | m_xContainer |
Definition at line 151 of file GroupManager.hxx.
|
explicit |
Definition at line 182 of file GroupManager.cxx.
References m_refCount, and m_xContainer.
|
overridevirtual |
Definition at line 193 of file GroupManager.cxx.
|
overridevirtual |
Definition at line 198 of file GroupManager.cxx.
References m_aGroupArr, m_pCompGroup, and m_xContainer.
|
overridevirtual |
Definition at line 282 of file GroupManager.cxx.
References InsertElement().
|
overridevirtual |
Definition at line 290 of file GroupManager.cxx.
References RemoveElement().
|
overridevirtual |
Definition at line 298 of file GroupManager.cxx.
References InsertElement(), and RemoveElement().
Sequence< Reference< XControlModel > > frm::OGroupManager::getControlModels | ( | ) | const |
Definition at line 312 of file GroupManager.cxx.
References m_pCompGroup.
void frm::OGroupManager::getGroup | ( | sal_Int32 | nGroup, |
css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > > & | _rGroup, | ||
OUString & | Name | ||
) |
Definition at line 322 of file GroupManager.cxx.
References m_aActiveGroupMap, and o3tl::make_unsigned().
void frm::OGroupManager::getGroupByName | ( | const OUString & | Name, |
css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > > & | _rGroup | ||
) |
Definition at line 330 of file GroupManager.cxx.
References m_aGroupArr.
sal_Int32 frm::OGroupManager::getGroupCount | ( | ) | const |
Definition at line 317 of file GroupManager.cxx.
References m_aActiveGroupMap.
|
static |
Definition at line 406 of file GroupManager.cxx.
References hasProperty(), PROPERTY_GROUP_NAME, and PROPERTY_NAME.
Referenced by InsertElement(), propertyChange(), RemoveElement(), and frm::ORadioButtonModel::SetSiblingPropsTo().
|
private |
Definition at line 337 of file GroupManager.cxx.
References GetGroupName(), hasProperty(), m_aActiveGroupMap, m_aGroupArr, m_pCompGroup, PROPERTY_GROUP_NAME, PROPERTY_NAME, and PROPERTY_TABINDEX.
Referenced by elementInserted(), elementReplaced(), and propertyChange().
|
overridevirtual |
Definition at line 251 of file GroupManager.cxx.
References GetGroupName(), hasProperty(), InsertElement(), PROPERTY_GROUP_NAME, PROPERTY_NAME, and removeFromGroupMap().
|
private |
Definition at line 393 of file GroupManager.cxx.
References GetGroupName(), and removeFromGroupMap().
Referenced by elementRemoved(), and elementReplaced().
|
private |
Definition at line 211 of file GroupManager.cxx.
References hasProperty(), m_aActiveGroupMap, m_aGroupArr, m_pCompGroup, nCount, PROPERTY_GROUP_NAME, PROPERTY_NAME, and PROPERTY_TABINDEX.
Referenced by propertyChange(), and RemoveElement().
|
private |
Definition at line 156 of file GroupManager.hxx.
Referenced by getGroup(), getGroupCount(), InsertElement(), and removeFromGroupMap().
|
private |
Definition at line 155 of file GroupManager.hxx.
Referenced by disposing(), getGroupByName(), InsertElement(), and removeFromGroupMap().
|
private |
Definition at line 154 of file GroupManager.hxx.
Referenced by disposing(), getControlModels(), InsertElement(), and removeFromGroupMap().
|
private |
Definition at line 159 of file GroupManager.hxx.
Referenced by disposing().