LibreOffice Module vcl (master) 1
|
#include <txtattr.hxx>
Public Member Functions | |
TextAttribFontColor (const Color &rColor) | |
const Color & | GetColor () const |
virtual void | SetFont (vcl::Font &rFont) const override |
virtual std::unique_ptr< TextAttrib > | Clone () const override |
virtual bool | operator== (const TextAttrib &rAttr) const override |
Public Member Functions inherited from TextAttrib | |
virtual | ~TextAttrib () |
sal_uInt16 | Which () const |
virtual void | SetFont (vcl::Font &rFont) const =0 |
virtual std::unique_ptr< TextAttrib > | Clone () const =0 |
virtual bool | operator== (const TextAttrib &rAttr) const =0 |
bool | operator!= (const TextAttrib &rAttr) const |
Private Attributes | |
Color | maColor |
Additional Inherited Members | |
Protected Member Functions inherited from TextAttrib | |
TextAttrib (sal_uInt16 nWhich) | |
TextAttrib (const TextAttrib &)=default | |
Definition at line 61 of file txtattr.hxx.
TextAttribFontColor::TextAttribFontColor | ( | const Color & | rColor | ) |
|
overridevirtual |
|
inline |
Definition at line 69 of file txtattr.hxx.
References maColor.
Referenced by TextEngine::SeekCursor().
|
overridevirtual |
|
overridevirtual |
Implements TextAttrib.
Definition at line 37 of file txtattr.cxx.
References maColor, and vcl::Font::SetColor().
|
private |
Definition at line 64 of file txtattr.hxx.
Referenced by operator==(), and SetFont().