LibreOffice Module writerfilter (master) 1
Public Member Functions | Private Attributes | List of all members
writerfilter::rtftok::RTFSprm Class Reference

RTF keyword with a parameter. More...

#include <rtfsprm.hxx>

Inheritance diagram for writerfilter::rtftok::RTFSprm:
[legend]
Collaboration diagram for writerfilter::rtftok::RTFSprm:
[legend]

Public Member Functions

 RTFSprm (Id nKeyword, RTFValue::Pointer_t &pValue)
 
sal_uInt32 getId () const override
 Returns id of the SPRM. More...
 
Value::Pointer_t getValue () override
 Returns value of the SPRM. More...
 
writerfilter::Reference< Properties >::Pointer_t getProps () override
 Returns reference to properties contained in the SPRM. More...
 
std::string getName () const override
 Returns name of sprm. More...
 
std::string toString () const override
 Returns string representation of sprm. More...
 
virtual sal_uInt32 getId () const =0
 Returns id of the SPRM. More...
 
virtual Value::Pointer_t getValue ()=0
 Returns value of the SPRM. More...
 
virtual writerfilter::Reference< Properties >::Pointer_t getProps ()=0
 Returns reference to properties contained in the SPRM. More...
 
virtual std::string getName () const =0
 Returns name of sprm. More...
 
virtual std::string toString () const =0
 Returns string representation of sprm. More...
 
- Public Member Functions inherited from SvRefBase
 SvRefBase ()
 
 SvRefBase (const SvRefBase &)
 
SvRefBaseoperator= (const SvRefBase &)
 
void RestoreNoDelete ()
 
void AddNextRef ()
 
void AddFirstRef ()
 
void ReleaseRef ()
 
unsigned int GetRefCount () const
 

Private Attributes

Id m_nKeyword
 
RTFValue::Pointer_tm_pValue
 

Additional Inherited Members

- Public Types inherited from writerfilter::Sprm
typedef tools::SvRef< SprmPointer_t
 
- Protected Member Functions inherited from writerfilter::Sprm
 ~Sprm () override
 
- Protected Member Functions inherited from SvRefBase
virtual ~SvRefBase () COVERITY_NOEXCEPT_FALSE
 

Detailed Description

RTF keyword with a parameter.

Definition at line 84 of file rtfsprm.hxx.

Constructor & Destructor Documentation

◆ RTFSprm()

writerfilter::rtftok::RTFSprm::RTFSprm ( Id  nKeyword,
RTFValue::Pointer_t pValue 
)

Definition at line 19 of file rtfsprm.cxx.

Member Function Documentation

◆ getId()

sal_uInt32 writerfilter::rtftok::RTFSprm::getId ( ) const
overridevirtual

Returns id of the SPRM.

Implements writerfilter::Sprm.

Definition at line 25 of file rtfsprm.cxx.

References m_nKeyword.

◆ getName()

std::string writerfilter::rtftok::RTFSprm::getName ( ) const
overridevirtual

Returns name of sprm.

Implements writerfilter::Sprm.

Definition at line 35 of file rtfsprm.cxx.

◆ getProps()

writerfilter::Reference< Properties >::Pointer_t writerfilter::rtftok::RTFSprm::getProps ( )
overridevirtual

Returns reference to properties contained in the SPRM.

Implements writerfilter::Sprm.

Definition at line 29 of file rtfsprm.cxx.

References m_pValue.

◆ getValue()

Value::Pointer_t writerfilter::rtftok::RTFSprm::getValue ( )
overridevirtual

Returns value of the SPRM.

Implements writerfilter::Sprm.

Definition at line 27 of file rtfsprm.cxx.

References m_pValue.

◆ toString()

std::string writerfilter::rtftok::RTFSprm::toString ( ) const
overridevirtual

Returns string representation of sprm.

Implements writerfilter::Sprm.

Definition at line 39 of file rtfsprm.cxx.

References aBuf, m_nKeyword, m_pValue, and writerfilter::QNameToString().

Member Data Documentation

◆ m_nKeyword

Id writerfilter::rtftok::RTFSprm::m_nKeyword
private

Definition at line 96 of file rtfsprm.hxx.

Referenced by getId(), and toString().

◆ m_pValue

RTFValue::Pointer_t& writerfilter::rtftok::RTFSprm::m_pValue
private

Definition at line 97 of file rtfsprm.hxx.

Referenced by getProps(), getValue(), and toString().


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