LibreOffice Module lotuswordpro (master) 1
Public Member Functions | Private Attributes | Friends | List of all members
XFShadow Class Reference

Shadow object. More...

#include <xfshadow.hxx>

Collaboration diagram for XFShadow:
[legend]

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 XFColorGetColor () 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)
 

Detailed Description

Shadow object.

Definition at line 71 of file xfshadow.hxx.

Constructor & Destructor Documentation

◆ XFShadow()

XFShadow::XFShadow ( )

Definition at line 63 of file xfshadow.cxx.

References m_aColor, and m_ePosition.

Member Function Documentation

◆ GetColor()

const XFColor & XFShadow::GetColor ( ) const
inline

@descr return shadow color.

Definition at line 144 of file xfshadow.hxx.

References m_aColor.

◆ GetOffset()

double XFShadow::GetOffset ( ) const
inline

@descr return shadow offset.

Definition at line 134 of file xfshadow.hxx.

References m_fOffset.

◆ GetPosition()

enumXFShadowPos XFShadow::GetPosition ( ) const
inline

@descr return shadow position.

Definition at line 124 of file xfshadow.hxx.

References m_ePosition.

◆ SetColor()

void XFShadow::SetColor ( const XFColor color)
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().

◆ SetOffset()

void XFShadow::SetOffset ( double  offset)
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().

◆ SetPosition()

void XFShadow::SetPosition ( enumXFShadowPos  pos)
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().

◆ ToString()

OUString XFShadow::ToString ( )

◆ ToXml()

void XFShadow::ToXml ( IXFStream pStrm)

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( XFShadow const &  s1,
XFShadow const &  s2 
)
friend

Definition at line 112 of file xfshadow.cxx.

◆ operator==

bool operator== ( XFShadow const &  s1,
XFShadow const &  s2 
)
friend

Definition at line 105 of file xfshadow.cxx.

Member Data Documentation

◆ m_aColor

XFColor XFShadow::m_aColor
private

Definition at line 116 of file xfshadow.hxx.

Referenced by GetColor(), SetColor(), and ToString().

◆ m_ePosition

enumXFShadowPos XFShadow::m_ePosition
private

Definition at line 114 of file xfshadow.hxx.

Referenced by GetPosition(), SetPosition(), ToString(), and ToXml().

◆ m_fOffset

double XFShadow::m_fOffset
private

Definition at line 115 of file xfshadow.hxx.

Referenced by GetOffset(), SetOffset(), and ToString().


The documentation for this class was generated from the following files: