a border list More...
#include <libmwaw_internal.hxx>
Public Types | |
enum | Style { None, Simple, Dot, LargeDot, Dash } |
the line style More... | |
enum | Type { Single, Double, Triple } |
the line repetition More... | |
enum | Pos { Left = 0, Right = 1, Top = 2, Bottom = 3, HMiddle = 4, VMiddle = 5 } |
enum | { LeftBit = 0x01, RightBit = 0x02, TopBit =0x4, BottomBit = 0x08, HMiddleBit = 0x10, VMiddleBit = 0x20 } |
Public Member Functions | |
MWAWBorder () | |
constructor More... | |
std::string | getPropertyValue () const |
return the properties More... | |
bool | operator== (MWAWBorder const &orig) const |
operator== More... | |
bool | operator!= (MWAWBorder const &orig) const |
operator!= More... | |
int | compare (MWAWBorder const &orig) const |
compare two cell More... | |
Public Attributes | |
Style | m_style |
the border style More... | |
Type | m_type |
the border repetition More... | |
float | m_width |
the border width More... | |
MWAWColor | m_color |
the border color More... | |
Friends | |
std::ostream & | operator<< (std::ostream &o, MWAWBorder const &border) |
operator<<: prints data in form "XxY" More... | |
std::ostream & | operator<< (std::ostream &o, MWAWBorder::Style const &style) |
operator<<: prints data in form "none|dot|..." More... | |
a border list
enum MWAWBorder::Pos |
enum MWAWBorder::Style |
enum MWAWBorder::Type |
|
inline |
constructor
int MWAWBorder::compare | ( | MWAWBorder const & | orig | ) | const |
compare two cell
std::string MWAWBorder::getPropertyValue | ( | ) | const |
return the properties
Referenced by MWAWParagraph::addTo().
|
inline |
operator!=
Referenced by operator==().
|
inline |
operator==
|
friend |
operator<<: prints data in form "XxY"
|
friend |
operator<<: prints data in form "none|dot|..."
MWAWColor MWAWBorder::m_color |
Style MWAWBorder::m_style |
the border style
Referenced by compare(), MRWTextInternal::Paragraph::BorderFill::getBorder(), MSWStruct::getBorder(), getPropertyValue(), operator!=(), operator<<(), MWAWCellFormat::setBorders(), and CWTable::updateCell().
Type MWAWBorder::m_type |
the border repetition
Referenced by compare(), MRWTextInternal::Paragraph::BorderFill::getBorder(), MSWStruct::getBorder(), FWTextInternal::Border::getParagraphBorders(), getPropertyValue(), operator!=(), operator<<(), MSWStruct::Paragraph::read(), HMWJText::readParagraph(), HMWKText::readParagraph(), HMWKGraph::readTable(), HMWJGraph::readTableFormatsList(), and CWTable::updateCell().
float MWAWBorder::m_width |
the border width
Referenced by compare(), MRWTextInternal::Paragraph::BorderFill::getBorder(), MSWStruct::getBorder(), FWTextInternal::Border::getParagraphBorders(), getPropertyValue(), operator!=(), operator<<(), MSWStruct::Paragraph::read(), HMWKGraph::readTable(), HMWJGraph::readTableFormatsList(), and CWTable::updateCell().