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

Paddings for paragraph,frame, ... More...

#include <xfpadding.hxx>

Public Member Functions

 XFPadding ()
 
void Reset ()
 @descr Reset all values. More...
 
void SetLeft (double left)
 @descr Set padding left. More...
 
void SetRight (double right)
 @descr Set padding right. More...
 
void SetTop (double top)
 @descr Set padding top. More...
 
void SetBottom (double bottom)
 @descr Set padding bottom. More...
 
void ToXml (IXFStream *pStrm)
 @descr Output padding properties. More...
 

Private Attributes

int m_nFlag
 
double m_fLeft
 
double m_fRight
 
double m_fTop
 
double m_fBottom
 

Friends

bool operator== (XFPadding const &p1, XFPadding const &p2)
 
bool operator!= (XFPadding const &p1, XFPadding const &p2)
 

Detailed Description

Paddings for paragraph,frame, ...

Definition at line 75 of file xfpadding.hxx.

Constructor & Destructor Documentation

◆ XFPadding()

XFPadding::XFPadding ( )
inline

Definition at line 121 of file xfpadding.hxx.

References Reset().

Member Function Documentation

◆ Reset()

void XFPadding::Reset ( void  )
inline

@descr Reset all values.

Definition at line 126 of file xfpadding.hxx.

References m_fBottom, m_fLeft, m_fRight, m_fTop, and m_nFlag.

Referenced by XFPadding().

◆ SetBottom()

void XFPadding::SetBottom ( double  bottom)
inline

@descr Set padding bottom.

Definition at line 153 of file xfpadding.hxx.

References bottom, m_fBottom, m_nFlag, and XFPADDING_FLAG_BOTTOM.

Referenced by XFCellStyle::SetPadding(), XFFrameStyle::SetPadding(), and XFParaStyle::SetPadding().

◆ SetLeft()

void XFPadding::SetLeft ( double  left)
inline

@descr Set padding left.

Definition at line 135 of file xfpadding.hxx.

References left, m_fLeft, m_nFlag, and XFPADDING_FLAG_LEFT.

Referenced by XFCellStyle::SetPadding(), XFFrameStyle::SetPadding(), and XFParaStyle::SetPadding().

◆ SetRight()

void XFPadding::SetRight ( double  right)
inline

@descr Set padding right.

Definition at line 141 of file xfpadding.hxx.

References m_fRight, m_nFlag, right, and XFPADDING_FLAG_RIGHT.

Referenced by XFCellStyle::SetPadding(), XFFrameStyle::SetPadding(), and XFParaStyle::SetPadding().

◆ SetTop()

void XFPadding::SetTop ( double  top)
inline

@descr Set padding top.

Definition at line 147 of file xfpadding.hxx.

References m_fTop, m_nFlag, top, and XFPADDING_FLAG_TOP.

Referenced by XFCellStyle::SetPadding(), XFFrameStyle::SetPadding(), and XFParaStyle::SetPadding().

◆ ToXml()

void XFPadding::ToXml ( IXFStream pStrm)
inline

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( XFPadding const &  p1,
XFPadding const &  p2 
)
friend

Definition at line 201 of file xfpadding.hxx.

◆ operator==

bool operator== ( XFPadding const &  p1,
XFPadding const &  p2 
)
friend

Definition at line 190 of file xfpadding.hxx.

Member Data Documentation

◆ m_fBottom

double XFPadding::m_fBottom
private

Definition at line 118 of file xfpadding.hxx.

Referenced by Reset(), SetBottom(), and ToXml().

◆ m_fLeft

double XFPadding::m_fLeft
private

Definition at line 115 of file xfpadding.hxx.

Referenced by Reset(), SetLeft(), and ToXml().

◆ m_fRight

double XFPadding::m_fRight
private

Definition at line 116 of file xfpadding.hxx.

Referenced by Reset(), SetRight(), and ToXml().

◆ m_fTop

double XFPadding::m_fTop
private

Definition at line 117 of file xfpadding.hxx.

Referenced by Reset(), SetTop(), and ToXml().

◆ m_nFlag

int XFPadding::m_nFlag
private

Definition at line 114 of file xfpadding.hxx.

Referenced by Reset(), SetBottom(), SetLeft(), SetRight(), SetTop(), and ToXml().


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