LibreOffice Module lotuswordpro (master) 1
|
Single border object for all objects with borders. More...
#include <xfborders.hxx>
Public Member Functions | |
XFBorder () | |
void | SetColor (XFColor const &color) |
@descr Set border color. More... | |
void | SetWidth (double width) |
@descr Set border width in cm. More... | |
void | SetDoubleLine (bool dual, bool bSameWidth) |
@descr Set whether the border has double line. More... | |
void | SetWidthInner (double inner) |
@descr Set inner line width for border with double line. More... | |
void | SetWidthSpace (double space) |
@descr Set space between double lines of border. More... | |
void | SetWidthOuter (double outer) |
@descr Set outer line width for border with double line. More... | |
Private Member Functions | |
OUString | GetLineWidth () |
@descr First line width to OOo border width format. More... | |
OUString | ToString () |
Private Attributes | |
XFColor | m_aColor |
bool | m_bDouble |
bool | m_bSameWidth |
double | m_fWidthInner |
double | m_fWidthSpace |
double | m_fWidthOuter |
Friends | |
class | XFBorders |
bool | operator== (XFBorder const &b1, XFBorder const &b2) |
bool | operator!= (XFBorder const &b1, XFBorder const &b2) |
Single border object for all objects with borders.
Definition at line 71 of file xfborders.hxx.
XFBorder::XFBorder | ( | ) |
Definition at line 64 of file xfborders.cxx.
References m_bDouble, m_bSameWidth, m_fWidthInner, m_fWidthOuter, and m_fWidthSpace.
|
private |
@descr First line width to OOo border width format.
Definition at line 117 of file xfborders.cxx.
References m_bDouble, m_fWidthInner, m_fWidthOuter, and m_fWidthSpace.
Referenced by XFBorders::ToXml().
void XFBorder::SetColor | ( | XFColor const & | color | ) |
@descr Set border color.
Definition at line 73 of file xfborders.cxx.
References m_aColor.
Referenced by XFBorders::SetColor().
void XFBorder::SetDoubleLine | ( | bool | dual, |
bool | bSameWidth | ||
) |
@descr Set whether the border has double line.
Definition at line 93 of file xfborders.cxx.
References m_bDouble, and m_bSameWidth.
Referenced by XFBorders::SetDoubleLine().
void XFBorder::SetWidth | ( | double | width | ) |
@descr Set border width in cm.
Definition at line 78 of file xfborders.cxx.
References m_bDouble, m_bSameWidth, m_fWidthInner, m_fWidthOuter, and m_fWidthSpace.
Referenced by XFBorders::SetWidth().
void XFBorder::SetWidthInner | ( | double | inner | ) |
@descr Set inner line width for border with double line.
Definition at line 99 of file xfborders.cxx.
References m_bDouble, and m_fWidthInner.
Referenced by XFBorders::SetWidthInner().
void XFBorder::SetWidthOuter | ( | double | outer | ) |
@descr Set outer line width for border with double line.
Definition at line 111 of file xfborders.cxx.
References m_bDouble, and m_fWidthOuter.
Referenced by XFBorders::SetWidthOuter().
void XFBorder::SetWidthSpace | ( | double | space | ) |
@descr Set space between double lines of border.
Definition at line 105 of file xfborders.cxx.
References m_bDouble, and m_fWidthSpace.
Referenced by XFBorders::SetWidthSpace().
|
private |
Definition at line 130 of file xfborders.cxx.
References FLOAT_MIN, m_aColor, m_bDouble, m_fWidthInner, m_fWidthOuter, m_fWidthSpace, and XFColor::ToString().
Referenced by XFBorders::ToXml().
Definition at line 180 of file xfborders.cxx.
Definition at line 156 of file xfborders.cxx.
|
friend |
Definition at line 117 of file xfborders.hxx.
|
private |
Definition at line 120 of file xfborders.hxx.
Referenced by SetColor(), and ToString().
|
private |
Definition at line 121 of file xfborders.hxx.
Referenced by GetLineWidth(), SetDoubleLine(), SetWidth(), SetWidthInner(), SetWidthOuter(), SetWidthSpace(), ToString(), and XFBorder().
|
private |
Definition at line 122 of file xfborders.hxx.
Referenced by SetDoubleLine(), SetWidth(), and XFBorder().
|
private |
Definition at line 123 of file xfborders.hxx.
Referenced by GetLineWidth(), SetWidth(), SetWidthInner(), ToString(), and XFBorder().
|
private |
Definition at line 125 of file xfborders.hxx.
Referenced by GetLineWidth(), SetWidth(), SetWidthOuter(), ToString(), and XFBorder().
|
private |
Definition at line 124 of file xfborders.hxx.
Referenced by GetLineWidth(), SetWidth(), SetWidthSpace(), ToString(), and XFBorder().