LibreOffice Module extensions (master) 1
Public Member Functions | Private Attributes | List of all members
pcr::InspectorModelProperties Class Reference

helper class for implementing the property set related functionality of an ImplInspectorModel More...

Inheritance diagram for pcr::InspectorModelProperties:
[legend]
Collaboration diagram for pcr::InspectorModelProperties:
[legend]

Public Member Functions

 InspectorModelProperties (::osl::Mutex &_rMutex)
 
bool hasHelpSection () const
 
bool isReadOnly () const
 
sal_Int32 getMinHelpTextLines () const
 
sal_Int32 getMaxHelpTextLines () const
 
css::uno::Reference< css::beans::XPropertySetInfo > getPropertySetInfo ()
 
::cppu::IPropertyArrayHelpergetInfoHelper ()
 
void constructWithHelpSection (sal_Int32 _nMinHelpTextLines, sal_Int32 _nMaxHelpTextLines)
 

Private Attributes

::osl::Mutex & m_rMutex
 
bool m_bHasHelpSection
 
sal_Int32 m_nMinHelpTextLines
 
sal_Int32 m_nMaxHelpTextLines
 
bool m_bIsReadOnly
 
std::unique_ptr< ::cppu::IPropertyArrayHelperm_pPropertyInfo
 

Additional Inherited Members

- Protected Member Functions inherited from comphelper::OPropertyContainerHelper
 OPropertyContainerHelper ()
 
 ~OPropertyContainerHelper ()
 
void registerProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, void *_pPointerToMember, const css::uno::Type &_rMemberType)
 
void registerMayBeVoidProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, css::uno::Any *_pPointerToMember, const css::uno::Type &_rExpectedType)
 
void registerPropertyNoMember (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, const css::uno::Type &_rType, css::uno::Any const &_pInitialValue)
 
void revokeProperty (sal_Int32 _nHandle)
 
bool isRegisteredProperty (sal_Int32 _nHandle) const
 
bool isRegisteredProperty (const OUString &_rName) const
 
bool convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)
 
void setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue)
 
void getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const
 
void describeProperties (css::uno::Sequence< css::beans::Property > &_rProps) const
 
const css::beans::Property & getProperty (const OUString &_rName) const
 

Detailed Description

helper class for implementing the property set related functionality of an ImplInspectorModel

Definition at line 55 of file inspectormodelbase.cxx.

Constructor & Destructor Documentation

◆ InspectorModelProperties()

pcr::InspectorModelProperties::InspectorModelProperties ( ::osl::Mutex &  _rMutex)
explicit

Member Function Documentation

◆ constructWithHelpSection()

void pcr::InspectorModelProperties::constructWithHelpSection ( sal_Int32  _nMinHelpTextLines,
sal_Int32  _nMaxHelpTextLines 
)

◆ getInfoHelper()

cppu::IPropertyArrayHelper & pcr::InspectorModelProperties::getInfoHelper ( )

◆ getMaxHelpTextLines()

sal_Int32 pcr::InspectorModelProperties::getMaxHelpTextLines ( ) const
inline

Definition at line 77 of file inspectormodelbase.cxx.

References m_nMaxHelpTextLines.

◆ getMinHelpTextLines()

sal_Int32 pcr::InspectorModelProperties::getMinHelpTextLines ( ) const
inline

Definition at line 76 of file inspectormodelbase.cxx.

References m_nMinHelpTextLines.

◆ getPropertySetInfo()

Reference< XPropertySetInfo > pcr::InspectorModelProperties::getPropertySetInfo ( )

Definition at line 149 of file inspectormodelbase.cxx.

References getInfoHelper().

◆ hasHelpSection()

bool pcr::InspectorModelProperties::hasHelpSection ( ) const
inline

Definition at line 74 of file inspectormodelbase.cxx.

References m_bHasHelpSection.

◆ isReadOnly()

bool pcr::InspectorModelProperties::isReadOnly ( ) const
inline

Definition at line 75 of file inspectormodelbase.cxx.

References m_bIsReadOnly.

Member Data Documentation

◆ m_bHasHelpSection

bool pcr::InspectorModelProperties::m_bHasHelpSection
private

◆ m_bIsReadOnly

bool pcr::InspectorModelProperties::m_bIsReadOnly
private

Definition at line 62 of file inspectormodelbase.cxx.

Referenced by InspectorModelProperties(), and isReadOnly().

◆ m_nMaxHelpTextLines

sal_Int32 pcr::InspectorModelProperties::m_nMaxHelpTextLines
private

◆ m_nMinHelpTextLines

sal_Int32 pcr::InspectorModelProperties::m_nMinHelpTextLines
private

◆ m_pPropertyInfo

std::unique_ptr< ::cppu::IPropertyArrayHelper > pcr::InspectorModelProperties::m_pPropertyInfo
private

Definition at line 64 of file inspectormodelbase.cxx.

Referenced by getInfoHelper().

◆ m_rMutex

::osl::Mutex& pcr::InspectorModelProperties::m_rMutex
private

Definition at line 58 of file inspectormodelbase.cxx.

Referenced by getInfoHelper().


The documentation for this class was generated from the following file: