a border list More...
#include <libwps_internal.h>
Public Types | |
enum | Style { None, Single, Double, Dot, LargeDot, Dash } |
enum | Pos { Left = 0, Right = 1, Top = 2, Bottom = 3 } |
enum | { LeftBit = 0x01, RightBit = 0x02, TopBit = 0x4, BottomBit = 0x08 } |
Public Member Functions | |
WPSBorder () | |
constructor | |
std::string | getPropertyValue () const |
return the properties | |
bool | operator== (WPSBorder const &orig) const |
operator== | |
bool | operator!= (WPSBorder const &orig) const |
operator!= | |
int | compare (WPSBorder const &orig) const |
compare two cell | |
Public Attributes | |
Style | m_style |
the border style | |
int | m_width |
the border width | |
uint32_t | m_color |
the border color | |
Friends | |
std::ostream & | operator<< (std::ostream &o, WPSBorder const &border) |
operator<<: prints data in form "XxY" |
a border list
enum WPSBorder::Pos |
enum WPSBorder::Style |
WPSBorder::WPSBorder | ( | ) | [inline] |
constructor
int WPSBorder::compare | ( | WPSBorder const & | orig | ) | const |
compare two cell
std::string WPSBorder::getPropertyValue | ( | ) | const |
return the properties
Referenced by WPSParagraph::addTo().
bool WPSBorder::operator!= | ( | WPSBorder const & | orig | ) | const [inline] |
operator!=
bool WPSBorder::operator== | ( | WPSBorder const & | orig | ) | const [inline] |
operator==
Referenced by operator!=().
std::ostream& operator<< | ( | std::ostream & | o, |
WPSBorder const & | border | ||
) | [friend] |
operator<<: prints data in form "XxY"
uint32_t WPSBorder::m_color |
the border color
Referenced by compare(), getPropertyValue(), operator<<(), operator==(), WPS8Table::readMCLD(), WPS8TextStyle::readParagraph(), WPS4Text::readParagraph(), and WKS4Spreadsheet::readStyle().
the border width
Referenced by compare(), getPropertyValue(), operator<<(), operator==(), WPS8TextStyle::readParagraph(), WPS4Text::readParagraph(), and WKS4Spreadsheet::readStyle().