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:
[legend]

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::TextAttrib ( sal_uInt16  nWhich)
inlineprotected

Definition at line 44 of file txtattr.hxx.

TextAttrib::TextAttrib ( const TextAttrib )
protecteddefault
TextAttrib::~TextAttrib ( )
virtual

Definition at line 23 of file txtattr.cxx.

Member Function Documentation

virtual std::unique_ptr<TextAttrib> TextAttrib::Clone ( ) const
pure virtual
bool TextAttrib::operator!= ( const TextAttrib rAttr) const
inline

Definition at line 56 of file txtattr.hxx.

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

Implemented in TextAttribProtect, TextAttribFontWeight, and TextAttribFontColor.

Definition at line 27 of file txtattr.cxx.

References mnWhich.

Referenced by TextAttribProtect::operator==().

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

Definition at line 51 of file txtattr.hxx.

Member Data Documentation

sal_uInt16 const TextAttrib::mnWhich
private

Definition at line 41 of file txtattr.hxx.

Referenced by operator==().


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