67 , m_nFontSizeComplex(0)
69 , m_bItalicAsia(false)
70 , m_bItalicComplex(false)
73 , m_bBoldComplex(false)
77 , m_bWordByWord(false)
81 , m_bTransparent(false)
214 OUString strSize = OUString::number(
m_nFontSize) +
"pt";
220 pAttrList->
AddAttribute(
"style:font-size-asian",strSize);
225 pAttrList->
AddAttribute(
"style:font-size-complex",strSize);
235 pAttrList->
AddAttribute(
"style:font-style-asian",
"italic");
239 pAttrList->
AddAttribute(
"style:font-style-complex",
"italic");
249 pAttrList->
AddAttribute(
"style:font-weight-asian",
"bold");
253 pAttrList->
AddAttribute(
"style:font-weight-complex",
"bold");
264 pAttrList->
AddAttribute(
"style:text-underline-color",
"font-color" );
295 OUString tmp = OUString::number(
m_nPosition) +
"% "
309 pAttrList->
AddAttribute(
"style:text-background-color",
"transparent");
Attribute list interface for sax writer.
virtual void AddAttribute(const OUString &name, const OUString &value)=0
@descr: Add an attribute to the attribute list.
Stream wrapper for sax writer.
virtual IXFAttrList * GetAttrList()=0
@descr return the Attribute list interface.
OUString ToString() const
@descr The font struct of openoffice xml filter.
enumXFTransform m_eTransform
OUString m_strFontNameComplex
enumXFCrossout m_eCrossout
sal_Int16 m_nFontSizeAsia
OUString m_strFontNameAsia
sal_Int16 m_nFontSizeComplex
enumXFUnderline m_eUnderline
XFColor m_aUnderlineColor
void ToXml(IXFStream *pStrm)
@ enumXFTransformSmallCaps
bool operator!=(XFFont const &f1, XFFont const &f2)
bool operator==(XFFont const &f1, XFFont const &f2)
#define XFFONT_FLAG_ITALIC
#define XFFONT_FLAG_SIZE_COMPLEX
#define XFFONT_FLAG_SIZE_ASIA
#define XFFONT_FLAG_UNDERLINECOLOR
#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_SCALE
#define XFFONT_FLAG_ITALIC_COMPLEX
OUString GetUnderlineName(enumXFUnderline type)
OUString GetTransformName(enumXFTransform type)
OUString GetCrossoutName(enumXFCrossout type)