LibreOffice Module lotuswordpro (master) 1
|
Shadow object. More...
#include <xfshadow.hxx>
Public Member Functions | |
XFShadow () | |
void | SetPosition (enumXFShadowPos pos) |
@descr set shadow position. More... | |
enumXFShadowPos | GetPosition () const |
@descr return shadow position. More... | |
void | SetOffset (double offset) |
@descr Set shadow offset from owner object. More... | |
double | GetOffset () const |
@descr return shadow offset. More... | |
void | SetColor (const XFColor &color) |
@descr Set shadow color. More... | |
const XFColor & | GetColor () const |
@descr return shadow color. More... | |
OUString | ToString () |
void | ToXml (IXFStream *pStrm) |
Private Attributes | |
enumXFShadowPos | m_ePosition |
double | m_fOffset |
XFColor | m_aColor |
Friends | |
bool | operator== (XFShadow const &s1, XFShadow const &s2) |
bool | operator!= (XFShadow const &s1, XFShadow const &s2) |
Shadow object.
Definition at line 71 of file xfshadow.hxx.
XFShadow::XFShadow | ( | ) |
Definition at line 63 of file xfshadow.cxx.
References m_aColor, and m_ePosition.
|
inline |
|
inline |
|
inline |
|
inline |
@descr Set shadow color.
Definition at line 139 of file xfshadow.hxx.
References m_aColor.
Referenced by LwpLayout::GetXFShadow(), XFTableStyle::SetShadow(), and XFParaStyle::SetShadow().
|
inline |
@descr Set shadow offset from owner object.
Definition at line 129 of file xfshadow.hxx.
References m_fOffset.
Referenced by LwpLayout::GetXFShadow(), XFTableStyle::SetShadow(), and XFParaStyle::SetShadow().
|
inline |
@descr set shadow position.
You can refer to enumXFShadowPos to get all possible positions.
Definition at line 119 of file xfshadow.hxx.
References m_ePosition, and pos.
Referenced by LwpLayout::GetXFShadow(), XFTableStyle::SetShadow(), and XFParaStyle::SetShadow().
OUString XFShadow::ToString | ( | ) |
Definition at line 69 of file xfshadow.cxx.
References enumXFShadowLeftBottom, enumXFShadowLeftTop, enumXFShadowRightBottom, enumXFShadowRightTop, m_aColor, m_ePosition, m_fOffset, and XFColor::ToString().
Referenced by ToXml().
void XFShadow::ToXml | ( | IXFStream * | pStrm | ) |
Definition at line 96 of file xfshadow.cxx.
References IXFAttrList::AddAttribute(), enumXFShadowNone, IXFStream::GetAttrList(), m_ePosition, and ToString().
Referenced by XFCellStyle::ToXml(), XFTableStyle::ToXml(), and XFParaStyle::ToXml().
Definition at line 112 of file xfshadow.cxx.
Definition at line 105 of file xfshadow.cxx.
|
private |
Definition at line 116 of file xfshadow.hxx.
Referenced by GetColor(), SetColor(), and ToString().
|
private |
Definition at line 114 of file xfshadow.hxx.
Referenced by GetPosition(), SetPosition(), ToString(), and ToXml().
|
private |
Definition at line 115 of file xfshadow.hxx.
Referenced by GetOffset(), SetOffset(), and ToString().