LibreOffice Module lotuswordpro (master) 1
|
#include <lwpfont.hxx>
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 |
Definition at line 104 of file lwpfont.hxx.
|
private |
Enumerator | |
---|---|
POINTSIZE | |
COLOR | |
OVERSTRIKE | |
TIGHTNESS | |
FACENAME | |
BKCOLOR | |
ALTFACENAME | |
ALL_BITS |
Definition at line 135 of file lwpfont.hxx.
|
inline |
Definition at line 107 of file lwpfont.hxx.
|
inline |
Definition at line 119 of file lwpfont.hxx.
References m_nAltFaceName.
|
inline |
Definition at line 118 of file lwpfont.hxx.
References m_nFaceName.
|
inline |
Definition at line 326 of file lwpfont.cxx.
References ALTFACENAME, and m_nOverrideBits.
|
inlineprivate |
Definition at line 341 of file lwpfont.cxx.
References BKCOLOR, and m_nOverrideBits.
Referenced by Override().
|
inlineprivate |
Definition at line 336 of file lwpfont.cxx.
References COLOR, and m_nOverrideBits.
Referenced by Override().
|
inline |
Definition at line 321 of file lwpfont.cxx.
References FACENAME, and m_nOverrideBits.
|
inlineprivate |
Definition at line 331 of file lwpfont.cxx.
References m_nOverrideBits, and POINTSIZE.
Referenced by Override().
void LwpFontNameEntry::Override | ( | rtl::Reference< XFFont > const & | pFont | ) |
Definition at line 292 of file lwpfont.cxx.
References IsBackgroundColorOverridden(), IsColorOverridden(), IsPointSizeOverridden(), LwpColor::IsTransparent(), LwpColor::IsValidColor(), m_BackColor, m_Color, m_nPointSize, and LwpColor::To24Color().
void LwpFontNameEntry::Read | ( | LwpObjectStream * | pStrm | ) |
Definition at line 274 of file lwpfont.cxx.
References m_BackColor, m_Color, m_nAltFaceName, m_nApplyBits, m_nFaceName, m_nOverrideBits, m_nOverstrike, m_nPointSize, m_nTightness, LwpObjectStream::QuickReaduInt16(), LwpObjectStream::QuickReaduInt32(), LwpObjectStream::QuickReaduInt8(), LwpColor::Read(), and LwpObjectStream::SkipExtra().
|
private |
Definition at line 131 of file lwpfont.hxx.
Referenced by Override(), and Read().
|
private |
Definition at line 130 of file lwpfont.hxx.
Referenced by Override(), and Read().
|
private |
Definition at line 134 of file lwpfont.hxx.
Referenced by GetAltFaceID(), and Read().
|
private |
Definition at line 126 of file lwpfont.hxx.
Referenced by Read().
|
private |
Definition at line 133 of file lwpfont.hxx.
Referenced by GetFaceID(), and Read().
|
private |
Definition at line 125 of file lwpfont.hxx.
Referenced by IsAltFaceNameOverridden(), IsBackgroundColorOverridden(), IsColorOverridden(), IsFaceNameOverridden(), IsPointSizeOverridden(), and Read().
|
private |
Definition at line 128 of file lwpfont.hxx.
Referenced by Read().
|
private |
Definition at line 127 of file lwpfont.hxx.
Referenced by Override(), and Read().
|
private |
Definition at line 129 of file lwpfont.hxx.
Referenced by Read().