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

#include <formmetadata.hxx>

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

Public Member Functions

virtual sal_Int32 getPropertyId (const OUString &_rName) const override
 
virtual OUString getPropertyTranslation (sal_Int32 _nId) const override
 
virtual OUString getPropertyHelpId (sal_Int32 _nId) const override
 
virtual sal_Int16 getPropertyPos (sal_Int32 _nId) const override
 
virtual sal_uInt32 getPropertyUIFlags (sal_Int32 _nId) const override
 
virtual std::vector< OUString > getPropertyEnumRepresentations (sal_Int32 _nId) const override
 
bool isComposeable (const OUString &_rPropertyName) const
 
- Public Member Functions inherited from pcr::IPropertyInfoService
virtual sal_Int32 getPropertyId (const OUString &_rName) const =0
 
virtual OUString getPropertyTranslation (sal_Int32 _nId) const =0
 
virtual OUString getPropertyHelpId (sal_Int32 _nId) const =0
 
virtual sal_Int16 getPropertyPos (sal_Int32 _nId) const =0
 
virtual sal_uInt32 getPropertyUIFlags (sal_Int32 _nId) const =0
 
virtual std::vector< OUString > getPropertyEnumRepresentations (sal_Int32 _nId) const =0
 
virtual ~IPropertyInfoService ()
 

Static Private Member Functions

static const OPropertyInfoImplgetPropertyInfo ()
 
static const OPropertyInfoImplgetPropertyInfo (const OUString &_rName)
 
static const OPropertyInfoImplgetPropertyInfo (sal_Int32 _nId)
 

Static Private Attributes

static std::size_t s_nCount = 0
 
static OPropertyInfoImpls_pPropertyInfos = nullptr
 

Detailed Description

Definition at line 35 of file formmetadata.hxx.

Member Function Documentation

◆ getPropertyEnumRepresentations()

std::vector< OUString > pcr::OPropertyInfoService::getPropertyEnumRepresentations ( sal_Int32  _nId) const
overridevirtual

◆ getPropertyHelpId()

OUString pcr::OPropertyInfoService::getPropertyHelpId ( sal_Int32  _nId) const
overridevirtual

Implements pcr::IPropertyInfoService.

Definition at line 391 of file formmetadata.cxx.

References getPropertyInfo(), and pcr::OPropertyInfoImpl::sHelpId.

◆ getPropertyId()

sal_Int32 pcr::OPropertyInfoService::getPropertyId ( const OUString &  _rName) const
overridevirtual

Implements pcr::IPropertyInfoService.

Definition at line 378 of file formmetadata.cxx.

References getPropertyInfo(), and pcr::OPropertyInfoImpl::nId.

Referenced by isComposeable().

◆ getPropertyInfo() [1/3]

const OPropertyInfoImpl * pcr::OPropertyInfoService::getPropertyInfo ( )
staticprivate

◆ getPropertyInfo() [2/3]

const OPropertyInfoImpl * pcr::OPropertyInfoService::getPropertyInfo ( const OUString &  _rName)
staticprivate

◆ getPropertyInfo() [3/3]

const OPropertyInfoImpl * pcr::OPropertyInfoService::getPropertyInfo ( sal_Int32  _nId)
staticprivate

Definition at line 587 of file formmetadata.cxx.

References getPropertyInfo(), i, nId, s_nCount, and s_pPropertyInfos.

◆ getPropertyPos()

sal_Int16 pcr::OPropertyInfoService::getPropertyPos ( sal_Int32  _nId) const
overridevirtual

Implements pcr::IPropertyInfoService.

Definition at line 397 of file formmetadata.cxx.

References getPropertyInfo(), and pcr::OPropertyInfoImpl::nPos.

◆ getPropertyTranslation()

OUString pcr::OPropertyInfoService::getPropertyTranslation ( sal_Int32  _nId) const
overridevirtual

◆ getPropertyUIFlags()

sal_uInt32 pcr::OPropertyInfoService::getPropertyUIFlags ( sal_Int32  _nId) const
overridevirtual

◆ isComposeable()

bool pcr::OPropertyInfoService::isComposeable ( const OUString &  _rPropertyName) const

Definition at line 556 of file formmetadata.cxx.

References getPropertyId(), getPropertyUIFlags(), nId, and PROP_FLAG_COMPOSEABLE.

Member Data Documentation

◆ s_nCount

std::size_t pcr::OPropertyInfoService::s_nCount = 0
staticprivate

Definition at line 38 of file formmetadata.hxx.

Referenced by getPropertyInfo().

◆ s_pPropertyInfos

OPropertyInfoImpl * pcr::OPropertyInfoService::s_pPropertyInfos = nullptr
staticprivate

Definition at line 39 of file formmetadata.hxx.

Referenced by getPropertyInfo().


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