LibreOffice Module extensions (master) 1
|
implements an <type>XPropertyHandler</type> which composes its information from a set of other property handlers More...
#include <propertycomposer.hxx>
Classes | |
class | MethodGuard |
Public Types | |
typedef std::vector< css::uno::Reference< css::inspection::XPropertyHandler > > | HandlerArray |
Public Member Functions | |
PropertyComposer (std::vector< css::uno::Reference< css::inspection::XPropertyHandler > > &&_rSlaveHandlers) | |
constructs an <type>XPropertyHandler</type> which composes its information from a set of other property handlers More... | |
virtual void SAL_CALL | inspect (const css::uno::Reference< css::uno::XInterface > &_rxIntrospectee) override |
virtual css::uno::Any SAL_CALL | getPropertyValue (const OUString &_rPropertyName) override |
virtual void SAL_CALL | setPropertyValue (const OUString &_rPropertyName, const css::uno::Any &_rValue) override |
virtual css::uno::Any SAL_CALL | convertToPropertyValue (const OUString &_rPropertyName, const css::uno::Any &_rControlValue) override |
virtual css::uno::Any SAL_CALL | convertToControlValue (const OUString &_rPropertyName, const css::uno::Any &_rPropertyValue, const css::uno::Type &_rControlValueType) override |
virtual css::beans::PropertyState SAL_CALL | getPropertyState (const OUString &_rPropertyName) override |
virtual void SAL_CALL | addPropertyChangeListener (const css::uno::Reference< css::beans::XPropertyChangeListener > &_rxListener) override |
virtual void SAL_CALL | removePropertyChangeListener (const css::uno::Reference< css::beans::XPropertyChangeListener > &_rxListener) override |
virtual css::uno::Sequence< css::beans::Property > SAL_CALL | getSupportedProperties () override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupersededProperties () override |
virtual css::uno::Sequence< OUString > SAL_CALL | getActuatingProperties () override |
virtual css::inspection::LineDescriptor SAL_CALL | describePropertyLine (const OUString &_rPropertyName, const css::uno::Reference< css::inspection::XPropertyControlFactory > &_rxControlFactory) override |
virtual sal_Bool SAL_CALL | isComposable (const OUString &_rPropertyName) override |
virtual css::inspection::InteractiveSelectionResult SAL_CALL | onInteractivePropertySelection (const OUString &_rPropertyName, sal_Bool _bPrimary, css::uno::Any &_rData, const css::uno::Reference< css::inspection::XObjectInspectorUI > &_rxInspectorUI) override |
virtual void SAL_CALL | actuatingPropertyChanged (const OUString &_rActuatingPropertyName, const css::uno::Any &_rNewValue, const css::uno::Any &_rOldValue, const css::uno::Reference< css::inspection::XObjectInspectorUI > &_rxInspectorUI, sal_Bool _bFirstTimeInit) override |
virtual sal_Bool SAL_CALL | suspend (sal_Bool _bSuspend) override |
virtual void SAL_CALL | disposing () override |
virtual void SAL_CALL | propertyChange (const css::beans::PropertyChangeEvent &evt) override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
virtual bool | hasPropertyByName (const OUString &_rName) override |
virtual bool | hasPropertyByName (const OUString &_rName)=0 |
Private Member Functions | |
void | impl_ensureUIRequestComposer (const css::uno::Reference< css::inspection::XObjectInspectorUI > &_rxInspectorUI) |
ensures that m_pUIRequestComposer exists More... | |
bool | impl_isSupportedProperty_nothrow (const OUString &_rPropertyName) |
checks whether a given property exists in <member>m_aSupportedProperties</member> More... | |
Private Attributes | |
HandlerArray | m_aSlaveHandlers |
std::unique_ptr< ComposedPropertyUIUpdate > | m_pUIRequestComposer |
PropertyChangeListeners | m_aPropertyListeners |
bool | m_bSupportedPropertiesAreKnown |
PropertyBag | m_aSupportedProperties |
Friends | |
class | MethodGuard |
Additional Inherited Members | |
Protected Member Functions inherited from pcr::IPropertyExistenceCheck | |
~IPropertyExistenceCheck () | |
Protected Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
implements an <type>XPropertyHandler</type> which composes its information from a set of other property handlers
Definition at line 48 of file propertycomposer.hxx.
typedef std::vector< css::uno::Reference< css::inspection::XPropertyHandler > > pcr::PropertyComposer::HandlerArray |
Definition at line 54 of file propertycomposer.hxx.
|
explicit |
constructs an <type>XPropertyHandler</type> which composes its information from a set of other property handlers
_rSlaveHandlers | the set of slave handlers to invoke. Must not be <NULL> |
Definition at line 86 of file propertycomposer.cxx.
References m_aSlaveHandlers, and m_refCount.
|
overridevirtual |
Definition at line 369 of file propertycomposer.cxx.
References impl_ensureUIRequestComposer(), m_aSlaveHandlers, and m_pUIRequestComposer.
|
overridevirtual |
Definition at line 187 of file propertycomposer.cxx.
References comphelper::OInterfaceContainerHelper3< class ListenerT >::addInterface(), and m_aPropertyListeners.
|
overridevirtual |
Definition at line 141 of file propertycomposer.cxx.
References Any, and m_aSlaveHandlers.
|
overridevirtual |
Definition at line 134 of file propertycomposer.cxx.
References Any, and m_aSlaveHandlers.
|
overridevirtual |
Definition at line 291 of file propertycomposer.cxx.
References m_aSlaveHandlers.
|
overridevirtual |
Definition at line 402 of file propertycomposer.cxx.
References pcr::clearContainer().
|
overridevirtual |
|
overridevirtual |
Definition at line 280 of file propertycomposer.cxx.
References m_aSlaveHandlers, and pcr::uniteStringArrays().
|
overridevirtual |
Definition at line 148 of file propertycomposer.cxx.
References Any, and m_aSlaveHandlers.
|
overridevirtual |
Definition at line 120 of file propertycomposer.cxx.
References Any, and m_aSlaveHandlers.
Referenced by propertyChange().
|
overridevirtual |
Definition at line 269 of file propertycomposer.cxx.
References m_aSlaveHandlers, and pcr::uniteStringArrays().
|
overridevirtual |
Definition at line 201 of file propertycomposer.cxx.
References check(), comphelper::containerToSequence(), isComposable(), m_aSlaveHandlers, m_aSupportedProperties, and m_bSupportedPropertiesAreKnown.
|
overridevirtual |
css::uno::RuntimeException |
Implements pcr::IPropertyExistenceCheck.
Definition at line 476 of file propertycomposer.cxx.
References impl_isSupportedProperty_nothrow().
|
private |
ensures that m_pUIRequestComposer exists
Definition at line 357 of file propertycomposer.cxx.
References m_pUIRequestComposer.
Referenced by actuatingPropertyChanged(), and onInteractivePropertySelection().
|
inlineprivate |
checks whether a given property exists in <member>m_aSupportedProperties</member>
Definition at line 117 of file propertycomposer.hxx.
References m_aSupportedProperties.
Referenced by hasPropertyByName(), and propertyChange().
|
overridevirtual |
Definition at line 109 of file propertycomposer.cxx.
References m_aSlaveHandlers.
|
overridevirtual |
Definition at line 299 of file propertycomposer.cxx.
References m_aSlaveHandlers.
Referenced by getSupportedProperties().
|
overridevirtual |
Definition at line 306 of file propertycomposer.cxx.
References impl_ensureUIRequestComposer(), m_aSlaveHandlers, m_pUIRequestComposer, and onInteractivePropertySelection().
Referenced by onInteractivePropertySelection().
|
overridevirtual |
Definition at line 421 of file propertycomposer.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, getPropertyValue(), impl_isSupportedProperty_nothrow(), m_aPropertyListeners, and comphelper::OInterfaceContainerHelper3< class ListenerT >::notifyEach().
|
overridevirtual |
Definition at line 194 of file propertycomposer.cxx.
References m_aPropertyListeners, and comphelper::OInterfaceContainerHelper3< class ListenerT >::removeInterface().
|
overridevirtual |
Definition at line 127 of file propertycomposer.cxx.
References m_aSlaveHandlers, and SetPropertyValue().
Definition at line 447 of file propertycomposer.cxx.
References m_aSlaveHandlers.
|
friend |
Definition at line 125 of file propertycomposer.hxx.
|
private |
Definition at line 59 of file propertycomposer.hxx.
Referenced by addPropertyChangeListener(), propertyChange(), and removePropertyChangeListener().
|
private |
Definition at line 57 of file propertycomposer.hxx.
Referenced by actuatingPropertyChanged(), convertToControlValue(), convertToPropertyValue(), describePropertyLine(), getActuatingProperties(), getPropertyState(), getPropertyValue(), getSupersededProperties(), getSupportedProperties(), inspect(), isComposable(), pcr::PropertyComposer::MethodGuard::MethodGuard(), onInteractivePropertySelection(), PropertyComposer(), setPropertyValue(), and suspend().
|
private |
Definition at line 61 of file propertycomposer.hxx.
Referenced by getSupportedProperties(), and impl_isSupportedProperty_nothrow().
|
private |
Definition at line 60 of file propertycomposer.hxx.
Referenced by getSupportedProperties().
|
private |
Definition at line 58 of file propertycomposer.hxx.
Referenced by actuatingPropertyChanged(), impl_ensureUIRequestComposer(), and onInteractivePropertySelection().