LibreOffice Module extensions (master) 1
Public Member Functions | List of all members
pcr::IPropertyEnumRepresentation Class Referenceabstract

#include <enumrepresentation.hxx>

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

Public Member Functions

virtual std::vector< OUString > getDescriptions () const =0
 retrieves all descriptions of all possible values of the enumeration property More...
 
virtual void getValueFromDescription (const OUString &_rDescription, css::uno::Any &_out_rValue) const =0
 converts a given description into a property value More...
 
virtual OUString getDescriptionForValue (const css::uno::Any &_rEnumValue) const =0
 converts a given property value into a description More...
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 35 of file enumrepresentation.hxx.

Member Function Documentation

◆ getDescriptionForValue()

virtual OUString pcr::IPropertyEnumRepresentation::getDescriptionForValue ( const css::uno::Any &  _rEnumValue) const
pure virtual

converts a given property value into a description

Implemented in pcr::DefaultEnumRepresentation.

◆ getDescriptions()

virtual std::vector< OUString > pcr::IPropertyEnumRepresentation::getDescriptions ( ) const
pure virtual

retrieves all descriptions of all possible values of the enumeration property

Implemented in pcr::DefaultEnumRepresentation.

◆ getValueFromDescription()

virtual void pcr::IPropertyEnumRepresentation::getValueFromDescription ( const OUString &  _rDescription,
css::uno::Any &  _out_rValue 
) const
pure virtual

converts a given description into a property value

Implemented in pcr::DefaultEnumRepresentation.


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