LibreOffice Module lotuswordpro (master) 1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
LwpFontAttrEntry Class Reference

#include <lwpfont.hxx>

Public Member Functions

 LwpFontAttrEntry ()
 
void Read (LwpObjectStream *pStrm)
 
void Override (rtl::Reference< XFFont > const &pFont)
 

Private Types

enum  {
  BOLD = 0x0001 ,
  ITALIC = 0x0002 ,
  STRIKETHRU = 0x0004 ,
  SUPERSCRIPT = 0x0100 ,
  SUBSCRIPT = 0x0200 ,
  SMALLCAPS = 0x0400 ,
  ALL_ATTRS ,
  CASE_DONTCARE = 0 ,
  CASE_NORMAL = 1 ,
  CASE_UPPER = 2 ,
  CASE_LOWER = 3 ,
  CASE_INITCAPS = 4 ,
  CASE_STYLE = 7 ,
  UNDER_DONTCARE = 0 ,
  UNDER_OFF = 1 ,
  UNDER_SINGLE = 2 ,
  UNDER_DOUBLE = 3 ,
  UNDER_WORD_SINGLE = 4 ,
  UNDER_WORD_DOUBLE = 5 ,
  UNDER_STYLE = 7 ,
  CASE = 0x01 ,
  UNDER = 0x02 ,
  ALL_ATTRS2 = CASE | UNDER
}
 

Private Member Functions

bool Is (sal_uInt16 Attr)
 
bool IsBoldOverridden () const
 
bool IsItalicOverridden () const
 
bool IsStrikeThruOverridden () const
 
bool IsSmallCapsOverridden () const
 
bool IsSuperOverridden () const
 
bool IsSubOverridden () const
 
bool IsUnderlineOverridden () const
 
bool IsCaseOverridden () const
 

Private Attributes

sal_uInt16 m_nAttrBits
 
sal_uInt16 m_nAttrOverrideBits
 
sal_uInt16 m_nAttrApplyBits
 
sal_uInt8 m_nAttrOverrideBits2
 
sal_uInt8 m_nAttrApplyBits2
 
sal_uInt8 m_nCase
 
sal_uInt8 m_nUnder
 

Detailed Description

Definition at line 173 of file lwpfont.hxx.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
BOLD 
ITALIC 
STRIKETHRU 
SUPERSCRIPT 
SUBSCRIPT 
SMALLCAPS 
ALL_ATTRS 
CASE_DONTCARE 
CASE_NORMAL 
CASE_UPPER 
CASE_LOWER 
CASE_INITCAPS 
CASE_STYLE 
UNDER_DONTCARE 
UNDER_OFF 
UNDER_SINGLE 
UNDER_DOUBLE 
UNDER_WORD_SINGLE 
UNDER_WORD_DOUBLE 
UNDER_STYLE 
CASE 
UNDER 
ALL_ATTRS2 

Definition at line 196 of file lwpfont.hxx.

Constructor & Destructor Documentation

◆ LwpFontAttrEntry()

LwpFontAttrEntry::LwpFontAttrEntry ( )
inline

Definition at line 176 of file lwpfont.hxx.

Member Function Documentation

◆ Is()

bool LwpFontAttrEntry::Is ( sal_uInt16  Attr)
private

Definition at line 173 of file lwpfont.cxx.

References m_nAttrBits.

Referenced by Override().

◆ IsBoldOverridden()

bool LwpFontAttrEntry::IsBoldOverridden ( ) const
private

Definition at line 178 of file lwpfont.cxx.

References BOLD, and m_nAttrOverrideBits.

Referenced by Override().

◆ IsCaseOverridden()

bool LwpFontAttrEntry::IsCaseOverridden ( ) const
private

Definition at line 210 of file lwpfont.cxx.

References CASE, and m_nAttrOverrideBits2.

Referenced by Override().

◆ IsItalicOverridden()

bool LwpFontAttrEntry::IsItalicOverridden ( ) const
private

Definition at line 183 of file lwpfont.cxx.

References ITALIC, and m_nAttrOverrideBits.

Referenced by Override().

◆ IsSmallCapsOverridden()

bool LwpFontAttrEntry::IsSmallCapsOverridden ( ) const
private

Definition at line 191 of file lwpfont.cxx.

References m_nAttrOverrideBits, and SMALLCAPS.

Referenced by Override().

◆ IsStrikeThruOverridden()

bool LwpFontAttrEntry::IsStrikeThruOverridden ( ) const
private

Definition at line 187 of file lwpfont.cxx.

References m_nAttrOverrideBits, and STRIKETHRU.

Referenced by Override().

◆ IsSubOverridden()

bool LwpFontAttrEntry::IsSubOverridden ( ) const
private

Definition at line 200 of file lwpfont.cxx.

References m_nAttrOverrideBits, and SUBSCRIPT.

Referenced by Override().

◆ IsSuperOverridden()

bool LwpFontAttrEntry::IsSuperOverridden ( ) const
private

Definition at line 195 of file lwpfont.cxx.

References m_nAttrOverrideBits, and SUPERSCRIPT.

Referenced by Override().

◆ IsUnderlineOverridden()

bool LwpFontAttrEntry::IsUnderlineOverridden ( ) const
private

Definition at line 206 of file lwpfont.cxx.

References m_nAttrOverrideBits2, and UNDER.

Referenced by Override().

◆ Override()

void LwpFontAttrEntry::Override ( rtl::Reference< XFFont > const &  pFont)

◆ Read()

void LwpFontAttrEntry::Read ( LwpObjectStream pStrm)

Member Data Documentation

◆ m_nAttrApplyBits

sal_uInt16 LwpFontAttrEntry::m_nAttrApplyBits
private

Definition at line 191 of file lwpfont.hxx.

Referenced by Read().

◆ m_nAttrApplyBits2

sal_uInt8 LwpFontAttrEntry::m_nAttrApplyBits2
private

Definition at line 193 of file lwpfont.hxx.

Referenced by Read().

◆ m_nAttrBits

sal_uInt16 LwpFontAttrEntry::m_nAttrBits
private

Definition at line 189 of file lwpfont.hxx.

Referenced by Is(), and Read().

◆ m_nAttrOverrideBits

sal_uInt16 LwpFontAttrEntry::m_nAttrOverrideBits
private

◆ m_nAttrOverrideBits2

sal_uInt8 LwpFontAttrEntry::m_nAttrOverrideBits2
private

Definition at line 192 of file lwpfont.hxx.

Referenced by IsCaseOverridden(), IsUnderlineOverridden(), and Read().

◆ m_nCase

sal_uInt8 LwpFontAttrEntry::m_nCase
private

Definition at line 194 of file lwpfont.hxx.

Referenced by Override(), and Read().

◆ m_nUnder

sal_uInt8 LwpFontAttrEntry::m_nUnder
private

Definition at line 195 of file lwpfont.hxx.

Referenced by Override(), and Read().


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