LibreOffice Module lotuswordpro (master) 1
|
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) |
Paddings for paragraph,frame, ...
Definition at line 75 of file xfpadding.hxx.
|
inline |
Definition at line 121 of file xfpadding.hxx.
References Reset().
|
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().
|
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().
|
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().
|
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().
|
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().
|
inline |
@descr Output padding properties.
Definition at line 159 of file xfpadding.hxx.
References IXFAttrList::AddAttribute(), IXFStream::GetAttrList(), m_fBottom, m_fLeft, m_fRight, m_fTop, m_nFlag, XFPADDING_FLAG_BOTTOM, XFPADDING_FLAG_LEFT, XFPADDING_FLAG_RIGHT, and XFPADDING_FLAG_TOP.
Referenced by XFCellStyle::ToXml(), XFFrameStyle::ToXml(), XFHeaderStyle::ToXml(), XFImageStyle::ToXml(), and XFParaStyle::ToXml().
Definition at line 201 of file xfpadding.hxx.
Definition at line 190 of file xfpadding.hxx.
|
private |
Definition at line 118 of file xfpadding.hxx.
Referenced by Reset(), SetBottom(), and ToXml().
|
private |
Definition at line 115 of file xfpadding.hxx.
|
private |
Definition at line 116 of file xfpadding.hxx.
Referenced by Reset(), SetRight(), and ToXml().
|
private |
Definition at line 117 of file xfpadding.hxx.
|
private |
Definition at line 114 of file xfpadding.hxx.
Referenced by Reset(), SetBottom(), SetLeft(), SetRight(), SetTop(), and ToXml().