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

#include <lwpfont.hxx>

Collaboration diagram for LwpFontNameEntry:
[legend]

Public Member Functions

 LwpFontNameEntry ()
 
void Read (LwpObjectStream *pStrm)
 
sal_uInt16 GetFaceID () const
 
sal_uInt16 GetAltFaceID () const
 
void Override (rtl::Reference< XFFont > const &pFont)
 
bool IsFaceNameOverridden () const
 
bool IsAltFaceNameOverridden () const
 

Private Types

enum  {
  POINTSIZE = 0x01 ,
  COLOR = 0x02 ,
  OVERSTRIKE = 0x04 ,
  TIGHTNESS = 0x08 ,
  FACENAME = 0x10 ,
  BKCOLOR = 0x20 ,
  ALTFACENAME = 0x40 ,
  ALL_BITS
}
 

Private Member Functions

bool IsPointSizeOverridden () const
 
bool IsColorOverridden () const
 
bool IsBackgroundColorOverridden () const
 

Private Attributes

sal_uInt8 m_nOverrideBits
 
sal_uInt8 m_nApplyBits
 
sal_uInt32 m_nPointSize
 
sal_uInt16 m_nOverstrike
 
sal_uInt16 m_nTightness
 
LwpColor m_Color
 
LwpColor m_BackColor
 
sal_uInt16 m_nFaceName
 
sal_uInt16 m_nAltFaceName
 

Detailed Description

Definition at line 104 of file lwpfont.hxx.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
POINTSIZE 
COLOR 
OVERSTRIKE 
TIGHTNESS 
FACENAME 
BKCOLOR 
ALTFACENAME 
ALL_BITS 

Definition at line 135 of file lwpfont.hxx.

Constructor & Destructor Documentation

◆ LwpFontNameEntry()

LwpFontNameEntry::LwpFontNameEntry ( )
inline

Definition at line 107 of file lwpfont.hxx.

Member Function Documentation

◆ GetAltFaceID()

sal_uInt16 LwpFontNameEntry::GetAltFaceID ( ) const
inline

Definition at line 119 of file lwpfont.hxx.

References m_nAltFaceName.

◆ GetFaceID()

sal_uInt16 LwpFontNameEntry::GetFaceID ( ) const
inline

Definition at line 118 of file lwpfont.hxx.

References m_nFaceName.

◆ IsAltFaceNameOverridden()

bool LwpFontNameEntry::IsAltFaceNameOverridden ( ) const
inline

Definition at line 326 of file lwpfont.cxx.

References ALTFACENAME, and m_nOverrideBits.

◆ IsBackgroundColorOverridden()

bool LwpFontNameEntry::IsBackgroundColorOverridden ( ) const
inlineprivate

Definition at line 341 of file lwpfont.cxx.

References BKCOLOR, and m_nOverrideBits.

Referenced by Override().

◆ IsColorOverridden()

bool LwpFontNameEntry::IsColorOverridden ( ) const
inlineprivate

Definition at line 336 of file lwpfont.cxx.

References COLOR, and m_nOverrideBits.

Referenced by Override().

◆ IsFaceNameOverridden()

bool LwpFontNameEntry::IsFaceNameOverridden ( ) const
inline

Definition at line 321 of file lwpfont.cxx.

References FACENAME, and m_nOverrideBits.

◆ IsPointSizeOverridden()

bool LwpFontNameEntry::IsPointSizeOverridden ( ) const
inlineprivate

Definition at line 331 of file lwpfont.cxx.

References m_nOverrideBits, and POINTSIZE.

Referenced by Override().

◆ Override()

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

◆ Read()

void LwpFontNameEntry::Read ( LwpObjectStream pStrm)

Member Data Documentation

◆ m_BackColor

LwpColor LwpFontNameEntry::m_BackColor
private

Definition at line 131 of file lwpfont.hxx.

Referenced by Override(), and Read().

◆ m_Color

LwpColor LwpFontNameEntry::m_Color
private

Definition at line 130 of file lwpfont.hxx.

Referenced by Override(), and Read().

◆ m_nAltFaceName

sal_uInt16 LwpFontNameEntry::m_nAltFaceName
private

Definition at line 134 of file lwpfont.hxx.

Referenced by GetAltFaceID(), and Read().

◆ m_nApplyBits

sal_uInt8 LwpFontNameEntry::m_nApplyBits
private

Definition at line 126 of file lwpfont.hxx.

Referenced by Read().

◆ m_nFaceName

sal_uInt16 LwpFontNameEntry::m_nFaceName
private

Definition at line 133 of file lwpfont.hxx.

Referenced by GetFaceID(), and Read().

◆ m_nOverrideBits

sal_uInt8 LwpFontNameEntry::m_nOverrideBits
private

◆ m_nOverstrike

sal_uInt16 LwpFontNameEntry::m_nOverstrike
private

Definition at line 128 of file lwpfont.hxx.

Referenced by Read().

◆ m_nPointSize

sal_uInt32 LwpFontNameEntry::m_nPointSize
private

Definition at line 127 of file lwpfont.hxx.

Referenced by Override(), and Read().

◆ m_nTightness

sal_uInt16 LwpFontNameEntry::m_nTightness
private

Definition at line 129 of file lwpfont.hxx.

Referenced by Read().


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