LibreOffice Module vcl (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
TextAttrib Class Referenceabstract

#include <txtattr.hxx>

Inheritance diagram for TextAttrib:

Public Member Functions

virtual ~TextAttrib ()
sal_uInt16 Which () const
virtual void SetFont (vcl::Font &rFont) const =0
virtual std::unique_ptr< TextAttribClone () const =0
virtual bool operator== (const TextAttrib &rAttr) const =0
bool operator!= (const TextAttrib &rAttr) const

Protected Member Functions

 TextAttrib (sal_uInt16 nWhich)
 TextAttrib (const TextAttrib &)=default

Private Attributes

sal_uInt16 const mnWhich

Detailed Description

Definition at line 38 of file txtattr.hxx.

Constructor & Destructor Documentation

◆ TextAttrib() [1/2]

TextAttrib::TextAttrib ( sal_uInt16  nWhich)

Definition at line 44 of file txtattr.hxx.

◆ TextAttrib() [2/2]

TextAttrib::TextAttrib ( const TextAttrib )

◆ ~TextAttrib()

TextAttrib::~TextAttrib ( )

Definition at line 23 of file txtattr.cxx.

Member Function Documentation

◆ Clone()

virtual std::unique_ptr< TextAttrib > TextAttrib::Clone ( ) const
pure virtual

◆ operator!=()

bool TextAttrib::operator!= ( const TextAttrib rAttr) const

Definition at line 56 of file txtattr.hxx.

◆ operator==()

bool TextAttrib::operator== ( const TextAttrib rAttr) const
pure virtual

Implemented in TextAttribFontColor, TextAttribFontWeight, and TextAttribProtect.

Definition at line 27 of file txtattr.cxx.

References mnWhich.

Referenced by TextAttribProtect::operator==().

◆ SetFont()

virtual void TextAttrib::SetFont ( vcl::Font rFont) const
pure virtual

◆ Which()

sal_uInt16 TextAttrib::Which ( ) const

Definition at line 51 of file txtattr.hxx.

Member Data Documentation

◆ mnWhich

sal_uInt16 const TextAttrib::mnWhich

Definition at line 41 of file txtattr.hxx.

Referenced by operator==().

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