LibreOffice Module lotuswordpro (master) 1
|
Borders for object with borders. More...
#include <xfborders.hxx>
Public Member Functions | |
XFBorders () | |
void | SetColor (enumXFBorder side, XFColor const &color) |
@descr Set color of border side. More... | |
void | SetWidth (enumXFBorder side, double width) |
@descr Set width or border side. More... | |
void | SetDoubleLine (enumXFBorder side) |
@descr Set border side as double line. More... | |
void | SetWidthInner (enumXFBorder side, double inner) |
@descr Set inner border with of border side. More... | |
void | SetWidthSpace (enumXFBorder side, double space) |
@descr Set space between two borders of border side. More... | |
void | SetWidthOuter (enumXFBorder side, double outer) |
@descr Set outer border width of border side. More... | |
XFBorder & | GetLeft () |
XFBorder & | GetRight () |
XFBorder & | GetTop () |
XFBorder & | GetBottom () |
void | ToXml (IXFStream *pStrm) |
Private Attributes | |
XFBorder | m_aBorderLeft |
XFBorder | m_aBorderRight |
XFBorder | m_aBorderTop |
XFBorder | m_aBorderBottom |
Friends | |
bool | operator== (XFBorders const &b1, XFBorders const &b2) |
bool | operator!= (XFBorders const &b1, XFBorders const &b2) |
Borders for object with borders.
Borders may include (right,left,top,bottom) borders.
Definition at line 133 of file xfborders.hxx.
|
inline |
Definition at line 136 of file xfborders.hxx.
|
inline |
Definition at line 175 of file xfborders.hxx.
References m_aBorderBottom.
|
inline |
Definition at line 169 of file xfborders.hxx.
References m_aBorderLeft.
|
inline |
Definition at line 171 of file xfborders.hxx.
References m_aBorderRight.
|
inline |
Definition at line 173 of file xfborders.hxx.
References m_aBorderTop.
void XFBorders::SetColor | ( | enumXFBorder | side, |
XFColor const & | color | ||
) |
@descr Set color of border side.
Definition at line 187 of file xfborders.cxx.
References enumXFBorderBottom, enumXFBorderLeft, enumXFBorderRight, enumXFBorderTop, m_aBorderBottom, m_aBorderLeft, m_aBorderRight, m_aBorderTop, and XFBorder::SetColor().
Referenced by LwpParaStyle::ApplySubBorder().
void XFBorders::SetDoubleLine | ( | enumXFBorder | side | ) |
@descr Set border side as double line.
Definition at line 229 of file xfborders.cxx.
References enumXFBorderBottom, enumXFBorderLeft, enumXFBorderRight, enumXFBorderTop, m_aBorderBottom, m_aBorderLeft, m_aBorderRight, m_aBorderTop, and XFBorder::SetDoubleLine().
Referenced by LwpParaStyle::ApplySubBorder().
void XFBorders::SetWidth | ( | enumXFBorder | side, |
double | width | ||
) |
@descr Set width or border side.
Definition at line 208 of file xfborders.cxx.
References enumXFBorderBottom, enumXFBorderLeft, enumXFBorderRight, enumXFBorderTop, m_aBorderBottom, m_aBorderLeft, m_aBorderRight, m_aBorderTop, and XFBorder::SetWidth().
Referenced by LwpParaStyle::ApplySubBorder().
void XFBorders::SetWidthInner | ( | enumXFBorder | side, |
double | inner | ||
) |
@descr Set inner border with of border side.
Definition at line 250 of file xfborders.cxx.
References enumXFBorderBottom, enumXFBorderLeft, enumXFBorderRight, enumXFBorderTop, m_aBorderBottom, m_aBorderLeft, m_aBorderRight, m_aBorderTop, and XFBorder::SetWidthInner().
Referenced by LwpParaStyle::ApplySubBorder().
void XFBorders::SetWidthOuter | ( | enumXFBorder | side, |
double | outer | ||
) |
@descr Set outer border width of border side.
Definition at line 292 of file xfborders.cxx.
References enumXFBorderBottom, enumXFBorderLeft, enumXFBorderRight, enumXFBorderTop, m_aBorderBottom, m_aBorderLeft, m_aBorderRight, m_aBorderTop, and XFBorder::SetWidthOuter().
Referenced by LwpParaStyle::ApplySubBorder().
void XFBorders::SetWidthSpace | ( | enumXFBorder | side, |
double | space | ||
) |
@descr Set space between two borders of border side.
Definition at line 271 of file xfborders.cxx.
References enumXFBorderBottom, enumXFBorderLeft, enumXFBorderRight, enumXFBorderTop, m_aBorderBottom, m_aBorderLeft, m_aBorderRight, m_aBorderTop, and XFBorder::SetWidthSpace().
Referenced by LwpParaStyle::ApplySubBorder().
void XFBorders::ToXml | ( | IXFStream * | pStrm | ) |
Definition at line 331 of file xfborders.cxx.
References IXFAttrList::AddAttribute(), IXFStream::GetAttrList(), XFBorder::GetLineWidth(), m_aBorderBottom, m_aBorderLeft, m_aBorderRight, m_aBorderTop, and XFBorder::ToString().
Definition at line 326 of file xfborders.cxx.
Definition at line 313 of file xfborders.cxx.
|
private |
Definition at line 186 of file xfborders.hxx.
Referenced by GetBottom(), SetColor(), SetDoubleLine(), SetWidth(), SetWidthInner(), SetWidthOuter(), SetWidthSpace(), and ToXml().
|
private |
Definition at line 183 of file xfborders.hxx.
Referenced by GetLeft(), SetColor(), SetDoubleLine(), SetWidth(), SetWidthInner(), SetWidthOuter(), SetWidthSpace(), and ToXml().
|
private |
Definition at line 184 of file xfborders.hxx.
Referenced by GetRight(), SetColor(), SetDoubleLine(), SetWidth(), SetWidthInner(), SetWidthOuter(), SetWidthSpace(), and ToXml().
|
private |
Definition at line 185 of file xfborders.hxx.
Referenced by GetTop(), SetColor(), SetDoubleLine(), SetWidth(), SetWidthInner(), SetWidthOuter(), SetWidthSpace(), and ToXml().