STOFFBorderLine Struct Reference

a border line More...

#include <libstaroffice_internal.hxx>

Public Member Functions

 STOFFBorderLine ()
 constructor More...
 
bool addTo (librevenge::RVNGPropertyList &propList, std::string which="") const
 add the border property to proplist (if needed ) More...
 
bool isEmpty () const
 returns true if the border is empty More...
 
bool operator== (STOFFBorderLine const &orig) const
 operator== More...
 
bool operator!= (STOFFBorderLine const &orig) const
 operator!= More...
 

Public Attributes

int m_outWidth
 the outline width in TWIP More...
 
int m_inWidth
 the inline width in TWIP More...
 
STOFFColor m_color
 the border color More...
 
int m_distance
 the border distance More...
 

Friends

std::ostream & operator<< (std::ostream &o, STOFFBorderLine const &border)
 operator<< More...
 

Detailed Description

a border line

Constructor & Destructor Documentation

◆ STOFFBorderLine()

STOFFBorderLine::STOFFBorderLine ( )
inline

constructor

Member Function Documentation

◆ addTo()

bool STOFFBorderLine::addTo ( librevenge::RVNGPropertyList &  propList,
std::string  which = "" 
) const

add the border property to proplist (if needed )

Note
if set which must be equal to "left", "top", ...

Referenced by StarFrameAttribute::StarFAttributeBorder::addTo().

◆ isEmpty()

bool STOFFBorderLine::isEmpty ( ) const
inline

returns true if the border is empty

Referenced by addTo().

◆ operator!=()

bool STOFFBorderLine::operator!= ( STOFFBorderLine const &  orig) const
inline

operator!=

Referenced by operator==().

◆ operator==()

bool STOFFBorderLine::operator== ( STOFFBorderLine const &  orig) const
inline

operator==

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  o,
STOFFBorderLine const &  border 
)
friend

operator<<

Member Data Documentation

◆ m_color

◆ m_distance

int STOFFBorderLine::m_distance

◆ m_inWidth

int STOFFBorderLine::m_inWidth

◆ m_outWidth

int STOFFBorderLine::m_outWidth

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

Generated on Wed Mar 15 2023 00:00:00 for libstaroffice by doxygen 1.9.1