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

Borders for object with borders. More...

#include <xfborders.hxx>

Collaboration diagram for XFBorders:
[legend]

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...
 
XFBorderGetLeft ()
 
XFBorderGetRight ()
 
XFBorderGetTop ()
 
XFBorderGetBottom ()
 
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)
 

Detailed Description

Borders for object with borders.

Borders may include (right,left,top,bottom) borders.

Definition at line 133 of file xfborders.hxx.

Constructor & Destructor Documentation

◆ XFBorders()

XFBorders::XFBorders ( )
inline

Definition at line 136 of file xfborders.hxx.

Member Function Documentation

◆ GetBottom()

XFBorder & XFBorders::GetBottom ( )
inline

Definition at line 175 of file xfborders.hxx.

References m_aBorderBottom.

◆ GetLeft()

XFBorder & XFBorders::GetLeft ( )
inline

Definition at line 169 of file xfborders.hxx.

References m_aBorderLeft.

◆ GetRight()

XFBorder & XFBorders::GetRight ( )
inline

Definition at line 171 of file xfborders.hxx.

References m_aBorderRight.

◆ GetTop()

XFBorder & XFBorders::GetTop ( )
inline

Definition at line 173 of file xfborders.hxx.

References m_aBorderTop.

◆ SetColor()

void XFBorders::SetColor ( enumXFBorder  side,
XFColor const &  color 
)

◆ SetDoubleLine()

void XFBorders::SetDoubleLine ( enumXFBorder  side)

◆ SetWidth()

void XFBorders::SetWidth ( enumXFBorder  side,
double  width 
)

◆ SetWidthInner()

void XFBorders::SetWidthInner ( enumXFBorder  side,
double  inner 
)

◆ SetWidthOuter()

void XFBorders::SetWidthOuter ( enumXFBorder  side,
double  outer 
)

◆ SetWidthSpace()

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

◆ ToXml()

void XFBorders::ToXml ( IXFStream pStrm)

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( XFBorders const &  b1,
XFBorders const &  b2 
)
friend

Definition at line 326 of file xfborders.cxx.

◆ operator==

bool operator== ( XFBorders const &  b1,
XFBorders const &  b2 
)
friend

Definition at line 313 of file xfborders.cxx.

Member Data Documentation

◆ m_aBorderBottom

XFBorder XFBorders::m_aBorderBottom
private

◆ m_aBorderLeft

XFBorder XFBorders::m_aBorderLeft
private

◆ m_aBorderRight

XFBorder XFBorders::m_aBorderRight
private

◆ m_aBorderTop

XFBorder XFBorders::m_aBorderTop
private

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