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

#include <txtattr.hxx>

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

Public Member Functions

 TextAttribFontColor (const Color &rColor)
 
const ColorGetColor () const
 
virtual void SetFont (vcl::Font &rFont) const override
 
virtual std::unique_ptr< TextAttribClone () const override
 
virtual bool operator== (const TextAttrib &rAttr) const override
 
- Public Member Functions inherited from TextAttrib
virtual ~TextAttrib ()
 
sal_uInt16 Which () const
 
bool operator!= (const TextAttrib &rAttr) const
 

Private Attributes

Color const maColor
 

Additional Inherited Members

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

Detailed Description

Definition at line 61 of file txtattr.hxx.

Constructor & Destructor Documentation

TextAttribFontColor::TextAttribFontColor ( const Color rColor)

Definition at line 32 of file txtattr.cxx.

Referenced by Clone().

Member Function Documentation

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

Implements TextAttrib.

Definition at line 42 of file txtattr.cxx.

References TextAttribFontColor().

const Color& TextAttribFontColor::GetColor ( ) const
inline

Definition at line 69 of file txtattr.hxx.

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

Implements TextAttrib.

Definition at line 47 of file txtattr.cxx.

References maColor.

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

Implements TextAttrib.

Definition at line 37 of file txtattr.cxx.

References maColor, and vcl::Font::SetColor().

Member Data Documentation

Color const TextAttribFontColor::maColor
private

Definition at line 64 of file txtattr.hxx.

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


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