LibreOffice Module vcl (master)  1
Public Member Functions | Private Attributes | List of all members
TextAttribFontWeight Class Reference

#include <txtattr.hxx>

Inheritance diagram for TextAttribFontWeight:
[legend]
Collaboration diagram for TextAttribFontWeight:
[legend]

Public Member Functions

 TextAttribFontWeight (FontWeight eWeight)
 
virtual void SetFont (vcl::Font &rFont) const override
 
virtual std::unique_ptr< TextAttribClone () const override
 
virtual bool operator== (const TextAttrib &rAttr) const override
 
FontWeight getFontWeight () const
 
- Public Member Functions inherited from TextAttrib
virtual ~TextAttrib ()
 
sal_uInt16 Which () const
 
bool operator!= (const TextAttrib &rAttr) const
 

Private Attributes

FontWeight const meWeight
 

Additional Inherited Members

- Protected Member Functions inherited from TextAttrib
 TextAttrib (sal_uInt16 nWhich)
 
 TextAttrib (const TextAttrib &)=default
 

Detailed Description

Definition at line 77 of file txtattr.hxx.

Constructor & Destructor Documentation

TextAttribFontWeight::TextAttribFontWeight ( FontWeight  eWeight)

Definition at line 53 of file txtattr.cxx.

Referenced by Clone().

Member Function Documentation

std::unique_ptr< TextAttrib > TextAttribFontWeight::Clone ( ) const
overridevirtual

Implements TextAttrib.

Definition at line 63 of file txtattr.cxx.

References TextAttribFontWeight().

FontWeight TextAttribFontWeight::getFontWeight ( ) const
inline

Definition at line 89 of file txtattr.hxx.

bool TextAttribFontWeight::operator== ( const TextAttrib rAttr) const
overridevirtual

Implements TextAttrib.

Definition at line 68 of file txtattr.cxx.

References meWeight.

void TextAttribFontWeight::SetFont ( vcl::Font rFont) const
overridevirtual

Implements TextAttrib.

Definition at line 58 of file txtattr.cxx.

References meWeight, and vcl::Font::SetWeight().

Member Data Documentation

FontWeight const TextAttribFontWeight::meWeight
private

Definition at line 80 of file txtattr.hxx.

Referenced by operator==(), and SetFont().


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