105 pFont->SetPosition(
false);
225 thePanoseToSkip.
Read(pStrm);
267 return (index <= m_nCount && index > 0) ?
m_pFontEntries[
index-1].GetFaceName() : OUString();
300 pFont->SetColor(aColor);
308 pFont->SetBackColor( aColor );
312 pFont->SetBackColorTransparent();
void Read(LwpObjectStream *pStrm)
@descr read atomholder from object stream the default encoding used in Word Pro is 1252
const OUString & str() const
bool IsValidColor() const
void Read(LwpObjectStream *pStrm)
@descr read color and then resolve the RGB values
bool IsTransparent() const
sal_uInt32 To24Color()
@descr return the BGR format
sal_uInt8 m_nAttrOverrideBits2
void Override(rtl::Reference< XFFont > const &pFont)
bool IsSubOverridden() const
bool IsBoldOverridden() const
bool IsSmallCapsOverridden() const
sal_uInt16 m_nAttrOverrideBits
bool IsCaseOverridden() const
void Read(LwpObjectStream *pStrm)
bool IsStrikeThruOverridden() const
bool IsSuperOverridden() const
sal_uInt8 m_nAttrApplyBits2
bool IsItalicOverridden() const
sal_uInt16 m_nAttrApplyBits
bool IsUnderlineOverridden() const
std::unique_ptr< LwpFontAttrEntry[]> m_pFontAttrs
void Read(LwpObjectStream *pStrm)
void Override(sal_uInt16 index, rtl::Reference< XFFont > const &pFont)
rtl::Reference< XFFont > CreateOverrideFont(sal_uInt32 fontID, sal_uInt32 overID)
void Read(LwpObjectStream *pStrm)
LwpFontAttrManager m_AttrMgr
static sal_uInt16 GetFontAttrIndex(sal_uInt32 fontID)
LwpFontNameManager m_FNMgr
rtl::Reference< XFFont > CreateFont(sal_uInt32 fontID)
void Override(sal_uInt32 fontID, rtl::Reference< XFFont > const &pFont)
static sal_uInt16 GetFontNameIndex(sal_uInt32 fontID)
OUString GetNameByID(sal_uInt32 fontID)
sal_uInt16 m_nAltFaceName
void Override(rtl::Reference< XFFont > const &pFont)
void Read(LwpObjectStream *pStrm)
bool IsColorOverridden() const
sal_uInt8 m_nOverrideBits
bool IsPointSizeOverridden() const
bool IsAltFaceNameOverridden() const
bool IsFaceNameOverridden() const
bool IsBackgroundColorOverridden() const
void Read(LwpObjectStream *pStrm)
void Override(sal_uInt16 index, rtl::Reference< XFFont > const &pFont)
OUString GetNameByIndex(sal_uInt16 index)
std::unique_ptr< LwpFontNameEntry[]> m_pFontNames
OUString const & GetFaceName() const
void Read(LwpObjectStream *pStrm)
LwpAtomHolder m_WindowsFaceName
std::unique_ptr< LwpFontTableEntry[]> m_pFontEntries
OUString GetFaceName(sal_uInt16 index)
void Read(LwpObjectStream *pStrm)
XFStyleManager * GetXFStyleManager()
static LwpGlobalMgr * GetInstance(LwpSvStream *pSvStream=nullptr)
stream class for LwpObject body data provide stream like interface to read object data
sal_uInt16 QuickReaduInt16(bool *pFailure=nullptr)
@descr Quick read sal_uInt32
void SkipExtra()
@descr skip extra bytes
sal_uInt8 QuickReaduInt8(bool *pFailure=nullptr)
@descr Quick read sal_uInt8
sal_uInt32 QuickReaduInt32(bool *pFailure=nullptr)
@descr Quick read sal_uInt32
used for lwpfont for font description
void Read(LwpObjectStream *pStrm)
@descr read PonoseNumber from object stream
Font declaration in OOo xml file.
@descr The font struct of openoffice xml filter.
Style manager for the filter.
void AddFontDecl(XFFontDecl const &aFontDecl)
#define SAL_WARN_IF(condition, area, stream)
@ enumXFTransformSmallCaps
@ enumXFTransformCapitalize