a small struct to define a line in MWAWFont More...
#include <MWAWFont.hxx>
Public Types | |
enum | Style { None , Simple , Dot , LargeDot , Dash , Wave } |
the line style More... | |
enum | Type { Single , Double , Triple } |
the line style More... | |
Public Member Functions | |
Line (Style style=None, Type type=Single, bool wordFlag=false, float w=1.0) | |
constructor | |
bool | isSet () const |
return true if the line is not empty | |
void | addTo (librevenge::RVNGPropertyList &propList, std::string const &type) const |
add a line to the propList knowing the type (line-through, underline, overline ) | |
bool | operator== (Line const &oth) const |
operator== | |
bool | operator!= (Line const &oth) const |
operator!= | |
int | cmp (Line const &oth) const |
small comparison function | |
Public Attributes | |
Style | m_style |
the style | |
Type | m_type |
the type | |
float | m_width |
the width in point | |
MWAWVariable< MWAWColor > | m_color |
the color ( if not set, we use the font color ) | |
bool | m_word |
word or not word line | |
Friends | |
std::ostream & | operator<< (std::ostream &o, Line const &line) |
operator<< | |
a small struct to define a line in MWAWFont
enum MWAWFont::Line::Type |
|
inlineexplicit |
constructor
void MWAWFont::Line::addTo | ( | librevenge::RVNGPropertyList & | propList, |
std::string const & | type | ||
) | const |
add a line to the propList knowing the type (line-through, underline, overline )
Referenced by MWAWFont::addTo().
|
inline |
small comparison function
Referenced by operator!=(), and operator==().
|
inline |
return true if the line is not empty
Referenced by addTo(), LightWayTxtTextInternal::Font::merge(), MoreText::sendText(), and MsWrdStruct::Font::updateFontToFinalState().
|
inline |
operator!=
|
inline |
operator==
|
friend |
operator<<
MWAWVariable<MWAWColor> MWAWFont::Line::m_color |
Style MWAWFont::Line::m_style |
the style
Referenced by addTo(), cmp(), isSet(), MsWrdTextStyles::readFont(), and RagTime5StyleManager::updateTextStyles().
Type MWAWFont::Line::m_type |
the type
Referenced by addTo(), cmp(), and RagTime5StyleManager::updateTextStyles().
bool MWAWFont::Line::m_word |
word or not word line
Referenced by addTo(), cmp(), and RagTime5StyleManager::updateTextStyles().