LibreOffice Module extensions (master) 1
|
#include <genericpropertyhandler.hxx>
Public Member Functions | |
GenericPropertyHandler (const css::uno::Reference< css::uno::XComponentContext > &_rxContext) | |
virtual | ~GenericPropertyHandler () override |
Private Member Functions | |
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 OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
void | impl_ensurePropertyMap () |
ensures that ->m_aProperties is initialized @precond our mutex is locked More... | |
::rtl::Reference< IPropertyEnumRepresentation > | impl_getEnumConverter (const css::uno::Type &_rEnumType) |
retrieves the enum converter for the given ENUM type More... | |
GenericPropertyHandler (const GenericPropertyHandler &)=delete | |
GenericPropertyHandler & | operator= (const GenericPropertyHandler &)=delete |
Private Attributes | |
mutable::osl::Mutex | m_aMutex |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
the service factory for creating services More... | |
css::uno::Reference< css::beans::XIntrospectionAccess > | m_xComponentIntrospectionAccess |
need this to keep alive as long as m_xComponent lives More... | |
css::uno::Reference< css::beans::XPropertySet > | m_xComponent |
the properties of the object we're handling More... | |
css::uno::Reference< css::beans::XPropertyState > | m_xPropertyState |
cached interface of ->m_xComponent More... | |
css::uno::Reference< css::script::XTypeConverter > | m_xTypeConverter |
type converter, needed on various occasions More... | |
PropertyMap | m_aProperties |
cache of our supported properties More... | |
::comphelper::OInterfaceContainerHelper2 | m_aPropertyListeners |
property change listeners More... | |
std::map< css::uno::Type, ::rtl::Reference< IPropertyEnumRepresentation >, TypeLess > | m_aEnumConverters |
bool | m_bPropertyMapInitialized: 1 |
has ->m_aProperties been initialized? More... | |
Definition at line 58 of file genericpropertyhandler.hxx.
|
explicit |
|
overridevirtual |
Definition at line 268 of file genericpropertyhandler.cxx.
|
privatedelete |
|
overrideprivatevirtual |
Definition at line 591 of file genericpropertyhandler.cxx.
|
overrideprivatevirtual |
Definition at line 408 of file genericpropertyhandler.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 376 of file genericpropertyhandler.cxx.
References Any, m_aMutex, m_xContext, and pos.
|
overrideprivatevirtual |
Definition at line 350 of file genericpropertyhandler.cxx.
References Any, m_aMutex, m_xContext, and pos.
|
overrideprivatevirtual |
Definition at line 532 of file genericpropertyhandler.cxx.
References m_aMutex, m_xContext, and pos.
|
overrideprivatevirtual |
Definition at line 601 of file genericpropertyhandler.cxx.
|
overrideprivatevirtual |
Definition at line 525 of file genericpropertyhandler.cxx.
|
overrideprivatevirtual |
Definition at line 272 of file genericpropertyhandler.cxx.
|
overrideprivatevirtual |
Definition at line 399 of file genericpropertyhandler.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 324 of file genericpropertyhandler.cxx.
|
overrideprivatevirtual |
Definition at line 517 of file genericpropertyhandler.cxx.
|
overrideprivatevirtual |
Definition at line 509 of file genericpropertyhandler.cxx.
References m_aMutex, and comphelper::mapValuesToSequence().
|
overrideprivatevirtual |
Definition at line 282 of file genericpropertyhandler.cxx.
|
private |
ensures that ->m_aProperties is initialized @precond our mutex is locked
Definition at line 445 of file genericpropertyhandler.cxx.
References aProperties, DBG_ASSERT, Exception, and TOOLS_WARN_EXCEPTION.
|
private |
retrieves the enum converter for the given ENUM type
Definition at line 342 of file genericpropertyhandler.cxx.
References m_xContext.
|
overrideprivatevirtual |
Definition at line 287 of file genericpropertyhandler.cxx.
References Any, comphelper::OInterfaceIteratorHelper2::hasMoreElements(), m_aMutex, m_xContext, comphelper::OInterfaceIteratorHelper2::next(), and xIntrospection.
|
overrideprivatevirtual |
Definition at line 580 of file genericpropertyhandler.cxx.
|
overrideprivatevirtual |
Definition at line 585 of file genericpropertyhandler.cxx.
|
privatedelete |
|
overrideprivatevirtual |
Definition at line 428 of file genericpropertyhandler.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 333 of file genericpropertyhandler.cxx.
References m_aMutex.
|
overrideprivatevirtual |
Definition at line 277 of file genericpropertyhandler.cxx.
References ServiceName, and cppu::supportsService().
Definition at line 596 of file genericpropertyhandler.cxx.
|
private |
Definition at line 77 of file genericpropertyhandler.hxx.
|
private |
Definition at line 60 of file genericpropertyhandler.hxx.
|
private |
cache of our supported properties
Definition at line 73 of file genericpropertyhandler.hxx.
|
private |
property change listeners
Definition at line 75 of file genericpropertyhandler.hxx.
|
private |
has ->m_aProperties been initialized?
Definition at line 80 of file genericpropertyhandler.hxx.
|
private |
the properties of the object we're handling
Definition at line 67 of file genericpropertyhandler.hxx.
|
private |
need this to keep alive as long as m_xComponent lives
Definition at line 65 of file genericpropertyhandler.hxx.
|
private |
the service factory for creating services
Definition at line 63 of file genericpropertyhandler.hxx.
|
private |
cached interface of ->m_xComponent
Definition at line 69 of file genericpropertyhandler.hxx.
|
private |
type converter, needed on various occasions
Definition at line 71 of file genericpropertyhandler.hxx.