60#ifndef INCLUDED_LOTUSWORDPRO_INC_XFILTER_XFFONT_HXX
61#define INCLUDED_LOTUSWORDPRO_INC_XFILTER_XFFONT_HXX
71#define XFFONT_FLAG_NAME 0X00000001
72#define XFFONT_FLAG_NAME_ASIA 0X00000002
73#define XFFONT_FLAG_NAME_COMPLEX 0X00000004
75#define XFFONT_FLAG_SIZE 0X00000008
76#define XFFONT_FLAG_SIZE_ASIA 0X00000010
77#define XFFONT_FLAG_SIZE_COMPLEX 0X00000020
79#define XFFONT_FLAG_ITALIC 0X00000040
80#define XFFONT_FLAG_ITALIC_ASIA 0X00000080
81#define XFFONT_FLAG_ITALIC_COMPLEX 0X00000100
83#define XFFONT_FLAG_BOLD 0X00000200
84#define XFFONT_FLAG_BOLD_ASIA 0X00000400
85#define XFFONT_FLAG_BOLD_COMPLEX 0X00000800
87#define XFFONT_FLAG_UNDERLINE 0X00001000
88#define XFFONT_FLAG_UNDERLINECOLOR 0X00002000
90#define XFFONT_FLAG_POSITION 0X00004000
91#define XFFONT_FLAG_SCALE 0X00008000
92#define XFFONT_FLAG_CHARSPACE 0x00010000
94#define XFFONT_FLAG_COLOR 0x00020000
95#define XFFONT_FLAG_BGCOLOR 0x00040000
97#define XFFONT_FLAG_CROSSOUT 0x00080000
98#define XFFONT_FLAG_RELIEF 0x00100000
99#define XFFONT_FLAG_TRANSFORM 0x00200000
100#define XFFONT_FLAG_EMPHASIZE 0x00400000
101#define XFFONT_FLAG_OUTLINE 0x00800000
102#define XFFONT_FLAG_SHADOW 0x01000000
103#define XFFONT_FLAG_BLINK 0x02000000
104#define XFFONT_FLAG_WIDTHSCALE 0x04000000
Stream wrapper for sax writer.
@descr The font struct of openoffice xml filter.
sal_Int16 GetFontSize() const
void SetFontNameAsia(const OUString &name)
@descr Set font name for asia locale.
enumXFTransform GetTransform() const
enumXFTransform m_eTransform
void SetBoldComplex(bool bold)
@descr Set font bold for complex locale.
void SetBoldAsia(bool bold)
@descr Set font bold for asia locale.
void SetBold(bool bold)
@descr Set font bold.
friend bool operator!=(XFFont const &f1, XFFont const &f2)
OUString m_strFontNameComplex
void SetBackColorTransparent()
void SetFontSizeComplex(sal_Int16 size)
@descr Set font size for BIDI locale.
void SetFontNameComplex(const OUString &name)
@descr Set font name for BIDI locale.
void SetFontSizeAsia(sal_Int16 size)
@descr Set font size for asia locale.
void SetPosition(bool bUpperScript=true, sal_Int16 pos=33, sal_Int16 scale=58)
@descr Set upper script or lower script.
enumXFCrossout m_eCrossout
void SetBackColor(XFColor const &color)
@descr Set font background color.
void SetFontName(const OUString &name)
@descr Set font name.
void SetItalicComplex(bool italic)
@descr Set whether font is italic for BIDI locale.
sal_Int16 m_nFontSizeAsia
void SetCrossout(enumXFCrossout cross)
@descr Set crossout.
void SetFontSize(sal_Int16 size)
@descr Set font size.
void SetTransform(enumXFTransform transform)
@descr Set font transform type,pls refer to enumXFTransform.
OUString m_strFontNameAsia
void SetUnderline(enumXFUnderline underline, bool wordByWord=false)
@descr Set underline style.
sal_Int16 m_nFontSizeComplex
void SetItalicAsia(bool italic)
@descr Set whether font is italic for asia locale.
void SetColor(XFColor const &color)
@descr Set font color.
virtual ~XFFont() override
enumXFUnderline m_eUnderline
friend bool operator==(XFFont const &f1, XFFont const &f2)
const XFColor & GetColor() const
XFColor m_aUnderlineColor
void SetItalic(bool italic)
@descr Set whether font is italic.
void ToXml(IXFStream *pStrm)
B3DVector cross(const B3DVector &rVecA, const B3DVector &rVecB)
#define XFFONT_FLAG_ITALIC
#define XFFONT_FLAG_SIZE_COMPLEX
#define XFFONT_FLAG_SIZE_ASIA
#define XFFONT_FLAG_BOLD_COMPLEX
#define XFFONT_FLAG_UNDERLINE
#define XFFONT_FLAG_POSITION
#define XFFONT_FLAG_CROSSOUT
#define XFFONT_FLAG_BOLD_ASIA
#define XFFONT_FLAG_NAME_ASIA
#define XFFONT_FLAG_NAME_COMPLEX
#define XFFONT_FLAG_BGCOLOR
#define XFFONT_FLAG_ITALIC_ASIA
#define XFFONT_FLAG_COLOR
#define XFFONT_FLAG_TRANSFORM
#define XFFONT_FLAG_ITALIC_COMPLEX